/* =========================================================
   Coylカード カウンセラー養成講座 LP
   白・生成りベース／アクセント：グリーン・コーラル・淡いブルー
   ========================================================= */

:root {
  --c-white: #fffdf9;
  --c-base: #fbf8f2;      /* 生成り */
  --c-cream: #f4eee3;     /* 濃い生成り */
  --c-line: #e4dccd;
  --c-text: #3d3833;
  --c-muted: #6b635a;
  --c-brown: #6e5444;     /* ロゴの色味 */

  --c-green: #7f9c82;
  --c-green-deep: #4e6b52;
  --c-green-pale: #e7eee4;
  --c-coral: #e39a80;
  --c-coral-deep: #b65a3f; /* 白文字ボタン用（コントラスト4.5:1以上） */
  --c-coral-pale: #f9e6dd;
  --c-blue: #a9c3d6;
  --c-blue-deep: #44657d;
  --c-blue-pale: #e8f0f5;

  --font-serif: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
  --font-sans: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
  --font-en: "Cormorant Garamond", "Times New Roman", Georgia, serif;

  --radius: 14px;
  --radius-lg: 24px;
  --shadow: 0 10px 30px -18px rgba(80, 60, 40, .35);
  --container: 1120px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--c-base);
  color: var(--c-text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .04em;
  font-feature-settings: "palt";
  word-break: auto-phrase;
  text-wrap: pretty;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-green-deep); }
a:hover { color: var(--c-coral-deep); }
:focus-visible { outline: 3px solid var(--c-blue-deep); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.5; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
dl, dd { margin: 0; }
strong { font-weight: 700; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--c-text); color: #fff; padding: 8px 16px; border-radius: 8px;
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

.pc-only { display: none; }
@media (min-width: 900px) { .pc-only { display: inline; } }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: 12px 28px;
  border: 1px solid var(--c-coral-deep); border-radius: 999px;
  background: var(--c-coral-deep); color: #fff;
  font-weight: 700; letter-spacing: .08em; text-decoration: none;
  box-shadow: 0 6px 16px -10px rgba(182, 90, 63, .8);
  transition: background-color .25s, color .25s, transform .25s;
}
.btn:hover { background: #9e4b33; color: #fff; transform: translateY(-1px); }
.btn--ghost {
  background: transparent; color: var(--c-green-deep); border-color: var(--c-green);
  box-shadow: none;
}
.btn--ghost:hover { background: var(--c-green-pale); color: var(--c-green-deep); }
.btn--small { min-height: 40px; padding: 6px 18px; font-size: .875rem; }
.btn--large { min-height: 64px; padding: 16px 40px; font-size: 1.0625rem; width: 100%; max-width: 420px; }

/* 申込ボタン：URL未設定のあいだ */
.btn[aria-disabled="true"] {
  background: #ebe5da; border-color: #d8cfbf; color: var(--c-muted);
  box-shadow: none; cursor: not-allowed; transform: none;
}

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 242, .92);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--c-line); box-shadow: 0 4px 20px -16px rgba(60, 40, 20, .4); }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  width: min(100% - 32px, 1240px); margin-inline: auto; height: var(--header-h);
}
.site-header__logo img { width: 132px; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border: 0; background: none; cursor: pointer; color: var(--c-text);
}
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after {
  display: block; width: 24px; height: 1.5px; background: currentColor; position: relative;
  transition: transform .3s, background-color .3s;
}
.nav-toggle__bar::before, .nav-toggle__bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bar::before { top: -7px; }
.nav-toggle__bar::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
  position: absolute; top: var(--header-h); left: 0; right: 0;
  background: var(--c-base); border-bottom: 1px solid var(--c-line);
  padding: 8px 24px 24px;
  display: none;
}
.site-nav.is-open { display: block; }
.site-nav li a:not(.btn) {
  display: block; padding: 14px 4px; border-bottom: 1px dashed var(--c-line);
  color: var(--c-text); text-decoration: none; font-size: .9375rem;
}
.site-nav__cta { margin-top: 18px; }
.site-nav__cta .btn { width: 100%; }

/* JS無効時はメニューを常に表示 */
.no-js .nav-toggle { display: none; }
.no-js .site-nav { position: static; display: block; }

@media (min-width: 1000px) {
  .nav-toggle { display: none; }
  .site-nav { position: static; display: block; padding: 0; background: none; border: 0; }
  .site-nav ul { display: flex; align-items: center; gap: 4px; }
  .site-nav li a:not(.btn) {
    border: 0; padding: 8px 12px; font-size: .875rem; position: relative;
  }
  .site-nav li a:not(.btn)::after {
    content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1px;
    background: var(--c-coral); transform: scaleX(0); transition: transform .3s;
  }
  .site-nav li a:not(.btn):hover::after { transform: scaleX(1); }
  .site-nav__cta { margin: 0 0 0 12px; }
  .site-header__logo img { width: 150px; }
}

