@charset "utf-8";
/* CSS Document */
/*************************************************

    伝え方ナビ

*************************************************/
.under {
  background: linear-gradient(transparent 50%, #ffff00 50%);
}

.contHowto p {
  font-size: 16px;
  text-align: justify;
  line-height: 1.8em;
}

.contHowto p.imgCenter {
  text-align: center;
  margin: 30px auto;
}

.imgCenter img {
  max-width: 100%;
  height: auto;
}

.contHowto {
  display: block;
  width: 100%;
  margin: 0 auto;
  margin-bottom: 60px;
  padding: 0 15px;
}

.contHowtoHeader {
  padding: 3px 12px;
  background: #f8bf20;
}

.contHowtoHeader p {
  font-size: 12px;
}

.contHowto h1 {
  position: relative;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4em;
  margin-bottom:30px;
  padding: 0.5em;
  background: #fff;
}

.contHowto h1.premium::after {
  content: '';
  display: inline-block;
  width: 30px;
  height: 24px;
  margin-left: 10px;
  position: relative;
  top: 3px;
  background-image: url(./img/i_puremium_pc.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.contHowto h2 {
  font-size: 24px;
  line-height: 1.4em;
  position: relative;
  margin: 30px 0;
	padding: 0.5em;/*上下 左右の余白*/
  background: #a4fae6;
}

.contHowto h2.blue {
  background: #a4fae6;
}

.contHowto h2.pink {
  background: #f6bcc2;
}

.contHowto h2:after {
  position: absolute;
  content: '';
  top: 100%;
  left: 30px;
  border: 15px solid transparent;
  width: 0;
  height: 0;
  }

.contHowto h2.blue:after {
  border-top: 15px solid #a4fae6;
}

.contHowto h2.pink:after {
  border-top: 15px solid #f6bcc2;
}

.contHowto h3.advicetitle {
  position: relative;
  font-size: 16px;
  border-top: solid 2px #80c8d1;
  border-bottom: solid 2px #80c8d1;
  line-height: 1.4;
  padding: 0.4em 0.5em;
  margin: 2em 0 0.5em;
}

.contHowto h3.advicetitle:after {/*タブ*/
  position: absolute;
  font-family: "Font Awesome 5 Pro",'Quicksand','Avenir','Arial',sans-serif;
  content: '\f0a7\ POINT';
  background: #80c8d1;
  color: #fff;
  left: 0px;
  bottom: 100%;
  border-radius: 5px 5px 0 0;
  padding: 5px 7px 3px;
  font-size: 0.7em;
  line-height: 1;
  letter-spacing: 0.05em;
}

.contHowto h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  line-height: 1.8;
}

.contHowto ol li {
  font-size: 16px;
  list-style-type: decimal;
  margin: 30px;
  line-height: 2.5;
}

.contHowto ul li {
  font-size: 16px;
  line-height: 2.5;
}

.contHowto a {
  text-decoration: underline;
}

.textAdvice {
  width: 100%;
  position: relative;
  margin: 20px 0 40px;
  padding: 50px;
  border-radius: 12px;
  background: #d7ebfe;
}

.textAdvice:after {
  position: absolute;
  content: '';
  top: 100%;
  left: 15%;
  border: 15px solid transparent;
  border-top: 15px solid #d7ebfe;
  width: 0;
  height: 0;
}

.imgProf {
  width: 25%;
  padding-left: 20px;
}

.imgProf img {
  width: 80%;
  height: auto;
  border: solid 3px #a4fae6;
  border-radius: 50%;
}

.imgProf_b img {
  border: solid 3px #a4fae6;
}

.textProf {
  width: 70%;
  padding: 0px 0px 20px 0px;
}
.textProf h3 {
  font-size: 18px;
  padding-bottom: 15px;
}
.textProf h4 {
  font-size: 18px;
  padding-bottom: 15px;
}
.textProf p {
  font-size: 14px;
}

.view_count {
  display: none;
}

.howtoindex {
    width: 100%;
    margin-bottom: 40px;
    padding: 20px;
    border: 3px solid #e6e6e6;
    background-color: #fff;
    line-height: 2em;
}

.howtoindex li {
  line-height: 2.5;
}

.howtoindex a{
	text-decoration:none;
}

@media screen and (max-width:736px) {
  .textAdvice {
    padding: 30px;
  }

  .textAdvice p {
     font-size: 14px;
  }

  .contHowto h1 {
    margin-bottom: 10px;
  }

  .contHowto h1,
  .contHowto h2 {
    font-size: 25px;
  }

  .textAdvice:after {
    left: 35%;
  }

  .imgProf,
  .textProf {
    float: none;
    width: 100%;
  }

  .imgProf {
    text-align: center;
  }

  .imgProf img {
    max-width: 130px;
  }

  .textProf {
    padding: 15px;
  }

}

@media screen and (max-width:414px) {
  .textAdvice {
    padding: 16px;
  }
}

/* タクソノミーの表示 */
.howtonavi_tags {
  margin: 50px 0;
}

.howtonavi_tagitem a {
  display: inline-block;
  margin: 10px 10px 10px 0;
  background: rgba(164, 250, 250, .5);
  padding: 10px;
  border-radius: 7px;
  text-decoration: none;
  line-height: 1.2em;
}

.howtonavi_tagitem a::before {
  content: "\f02b";
  font-family: "Font Awesome 5 Pro";
  font-size: 1.4rem;
  padding-right: 5px;
  font-weight: 700;
  color: #777;
}

.howtonavi_tagitem a:hover,
.howtonavi_category a:hover {
  text-decoration: underline;
}

.howtonavi_category a {
  display: inline-block;
  margin: 10px 10px 10px 0;
  background: rgba(246, 188, 188, .5);
  padding: 10px;
  border-radius: 7px;
  text-decoration: none;
  line-height: 1.2em;
}

.howtonavi_keyword {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 10px;
}


/* 命育８　思春期男女-性感染症 */
.tbl-std {
  width: 600px;
  margin: 0 auto;
  border: 1px solid #333;
}

.tbl-std th,
.tbl-std td {
  border: 1px solid #333;
  padding: 10px;
  line-height: 1.5;
}

.tbl-std .th1 {
  width: 30%;
}

.tbl-std .th2 {
  width: 35%;
}

@media screen and (max-width:767px) {
  .tbl-std {
    width: 94%;
  }
}

/*ヘルプページ*/
.help{
	margin:0px 30px;
	
}
.help .honbun{
	font-size: 1.6rem;
	line-height: 1.6;
	margin-bottom: 80px;
}
.help .honbun a{
	text-decoration: underline;
}
.help .description{
	font-weight: bold;
	padding-top: 0px;
}
.blocks-list{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    list-style: none;
    padding: 0;
    margin-top: 10px;	
}
.blocks-list li{
	position:relative;
	padding-right: 20px;
}
.blocks-list li a::after{
	content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border-top: 2px solid #555;
    border-right: 2px solid #555;
    transform: rotate(45deg);
    top: 0;
    bottom: 0;
    right: 12px;
    margin: auto;
}
.blocks-items{
    margin: 0 15px 30px;
	border: 1px solid #555;
    border-radius: 6px;
    box-sizing: border-box;
    background-color: #fff;
    display: flex;
    flex: 1 1 320px;
    flex-direction: column;
    justify-content: center;
    max-width: 100%;
    text-align: center;
}
.blocks-items a{
	padding:20px 30px;
	font-weight: bold;
	font-size: 1.9rem;
}
.article-list{
	list-style: none;
	margin-bottom:50px;
}
.article-list li{
	position:relative;
	padding-right: 20px;
}
.article-list-item{
    border-bottom: 1px solid #ddd;
    font-size: 1.6rem;
    padding: 15px 0;
	line-height: 2.0;
	font-weight: bold;
}
.article-list li a::after{
	content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border-top: 2px solid #555;
    border-right: 2px solid #555;
    transform: rotate(45deg);
    top: 0;
    bottom: 0;
    right: 12px;
    margin: auto;
}
.help-back-link {
  text-align: right;
  margin: 30px 0;
  font-weight: bold;
}

.help-back-link a {
  font-size: 1.6rem;
  font-weight: bold;
  text-decoration: underline;
  display:block;
  margin-bottom: 2.0rem;
}

.help-back-link a:hover {
	text-decoration: none;
}
.article-list li a::after:hover {
	opacity: 0.7;
}
@media screen and (min-width:1025px){
  .blocks-items{
    max-width: 320px;
  }
}
@media screen and (max-width:411px){
	.help{
		width:calc(100% - 30px);
		margin:0px auto;
	}
	.blocks-items{
		margin:0 0 30px;
		
	}
}
/*コンタクトフォーム*/

span .wpcf7-not-valid-tip{
  display: block;
  margin-bottom: 15px;
  color: #f5637a;
}

