/*
Theme Name:gensen_tcd050-child
Template:gensen_tcd050
Version:2
*/
@charset "UTF-8";

html {
	scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

/* タイトル */
h2#__post_title {
  font-size: 20px !important;
  font-family: Arial, "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, sans-serif !important;
}

.post_content h3.__article_title {
  padding: 20px;/*文字周りの余白*/
  color: #494949;/*文字色*/
  background: #fffaf4;/*背景色*/
  border-left: solid 5px #ffaf58;/*左線（実線 太さ 色）*/
  margin-bottom: 30px;
}

.post_content h4.__article_title {
  padding: 20px;/*文字周りの余白*/
  color: #010101;/*文字色*/
  background: #eaf3ff;/*背景色*/
  border-bottom: solid 3px #516ab6;/*下線*/
  margin: 50px 0px;
  border-left: none;
  font-weight: bolder;
}

/*アイキャッチ */
#__post_image > img {
  width: 100%;
}


/* 文中の下線 */
.__text_accent1 {
  font-weight: bold;
  background: linear-gradient(transparent 60%, #a0cffd 60%);
}

.__text_accent2 {
  font-weight: bold;
  background: linear-gradient(transparent 60%, #ff6da0 60%);
}


/* 目次 */
.__list {
  width: 70%;
  margin: 70px auto;
  padding: 20px;
  background-color: #fafafa;
  border: 1px solid #ddd;
  border-radius: 5px;
}
.post_content p {
  font-size: large;
}

@media screen and (max-width: 480px) {
  .__list {
    width: calc(100% - 40px);
  }
}


.__list .__list-title {
  margin: auto !important;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
}

.post_content ol {
  counter-reset: item;
  margin: 10px 0 0 !important;
  list-style: none !important;
  font-size: 16px;
}

.__list li:before {
  counter-increment: item;
  content: counter(item);
  display: inline-block;
  width: 20px;
  height: 20px;
  line-height: 20px;
  background-color: #2475ba;
  border-radius: 10px;
  color: #fff;
  text-align: center;
}

.__list ol a {
  margin-left: 5px;
  color: #2475ba;
}

/* ボタン */
.post_content .__article_button {
  display: inline-block;
  width: 100%;
  height: 48px;
  line-height: 48px;
  background: #2475ba;
  border-radius: 24px;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  text-align: center;
}

.post_content .__article_button:hover {
  text-decoration: none;
  opacity: .8;
}


/* タイトル */
.post_content h3.__article_title {
  padding: 16px 8px;
  border-bottom: 2px solid #b69e84;
  color: #2475ba;
  font-size: 24px;
  font-weight: bold;
  margin-top: 50px;
}

.post_content .post_content h4.__article_title {
  padding: 10px 0 10px 10px;
  border-left: 3px solid #000;
  color: #000;
  font-size: 26px;
  font-weight: bold;
  margin-top: 90px;
}


/* カレンダー */
.__article-calendar {
  background-color: #f0f6fc;
  border: 1px solid #d7eafc;
  border-radius: 5px;
}

.__article-calendar ol {
  list-style-type: none;
  margin: 0;
  padding: 20px;
}

.__article-calendar ol span {
  margin-left: 10px;
}

.__article-calendar li.__article-calendar-holiday span {
  color: #E62C57;
}


/* ランキング */
table.__article-ranking th,
table.__article-ranking td {
  border: 1px solid #ddd !important;
}

table.__article-ranking th {
  width: 80px;
  background: #eee !important;
}


/*関連記事 */
.__article-related {
  position: relative;
  padding: 20px;
  background-color: #f0f6fc;
  border: 1px solid #d7eafc;
  border-radius: 5px;
  margin: 2.4em 0;
}
.post_content .__article-related ul{
  padding: 0;
}
.__article-related li {
    list-style: none;
}

.__article-related-title {
  display: inline-block;
  position: absolute;
  top: -15px;
  left: 20px;
  height: 30px;
  padding: 0 10px;
  line-height: 30px !important;
  background-color: #2475ba;
  border-radius: 20px;
  color: #fff;
}

.__article-related ul {
  margin: 0 !important;
  padding: 10px 0 0 20px;
  list-style-type: disc;
}

.__article-related a {
  color: #2475ba;
}


/* ポイント */
.__article-point {
  position: relative;
  padding: 20px;
  background-color: #FCF7F0;
  border: 1px solid #F2E1CE;
  border-radius: 5px;
  margin: 2.4em 0;
}

.__article-point p {
  margin: 0 !important;
}

.__article-point-title {
  display: inline-block;
  position: absolute;
  top: -15px;
  left: 20px;
  height: 30px;
  padding: 0 10px;
  line-height: 30px !important;
  background-color: #b69e84;
  border-radius: 20px;
  color: #fff;
}

.__article-point-title + p {
  padding-top: 10px;
}


/* 質問 */
.__article-question {
  padding: 20px;
  background-color: #fafafa;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.__article-question-title {
  font-size: 16px;
  font-weight: bold;
}

.__article-question-content {
  line-height: 1.8 !important;
}

.__article-question-title:before {
  content: "Q";
  margin-right: 5px;
  color: #2475ba;
  font-size: 18px;
}

.__article-question-content:before {
  content: "A";
  margin-right: 5px;
  color: #E62C57;
  font-size: 16px;
  font-weight: bold;
}

.__article-question p {
  margin: 0 !important;
}


/*二つボタン*/
.__article_button_2 + * {
  margin: 32px 0 0 0;
}
.__article_button_2{
  margin: 2.4em 0;
}
.__article_button_2 ul {
  display: flex;
  justify-content: space-around;
  margin: 0;
  list-style-type: none;
  text-align: center;
}

.__article_button_2 li {
  padding: 0 16px;
  color: #666;
  font-size: 12px;
  list-style: none;
}

.__article_button_2 a {
  display: inline-block;
  min-height: 48px;
  line-height: 48px;
  margin: 8px 0;
  padding: 0 16px;
  background: #2475ba;
  border-radius: 8px;
  color: #fff!important;
  cursor: pointer;
  font-size: 14px;
}

.__article_button_2 a:hover {
  text-decoration: none;
  opacity: .8;
}

.__article_button_2 li {
  list-style: none;
}

.__article_button_2 li span{
  display: block;
}

.__article_button_2 a {
    color: white;
    font-weight: bold;
    display: block;
}

/* 2023.06リニューアルデザイン */
.post_content h2.main-head{
    padding: 0.5em!important;
    background: #fffaf4;
    border-left: solid 5px #bd9574;
    font-size: 24px!important;
    font-weight: bold!important;
}
.post_content h2.sub-head{
    font-size: 22px;
    font-weight: bold;
}
.post_content h2.sub-head:first-letter {
    font-size: 1.5em;
    color: #bd9574;
  }

.post_content h3.main-head{
    position: relative;
    padding-left: 25px!important;
    font-size: 22px!important;
    font-weight: bold!important;
  }
.post_content h3.main-head:before {
    position: absolute;
    content: '';
    bottom: -3px;
    left: 0;
    width: 0;
    height: 0;
    border: none;
    border-left: solid 15px transparent;
    border-bottom: solid 15px #bd9574;
  }
.post_content h3.main-head:after {
    position: absolute;
    content: '';
    bottom: -3px;
    left: 10px;
    width: 100%;
    border-bottom: solid 3px #bd9574;
  }

.post_content h3.sub-head{
    position: relative;
    padding-left: 1.2em;/*アイコン分のスペース*/
    line-height: 1.4;
    font-size: 22px;
    font-weight: bold;
  }
  
.post_content h3.sub-head:before {
    font-family: "Font Awesome 5 Free";
    content: "\f00c";/*アイコンのユニコード*/
    color: #bd9574; /*アイコン色*/
    font-weight: 900;
    position: absolute;
    font-size: .8em;
    top: 50%;
    left: 0%;
    margin-top: 10px;
    transform: translateY(-50%);
    font-weight: 900;
  }
.post_content p small{
    font-size: .7em;
  }
 .point-box {
    position: relative;
    border-top: solid 2px #ffaf58;
    border-bottom: solid 2px #ffaf58;
    background: #fffaf4;
    line-height: 1.4;
    padding: 0.4em 0.5em;
    margin: 2.4em 0;
  }
  
.point-box:after {
    /*タブ*/
    position: absolute;
    font-family: "Font Awesome 5 Free",'Quicksand','Avenir','Arial',sans-serif;
	font-size: 18px;
    content: '\f0a7\ ポイント';
    background: #ffaf58;
    color: #fff;
    left: 0px;
    bottom: 100%;
    border-radius: 5px 5px 0 0;
    padding: 5px 7px 3px;
    line-height: 1;
    letter-spacing: 0.05em;
  }
  .post_content .point-box p{
    margin-bottom: 0;
  }
  .related-articles {
    position: relative;
    border-top: solid 2px #67abdf;
    border-bottom: solid 2px #67abdf;
    background: #fffaf4;
    line-height: 1.4;
    padding: 0.4em 0.5em;
    margin: 2.4em 0;
  }
  
  .related-articles:after {
    /*タブ*/
    position: absolute;
    font-family: "Font Awesome 5 Free",'Quicksand','Avenir','Arial',sans-serif;
	  font-size: 18px;
    content: '\f00c\ 関連記事';
    background: #67abdf;
    color: #fff;
    left: 0px;
    bottom: 100%;
    border-radius: 5px 5px 0 0;
    padding: 5px 7px 3px;
    line-height: 1;
    letter-spacing: 0.05em;
  }
  .related-articles ul{
    list-style: disc;
    margin: 16px 1.3em;
  }
  .related-articles ul li a{
    cursor: pointer;
  }
.appeal-box {
    position: relative;
    margin: 2em 0;
    padding: 0.5em 1em;
    border: solid 3px #67abdf;
    border-radius: 8px;
}
.appeal-box .box-title {
    position: absolute;
    display: inline-block;
    top: -13px;
    left: 10px;
    padding: 0 9px;
    line-height: 1;
    font-size: 19px;
    background: #FFF;
    color: #67abdf;
    font-weight: bold;
}
.appeal-box p {
    margin: 0; 
    padding: 0;
}
.appeal-box ul{
  list-style: disc;
  margin: 16px 1.3em;
}
.appeal-box ul li a{
  cursor: pointer;
}