/* ---------- 水彩風の背景 ---------- */
.hero, .section--cream, .section--blue, .apply { position: relative; isolation: isolate; overflow: hidden; }
.hero::before, .section--cream::before, .section--blue::before, .apply::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
}

/* ---------- 1. ファーストビュー ---------- */
.hero { padding: 32px 0 72px; }
.hero::before {
  background:
    radial-gradient(42% 50% at 88% 18%, rgba(169, 195, 214, .38), transparent 70%),
    radial-gradient(36% 44% at 6% 90%, rgba(127, 156, 130, .22), transparent 70%),
    radial-gradient(30% 34% at 52% 100%, rgba(227, 154, 128, .16), transparent 70%);
}
.hero__inner {
  width: min(100% - 40px, 1240px); margin-inline: auto;
  display: grid; gap: 36px;
}
.hero__visual { order: -1; }
.hero__visual img {
  width: 100%; border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.hero__eyebrow {
  display: inline-block; font-size: .8125rem; color: var(--c-green-deep);
  border: 1px solid var(--c-green); border-radius: 999px; padding: 2px 14px; margin-bottom: 18px;
  background: rgba(255, 255, 255, .6);
}
.hero__title {
  font-family: var(--font-serif); font-size: clamp(1.75rem, 5.6vw, 2.75rem);
  letter-spacing: .08em; color: var(--c-brown); line-height: 1.4;
}
.hero__title-sub { display: block; font-size: .62em; letter-spacing: .14em; color: var(--c-green-deep); }
.hero__catch {
  margin-top: 22px; font-family: var(--font-serif);
  font-size: clamp(1.125rem, 3.6vw, 1.5rem); line-height: 1.8; color: var(--c-text);
}
.hero__lead { margin-top: 14px; color: var(--c-muted); font-size: .9375rem; }

.hero__facts {
  margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--c-line); border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden;
}
.hero__facts > div { background: var(--c-white); padding: 12px 14px; }
.hero__facts dt { font-size: .75rem; color: var(--c-green-deep); letter-spacing: .12em; }
.hero__facts dd { font-weight: 600; font-size: .9375rem; line-height: 1.6; }
.hero__facts small { font-weight: 400; font-size: .75rem; color: var(--c-muted); }

.hero__actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__actions .btn { flex: 1 1 220px; }

@media (min-width: 900px) {
  .hero { padding: 64px 0 112px; }
  .hero__inner { grid-template-columns: 1fr 1.08fr; align-items: center; gap: 56px; }
  .hero__visual { order: 0; }
  .hero__visual img { border-radius: 40px 40px 40px 160px; }
  .hero__facts { grid-template-columns: 1fr 1fr; }
  .hero__actions .btn { flex: 0 0 auto; }
}

/* ---------- セクション共通 ---------- */
.section { padding: 80px 0; }
@media (min-width: 900px) { .section { padding: 120px 0; } }

.section--cream { background: var(--c-cream); }
.section--cream::before {
  background:
    radial-gradient(40% 40% at 0% 0%, rgba(255, 253, 249, .8), transparent 70%),
    radial-gradient(34% 40% at 100% 100%, rgba(227, 154, 128, .12), transparent 70%);
}
.section--blue { background: var(--c-blue-pale); }
.section--blue::before {
  background:
    radial-gradient(40% 50% at 100% 0%, rgba(255, 253, 249, .7), transparent 70%),
    radial-gradient(36% 46% at 0% 100%, rgba(127, 156, 130, .14), transparent 70%);
}

.section-head { text-align: center; margin-bottom: 48px; }
.section-head__en {
  font-family: var(--font-en); font-style: italic; font-size: 1.0625rem;
  color: var(--c-coral-deep); letter-spacing: .12em;
}
.section-head__title {
  margin-top: 6px; font-family: var(--font-serif);
  font-size: clamp(1.5rem, 4.4vw, 2.125rem); color: var(--c-brown); letter-spacing: .1em;
}
.section-head__title::after {
  content: ""; display: block; width: 48px; height: 2px; margin: 18px auto 0;
  background: linear-gradient(90deg, var(--c-green), var(--c-blue));
  border-radius: 2px;
}
.section-head__lead { margin-top: 20px; color: var(--c-muted); font-size: .9375rem; }
@media (min-width: 900px) { .section-head { margin-bottom: 64px; } }

.photo img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; }
.photo figcaption { margin-top: 10px; font-size: .8125rem; color: var(--c-muted); text-align: center; }

