@charset "UTF-8";

:root {
  --background: #f4ede2;
  --text: #222;
  --orange: #f28b00;
  --fixed-cta-height: calc(116px + env(safe-area-inset-bottom, 0px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-bottom: var(--fixed-cta-height); }
html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
@supports (overflow: clip) {
  html, body { overflow-x: clip; }
}
body {
  margin: 0;
  padding-bottom: var(--fixed-cta-height);
  background: #fff;
  color: var(--text);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  -webkit-text-size-adjust: 100%;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
a[href] { cursor: pointer; }
a:focus-visible { outline: 3px solid #805013; outline-offset: 5px; }
.page {
  width: 100%;
  max-width: 400px;
  min-height: 100vh;
  margin-inline: auto;
  background: var(--background);
  padding: 8px 0 120px;
  font-size: clamp(14px, 4.1vw, 16.4px);
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.hero h1 { width: 88.875%; margin-inline: auto; }
.cta { display: block; width: 100%; margin-inline: auto; }
.hero .cta { width: 84.5%; margin-top: 8px; }
.cta img { width: 100%; }
a[href].cta { transition: opacity .2s, transform .2s; }
a[href].cta:hover { opacity: .85; transform: translateY(-2px); }
.scroll { display: block; width: 22.875%; margin: 12px 25% 0 auto; }
.section { width: 83.5%; margin: 36px auto 0; scroll-margin-top: 24px; }
.heading { margin: 0 auto 14px; }
.heading img { width: 100%; }
.heading-pain { width: 86.2%; margin-left: 0; }
h3 { font-size: 1.23em; line-height: 1.35; font-weight: 700; text-align: center; }
p + p { margin-top: 1.5em; }
strong { font-weight: 700; }
.photo { width: 100%; }
.photo + p { margin-top: 24px; }
.check-list { margin: 0; padding: 0; list-style: none; line-height: 1.4; }
.check-list li { position: relative; padding-left: 1.65em; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .12em;
  width: 1.2em;
  height: 1.2em;
  background: url("img/icon_check.svg") center / contain no-repeat;
}
.check-list li + li { margin-top: 1.25em; }
.pain { margin-top: 22px; }
.anxiety { margin-top: 22px; }
.illustration { margin-inline: auto; }
.agree { width: 82.63%; margin: 10px 0 12px auto; }
.answer { width: 90.12%; margin: 0 auto 0; }
.skills { margin-top: 30px; }
.subsection { margin-top: 64px; }
.skill-art { width: 69.76%; margin-block: 20px 32px; }
.practice-art { width: 62.57%; margin-right: 0; }
.spaced-photo { margin-top: 40px; }
.points { position: relative; margin-block: 40px 30px; padding: 18px 14px 14px; border: 4px solid #fa9b6c; border-radius: 13px; background: #fff; }
.points h3 { margin: 0 30px 22px 0; }
.point-art { position: absolute; top: 10px; right: 8px; width: 20%; }
.points .check-list { font-weight: 700; }
.points .check-list li + li { margin-top: .8em; }
.teachers { width: 90.12%; margin-block: 32px; }
.story { margin-top: 52px; }
.lifestyle { width: 91.32%; margin-block: 16px 30px; }
.desk { width: 78.14%; margin-block: 48px 30px; }
.family { width: 84.43%; margin-top: 4px; }
.profile { margin-top: 32px; }
.portrait { width: 33.83%; }
.profile-text { text-align: center; }
.works { margin-top: 4px; }
.works > h3 { margin-block: 22px 14px; }
.work-image { width: 106.89%; max-width: none; margin-left: -3.445%; }
.work-image + p { margin-top: 20px; }
.portfolio-link { display: block; width: 80%; padding: 9px 6px; margin: 8px auto 26px; border-radius: 12px; background: var(--orange); color: white; font-size: 1.12em; font-weight: 700; text-align: center; text-decoration: none; line-height: 1.5; }
.works > .work-title { margin-bottom: 24px; }
.experience { margin-top: 38px; }
.experience h3 { margin-bottom: 22px; }
.pricing { margin-top: 36px; }
.price-card { padding: 36px 24px 20px; background: #fff; border-radius: 14px; }
.price-heading { position: relative; padding: 18px 0 0; font-weight: 700; }
.price-heading .point-art { top: -8px; right: 0; width: 27%; }
.regular-price { font-size: .9em; line-height: 1.4; }
.price-heading h3 { text-align: left; font-size: 1.3em; margin-top: 3px; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px; margin: 0; line-height: 1.35; }
.price > * { white-space: nowrap; }
.price strong { color: var(--orange); font-size: 2.15em; letter-spacing: .03em; }
.price strong span { font-size: .6em; }
.price > span { font-size: .9em; }
.benefits { margin: 44px 0 28px; padding: 20px 14px 20px 2.1em; border-radius: 14px; background: #fff5d1; font-size: .95em; font-weight: 600; line-height: 1.6; }
.benefits li + li { margin-top: 1em; }
.price-art { width: 61.79%; margin-right: 0; }
.consultation { margin-top: 30px; }
.consultation .photo + p { margin-top: 12px; }
.consultation .cta { margin-top: 14px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  a[href].cta { transition: none; }
}

/* Shared navigation and footer */
.page { padding-top: 68px; }
button { font: inherit; color: inherit; cursor: pointer; }
button:focus-visible { outline: 3px solid #805013; outline-offset: 5px; }
.menu-toggle,
.back-to-top {
  position: fixed;
  right: 16px;
  z-index: 20;
  display: grid;
  place-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid #e6d7c8;
  border-radius: 50%;
  background: #fffaf4;
  color: #493e35;
  box-shadow: 0 4px 20px rgb(73 62 53 / 8%);
  text-decoration: none;
  transition: background-color .2s, transform .2s;
}
.menu-toggle { top: max(12px, env(safe-area-inset-top)); gap: 5px; }
.menu-toggle[hidden] { display: none; }
.menu-toggle span { display: block; width: 21px; height: 2px; background: currentColor; border-radius: 2px; }
.back-to-top { bottom: calc(var(--fixed-cta-height) + 12px); }
.menu-toggle:hover,
.back-to-top:hover { background: #f4ede2; transform: translateY(-2px); }
body.menu-open { overflow: hidden; }
.site-menu {
  position: fixed;
  inset: 12px 12px auto auto;
  width: min(360px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  margin: 0;
  padding: 22px;
  border: 1px solid #e6d7c8;
  border-radius: 18px;
  background: var(--background);
  color: var(--text);
  box-shadow: 0 12px 48px rgb(73 62 53 / 15%);
  overflow-y: auto;
}
.site-menu::backdrop { background: rgb(40 32 25 / 35%); }
.menu-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.menu-header h2 { font-size: 20px; }
.menu-close { width: 44px; height: 44px; border: 1px solid #e6d7c8; border-radius: 50%; background: #fffaf4; font-size: 28px; line-height: 1; }
.menu-links { display: grid; }
.menu-links a { padding: 14px 2px; border-bottom: 1px solid #e1d5c5; font-size: 15px; line-height: 1.6; text-decoration: none; }
.menu-links a:last-child { border: 0; }
.menu-links a:hover,
.footer-links a:hover { color: #a45b00; text-decoration: underline; text-underline-offset: 4px; }
.site-footer { display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 400px; margin-inline: auto; gap: 24px; padding: 28px 24px; background: #fffaf4; color: #493e35; overflow-wrap: anywhere; }
.site-footer > *, .footer-links a, .menu-links a { min-width: 0; max-width: 100%; }
.footer-brand { display: block; flex-shrink: 0; width: 162px; }
.footer-links { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.footer-links a { display: block; padding: 10px 0; font-size: 14px; line-height: 1.5; text-decoration: none; }

/* Legal pages keep the LP's 400px column and warm palette. */
.legal-page { padding: 76px 24px 64px; }
.legal-brand { display: block; width: 150px; margin: 0 auto 36px; }
.legal-hero { margin-bottom: 28px; }
.legal-hero .eyebrow { color: #98550c; font-size: 13px; font-weight: 700; letter-spacing: .08em; }
.legal-hero h1 { margin-block: 10px 14px; font-size: 24px; line-height: 1.6; }
.legal-hero > p:last-child { font-size: 13px; color: #695c4d; }
.legal-content { padding: 22px 18px; border: 1px solid #e6d7c8; border-radius: 16px; background: #fff; font-size: 14px; line-height: 1.9; }
.legal-content h2 { margin: 28px 0 12px; padding-bottom: 8px; border-bottom: 2px solid #f3dcbb; font-size: 17px; line-height: 1.6; }
.legal-content ul { margin: 12px 0; padding-left: 1.4em; }
.legal-content li + li { margin-top: 8px; }
.legal-content a { color: #945100; text-underline-offset: 3px; }
.legal-table { width: 100%; table-layout: fixed; border-collapse: collapse; text-align: left; }
.legal-table th,
.legal-table td { display: block; width: 100%; }
.legal-table th { padding-top: 18px; font-weight: 700; color: #795123; }
.legal-table td { padding: 8px 0 18px; border-bottom: 1px solid #e6d7c8; }
.legal-table tr:first-child th { padding-top: 0; }
.legal-table tr:last-child td { padding-bottom: 0; border-bottom: 0; }

@media (min-width: 768px) {
  .menu-toggle,
  .back-to-top { right: calc(50% - 200px + 16px); }
  .site-menu { right: calc(50% - 200px + 12px); }
  .site-menu::backdrop { width: 400px; margin-inline: auto; }
}

/* Reserve space in the document so the fixed CTA never covers the footer. */
.fixed-cta {
  position: fixed;
  inset: auto 0 0;
  z-index: 25;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 400px;
  height: var(--fixed-cta-height);
  margin-inline: auto;
  padding: 8px 16px calc(8px + env(safe-area-inset-bottom, 0px));
  background: var(--background);
  box-shadow: 0 -4px 18px rgb(73 62 53 / 8%);
}
.fixed-cta .cta { width: 100%; max-width: 338px; }

/* On phones, fill the viewport instead of leaving white side gutters. */
@media (max-width: 767px) {
  body { background: var(--background); }
  .page,
  .site-footer,
  .fixed-cta { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  .menu-toggle,
  .back-to-top { transition: none; }
}

/* ===== Added: 講座の流れ / 広告費 / よくある質問 ===== */
.todo { background: #fff19a; color: #c0392b; }
.flow { margin-top: 44px; }
.overview { margin: 0 0 32px; padding: 6px 16px; border-radius: 14px; background: #fff; }
.overview div { display: grid; grid-template-columns: 5em 1fr; gap: 6px; font-size: .95em; padding: 12px 0; border-bottom: 1px dashed #e6d7c8; }
.overview div:last-child { border-bottom: 0; }
.overview dt { color: var(--orange); font-weight: 700; }
.overview dd { margin: 0; font-weight: 600; line-height: 1.55; }
.flow-title { margin-bottom: 18px; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: none; }
.steps li { position: relative; padding: 16px 16px 16px; border: 3px solid #fa9b6c; border-radius: 13px; background: #fff; }
.steps li + li { margin-top: 28px; }
.steps li + li::before { content: ""; position: absolute; top: -24px; left: 50%; margin-left: -9px; border: 9px solid transparent; border-top: 11px solid #fa9b6c; }
.step-num { display: inline-block; padding: 1px 10px; border-radius: 99px; background: var(--orange); color: #fff; font-size: .8em; font-weight: 700; letter-spacing: .05em; }
.steps h4 { margin: 8px 0 4px; font-size: 1.08em; line-height: 1.45; }
.steps p { font-size: .95em; line-height: 1.65; }
.ad-cost { margin: 32px 0 24px; padding: 18px 16px; border-radius: 14px; background: #fff5d1; }
.ad-cost h3 { margin-bottom: 10px; }
.ad-cost p + p { margin-top: .8em; }
.ad-cost-amount { font-size: 1.1em; font-weight: 700; text-align: center; }
.note { font-size: .88em; color: #5c5046; }
.flow .cta, .consultation .cta { width: 100%; }
.limit { margin-top: 10px; font-weight: 700; }
.price-note { margin-top: 6px; font-size: .82em; font-weight: 500; color: #5c5046; }
.faq { margin-top: 40px; }
.faq-list details { margin-top: 12px; border-radius: 12px; background: #fff; }
.faq-list summary { position: relative; padding: 14px 40px 14px 44px; font-weight: 700; line-height: 1.5; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before { content: "Q"; position: absolute; left: 14px; top: 12px; color: var(--orange); font-size: 1.15em; font-weight: 700; }
.faq-list summary::after { content: "+"; position: absolute; right: 16px; top: 10px; font-size: 1.4em; color: #a58f78; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { position: relative; padding: 0 16px 16px 44px; font-size: .95em; }
.faq-list details p::before { content: "A"; position: absolute; left: 14px; top: -2px; color: #5aa63c; font-size: 1.15em; font-weight: 700; }
.limit-num { color: var(--orange); font-size: 1.15em; }
