/*
Theme Name: astra Child
Template: astra
*/

/* デザイン再現用CSS */
html {
    font-size: 62.5%; /* 16px × 0.625 = 10px になる！ */
}
html body {
  font-family: "Zen Maru Gothic", serif;
  font-size: 1.5rem; /* これで 15px 相当 */
}
/* 入力欄の文字を勝手に大文字にさせない */
input, textarea {
    text-transform: none !important;
}

/* 親要素(html body)から指定することで優先順位を最大まで上げます */
html body, 
html body #buddypress, 
html body #buddypress *, 
html body .buddyboss-main-content * {
    font-family: 'Zen Maru Gothic', sans-serif !important;
}

/* 入力欄やボタンも個別で念押し */
input, select, textarea, button {
    font-family: 'Zen Maru Gothic', sans-serif !important;
}

.ast-builder-menu-1 .menu-item.current-menu-item > .menu-link, .ast-builder-menu-1 .inline-on-mobile .menu-item.current-menu-item > .ast-menu-toggle, .ast-builder-menu-1 .current-menu-ancestor > .menu-link {
    color: #444444 !important;
}
.ast-builder-menu .main-navigation {
  font-weight: 500;
}
.custom-front-page {
    line-height: 1.6;
    color: #222222;
}
html body .m-plus-rounded-1c-regular, h2 {
  font-weight: 400;
  font-style: normal;
  font-family: "Zen Maru Gothic", serif;
}
a {color: #a855f7;}

.container {
    max-width: 800px; /* カンプの幅に合わせて調整 */
    margin: 0 auto;
    padding: 0 20px;
}
.main-navigation ul li a {font-size: 1.4rem !important;}
.ast-primary-header-bar .site-primary-header-wrap {
    min-height: 60px !important;
}
/* MV */
#ast-desktop-header {
    border-bottom: solid 1px #e8e8e8;
}
.ast-desktop .ast-primary-header-bar .main-header-menu > .menu-item {
    line-height: 20px !important;
}
.mv-section img {
    width: 100%;
    display: block;
}
/* ナビ内のオレンジボタン共通スタイル */
.nav-orange-button {
    background: #ff6600 !important;
    color: #fff !important;
    padding: 10px 20px !important;
    border-radius: 50px;
    display: inline-block;
    text-align: center;
    margin: 5px 15px; /* モバイルでの余白調整 */
}
.ast-grid-right-section {
    justify-content: flex-start !important;
}
.ast-header-social-1-wrap .ast-social-color-type-custom svg {
    fill: #222 !important;
}

/* ハンバーガーメニュー内では横幅いっぱいにしたい場合 */
@media (max-width: 921px) {
    .custom-nav-btn {
        text-align: center;
        padding: 10px 0;
    }
}
/* グループ一覧画面の参加・退会ボタンを非表示にする */
.groups-loop-buttons {
    display: none !important;
}
/*サービス内容*/
/* サービスセクション全体のスタイル */
.flow-section {
    padding: 60px 0;
    background-color: #fff;
}

.service-list {
    margin-top: 40px;
}

/* 各項目のボックス */
.service-item {
    margin-bottom: 40px;
    padding: 25px;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #fafafa;
    padding: 30px 30px 5px 30px;
}

/* 見出し部分（数字付き） */
.service-item dt {
    font-weight: bold;
    font-size: 2rem;
    color: #333;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
}

.service-item dt span {
    background: #a259ff;
    color: #fff;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin-right: 10px;
    font-size: 1.8rem;
}

/*流れ*/
/* 全体のコンテナ */
.timeline-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 20px 20px 50px 20px;
}

/* 各ステップの枠組み */
.timeline-item {
  display: flex;
  gap: 20px;
  position: relative;
  padding-bottom: 40px; /* ステップ間の余白 */
}

/* 最後の項目の線は消す */
.timeline-item:last-child {
  padding-bottom: 0;
}

