/* Lu-Lu ヒアリング（試作）。色は Lu-Lu Wedding / Lu-Lu Stories の公開ページ（白地・紺緑 #082b34・生成り・ピーチ）に合わせる */
:root {
  --ink: #1f5c64;
  --ink-2: #4a7a80;
  --muted: #84a0a3;
  --paper: #fbf8f5;
  --cream: #fbf3e9;
  --peach: #f6d8c6;
  --peach-2: #f3c4ae;
  --line: #d6e6e5;
  --card: #ffffff;
  --sel: #3a8a92;
  --serif: "Noto Sans JP", "Hiragino Sans", sans-serif; /* 見出しもゴシック（2026-11-03 CEO） */
  --sans: "Inter", "Noto Sans JP", "Hiragino Sans", sans-serif;
  --shadow: 0 1px 2px rgba(8,43,52,.06), 0 8px 24px rgba(8,43,52,.06);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  min-height: 100svh; display: flex; flex-direction: column;
  background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 15px; line-height: 1.75; letter-spacing: .02em;
  font-feature-settings: "palt";
}
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
#glow { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
/* 夢の中のような淡い光の地 */
body::before { content: ""; position: fixed; inset: -20%; z-index: 0; pointer-events: none;
  background: radial-gradient(40% 35% at 20% 25%, rgba(255,214,226,.55), transparent 70%), radial-gradient(35% 30% at 80% 20%, rgba(214,228,255,.55), transparent 70%), radial-gradient(40% 35% at 70% 80%, rgba(214,245,232,.5), transparent 70%), radial-gradient(35% 30% at 25% 85%, rgba(255,236,206,.5), transparent 70%);
  filter: blur(10px); animation: drift 28s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate3d(3%, -2%, 0) rotate(6deg) scale(1.05); } }
.bz { height: 170px; }
.bz.big { height: 250px; }
.top, .progress, .stage, .foot { position: relative; z-index: 1; }

