/* 樫の森 AIスクール｜Figma 3820:18（2026-11-03 講師の軸案）から起こした仮確定版 2026-11-09 */
:root {
  --cream: #eff3f8;
  --cream2: #e0e8f2;
  --mint: #ebf2fb;
  --sand: #dfe7f1;
  --green: #1a457d;
  --coral: #1f6bc1;
  --ink: #182740;
  --ink2: #22375a;
  --c-green: #d9e6f7;
  --c-yellow: #dbe5f0;
  --c-blue: #e6edf4;
  --wm: rgba(212, 224, 237, .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(239, 243, 248, .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(31, 107, 193, .25); }
.btn--fill { background: var(--coral); color: #ffffff; }
.btn--line { background: #ffffff; 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: #ffffff; }
.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: #eff3f8; color: var(--green); }
.pill--outline-w { border: 1px solid #ffffff; color: #ffffff; }
.pill--outline-g { border: 1px solid var(--green); color: var(--green); }
.pill--green { background: var(--green); color: #ffffff; }
.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: #ffffff; 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: #ffffff; border-radius: 36px; padding: 56px 64px; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.guard h3 { color: #ffffff; font-size: 40px; line-height: 1.4; }
.guard > p { font-size: 17px; line-height: 1.85; }
.guard__safe { background: #eff3f8; 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: #ffffff; 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: #ffffff; 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: #ffffff; font-style: normal; font-weight: 700; font-size: 20px; display: grid; place-items: center; }
.arrow--green { background: #1a457d; }
.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: #eff3f8; 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: #ffffff; 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: #ffffff; 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 #d3d8de; 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: #ffffff; 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: #ffffff; 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 #ced3da; border-radius: 12px; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--ink); background: #eff3f8; }
.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: #ffffff; 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: #ffffff; 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: #6f7e93; 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 #d4dfec; 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: #6f7e93; 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: #ffffff; 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: #6f7e93; }
.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: #3278d4; }
.blocks i.d { background: #79879a; }
.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: #6f7e93; 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 #ffffff; 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: #ffffff; color: var(--ink2); overflow: hidden; }
.cdlg::backdrop { background: rgba(12, 19, 31, .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: #ffffff; 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: #6f7e93; }
.cdlg__note { margin-top: 24px !important; font-size: 13px; line-height: 1.7; color: #6f7e93; }
.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(24, 39, 64, .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(24, 39, 64, .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: #ffffff; box-shadow: 0 2px 10px rgba(24, 39, 64, .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(12, 19, 31, .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: #ffffff; display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.dcta { display: flex; align-items: center; gap: 14px; background: var(--coral); color: #ffffff; 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: #6f7e93; 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: #ffffff; 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(24, 39, 64, .08); }
.dsnss { display: flex; flex-wrap: wrap; gap: 8px; }
.dsns { display: inline-flex; align-items: center; gap: 8px; background: #ffffff; 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: #6f7e93; }
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: #ffffff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(26, 69, 125, .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(24, 39, 64, .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: #ffffff; 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: #ffffff; 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; }
}

/* パソコン基礎コース：5枚目を中央に */
.cgrid--photo .ccard--solo { grid-column: 1 / -1; justify-self: center; width: calc(50% - 20px); }
@media (max-width: 767px) { .cgrid--photo .ccard--solo { width: 100%; } }

/* ===== 2本柱のコース欄（2026-11-19 Figma 4026:464） ===== */
.sec__lead { margin-top: 12px; font-size: 16px; line-height: 28px; color: #6f7e93; }
.cgrid--pillar { grid-template-columns: 1fr; gap: 28px; }
.cgrid--pillar .ccard--main { flex-direction: row; min-height: 480px; }
.cgrid--pillar .ccard--main .ccard__photo { flex: 0 0 50%; aspect-ratio: auto; }
.cgrid--pillar .ccard--main .ccard__body { padding: 48px 52px; justify-content: center; }
.cgrid--pillar .ccard--main .ccard__icon { margin: 0 0 18px; }
.cgrid--pillar .ccard--main h3 { font-size: 36px; line-height: 48px; }
.cgrid--pillar .ccard--main .ccard__cat { font-size: 18px; }
.ccard__badge { display: inline-block; margin-right: 8px; padding: 3px 12px; border-radius: 12px; background: var(--green); color: #ffffff; font-size: 12px; }
.ccard__badge--sub { background: #d9e6f7; color: var(--green); }
.ccard__ways { display: grid; gap: 12px; margin-bottom: 16px !important; }
.ccard__ways li { display: block !important; padding-left: 14px; border-left: 3px solid var(--green); }
.ccard__ways b { display: block; font-size: 16px; color: var(--ink); }
.ccard__ways span { display: block; font-size: 14px; color: #6f7e93; }
.ccard__for { font-size: 14px; line-height: 22px; color: var(--ink2); margin-bottom: 24px !important; }
.cgrid--pillar .ccard--sub { flex-direction: row; align-items: stretch; }
.cgrid--pillar .ccard--sub .ccard__photo { flex: 0 0 300px; aspect-ratio: auto; min-height: 220px; }
.cgrid--pillar .ccard--sub .ccard__body { padding: 28px 40px; justify-content: center; }
.cgrid--pillar .ccard--sub .ccard__icon { display: none; }
.cgrid--pillar .ccard--sub h3 { font-size: 24px; line-height: 34px; }
.cgrid--pillar .ccard--sub .ccard__cat { padding-bottom: 12px; margin-bottom: 12px !important; }
.cgrid--pillar .ccard--sub ul { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-bottom: 14px; }
@media (max-width: 767px) {
  .cgrid--pillar .ccard--main, .cgrid--pillar .ccard--sub { flex-direction: column; min-height: 0; }
  .cgrid--pillar .ccard--main .ccard__photo, .cgrid--pillar .ccard--sub .ccard__photo { flex: none; aspect-ratio: 3 / 2; min-height: 0; }
  .cgrid--pillar .ccard--main .ccard__body, .cgrid--pillar .ccard--sub .ccard__body { padding: 24px 24px 28px; }
  .cgrid--pillar .ccard--main h3 { font-size: 26px; line-height: 36px; }
}

/* ===== ヒーローの2本柱スライド（2026-11-19 Figma 4024:543〜545） ===== */
.hs { position: relative; max-width: 1440px; margin: 0 auto; padding: 72px 120px 84px; }
.hs__track { display: grid; }
.hs__slide { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: center; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.hs__slide.is-active { opacity: 1; visibility: visible; }
.hs__text { min-width: 0; }
.hs .hero__title { font-size: 56px; line-height: 76px; }
.hs .hero__sub { margin-bottom: 24px; }
.hs__label { font-size: 15px; font-weight: 700; color: var(--green); }
.hs__name { font-family: var(--maru); font-weight: 700; font-size: 50px; line-height: 1.35; color: var(--ink); margin: 10px 0 14px !important; }
.hs__one { font-size: 21px; font-weight: 700; color: var(--green); margin-bottom: 14px !important; }
.hs__list { display: grid; gap: 8px; margin-bottom: 26px !important; }
.hs__list li { display: flex; gap: 10px; align-items: center; font-size: 16px; }
.hs__list svg { flex-shrink: 0; }
.hs__photo { margin: 0; border-radius: 36px; overflow: hidden; aspect-ratio: 4 / 3; }
.hs__photo img { width: 100%; height: 100%; object-fit: cover; }
.hs__cover { display: flex; align-items: flex-end; gap: 24px; }
.hs__mini { display: flex; flex-direction: column; text-align: left; background: #ffffff; border: 0; padding: 0 0 18px; border-radius: 22px; overflow: hidden; cursor: pointer; box-shadow: 0 10px 28px rgba(24, 39, 64, .10); font: inherit; color: var(--ink); width: 36%; transition: transform .3s ease; }
.hs__mini--main { width: 58%; }
.hs__mini:hover { transform: translateY(-4px); }
.hs__mini img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; margin-bottom: 12px; }
.hs__mini--main img { aspect-ratio: 6 / 5; }
.hs__mini-l { padding: 0 18px; font-size: 12px; font-weight: 700; color: var(--green); }
.hs__mini-n { padding: 0 18px; font-family: var(--maru); font-weight: 700; font-size: 18px; }
.hs__mini--main .hs__mini-n { font-size: 21px; }
.hs__arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: #ffffff; box-shadow: 0 2px 10px rgba(0, 0, 0, .12); font-size: 20px; font-weight: 700; color: var(--ink); cursor: pointer; z-index: 3; }
.hs__arrow--prev { left: 40px; }
.hs__arrow--next { right: 40px; }
.hs__arrow:focus-visible, .hs__dot:focus-visible, .hs__mini:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
.hs__dots { position: absolute; left: 0; right: 0; bottom: 32px; display: flex; justify-content: center; align-items: center; gap: 12px; }
.hs__dot { width: 10px; height: 10px; border-radius: 5px; border: 0; padding: 0; background: #c9cfd7; cursor: pointer; transition: width .3s ease, background .3s ease; }
.hs__dot.is-active { width: 28px; background: var(--coral); }
@media (max-width: 1100px) {
  .hs { padding: 56px 88px 80px; }
  .hs .hero__title { font-size: 44px; line-height: 1.4; }
  .hs__name { font-size: 40px; }
}
@media (max-width: 767px) {
  .hs { padding: 20px 16px 64px; }
  .hs__slide { grid-template-columns: 1fr; gap: 20px; align-items: start; }
  .hs__photo { order: -1; border-radius: 24px; }
  .hs .hero__title { font-size: 34px; line-height: 1.45; margin: 8px 0 12px; }
  .hs__name { font-size: 30px; }
  .hs__one { font-size: 18px; }
  .hs__list li { font-size: 15px; align-items: flex-start; }
  .hs__cover { gap: 12px; }
  .hs__mini { width: 42%; padding-bottom: 12px; border-radius: 16px; }
  .hs__mini--main { width: 58%; }
  .hs__mini-l, .hs__mini-n { padding: 0 12px; }
  .hs__mini-n, .hs__mini--main .hs__mini-n { font-size: 15px; }
  .hs__arrow { top: auto; bottom: 18px; transform: none; width: 40px; height: 40px; font-size: 17px; }
  .hs__arrow--prev { left: 16px; }
  .hs__arrow--next { right: 16px; }
  .hs__dots { bottom: 32px; }
  .hs .btns { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { .hs__slide { transition: none; } }

/* ── 松竹梅（初級・中級・上級）2026-11-20 ── */
.tiers__head { font-size: 12px; font-weight: 700; color: #6f7e93; line-height: 18px; margin-bottom: 8px !important; }
.ccard ol.tiers { display: grid; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.ccard ol.tiers li { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #eff3f8; border-radius: 14px; font-size: 13px; line-height: 20px; color: var(--ink); }
.tier { flex-shrink: 0; display: inline-flex; align-items: baseline; gap: 4px; padding: 3px 12px; border-radius: 12px; font-size: 11px; line-height: 18px; }
.tier b { font-size: 12px; }
.tier.t1 { background: #d9e6f7; color: var(--green); }
.tier.t2 { background: #9cbeea; color: var(--green); }
.tier.t3 { background: var(--green); color: #ffffff; }
.ccard ol.tiers--row { grid-template-columns: repeat(3, 1fr); }
.ccard ol.tiers--row li { flex-direction: column; align-items: flex-start; gap: 6px; }
.ptiers { display: flex; justify-content: center; align-items: flex-end; gap: 20px; margin: 0 auto 16px; padding: 0; list-style: none; }
.pcard { width: 220px; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 24px 20px; background: #ffffff; border-radius: 22px; }
.pcard--first { outline: 1.5px solid var(--coral); }
.pcard__tag { font-size: 11px; font-weight: 700; color: var(--coral); line-height: 16px; }
.pcard__num { font-family: var(--maru); font-weight: 700; font-size: 32px; line-height: 44px; color: var(--ink); }
.pcard__num small { font-size: 18px; margin-left: 2px; }
.pcard__tax { font-size: 12px; color: #6f7e93; line-height: 18px; }
#course .ptiers + .price__tax { font-size: 12px; margin: 0 0 28px !important; }
.tiers__note { white-space: nowrap; }
@media (max-width: 767px) {
  .ccard ol.tiers--row { grid-template-columns: 1fr; }
  .ccard ol.tiers--row li { flex-direction: row; align-items: center; gap: 12px; }
  .ptiers { flex-direction: column; align-items: stretch; gap: 10px; }
  .pcard { width: auto; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 4px 12px; padding: 14px 18px; }
  .pcard__tag { width: 100%; text-align: center; }
  .pcard__num { font-size: 26px; line-height: 36px; }
  .tiers__note { white-space: normal; display: block; }
}

/* 樫の森 AIスクール｜買い切り講座（トップの入口セクション＋ /kaikiri/ 一覧ページ） 2026-11-12
   配色は Figma 教材ストックの配色（生成り・墨色・淡いグリーン・淡いブルー・ローズ・からし）。緑を主にしない。 */
:root {
  --kk-base: #eff3f8;
  --kk-ink: #1b2b46;
  --kk-ink2: #5b605c;
  --kk-green: #dae7f7;
  --kk-blue: #e0e8f2;
  --kk-rose: #c9989a;
  --kk-rose-deep: #9a6466;
  --kk-mustard: #e7ba15;
  --kk-maru: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", sans-serif;
}

/* 共通の部品 */
.kk-tag { display: inline-block; font-family: var(--kk-maru); font-weight: 700; font-size: 14px; line-height: 1; color: var(--kk-rose-deep); background: #ffffff; border: 1.5px solid var(--kk-rose); border-radius: 999px; padding: 8px 16px; }
.kk-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 58px; padding: 0 36px; border-radius: 999px; background: var(--kk-mustard); color: var(--kk-ink); font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap; transition: transform .15s, box-shadow .15s; }
.kk-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(231, 186, 21, .35); }
.kk-btn--ink { background: var(--kk-ink); color: #ffffff; }
.kk-btn--ink:hover { box-shadow: 0 6px 16px rgba(27, 43, 70, .25); }
.kk-btn--line { background: #ffffff; color: var(--kk-ink); border: 1.5px solid var(--kk-ink); }

/* ===== トップの入口セクション ===== */
.kk-top { background: var(--kk-base); padding-top: 80px; padding-bottom: 100px; }
.kk-top__box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; background: var(--kk-blue); border-radius: 32px; padding: 56px 64px; }
.kk-top__text h2 { font-family: var(--kk-maru); font-size: 34px; line-height: 1.5; color: var(--kk-ink); margin: 18px 0 16px; }
.kk-top__text p { color: var(--kk-ink2); font-size: 16px; line-height: 1.9; }
.kk-top__text .kk-btn { margin-top: 28px; }
.kk-top__thumbs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.kk-top__thumbs li { border-radius: 14px; overflow: hidden; background: #ffffff; box-shadow: 0 6px 18px rgba(27, 43, 70, .08); }
.kk-top__thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 860px) {
  .kk-top { padding-top: 48px; padding-bottom: 64px; }
  .kk-top__box { grid-template-columns: 1fr; gap: 28px; padding: 32px 20px; border-radius: 24px; }
  .kk-top__text h2 { font-size: 24px; }
  .kk-top__text .kk-btn { width: 100%; }
}

/* ===== /kaikiri/ 一覧ページ ===== */
.kk-page { background: var(--kk-base); color: var(--kk-ink2); }
.kk-page h1, .kk-page h2, .kk-page h3 { color: var(--kk-ink); font-family: var(--kk-maru); }
.kk-page .header { background: rgba(239, 243, 248, .95); }
.kk-page .nav a:hover { color: var(--kk-rose-deep); }
.kk-wrap { max-width: 1120px; margin: 0 auto; padding: 0 40px; }

.kk-hero { padding: 64px 0 40px; text-align: center; }
.kk-crumb { font-size: 13px; color: var(--kk-ink2); margin-bottom: 28px; text-align: left; }
.kk-crumb a { color: var(--kk-ink2); }
.kk-hero h1 { font-size: 40px; line-height: 1.5; margin: 18px 0 18px; }
.kk-hero p { font-size: 17px; line-height: 1.9; max-width: 680px; margin: 0 auto; }
.kk-hero__chips { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.kk-hero__chips li { background: #ffffff; border-radius: 999px; padding: 6px 16px; font-weight: 700; font-size: 14px; color: var(--kk-ink); }

.kk-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; padding: 24px 0 24px; max-width: 900px; margin: 0 auto; }
.kk-card { display: flex; flex-direction: column; background: #ffffff; border-radius: 24px; overflow: hidden; box-shadow: 0 8px 24px rgba(27, 43, 70, .07); }
.kk-card__img { margin: 0; }
.kk-card__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.kk-card__body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 28px; }
.kk-card__cat { font-size: 13px; font-weight: 700; color: var(--kk-rose-deep); }
.kk-card h3 { font-size: 20px; line-height: 1.55; margin: 8px 0 12px; }
.kk-card__for { font-size: 15px; line-height: 1.8; flex: 1; }
.kk-card__price { display: flex; align-items: baseline; gap: 10px; margin: 20px 0 18px; padding-top: 16px; border-top: 1px dashed #cbd0d8; }
.kk-card__price b { font-family: var(--kk-maru); font-size: 28px; color: var(--kk-ink); }
.kk-card__price span { font-size: 13px; }
.kk-card .kk-btn { height: 52px; width: 100%; font-size: 15px; }
.kk-note { font-size: 13px; line-height: 1.8; text-align: center; margin: 8px 0 0; }
.kk-note a { color: var(--kk-ink); }

/* 見守りサポートへ */
.kk-next { margin: 88px 0 0; padding: 72px 0 96px; background: var(--kk-green); }
.kk-next__head { text-align: center; margin-bottom: 36px; }
.kk-next__head h2 { font-size: 30px; line-height: 1.5; margin: 16px 0 12px; }
.kk-next__head p { font-size: 16px; line-height: 1.9; max-width: 640px; margin: 0 auto; }
.kk-cmp { width: 100%; max-width: 860px; margin: 0 auto; border-collapse: separate; border-spacing: 0; background: #ffffff; border-radius: 20px; overflow: hidden; font-size: 15px; line-height: 1.7; }
.kk-cmp th, .kk-cmp td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid #dbe5f0; }
.kk-cmp tr:last-child th, .kk-cmp tr:last-child td { border-bottom: 0; }
.kk-cmp thead th { font-family: var(--kk-maru); font-size: 17px; color: var(--kk-ink); background: var(--kk-blue); }
.kk-cmp thead th.kk-cmp__mima { background: #e5ecf4; }
.kk-cmp tbody th { width: 22%; font-weight: 700; color: var(--kk-ink); background: #eff3f8; white-space: nowrap; }
.kk-cmp td { width: 39%; }
.kk-cmp td.kk-cmp__mima { font-weight: 700; color: var(--kk-ink); }
.kk-next__cta { text-align: center; margin-top: 40px; }
.kk-next__cta p { font-size: 14px; margin-top: 14px; }

.kk-page .footer { background: var(--kk-base); }
.kk-page .footer__inner { border-top: 1px solid #d2deec; }

@media (max-width: 960px) {
  .kk-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .kk-wrap { padding: 0 16px; }
  .kk-hero { padding: 36px 0 24px; }
  .kk-crumb { margin-bottom: 20px; }
  .kk-hero h1 { font-size: 27px; }
  .kk-hero p { font-size: 15px; text-align: left; }
  .kk-list { grid-template-columns: 1fr; gap: 20px; }
  .kk-next { margin-top: 56px; padding: 48px 0 64px; }
  .kk-next__head h2 { font-size: 22px; }
  .kk-next__head p { text-align: left; font-size: 15px; }
  .kk-cmp { font-size: 13px; border-radius: 14px; }
  .kk-cmp th, .kk-cmp td { padding: 12px 10px; }
  .kk-cmp thead th { font-size: 14px; }
  .kk-cmp tbody th { white-space: normal; width: 24%; }
  .kk-next__cta .kk-btn { width: 100%; }
}

/* ===== ごあいさつの署名に顔写真（2026-11-12） ===== */
.message__sign { display: flex; align-items: center; gap: 20px; margin-top: 22px; font-weight: 700; font-size: 14px; color: var(--ink); }
.message__sign img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; border: 4px solid #d9e6f7; flex-shrink: 0; }
@media (max-width: 860px) { .message__sign img { width: 72px; height: 72px; } }

/* ===== POINT 04 を 01〜03 と同じ形に（2026-11-12） ===== */
.point__new { display: inline-block; margin-left: 6px; padding: 0 10px; border: 1.5px solid var(--green); border-radius: 999px; font-size: 12px; line-height: 20px; }
.point__more { margin-top: 18px; padding: 0; border: 0; background: none; color: var(--coral); font: 700 15px/1.6 var(--sans); cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.point__text p.point__note { margin-top: 10px; font-size: 12px; line-height: 1.6; color: #6f7e93; }
.point__text > p:not(.point__num):not(.point__note) { font-size: 17px; line-height: 30px; }


/* 紺の案B（2026-11-25） */
.hero.hs{background:#0f2138}
.hs .hero__lead{color:#6cc4e8}
.hs .hero__title,.hs .hero__sub{color:#fff}
.hs .hero__sub{color:#d6e2f0}
.hs .btn--line{background:transparent;color:#fff;border-color:#6cc4e8}
.hs .hs__cover{justify-content:center}
.point__num{font-size:20px}
.kurashi-link{display:block;text-align:center;margin:20px auto 0;font-weight:700;color:#1f6fc4}
.faq details,.bonus details{cursor:pointer}
.acc summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:12px;font-weight:700;cursor:pointer}
.acc summary::-webkit-details-marker{display:none}
.acc summary::after{content:"＋";color:#1f6fc4;font-size:20px;flex:none}
.acc[open] summary::after{content:"−"}
.acc p,.acc dd{margin:10px 0 0}
.acc-list{max-width:860px;margin:0 auto;display:grid;gap:14px;padding:0 20px}
.acc-list.cards .acc{background:#fff;border-radius:12px;padding:18px 20px}
.acc-list.lines{gap:0}
.acc-list.lines .acc{border-bottom:1px solid #d6dfec;padding:18px 0}
.photo-note{font-size:12px}
.kh{background:#0f2138;color:#fff;text-align:center;padding:64px 20px}
.kh h1{color:#fff;font-size:clamp(28px,5vw,48px);margin:12px 0}
.kh img{max-width:720px;width:100%;margin:28px auto 0;border-radius:8px}
.ksec{padding:56px 20px;text-align:center}
.ksec h2{margin-bottom:24px;font-size:clamp(22px,3vw,30px)}
.kgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;max-width:1100px;margin:0 auto}
.kgrid>div{background:#fff;border-radius:12px;padding:22px;font-weight:700}
.kgrid small{display:block;color:#1f6fc4;margin-bottom:8px}
.ksec--pale{background:#eef3f9}
.ksec--white{background:#fff}
.ksec--white .kgrid>div{background:#eef3f9}

/* 段ごとのカリキュラム（2026-11-25） */
.pcard{position:relative}
.pcard::after{content:"内容を見る ＋";display:block;width:100%;font-size:12px;font-weight:700;color:#1f6fc4;text-align:center;margin-top:6px}
.pcard.is-open{border:2px solid #1f6fc4}
.pcard.is-open::after{content:"閉じる −"}
.pcard__open{position:absolute;inset:0;width:100%;height:100%;background:transparent;border:0;border-radius:inherit;cursor:pointer}
.cur{max-width:620px;margin:14px auto 0;padding:0 4px;text-align:left}
.cur__hint{text-align:center;font-size:12px;margin-bottom:10px}
.cur__panel{background:#fff;border-radius:14px;padding:22px 24px;border:2px solid #1f6fc4}
.cur__panel h3{font-size:18px;margin:2px 0 12px}
.cur__panel ol{margin:0;padding-left:1.4em;list-style:decimal}
.cur__panel li{padding:8px 0;border-bottom:1px solid #d6dfec;font-size:14px;font-weight:700}
.cur__rank{font-size:12px;font-weight:700;color:#1f6fc4}
.cur__note{font-size:12px;margin-top:12px}