/* 縦のライン */
.timeline-item::before {
  content: "";
  position: absolute;
  left: 17px; /* 数字の円の中央に合わせる */
  top: 35px;
  width: 2px;
  height: calc(100% - 35px);
  background-color: #e0e0e0; /* 線の色（薄いグレー） */
}

/* 最後の項目のラインを隠す */
.timeline-item:last-child::before {
  display: none;
}

/* 数字の丸 */
.timeline-number {
  flex-shrink: 0;
  width: 45px;
  height: 45px;
  background-color: #aa59f7;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 3rem;
  z-index: 1; /* 線より前に出す */
  padding-bottom: 2.5px;
}

/* コンテンツ部分 */
.timeline-content {
  padding-top: 5px;
}

/* タイトル（先ほどの左ライン付きを応用） */
.timeline-title {
  font-family: "Zen Maru Gothic", serif;
  margin: 0 0 10px 0;
  font-size: 1.8rem;
  font-weight: bold;
  color: #333;
}

.timeline-content p {
  margin: 0;
  color: #666;
  line-height: 1.7;
}
.timeline-item::before {
    content: "";
    position: absolute;
    /* 修正ポイント：左から「円の横幅の半分」の位置に配置する */
    left: 22.5px; /* 円が45pxなので、その半分の22.5pxに設定 */
    transform: translateX(-50%); /* 線の太さ分をさらに微調整して真ん中に */
    
    /* 線の見た目（既存の設定があるはず） */
    width: 2px;
    background-color: #ccc;
    height: 100%;
}

/* 説明文部分 */
.service-item dd {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 10px;
    line-height: 1.8;
    color: #555;
    font-size: 1.4rem;
}
.service-item dd:last-child {
    margin-bottom: 0;
}
.service-item dd p {
  margin-bottom: 0;
}
.service-item dd p.ttl {
  font-weight: 600;
  border-left: 4px solid #8e44ad;
  padding-left: 15px;
  margin-bottom: 10px;
  font-size: 1.6rem;
  line-height: normal;
}
.service-item dd p.detail_txt {
  border:none;
  color: #666;
  margin-top: 10px;
  font-weight: 500;
  margin-bottom: 30px;
  line-height: 1.8;
}

/* --- レスポンシブ対応 --- */
@media (max-width: 768px) {
    .service-item {
        padding: 20px;
    }
    .service-item dt {
        font-size: 1.2rem;
    }
    .service-item dd {
        font-size: 1.2rem;
    }
}

/* CTAエリア */
.cta-section {
    background-color: #00ff7f; /* カンプの鮮やかな緑 */
    padding: 40px 0;
    text-align: center;
}

.cta-text {
    font-weight: bold;
    margin-bottom: 15px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    background: white;
    padding: 10px 30px;
    border-radius: 50px;
    text-decoration: none;
    color: #333;
    border: 2px solid #333;
    font-weight: bold;
}

.free-badge {
    background: #00ff7f;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    margin-right: 10px;
    font-size: 1.2rem;
}

/* サービスの流れ */
.flow-section {
    padding: 60px 0 10px;
}

.section-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 40px;
}

.flow-list {
    list-style: none;
    padding: 0;
    margin-left: 0;
}

.flow-list li {
    margin-bottom: 70px;
    font-size: 1.4rem;
}

