:root {
  --navy: #0b1f3a;
  --navy-deep: #081527;
  --gold: #c9a227;
  --gold-light: #e6c85c;
  --red: #b91c1c;
  --red-dark: #96150f;
  --text-dark: #1a2233;
  --text-muted: #5a6472;
  --bg-light: #f7f8fa;
  --white: #ffffff;
  --radius: 10px;
  --max-width: 1080px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
}

h1, h2, h3 {
  font-family: "Noto Serif JP", serif;
  margin: 0;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 36px;
  position: relative;
  padding-bottom: 14px;
}
.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 3px;
  background: var(--gold);
}
.section-title.on-dark { color: var(--white); }

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(180deg, #d13a3a, var(--red));
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 16px 28px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  width: 100%;
  box-shadow: 0 8px 20px rgba(185,28,28,0.35);
  transition: transform .15s ease, box-shadow .15s ease;
  text-decoration: none;
}
.btn-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(185,28,28,0.45); }
.btn-cta:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* ===== Hero =====
   テキストは画像に焼き込まず、写真の上にHTMLで載せる。
   背景写真を差し替えるときは --hero-photo の値だけ変更する。 */
.hero {
  --hero-photo: url("../images/hero-photo-pc.jpg");
  position: relative;
  isolation: isolate;
  color: var(--white);
  background: var(--navy-deep) var(--hero-photo) 74% 60% / cover no-repeat;
  padding: 26px 0 34px;
  min-height: 660px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  /* 左のテキストの可読性を確保しつつ、右側は写真をしっかり見せる */
  background:
    linear-gradient(96deg, rgba(8,21,39,.9) 0%, rgba(8,21,39,.82) 38%, rgba(8,21,39,.34) 62%, rgba(8,21,39,.1) 100%),
    linear-gradient(180deg, rgba(8,21,39,.55) 0%, rgba(8,21,39,0) 32%, rgba(8,21,39,.7) 100%);
}
/* .heroがflexコンテナなので、containerを幅いっぱいに伸ばして他セクションと左右を揃える */
.hero-inner { position: relative; width: 100%; }

.hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 30px;
}
/* ロゴは紺＋赤の正規版のため、暗いFV上では白いプレートに載せて可読性を確保する */
.brand {
  display: inline-block;
  background: var(--white);
  border-radius: 6px;
  padding: 9px 14px;
  line-height: 0;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
}
.brand img { width: 148px; height: auto; }
.hero-kicker {
  margin: 4px 0 0;
  font-size: .82rem;
  font-weight: 700;
  color: #e8eef8;
  text-align: right;
}

/* FVの構図：テキストは左側にまとめ、右半分は時計台が見えるように空けておく */
.hero-body {
  display: grid;
  gap: 24px;
  align-items: start;
}
.hero-copy { max-width: 700px; }
/* 情報パネルと実績バッジを同じ行に並べ、下端を揃える */
.hero-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.hero-badge {
  display: inline-block;
  margin: 0 0 18px;
  padding: 8px 22px;
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--white);
  background: rgba(8,21,39,.72);
  border: 1px solid var(--gold);
  clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
}
.hero-title {
  font-size: clamp(1.85rem, 3.2vw, 2.7rem);
  line-height: 1.28;
  font-weight: 700;
  margin: 0 0 16px;
  text-wrap: pretty;
  text-shadow: 0 2px 16px rgba(0,0,0,.4);
}
.hero-title .accent { color: var(--gold-light); }
.hero-lead {
  margin: 0;
  font-size: .95rem;
  line-height: 1.9;
  color: #e3eaf6;
}

/* 日時・会場・定員は写真の明るい部分に重なるので、半透明のパネルに乗せて可読性を確保する */
.hero-facts {
  margin: 0;
  flex: 1 1 470px;
  min-width: 0;
  max-width: 470px;
  padding: 22px 26px;
  border-left: 3px solid var(--gold);
  border-radius: 4px 10px 10px 4px;
  background: rgba(8,21,39,.66);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: grid;
  gap: 18px;
}
.hero-fact { display: flex; align-items: flex-start; gap: 16px; }
.hero-fact dt { margin: 0; flex: none; }
.hero-fact dd { margin: 0; }
.fact-icon svg {
  width: 40px; height: 40px;
  fill: none;
  stroke: var(--gold-light);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}
.fact-main {
  display: block;
  font-family: "Noto Serif JP", serif;
  font-size: 1.28rem;
  line-height: 1.35;
  font-weight: 700;
}
.fact-main .dot { color: var(--gold-light); margin: 0 1px; }
.fact-main .dow { font-size: .84rem; }
.fact-main .big { color: var(--gold-light); font-size: 1.7rem; margin: 0 2px; }
.fact-sub {
  display: block;
  font-size: .8rem;
  color: #cbd7e8;
  margin-top: 2px;
}

