/* 不登校相談AI のページは緑を元にする（2026-10-22 西山さん）。強調は読みやすい緑、帯は落ち着いた深い緑 */
:root { --teal: #2A7D45; }
.sec--teal { background: #2E6E45; }

/* /ai-soudan/ 不登校相談AI。部品は site.css。ここは足りない分だけ（頭文字 ai-） */
.ai-center { text-align: center; max-width: 720px; margin: 14px auto 0; }
.ai-center p + p { margin-top: 10px; }
.ai-small { font-size: 13px; margin-top: 8px; }
.ai-dots { display: grid; gap: 6px; margin-top: 6px; }
.ai-dots li { padding-left: 18px; position: relative; }
.ai-dots li::before { content: ""; position: absolute; left: 0; top: .78em; width: 8px; height: 8px; background: var(--teal); }

/* 1. はじめ */
.ai-hero { padding: 56px 0 40px; }
.ai-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 48px; align-items: center; }
.ai-hero__h { font-family: var(--head); font-weight: 800; color: var(--ink); font-size: 30px; line-height: 1.5; letter-spacing: .02em; }
.ai-hero__h span { display: block; color: var(--teal); font-size: 24px; margin-top: 6px; }
.ai-hero__btns { margin-top: 24px; }
.ai-hero__imgbox img, .ai-hero__imgbox .ph { width: 100%; aspect-ratio: 1024 / 536; object-fit: cover; }

/* 3. 2人：板の上のふちに絵を立たせる */
.ai-two { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 32px 56px; margin-top: 256px; padding: 44px 48px; }
.ai-two__chara { position: absolute; left: 50%; bottom: 100%; width: 190px; transform: translateX(-50%); }
.ai-two h3 { color: var(--teal) !important; font-size: 26px; }
.ai-two__role { font-family: var(--head); font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.ai-two p + p { margin-top: 8px; }
.ai-two__for { font-weight: 700; color: var(--ink); margin-top: 16px !important; }

/* 4. アップデート */
.ai-date { font-family: var(--head); font-weight: 800; color: var(--orange); font-size: 16px; letter-spacing: .06em; }
.ai-upd { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 56px; margin-top: 12px; }
.ai-upd h2 { margin-bottom: 10px; }
.ai-upd p + p { margin-top: 10px; }

/* 5. 使い方 */
.ai-steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 40px; margin-top: 40px; align-items: start; }
.ai-steps__n { font-family: var(--head); font-weight: 800; font-size: 18px; letter-spacing: .06em; line-height: 1; }
.ai-steps__n em { font-style: normal; font-family: "Quicksand", var(--head); font-weight: 700; font-size: 64px; margin-left: 4px; vertical-align: -6px; }
.ai-steps h3 { margin: 12px 0 8px; }
.ai-qrbox { width: 160px; margin-top: 18px; }
.ai-qrbox img, .ai-qrbox .ph { width: 160px; aspect-ratio: 1; background: #fff; }
.ai-steps .btns { margin-top: 18px; }
.ai-shotbox { margin-top: 18px; }
.ai-shotbox img, .ai-shotbox .ph { width: 100%; aspect-ratio: 780 / 442; }

/* 6. アシスタントプラン：右下からモナと学てぃー（下端を面のふちに） */
.ai-plan { position: relative; overflow: hidden; padding-bottom: 96px; }
.ai-new { text-align: center; font-family: var(--head); font-weight: 800; color: var(--teal); margin-bottom: 8px; }
.ai-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 56px; margin-top: 48px; }
.ai-feats h3 { font-size: 21px; margin: 0 0 8px; }
.ai-feats p + h3 { margin-top: 28px; }
.ai-feats p + p { margin-top: 10px; }
.ai-mem { margin-top: 16px; display: grid; gap: 14px; }
.ai-mem dt { font-family: var(--head); font-weight: 800; color: var(--teal); font-size: 17px; line-height: 1.4; }
.ai-mem dd { margin: 0; }
.ai-price { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 56px; margin-top: 56px; max-width: 760px; padding-right: 0; }
.ai-price h3 { font-size: 21px; margin-bottom: 4px; }
.ai-price__big { font-family: var(--head); font-weight: 800; color: var(--ink); font-size: 24px; line-height: 1.1; margin-bottom: 12px; }
.ai-price__big em { font-style: normal; font-family: "Quicksand", var(--head); font-weight: 700; color: var(--orange); font-size: 72px; margin: 0 4px; }
.ai-price__big small { font-size: 15px; }
.ai-price p + p { margin-top: 10px; }
.ai-plan__chara { position: absolute; right: 4%; bottom: 0; width: 230px; pointer-events: none; }

/* 7. よくある質問 */
.ai-faq { max-width: 820px; margin: 32px auto 0; padding: 44px 48px; }
.ai-faq dt { font-family: var(--head); font-weight: 800; color: var(--ink); font-size: 18px; line-height: 1.5; }
.ai-faq dt:not(:first-child) { margin-top: 28px; }
.ai-faq dd { margin: 6px 0 0; }

/* 8. 注意事項 */
.ai-caution .w { max-width: 820px; }
.ai-caution h2 { font-size: 19px; margin-bottom: 8px; }
.ai-caution li { font-size: 14px; }

/* 9. もっと深く */
.ai-more { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 56px; margin-top: 44px; }
.ai-more__item { display: grid; grid-template-columns: 140px 1fr; gap: 24px; align-items: start; }
.ai-more__nissy { width: 140px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.ai-more__logo { width: 140px; }
.ai-more h3 { font-size: 20px; margin-bottom: 6px; }
.ai-more__sub { font-family: var(--head); font-weight: 800; color: var(--ink); }
.ai-more__price { font-family: var(--head); font-weight: 800; color: var(--ink); font-size: 20px; line-height: 1.3; margin: 4px 0 8px; }
.ai-more__price em { font-style: normal; font-family: "Quicksand", var(--head); font-weight: 700; color: var(--teal); font-size: 40px; }
.ai-more .btns { margin-top: 16px; }

/* 10. 今すぐLINEで */
.ai-last__row { display: flex; justify-content: center; align-items: center; gap: 40px; margin-top: 32px; }
.ai-last .ai-qrbox { margin-top: 0; flex: 0 0 auto; }
.ai-last__big { font-family: var(--head); font-weight: 800; font-size: 26px; margin: 10px 0 18px; }

@media (max-width: 860px) {
  .ai-center { text-align: left; }
  .ai-hero { padding: 32px 0 24px; }
  .ai-hero__grid { grid-template-columns: 1fr; }
  .ai-hero__h { font-size: 23px; }
  .ai-hero__h span { font-size: 19px; }
  .ai-two { grid-template-columns: 1fr; padding: 32px 24px; margin-top: 210px; }
  .ai-two__chara { width: 150px; }
  .ai-upd, .ai-steps, .ai-feats, .ai-price, .ai-more { grid-template-columns: 1fr; }
  .ai-plan { padding-bottom: 210px; }
  .ai-plan__chara { width: 170px; right: 12px; }
  .ai-faq { padding: 32px 24px; }
  .ai-more__item { grid-template-columns: 96px 1fr; gap: 16px; }
  .ai-more__nissy, .ai-more__logo { width: 96px; }
  .ai-last__row { flex-direction: column; text-align: center; gap: 20px; }
  .ai-last .btns { justify-content: center; }
}
