:root {
  --cream: #F7F3EE;
  --terra: #D4763B;
  --terra-dark: #B85E2A;
  --brown: #4A3728;
  --teal: #3D8F8A;
  --sand: #E8D5C0;
  --ink: #242424;
  --max: 520px;
  --cta-orange: #E8752A;
  --cta-orange-dark: #CF6520;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'LINE Seed JP', sans-serif;
  background: #E8E2DA;
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.8;
  /* LINE Seed JP は 400/700/800 のみ。900 相当の合成太字で漢字が潰れやすいため無効化 */
  font-synthesis: none;
}
strong, b {
  font-weight: 700;
}

body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(74,55,40,0.05) 0px 1px, transparent 1px 32px),
    repeating-linear-gradient(90deg, rgba(74,55,40,0.05) 0px 1px, transparent 1px 32px);
  pointer-events: none;
}

#frame {
  position: relative; z-index: 5;
  max-width: var(--max);
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 0 60px rgba(74,55,40,0.12);
  min-height: 100vh;
}

/* ━━ FV: スクエア ━━ */
.fv {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--brown);
}
.fv-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 6s ease;
}
.fv:hover .fv-bg { transform: scale(1.04); }
.fv-overlay {
  display: none;
}
.fv-content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 24px 22px 28px;
}
.fv-event-badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--cta-orange);
  color: #fff;
  font-size: 10px; font-weight: 700;
  padding: 6px 12px;
  border-radius: 4px;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.fv-event-badge span {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-top: 2px;
}
.fv-logo {
  position: absolute; top: 16px; right: 16px;
  text-align: right;
}
.fv-logo-main {
  font-size: 16px; font-weight: 700;
  color: #fff; line-height: 1;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.fv-logo-sub {
  font-size: 8px; font-weight: 700;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.6);
  margin-top: 2px;
}
.fv-label-en {
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 6px;
}
.fv-catch {
  font-size: 15px; font-weight: 700;
  color: #fff; line-height: 1.7;
  text-shadow: 0 1px 4px rgba(0,0,0,0.2);
  margin-bottom: 12px;
}
.fv-catch .em {
  color: #FFD280;
}
.fv-event-name {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
  letter-spacing: 0.04em;
}
.fv-event-name .sub {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.6);
  margin-top: 8px;
}
@media (max-width: 380px) {
  .fv-catch { font-size: 13px; }
  .fv-event-name { font-size: 30px; }
}

/* ━━ 導入テキスト ━━ */
.intro {
  background: #fff;
  padding: 28px 22px 32px;
}
.intro-body {
  font-size: 14.5px; font-weight: 500;
  color: var(--brown);
  line-height: 1.9;
  margin-bottom: 20px;
}
.intro-body strong {
  font-weight: 700;
  color: var(--terra);
}
.intro-empathy {
  background: var(--cream);
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 22px;
  font-size: 13.5px;
  line-height: 1.9;
  color: rgba(36,36,36,0.7);
}
.intro-empathy strong { color: var(--brown); font-weight: 700; }

/* ━━ CTA ボタン ━━ */
.btn-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--cta-orange);
  color: #fff;
  font-weight: 700; font-size: 15px;
  padding: 16px 24px;
  border-radius: 999px;
  text-decoration: none; border: none; cursor: pointer;
  box-shadow: 0 4px 0 var(--cta-orange-dark), 0 6px 20px rgba(232,117,42,0.3);
  transition: all 0.2s;
  width: 100%;
  letter-spacing: 0.02em;
}
.btn-cta:hover {
  background: var(--cta-orange-dark);
  transform: translateY(-1px);
  box-shadow: 0 5px 0 #B85518, 0 8px 24px rgba(232,117,42,0.35);
}
.btn-cta:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--cta-orange-dark);
}
.btn-cta svg {
  flex-shrink: 0;
  width: 18px; height: 18px;
  stroke: currentColor; fill: none;
  stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
}
.btn-cta__text {
  text-align: center;
  line-height: 1.35;
}
.btn-cta-note {
  text-align: center;
  font-size: 11px;
  color: rgba(36,36,36,0.4);
  margin-top: 10px;
}