.flow-list h3 {
    font-size: 1.8rem;
    color: #222;
    font-family: "Zen Maru Gothic", serif;
    font-weight: 500;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.custom-front-page .container {
  width: 100%;
  max-width: 650px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.custom-front-page .container.sub-page {
  width: 100%;
  max-width: 650px;
  margin: 40px auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.mv-section img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 890px;
  margin: 20px auto;
}

/* CTA */
.cta-section {
  background: #00d84a;
  padding: 30px 0 35px;
  text-align: center;
}

.cta-text,
.cta-mini-text {
    margin: 0 0 12px;
    font-size: 1.8rem;
    font-weight: 500;
    color: #222;
}

.cta-button,
.bottom-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #111;
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 24px;
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1;
  transition: 0.2s ease;
}

.cta-button:hover,
.bottom-cta:hover {
  opacity: 0.85;
  color: #fff;
}

.white-button {
  background: #fff;
  color: #111;
}

.white-button:hover {
  color: #111;
}

.free-badge {
    display: inline-block;
    background: #fff;
    color: #222;
    border-radius: 60px;
    padding: 4px 8px;
    font-size: 1.7rem;
    font-weight: 500;
}

.button-text {
  display: inline-block;
}

/* 共通 */
.section-title {
  margin: 0;
  font-size: 2.8rem;
  font-weight: 800;
  text-align: center;
  line-height: 1.3;
}

.section-subtitle {
  margin: 10px 0 0;
  text-align: center;
  font-size: 1.3rem;
  line-height: 1.8;
  color: #666;
}

/* 料金 */
/* =========================
   料金セクション
========================= */
.price-section {
  padding: 48px 0 56px;
  background: #fafafa;
}

.price-table {
  position: relative;
  max-width: 420px;
  margin: 28px auto 0;
}

.price-table::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: #29e34a;
  transform: translateX(-50%);
}
.price-table::before {
  display: none;
}

.price-row {
  position: relative;
  display: flex;
  align-items: center;
  z-index: 1;
}

.price-col {
  width: 48%;
  box-sizing: border-box;
}

.price-col-left {
  text-align: right;
  padding-right: 30px;
}

.price-col-right {
  text-align: left;
  padding-left: 18px;
}

/* 上2つの白ボックス */
.price-row-box {
  background: #fff;
  border-radius: 10px;
  min-height: 110px;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.04);
}

.price-row-box + .price-row-box {
  margin-top: 18px;
}

.monthly-row {
  margin-bottom: 22px;
}

.admission-row {
  margin-top: 45px;
  margin-bottom: 26px;
}

/* 真ん中の＋ */
.price-plus {
  position: absolute;
  left: 50%;
  top: 132px;
  transform: translate(-50%, -50%);
  z-index: 3;
  font-size: 3.2rem;
  line-height: 1;
  font-weight: 500;
  color: #111;
  background: transparent;
}

/* テキスト */
.price-name {
  display: inline-block;
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.4;
  color: #222;
}

.price-name.monthly {
  color: #9b59ff;
}

.price-amount {
  display: inline-block;
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.4;
  color: #222;
}

.price-amount.monthly {
  color: #9b59ff;
}

.price-amount.strike {
  position: relative;
}

.price-amount.strike::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  top: 52%;
  height: 2px;
  background: #ff5a8a;
  transform: rotate(-0deg);
}

.campaign-text {
  margin: 6px 0 0;
  font-size: 1.3rem;
  line-height: 1.4;
  color: #ff5a8a;
  font-weight: 700;
}

/* 下のシンプル行 */
.price-row-simple {
  min-height: 56px;
}

.price-name.small,
.price-amount.small,
.contract-price {
  font-size: 1.9rem;
  font-weight: 500;
  color: #222;
}

.price-amount small,
.contract-price small {
  font-size: 1.2rem;
  font-weight: 500;
}

.contract-row {
  align-items: flex-start;
  margin-top: 12px;
}

.contract-note {
  margin: 8px 0 0;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #222;
  font-weight: 500;
}

/* 見出し共通がすでにあるなら不要な場合あり */
.section-title {
  margin: 30px 0 60px 0;
  text-align: center;
  font-size: 2.8rem;
  font-weight: 700;
  color: #222;
}

.section-subtitle {
  font-weight: 500;
  margin: 10px 0 0;
  text-align: center;
  font-size: 1.6rem;
  line-height: 1.8;
  color: #666;
}

