@charset "utf-8";
/*
 * ============================================================
 * style_howto.css - HOWTOコラムページ専用スタイル
 * ============================================================
 * 読み込み: HOWTOコラム一覧（archive-howto.php）・詳細（single-howto.php）
 * 依存: style.css（先に読み込まれる）
 * ============================================================
 */
/* howto記事アーカイブページ／投稿ページ／サイドバー */

/*********************************************
howto記事一覧（アーカイブ）ページ
*********************************************/
#sec_howtolist-title {
  margin-top: 10vw;
  padding-bottom: 12vw;
}
.howto-list-title {
  text-align: center;
}
.howto-list-title .title-wrap {
  margin-bottom: 5vw;
  color: var(--color-green);
}
@media (max-width: 640px) {
  .howto-list-title .title-wrap {
    transform: translateY(25px);
  }
}
@media (max-width: 470px) {
  .howto-list-title .title-wrap {
    transform: translateY(0);
  }
}
#archive_howto-list .subtitle {
  font-size: 3.5vw;
}
#archive_howto-list .maintitle {
  font-size: 8vw;
}
#archive_howto-list .note {
  font-size: 3.3vw;
  line-height: 1.5em;
}
#sec_howto-list .archive_howto-li {
  border-bottom: 1px solid #D0D0D0;
  margin-bottom: 10vw;
}
#sec_howto-list .archive_howto-li:last-child {
  border-bottom: none;
}
#sec_howto-list .archive_howto-li .thumb img {
  margin-bottom: 1vw!important;
}
#sec_howto-list .archive_howto-li .tagandtitle {
  padding: 0 1.25vw;
}
#sec_howto-list .archive_howto-li .tag {
  color: #8C8C8C;
  font-size: 3.4vw;
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 0.4vw;
}
#sec_howto-list .archive_howto-li .tag::before {
  content: "";
  position: absolute;
  left: 0;
  top: 55%;
  width: 1.1em;
  height: 1.1em;
  transform: translateY(-50%);
  background-image: url("../images/icon_tag.png");
  background-size: contain;
  background-repeat: no-repeat;
}
#sec_howto-list .archive_howto-li .title {
  text-align: justify;
  font-size: 5.5vw;
  line-height: 1.4em;
  margin-bottom: 5.5vw;
}
/*********************************************
howto記事（投稿）ページ
*********************************************/
.howto-contents-wrap table {
  line-height: 1.4;
    margin: 6vw 0;
}
.howto-contents-wrap table th,
.howto-contents-wrap table td {
    padding: 0.35em;
}
@media screen and (min-width: 1200px) {
  .howto-contents-wrap table {
    margin: 40px auto 34px;
  }
  .howto-contents-wrap table th,
  .howto-contents-wrap table td {
      padding: 0.3em 0.8em;
  }
}
/******** 監修者 ********/
.howto-sv {
  border: 1px solid #e0e0e0;
  background-color: #ffffff;
  padding: 6vw 4.5vw 7vw;
    width: calc(100% - 14%);
    margin: 22vw 7% 15vw;
  box-sizing: border-box;
    font-size: 4vw;
}
.sv-info {
  text-align: center;
  margin-bottom: 4vw;
}
.sv-head {
    margin-bottom: 2vw;
}
.sv-prfimg {
  margin-bottom: 1vw;
}
.sv-prfimg img {
    width: 40%;
    height: 40%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e5e5e5;
}
.sv-name {
  font-size: 4.2vw;
    font-weight: bold;
    letter-spacing: 0.1em;
}
.sv-comment {
  color: #555555;
}

@media screen and (min-width: 1200px) {
  .howto-sv {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 50px;
        margin-bottom: 76px;
        font-size: 19.5px;
  }
  .howto-sv-inner {
    display: flex;
    align-items: center;
  }
  .sv-info {
    width: 220px;
    flex-shrink: 0;
    margin-bottom: 0;
  }
  .sv-head {
    margin-bottom: 10px;
  }
  .sv-prfimg {
    margin-bottom: 8px;
  }
  .sv-prfimg img {
    width: 140px; 
    height: 140px;
  }
  .sv-name {
    font-size: 20px;
  }
  .sv-comment {
    flex-grow: 1;
    border-left: 1px solid #e0e0e0;
    padding-left: 40px;
    margin-left: 40px;
  }
}

