/* Fashion Rating 共通スタイル(女性版・男性版・カップル版) */
:root {
  --mincho: "Shippori Mincho B1", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --gothic: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --script: "Great Vibes", cursive;
  --gold: #b88f55;
  --gold-2: #d8b77d;
  --gold-deep: #8f6a35;
  --card: #fffdfb;
}
/* テーマ */
.t-w { --bg: #f8f3ec; --bg-2: #f2e8de; --ink: #3b3431; --ink-soft: #6f6560; --accent: #e0688f; --accent-2: #f3a3bd; --deep: #8c3b5a; --line: #eadfcd; }
.t-m { --bg: #eef2f8; --bg-2: #e2e9f3; --ink: #1f2a3c; --ink-soft: #5a667a; --accent: #2f63c4; --accent-2: #7ea4e6; --deep: #1c2f55; --line: #d3dcea; }
.t-c { --bg: #f8f2f7; --bg-2: #efe5f2; --ink: #3a3040; --ink-soft: #6d6275; --accent: #b46fd8; --accent-2: #f19bbf; --deep: #6b3f8f; --line: #e7d9ec; }
.t-hub { --bg: #f8f3ec; --bg-2: #f2e8de; --ink: #3b3431; --ink-soft: #6f6560; --accent: #b88f55; --accent-2: #d8b77d; --deep: #8f6a35; --line: #eadfcd; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--gothic); line-height: 1.9; }
img { max-width: 100%; display: block; }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--deep); outline-offset: 3px; }
.inner { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ヘッダー */
.fr-head { position: relative; z-index: 5; }
.fr-head .inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 78px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 44px; height: 44px; border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,.1); }
.brand-name { font-family: var(--script); font-size: 1.9rem; line-height: 1; }
.brand-ver { display: block; font-size: .72rem; color: var(--ink-soft); letter-spacing: .06em; margin-top: 2px; }
.fr-nav { display: flex; align-items: center; gap: 22px; font-size: .85rem; }
.fr-nav a { text-decoration: none; }
.fr-nav a:hover { color: var(--deep); }
.pill { display: inline-block; padding: 8px 20px; border-radius: 999px; background: var(--accent); color: #fff; text-decoration: none; font-size: .85rem; white-space: nowrap; }

/* バージョン切り替え */
.switch { display: flex; gap: 8px; flex-wrap: wrap; }
.switch a { display: inline-flex; align-items: center; gap: 6px; padding: 4px 14px 4px 5px; border-radius: 999px; text-decoration: none; font-size: .82rem; background: #ffffffb0; border: 1px solid var(--line); }
.switch a img { width: 24px; height: 24px; border-radius: 7px; }
.switch a[aria-current="page"] { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ヒーロー */
.hero { position: relative; overflow: hidden; }
.hero .inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: center; min-height: 560px; }
.hero-copy { position: relative; z-index: 2; padding: 30px 0 70px; }
.hero h1 { font-family: var(--mincho); font-weight: 600; font-size: clamp(2rem, 4.3vw, 3.1rem); line-height: 1.6; letter-spacing: .06em; margin: 18px 0 18px; }
.hero p { margin: 0 0 26px; color: var(--ink-soft); max-width: 27em; }
.hero-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 52%; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.hero-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 0%, transparent 38%), linear-gradient(0deg, var(--bg) 0%, transparent 18%); }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store { display: inline-flex; flex-direction: column; justify-content: center; min-width: 150px; padding: 8px 18px; border-radius: 10px; background: #8c8580; color: #fff; line-height: 1.3; }
.store small { font-size: .65rem; opacity: .85; }
.store b { font-size: 1.05rem; }

/* セクション */
.sec { padding: 80px 0; }
.script { font-family: var(--script); color: var(--accent); font-size: 1.9rem; line-height: 1; display: block; margin-bottom: 6px; transform: rotate(-4deg); transform-origin: left; }
.sec h2 { font-family: var(--mincho); font-weight: 600; letter-spacing: .06em; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.6; margin: 0 0 14px; }
.sec h2 .big { font-size: 1.4em; color: var(--accent); }
.lead { color: var(--ink-soft); margin: 0; font-size: .95rem; max-width: 34em; }

/* 使い方 */
.howto .inner { display: grid; grid-template-columns: 1fr 1.9fr; gap: 40px; align-items: center; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps li { background: var(--card); border-radius: 14px; padding: 18px 16px 0; box-shadow: 0 4px 20px rgba(60,40,30,.07); overflow: hidden; }
.step-head { display: grid; grid-template-columns: 38px 1fr; gap: 10px; align-items: start; min-height: 66px; }
.num { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, var(--accent-2), var(--accent)); color: #fff; font-family: var(--mincho); font-size: 1.2rem; }
.step-head b { font-family: var(--mincho); font-size: 1.05rem; display: block; line-height: 1.4; }
.step-head div span { font-size: .72rem; color: var(--ink-soft); line-height: 1.5; display: block; }
.phone { margin: 12px auto 0; width: 128px; height: 200px; border: 6px solid #1f1f1f; border-bottom: 0; border-radius: 22px 22px 0 0; background: #fff; overflow: hidden; position: relative; }
.phone .cam { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.phone .shutter { position: absolute; left: 50%; bottom: 12px; width: 30px; height: 30px; margin-left: -15px; border-radius: 50%; border: 3px solid #fff; background: #ffffff55; }
.phone.ai .cam { filter: brightness(.45) saturate(.6); }
.ai-ring { position: absolute; left: 50%; top: 42%; transform: translate(-50%,-50%); width: 64px; height: 64px; border-radius: 50%; border: 2px solid #7fd3ff; box-shadow: 0 0 14px #7fd3ff, inset 0 0 10px #7fd3ff; display: grid; place-items: center; color: #dff4ff; font-weight: 700; }
.ai-label { position: absolute; left: 0; right: 0; top: 66%; text-align: center; color: #dff4ff; font-size: .7rem; }
.phone.result { display: grid; place-items: center; align-content: start; padding-top: 16px; background: #fffaf3; }
.phone.result small { font-size: .65rem; color: var(--ink-soft); }
.mini-medal { width: 82px; margin-top: 6px; }

/* チェックポイント */
.check { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.check .inner { display: grid; grid-template-columns: 1fr 210px; gap: 32px; align-items: center; }
.points { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.points li { background: var(--card); border-radius: 16px; padding: 18px 8px 14px; text-align: center; font-size: .8rem; line-height: 1.5; box-shadow: 0 3px 14px rgba(60,40,30,.06); }
.points svg { display: block; width: 38px; height: 38px; margin: 0 auto 8px; stroke: var(--accent); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.points small { display: block; color: var(--ink-soft); font-size: .7rem; margin-top: 2px; }
.big-medal { text-align: center; }
.big-medal svg { width: 190px; height: auto; }
.big-medal .script { display: inline-block; transform: rotate(-8deg); margin: -4px 0 0; color: var(--gold); }

/* スコアの世界 */
.world .inner { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; align-items: center; }
.ladder { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.ladder li { flex: 1; display: flex; justify-content: center; }
.coin { width: 104px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; align-content: center; color: #fff; font-family: var(--mincho); line-height: 1; box-shadow: inset 0 0 0 4px rgba(255,255,255,.45), 0 6px 16px rgba(60,50,40,.15); }
.coin b { font-size: 2.1rem; font-weight: 600; }
.coin small { font-size: .65rem; letter-spacing: .1em; margin-top: 4px; }
.coin.s60 { background: radial-gradient(circle at 35% 30%, #e9e9ea, #9ea0a6); }
.coin.s70 { background: radial-gradient(circle at 35% 30%, #e7b493, #a8664a); }
.coin.s80 { background: radial-gradient(circle at 35% 30%, #f5dc94, #c09234); }
.coin.s90 { background: radial-gradient(circle at 35% 30%, #a9c8f5, #3f74c9); }
.coin.s100 { background: radial-gradient(circle at 35% 30%, #d8b9f5, #7b4fc4); width: 118px; }

/* アプリ画面と機能 */
.app .inner { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: center; }
.app-phone { border: 8px solid #1d1d22; border-radius: 34px; overflow: hidden; box-shadow: 0 24px 50px rgba(40,30,30,.22); background: #fff; }
.feats { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.feats li { background: var(--card); border-radius: 14px; padding: 16px 20px; border: 1px solid var(--line); }
.feats b { display: block; font-family: var(--mincho); font-size: 1.08rem; }
.feats span { color: var(--ink-soft); font-size: .9rem; }

/* カップル */
.duo { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.duo li { background: var(--card); border-radius: 18px; padding: 22px; border: 1px solid var(--line); }
.duo b { display: block; font-family: var(--mincho); font-size: 1.12rem; margin-bottom: 4px; }
.duo span { color: var(--ink-soft); font-size: .9rem; }
.heart-score { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; margin-top: 36px; background: var(--card); border-radius: 22px; padding: 26px 30px; border: 1px solid var(--line); }
.heart-score svg { width: 150px; }
.heart-score p { margin: 0; color: var(--ink-soft); }
.heart-score b { display: block; font-family: var(--mincho); font-size: 1.2rem; color: var(--ink); margin-bottom: 4px; }

/* ほかのバージョン */
.others { background: var(--bg-2); }
.others-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.others-list a { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: center; background: var(--card); border-radius: 18px; padding: 18px; text-decoration: none; border: 1px solid var(--line); }
.others-list img { width: 64px; height: 64px; border-radius: 16px; }
.others-list b { display: block; font-family: var(--mincho); font-size: 1.1rem; }
.others-list span { color: var(--ink-soft); font-size: .88rem; }

/* Q&A */
.faq .inner { max-width: 760px; }
.faq dl { margin: 20px 0 0; }
.faq dt { font-family: var(--mincho); font-weight: 600; font-size: 1.05rem; padding-top: 18px; border-top: 1px solid var(--line); }
.faq dt::before { content: "Q. "; color: var(--accent); }
.faq dd { margin: 4px 0 18px; color: var(--ink-soft); font-size: .95rem; }

/* CTA */
.cta { text-align: center; padding: 90px 0 100px; background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.cta img { width: 96px; height: 96px; border-radius: 24px; margin: 0 auto 20px; box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.cta h2 { font-family: var(--mincho); font-weight: 600; font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: .08em; margin: 0 0 6px; }
.cta p { margin: 0 0 26px; color: var(--ink-soft); font-size: .9rem; }
.cta-btn { display: inline-block; padding: 15px 52px; border-radius: 999px; background: linear-gradient(180deg, var(--accent-2), var(--accent)); color: #fff; font-size: 1.05rem; letter-spacing: .1em; }
.cta-note { display: block; margin-top: 12px; font-size: .8rem; color: var(--ink-soft); }

.fr-foot { padding: 28px 0 40px; font-size: .82rem; color: var(--ink-soft); border-top: 1px solid var(--line); }
.fr-foot .inner { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* ハブ */
.hub-hero { padding: 40px 0 20px; text-align: center; }
.hub-hero img { width: min(420px, 90%); margin: 0 auto 8px; }
.hub-hero h1 { font-family: var(--mincho); font-weight: 600; font-size: clamp(1.7rem, 3.6vw, 2.5rem); letter-spacing: .08em; margin: 10px 0 8px; }
.hub-hero p { color: var(--ink-soft); margin: 0 auto; max-width: 34em; }
.hub-cards { list-style: none; margin: 0; padding: 40px 0 90px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hub-cards a { display: block; text-decoration: none; background: var(--card); border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 6px 24px rgba(60,40,30,.08); height: 100%; }
.hub-cards .ph { height: 300px; position: relative; }
.hub-cards .ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.hub-cards .bd { padding: 20px 22px 24px; }
.hub-cards .bd-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.hub-cards .bd-head img { width: 44px; height: 44px; border-radius: 12px; }
.hub-cards b { font-family: var(--mincho); font-size: 1.2rem; }
.hub-cards p { margin: 0 0 14px; color: var(--ink-soft); font-size: .9rem; }
.hub-cards .go { font-size: .88rem; font-weight: 700; }
.hub-cards .w .go { color: #c9567f; } .hub-cards .m .go { color: #2f63c4; } .hub-cards .c .go { color: #8a59b5; }

@media (max-width: 900px) {
  .fr-nav a:not(.pill) { display: none; }
  .howto .inner, .world .inner, .app .inner { grid-template-columns: 1fr; }
  .app-phone { max-width: 280px; margin: 0 auto; }
  .check .inner { grid-template-columns: 1fr; }
  .big-medal { display: none; }
  .points { grid-template-columns: repeat(3, 1fr); }
  .duo { grid-template-columns: 1fr; }
  .hub-cards { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
}
@media (max-width: 680px) {
  .brand-ver { display: none; }
  .brand-name { font-size: 1.5rem; white-space: nowrap; }
  .brand img { width: 36px; height: 36px; }
  .hero .inner { grid-template-columns: 1fr; min-height: 0; }
  .hero-photo { position: relative; width: auto; height: 340px; margin: 0 -24px; order: -1; }
  .hero-photo::before { background: linear-gradient(0deg, var(--bg) 0%, transparent 35%); }
  .hero-copy { padding-top: 0; }
  .hero h1 { font-size: 7vw; }
  .steps { grid-template-columns: 1fr; }
  .ladder { flex-wrap: wrap; justify-content: center; gap: 14px; }
  .ladder li { flex: 0 0 auto; }
  .coin { width: 84px; } .coin.s100 { width: 96px; }
  .coin b { font-size: 1.7rem; }
  .points { grid-template-columns: repeat(2, 1fr); }
  .others-list { grid-template-columns: 1fr; }
  .heart-score { grid-template-columns: 1fr; text-align: center; }
  .heart-score svg { margin: 0 auto; }
  .sec { padding: 60px 0; }
}

/* 実際の画面の文言 */
.steps.text li { padding: 22px 20px 22px; }
.steps.text .step-head { min-height: 0; }
.ui-quote { display: inline-block; margin-top: 12px; padding: 6px 12px; border-radius: 10px; background: var(--bg-2); color: var(--deep); font-size: .78rem; line-height: 1.6; }
.badge-img { width: 100%; max-width: 230px; margin: 0 auto; filter: drop-shadow(0 8px 18px rgba(60,40,30,.15)); }
.check .inner.with-badge { grid-template-columns: 1fr 240px; }
.result-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.result-list li { background: var(--card); border-radius: 14px; padding: 16px 18px; border: 1px solid var(--line); }
.result-list b { display: block; font-family: var(--mincho); font-size: 1.05rem; }
.result-list span { color: var(--ink-soft); font-size: .88rem; }
.privacy-box { margin-top: 30px; background: var(--card); border-radius: 18px; padding: 22px 26px; border: 1px solid var(--line); }
.privacy-box b { font-family: var(--mincho); font-size: 1.1rem; }
.privacy-box ul { margin: 8px 0 0; padding-left: 1.2em; color: var(--ink-soft); font-size: .92rem; }
@media (max-width: 900px) { .check .inner.with-badge { grid-template-columns: 1fr; } .result-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .result-list { grid-template-columns: 1fr; } .badge-img { max-width: 170px; } }
.howto .inner { grid-template-columns: 1fr; gap: 28px; }
.steps.text .step-head div span { font-size: .85rem; }
@media (max-width: 680px) { .steps.text { grid-template-columns: 1fr; } }
