/* JUNREKI の紹介ページ（LP）。色・字・形は、いまのアプリ（app/frontend/src/styles.css）と同じ */
:root {
  --bg-outer: #f4f1e8;
  --bg: #fdfcf7;
  --surface: #f7f5ee;
  --surface-2: #efede5;
  --line: #e4e1d7;
  --ink: #1f2e44;
  --ink-2: #47515f;
  --muted: #7b828c;
  --red: #bb634e;
  --red-deep: #a9523e;
  --red-ink: #b54a37;
  --green: #7b937a;
  --green-deep: #5d795c;
  --mustard: #c89d50;
  --blue: #93acbb;
  --purple: #6f5f8f;
  --tint-green: #e9efe6;
  --tint-blue: #e3ecf1;
  --tint-yellow: #f6edd8;
  --tint-red: #f6e6e1;
  --tint-purple: #ece8f3;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(31, 46, 68, .06), 0 4px 14px rgba(31, 46, 68, .06);
  --font: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic UI", "Meiryo", sans-serif;
  --font-logo: "Nunito", "Zen Kaku Gothic New", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.ic { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 上の帯 ---------- */
.top { position: sticky; top: 0; z-index: 10; background: rgba(253, 252, 247, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.logo img { width: 34px; height: auto; }
.logo span { font-family: var(--font-logo); font-weight: 800; letter-spacing: .2em; font-size: 16px; }
.top nav { display: flex; align-items: center; gap: 18px; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.top nav a { text-decoration: none; }
.top nav a:hover { color: var(--red-ink); }
.top .lang { border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; background: #fff; }
@media (max-width: 720px) { .top nav .sec-link { display: none; } }

/* ---------- はじめの大きな見出し ---------- */
.hero { padding: 48px 0 40px; background: linear-gradient(180deg, var(--bg-outer), var(--bg)); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(28px, 4vw, 42px); line-height: 1.35; margin: 0 0 16px; letter-spacing: .02em; }
.hero h1 em { font-style: normal; color: var(--red-ink); }
.hero .lead { font-size: 17px; color: var(--ink-2); margin: 0 0 24px; }
.hero .badges { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.chip.green { background: var(--tint-green); color: var(--green-deep); }
.chip.blue { background: var(--tint-blue); color: #4f6f82; }
.chip.yellow { background: var(--tint-yellow); color: #8a6a2c; }
.chip.red { background: var(--tint-red); color: var(--red-ink); }
@media (max-width: 860px) {
  .hero { padding-top: 32px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 28px; }
}

/* ストアのボタン（配信が始まったら、本物の住所とストアの公式バッジに替える） */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 10px; min-width: 200px;
  padding: 12px 20px; border-radius: 999px; text-decoration: none; font-weight: 700;
  background: var(--red); color: #fff; box-shadow: var(--shadow);
}
.store:hover { background: var(--red-deep); }
.store small { display: block; font-size: 11px; font-weight: 500; opacity: .9; line-height: 1.2; }
.store b { display: block; font-size: 16px; line-height: 1.3; }
.store .ic { width: 22px; height: 22px; }
.store[aria-disabled="true"] { background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: none; cursor: default; }
.soon { font-size: 13px; color: var(--muted); margin: 10px 0 0; }

/* ---------- スマホの画面 ---------- */
.phone {
  width: 100%; max-width: 300px; margin: 0 auto; border-radius: 36px; padding: 10px;
  background: #1f2e44; box-shadow: 0 20px 50px rgba(31, 46, 68, .18);
}
.phone img { border-radius: 28px; width: 100%; aspect-ratio: 390 / 800; object-fit: cover; object-position: top; }
.hero-phones { position: relative; display: flex; justify-content: center; }
.hero-phones .phone.back { position: absolute; transform: translate(42%, 8%) rotate(5deg) scale(.86); opacity: .95; z-index: 0; }
.hero-phones .phone.front { position: relative; z-index: 1; transform: translateX(-12%); }
@media (max-width: 860px) {
  .hero-phones .phone.back { display: none; }
  .hero-phones .phone.front { transform: none; max-width: 260px; }
}

/* ---------- 段落の見出し（アプリの SecHead と同じ形） ---------- */
section.block { padding: 56px 0; }
section.block.alt { background: var(--surface); }
.sec-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 28px; }
.sec-head .sq { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #fff; flex: none; }
.sec-head .sq .ic { width: 24px; height: 24px; }
.sec-head h2 { margin: 0; font-size: clamp(22px, 3vw, 28px); line-height: 1.4; }
.sec-head p { margin: 4px 0 0; color: var(--ink-2); }
.sq.red { background: var(--red); }
.sq.green { background: var(--green-deep); }
.sq.blue { background: #5f7f92; }
.sq.yellow { background: var(--mustard); }
.sq.purple { background: var(--purple); }

/* ---------- できること ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.feature .fi { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 12px; }
.feature .fi .ic { width: 22px; height: 22px; }
.feature h3 { margin: 0 0 6px; font-size: 18px; }
.feature p { margin: 0; color: var(--ink-2); font-size: 15px; }
.fi.green { background: var(--tint-green); color: var(--green-deep); }
.fi.blue { background: var(--tint-blue); color: #4f6f82; }
.fi.yellow { background: var(--tint-yellow); color: #8a6a2c; }
.fi.red { background: var(--tint-red); color: var(--red-ink); }
.fi.purple { background: var(--tint-purple); color: var(--purple); }
@media (max-width: 860px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* ---------- 画面と説明を並べる ---------- */
.show { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: center; margin-bottom: 56px; }
.show:last-child { margin-bottom: 0; }
.show.rev { grid-template-columns: 1fr 280px; }
.show.rev .phone { order: 2; }
.show h3 { font-size: 22px; margin: 0 0 10px; line-height: 1.45; }
.show p { margin: 0 0 10px; color: var(--ink-2); }
.show ul { margin: 8px 0 0; padding-left: 1.2em; color: var(--ink-2); }
.show .phone { max-width: 280px; }
@media (max-width: 760px) {
  .show, .show.rev { grid-template-columns: 1fr; gap: 20px; }
  .show.rev .phone { order: 0; }
  .show .phone { max-width: 240px; }
}

/* ---------- 情報へのこだわり ---------- */
.promise { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.promise > div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; display: flex; gap: 12px; }
.promise .ic { width: 22px; height: 22px; color: var(--green-deep); margin-top: 4px; }
.promise h3 { margin: 0 0 4px; font-size: 17px; }
.promise p { margin: 0; color: var(--ink-2); font-size: 15px; }
@media (max-width: 760px) { .promise { grid-template-columns: 1fr; } }

/* ---------- よくある質問 ---------- */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { width: 20px; height: 20px; transition: transform .2s; color: var(--muted); }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq details p { margin: 0 0 16px; color: var(--ink-2); }

/* ---------- 最後のお誘い ---------- */
.cta { text-align: center; padding: 56px 0; background: var(--tint-red); }
.cta img { width: 96px; margin: 0 auto 12px; border-radius: 22px; box-shadow: var(--shadow); }
.cta h2 { margin: 0 0 8px; font-size: clamp(22px, 3vw, 28px); }
.cta p { margin: 0 0 22px; color: var(--ink-2); }
.cta .stores { justify-content: center; }

/* ---------- 下の帯 ---------- */
footer { background: var(--ink); color: #dfe4ea; padding: 40px 0 28px; font-size: 14px; }
footer .wrap { display: grid; gap: 18px; }
footer .links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer a { color: #fff; }
footer .ad { background: rgba(255, 255, 255, .08); border-radius: 12px; padding: 12px 14px; }
footer .co { color: #b7c0cb; line-height: 1.8; }
footer .copy { color: #8e99a6; font-size: 12px; }
.nw { white-space: nowrap; }
@media (max-width: 420px) { .nw { white-space: normal; } }