/******** ポイントふきだし ********/
.pont-speech {
  display: flex;
  align-items: flex-start;
  gap: 6vw;
  margin: 2em 0;
}

.pont-speech-balloon {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}
.pont-speech-img {
  line-height: 0;
}
.pont-speech-img img {
    width: 16vw !important;
    height: 16vw;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e5e5e5;
    box-sizing: border-box;
    margin: 0 !important;
}

.pont-speech-name {
  font-size: 3vw;
  color: #555555;
  text-align: center;
}

.pont-speech-comment {
    position: relative;
    background-color: #f5f5f5;
    border: 1px solid #cccccc;
    border-radius: 8px;
    padding: 5vw 6vw;
    color: #333333;
    line-height: 1.75;
    flex-grow: 1;
}

.pont-speech-comment::before {
  content: "";
  position: absolute;
  top: 35px;
  left: -12px;
  border-style: solid;
  border-width: 10px 12px 10px 0;
  border-color: transparent #cccccc transparent transparent;
}

.pont-speech-comment::after {
  content: "";
  position: absolute;
  top: 35px;
  left: -10px;
  border-style: solid;
  border-width: 10px 12px 10px 0;
  border-color: transparent #f5f5f5 transparent transparent;
}

@media screen and (min-width: 1200px) {
  .pont-speech {
    gap: 40px;
    width: 90%;
  }
  .pont-speech-img img {
    width: 100px !important;
    height: 100px;
  }
  .pont-speech-name {
    font-size: 1rem;
  }
  .pont-speech-comment {
    padding: 20px 40px;
  }
}
/*********************************************
サイドバー（howto記事ページ）
*********************************************/
#sidebar-howto {
  background: #F2F2F2;
  padding: 16vw 4vw 24vw;
  margin: 0 -4vw;
  margin-bottom: 16vw;
}
#sidebar-howto .index {
  font-size: 5.8vw;
  font-weight: 700;
  text-align: center;
  margin-bottom: 6.2vw;
}
#sb_new-howto-list .ul-wrap {
  background-color: #fff;
  padding: 10vw 4vw 3vw;
  border-radius: 1em;
}
.sb_new-howto-li {
  margin-bottom: 5vw;
}
#sb_new-howto-list a {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
}
#sb_new-howto-list .thumb {
  width: 35%;
  min-width: 35%;
  margin-right: 0.9em;
  line-height: 0;
}
#sb_new-howto-list .thumb img {
  margin-bottom: 0!important;
}
#sb_new-howto-list .date {
  font-size: 3vw;
  line-height: 1.4em;
  color: var(--color-green);
}

#sb_new-howto-list .title {
  text-align: justify;
  font-size: 3.6vw;
  line-height: 1.3em;
  font-weight: 600;
  margin-bottom: 0;
}

/*********************************************
レスポンシブ
*********************************************/
@media(min-width:600px) {
}
@media(min-width:760px) { /* ipad mini */
}
@media(min-width:1200px) {
  /*********************************************
  howto記事一覧（アーカイブ）ページ（PC）
  *********************************************/
  #sec_howtolist-title {
    margin-top: 1rem;
    padding-bottom: 1rem;
  }
  .howto-list-title {
    margin-bottom: 2.2rem;
  }
  .howto-list-title .title-wrap {
    margin-bottom: 2.05rem;
  }
  #archive_howto-list .subtitle {
    font-size: 1.4rem;
    margin-bottom: 0.6rem;
  }
  #archive_howto-list .maintitle {
    font-size: 3.2rem;
  }
  #archive_howto-list .note {
    font-size: 1.3rem;
  }
  #sec_howto-list {
    padding-bottom: 8rem;
  }
  #sec_howto-list .archive_howto-li {
    margin-bottom: 4rem;
  }
  #sec_howto-list .archive_howto-li .thumb img {
    margin-bottom: 0.4rem!important;
  }
  #sec_howto-list .archive_howto-li .tagandtitle {
    padding: 0 0.5rem;
  }
  #sec_howto-list .archive_howto-li .tag {
    font-size: 1rem;
    margin-bottom: 0.1rem;
  }
  #sec_howto-list .archive_howto-li .title {
    font-size: 2.2rem;
    margin-bottom: 2.2rem;
  }

  /*********************************************
  howto記事（投稿）ページ（PC）
  *********************************************/
  
  /*********************************************
  サイドバー（howto記事ページ）（PC）
  *********************************************/
  #sidebar-howto {
    background: none;
    padding: 0;
    margin: 0;
    margin-left: 6rem;
  }
  #sb_new-howto-list .ul-wrap {
    background: none;
    padding: 0;
    margin: 0;
  }
  #sidebar-howto .index {
    margin-bottom: 1.6rem;
    font-size: 1.55rem;
  }
  .sb_new-howto-li {
    margin-bottom: 2rem;
  }
  #sb_new-howto-list .title {
    font-size: 1.15rem;
    line-height: 1.45em;
  }
}
/*********************************************
 HOWTOコラム一覧（archive-howto.php から移植）
 PC-first: @media(max-width:1200px) で SP 上書き
*********************************************/
.pc_only {
  display: block;
}
.sp_only {
  display: none;
}
main.yellow_gb {
  background-color: #FCFBF2;
}

