/* ===========================================================
   Pick You Up — 講習・サロンについて
   Shared stylesheet — all-black edition

   NOTE on fonts: no external font files are loaded at all (no Google
   Fonts / no CDN). Every font below is a system font already
   installed on Mac and Windows, so there is nothing to download and
   nothing that can silently fail or get blocked by an extension —
   the page renders identically everywhere, every time.
   - Headings/brand mark ("マジックミラー黒崎" / "講習・サロンについて")
     use the system Mincho (serif) stack.
   - Everything else uses the system Gothic stack, led by Hiragino
     Kaku Gothic ProN — a bolder, more graphic Gothic than the old
     web font, for a stronger/sharper look.
   =========================================================== */

:root {
  /* --- colors: navy-black base (matches brand key visual), flat yellow + deep emerald accents --- */
  --ink:            #08090d;
  --ink-raise:      #0d0e14;
  --card:           #12141b;
  --card-hover:     #171923;
  --line:           rgba(255, 255, 255, 0.10);
  --line-strong:    rgba(255, 255, 255, 0.18);

  --text-strong:    #f5f4ef;
  --text-body:      #cbc9c4;
  --text-muted:     #8b8a89;

  --yellow:         #f0c530;
  --yellow-hover:   #d9af23;
  --yellow-ink:     #17130a;

  --green:          #22a86e;
  --green-ink:      #06170f;
  --red:            #d1555f;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --container: 1120px;
  --gutter: 24px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text-body);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic Medium", "Yu Gothic", YuGothic, -apple-system, BlinkMacSystemFont, Meiryo, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

h1, h2, h3, h4 {
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic Bold", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  font-weight: 700;
  color: var(--text-strong);
  line-height: 1.4;
  margin: 0;
  letter-spacing: 0.03em;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ===========================================================
   Header
   =========================================================== */
.site-header { position: relative; z-index: 20; background: var(--ink); border-bottom: 1px solid var(--line); }
.site-header--sticky { position: sticky; top: 0; }
.site-header__bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px var(--gutter); max-width: var(--container); margin: 0 auto;
}
.site-header__bar.left-only { justify-content: flex-start; }
.site-header__bar.right-only { justify-content: flex-end; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand__mark { width: 34px; height: 34px; border-radius: 9px; overflow: hidden; flex: none; box-shadow: 0 0 0 1px var(--line); }
.brand__mark img { width: 100%; height: 100%; object-fit: cover; }
.brand__name { font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic Bold", "Yu Gothic", YuGothic, Meiryo, sans-serif; color: var(--text-strong); font-size: 15px; font-weight: 700; letter-spacing: 0.02em; }
.brand__name span { color: var(--yellow); }

.header-brand {
  /* システム標準の明朝体を直接指定（外部フォント配信に依存しないため、
     ネットワーク環境やブラウザ拡張機能の影響を受けず常に同じ見え方になる） */
  font-family: "Yu Mincho", YuMincho, "游明朝", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "MS PMincho", serif;
  font-weight: 600; font-size: 12.5px; letter-spacing: 0.14em;
  color: var(--text-strong);
}
.header-brand b { color: var(--text-strong); font-weight: 900; }

.header-back {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--text-strong);
  transition: color 0.2s var(--ease);
}
.header-back:hover { color: var(--yellow); }
.header-back svg { width: 16px; height: 16px; }

/* ===========================================================
   Hero — top image (index) / plain title band (course pages)
   =========================================================== */
.hero-image { width: 100%; position: relative; line-height: 0; }
.hero-image img { width: 100%; height: clamp(200px, 42vw, 420px); object-fit: cover; display: block; }
.hero-image::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%;
  background: linear-gradient(180deg, rgba(8,9,13,0) 0%, rgba(8,9,13,0.92) 100%);
  pointer-events: none;
}

.hero-title { padding: 40px 0 60px; text-align: center; }
.hero-title h1 {
  /* 同上：システム明朝体を直接指定し、外部フォント読込の成否に左右されないようにする */
  font-family: "Yu Mincho", YuMincho, "游明朝", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "MS PMincho", serif;
  font-size: clamp(26px, 6vw, 38px);
  font-weight: 700;
  letter-spacing: 0.1em;
}

/* course detail: plain dark title band, no image */
.hero-plain { padding: 44px 0 34px; }
.hero-plain h1 {
  position: relative;
  font-size: clamp(26px, 6vw, 38px);
  font-weight: 700;
  padding-bottom: 16px;
  margin-bottom: 24px;
}
.hero-plain h1::after {
  content: "";
  position: absolute;
  left: 2px;
  bottom: 0;
  width: 60px;
  height: 4px;
  border-radius: var(--radius-pill);
  background: var(--yellow);
}
.hero-plain__meta { display: flex; flex-wrap: wrap; gap: 10px; }
.meta-chip {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-pill);
  padding: 9px 16px; font-size: 13px; font-weight: 500; color: var(--text-body);
}
.meta-chip svg { width: 15px; height: 15px; color: var(--yellow); flex: none; }
.meta-chip b { color: var(--text-strong); font-weight: 700; }