/* ---------- 2. Coylカードとは ---------- */
.about { display: grid; gap: 48px; }
.about__lead { font-family: var(--font-serif); font-size: clamp(1.0625rem, 3.2vw, 1.3125rem); line-height: 2; }
.about__lead strong { color: var(--c-coral-deep); font-size: 1.15em; }
.about__steps { margin-top: 32px; display: grid; gap: 14px; counter-reset: step; }
.about__steps li {
  display: flex; align-items: center; gap: 18px;
  background: var(--c-white); border-radius: var(--radius); padding: 16px 20px;
  border: 1px solid var(--c-line);
}
.about__num {
  flex: 0 0 64px; height: 64px; display: grid; place-items: center;
  border-radius: 50%; font-family: var(--font-en); font-size: 1.75rem; line-height: 1;
  color: var(--c-green-deep); background: var(--c-green-pale);
}
.about__steps li:nth-child(2) .about__num { color: var(--c-coral-deep); background: var(--c-coral-pale); }
.about__num--icon { color: var(--c-blue-deep); background: var(--c-blue-pale); }
.about__step-text strong { color: var(--c-brown); }

.about__gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.about__gallery .photo--main { grid-column: 1 / -1; }
.about__gallery .photo:not(.photo--main) img { aspect-ratio: 1 / 1; }

@media (min-width: 900px) {
  .about { grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
  .about__gallery { gap: 16px; }
}

/* ---------- 3. 活用できる場面 ---------- */
.scenes { display: grid; gap: 28px; }
.scene {
  background: var(--c-white); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--c-line); padding-bottom: 24px;
}
.scene img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.scene__title {
  margin: 20px 22px 6px; font-family: var(--font-serif); font-size: 1.1875rem; color: var(--c-brown);
  display: flex; align-items: center; gap: 10px;
}
.scene__title::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c-green);
}
.scene:nth-child(3n+2) .scene__title::before { background: var(--c-coral); }
.scene:nth-child(3n) .scene__title::before { background: var(--c-blue); }
.scene p { margin: 0 22px; font-size: .9375rem; color: var(--c-muted); line-height: 1.85; }

@media (min-width: 640px) { .scenes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .scenes { grid-template-columns: repeat(3, 1fr); gap: 32px; } }

/* ---------- 4. カリキュラム ---------- */
.curriculum { display: grid; gap: 40px; }
.days { display: grid; gap: 16px; position: relative; }
.day {
  display: grid; grid-template-columns: 76px 1fr; align-items: center; gap: 18px;
  background: var(--c-white); border-radius: var(--radius); padding: 18px 20px;
  box-shadow: 0 6px 20px -16px rgba(40, 70, 90, .5);
}
.day__label {
  display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%;
  border: 1px solid var(--c-blue); background: var(--c-blue-pale);
  font-family: var(--font-en); font-size: 1.875rem; line-height: 1; color: var(--c-blue-deep);
}
.day__label span { font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: -12px; }
.day__title { font-family: var(--font-serif); font-size: 1.125rem; color: var(--c-brown); }
.day__body p { font-size: .9375rem; color: var(--c-muted); line-height: 1.75; margin-top: 2px; }

@media (min-width: 900px) {
  .curriculum { grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; }
  .day { padding: 22px 28px; gap: 26px; grid-template-columns: 84px 1fr; }
  .day__label { width: 84px; height: 84px; }
}

/* ---------- 5. 修了後の活動 ---------- */
.after { display: grid; gap: 40px; }
.after__photo img { aspect-ratio: 4 / 3; }
.after__items { display: grid; gap: 20px; align-content: center; }
.after-item {
  background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius-lg);
  padding: 28px 26px;
}
.after-item__title {
  font-family: var(--font-serif); font-size: 1.25rem; color: var(--c-brown);
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px;
}
.after-item p { color: var(--c-muted); font-size: .9375rem; }

.tag {
  display: inline-block; font-family: var(--font-sans); font-size: .8125rem; font-weight: 700;
  padding: 2px 14px; border-radius: 999px; letter-spacing: .1em;
}
.tag--green { background: var(--c-green-pale); color: var(--c-green-deep); }
.tag--blue { background: var(--c-blue-pale); color: var(--c-blue-deep); }

@media (min-width: 900px) {
  .after { grid-template-columns: .8fr 1.2fr; gap: 64px; }
  .after__photo img { aspect-ratio: 3 / 4; }
  .after-item { padding: 34px 36px; }
}

