/* ============================================
   会場診断アプリ — トキハナLPトンマナ準拠
   アーキタイプ①ブランド訴求型（モードA）
   トークン出典: tokihana-lp-design/references/components.css（2026-07-08実測）
   ============================================ */

:root {
  /* --- 共通ブランドトークン --- */
  --blue: #4ca3bf;
  --red: #c5476e;
  --blue-light1: #c4d5d9;
  --blue-light2: #d7e7f0;
  --pink-light: #f4ebec;
  --gray: #95999f;
  --gray-light1: #dbe0e7;
  --gray-light2: #f2f2f4;
  --gray-light3: #f6f6f6;
  --ink: #222;
  --ink-sub: #777;
  --shadow-card: 0 1px 6px rgba(32, 33, 36, 0.28);

  /* --- ①ブランド訴求型トークン --- */
  --cta-grad: linear-gradient(#3299bf, #217fae);
  --cta-radius: 50px;
  --cta-border: 1px solid #fff;
  --cta-shadow: drop-shadow(0 0 4px rgba(0, 0, 0, 0.2));
  --bal-color: #1e8ec6;
  --accent: #d44f9e;
  --marker: #f4cdd9;
  --bg-section-a: #dfdad2;   /* ベージュ */
  --bg-section-b: #a0c0d3;   /* ブルーグレー */
  --gold-text: #b98936;
  --gold-bg: #fbf3e8;

  --font: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium",
          "ヒラギノ角ゴ Pro W3", "HiraginoSans-W3", "メイリオ", sans-serif;
}

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

html { font-size: 62.5%; } /* 1rem = 10px */

body {
  font-family: var(--font);
  font-size: 1.4rem;
  background: var(--bg-section-a);
  color: var(--ink);
  line-height: 1.8;
  text-align: center;
  -webkit-font-smoothing: antialiased;
}

button { font-family: var(--font); }

.app {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 12px 40px;
}

.app-header { padding: 4px 0 0; }
.logo_img { width: 150px; height: auto; display: inline-block; padding: 20px 0 16px; }

/* ---- カード共通 ---- */
.card {
  background: #fff;
  border-radius: 10px;
  padding: 28px 22px;
  box-shadow: var(--shadow-card);
  text-align: left;
}

/* ---- プログレスバー ---- */
.progress { display: flex; gap: 8px; margin-bottom: 20px; }
.progress span { flex: 1; height: 3px; border-radius: 2px; background: var(--gray-light1); }
.progress span.done { background: var(--blue); }

.step-label {
  font-family: "Poppins", sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.15em;
  color: var(--blue);
  font-weight: bold;
  margin-bottom: 8px;
}
.step-title {
  font-size: 2.4rem;
  font-weight: bold;
  font-feature-settings: "palt";
  letter-spacing: 0.06em;
  line-height: 1.4;
  margin-bottom: 6px;
}
.step-sub {
  font-size: 1.3rem;
  color: var(--ink-sub);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--gray-light1);
  margin-bottom: 20px;
}

/* ---- 選択肢：エリア（2列グリッド） ---- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.opt-tile {
  display: block;
  width: 100%;
  border: 1px solid var(--gray-light1);
  background: var(--gray-light3);
  border-radius: 6px;
  padding: 14px 8px;
  text-align: center;
  cursor: pointer;
  transition: all .15s;
}
.opt-tile .opt-main { font-size: 1.6rem; font-weight: bold; color: var(--ink); }
.opt-tile .opt-sub  { font-size: 1.1rem; color: var(--ink-sub); margin-top: 2px; }
.opt-tile.selected { background: var(--blue); border-color: var(--blue); }
.opt-tile.selected .opt-main,
.opt-tile.selected .opt-sub { color: #fff; }

/* ---- 選択肢：人数（縦リスト） ---- */
.opt-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  border: 1px solid var(--gray-light1);
  background: var(--gray-light3);
  border-radius: 6px;
  padding: 14px 16px;
  margin-bottom: 12px;
  text-align: left;
  cursor: pointer;
  transition: all .15s;
}
.opt-row .opt-main { font-size: 1.5rem; font-weight: bold; }
.opt-row .opt-sub  { font-size: 1.2rem; color: var(--ink-sub); margin-top: 2px; }
.opt-row .opt-badge {
  flex-shrink: 0;
  background: var(--blue-light2);
  color: var(--blue);
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 20px;
  padding: 4px 12px;
}
.opt-row.selected { background: var(--blue-light2); border: 2px solid var(--blue); }