.hero-trust {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: none;
  display: flex;
  justify-content: flex-end;
  gap: 16px;
}
.hero-trust li {
  width: 116px;
  height: 116px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: rgba(8,21,39,.58);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: .66rem;
  line-height: 1.4;
  font-weight: 700;
  color: #e8eef8;
}
.hero-trust .t-big {
  font-family: "Noto Serif JP", serif;
  font-size: 1.34rem;
  line-height: 1.2;
  color: var(--gold-light);
}

/* FV直下のCTAバー：白帯＋マイクロコピー＋中央揃えボタン */
.hero-cta-bar {
  background: var(--white);
  padding: 20px 0;
  text-align: center;
}
.hero-cta-microcopy {
  font-size: .85rem;
  color: var(--text-muted);
  font-weight: 700;
  margin: 0 0 10px;
}
.hero-cta-bar .btn-cta { max-width: 420px; margin: 0 auto; }

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}
.trust-badge {
  text-align: center;
  font-size: .78rem;
  color: #cbd5e6;
}
.trust-badge .num {
  color: var(--gold-light);
  font-size: 1.1rem;
  font-weight: 700;
  display: block;
  margin-bottom: 2px;
}

/* Form card */
.form-card {
  background: var(--white);
  color: var(--text-dark);
  border-radius: var(--radius);
  padding: 30px 30px 26px;
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
}
.form-card .limited {
  text-align: center;
  color: var(--red);
  font-weight: 700;
  font-size: .82rem;
  margin-bottom: 6px;
}
.form-card h2 {
  text-align: center;
  font-size: 1.25rem;
  margin-bottom: 20px;
}
.field { margin-bottom: 16px; }
.field label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.required-tag {
  background: var(--red);
  color: var(--white);
  font-size: .68rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}
.optional-tag {
  background: #e6e9ee;
  color: var(--text-muted);
  font-size: .68rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d7dbe2;
  border-radius: 6px;
  font-size: .95rem;
  font-family: inherit;
}
.field input::placeholder,
.field textarea::placeholder { color: #b0b6c0; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.consent-note {
  font-size: .74rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 10px;
}
.consent-note a { color: var(--navy); text-decoration: underline; }
.form-error {
  background: #fdecec;
  color: var(--red-dark);
  border: 1px solid #f3b9b9;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: .82rem;
  margin-bottom: 14px;
  display: none;
}
.form-error.show { display: block; }

/* honeypot - hidden from real users */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Why-london section */
.why-section { padding: 64px 0; background: var(--bg-light); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: 0 6px 18px rgba(20,30,50,.06);
  display: flex;
  flex-direction: column;
}
/* LPと同じ「—Point01」のラベル表記に合わせる */
.why-point {
  font-family: "Noto Serif JP", serif;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--gold);
  margin: 0 0 6px;
}
.why-card h3 { font-size: 1.18rem; line-height: 1.5; margin-bottom: 14px; }
.why-card p {
  font-size: .84rem;
  line-height: 1.9;
  color: var(--text-muted);
  margin: 0;
  text-wrap: pretty;
}
.section-title .accent { color: var(--gold); }

/* Benefits section */
.benefits-section { padding: 64px 0; }
.benefits-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 32px;
  align-items: start;
}
.benefits-media {
  display: grid;
  gap: 16px;
}
.benefits-media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
}
.benefits-media img.crop-top-heavy { object-position: center 60%; }
.benefit-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 24px;
  margin-bottom: 20px;
}
.benefit-item { display: flex; gap: 10px; align-items: flex-start; }
.benefit-item .check {
  flex: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem;
  margin-top: 2px;
}
.benefit-item h4 { font-size: .92rem; margin: 0 0 4px; }
.benefit-item p { font-size: .78rem; color: var(--text-muted); margin: 0; }
.benefits-cta {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-weight: 700;
  font-size: .92rem;
}
.benefits-cta span.accent { color: var(--gold-light); }