/* ヘッダー */
.top { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; }
.brand img { height: 40px; width: auto; display: block; }
.top__right { display: flex; align-items: center; gap: 10px; }
.ghost { border: 1px solid var(--line); background: rgba(255,255,255,.7); border-radius: 999px; padding: 7px 16px; font-size: 13px; font-weight: 500; transition: background .2s, border-color .2s; }
.ghost:hover { background: #fff; border-color: #a9cfcf; }
.saved { font-size: 12px; color: var(--ink-2); background: var(--cream); border-radius: 999px; padding: 4px 12px; }

/* 進み具合 */
.progress { width: min(640px, calc(100% - 40px)); margin: 4px auto 0; display: flex; align-items: center; gap: 14px; }
.progress__bar { flex: 1; height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
.progress__bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #f3c4ae, #e7a9b5 45%, #a9c7e8); transition: width .5s ease; }
.progress__num { font-family: "Inter", sans-serif; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; min-width: 34px; text-align: right; }

/* 1問の画面 */
.stage { flex: 1; width: min(640px, calc(100% - 40px)); margin: 0 auto; padding: 40px 0 32px; }
.step { animation: rise .45s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.bot { display: flex; justify-content: center; margin: -6px 0 14px; text-align: center; }
.orb { flex: none; width: 34px; height: 34px; border-radius: 50%; margin-top: 2px;
  background: radial-gradient(circle at 35% 30%, #fff 0 12%, rgba(255,255,255,0) 40%), conic-gradient(from 200deg, #f3c4ae, #e7a9b5, #b8c9ea, #bfe3d6, #f3c4ae);
  box-shadow: 0 0 0 4px rgba(246,216,198,.35); animation: breathe 3.6s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.06); box-shadow: 0 0 0 7px rgba(246,216,198,.22); } }
.bot__text { font-size: 14px; color: var(--ink-2); line-height: 1.8; min-height: 1.8em; max-width: 30em; }

.q { text-align: center; text-wrap: balance; word-break: auto-phrase; font-family: var(--serif); font-weight: 500; font-size: 25px; line-height: 1.6; letter-spacing: .05em; }
.q small { display: block; margin-top: 6px; font-family: var(--sans); font-weight: 400; font-size: 13.5px; color: var(--muted); letter-spacing: .02em; }
.body { margin-top: 26px; }
.sub { margin: 28px 0 12px; font-size: 14px; font-weight: 700; letter-spacing: .04em; text-align: center; }
.sub:first-child { margin-top: 0; }
.grp + .grp { margin-top: 26px; }
.grp .sub { margin-top: 0; }
.sub span { font-weight: 400; color: var(--muted); margin-left: 8px; font-size: 12.5px; }

/* 選択肢（丸い札） */
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip { border: 1px solid var(--line); background: rgba(255,255,255,.82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border-radius: 999px; padding: 9px 18px; font-size: 14.5px; transition: background .18s, color .18s, border-color .18s, transform .08s; }
.chip:hover { border-color: #a9cfcf; }
.chip:active { transform: scale(.97); }
.chip[aria-pressed="true"] { background: var(--sel); border-color: var(--sel); color: #fff; }
.chip.soft { color: var(--muted); }
.chip.soft[aria-pressed="true"] { color: #fff; }

/* 写真つきの選択肢 */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.pick { position: relative; text-align: left; border: 1px solid var(--line); background: var(--card); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: border-color .18s, box-shadow .18s, transform .08s; }
.pick:hover { box-shadow: var(--shadow); }
.pick:active { transform: scale(.985); }
.pick__img { aspect-ratio: 16 / 9; background: var(--cream) center / cover no-repeat; }
.pick__img.cut { background-size: contain; background-color: var(--cream); }
.pick__img.none { background: radial-gradient(circle at 30% 40%, #fbe9df, transparent 60%), radial-gradient(circle at 75% 60%, #e6eef8, transparent 55%), var(--cream); }
.pick__t { padding: 12px 16px 2px; font-weight: 700; font-size: 15px; }
.pick__d { padding: 0 16px 14px; font-size: 12.5px; color: var(--muted); line-height: 1.65; }
.pick[aria-pressed="true"] { border-color: var(--sel); box-shadow: 0 0 0 2px var(--sel) inset; }
.pick .mark { position: absolute; top: 10px; right: 10px; width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,.9); border: 1px solid var(--line); display: grid; place-items: center; }
.pick[aria-pressed="true"] .mark { background: var(--sel); border-color: var(--sel); }
.pick[aria-pressed="true"] .mark::after { content: ""; width: 9px; height: 5px; border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg) translate(1px,-1px); }
.list { display: grid; gap: 10px; }
.list .pick { flex-direction: row; align-items: center; gap: 0; padding: 4px 0; }
.list .pick__t { padding: 12px 18px 2px; }
.list .pick > div { flex: 1; }
.list .pick .mark { position: static; margin-right: 16px; flex: none; }
.tag { display: inline-block; margin-left: 8px; font-size: 11px; font-weight: 700; letter-spacing: .06em; color: #8a4b33; background: #fbe4d8; border-radius: 999px; padding: 1px 9px; vertical-align: 2px; }

/* 表（カミングアウト） */
.grid { display: grid; gap: 14px; }
.grid__row { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 10px; }
.grid__row b { font-size: 14.5px; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg .chip { padding: 6px 13px; font-size: 13.5px; }

/* 入力 */
.field { width: 100%; border: 1px solid var(--line); background: var(--card); border-radius: 12px; padding: 12px 14px; font-size: 15px; outline: none; transition: border-color .18s, box-shadow .18s; }
.field:focus { border-color: #8cc3c4; box-shadow: 0 0 0 3px rgba(246,216,198,.45); }
textarea.field { min-height: 110px; resize: vertical; line-height: 1.7; }
.urls { display: grid; gap: 8px; }
.add { margin-top: 8px; background: none; border: 0; color: var(--ink-2); font-size: 13.5px; text-decoration: underline; text-underline-offset: 3px; }
.reveal { margin-top: 26px; animation: rise .35s ease both; }

/* 送る・戻る */
.nav { display: flex; align-items: center; justify-content: space-between; margin-top: 36px; gap: 12px; }
.back { background: none; border: 0; color: var(--muted); font-size: 14px; padding: 10px 4px; }
.back:hover { color: var(--ink); }
.skip { background: none; border: 0; color: var(--muted); font-size: 13.5px; text-decoration: underline; text-underline-offset: 3px; margin-left: auto; padding: 10px 6px; }
.next { border: 0; background: var(--sel); color: #fff; border-radius: 999px; padding: 13px 34px; font-size: 15px; font-weight: 500; letter-spacing: .06em; transition: opacity .2s, transform .08s; }
.next:active { transform: scale(.97); }
.next[disabled] { opacity: .35; cursor: default; }

/* はじめの画面 */
.intro { text-align: center; padding-top: 8px; }
.intro__photo { width: 100%; aspect-ratio: 21 / 9; border-radius: 20px; background: url(img/beach.webp) center 60% / cover; margin-bottom: 30px; box-shadow: var(--shadow); }

.intro h1 { font-family: var(--serif); font-weight: 600; font-size: 30px; line-height: 1.6; letter-spacing: .06em; }
.intro p.lead { margin-top: 16px; color: var(--ink-2); font-size: 15px; line-height: 2; }
.intro .meta { margin-top: 18px; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.intro .meta span { font-size: 12.5px; background: var(--cream); color: var(--ink-2); border-radius: 999px; padding: 4px 14px; }
.intro .next { margin-top: 30px; padding: 15px 44px; }
.intro .resume { display: block; margin: 14px auto 0; background: none; border: 0; color: var(--ink-2); font-size: 13.5px; text-decoration: underline; text-underline-offset: 3px; }

/* 結果 */
.memo { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; }
.memo h3 { font-family: var(--serif); font-weight: 600; font-size: 17px; letter-spacing: .05em; }
.memo dl { margin-top: 12px; display: grid; grid-template-columns: 112px 1fr; gap: 8px 14px; font-size: 13.5px; }
.memo dt { color: var(--muted); }
.memo dd { line-height: 1.7; }
.memo .edit { margin-top: 12px; background: none; border: 0; font-size: 13px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.recs { margin-top: 30px; display: grid; gap: 14px; }
.rec { background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: grid; grid-template-columns: 180px 1fr; }
.rec__img { background: var(--cream) center / cover no-repeat; min-height: 150px; }
.rec__img.logo { background-size: 74% auto; background-color: #fff; }
.rec__b { padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.rec__k { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; color: #8a4b33; }
.rec__t { font-family: var(--serif); font-weight: 600; font-size: 18px; line-height: 1.5; }
.rec__d { font-size: 13.5px; color: var(--ink-2); line-height: 1.75; }
.rec__why { margin-top: 4px; display: flex; flex-wrap: wrap; gap: 6px; }
.rec__why span { font-size: 12px; background: var(--cream); border-radius: 999px; padding: 2px 10px; color: var(--ink-2); }
.rec__a { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.btn2 { border: 1px solid var(--ink); background: #fff; color: var(--ink); border-radius: 999px; padding: 8px 18px; font-size: 13.5px; font-weight: 500; text-decoration: none; display: inline-block; }
.btn2.solid { background: var(--ink); color: #fff; }
.venues { margin-top: 30px; }
.venues h3, .actions h3 { font-family: var(--serif); font-weight: 600; font-size: 18px; letter-spacing: .05em; }
.venues > p { margin-top: 6px; font-size: 12.5px; color: var(--muted); line-height: 1.7; }
.vlist { margin-top: 14px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.v { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.v b { font-size: 14.5px; line-height: 1.5; }
.v span { font-size: 12.5px; color: var(--muted); }
.v a { margin-top: 6px; font-size: 12.5px; color: var(--ink-2); }
.actions { margin-top: 34px; background: linear-gradient(135deg, #fdf1ea, #f3f1fb); border-radius: 20px; padding: 24px 22px; }
.actions p { margin-top: 6px; font-size: 13.5px; color: var(--ink-2); }
.actions .row { margin-top: 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.act { border: 1px solid var(--line); background: #fff; border-radius: 14px; padding: 14px 16px; text-align: left; display: flex; flex-direction: column; gap: 4px; transition: box-shadow .2s; }
.act:hover { box-shadow: var(--shadow); }
.act b { font-size: 14.5px; }
.act span { font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.act.main { background: var(--ink); border-color: var(--ink); color: #fff; }
.act.main span { color: rgba(255,255,255,.75); }

/* ログイン・トースト */
.modal { position: fixed; inset: 0; z-index: 10; background: rgba(8,43,52,.32); display: grid; place-items: center; padding: 20px; animation: fade .2s ease both; }
@keyframes fade { from { opacity: 0; } }
.modal__card { position: relative; width: min(420px, 100%); background: #fff; border-radius: 20px; padding: 30px 26px 24px; box-shadow: 0 20px 60px rgba(8,43,52,.2); }
.modal__x { position: absolute; top: 10px; right: 12px; border: 0; background: none; font-size: 22px; color: var(--muted); width: 36px; height: 36px; }
.modal h2 { font-family: var(--serif); font-weight: 600; font-size: 20px; letter-spacing: .04em; }
.modal p { margin-top: 8px; font-size: 13.5px; color: var(--ink-2); }
.modal .opts { margin-top: 18px; display: grid; gap: 10px; }
.modal .opt { border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 12px; font-size: 14.5px; font-weight: 500; }
.modal .opt:hover { border-color: #cdbfb1; }
.modal small { display: block; margin-top: 14px; font-size: 12px; color: var(--muted); line-height: 1.7; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 11; background: var(--ink); color: #fff; font-size: 13.5px; border-radius: 999px; padding: 10px 22px; animation: rise .3s ease both; }

/* フッター */
.foot { text-align: center; padding: 18px 20px 26px; font-size: 11.5px; color: var(--muted); line-height: 1.8; }

/* スマホ */
@media (max-width: 640px) {
  body { font-size: 14.5px; }
  .top { padding: 12px 16px; }
  .brand img { height: 32px; }
  .ghost { padding: 6px 12px; font-size: 12.5px; }
  .progress { width: calc(100% - 32px); }
  .stage { width: calc(100% - 32px); padding-top: 28px; }
  .q { font-size: 21px; }
  .intro h1 { font-size: 23px; }
  .bz { height: 130px; }
  .bz.big { height: 200px; }
  .cards { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pick__t { padding: 10px 12px 0; font-size: 14px; }
  .pick__d { padding: 0 12px 12px; font-size: 12px; }
  .grid__row { grid-template-columns: 1fr; gap: 8px; }
  .rec { grid-template-columns: 1fr; }
  .rec__img { min-height: 140px; }
  .vlist { grid-template-columns: 1fr; }
  .actions .row { grid-template-columns: 1fr; }
  .memo dl { grid-template-columns: 1fr; gap: 2px; }
  .memo dd { margin-bottom: 8px; }
  .nav { position: sticky; bottom: 0; padding: 14px 0 calc(14px + env(safe-area-inset-bottom)); background: linear-gradient(rgba(251,248,245,0), rgba(251,248,245,.78) 45%); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); margin-top: 24px; }
}
@media (max-width: 640px) { .nav.static { position: static; background: none; padding: 0; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }


/* ===== 空の背景＋シルエット（2026-11-03 CEO：シネマティックなブルーの空・答えで背景が変わる） ===== */
body { background: #9fbfdc; }
body::before { display: none; }
#scene { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  /* 上は深い青 → 地平線に向かって淡く → 地平線の手前に夕方の暖かい光 */
  background:
    radial-gradient(120% 55% at 50% 92%, rgba(255,214,180,.75), rgba(255,214,180,0) 60%),
    linear-gradient(180deg, #17375e 0%, #2f5f8f 22%, #6e9bc4 46%, #b9d2e6 66%, #e9e4e3 82%, #f2d9c8 100%); }
/* 雲（ゆっくり流れる） */
#scene::before { content: ""; position: absolute; inset: -10% -30%; pointer-events: none;
  background:
    radial-gradient(18% 6% at 22% 20%, rgba(255,255,255,.55), transparent 70%),
    radial-gradient(26% 7% at 68% 14%, rgba(255,255,255,.45), transparent 70%),
    radial-gradient(14% 5% at 84% 34%, rgba(255,255,255,.4), transparent 70%),
    radial-gradient(22% 6% at 38% 40%, rgba(255,255,255,.35), transparent 70%),
    radial-gradient(30% 8% at 10% 52%, rgba(255,255,255,.3), transparent 70%);
  filter: blur(14px); animation: clouds 90s linear infinite alternate; }
@keyframes clouds { to { transform: translate3d(12%, 0, 0); } }
/* 周辺の暗がり＋フィルムのざらつき */
#scene::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(130% 100% at 50% 40%, transparent 55%, rgba(10,24,45,.35) 100%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5  0 0 0 0 .5  0 0 0 0 .5  0 0 0 .5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: .5; mix-blend-mode: soft-light; }
#sceneSvg { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 62%; }
.sc-el { opacity: 0; transform: translateY(14px); transition: opacity 1.4s ease, transform 1.6s cubic-bezier(.2,.7,.2,1); }
.sc-el.on { opacity: 1; transform: none; }
.sc-people { opacity: 0; }
.sc-people.on { opacity: .62; }
#glow { z-index: 0; }
/* 空の上の文字：ヘッダーは白っぽく */
.progress__num { color: rgba(255,255,255,.85); }
.progress__bar { background: rgba(255,255,255,.35); }
.ghost { background: rgba(255,255,255,.8); border-color: rgba(255,255,255,.9); }
.foot { color: rgba(40,60,90,.75); }
@media (max-width: 640px) { #sceneSvg { height: 50%; } }

/* 見やすさの調整：空の上の文字は白、シルエットは淡くぼかす、ロゴは白い台に載せる */
.bot__text, .q small, .sub, .sub span, .intro p.lead, .back, .skip, .add { color: rgba(255,255,255,.92); text-shadow: 0 1px 8px rgba(10,30,55,.35); }
.q, .intro h1 { color: #fff; text-shadow: 0 2px 14px rgba(10,30,55,.35); }
.memo, .rec, .v, .act, .grid__row, .pick { color: var(--ink); text-shadow: none; }
.memo .sub, .rec .sub { color: var(--ink); text-shadow: none; }
.brand { display: inline-block; background: rgba(255,255,255,.85); border-radius: 999px; padding: 4px 14px; box-shadow: 0 2px 12px rgba(10,30,55,.12); }
.brand img { height: 34px; }
#sceneSvg { height: 54%; filter: blur(1.2px); }
.sc-el.on { opacity: .5; }
.sc-people.on { opacity: .62; }
@media (max-width: 640px) {
  #sceneSvg { height: 46%; }
  .brand img { height: 26px; }
  .nav { background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ===== 実写の逆光写真（2026-11-03 CEO：エモーショナルな実写風・影は黒く・逆光の写真のように） ===== */
#scene { background: #2a4a6e; }
#scene::before { display: none; }
#scene .ph { position: absolute; inset: 0; background: center 70% / cover no-repeat; opacity: 0; transition: opacity 1.8s ease; transform: scale(1.04); }
#scene .ph.on { opacity: 1; animation: kenburns 40s ease-in-out infinite alternate; }
@keyframes kenburns { to { transform: scale(1.1) translate3d(-1%, -1%, 0); } }
/* 文字を読みやすく：上と下を少し沈め、全体をほんの少し暗く */
#scene::after { z-index: 2; background:
    linear-gradient(180deg, rgba(8,20,40,.55) 0%, rgba(8,20,40,.12) 30%, rgba(8,20,40,.18) 60%, rgba(8,20,40,.45) 100%),
    radial-gradient(130% 100% at 50% 45%, transparent 55%, rgba(5,12,25,.45) 100%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5  0 0 0 0 .5  0 0 0 0 .5  0 0 0 .07 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 1; mix-blend-mode: normal; }
#sceneSvg { z-index: 1; filter: none; }
.sc-people.on { opacity: 1; }
.foot { color: rgba(255,255,255,.75); }

@media (max-width: 640px) { #sceneSvg { height: 62%; } }