/* ===========================================================
   Section
   =========================================================== */
.section { padding: 16px 0; }
.section--tight { padding: 16px 0; }

.section__head { max-width: 640px; margin: 0 0 26px; }
.section__head h2 { font-size: clamp(20px, 4vw, 26px); }

/* section-card — boxes each course-detail section so boundaries are
   clear without needing divider lines between sections */
.section-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px clamp(20px, 4.5vw, 44px) 38px;
}

/* ===========================================================
   Course cards (index)
   =========================================================== */
.cards { display: grid; grid-template-columns: 1fr; gap: 38px; }
@media (min-width: 860px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

.card {
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px 24px 24px;
  transition: transform 0.24s var(--ease), border-color 0.24s var(--ease), background 0.24s var(--ease);
}
.card:hover { transform: translateY(-3px); border-color: var(--line-strong); background: var(--card-hover); }

.card h3 { position: relative; font-size: 20px; font-weight: 700; margin-bottom: 22px; padding-bottom: 15px; }
.card h3::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 34px; height: 3px; border-radius: 2px; background: var(--yellow);
}

.check-list { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; line-height: 1.65; color: var(--text-body); }
.check-ico {
  flex: none; width: 18px; height: 18px;
  display: flex; align-items: center; justify-content: center; margin-top: 1px;
}
.check-ico svg { width: 14px; height: 14px; color: var(--green); filter: drop-shadow(0 0 3px rgba(34,168,110,0.5)); }

.card__price { display: flex; align-items: baseline; gap: 6px; margin: 6px 0 18px; }
.card__price .amount { font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic Bold", "Yu Gothic", YuGothic, Meiryo, sans-serif; font-size: 19px; font-weight: 700; color: var(--text-strong); }
.card__price .unit { font-size: 12px; color: var(--text-muted); }

.card__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.card__actions.single { grid-template-columns: 1fr; }
.card__actions .btn { min-width: 0; padding: 0 14px; }
@media (max-width: 400px) { .card__actions { grid-template-columns: 1fr; } }

/* ===========================================================
   Buttons — flat, no gradients
   =========================================================== */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 22px; border-radius: var(--radius-pill);
  font-weight: 700; font-size: 14.5px; letter-spacing: 0.02em; cursor: pointer; border: none;
  transition: transform 0.16s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn:active { transform: translateY(1px) scale(0.99); }

.btn--primary { background: var(--yellow); color: var(--yellow-ink); }
.btn--primary:hover { background: var(--yellow-hover); }

.btn--outline { background: transparent; color: var(--text-strong); border: 1.5px solid var(--line-strong); }
.btn--outline:hover { border-color: var(--yellow); color: var(--yellow); }

.btn--block { width: 100%; }
.btn--lg { min-height: 58px; font-size: 15.5px; padding: 0 28px; }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.cta-row.center { justify-content: center; }
.cta-row.center .btn { width: 288px; }
@media (max-width: 380px) { .cta-row.center .btn { width: 100%; } }

/* ===========================================================
   Plain checklist (講習のゴール, no card boxes)
   =========================================================== */
.plain-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.plain-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15.5px; line-height: 1.75; color: var(--text-body); }
.plain-list .check-ico { width: 24px; height: 24px; margin-top: 2px; }
.plain-list .check-ico svg { width: 13px; height: 13px; }

/* example list — plain diamond marker (white), kept distinct from the yellow step numbers and green goal-checklist */
.example-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 720px) { .example-list { grid-template-columns: 1fr 1fr; } }
.example-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.7; color: var(--text-body); }
.example-list .diamond-ico {
  flex: none; width: 18px; height: 18px; margin-top: 2px;
  display: flex; align-items: center; justify-content: center;
}
.example-list .diamond-ico svg { width: 10px; height: 10px; color: var(--text-strong); }

/* simple info line (所要時間・期間・場所) — no card wrapper */
.info-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.info-list li { display: flex; align-items: flex-start; gap: 14px; }
.info-list__icon {
  flex: none; width: 34px; height: 34px; border-radius: 9px;
  border: 1px solid var(--line-strong); display: flex; align-items: center; justify-content: center;
}
.info-list__icon svg { width: 17px; height: 17px; color: var(--yellow); }
.info-list h4 { font-size: 14.5px; font-weight: 700; color: var(--text-strong); margin-bottom: 4px; }
.info-list p { margin: 0; font-size: 13.5px; line-height: 1.75; color: var(--text-muted); }

/* ===========================================================
   Steps (講習の流れ) — outline number marker, no filled circle
   =========================================================== */