/* ---- 選択肢：雰囲気（画像カード2列） ---- */
.vibe-card {
  border: 1px solid var(--gray-light1);
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  padding: 0;
  text-align: left;
  cursor: pointer;
  transition: all .15s;
}
.vibe-card .vibe-img {
  height: 100px;
  overflow: hidden;
}
.vibe-card .vibe-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.vibe-card .vibe-text { padding: 10px 12px 12px; }
.vibe-card .opt-main { font-size: 1.5rem; font-weight: bold; }
.vibe-card .opt-sub  { font-size: 1.1rem; color: var(--ink-sub); margin-top: 2px; }
.vibe-card.selected { border: 2px solid var(--blue); background: var(--blue-light2); }

/* 雰囲気カードの仮背景（トークン内の淡色のみ。本番で実写写真に差し替え） */
.vibe-elegant   { background: var(--gold-bg); }
.vibe-natural   { background: var(--gray-light2); }
.vibe-classical { background: var(--blue-light1); }
.vibe-feminine  { background: var(--pink-light); }
.vibe-casual    { background: var(--bg-section-a); }
.vibe-wamodern  { background: var(--blue-light2); }

/* ---- リンク・ボタン ---- */
.link-center {
  display: block;
  text-align: center;
  font-size: 1.3rem;
  color: var(--blue);
  margin: 18px auto 4px;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  width: 100%;
}

/* 主ボタン＝実LPの .btn（ティール縦グラデ・ピル型・矢印つき） */
.btn-primary {
  display: block;
  width: 100%;
  background: var(--cta-grad);
  color: #fff !important;
  font-size: 1.6rem;
  font-weight: bold;
  font-feature-settings: "palt";
  letter-spacing: 0.05em;
  border: var(--cta-border);
  border-radius: var(--cta-radius);
  padding: 18px 34px;
  margin-top: 20px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  filter: var(--cta-shadow);
  position: relative;
}
.btn-primary::after {
  position: absolute;
  content: "";
  width: 0.5em;
  height: 0.5em;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  right: 20px;
  top: 45%;
  animation: arrow-nudge 1.2s ease-in-out infinite;
}
.btn-primary:disabled {
  background: var(--gray-light1);
  color: var(--gray) !important;
  cursor: not-allowed;
  filter: none;
}
.btn-primary:disabled::after { border-color: var(--gray); animation: none; }

@keyframes arrow-nudge {
  0%, 100% { right: 20px; }
  50% { right: 15px; }
}

/* 副ボタン＝①型のセカンダリ（白グラデ＋ブルー枠） */
.btn-outline {
  display: block;
  width: 100%;
  background: linear-gradient(#fff, #e3e3e3);
  color: var(--bal-color);
  font-size: 1.4rem;
  font-weight: bold;
  border: 1px solid var(--bal-color);
  border-radius: var(--cta-radius);
  padding: 14px;
  margin-top: 10px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}

.btn-back {
  background: none;
  border: none;
  color: var(--ink-sub);
  font-size: 1.3rem;
  cursor: pointer;
  margin-bottom: 12px;
  padding: 4px 0;
}

/* ---- CTA上の吹き出しマイクロコピー ---- */
.btn_bal {
  filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.1));
  width: fit-content;
  margin: 14px auto 0;
  position: relative;
  top: 10px;
  z-index: 10;
  border: 2px solid var(--bal-color);
  background-color: #fff;
  border-radius: 20px;
  color: var(--bal-color);
  padding: 1px 15px 0;
  font-size: 1.2rem;
  font-weight: bold;
}
.btn_bal::after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 50%;
  width: 10px;
  height: 10px;
  background: #fff;
  border-right: 2px solid var(--bal-color);
  border-bottom: 2px solid var(--bal-color);
  transform: translateX(-50%) rotate(45deg);
}

/* ---- その他都道府県セレクト ---- */
.pref-select {
  width: 100%;
  margin-top: 14px;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid var(--gray-light1);
  font-family: var(--font);
  font-size: 1.4rem;
  color: var(--ink);
  background: var(--gray-light3);
}

/* ---- 結果画面 ---- */
.result-head {
  background: var(--cta-grad);
  border-radius: 10px 10px 0 0;
  color: #fff;
  padding: 22px 22px 18px;
  text-align: left;
}
.result-head .cond {
  font-family: "Poppins", sans-serif;
  font-size: 1.2rem;
  opacity: .9;
  letter-spacing: .05em;
}
.result-head h2 {
  font-size: 2rem;
  font-weight: bold;
  font-feature-settings: "palt";
  letter-spacing: 0.06em;
  margin-top: 4px;
}
.result-head .why {
  font-size: 1.2rem;
  background: rgba(255,255,255,.16);
  border-radius: 6px;
  padding: 8px 12px;
  margin-top: 12px;
  line-height: 1.6;
}

.result-body {
  background: #fff;
  border-radius: 0 0 10px 10px;
  padding: 18px 14px 22px;
  box-shadow: var(--shadow-card);
}

