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

/* ===============================================
   headline
=============================================== */
.hl_ttl img {
    width: clamp(0px, 6.5vw, 96px);
}
@media (max-width: 767px) {
    .hl_ttl img {
        width: 11vw;
    }
}


/* ===============================================
   serviceSubNav
=============================================== */
#serviceSubNav{
    padding: 84px 0 100px;
}
.service_subnav_list{
    gap: 28px 25px;
    justify-content: flex-start;
}
.service_subnav_list li{
    width: calc((100% - 75px) / 4);
}

@media (max-width: 767px) {
    #serviceSubNav{
        padding: 40px 0 30px;
        width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        position: relative;
    }
/*    #serviceSubNav::after{
        content: "";
        width: 100%;
        height: 1px;
        background-color: var(--c-green);
        position: absolute;
        top: 50%;
        left: 0;
    }*/
    .service_subnav_list{
        gap: 28px 0;
        justify-content: flex-start;
        align-items: center;
    }
    .service_subnav_list li{
        width: calc(100% / 2);
    }
    .service_subnav_list li:nth-child(4){
        border-right: none;
    }
    .service_subnav_list li:nth-child(7){
        border-right: 1px solid var(--c-green);
    }
	.service_subnav_list li a {
		font-size: 14px;
		letter-spacing: 0;
	}
}

/* ===============================================
   message_block
=============================================== */
#message_block{
    padding: 40px 0 0;
}
#message_block .sec_ttl_wrap{
    margin-bottom: 45px;
}
#message_block .message_box{
    align-items: center;
}
/* #message_block .message_box .txt_box{ */
    /* max-width: 635px; */
/* } */
#message_block .message_box .txt_box .h3_ttl{
    font-family: var(--ff-min);
    font-size: 31px;
    letter-spacing: -0.05em;
    font-weight: 400;
    margin: 0 auto 20px;
}
#message_block .message_box .txt_box p{
    /* font-size: 24px; */
    font-size: clamp(15px, 1.9vw, 24px);
    line-height: 1.84;
    /* letter-spacing: 0.12em; */
    font-family: var(--ff-min);
    text-align: center;
    font-weight: 500;
}
#message_block .message_box .txt_box .name{
    margin: 30px auto 0;
    font-family: var(--ff-min);
    gap: 20px;
}
#message_block .message_box .txt_box .name img{
    width: 142px;
    display: inline-block;
}
#message_block .message_box .img_box{
    max-width: 392px;
}
.block_767{
    display: none;
}
@media (max-width: 767px) {
    .block_767{
        display: block;
    }
    #message_block .message_box .txt_box p{
        line-height: 1.72;
        width: 100%;
    }
}
@media (max-width: 400px) {
    .block_767{
        display: none;
    }
}

/* ===============================================
   faq_block
=============================================== */
#faq_block{
    padding: 100px 0 110px;
    font-family: var(--ff-min);
}
.faq-container {
  width: 100%;
  margin: 0 auto 90px;
}
.green_bar{
    width: 100%;
    height: 68px;
    background-color: var(--c-green);
    color: #ffffff;
    font-size: 24px;
    line-height: 1.2;
    font-family: var(--ff-min);
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    margin-bottom: 30px;
}
/* FAQアイテム：上下に緑線を配置 */
.faq-item {
  border-top: 1px solid var(--c-green);    /* 上の緑線 */
  border-bottom: 1px solid var(--c-green); /* 下の緑線 */
  margin-bottom: -2px;              /* 隣り合うアイテムの線重なりを防止 */
  background-color: #ffffff;
}
/* 質問ボタン（左右両端寄せ） */
.faq-question {
  width: 100%;
  padding: 22px 0 24px;
  display: flex;
  justify-content: space-between;  /* 左：Qと質問文 / 右：＋アイコン */
  align-items: flex-start;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 16px;
  font-weight: bold;
  color: #333333;
}
/* 質問テキスト側のグループ（○Q ＋ 質問本文） */
.faq-q-group {
  display: flex;
  align-items: flex-start;
  gap: 15px;                        /* アイコンと文章の間隔 */
  flex: 1;
  padding-right: 15px;
}
/* 共通の丸アイコン（○Q / ○A） */
.faq-badge {
  width: 40px;
  height: 40px;
  background-color: var(--c-green);       /* 緑色 */
  color: #ffffff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: bold;
  flex-shrink: 0;                   /* 丸が潰れるのを防止 */
  line-height: 1;
  padding-bottom: 2px;
  padding-left: 2px;
}
/* 質問文章 */
.faq-q-text {
  flex: 1;
  line-height: 1.5;
}

span.faq-q-text{
    font-size: 18px;
    font-weight: 500;
    padding-top: 8px;
    /* letter-spacing: 0.15em; */
}
/* 右端の開閉アイコン（＋ / ー） */
.faq-icon {
  width: 21px;
  height: 21px;
  position: relative;
  flex-shrink: 0;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background-color: var(--c-green);
  transition: transform 0.3s, opacity 0.3s;
}
/* 横線 */
.faq-icon::before {
  width: 100%;
  height: 2.8px;
  top: 50%;
  left: 0;
  margin-top: -1px;
}
/* 縦線 */
.faq-icon::after {
  width: 2.8px;
  height: 100%;
  left: 50%;
  top: 0;
  margin-left: -1px;
}
/* アコーディオンが開いているとき（＋をーに変更） */
.faq-item.active .faq-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}
/* 回答エリア（初期状態は非表示） */
.faq-answer {
  display: none;
  padding: 0 60px 63px 0;
}
.faq-item.active .faq-answer {
  display: block;
}
/* 回答コンテンツ（○A ＋ 回答本文） */
.faq-a-group {
  display: flex;
  align-items: flex-start;
  gap: 15px;                        /* ○Qの配置と揃えるための余白 */
}
/* ○A アイコン（背景色変更も可能） */
.faq-badge-a {
  background-color: var(--c-brown);        /* アクセントカラー（ゴールド系） */
  font-family: var(--ff-go);
  padding-bottom: 3px;
}
/* 回答文章 */
.faq-a-text {
  flex: 1;
  font-size: 14px;
  line-height: 1.8;
  font-weight: 400;
  /* letter-spacing: 0.08em; */
}
.m_r{
    display: block;
    padding-left: 15px;
}
.m_r_2{
    display: block;
    padding-left: 30px;
}
.green_detail_title{
    display: block;
    color: var(--c-green);
    font-weight: 700;
    margin: 10px 0 3px;
}
.price_table{
    display: block;
    position: relative;
    padding-top: 26px;
    margin-bottom: 10px;
}
.price_table::before{
    content: "基礎控除後の課税価格";
    font-size: 12.5px;
    position: absolute;
    top: 0;
    left: 0;
}
.price_table::after{
    content: "税率";
    font-size: 12.5px;
    position: absolute;
    top: 0;
    left: 200px;
}
@media (max-width: 767px) {
    #faq_block{
        padding: 30px 0 0;
        font-family: var(--ff-min);
    }
    .faq-container {
      margin: 0 auto 50px;
    }
    span.faq-q-text{
        font-size: 16px;
        font-weight: 500;
        padding-top: 0;
    }
    .faq-question {
      width: 100%;
      padding: 20px 0 8px;
    }
    .faq-answer {
      display: none;
      padding: 0 0 34px 0;
    }
}