/*見出し*/
.howto-list-title {
  position: relative;
  top: -130px;
  width: 100%;
  margin: 0 0 5px;
  padding: 0;
}
.title-wrap {
  position: relative;
  background-color: #00826E;
  color: #fff;
  width: 100%;
  aspect-ratio: 1200 / 265;
  margin: 0;
  padding: 0;
}
.title-wrap .copy {
  position: absolute;
  top: 41px;
  left: 0;
  width: 100%;
  color: #fff;
  font-size: 36px;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.05em;
}
.title-wrap .column_title_en {
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  text-align: center;
  margin: 0;
  padding: 0;
}
.title-wrap .column_title_en img {
  width: 325px;
}
.main_title {
  position: relative;
  top: -25px;
  margin: 0;
  padding: 0;
}
.main_title h1 {
  font-size: 31px;
  font-weight: 600 !important;
  color: #00826E;
  letter-spacing: 0.05em;
}
.title_note {
  font-size: 26px;
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: 0.05em;
  margin-top: 17px;
}

/*記事一覧*/
#sec-howto-list {
  width: calc(100% - 66px);
  padding: 0 33px;
  margin: 0;
  margin-top: -90px;
}
.archive_howto-ul {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}
.archive_howto-li {
  width: 48.2%;
  background-color: #fff;
  padding: 0;
  margin: 0 0 35px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.12);
}
.archive_howto-li img {
  width: 100%;
  vertical-align: top;
}
.tag_title_wrap {
  padding: 28px 33px 33px;
}
.tag_title_wrap .column_title {
  text-align: left;
}

/*タグ・タイトル*/
.post-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}
.post-tag {
  border: 1px solid #249A86;
  height: 35px;
  line-height: 35px;
  border-radius: 50px;
  font-size: 16px;
  color: #249A86;
  padding: 0 15px;
}
.archive_howto-li h2 {
  font-size: 28px;
  font-weight: 600;
  color: #248879;
  line-height: 1.5;
}

/* ページャー */
.c-pager {
  display: flex;
  justify-content: center;
  margin: 50px 0 20px;
}
.c-pager__list {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 18px 40px;
  list-style: none;
  margin: 0;
}
.c-pager__item a,
.c-pager__item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 600;
  font-size: 29px;
  color: #00826E !important;
  width: 30px;
  height: 72px;
}
.c-pager__item a:hover {
  opacity: 0.7;
}
.c-pager__item .current {
  width: 72px;
  height: 72px;
  background: #00826E;
  color: #fff !important;
  border-radius: 2px;
}
.c-pager__item .prev,
.c-pager__item .next {
  font-size: 33px;
  font-weight: 200;
  color: #434343 !important;
}