.steps { counter-reset: step; display: flex; flex-direction: column; margin-top: 4px; }
.step { counter-increment: step; position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding-bottom: 26px; }
.step:last-child { padding-bottom: 0; }
.step::before { content: ""; position: absolute; left: 19px; top: 40px; bottom: 0; width: 1px; background: var(--line); }
.step:last-child::before { display: none; }
.step__num {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid var(--line-strong); background: var(--ink);
  color: var(--yellow); display: flex; align-items: center; justify-content: center;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic Bold", "Yu Gothic", YuGothic, Meiryo, sans-serif; font-weight: 700; font-size: 14px; flex: none; z-index: 1;
}
.step__num::before { content: counter(step); }
.step__body { padding-top: 8px; }
.step__body p { margin: 0; font-size: 14.5px; line-height: 1.8; color: var(--text-body); }

/* ===========================================================
   Testimonials (講習生の成果) — clean editorial card
   =========================================================== */
.testi-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 720px) { .testi-grid { grid-template-columns: repeat(2, 1fr); } }

.testi { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 22px 22px 20px; }
.testi__head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; flex-wrap: wrap; }
.testi__name { font-size: 15px; font-weight: 700; color: var(--text-strong); }
.testi__meta { font-size: 12.5px; color: var(--text-muted); margin-bottom: 16px; }

.testi__label { font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; color: var(--text-muted); display: block; margin-bottom: 8px; }
.testi__before { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.testi__before li { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; line-height: 1.7; color: var(--text-body); }

.x-ico {
  flex: none; width: 18px; height: 18px; margin-top: 1px;
  display: flex; align-items: center; justify-content: center;
}
.x-ico svg { width: 12px; height: 12px; color: var(--red); filter: drop-shadow(0 0 3px rgba(209,85,95,0.45)); }

.testi__result { display: flex; align-items: flex-start; gap: 9px; }
.testi__result .check-ico { margin-top: 1px; }
.testi__result-body { font-size: 14px; line-height: 1.7; color: var(--text-strong); font-weight: 600; }
.testi__result-body ul { margin: 4px 0 0; padding-left: 16px; font-weight: 600; }
.testi__result-body li { color: var(--text-strong); }

/* ===========================================================
   CTA — plain, casual (no card box)
   =========================================================== */
.cta-plain { text-align: center; padding: 8px 0 4px; }
.cta-plain h3 { font-size: clamp(18px, 4vw, 22px); margin-bottom: 8px; }
.cta-plain p { color: var(--text-muted); font-size: 13.5px; margin: 0 0 24px; }

/* ===========================================================
   Footer
   =========================================================== */
.site-footer { background: var(--ink); color: var(--text-muted); padding: 48px 0 30px; border-top: 1px solid var(--line); }
.footer__brand { display: flex; align-items: center; gap: 11px; justify-content: center; margin-bottom: 8px; }
.footer__brand img { width: 30px; height: 30px; border-radius: 8px; }
.footer__brand span { font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic Bold", "Yu Gothic", YuGothic, Meiryo, sans-serif; font-weight: 700; color: var(--text-strong); font-size: 15.5px; letter-spacing: 0.02em; }
.footer__sub {
  font-family: "Yu Mincho", YuMincho, "游明朝", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "MS PMincho", serif;
  text-align: center; font-size: 15px; font-weight: 600;
  color: var(--text-strong); letter-spacing: 0.2em; margin: 0 0 30px;
}
.footer__sub b { color: var(--text-strong); font-weight: 900; }

.sns-row { display: flex; align-items: center; justify-content: center; gap: 18px; margin-bottom: 30px; }
.sns-row a {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.22s var(--ease);
}
/* 各アイコンは公式アプリアイコンと同じ「角丸四角のタイル」構造にし、
   枠(円形フレーム)は使わずアイコン自体の色・形をそのまま見せる */
.sns-row a svg { width: 52px; height: 52px; display: block; }
.sns-row a:hover { transform: translateY(-4px); }

.sns-row a.icon-youtube svg { filter: drop-shadow(0 4px 10px rgba(255,0,0,0.35)); }
.sns-row a.icon-instagram svg { filter: drop-shadow(0 4px 10px rgba(214,41,118,0.35)); }
.sns-row a.icon-tiktok svg { filter: drop-shadow(0 4px 10px rgba(0,0,0,0.5)); }
.sns-row a.icon-note svg { filter: drop-shadow(0 4px 10px rgba(255,255,255,0.1)); }

.footer__legal { text-align: center; font-size: 12px; color: #63615a; line-height: 1.8; }
.footer__legal a { color: #86837a; text-decoration: underline; text-underline-offset: 2px; }
.footer__legal a:hover { color: var(--yellow); }

/* ===========================================================
   Reveal-on-scroll
   =========================================================== */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