/* Company section */
.company-section {
  background: var(--navy);
  color: var(--white);
  padding: 64px 0;
}
.company-grid {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.company-grid h2 {
  font-size: 1.4rem;
  margin-bottom: 16px;
  text-align: center;
}
.company-grid p { color: #cbd5e6; font-size: .9rem; margin-bottom: 22px; }

/* Overview section */
.overview-section { padding: 64px 0; }
.overview-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 40px;
  align-items: center;
}
.overview-list { border-top: 1px solid #e3e6ea; }
.overview-row {
  display: flex;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid #e3e6ea;
}
.overview-row .row-label { font-weight: 700; width: 70px; flex: none; }
.overview-row .row-value { font-size: .92rem; }
.overview-row .row-value .must { color: var(--red); font-weight: 700; }
.overview-row .sub-line { color: var(--text-muted); font-size: .78rem; }
.overview-grid img { border-radius: var(--radius); }

/* 開催概要の右側メディア：SPは会場画像、PCは申込みフォームを表示（デフォルトはSP優先） */
.overview-desktop-only { display: none; }
.overview-mobile-only { display: block; }

/* Footer CTA：写真は使わず紺色の帯のみ（SP専用の申込みフォーム、PCでは非表示） */
.footer-cta {
  background: var(--navy-deep);
  color: var(--white);
  padding: 44px 0;
}
/* SPの申込フォームは1カラムの幅をいっぱいに使う */
.footer-cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}
.footer-cta-lead { color: #dbe3ef; font-size: .92rem; }
.footer-cta .form-card { color: var(--text-dark); }

.site-footer {
  background: var(--navy-deep);
  color: #8492a6;
  font-size: .75rem;
  padding: 40px 0 18px;
}
.footer-info { max-width: 720px; margin: 0 auto; }
.footer-logo { text-align: center; margin: 0 0 24px; }
.footer-logo img {
  display: inline-block;
  width: 148px;
  height: 46px;
  object-fit: contain;
  background: var(--white);
  border-radius: 6px;
  padding: 9px 14px;
}
.footer-info-list { margin: 0 0 24px; }
.footer-info-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid rgba(255,255,255,.1);
}
.footer-info-row dt { font-weight: 700; color: #cbd5e6; }
.footer-info-row dd { margin: 0; color: #8492a6; }
.footer-cert-list { list-style: none; margin: 0; padding: 0; }
.footer-cert-list li { line-height: 1.7; }
.footer-info-row-disclaimer dd { font-size: .82em; line-height: 1.9; }
.footer-copyright {
  display: block;
  text-align: center;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.1);
}

@media (max-width: 520px) {
  .footer-info-row { grid-template-columns: 1fr; gap: 4px; }
}

/* Thanks page */
.thanks-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 40px 20px;
}
.thanks-box { max-width: 520px; }
.thanks-box .icon { font-size: 3rem; color: var(--gold-light); margin-bottom: 16px; }
.thanks-box h1 { font-size: 1.5rem; margin-bottom: 16px; }
.thanks-box p { color: #cbd5e6; font-size: .95rem; margin-bottom: 10px; }
.thanks-box a.back-link { color: var(--gold-light); text-decoration: underline; font-size: .85rem; }

/* Responsive */
@media (max-width: 860px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  /* カード3枚を2列に流すと最後の1枚が余るため、全幅で受ける */
  .why-grid .why-card:last-child { grid-column: 1 / -1; }
  .benefits-grid { grid-template-columns: 1fr; }
  .benefit-list { grid-template-columns: 1fr; }
  .overview-grid { grid-template-columns: 1fr; }
  .overview-grid .img-wrap { order: -1; }
  .footer-cta-grid { grid-template-columns: 1fr; text-align: center; }

  /* REDAC Strattonsとは：バッジが中央揃え・改行崩れしないように調整 */
  .trust-badges { flex-direction: column; align-items: center; gap: 10px; }
  .trust-badge { font-size: .74rem; white-space: nowrap; }
}
@media (max-width: 520px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-card h3 { font-size: 1.08rem; }
  .section-title { font-size: 1.3rem; }
}

/* PC(861px〜)：開催概要の右はフォーム、SP専用フッターフォームは非表示 */
@media (min-width: 861px) {
  /* PCでは1行に収める */
  .hero-lead { white-space: nowrap; }
  .overview-mobile-only { display: none; }
  .overview-desktop-only { display: block; }
  .footer-cta { display: none; }
  /* 「対面だからこそ〜」の改行はSP限定（PCは横幅があるので1行のまま） */
  .sp-only-break { display: none; }
}


/* ===== Schedule ===== */
.schedule-section { padding: 64px 0; background: var(--bg-light); }
.schedule-note {
  text-align: center;
  font-size: .85rem;
  color: var(--text-muted);
  margin: -18px 0 34px;
}
.timeline {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 760px;
  display: grid;
  gap: 4px;
}
.tl-item {
  display: grid;
  grid-template-columns: 124px 1fr;
  gap: 22px;
  position: relative;
  padding-bottom: 22px;
}
.tl-item::before {
  content: "";
  position: absolute;
  left: 133px;
  top: 12px;
  bottom: -4px;
  width: 1px;
  background: #d8dde6;
}
.tl-item.is-last::before { display: none; }
.tl-time {
  position: relative;
  padding-right: 22px;
  text-align: right;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  white-space: nowrap;
}
.tl-time::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 8px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--gold);
  box-sizing: border-box;
}
.tl-time .tl-dash { font-size: .8rem; color: var(--text-muted); margin: 0 1px; }
.tl-body {
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: 0 6px 18px rgba(20,30,50,.06);
}
.tl-body h3 { font-size: .98rem; margin-bottom: 4px; }
.tl-body p { font-size: .82rem; color: var(--text-muted); margin: 0; }