/* ━━ セクション共通 ━━ */
.sec-body { padding: 32px 22px 36px; }
.sec-label {
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--teal); display: block; margin-bottom: 8px;
}
.sec-h2 {
  font-weight: 700; font-size: 20px;
  line-height: 1.55; color: var(--brown);
  margin-bottom: 16px;
}
.sec-h2 .accent { color: var(--terra); }
.sec-lead {
  font-size: 13.5px; line-height: 2;
  color: rgba(36,36,36,0.6);
}
.sec-divider {
  width: 100%; height: 1px;
  background: var(--sand);
}
.hw { position: relative; display: inline; }
.hw::after {
  content: '';
  position: absolute; left: -2px; right: -2px; bottom: -4px;
  height: 6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10'%3E%3Cpath d='M2 7 Q50 2 100 6 Q150 10 198 4' stroke='%23D4763B' stroke-width='2.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center/100% 100% no-repeat;
}

/* ━━ 共感セクション（顔イラスト ◯ + 吹き出し） ━━ */
.empathy-section {
  background: var(--cream);
  padding: 32px 22px 36px;
}
.empathy-voice {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.empathy-voice--reverse {
  flex-direction: row-reverse;
}
.empathy-voice__avatar {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow:
    0 2px 12px rgba(74, 55, 40, 0.1),
    0 0 0 1px rgba(74, 55, 40, 0.06);
  background: var(--sand);
}
.empathy-voice__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.empathy-voice__bubble {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
  margin: 0;
  background: #fff;
  border-radius: 16px;
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(36, 36, 36, 0.65);
  box-shadow: 0 2px 12px rgba(74, 55, 40, 0.07);
}
.empathy-voice__bubble::before {
  content: '';
  position: absolute;
  top: 22px;
  width: 0;
  height: 0;
  border: 8px solid transparent;
}
.empathy-voice:not(.empathy-voice--reverse) .empathy-voice__bubble::before {
  left: -8px;
  border-right-color: #fff;
  filter: drop-shadow(-2px 2px 2px rgba(74, 55, 40, 0.05));
}
.empathy-voice--reverse .empathy-voice__bubble::before {
  right: -8px;
  border-left-color: #fff;
  filter: drop-shadow(2px 2px 2px rgba(74, 55, 40, 0.05));
}
.empathy-voice-list .empathy-voice:not(:last-child) {
  margin-bottom: 16px;
}
.empathy-voice-list + .empathy-answer {
  margin-top: 24px;
}
.empathy-answer {
  margin-top: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--brown);
  line-height: 1.75;
  text-align: center;
}
.empathy-answer span {
  color: var(--terra);
  font-weight: 700;
}

/* ━━ 「なぜ辛いか」セクション ━━ */
.why-section {
  background: #fff;
  padding: 32px 22px 36px;
}
.why-card {
  border-radius: 14px;
  padding: 20px 22px;
  margin-bottom: 16px;
  border: 2px solid transparent;
  box-sizing: border-box;
}
.why-card:last-child { margin-bottom: 0; }
.why-card h4 {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px; font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.why-card__icon {
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 16px;
  line-height: 1;
}
.why-card p {
  font-size: 12.5px; line-height: 1.85;
  color: rgba(36, 36, 36, 0.58);
}
/* 注意・ネガ：全体をローズ系の濃い枠で囲む */
.why-card-bad {
  background: linear-gradient(165deg, #fff 0%, #FFF5F3 45%, #FDECE8 100%);
  border-color: #A85A5A;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 6px 20px rgba(74, 55, 40, 0.07);
}
.why-card-bad h4 {
  color: #6B3535;
}
.why-card-bad .why-card__icon {
  color: #A85A5A;
}
/* ポジティブ：ティール系の濃い枠で囲む */
.why-card-good {
  background: linear-gradient(165deg, #FCFEFE 0%, #F2FAF9 40%, #E8F4F3 100%);
  border-color: #2F6F6A;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 6px 22px rgba(47, 111, 106, 0.12);
}
.why-card-good h4 {
  color: #245A56;
}
.why-card-good .why-card__icon {
  color: #2F6F6A;
}

/* ━━ E: 証拠セクション ━━ */
.evidence-section {
  background: var(--brown);
  padding: 36px 22px;
  position: relative;
}
.evidence-section::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 0v40M0 20h40' stroke='rgba(255,255,255,0.03)' stroke-width='1'/%3E%3C/svg%3E");
}
.evidence-staff {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 18px 16px 20px;
  background: rgba(0, 0, 0, 0.14);
}
.evidence-staff + .evidence-staff {
  margin-top: 20px;
}
.evidence-staff__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.evidence-staff__index {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 210, 128, 0.55);
  color: #FFD280;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.evidence-staff__lead {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.4;
}
.evidence-profile {
  display: flex; gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
  position: relative;
}
.evidence-profile--avatar-left {
  align-items: center;
}
.evidence-profile--avatar-right {
  flex-direction: row-reverse;
  align-items: center;
}
.evidence-quals {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.evidence-quals dt {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 8px;
}
.evidence-quals dd {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.8);
}
.evidence-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255,255,255,0.2);
  flex-shrink: 0;
}
.evidence-avatar img {
  width: 100%; height: 100%; object-fit: cover;
}
.evidence-name {
  font-size: 22px; font-weight: 700;
  color: #fff; line-height: 1.2;
  margin: 4px 0 10px;
}
.badge-row { display: flex; flex-wrap: wrap; gap: 5px; }
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
  color: #fff; font-size: 11px; font-weight: 700;
  padding: 5px 10px; border-radius: 99px;
}

