/* 樫の森 AIスクール｜Figma 3820:18（2026-11-03 講師の軸案）から起こした仮確定版 2026-11-09 */
:root {
  --cream: #fff9ef;
  --cream2: #fcebd6;
  --mint: #f2f7ef;
  --sand: #f1eadf;
  --green: #2d6a4f;
  --coral: #e86959;
  --ink: #3b3833;
  --ink2: #544f47;
  --c-green: #e5f0e0;
  --c-yellow: #fcf0cf;
  --c-blue: #e3edf7;
  --wm: rgba(245, 229, 204, .55);
  --maru: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", sans-serif;
  --sans: "Noto Sans JP", "Hiragino Sans", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--cream); color: var(--ink2); font-family: var(--sans); font-size: 16px; line-height: 1.8; -webkit-text-size-adjust: 100%; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--maru); font-weight: 700; color: var(--ink); margin: 0; word-break: auto-phrase; }
p { margin: 0; }
ul, dl { margin: 0; padding: 0; list-style: none; }
.small { font-size: 12px; line-height: 1.6; }
.center { text-align: center; }

/* header */
.header { position: sticky; top: 0; z-index: 10; background: rgba(255, 249, 239, .95); backdrop-filter: blur(6px); }
.header__inner { max-width: 1440px; margin: 0 auto; height: 100px; padding: 0 80px; display: flex; align-items: center; gap: 40px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--maru); font-weight: 700; font-size: 26px; color: var(--ink); white-space: nowrap; }
.logo img { width: 26px; }
.logo--sm { font-size: 22px; }
.logo--sm img { width: 22px; }
.nav { margin-left: auto; display: flex; gap: 36px; font-weight: 700; font-size: 15px; }
.nav a { text-decoration: none; color: var(--ink); }
.nav a:hover { color: var(--green); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 58px; padding: 0 32px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap; border: 1.5px solid var(--coral); cursor: pointer; font-family: var(--sans); transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(232, 105, 89, .25); }
.btn--fill { background: var(--coral); color: #fff; }
.btn--line { background: #fff; color: var(--coral); }
.btn--sm { height: 52px; padding: 0 36px; flex-shrink: 0; }
.btn--lg { height: 60px; min-width: 250px; }
.btns { display: flex; gap: 20px; flex-wrap: wrap; }
.btns--center { justify-content: center; }

/* hero */
.hero__inner { position: relative; max-width: 1440px; margin: 0 auto; min-height: 660px; padding: 100px 0 80px 124px; }
.hero__bg { position: absolute; left: 40px; top: 10px; width: 700px; z-index: 0; }
.hero__text { position: relative; z-index: 2; max-width: 500px; }
.hero__lead, .hero__lead2 { font-family: var(--maru); font-weight: 700; font-size: 18px; color: var(--green); line-height: 31px; }
.hero__title { font-size: 56px; line-height: 76px; margin: 17px 0 20px -4px; letter-spacing: .02em; }
.hero__sub { font-size: 18px; line-height: 30px; }
.hero__lead2 { margin-top: 16px; }
.hero__body { font-size: 16px; line-height: 28px; margin: 6px 0 22px; max-width: 470px; }
.hero__photo { position: absolute; right: 40px; top: 20px; width: 760px; margin: 0; z-index: 1; }
.hero__photo img { width: 96%; margin: 20px 0 0 10px; }
.tag-image { position: absolute; right: 24px; bottom: 12px; background: rgba(255, 255, 255, .85); border-radius: 10px; padding: 3px 10px; font-size: 11px; line-height: 16px; color: var(--ink2); }
.deco { position: absolute; z-index: 2; }
.deco--leaf { left: 600px; top: 110px; width: 34px; transform: rotate(12deg); }
.deco--acorn { left: 70px; top: 520px; width: 28px; transform: rotate(-12deg); }

/* section common */
.sec { padding: 90px 80px 120px; }
.sec--cream { background: var(--cream); }
.sec--white { background: #fff; }
.sec--mint { background: var(--mint); }
.sec--tight { padding-bottom: 80px; }
.sec__head { position: relative; text-align: center; margin: 0 auto 80px; padding-top: 100px; }
.watermark { position: absolute; left: 50%; top: 0; transform: translateX(-50%); font-family: var(--maru); font-weight: 700; font-size: 150px; line-height: 180px; color: var(--wm); white-space: nowrap; pointer-events: none; user-select: none; }
.sec__head h2 { position: relative; font-size: 36px; line-height: 1.5; }
.sec > * { max-width: 1280px; margin-left: auto; margin-right: auto; }

/* pills */
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { display: inline-block; border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: 14px; line-height: 1.3; white-space: nowrap; }
.pill--cream { background: #fff9ed; color: var(--green); }
.pill--outline-w { border: 1px solid #fff; color: #fff; }
.pill--outline-g { border: 1px solid var(--green); color: var(--green); }
.pill--green { background: var(--green); color: #fff; }
.pill--sm { font-size: 12px; padding: 4px 12px; }
.pill--xs { font-size: 12px; padding: 3px 10px; border-radius: 12px; }
.pill--lg { font-size: 17px; padding: 9px 20px; }

/* worry */
.worry { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; max-width: 1220px; }
.worry li { background: #fff; border-radius: 22px; padding: 26px 26px 28px 50px; position: relative; font-weight: 700; font-size: 16px; line-height: 28px; color: var(--ink); }
.worry li::before { content: ""; position: absolute; left: 26px; top: 28px; bottom: 28px; width: 6px; border-radius: 3px; background: var(--green); }

/* learn */
.point { display: flex; align-items: center; gap: 100px; max-width: 1160px; margin-bottom: 140px; }
.point--rev { flex-direction: row-reverse; justify-content: flex-end; }
.point__photo { position: relative; flex: 0 0 540px; margin: 0; }
.point__photo .tag-image { right: 24px; bottom: 12px; }
.point__text { flex: 1; }
.point__num { font-weight: 700; color: var(--green); font-size: 14px; line-height: 24px; letter-spacing: .05em; }
.point__text h3 { font-size: 32px; line-height: 48px; margin: 16px 0; }
.point__text p:last-child { font-size: 17px; line-height: 30px; }
.guard { max-width: 1160px; background: var(--green); color: #fff; border-radius: 36px; padding: 56px 64px; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.guard h3 { color: #fff; font-size: 40px; line-height: 1.4; }
.guard > p { font-size: 17px; line-height: 1.85; }
.guard__safe { background: #fff9ed; border-radius: 20px; padding: 18px 24px; display: flex; align-items: center; gap: 16px; width: 100%; }
.guard__safe .pill { font-size: 13px; }
.guard__safe p { color: var(--ink); font-size: 16px; line-height: 1.7; }

/* message */
.message { max-width: 1120px; background: #fff; border-radius: 26px; padding: 56px 40px; display: grid; grid-template-columns: 560px 1fr; gap: 20px 60px; align-items: start; }
.message h3 { font-size: 28px; line-height: 42px; margin-bottom: 14px; }
.message__text > p { font-size: 16px; line-height: 30px; }
.message__sign { margin-top: 18px !important; font-weight: 700; font-size: 14px !important; color: var(--ink); }
.pillars { display: flex; flex-direction: column; gap: 22px; }
.pillars li { border-radius: 22px; padding: 18px 24px; }
.pillars strong { display: block; font-family: var(--maru); font-size: 24px; line-height: 34px; color: var(--ink); }
.pillars span { font-size: 15px; line-height: 24px; }
.c-green { background: var(--c-green); }
.c-yellow { background: var(--c-yellow); }
.c-blue { background: var(--c-blue); }

/* teacher */
.teacher { display: flex; align-items: center; gap: 80px; max-width: 1220px; }
.teacher__lead { flex: 1; }
.teacher__lead p { margin-top: 26px; font-size: 17px; line-height: 32px; }
.teacher__card { flex: 0 0 620px; background: #fff; border-radius: 26px; padding: 36px; }
.teacher__head { display: flex; align-items: center; gap: 28px; margin-bottom: 26px; }
.teacher__head img { width: 120px; border-radius: 50%; }
.teacher__name { font-family: var(--maru); font-weight: 700; font-size: 28px; line-height: 40px; color: var(--ink); }
.teacher__role { font-size: 13px; line-height: 20px; margin-top: 8px !important; }
.teacher__card > p { font-size: 15px; line-height: 26px; }

/* course */
.courses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-bottom: 32px; }
.course { position: relative; display: block; border-radius: 26px; padding: 32px; min-height: 200px; text-decoration: none; transition: transform .15s; }
.course:hover { transform: translateY(-3px); }
.course strong { display: block; font-family: var(--maru); font-size: 26px; line-height: 38px; color: var(--ink); }
.course b { display: block; font-size: 14px; line-height: 22px; margin: 4px 0 12px; }
.course span { display: block; font-size: 13px; line-height: 26px; }
.arrow { position: absolute; right: 28px; bottom: 24px; width: 44px; height: 44px; border-radius: 50%; color: #fff; font-style: normal; font-weight: 700; font-size: 20px; display: grid; place-items: center; }
.arrow--green { background: #2d6a4f; }
.arrow--yellow { background: #edb840; }
.arrow--blue { background: #6194d1; }
.wide { background: var(--sand); border-radius: 26px; padding: 36px 40px; display: flex; align-items: center; gap: 48px; margin-bottom: 24px; }
.wide__text { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.wide h3 { font-size: 28px; line-height: 1.4; }
.wide__catch { font-weight: 700; color: var(--green); font-size: 16px; line-height: 1.6; }
.wide__text > p:last-child { font-size: 14px; line-height: 1.75; }
.wide__box { flex: 0 0 440px; background: #fffdf7; border-radius: 16px; padding: 16px 20px; }
.wide__box-title { font-weight: 700; color: var(--green); font-size: 13px; margin-bottom: 8px !important; }
.wide__box li { font-size: 14px; line-height: 1.7; color: var(--ink); }
.wide__box li::before { content: "・"; }
.wide__note { font-size: 12px; line-height: 1.6; margin-top: 8px !important; }
.price { text-align: center; padding-top: 60px; }
.price__num { font-family: var(--maru); font-weight: 700; font-size: 44px; line-height: 60px; color: var(--ink); }
.price__tax { margin-bottom: 14px !important; }
.price p { font-size: 16px; line-height: 28px; }
.license { display: inline-flex !important; align-items: center; gap: 12px; margin: 48px auto 12px !important; border: 1.5px solid var(--green); border-radius: 30px; padding: 16px 28px; font-weight: 700; color: var(--ink); }
.price .small { font-size: 12px; }

/* bonus */
.bonus { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 26px; }
.bonus__card { background: #fff; border-radius: 26px; padding: 28px 24px 32px; }
.bonus__card h3 { font-size: 22px; line-height: 33px; margin: 18px 0 12px; }
.bonus__card p { font-size: 14px; line-height: 25px; }
.bonus__card--wide { grid-column: 1 / -1; display: grid; grid-template-columns: 312px 1fr; gap: 24px; align-items: end; }
.bonus__card--wide h3 { margin-bottom: 0; }
.badge { display: inline-block; background: var(--green); color: #fff; border-radius: 15px; padding: 3px 0; width: 84px; text-align: center; font-weight: 700; font-size: 14px; line-height: 24px; }

/* faq */
.faq { max-width: 1000px; }
.faq > div { border-top: 1px solid #e6dccb; padding: 15px 0 30px; }
.faq dt { font-weight: 700; color: var(--ink); font-size: 18px; line-height: 30px; margin-bottom: 14px; }
.faq dd { margin: 0; font-size: 16px; line-height: 27px; }

/* cta + form */
.sec--cta { padding-top: 80px; }
.cta { position: relative; max-width: 1200px; background: var(--cream2); border-radius: 34px; padding: 120px 24px 60px; text-align: center; }
.cta__deco { position: absolute; left: 50%; top: 50px; width: 40px; transform: translateX(-50%); }
.cta h2 { font-size: 38px; line-height: 54px; }
.cta > p { font-size: 17px; line-height: 28px; margin: 24px 0 !important; }
.form { max-width: 680px; margin-top: 64px !important; background: #fff; border-radius: 26px; padding: 44px 40px; display: flex; flex-direction: column; }
.form h3 { font-size: 26px; text-align: center; margin-bottom: 24px; }
.form label { font-weight: 700; color: var(--ink); font-size: 15px; margin-top: 16px; }
.form em { font-style: normal; font-size: 11px; background: var(--coral); color: #fff; border-radius: 8px; padding: 1px 8px; margin-left: 8px; vertical-align: 2px; }
.form input, .form select, .form textarea { margin-top: 6px; width: 100%; border: 1.5px solid #e2d8c6; border-radius: 12px; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--ink); background: #fffdf9; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--green); }
.form .small { margin: 14px 0 22px; }
.form .btn { align-self: center; }
.form__honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* footer */
.footer { background: #fff; padding: 56px 120px 30px; font-size: 13px; line-height: 22px; }
.footer__inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer__inner > div p { margin-top: 10px; }
.footer__inner .small { font-size: 11px; margin-top: 4px; }
.footer__nav { display: flex; gap: 32px; font-size: 14px; flex-wrap: wrap; }
.footer__nav a { text-decoration: none; }
.footer__copy { max-width: 1200px; margin: 40px auto 0 !important; font-size: 12px; }

/* ---------- tablet ---------- */
@media (max-width: 1200px) {
  .header__inner { padding: 0 32px; gap: 24px; }
  .nav { gap: 20px; font-size: 14px; }
  .hero__inner { padding-left: 64px; }
  .hero__photo { width: 52%; right: 16px; }
  .deco--leaf { display: none; }
  .sec { padding-left: 40px; padding-right: 40px; }
  .point { gap: 56px; }
  .point__photo { flex-basis: 46%; }
  .message { grid-template-columns: 1fr 1fr; gap: 40px; }
  .teacher { flex-direction: column; align-items: stretch; gap: 40px; }
  .teacher__card { flex: none; }
  .wide__box { flex-basis: 360px; }
}

/* ---------- phone ---------- */
@media (max-width: 860px) {
  html { scroll-padding-top: 70px; }
  .header__inner { height: 64px; padding: 0 16px; }
  .logo { font-size: 19px; gap: 8px; }
  .logo img { width: 18px; }
  .nav { display: none; }
  .btn--sm { height: 42px; padding: 0 18px; font-size: 14px; margin-left: auto; }
  .hero__inner { padding: 24px 16px 56px; min-height: 0; display: flex; flex-direction: column; }
  .hero__photo { position: relative; order: -1; width: 100%; right: auto; top: auto; margin-bottom: 20px; }
  .hero__photo img { width: 100%; margin: 0; }
  .hero__bg { left: -120px; top: 200px; width: 560px; }
  .hero__text { max-width: none; }
  .hero__title { font-size: 34px; line-height: 1.45; margin: 10px 0 14px; }
  .hero__sub { font-size: 16px; }
  .hero__lead, .hero__lead2 { font-size: 16px; }
  .deco--acorn { display: none; }
  .btns { flex-direction: column; gap: 12px; }
  .btns .btn { width: 100%; }
  .sec { padding: 56px 16px 72px; }
  .sec__head { padding-top: 46px; margin-bottom: 40px; }
  .watermark { font-size: 64px; line-height: 80px; }
  .sec__head h2 { font-size: 24px; }
  .worry { grid-template-columns: 1fr; gap: 14px; }
  .worry li { padding: 18px 18px 18px 40px; }
  .worry li::before { left: 20px; top: 20px; bottom: 20px; }
  .point, .point--rev { flex-direction: column; align-items: stretch; gap: 20px; margin-bottom: 56px; }
  .point__photo { flex: none; }
  .point__text h3 { font-size: 24px; line-height: 1.5; margin: 8px 0; }
  .point__text p:last-child { font-size: 16px; }
  .guard { padding: 32px 22px; border-radius: 26px; gap: 16px; }
  .guard h3 { font-size: 24px; }
  .guard > p { font-size: 15px; }
  .guard__safe { flex-direction: column; align-items: flex-start; padding: 16px; gap: 10px; }
  .guard__safe p { font-size: 15px; }
  .pill { white-space: normal; }
  .message { grid-template-columns: 1fr; padding: 32px 22px; gap: 28px; }
  .message h3 { font-size: 22px; line-height: 1.6; }
  .message__text > p { font-size: 15px; line-height: 1.9; }
  .pillars { gap: 12px; }
  .pillars strong { font-size: 20px; line-height: 30px; }
  .teacher__card { padding: 24px 22px; }
  .teacher__head { gap: 18px; }
  .teacher__head img { width: 88px; }
  .teacher__name { font-size: 24px; }
  .teacher__lead p { font-size: 16px; line-height: 1.9; }
  .courses { grid-template-columns: 1fr; gap: 14px; }
  .course { padding: 24px; min-height: 0; }
  .wide { flex-direction: column; align-items: stretch; padding: 26px 22px; gap: 20px; }
  .wide h3 { font-size: 22px; }
  .wide__box { flex: none; }
  .price { padding-top: 32px; }
  .price__num { font-size: 34px; }
  .price p { font-size: 15px; line-height: 1.8; }
  .license { display: flex !important; flex-direction: column; gap: 8px; border-radius: 20px; padding: 14px 18px; text-align: center; margin-top: 32px !important; }
  .bonus { grid-template-columns: 1fr; gap: 14px; }
  .bonus__card--wide { grid-template-columns: 1fr; gap: 0; }
  .bonus__card--wide h3 { margin-bottom: 12px; }
  .faq dt { font-size: 16px; line-height: 1.6; margin-bottom: 8px; }
  .faq dd { font-size: 15px; line-height: 1.85; }
  .cta { padding: 90px 18px 40px; border-radius: 26px; }
  .cta__deco { top: 32px; }
  .cta h2 { font-size: 26px; line-height: 1.5; }
  .cta > p { font-size: 15px; }
  .btn--lg { min-width: 0; }
  .form { padding: 30px 20px; margin-top: 40px !important; }
  .form .btn { width: 100%; }
  .footer { padding: 40px 16px 24px; }
  .footer__nav { gap: 12px 20px; }
}

/* 2026-11-09 コース欄の組み直し（梅竹松→内容別5コース＋子ども向け） */
.wide.c-yellow { background: var(--c-yellow); }
.wide.c-blue { background: var(--c-blue); }
.wide.c-green { background: var(--c-green); }
.wide.c-cream { background: var(--cream2); }
.kids-head { text-align: center; font-size: 26px; line-height: 38px; margin: 72px auto 24px !important; }
@media (max-width: 860px) { .kids-head { font-size: 22px; margin-top: 48px !important; } }
@media (max-width: 360px) { .logo { font-size: 16px; } .logo img { width: 15px; } .btn--sm { padding: 0 12px; font-size: 13px; } }

/* 2026-11-09 コース欄 案2（アイコンと図で見せる・余白の本の原則） */
.cgrid { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; max-width: 1280px; }
.ccard { width: 400px; background: #fff; border-radius: 28px; padding: 40px; }
.ccard__icon { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 24px; }
.ccard__term { font-size: 12px; font-weight: 700; color: #8a8378; line-height: 18px; }
.ccard h3 { font-size: 26px; line-height: 38px; margin: 4px 0 8px; }
.ccard__cat { font-size: 15px; font-weight: 700; color: var(--green); line-height: 24px; padding-bottom: 24px; border-bottom: 1px solid #ece3d4; margin-bottom: 20px !important; }
.ccard__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ccard ul { display: grid; gap: 10px; }
.ccard li { display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 22px; color: var(--ink2); }
.ccard li svg { flex-shrink: 0; }
#course .price { padding-top: 96px; }
#course .price__tax { font-size: 14px; color: #8a8378; margin: 4px 0 28px !important; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 11px 22px 11px 18px; font-weight: 700; font-size: 15px; color: var(--ink); }
.license2 { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 20px !important; font-size: 13px !important; line-height: 20px !important; color: #8a8378; }
.license2 svg { flex-shrink: 0; }
.kids { max-width: 1280px; margin-top: 112px !important; background: var(--c-green); border-radius: 32px; padding: 48px 64px; display: flex; align-items: center; gap: 64px; }
.kids__art { position: relative; width: 280px; height: 200px; flex-shrink: 0; }
.blocks { position: absolute; left: 10px; top: 40px; display: grid; grid-template-columns: repeat(6, 38px); grid-template-rows: repeat(4, 38px); gap: 4px; }
.blocks i { border-radius: 6px; }
.blocks i.g { background: #6e9a6c; }
.blocks i.d { background: #b58a5e; }
.blocks__odd { position: absolute; left: 196px; top: 22px; width: 38px; height: 38px; border-radius: 6px; background: var(--coral); transform: rotate(-14deg); }
.blocks__q { position: absolute; left: 196px; top: -6px; font-family: var(--maru); font-weight: 700; font-size: 18px; color: var(--coral); }
.kids h3 { font-size: 32px; line-height: 44px; margin: 14px 0 6px; }
.kids__catch { font-weight: 700; font-size: 18px; color: var(--green); line-height: 28px; margin-bottom: 10px !important; }
.kids__text > p { font-size: 15px; line-height: 26px; }
.kids__note { font-size: 11px !important; line-height: 18px !important; color: #8a8378; margin-top: 18px !important; }
@media (max-width: 860px) {
  .cgrid { gap: 16px; }
  .ccard { width: 100%; padding: 28px 24px; }
  .ccard__icon { width: 60px; height: 60px; margin-bottom: 16px; }
  .ccard h3 { font-size: 22px; line-height: 32px; }
  #course .price { padding-top: 56px; }
  .chips li { font-size: 14px; padding: 9px 16px 9px 14px; }
  .license2 { align-items: flex-start; text-align: left; }
  .kids { flex-direction: column; padding: 32px 22px; gap: 20px; margin-top: 64px !important; }
  .kids__art { transform: scale(.8); transform-origin: center top; height: 170px; }
  .kids h3 { font-size: 26px; line-height: 36px; }
}

/* ===== 2026-11-09 案3：写真付きコースカード・詳細の窓・動き ===== */
.cgrid--photo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; max-width: 1120px; margin: 0 auto; }
.cgrid--photo .ccard { position: relative; width: auto; padding: 0; overflow: hidden; display: flex; flex-direction: column; transition: transform .35s ease, box-shadow .35s ease; }
.ccard__hit { position: absolute; inset: 0; z-index: 3; width: 100%; background: none; border: 0; cursor: pointer; border-radius: 28px; }
.ccard__hit:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
.ccard__photo { position: relative; margin: 0; aspect-ratio: 3 / 2; overflow: hidden; }
.ccard__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.cgrid--photo .ccard__body { position: relative; padding: 0 40px 36px; flex: 1; display: flex; flex-direction: column; }
.cgrid--photo .ccard__icon { margin: -36px 0 18px; border: 4px solid #fff; position: relative; z-index: 2; }
.cgrid--photo .ccard h3 { font-size: 28px; line-height: 40px; }
.cgrid--photo .ccard ul { margin-bottom: 24px; }
.ccard__more { margin-top: auto; align-self: flex-start; font-weight: 700; font-size: 15px; color: var(--coral); border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.ccard__more span { display: inline-block; transition: transform .3s ease; }
.pill--btn { background: none; cursor: pointer; font-family: var(--sans); }
.pill--btn:hover { background: rgba(255, 255, 255, .12); }

/* 詳細の窓 */
.cdlg { padding: 0; border: 0; border-radius: 28px; width: min(760px, calc(100% - 32px)); max-height: calc(100dvh - 48px); background: #fff; color: var(--ink2); overflow: hidden; }
.cdlg::backdrop { background: rgba(32, 28, 22, .62); backdrop-filter: blur(3px); }
.cdlg[open] { animation: dlgIn .35s ease; }
.cdlg[open]::backdrop { animation: fadeIn .35s ease; }
@keyframes dlgIn { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.cdlg__inner { position: relative; max-height: calc(100dvh - 48px); overflow-y: auto; overscroll-behavior: contain; }
.cdlg__close { position: sticky; top: 14px; margin: 14px 14px -58px auto; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); box-shadow: 0 2px 10px rgba(0, 0, 0, .12); cursor: pointer; z-index: 5; }
.cdlg__photo { position: relative; margin: 0; aspect-ratio: 16 / 8; overflow: hidden; }
.cdlg__photo img { width: 100%; height: 100%; object-fit: cover; }
.cdlg__body { padding: 32px 48px 44px; }
.cdlg h3 { font-size: 30px; line-height: 42px; margin: 4px 0 6px; }
.cdlg .ccard__cat { border: 0; padding: 0; margin-bottom: 8px !important; }
.cdlg h4 { font-family: var(--maru); font-size: 18px; color: var(--ink); margin: 28px 0 12px; }
.clist { display: grid; gap: 8px; }
.clist li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.7; }
.clist svg { flex-shrink: 0; margin-top: 4px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; counter-reset: s; }
.steps li { display: flex; align-items: center; gap: 14px; font-size: 15px; line-height: 1.6; background: var(--cream); border-radius: 14px; padding: 12px 16px; }
.steps span { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.path { background: var(--cream); border-radius: 18px; padding: 20px; font-size: 14px; line-height: 1.75; }
.path__tag { font-size: 12px; font-weight: 700; color: var(--green); }
.path__name { font-family: var(--maru); font-weight: 700; font-size: 18px; color: var(--ink); margin: 2px 0 8px !important; }
.path small { color: #8a8378; }
.cdlg__note { margin-top: 24px !important; font-size: 13px; line-height: 1.7; color: #8a8378; }
.cdlg__price { margin: 16px 0 22px !important; font-weight: 700; font-size: 15px; color: var(--ink); }
body.is-dlg { overflow: hidden; }

/* 動き①ふわっと現れる */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--d, 0) * .12s); }
.js .rv.is-in { opacity: 1; transform: none; }
.js .bonus .rv:nth-child(2) { --d: 1; } .js .bonus .rv:nth-child(3) { --d: 2; }

/* 動き②森がそよぐ */
@keyframes sway { 0%, 100% { transform: rotate(var(--r0, 0deg)); } 50% { transform: rotate(calc(var(--r0, 0deg) + 7deg)) translateY(-3px); } }
@keyframes blob { 0%, 100% { transform: scale(1) rotate(0deg); border-radius: 0; } 50% { transform: scale(1.03, .98) rotate(-1.5deg); } }
.deco--leaf { --r0: 12deg; transform-origin: 50% 100%; animation: sway 5.5s ease-in-out infinite; }
.deco--acorn { --r0: -12deg; transform-origin: 50% 0; animation: sway 6.5s ease-in-out infinite .8s; }
.cta__deco { transform-origin: 50% 100%; animation: sway 6s ease-in-out infinite; }
.cta__deco { --r0: 0deg; left: calc(50% - 20px); transform: none; }
.logo img { transform-origin: 50% 100%; animation: sway 7s ease-in-out infinite 1.5s; }
.hero__bg { animation: blob 14s ease-in-out infinite; transform-origin: 50% 50%; }

/* 動き③触ると応える */
@media (hover: hover) {
  .cgrid--photo .ccard:hover { transform: translateY(-8px); box-shadow: 0 18px 40px rgba(59, 56, 51, .12); }
  .cgrid--photo .ccard:hover .ccard__photo img { transform: scale(1.06); }
  .cgrid--photo .ccard:hover .ccard__more span { transform: translateX(4px); }
  .bonus__card { transition: transform .35s ease, box-shadow .35s ease; }
  .bonus__card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(59, 56, 51, .08); }
}
.btn:active { transform: scale(.96); }

@media (max-width: 860px) {
  .cgrid--photo { grid-template-columns: 1fr; gap: 20px; }
  .cgrid--photo .ccard__body { padding: 0 24px 28px; }
  .cgrid--photo .ccard__icon { margin-top: -30px; }
  .cgrid--photo .ccard h3 { font-size: 22px; line-height: 32px; }
  .cdlg { width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; border-radius: 0; margin: 0; }
  .cdlg__inner { max-height: 100dvh; height: 100%; }
  .cdlg[open] { animation: sheetIn .35s ease; }
  @keyframes sheetIn { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
  .cdlg__body { padding: 24px 20px 40px; }
  .cdlg h3 { font-size: 24px; line-height: 34px; }
  .paths { grid-template-columns: 1fr; }
  .cdlg .btns .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
}

/* ===== 2026-11-09 ハンバーガー＋ドロワー（ダッシュボード風）・上へ戻る ===== */
.hamb { flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; box-shadow: 0 2px 10px rgba(59, 56, 51, .1); display: grid; place-content: center; gap: 5px; cursor: pointer; margin-left: 4px; }
.hamb span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s ease, opacity .3s ease; }
.drawer { position: fixed; inset: 0; z-index: 50; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__veil { position: absolute; inset: 0; background: rgba(32, 28, 22, .55); backdrop-filter: blur(3px); opacity: 0; transition: opacity .35s ease; }
.drawer.is-open .drawer__veil { opacity: 1; }
.drawer__panel { position: absolute; top: 0; right: 0; height: 100%; width: min(400px, 92vw); background: var(--cream); overflow-y: auto; overscroll-behavior: contain; padding: 22px 24px 32px; transform: translateX(100%); transition: transform .4s cubic-bezier(.2, .7, .2, 1); box-shadow: -10px 0 40px rgba(0, 0, 0, .12); }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.drawer__x { width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.dcta { display: flex; align-items: center; gap: 14px; background: var(--coral); color: #fff; text-decoration: none; border-radius: 20px; padding: 16px 18px; }
.dcta b { display: block; font-size: 16px; }
.dcta small { display: block; font-size: 12px; opacity: .9; }
.dcta > span:last-child { margin-left: auto; font-weight: 700; }
.drawer__label { font-size: 12px; font-weight: 700; color: #8a8378; letter-spacing: .08em; margin: 24px 0 10px !important; }
.dtiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dtile { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; background: #fff; border-radius: 18px; padding: 16px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 14px; transition: transform .25s ease, box-shadow .25s ease; }
.dtile svg { color: var(--green); }
.dtile:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(59, 56, 51, .08); }
.dsnss { display: flex; flex-wrap: wrap; gap: 8px; }
.dsns { display: inline-flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 10px 16px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 14px; }
.dsns[hidden] { display: none; }
.dsns svg { color: var(--green); }
.drawer__foot { margin-top: 24px !important; font-size: 12px; line-height: 1.7; color: #8a8378; }
body.is-drawer { overflow: hidden; }
.totop { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 52px; height: 52px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(45, 106, 79, .3); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .35s ease, transform .35s ease; }
.totop.is-show { opacity: 1; transform: none; pointer-events: auto; }
.totop:hover { transform: translateY(-3px); }
@media (max-width: 860px) {
  .hamb { width: 42px; height: 42px; }
  .totop { right: 14px; bottom: 14px; width: 46px; height: 46px; }
}
@media (max-width: 360px) { .btn--sm { display: none; } }
@media (max-width: 860px) {
  .header__inner { gap: 8px; }
  .logo { font-size: 17px; }
  .btn--sm { height: 40px; padding: 0 14px; font-size: 13px; }
  .btn--sm span { display: none; }
}
.drawer__veil { z-index: 0; }
.drawer__panel { z-index: 1; }
.dtile[hidden] { display: none; }

/* ===== 2026-11-09 講師カード→プロフィールの窓 ===== */
.teacher__card--link { position: relative; cursor: pointer; transition: transform .35s ease, box-shadow .35s ease; }
.teacher__card--link .ccard__more { display: inline-block; margin-top: 18px; }
@media (hover: hover) {
  .teacher__card--link:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(59, 56, 51, .12); }
  .teacher__card--link:hover .ccard__more span { transform: translateX(4px); }
}
.tprof__hero { display: flex; align-items: center; gap: 28px; background: var(--cream); padding: 48px 48px 32px; }
.tprof__hero img { width: 140px; height: 140px; border-radius: 50%; background: #fff; flex-shrink: 0; }
.tprof__hero h3 { font-size: 32px; line-height: 44px; margin: 10px 0 2px; }
.tprof__axis { font-family: var(--maru); font-weight: 700; font-size: 24px; line-height: 1.6; color: var(--green); margin-bottom: 16px !important; }
.cdlg--teacher .cdlg__body > p { font-size: 15px; line-height: 1.85; }
.tprof__values { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; counter-reset: v; }
.tprof__values li { counter-increment: v; position: relative; background: var(--cream); border-radius: 16px; padding: 14px 16px 14px 56px; font-size: 14px; line-height: 1.7; }
.tprof__values li::before { content: counter(v); position: absolute; left: 16px; top: 14px; width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.tprof__values b { display: block; font-size: 16px; color: var(--ink); }
.tprof__can { display: flex; flex-wrap: wrap; gap: 8px; }
.tprof__can li { background: var(--c-green); color: var(--green); font-weight: 700; font-size: 13px; border-radius: 999px; padding: 6px 14px; }
.tprof__msg { margin: 26px 0 20px !important; font-weight: 700; color: var(--ink); }
@media (max-width: 860px) {
  .tprof__hero { flex-direction: column; align-items: flex-start; gap: 14px; padding: 64px 20px 24px; }
  .tprof__hero img { width: 104px; height: 104px; }
  .tprof__hero h3 { font-size: 26px; line-height: 36px; }
  .tprof__axis { font-size: 20px; }
}