/* ===== Hero responsive ===== */
/* PC分岐の下限付近では円を小さくして、バッジが見切れないようにする */
@media (min-width: 861px) and (max-width: 1000px) {
  .hero-trust { gap: 12px; }
  .hero-trust li { width: 100px; height: 100px; font-size: .6rem; }
  .hero-trust .t-big { font-size: 1.16rem; }
}
@media (max-width: 860px) {
  .hero {
    --hero-photo: url("../images/hero-photo-sp.jpg");
    background-position: center 30%;
    min-height: 0;
    display: block;
    padding: 22px 0 30px;
  }
  .hero-top { flex-direction: column; gap: 10px; margin-bottom: 24px; }
  .hero-kicker { text-align: left; font-size: .78rem; }
  .brand { padding: 8px 12px; }
  .brand img { width: 124px; }
  .hero-body { gap: 26px; }
  .hero-row { flex-direction: column; align-items: stretch; gap: 22px; }
  /* SPは縦構図の写真を活かすが、上部の何もない空だけの領域は詰めて無駄な余白にしない */
  .hero-inner { padding-top: 0; }
  .hero-copy { padding-top: 56px; }
  .hero-facts {
    flex: 0 0 auto;
    max-width: none;
    padding: 20px 22px;
  }
  .hero-trust { justify-content: center; gap: 10px; }
  .hero-trust li { width: 98px; height: 98px; font-size: .6rem; }
  .hero-trust .t-big { font-size: 1.14rem; }

  .tl-item { grid-template-columns: 92px 1fr; gap: 14px; }
  .tl-item::before { left: 101px; }
  .tl-time { font-size: .92rem; padding-right: 16px; }
}
@media (max-width: 520px) {
  .hero-title { line-height: 1.34; }
  .hero-badge { font-size: .78rem; padding: 7px 18px; }
  .fact-main { font-size: 1.12rem; }
  .hero-trust li { width: 92px; height: 92px; }
}

/* ===== スマホ用の追従CTA =====
   SPは全長7,200px超で申込フォームが86%地点にあり、FV直下のCTAを過ぎると
   最下部までCTAが無かった。中盤からでも申込へ飛べるようにするための追加。

   既存への影響を避けるための方針：
   ・PC（861px以上）では display:none のまま。既存レイアウトに一切触れない
   ・position:fixed なので通常フローに影響しない（body等の余白も変更しない）
   ・フォーム到達時に消える制御をJS側で行うため、フッターや送信ボタンを覆わない
   ・既存のz-indexは hero-overlay の -1 のみなので、60で衝突しない */
.sticky-cta { display: none; }

@media (max-width: 860px) {
  .sticky-cta {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, .16);
    /* 初期状態は画面外に隠す。JSで .is-visible が付いたら出てくる */
    transform: translateY(130%);
    transition: transform .26s ease;
    pointer-events: none;
  }
  .sticky-cta.is-visible {
    transform: translateY(0);
    pointer-events: auto;
  }
  .sticky-cta-inner {
    /* iPhoneのホームバー領域を避ける */
    padding: 9px 16px calc(9px + env(safe-area-inset-bottom, 0px));
  }
  .sticky-cta-note {
    margin: 0 0 6px;
    text-align: center;
    font-size: .72rem;
    font-weight: 700;
    color: var(--red);
    letter-spacing: .02em;
  }
  .sticky-cta .btn-cta {
    display: flex;
    width: 100%;
    padding: 13px 20px;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(185, 28, 28, .3);
  }
}

/* ===== サイトリンクからの着地位置の調整 =====
   #why 等はサイトリンクで直接飛んでくる着地先。画面上端にぴったり付くと窮屈なので
   少し余白を取る。scroll-margin-top はアンカー移動時にしか効かないため、
   通常のレイアウト・スクロールには一切影響しない。 */
#why,
#benefits,
#schedule,
#company,
#overview { scroll-margin-top: 16px; }
/* 「The Wildery」はスケジュール内の1項目なので、前後の文脈が見えるよう多めに取る */
#wildery { scroll-margin-top: 96px; }