@media print, screen and (max-width: 1200px) {
  .pc_only { display: none; }
  .sp_only { display: block; }
  main.yellow_gb { background-color: #FCFBF2; }
  #archive_howto-list { padding: 0; margin: 0; }
  .howto-list-title { position: relative; top: -125px; width: 100%; margin: 0; padding: 0; }
  .title-wrap { aspect-ratio: 640 / 100; }
  .title-wrap .copy { top: 20%; font-size: 4.688vw; line-height: 2; }
  .column_title_en { position: relative; width: 100%; text-align: center; margin: 0; padding: 3.125vw 0 0; }
  .column_title_en img { width: 42%; vertical-align: top; }
  .main_title { top: 0; }
  .main_title h1 { font-size: 4.063vw; }
  .title_note { font-size: 3.438vw; margin-top: 3.906vw; }
  #sec-howto-list { width: 88%; padding: 4% 6% 0; margin-top: -100px; }
  .archive_howto-li { width: 100%; margin: 0 0 5.469vw; }
  .tag_title_wrap { padding: 4.375vw 5.156vw 5.156vw; }
  .post-tags { gap: 1.25vw; margin-bottom: 2.344vw; }
  .post-tag { height: 5.469vw; line-height: 5.469vw; border-radius: 7.813vw; font-size: 2.5vw; padding: 0 2.344vw; }
  .archive_howto-li h2 { font-size: 4.375vw; }
  .c-pager { margin: 2.031vw 0 3.125vw; }
  .c-pager__list { gap: 4.375vw; padding: 2.813vw 6.25vw; }
  .c-pager__item a, .c-pager__item span { font-size: 3.75vw; width: 4.688vw; height: 9.375vw; }
  .c-pager__item .current { width: 9.375vw; height: 9.375vw; border-radius: 0.313vw; }
  .c-pager__item .prev, .c-pager__item .next { font-size: 4.063vw; }
}
@media (max-width: 480px) {
  .howto-list-title { top: 33px; margin: 0 0 30.467vw; }
  #sec-howto-list { margin-top: -80px; }
}

/*********************************************
 HOWTOコラム詳細（single-howto.php から移植）
 main は body.single-howto main に限定
*********************************************/
body.single-howto main {
  background-color: #F9F8F6;
  padding-top: 0;
  margin-top: 0;
  padding-bottom: 8rem;
}
.howto-contents-wrap {
  background-color: #fff !important;
  max-width: 1200px;
  width: 92%;
  margin: 13px auto 0;
  padding: 0 4%;
  box-sizing: border-box;
}
.sec_article-contents-inner {
  padding-bottom: 1rem;
}
.howto-contents-wrap .img_howto-main {
  width: 55.8%;
  margin: -30px auto 20px;
}
.howto-contents-wrap .img_howto-main img {
  width: 100%;
}
.howto-contents-wrap .howto_title h1 {
  color: #248879;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.howto_update {
  position: relative;
  text-align: left;
  font-size: 16px;
  color: #32302F;
  letter-spacing: 0.08em;
  line-height: 1.4;
  padding-left: 24px;
  margin-top: 20px;
}
.howto_update::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  background-color: #249A86;
  height: 13px;
  width: 13px;
  border-radius: 50%;
}
.howto_lead {
  font-size: 20px;
  font-weight: 400;
  line-height: 2;
  margin: 30px 0;
  color: #434343;
}

/*目次*/
.howto_toc {
  border: 4px solid #248879;
  padding: 35px;
  margin-bottom: 80px;
}
.howto_toc-title {
  color: #248879;
  font-size: 40px;
  width: 100%;
  text-align: center;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 15px;
  letter-spacing: 0.05em;
  margin-bottom: 70px;
}
.howto_toc li > a {
  display: flex;
  align-items: center;
  gap: 12px;
}
.howto_toc .toc-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #249A86;
  color: #fff;
  font-weight: 700;
  border-radius: 50%;
  flex-shrink: 0;
}
.toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.toc-item a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.toc-mark {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #249A86;
  display: inline-block;
  flex: 0 0 25px;
}
.toc-item-h2 {
  margin: 14px 0 6px;
  font-size: 26px;
  font-weight: 500;
}
.toc-sub {
  list-style: none;
  margin: 6px 0 0 33px;
  padding: 0;
  font-size: 22px;
  font-weight: 500;
  color: #248879;
  text-decoration: underline;
}
.toc-item-h3 {
  margin: 8px 0;
}
.toc-item-h3 .toc-mark {
  width: 5px;
  height: 5px;
  flex-basis: 5px;
}
.single-howto .howto_txt h2,
.single-howto .howto_txt h3 {
  scroll-margin-top: 96px;
}