.venue-card {
  border: 1px solid var(--gray-light1);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 16px;
  text-align: left;
}
/* 会場写真（tokihana.netのメイン写真） */
.venue-img {
  height: 180px;
  background: var(--gray-light2);
  overflow: hidden;
}
.venue-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.venue-info { padding: 16px 16px 18px; }
.venue-name {
  font-size: 1.8rem;
  font-weight: bold;
  font-feature-settings: "palt";
}
/* イチオシ・持ち込みOKバッジ（本サイトの osusume_tags と同じ配色） */
.venue-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.badge-ichioshi {
  background: var(--ink);
  color: #fff;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 4px;
  padding: 3px 10px;
}
.badge-mochikomi {
  background: #fff;
  color: var(--red);
  border: 1px solid var(--red);
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 4px;
  padding: 2px 10px;
}
/* ドレスのみ持ち込み可（フル持ち込みOKとは別タグ） */
.badge-dress {
  background: #fff;
  color: var(--accent);
  border: 1px solid var(--accent);
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 4px;
  padding: 2px 10px;
}

.venue-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 1.2rem;
  color: var(--ink-sub);
}
/* 費用相場バッジ＝①型のゴールドバッジ流用。低・中・高の3段階で該当だけ強調 */
.price-badge {
  flex-shrink: 0;
  font-size: 1.2rem;
  font-weight: bold;
  border: 1px solid var(--gold-text);
  border-radius: 20px;
  padding: 2px 12px;
  background: var(--gold-bg);
  color: var(--gold-text);
}
.price-badge .on { font-size: 1.3rem; }
.price-badge .off {
  color: var(--gold-text);
  opacity: .38;
  font-weight: normal;
  margin: 0 1px;
}
.venue-reason {
  background: var(--blue-light2);
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 1.25rem;
  color: var(--ink);
  margin-top: 12px;
  line-height: 1.6;
}
.venue-reason-label {
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--bal-color);
  margin-bottom: 2px;
}
.venue-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.venue-tags span {
  background: var(--gray-light2);
  color: var(--ink-sub);
  font-size: 1.1rem;
  border-radius: 4px;
  padding: 3px 10px;
}
.venue-strengths { list-style: none; margin-top: 12px; }
.venue-strengths li {
  font-size: 1.3rem;
  font-weight: bold;
  padding-left: 24px;
  position: relative;
  margin-bottom: 6px;
}
.venue-strengths li::before {
  content: '✓';
  position: absolute;
  left: 2px;
  color: var(--blue);
  font-weight: bold;
}

/* ---- 費用感の注記 ---- */
.price-note {
  font-size: 1.1rem;
  color: var(--ink-sub);
  text-align: left;
  padding: 0 4px 12px;
}

/* ---- 口コミ（tokihana.netの実口コミ） ---- */
.venue-review {
  background: var(--gray-light3);
  border-left: 3px solid var(--blue);
  border-radius: 0 6px 6px 0;
  padding: 10px 14px;
  margin-top: 14px;
  text-align: left;
}
.venue-review-head {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--blue);
  margin-bottom: 4px;
}
.venue-review-head .stars { color: #f5c518; }
.venue-review-head .review-count { color: var(--ink-sub); font-weight: normal; }
.venue-review p {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--ink);
}
.venue-review-attr {
  font-size: 1.1rem;
  color: var(--ink-sub);
  margin-top: 4px;
  text-align: right;
}

/* ---- 「他の会場も見る」 ---- */
#more-venues { margin-top: 4px; }

/* ---- 時期質問チップ ---- */
.timing-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 14px;
}
.timing-chip {
  border: 1px solid var(--blue);
  background: #fff;
  color: var(--blue);
  font-size: 1.3rem;
  font-weight: bold;
  border-radius: 20px;
  padding: 8px 16px;
  cursor: pointer;
}
.timing-chip.selected {
  background: var(--blue);
  color: #fff;
}

/* ---- 結果画面下部：次の一歩 ---- */
.next-box {
  background: #fff;
  border-radius: 10px;
  padding: 24px 20px 26px;
  margin-top: 16px;
  box-shadow: var(--shadow-card);
}
.next-box h3 {
  font-size: 1.8rem;
  font-weight: bold;
  font-feature-settings: "palt";
  letter-spacing: 0.06em;
}
.next-box h3 .txt_marker {
  background: linear-gradient(transparent 65%, var(--marker) 65%);
}
.next-box p { font-size: 1.25rem; color: var(--ink-sub); margin-top: 6px; }

.footnote {
  text-align: center;
  font-size: 1.1rem;
  color: var(--ink-sub);
  margin-top: 24px;
  line-height: 1.7;
}

/* ---- トースト ---- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  background: rgba(50, 50, 50, 0.92);
  color: #fff;
  font-size: 1.3rem;
  border-radius: 20px;
  padding: 10px 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
  white-space: nowrap;
  z-index: 100;
}
.toast.show { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .btn-primary::after { animation: none; }
}