/* スマホ微調整 */
@media (max-width: 480px) {
  .price-table {
    max-width: 100%;
  }

  .price-row-box {
    min-height: 96px;
  }

  .price-name,
  .price-amount {
    font-size: 1.8rem;
  }

  .price-name.small,
  .price-amount.small,
  .contract-price {
    font-size: 1.6rem;
  }

  .campaign-text {
    font-size: 1.1rem;
  }

  .contract-note {
    font-size: 1.1rem;
  }

  .price-col-left {
    padding-right: 12px;
  }

  .price-col-right {
    padding-left: 12px;
  }

  .price-plus {
    top: 118px;
    font-size: 2.8rem;
  }
}

/* 理由 */
.reason-section {
  padding: 45px 0 80px;
  background: #fff;
}

.reason-icons {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.reason-icons img {
  max-width: 80px;
  width: 100%;
}

.reason-list {
  margin-top: 28px;
}

.reason-item + .reason-item {
  margin-top: 24px;
}

.reason-item h3 {
  margin: 0 0 8px;
  font-family: "Zen Maru Gothic", serif !important;
  font-size: 1.8rem;
  font-weight: 500;
  color:#666666;
  line-height: 1.5;
}

.reason-item p {
  margin: 0;
  font-size: 1.4rem;
  line-height: 2;
}
.link_read {
    color: #a259ff;
    text-align: right;
    font-weight: bold;
}
.link_read a {
  padding: 0px 6px 0px;
  border: solid 1px;
  border-radius: 4px;
  display: inline-block;
}
.link_read a:hover {
  color:#fff;
  background:#a259ff;
}
/* FAQ */
.faq-section {
  padding: 48px 0 56px;
  background: #f5f5f5;
}

.faq-list {
  margin-top: 24px;
}

.faq-item {
  background: #fff;
  border-radius: 3px;
  padding: 35px 30px 10px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.06);
  margin-bottom: 45px;
}
.faq-item div {
  margin-bottom: 30px;
}
.faq-item div p .ttl {
    font-weight: 600;
    color: #a855f7;
    display: inline-block;
    margin-bottom: 10px;
}
.faq-item div .q-bg {
    background: #222;
    font-size: 1.5rem;
    color: #fff;
    padding: 2px 8px 3px;
    border-radius: 3px;
    margin-right: 10px;
}
.faq-item div .a-bg {
    background: #a855f7;
    color: #fff;
    padding: 2px 9px 3px;
    border-radius: 3px;
    margin-right: 10px;
    font-size: 1.5rem;
}

.faq-item + .faq-item {
  margin-top: 18px;
}

.faq-tag {
  display: inline-block;
  margin-bottom: 0px;
  padding: 6px 12px;
  background: #a855f7;
  color: #fff;
  border-radius: 5px 5px 0 0;
  font-size: 1.4rem;
  font-weight: 500;
}

.faq-item h3 {
  margin: 0 0 5px;
  font-family: "Zen Maru Gothic", serif;
  font-size: 1.8rem;
  line-height: 1.8;
  font-weight: 600;
  color: #222222;
}

.faq-item p {
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.9;
  color: #555;
}

/*製作者の思い*/
.policy-section {
    line-height: 1.8;
    color: #333;
    text-align: left;
}

/* 大見出し：サービス製作者の想い */
.policy-title {
    text-align: center;
    font-size: 2rem;
    font-family: "Zen Maru Gothic", serif;
    margin-bottom: 50px;
    position: relative;
}

/* 中見出し：理由・違和感など */
.policy-subtitle {
    font-size: 1.7rem;
    font-family: "Zen Maru Gothic", serif;
    color: #aa59f7; /* 紫色をアクセントに */
    margin: 40px 0 15px;
    border-left: 5px solid #aa59f7;
    padding-left: 15px;
    font-weight: 600;
}