/* ---------- 6. 協会のサポート ---------- */
.supports { display: grid; gap: 20px; }
.support {
  background: var(--c-white); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--c-line); display: flex; flex-direction: column;
}
.support__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.support__body { padding: 22px 24px 26px; }
.support__title { font-family: var(--font-serif); font-size: 1.125rem; color: var(--c-brown); margin-bottom: 8px; }
.support__body p { color: var(--c-muted); font-size: .9375rem; }
.support__meta { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.support__body .support__meta span {
  font-size: .8125rem; font-weight: 700; color: var(--c-coral-deep);
  background: var(--c-coral-pale); padding: 3px 12px; border-radius: 999px;
}
.support--text { flex-direction: row; align-items: flex-start; gap: 0; padding: 24px 0 0 24px; }
.support--text .support__body { padding-top: 0; }
.support__icon {
  flex: 0 0 56px; height: 56px; display: grid; place-items: center; border-radius: 50%;
  background: var(--c-green-pale); color: var(--c-green-deep);
}
.support--text:last-child .support__icon { background: var(--c-blue-pale); color: var(--c-blue-deep); }

@media (min-width: 760px) {
  .supports { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}

.notice {
  margin-top: 40px; padding: 26px 28px; border-radius: var(--radius);
  background: var(--c-white); border: 1px solid var(--c-coral); border-left-width: 6px;
}
.notice__title { font-size: 1rem; color: var(--c-coral-deep); margin-bottom: 10px; }
.notice li { position: relative; padding-left: 1.3em; font-size: .9375rem; }
.notice li + li { margin-top: 6px; }
.notice li::before { content: "※"; position: absolute; left: 0; color: var(--c-coral-deep); }

/* ---------- 7. 講座概要・お申し込み ---------- */
.apply { background: var(--c-white); }
.apply::before {
  background:
    radial-gradient(40% 40% at 100% 0%, rgba(227, 154, 128, .14), transparent 70%),
    radial-gradient(40% 46% at 0% 100%, rgba(169, 195, 214, .26), transparent 70%);
}
.apply__inner { display: grid; gap: 40px; }

.outline { border-top: 1px solid var(--c-line); }
.outline > div {
  display: grid; grid-template-columns: 7.5em 1fr; gap: 12px;
  padding: 16px 4px; border-bottom: 1px solid var(--c-line);
}
.outline dt { color: var(--c-green-deep); font-weight: 700; font-size: .9375rem; }
.outline dd { font-size: .9375rem; }
.outline__price dd { display: flex; flex-direction: column; }
.price { font-family: var(--font-serif); font-size: 1.75rem; color: var(--c-brown); line-height: 1.4; letter-spacing: .04em; }
.price small { font-size: .875rem; font-family: var(--font-sans); margin-left: 2px; }
.price-sub { font-size: .875rem; color: var(--c-muted); }

.apply__box {
  background: var(--c-base); border-radius: var(--radius-lg); padding: 28px 24px 32px;
  text-align: center; border: 1px solid var(--c-line);
  display: flex; flex-direction: column; align-items: center;
}
.apply__img { width: 100%; max-width: 420px; border-radius: var(--radius); margin-bottom: 22px; }
.apply__text { margin-bottom: 18px; }
.apply__pending { margin-top: 12px; font-size: .8125rem; color: var(--c-muted); }

@media (min-width: 900px) {
  .apply__inner { grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
  .outline > div { grid-template-columns: 9em 1fr; padding: 20px 8px; }
  .apply__box { padding: 36px 40px 40px; }
}

/* ---------- フッター ---------- */
.site-footer { background: var(--c-cream); padding: 56px 0 32px; text-align: center; border-top: 1px solid var(--c-line); }
.site-footer__inner { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.site-footer img { width: 140px; }
.site-footer__name { font-family: var(--font-serif); color: var(--c-brown); }
.site-footer__top { font-size: .8125rem; }
.site-footer__copy { margin-top: 16px; color: var(--c-muted); }

/* ---------- スクロール時のフェードイン（JS有効時のみ） ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
}

/* グリッド内の要素がはみ出さないように */
.hero__inner > *, .about > *, .curriculum > *, .after > *, .apply__inner > *, .outline > div > * { min-width: 0; }

/* 補足情報（アーカイブ受講・お支払い方法） */
.curriculum__note {
  margin-top: 32px; padding: 14px 20px;
  background: rgba(255, 253, 249, .7); border-radius: var(--radius);
  font-size: .875rem; color: var(--c-muted); line-height: 1.8;
  position: relative; padding-left: 2.4em;
}
.curriculum__note::before { content: "※"; position: absolute; left: 1.1em; color: var(--c-blue-deep); }
.price-note { margin-top: 8px; font-size: .8125rem; color: var(--c-muted); line-height: 1.7; }
@media (min-width: 900px) { .curriculum__note { margin-top: 40px; } }
