/* =========================================================
   Design tokens
   - navy    : #353787  (見出し・アクセント)
   - btnNavy : #000252  (CTAボタン)
   - gold    : #D8B463  (ブランドゴールド)
   - text    : #333333  (本文)
   - bgMain  : #FFFEFC  (ページ背景)
   - bgGray  : #F6F6F6  (セクション背景)
   - divider : #E1E1FF  (テーブル・FAQ区切り)
   ========================================================= */

/* ---------- Base reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

/* ---------- レスポンシブ用ヘルパー ---------- */
.sp-br { display: none; }
.pc-br { display: inline; }

/* ---------- Body ---------- */
body {
  font-family: "Hiragino Kaku Gothic Pro W3", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "Noto Sans JP", "Yu Gothic", -apple-system, BlinkMacSystemFont, sans-serif;
  color: #333;
  background: #fffefc;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.05em;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Page wrapper ---------- */
.page { width: 100%; margin: 0 auto; background: #fffefc; }

/* ---------- Header ---------- */

/* ---------- KV hero ---------- */
.kv img { width: 100%; display: block; }

/* ---------- 共通見出し ---------- */
.sec-title {
  font-family: "Hiragino Mincho Pro W6", "Hiragino Mincho Pro", "ヒラギノ明朝 Pro W6", serif;
  font-size: 30px;
  font-weight: 700;
  color: #353787;
  text-align: center;
  letter-spacing: 0.1em;
  line-height: 1.5;
  margin: 0;
}

/* ---------- CTAボタン ---------- */
.cta-wrap { text-align: center; padding: 40px 20px; }
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 400px;
  max-width: 100%;
  height: 60px;
  background: #000252;
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  font-family: "Hiragino Kaku Gothic Pro W6", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W6", sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.1em;
  position: relative;
  transition: opacity .2s;
}
.cta:hover { opacity: 0.85; }
.cta::after {
  content: "";
  position: absolute;
  right: 28px;
  top: 50%;
  width: 14px;
  height: 14px;
  border-right: 2px solid #fff;
  border-top: 2px solid #fff;
  transform: translateY(-50%) rotate(45deg);
}

/* ---------- Caption ---------- */
.caption {
  max-width: 1008px;
  margin: 0 auto;
  padding: 24px 20px 0;
  font-size: 14px;
  color: #000;
  line-height: 2;
  text-align: center;
}

/* ---------- Philosophy ---------- */
.philosophy {
  max-width: 1000px;
  margin: 40px auto 0;
  padding: 6px;
  background: #fff;
  border: 1px solid #d8b463;
}
.philosophy-inner {
  border: 1px solid #d8b463;
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.philosophy-logo img { width: 220px; height: auto; }
.philosophy-title {
  font-family: "Hiragino Mincho Pro W6", "Hiragino Mincho Pro", "ヒラギノ明朝 Pro W6", serif;
  font-size: 24px;
  font-weight: 700;
  color: #d8b463;
  margin: 0 0 12px;
  letter-spacing: 0.1em;
}
.philosophy-body {
  font-size: 16px;
  line-height: 32px;
  color: #333;
  margin: 0 0 12px;
}
.philosophy-body:last-child { margin-bottom: 0; }

/* ---------- Condition ---------- */
.condition {
  background: #f6f6f6;
  margin-top: 80px;
  padding: 50px 20px;
}
.condition-inner {
  max-width: 985px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 60px;
  align-items: center;
}
.collage {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: 320px 185px;
  width: 480px;
}
.collage img { width: 100%; height: 100%; object-fit: cover; display: block; }
.collage .a { grid-column: 1 / 4; grid-row: 1; }
.collage .b { grid-column: 4 / 6; grid-row: 1; }
.collage .c { grid-column: 1 / 3; grid-row: 2; }
.collage .d { grid-column: 3 / 6; grid-row: 2; }
.condition-text h2 {
  font-family: "Hiragino Mincho Pro W6", "Hiragino Mincho Pro", "ヒラギノ明朝 Pro W6", serif;
  font-size: 28px;
  font-weight: 700;
  color: #353787;
  line-height: 1.6;
  margin: 0 0 24px;
  letter-spacing: 0.08em;
}
.condition-text p { margin: 0; font-size: 16px; line-height: 2.5; color: #333; }

/* ---------- Reasons ---------- */
.reasons { max-width: 1002px; margin: 100px auto 0; padding: 0 20px; }
.reasons h2 { margin-bottom: 64px; }
.reason {
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 100px;
}
.reason:nth-child(even) { grid-template-columns: 1fr 480px; }
.reason:nth-child(even) .reason-img { order: 2; }
.reason:nth-child(even) .reason-text { order: 1; }
.reason-img img { width: 480px; height: 540px; object-fit: cover; }
.reason-num {
  font-family: "Garamond Premier Pro", "Garamond", serif;
  font-style: italic;
  font-size: 120px;
  font-weight: 400;
  color: rgba(53, 55, 135, 0.15);
  line-height: 1;
  letter-spacing: -0.02em;
  text-align: left;
  margin-bottom: -90px;
}
.reason-head {
  font-family: "Hiragino Mincho Pro W6", "Hiragino Mincho Pro", "ヒラギノ明朝 Pro W6", serif;
  font-size: 23px;
  font-weight: 700;
  color: #353787;
  line-height: 1.6;
  margin: 0 0 24px;
  letter-spacing: 0.06em;
  text-align: left;
  padding-left: 50px;
  position: relative;
}
.reason-body { font-size: 16px; line-height: 2; color: #333; margin: 0; }

/* ---------- Menu ---------- */
.menu-wrap {
  width: 100%;
  margin: 80px auto 0;
  padding: 50px 20px;
  background: #f6f6f6;
  box-sizing: border-box;
}
.menu-wrap > * { max-width: 1000px; margin-left: auto; margin-right: auto; }
.menu-wrap h2 { margin-bottom: 40px; }
.course {
  text-align: center;
  margin-bottom: 40px;
}
.course--facial { margin-top: 60px; }
.course-title {
  font-family: "Hiragino Kaku Gothic Pro W6", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W6", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin: 0;
  letter-spacing: 0.05em;
}
.course-sub { font-size: 14px; color: #333; margin: 0 0 24px; }
.menu-item {
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 40px;
  align-items: center;
  padding: 25px 0;
}
.menu-item:nth-child(even) { grid-template-columns: 1fr 480px; }
.menu-item:nth-child(even) .menu-img { order: 2; }
.menu-item:nth-child(even) .menu-text { order: 1; }
.menu-item:nth-child(even) .menu-title { text-align: right; }
.menu-img { border: 1px solid #D8B463; }
.menu-img img { width: 480px; height: 300px; object-fit: cover; display: block; }
.menu-title {
  font-family: "Hiragino Mincho Pro W6", "Hiragino Mincho Pro", "ヒラギノ明朝 Pro W6", serif;
  font-size: 26px;
  font-weight: 700;
  color: #353787;
  margin: 0 0 4px;
  letter-spacing: 0.05em;
}
.menu-body { font-size: 15px; line-height: 2.2; color: #333; margin: 0; }

/* ---------- Voices ---------- */
.voices { max-width: 1000px; margin: 100px auto 0; padding: 0 20px; }
.voices h2 { margin-bottom: 48px; }
.voice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 20px;
}
.voice {
  padding: 24px;
  border: 1px solid #e1e1ff;
  background: #fff;
  min-height: 169px;
}
.voice h3 {
  font-family: "Hiragino Mincho Pro W6", "Hiragino Mincho Pro", "ヒラギノ明朝 Pro W6", serif;
  font-size: 18px;
  font-weight: 700;
  color: #353787;
  margin: 0 0 12px;
  letter-spacing: 0.05em;
  line-height: 1.6;
}
.voice p { font-size: 14px; line-height: 1.9; color: #333; margin: 0 0 12px; }
.voice .age { font-size: 12px; color: #666; margin: 0; text-align: right; }

/* ---------- FAQ ---------- */
.faq { max-width: 1000px; margin: 100px auto 0; padding: 0 20px; }
.faq h2 { margin-bottom: 40px; }
.faq-list { border-bottom: 1px solid #e1e1ff; }
.faq-row {
  display: grid;
  grid-template-columns: 66px 1fr;
  align-items: center;
  padding: 8px 0;
}
.faq-row.q { border-top: 1px solid #e1e1ff; padding-top: 16px; }
.faq-row.a { padding-bottom: 16px; }
.faq-mark {
  font-family: "Hiragino Kaku Gothic Pro W6", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W6", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #353787;
  line-height: 1;
  padding-left: 30px;
}
.faq-text {
  font-family: "Hiragino Kaku Gothic Pro W6", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W6", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #333;
  line-height: 1.8;
}
.faq-row.a .faq-text {
  font-family: "Hiragino Kaku Gothic Pro W3", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", sans-serif;
  font-size: 14px;
  font-weight: 400;
}

/* ---------- Stores ---------- */
.stores { max-width: 1000px; margin: 100px auto 0; padding: 0 20px; }
.stores h2 { margin-bottom: 40px; }
.store-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.store {
  display: flex;
  flex-direction: column;
}
.store h3 {
  font-family: "Hiragino Mincho Pro W6", "Hiragino Mincho Pro", "ヒラギノ明朝 Pro W6", serif;
  font-size: 18px;
  font-weight: 700;
  color: #353787;
  text-align: center;
  margin: 0 0 10px;
  letter-spacing: 0.1em;
}
.store img { width: 100%; height: 200px; object-fit: cover; margin-bottom: 20px; }
.store-desc {
  flex: 1;
  font-size: 14px;
  line-height: 2;
  color: #333;
  margin: 0 0 24px;
}
.store-info { width: 100%; border-collapse: collapse; }
.store-info tr { border-bottom: 1px solid #e1e1ff; }
.store-info tr:first-child { border-top: 1px solid #e1e1ff; }
.store-info th,
.store-info td {
  padding: 12px 0;
  font-size: 14px;
  line-height: 1.8;
  vertical-align: top;
  text-align: left;
  font-weight: 400;
  color: #333;
}
.store-info th { width: 80px; }
.store-info td { padding-left: 20px; }
.store-info a { color: #353787; text-decoration: none; }

/* ---------- Notes ---------- */
.notes { max-width: 800px; margin: 40px auto 80px; padding: 0 20px; }
.notes h2 {
  font-family: "Hiragino Mincho Pro W6", "Hiragino Mincho Pro", "ヒラギノ明朝 Pro W6", serif;
  font-size: 28px;
  font-weight: 700;
  color: #353787;
  text-align: center;
  margin: 0 0 24px;
  letter-spacing: 0.1em;
}
.notes p { font-size: 12px; line-height: 2; color: #333; margin: 0; }

/* ---------- Footer ---------- */
.footer { margin-top: 80px; }
.footer img { width: 100%; display: block; }

/* ---------- アニメーション ---------- */

/* スクロール連動フェードイン */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* 横並びブロックのスタガー（PC時のみ） */
.fade-in--delay { transition-delay: 0.25s; }

/* コラージュ画像のスタガー */
.collage .a.fade-in { transition-delay: 0s; }
.collage .b.fade-in { transition-delay: 0.15s; }
.collage .c.fade-in { transition-delay: 0.3s; }
.collage .d.fade-in { transition-delay: 0.45s; }

/* Voiceカードのスタガー */
.voice.fade-in:nth-child(2) { transition-delay: 0.1s; }
.voice.fade-in:nth-child(3) { transition-delay: 0.2s; }
.voice.fade-in:nth-child(4) { transition-delay: 0.1s; }
.voice.fade-in:nth-child(5) { transition-delay: 0.2s; }
.voice.fade-in:nth-child(6) { transition-delay: 0.3s; }

/* CTAシマーエフェクト */
.cta { overflow: hidden; }
.cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  animation: cta-shimmer 4s infinite 1.5s;
}
@keyframes cta-shimmer {
  0%   { left: -100%; }
  40%  { left: 150%; }
  100% { left: 150%; }
}

/* =========================================================
   Responsive: スマートフォン（〜780px）
   ========================================================= */
@media (max-width: 780px) {

  /* -- Base -- */
  body { font-size: 13px; }
  .sp-br { display: inline; }
  .pc-br { display: none; }
  .kv { padding-top: 45px; }

  /* -- 共通見出し -- */
  .sec-title { font-size: 22px; margin-bottom: 32px; }
  .reasons h2,
  .voices h2,
  .faq h2,
  .stores h2 { margin-bottom: 32px; }

  /* -- CTA -- */
  .cta { width: 90%; height: 52px; font-size: 15px; }
  .cta-wrap { padding: 28px 20px; }

  /* -- Caption -- */
  .caption { font-size: 11px; padding: 16px 20px 0; text-align: left !important; line-height: 1.7; }

  /* -- Philosophy -- */
  .philosophy { margin: 24px 16px 0; padding: 4px; }
  .philosophy-inner { flex-direction: column; padding: 18px; gap: 16px; text-align: left; }
  .philosophy-logo img { width: 160px; margin: 0 auto; }
  .philosophy-title { font-size: 18px; text-align: center; margin: 0 0 6px; }
  .philosophy-body { font-size: 14px; line-height: 28px; }
  .philosophy-body br { display: none; }

  /* -- Condition -- */
  .condition { padding: 60px 20px; margin-top: 40px; }
  .condition-inner { grid-template-columns: 1fr; gap: 24px; }
  .collage { width: 100%; grid-template-rows: 220px 140px; }
  .condition-text h2 { font-size: 20px; margin: 0 0 12px; }
  .condition-text p { font-size: 15px; line-height: 2; }
  .condition-text p br { display: none; }

  /* -- Reasons -- */
  .reasons { margin-top: 60px; }
  .reason,
  .reason:nth-child(odd),
  .reason:nth-child(even) { grid-template-columns: 1fr; gap: 20px; margin-bottom: 50px; }
  .reason:nth-child(even) .reason-img,
  .reason:nth-child(even) .reason-text { order: initial; }
  .reason-img img { width: 100%; height: 300px; }
  .reason-text {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    align-items: start;
    gap: 0 12px;
  }
  .reason-num { font-size: 80px; margin: 0; padding: 0; grid-column: 1; grid-row: 1; line-height: 0.85; }
  .os-ios .reason-num { margin-top: 8px; }
  .os-android .reason-num { margin-top: 0; }
  .reason-head { font-size: 20px; padding-left: 0; margin-bottom: 16px; grid-column: 2; grid-row: 1; align-self: center; }
  .reason-body { font-size: 15px; grid-column: 1 / 3; grid-row: 2; }

  /* -- Menu -- */
  .menu-wrap { margin-top: 50px; }
  .menu-wrap h2 { margin-bottom: 10px; }
  .course { margin-bottom: 0; }
  .course-sub { margin-bottom: 0; }
  .course-title { font-size: 20px; }
  .menu-item,
  .menu-item:nth-child(even) { grid-template-columns: 1fr; gap: 12px; padding: 20px 0; }
  .menu-item:nth-child(even) .menu-img,
  .menu-item:nth-child(even) .menu-text { order: initial; }
  .menu-img img { width: 100%; height: 220px; }
  .menu-title { font-size: 20px; text-align: center; margin: 0 0 4px; }
  .menu-item:nth-child(even) .menu-title { text-align: center; }
  .menu-body { line-height: 2; }

  /* -- Voices -- */
  .voices { margin-top: 50px; }
  .voice-grid { grid-template-columns: 1fr; gap: 18px; }
  .voice { min-height: auto; }

  /* -- FAQ -- */
  .faq { margin-top: 50px; }
  .faq-row { grid-template-columns: 46px 1fr; }
  .faq-mark { font-size: 22px; padding-left: 10px; }

  /* -- Stores -- */
  .stores { margin-top: 50px; }
  .store-grid { grid-template-columns: 1fr; gap: 40px; }
  .store img { height: 180px; }
  .store-info th { width: 64px; }
  .store-info td { padding-left: 12px; font-size: 13px; }

  /* -- Notes -- */
  .notes { padding: 0 16px; margin-bottom: 0; }
  .notes h2 { font-size: 20px; }

}