/*本文*/
.post-txt_article-common {
  font-size: 20px;
  line-height: 2.1;
  font-weight: 400;
  color: #434343;
}
.post-txt_article-common img {
  width: 50%;
  margin: 5% 25%;
}
.post-txt_article-common strong {
  background: #FEFFB3;
  padding: .05em .2em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  font-weight: 700;
}
.post-txt_article-common h2 {
  font-size: 34px;
  font-weight: 500;
  color: #00826E;
  border-top: none;
  border-left: 6px solid #00826E;
  background: none;
  padding-left: 30px;
  letter-spacing: 0.05em;
}
.single-howto .post-txt_article-common h2::before {
  content: none !important;
  display: none !important;
}
.post-txt_article-common h3 {
  font-size: 30px;
  font-weight: 500;
  color: #00826E;
  border-top: 2px solid #00826E;
  border-bottom: 2px solid #00826E;
  background: none;
  padding-left: 0;
  letter-spacing: 0.05em;
  margin-bottom: 30px !important;
}
.post-txt_article-common h4 {
  font-size: 20px;
  font-weight: 500;
  color: #00826E;
  border: none;
  background: none;
  letter-spacing: 0.05em;
  padding: 45px 0 0;
}
.post-txt_article-common h4::before {
  content: none !important;
  display: none !important;
}

@media (max-width: 480px) {
  .howto-contents-wrap .img_howto-main {
    width: 100%;
    margin: 0 auto 4%;
    padding-top: 130px;
  }
}
@media print, screen and (max-width: 1200px) {
  body.single-howto main {
    background-color: #F9F8F6;
    padding: 0;
    margin: 0;
  }
  .howto-contents-wrap {
    max-width: none;
    width: 100%;
    margin: 12px auto 0;
    padding: 0;
  }
  .howto-contents-wrap .img_howto-main { width: 100%; margin: -10px auto 4%; }
  .howto-contents-wrap .howto_title h1 { font-size: 5.5vw; line-height: 1.4; padding: 0 9%; }
  .howto_update { font-size: 3vw; padding-left: 5vw; margin: 20px 10%; }
  .howto_lead { font-size: 3.125vw; margin: 3.125vw 0 9.375vw; padding: 0 9%; }
  .howto_toc { padding: 10% 4% 8%; margin: 0 7% 10%; }
  .howto_toc-title { font-size: 6.25vw; text-decoration-thickness: 0.313vw; text-underline-offset: 2.344vw; margin-bottom: 6.25vw; }
  .howto_toc li > a { align-items: flex-start; gap: 1.875vw; }
  .howto_toc .toc-num { width: 4.375vw; height: 4.375vw; }
  .toc-item a { align-items: flex-start; gap: 1.563vw; line-height: 1.6; }
  .toc-mark { width: 3.906vw; height: 3.906vw; flex: 0 0 3.906vw; margin-top: 0.3em; }
  .toc-item-h2 { margin: 2.188vw 0 0.938vw; font-size: 4.063vw; }
  .toc-sub { margin: 0.938vw 0 0 5.156vw; font-size: 3.95vw; text-decoration-thickness: 0.156vw; }
  .toc-item-h3 { margin: 1.25vw 0; line-height: 1.4; }
  .toc-item-h3 > a { align-items: flex-start; gap: 1.563vw; }
  .toc-item-h3 .toc-mark { width: 0.781vw; height: 0.781vw; flex-basis: 0.781vw; margin-top: 0.7em; }
  .single-howto .howto_txt h2, .single-howto .howto_txt h3 { scroll-margin-top: 15vw; }
  .post-txt_article-common { font-size: 4.063vw; padding: 6% 8% 0; overflow-wrap: break-word; word-break: break-all; }
  .post-txt_article-common img { width: 100%; margin: 5% 0; }
  .post-txt_article-common h2 { font-size: 5.5vw; padding-left: 4.5vw; margin: 0; }
  .single-howto .post-txt_article-common h2::before { content: none !important; display: none !important; }
  .post-txt_article-common h3 { font-size: 5.3vw; }
  .post-txt_article-common h4 { font-size: 3.125vw; padding: 7.031vw 0 0; }
  .post-txt_article-common h4::before { content: none !important; display: none !important; }
}