/* ━━ 敵セクション ━━ */
.enemy-section {
  background: var(--ink);
  padding: 36px 22px;
}
.enemy-quote {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 18px;
  margin-bottom: 16px;
}
.enemy-quote p {
  font-size: 13.5px; line-height: 1.9;
  color: rgba(255,255,255,0.65);
}
.enemy-quote strong { color: #fff; }
.enemy-quote .hl { color: var(--terra); font-weight: 700; }
.enemy-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 16px;
}
.enemy-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 14px;
}
.enemy-card h4 {
  font-size: 13px; font-weight: 700;
  color: #fff; margin-bottom: 5px;
}
.enemy-card p {
  font-size: 11px; color: rgba(255,255,255,0.4);
  line-height: 1.7;
}

/* ━━ 新しいやり方セクション ━━ */
.newway-section {
  background: var(--cream);
  padding: 32px 22px 36px;
}
.newway-box {
  background: #fff;
  border: 2px solid var(--terra);
  border-radius: 12px;
  padding: 22px 20px;
  margin-top: 16px;
}
.newway-box h3 {
  font-size: 16px; font-weight: 700;
  color: var(--brown);
  line-height: 1.65;
  margin-bottom: 10px;
}
.newway-box p {
  font-size: 12.5px; line-height: 1.9;
  color: rgba(36,36,36,0.55);
}

/* ━━ C: 相談会タブ ━━ */
.consult-section {
  background: #fff;
  padding: 32px 22px 36px;
}
.tab-nav {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--sand);
  margin-bottom: 20px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.tab-btn {
  flex: 1; min-width: 0;
  padding: 10px 4px;
  font-size: 11px; font-weight: 700;
  color: rgba(74,55,40,0.4);
  background: none; border: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.25s;
  white-space: nowrap;
  text-align: center;
}
.tab-btn.active {
  color: var(--terra);
  border-bottom-color: var(--terra);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.check-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(232,213,192,0.5);
}
.check-item:last-child { border-bottom: none; }
.check-icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(61,143,138,0.12);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}
.check-icon svg {
  width: 11px; height: 11px;
  stroke: var(--teal); fill: none;
  stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
}
.check-text {
  font-size: 13px; line-height: 1.75;
  color: var(--ink);
}

/* ━━ プレゼント ━━ */
.present-section {
  background: linear-gradient(180deg, var(--cream) 0%, #fff 100%);
  padding: 32px 22px 36px;
  text-align: center;
}
.present-card {
  margin-top: 16px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(74, 55, 40, 0.08);
}
.present-card img {
  display: block;
  width: 100%;
  height: auto;
}

/* ━━ CTA最終 ━━ */
.final-cta {
  background: var(--brown);
  padding: 36px 22px 40px;
  text-align: center;
  position: relative;
}
.final-cta::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 12px;
  background: #fff;
  clip-path: ellipse(55% 100% at 50% 0%);
}
.final-cta .sec-h2 { color: #fff; }
.final-cta .tagline {
  font-size: 13.5px;
  color: rgba(255,255,255,0.6);
  line-height: 1.9;
  margin-bottom: 24px;
}
.final-cta .merit-row {
  text-align: left;
  margin-bottom: 20px;
}
.final-cta .merit-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px; color: rgba(255,255,255,0.75);
  padding: 5px 0;
}
.final-cta .merit-item svg {
  width: 14px; height: 14px;
  stroke: var(--teal); fill: none;
  stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}