@media (min-width: 922px) {
    .ast-builder-menu .main-navigation > ul > li:last-child a {
        margin-right: 0;
        background: #a75aff;
        color: #fff;
        border-radius: 6px;
        line-height: 1.5em;
        padding: 2px auto;
    }
}
/* --- レスポンシブ（スマホ用） --- */
@media (max-width: 768px) {
    .sub-page {
        padding: 40px 15px;
    }
    
    .policy-title {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }
    
    .policy-subtitle {
        font-size: 1.2rem;
    }
    
    .policy-content p {
        font-size: 1.2rem; /* スマホでは少し文字を小さくして読みやすく */
    }
}

/*規約*/
/* 利用規約ページのスタイル */
.custom-terms-page {
    padding: 60px 20px;
    background-color: #f9f9f9; /* ほんのりグレーで読みやすく */
    line-height: 1.8;
    color: #333;
}

.custom-terms-page .container {
    max-width: 800px; /* 読みやすい横幅に制限 */
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.terms-title {
    text-align: center;
    font-family: "Zen Maru Gothic", serif;
    font-size: 2.2rem;
    margin-bottom: 40px;
    font-weight: bold;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
}

.terms-content h3 {
    font-size: 1.8rem;
    font-family: "Zen Maru Gothic", serif;
    margin-top: 30px;
    margin-bottom: 10px;
    border-left: 4px solid #555;
    padding-left: 15px;
}

.terms-content p, 
.terms-content ol {
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.terms-content ol {
    padding-left: 20px;
}

.terms-content li {
    margin-bottom: 8px;
}

/* スマホ用の調整 */
@media (max-width: 768px) {
    .custom-terms-page {
        padding: 30px 15px;
    }
    .custom-terms-page .container {
        padding: 20px;
    }
    .terms-title {
        font-size: 2rem;
    }
}

/*特商法*/
/* 特商法ページのスタイル */
.custom-law-page {
    padding: 60px 20px;
    background-color: #f9f9f9;
}

.custom-law-page .container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.law-title {
    text-align: center;
    font-size: 2.2rem;
    font-family: "Zen Maru Gothic", serif;
    margin-bottom: 40px;
    font-weight: bold;
    padding-bottom: 10px;
}

/* 情報リストのスタイル */
.info-item {
    display: flex;
    flex-direction: column; /* スマホでは縦並び */
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.info-item dt {
    font-weight: bold;
    color: #666;
    margin-bottom: 5px;
    font-size: 1.4rem;
    font-weight: 500;
}

.info-item dd {
    margin: 0;
    color: #333;
    line-height: 1.6;
}
.info-item dd div {
  margin-top: 10px;
}

.small-text {
    font-size: 1.4rem;
    color: #888;
}

/*運営者情報*/
/* --- 運営者情報セクション 全体設定 --- */
.law-section {
    max-width: 900px; /* 見やすい幅に制限 */
    margin: 40px auto;
    padding: 20px;
    background: #fff;
    font-size: 1.4rem;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
    font-weight: bold;
}

/* --- リスト（枠組み） --- */
.info-grid {
    border-top: 1px solid #eee; /* 一番上の線 */
}

.info-item {
    display: flex;
    flex-direction: column; /* スマホでは縦並び */
    padding: 25px 10px;
    border-bottom: 1px solid #eee; /* 項目ごとの区切り線 */
}

/* PCサイズでの見え方調整 */
@media (min-width: 768px) {
    .info-item {
        flex-direction: row; /* 横並びに */
        align-items: flex-start;
    }
    .info-item dt {
        width: 30%; /* 左側のラベル（所在地など）の幅 */
        font-weight: bold;
        color: #333;
        margin-bottom: 0;
    }
    .info-item dd {
        width: 70%; /* 右側の内容の幅 */
        margin: 0;
        color: #333;
    }
}

/* 最後の項目の下の線は不要ならこれ（お好みで） */
.info-item:last-child {
    border-bottom: none;
}

/* --- 特殊なパーツの装飾 --- */

.small-text {
    display: block;
    margin-top: 8px;
    font-size: 1.2rem;
    color: #888;
}

.small-text a {
    color: #835af1; /* リンクの色（紫系） */
}

/* ボタンの横並び設定 */
.button-group-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn-outline {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid #ccc;
    border-radius: 30px; /* 丸みのあるボタン */
    text-decoration: none;
    color: #666;
    font-size: 0.85rem;
    transition: 0.3s;
}

.btn-outline:hover {
    background: #f9f9f9;
}

/* お問い合わせボタン */
.btn-contact-small {
    display: inline-block;
    padding: 12px 35px;
    background: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}
.wpcf7-form-control {
  margin: 0 auto;
  display: block;
}

/* SNSリンク */
.sns-flex-inline {
    display: flex;
    gap: 20px;
}

.sns-link {
    color: #835af1;
    text-decoration: underline;
    font-size: 1.2rem;
}

/* ボタン関係 */
.button-group {
    display: flex;
    flex-wrap: wrap; /* 折り返し許可 */
    gap: 10px;
    justify-content: center;
    border-bottom: 1px solid #eeeeee;
    padding-bottom: 30px;
}

.btn-outline {
    display: inline-block;
    padding: 1px 8px;
    border: 1px solid #ccc;
    border-radius: 30px;
    text-decoration: none;
    color: #666;
    font-size: 1.2rem;
    transition: 0.3s;
}

.btn-outline:hover {
    background: #f5f5f5;
    border-color: #999;
}

.contact-box, .sns-icons {
    text-align: center;
    margin-top: 40px;
}

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background: #000; /* ブランドカラーに合わせて変えてね */
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.icon-flex {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}
/* --- お問い合わせサンクスページ共通スタイル --- */

/* 全体のコンテナ：清潔感のある白背景と柔らかい影 */
.sub-page.container {
    max-width: 700px;
    margin: 60px auto;
    padding: 40px 20px;
    background-color: #ffffff;
    border-radius: 20px;
    text-align: center;
}
/* メールが届かない人向けの注意書き */
.mail-notice {
    margin-top: 20px;
    padding: 15px;
    background-color: #fff; /* ボックスの中でさらに白抜きにして目立たせる */
    border: 1px solid #e0e6ed;
    border-radius: 8px;
    font-size: 1.4rem;
    text-transform: none !important;
}

.mail-notice p {
    margin-bottom: 8px !important;
    color: #d9534f; /* 警告色すぎない、落ち着いた赤系 */
}

.mail-notice ul {
    list-style-type: disc;
    margin-bottom: 0;
}

.mail-notice li {
    font-size: 1.3rem !important;
    line-height: 1.5 !important;
    margin-bottom: 5px !important;
    color: #666 !important;
}

/* 登録完了ページ専用の微調整 */
.entry-thanks h1 {
    color: #e67e22; /* 少し明るめの見出し */
}

/* 登録者向けには、アクションを促すボタンを少し強調 */
.entry-thanks .btn-faq {
    background: linear-gradient(135deg, #00897b 0%, #26a69a 100%);
    box-shadow: 0 4px 15px rgba(0, 137, 123, 0.3);
}

/* 見出し */
.sub-page h1 {
    font-size: 2.4rem;
    color: #333;
    margin-bottom: 40px;
    font-weight: 600;
    font-family: "Zen Maru Gothic", serif;
}

/* 【今後の流れ】のボックス */
.info-box {
    text-align: left;
    background-color: #f8fafb;
    border-radius: 12px;
    padding: 25px 30px;
    margin: 40px 0;
}
.info-box h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}
.info-box ul {
    margin: 0;
    padding-left: 20px;
}
.info-box li {
    margin-bottom: 12px;
    color: #555;
    font-size: 1.5rem;
}
.info-box strong {
    color: #00897b;
}

/* よくある質問セクション */
.faq-section {
    margin: 40px 0 0;
    padding: 20px;
}

/* ボタン：思わずクリックしたくなる丸み */
.btn-faq {
    display: inline-block;
    background-color: #00897b;
    color: #fff !important;
    padding: 14px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    transition: transform 0.2s, background-color 0.2s;
}
.btn-faq:hover {
    background-color: #00695c;
    transform: translateY(-2px);
}

/* 下部リンク（規約・特商法など） */
.footer-links {
    margin-top: 50px;
    padding-top: 25px;
    border-top: 1px solid #eee;
}
.footer-links a {
    color: #888;
    text-decoration: none;
    font-size: 1.3rem;
    margin: 0 12px;
    transition: color 0.2s;
}
.footer-links a:hover {
    color: #00897b;
    text-decoration: underline;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .sub-page.container {
        margin: 30px 15px;
        padding: 30px 15px;
    }
    .info-box {
        padding: 20px;
    }
    .footer-links a {
        display: inline-block;
        margin: 5px 10px;
    }
}

/* --- レスポンシブ（PCサイズ） --- */
@media (min-width: 768px) {
    .info-item {
        flex-direction: row; /* 横並びに */
        align-items: center;
    }
    .info-item dt {
        width: 150px; /* 見出しの幅を固定 */
        margin-bottom: 0;
    }
}
/* テーブルのスタイル */
.law-table {
    width: 100%;
    border-collapse: collapse;
    border-top: 1px solid #ddd;
}

.law-table th, .law-table td {
    padding: 20px;
    border-bottom: 1px solid #ddd;
    text-align: left;
    font-size: 1.4rem;
    line-height: 1.6;
}

.law-table th {
    width: 30%;
    background-color: #fcfcfc;
    font-weight: bold;
    color: #555;
    vertical-align: top; /* 文字が長くても上揃えに */
}

.law-table td small {
    color: #777;
    display: block;
    margin-top: 5px;
}

/* スマホ対応：テーブルを縦並びにする */
@media (max-width: 600px) {
    .law-table th, .law-table td {
        display: block;
        width: 100%;
        padding: 15px 10px;
    }
    .law-table th {
        background-color: #eee;
        border-bottom: none;
        padding-bottom: 5px;
    }
}

/*プラポリ*/
/* リスト（・）のスタイル調整 */
.terms-content {
  font-size: 1.4rem;
  text-align: left;
}
.terms-content .dot-list {
    list-style-type: disc; /* 黒丸を表示 */
    padding-left: 20px;
    margin-bottom: 25px;
}

.terms-content .dot-list li {
    margin-bottom: 10px;
    list-style-position: outside;
}

/* クレジットカード情報の注釈などの微調整 */
.terms-content small {
    color: #666;
    font-size: 0.9em;
}

/* 下部ナビ */
.bottom-nav-section {
  background: #00d84a;
  padding: 20px 0 24px;
  text-align: center;
}

.bottom-links {
  margin-top: 0px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.bottom-links a {
  color: #111;
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 500;
}

.bottom-links a:hover {
  text-decoration: underline;
}
footer p {
  font-size: 1.2rem;
}
.site-above-footer-wrap[data-section="section-above-footer-builder"] .ast-builder-grid-row {
  min-height: auto;
}
.site-above-footer-wrap[data-section="section-above-footer-builder"] {
  background: #fff;
}
#ast-scroll-top {
    background-color: #a855f7;
    font-size: 1.5rem;
    border-radius: 7px;
}

/* スマホ向け微調整 */
@media (max-width: 480px) {
  .section-title {
    font-size: 2.4rem;
  }

  .price-card {
    min-width: auto;
    width: 100%;
    max-width: 260px;
  }

  .price-value {
    font-size: 3.4rem;
  }

  .success-price {
    font-size: 2.2rem;
  }

  .cta-button,
  .bottom-cta {
    width: 100%;
    max-width: 320px;
    padding: 14px 18px;
  }
}

@media (min-width: 921px) {
    #page .site-header.header-main-layout-1.ast-primary-menu-enabled.ast-hide-custom-menu-mobile.ast-builder-menu-toggle-icon.ast-mobile-header-inline {
        position: relative !important;
    }
}

@media (max-width: 540px) {
body:not(.logged-in) {
    position: static;
}