.final-cta .btn-cta {
  font-size: 16px;
  padding: 18px 28px;
}

/* ━━ フッター ━━ */
footer {
  background: #fff;
  color: var(--ink);
  padding: 28px 22px 84px;
  border-top: 1px solid rgba(74, 55, 40, 0.08);
}
footer .f-brand {
  display: inline-block;
  margin-bottom: 16px;
  line-height: 0;
}
footer .f-brand img {
  display: block;
  height: 36px;
  width: auto;
  max-width: min(100%, 280px);
}
footer .f-info {
  font-size: 11px;
  color: rgba(36, 36, 36, 0.72);
  line-height: 1.85;
}
footer .f-info a {
  color: var(--brown);
  text-decoration: underline;
  text-underline-offset: 2px;
}
footer .f-copy {
  font-size: 10px;
  color: rgba(36, 36, 36, 0.45);
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(74, 55, 40, 0.12);
}

/* ━━ SP固定ナビ ━━ */
.sp-nav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: var(--max);
  z-index: 30; display: flex;
  justify-content: center;
  padding: 10px 16px max(14px, env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(232,226,218,0) 0%, rgba(232,226,218,0.94) 40%);
  box-shadow: none;
  pointer-events: none;
}
.sp-nav a {
  pointer-events: auto;
  flex: 1;
  max-width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 14px 20px;
  background: var(--cta-orange);
  color: #fff; text-decoration: none;
  font-size: 13px; font-weight: 700;
  border-radius: 999px;
  box-shadow: 0 4px 0 var(--cta-orange-dark), 0 6px 20px rgba(232,117,42,0.3);
  transition: all 0.2s;
}
.sp-nav a:hover {
  background: var(--cta-orange-dark);
  transform: translateY(-1px);
  box-shadow: 0 5px 0 #B85518, 0 8px 24px rgba(232,117,42,0.35);
}
.sp-nav a:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--cta-orange-dark);
}
.sp-nav .cta-link__text {
  text-align: center;
  line-height: 1.35;
}
.sp-nav svg {
  flex-shrink: 0;
  width: 16px; height: 16px;
  stroke: currentColor; fill: none;
  stroke-width: 2.5; stroke-linecap: round;
}
@media (min-width: 600px) { .sp-nav { display: none; } }
body { padding-bottom: 76px; }
@media (min-width: 600px) { body { padding-bottom: 0; } }

/* スマホ幅のみ改行（600px 未満） */
.br-sp-only {
  display: none;
}
@media (max-width: 599px) {
  .br-sp-only {
    display: inline;
  }
}

/* ━━ フェードアップ ━━ */
.fu {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fu.on { opacity: 1; transform: none; }

/* ━━ 写真帯 ━━ */
.photo-band {
  width: 100%; position: relative; overflow: hidden;
}
.photo-band img {
  width: 100%; display: block;
  height: 200px; object-fit: cover;
}
.photo-band-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(74,55,40,0.5) 100%);
}

/* ━━ イベント詳細帯 ━━ */
.event-info-band {
  background: var(--cream);
  padding: 20px 22px;
  display: flex; flex-direction: column;
  gap: 12px;
}
.event-info-head .sec-label {
  margin-bottom: 6px;
}
.event-info-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--brown);
  margin: 0;
  line-height: 1.35;
  letter-spacing: 0.02em;
}
.event-info-row {
  display: flex; align-items: flex-start; gap: 10px;
}
.event-info-label {
  flex-shrink: 0;
  font-size: 10px; font-weight: 700;
  color: #fff; background: var(--brown);
  padding: 3px 10px; border-radius: 3px;
  min-width: 64px; text-align: center;
}
.event-info-value {
  font-size: 13px; font-weight: 700;
  color: var(--brown); line-height: 1.6;
}

.mid-cta {
  background: var(--cream);
  padding: 0 22px 28px;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}
.btn-cta { animation: pulse 2.5s ease-in-out infinite; }
.btn-cta:hover { animation: none; }
