:root {
  --green: #1f4a3a;
  --green-dark: #123024;
  --green-deep: #0d2219;
  --green-mid: #2f6b55;
  --green-soft: #e1ece4;
  --cream: #f8f3e6;
  --cream-deep: #efe7d2;
  --paper: #fffdf7;
  --gold: #c39a3c;
  --gold-soft: #e8cf8e;
  --ink: #1e2a25;
  --ink-soft: #55645c;
  --line: #ddd5bd;
  --radius: 22px;
  --font: system-ui, -apple-system, "Segoe UI", "Hiragino Sans", "Yu Gothic UI", "Malgun Gothic", "PingFang TC", "Microsoft JhengHei", "Noto Sans", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.85;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: var(--green-mid); text-underline-offset: 4px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.wrap { width: min(1040px, 100% - 40px); margin-inline: auto; position: relative; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(248, 243, 230, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--green-dark); text-decoration: none; font-weight: 800; font-size: 20px; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav { display: none; gap: 24px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--green-mid); text-decoration: underline; }

.langbar { background: var(--green-deep); position: relative; z-index: 19; }
.langbar .wrap { display: flex; gap: 4px; overflow-x: auto; padding: 8px 0; scrollbar-width: thin; align-items: center; }
.langbar .lb { flex: none; color: #b9d0c3; font-size: 13px; margin-right: 8px; }
.langbar a { flex: none; padding: 4px 14px; border-radius: 999px; color: #fff; text-decoration: none; font-size: 15px; font-weight: 600; line-height: 1.7; }
.langbar a:hover { background: rgba(255, 255, 255, 0.14); }
.langbar a[aria-current="true"] { background: var(--cream); color: var(--green-dark); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 12px 30px; border-radius: 999px; font-weight: 800; font-size: 18px; text-decoration: none; border: 2px solid transparent; transition: transform 0.15s, background 0.15s, box-shadow 0.15s; }
.btn-main { background: var(--cream); color: var(--green-dark); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28); }
.btn-main:hover { background: #fff; transform: translateY(-2px); }
.btn-soon { background: transparent; color: #cfe0d6; border-color: rgba(255, 255, 255, 0.35); font-weight: 700; font-size: 16px; cursor: default; }

/* ---------- common ---------- */
section { padding: 84px 0; position: relative; }
.eyebrow { margin: 0 0 8px; color: var(--gold); font-weight: 800; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; line-height: 1.35; color: var(--green-dark); }
h2 { font-size: 32px; margin-bottom: 14px; letter-spacing: -0.005em; }
h3 { font-size: 22px; }
.lead { font-size: 19px; margin: 0 0 8px; }
.sec-head { max-width: 720px; margin-bottom: 40px; }
.small { font-size: 15px; color: var(--ink-soft); line-height: 1.8; }

/* ---------- hero ---------- */
.hero { padding: 56px 0 72px; background: linear-gradient(155deg, var(--green-deep) 0%, var(--green) 58%, #2c624d 100%); color: #eaf2ec; overflow: hidden; }
.rings { position: absolute; right: -180px; top: -160px; width: 640px; height: 640px; border-radius: 50%; pointer-events: none;
  background:
    radial-gradient(circle at center, transparent 0 38%, rgba(255, 255, 255, 0.07) 38.4% 38.8%, transparent 39.2% 52%, rgba(255, 255, 255, 0.06) 52.4% 52.8%, transparent 53.2% 66%, rgba(232, 207, 142, 0.14) 66.4% 66.8%, transparent 67.2%); }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero-icon { width: 84px; height: 84px; border-radius: 20px; box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35); margin-bottom: 20px; display: block; }
.hero .eyebrow { color: var(--gold-soft); }
.hero h1 { color: #fff; font-size: 38px; line-height: 1.3; letter-spacing: -0.01em; margin: 0 0 16px; }
.sub { margin: 0 0 22px; font-size: 18px; color: #cfe0d6; max-width: 34em; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 26px; padding: 0; }
.badges li { padding: 2px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); color: #fff; font-size: 15px; font-weight: 700; line-height: 1.9; border: 1px solid rgba(255, 255, 255, 0.18); }
.cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.platforms { margin: 16px 0 0; font-size: 14px; color: #a9c4b4; }
.app-note { margin: 20px 0 0; padding: 12px 16px; border-radius: 14px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); font-size: 15px; line-height: 1.7; color: #e5efe8; max-width: 34em; }

/* ---------- phone mockup ---------- */
.phone { position: relative; width: min(100%, 300px); aspect-ratio: 600 / 1301; border-radius: 46px; background: #0a1a12; padding: 10px; box-shadow: 0 40px 70px -24px rgba(0, 0, 0, 0.55), 0 0 0 1.5px #2b4437 inset, 0 0 0 1px rgba(255, 255, 255, 0.04); }
.phone::before { content: ""; position: absolute; z-index: 2; top: 20px; left: 50%; width: 27%; height: 20px; transform: translateX(-50%); border-radius: 20px; background: #050d09; }
.phone img { display: block; width: 100%; height: 100%; border-radius: 36px; object-fit: cover; background: #fff; }

/* 重ねて傾けた2台を1枚の画像にしてある(傾けた要素をブラウザに描かせると縁がギザギザになるため) */
.hero-phones { display: flex; justify-content: center; padding: 8px 0 24px; }
.hero-phones img { display: block; width: min(100%, 564px); height: auto; }

/* ---------- feature rows ---------- */
.row { display: grid; gap: 28px; align-items: center; padding: 28px 0; }
.row-shot { display: grid; place-items: center; position: relative; padding: 12px 0; }
.row-shot::before { content: ""; position: absolute; width: min(78%, 360px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 45%, var(--green-soft) 0%, rgba(225, 236, 228, 0) 70%); z-index: 0; }
.row-shot .phone { z-index: 1; width: min(76%, 280px); }
.row-text .no { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 800; margin-bottom: 14px; line-height: 1; }
.row-text h3 { font-size: 26px; margin-bottom: 10px; }
.row-text p { margin: 0; font-size: 17.5px; line-height: 1.9; color: #34423b; max-width: 30em; }
.shot-note { margin: 12px 0 0; font-size: 14px; color: var(--ink-soft); text-align: center; }

.also { margin-top: 44px; display: flex; gap: 22px; align-items: center; padding: 28px 26px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.also-ic { flex: none; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 20px; background: var(--green); color: var(--gold-soft); font-weight: 800; font-size: 24px; letter-spacing: 0.04em; }
.also h3 { margin-bottom: 6px; }
.also p:last-child { margin: 0; font-size: 16.5px; }

/* ---------- privacy ---------- */
.dark { background: var(--green); color: #eaf2ec; overflow: hidden; }
.dark h2, .dark h3 { color: #fff; }
.dark .eyebrow { color: var(--gold-soft); }
.dark .lead { color: #fff; }
.rings-dark { left: -200px; right: auto; top: auto; bottom: -260px; width: 620px; height: 620px; opacity: 0.8; }
.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.points li { position: relative; padding: 18px 20px 18px 58px; border-radius: 16px; background: rgba(255, 255, 255, 0.09); border: 1px solid rgba(255, 255, 255, 0.1); line-height: 1.75; }
.points li::before { content: ""; position: absolute; left: 22px; top: 27px; width: 16px; height: 9px; border-left: 3px solid var(--gold-soft); border-bottom: 3px solid var(--gold-soft); transform: rotate(-45deg); }
.dark .links { margin: 28px 0 0; }
.dark .links a { color: #fff; font-weight: 700; }

/* ---------- backup flow ---------- */
.flow-h { margin: 8px 0 18px; font-size: 24px; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: s; }
.step { position: relative; padding: 24px 22px 22px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.step .sn { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 800; margin-bottom: 12px; line-height: 1; }
.step h3 { font-size: 20px; margin-bottom: 6px; }
.step p { margin: 0; font-size: 16px; line-height: 1.8; color: #34423b; }
.backup-points { margin: 26px 0 0; padding: 22px 24px 22px 44px; border-radius: var(--radius); background: var(--green-soft); color: var(--green-dark); font-size: 16.5px; line-height: 1.85; }
.backup-points li { margin: 0.45em 0; }

/* ---------- get the app ---------- */
.get { padding: 24px 0 72px; }
.get-box { display: flex; gap: 26px; align-items: center; padding: 34px 30px; border-radius: 28px; background: linear-gradient(155deg, var(--green-deep), var(--green)); color: #eaf2ec; box-shadow: 0 24px 50px -24px rgba(13, 34, 25, 0.6); }
.get-icon { flex: none; width: 88px; height: 88px; border-radius: 22px; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35); }
.get-box h2 { color: #fff; margin-bottom: 2px; }
.get-sub { margin: 0 0 16px; color: #a9c4b4; font-size: 15px; }
.get-box .small { color: #cfe0d6; margin: 16px 0 0; }

/* ---------- faq ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 32px 18px 0; font-weight: 700; color: var(--green-dark); position: relative; line-height: 1.6; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 28px; line-height: 1.2; color: var(--green-mid); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 18px; }

/* ---------- contact ---------- */
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; }
.panel p { margin: 0 0 1em; }
.mail { display: inline-block; margin: 6px 0 14px; font-size: 22px; font-weight: 800; color: var(--green-dark); word-break: break-all; }
.links { display: flex; flex-wrap: wrap; gap: 8px 26px; margin: 18px 0 0; }
.links a { font-weight: 700; }

/* ---------- footer ---------- */
.site-footer { padding: 34px 0 46px; background: var(--green-deep); color: #c3d6cb; font-size: 14px; line-height: 1.9; }
.site-footer a { color: #fff; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- language chooser (root) ---------- */
.chooser { background: linear-gradient(155deg, var(--green-deep) 0%, var(--green) 100%); min-height: 100vh; }
.choose { padding: 80px 0; text-align: center; color: #fff; }
.choose .hero-icon { margin: 0 auto 18px; width: 112px; height: 112px; border-radius: 26px; }
.choose h1 { color: #fff; font-size: 42px; }
.choose-list { list-style: none; margin: 30px auto 0; padding: 0; display: grid; gap: 12px; max-width: 360px; }
.choose-list a { display: block; padding: 14px 20px; border-radius: 16px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); color: #fff; font-weight: 700; font-size: 19px; text-decoration: none; }
.choose-list a:hover { background: rgba(255, 255, 255, 0.2); }

/* ---------- wide ---------- */
@media (min-width: 760px) {
  .nav { display: flex; }
  section { padding: 110px 0; }
  .hero { padding: 80px 0 96px; }
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 24px; }
  .hero h1 { font-size: 52px; }
  .hero-phones { padding-bottom: 24px; }
  h2 { font-size: 38px; }
  .row { grid-template-columns: 1fr 1fr; gap: 56px; padding: 40px 0; }
  .row.rev .row-shot { order: 2; }
  .row-text h3 { font-size: 30px; }
  .points { grid-template-columns: 1fr 1fr; }
  .points li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .flow { grid-template-columns: repeat(3, 1fr); }
  .flow .step:not(:last-child)::after { content: ""; position: absolute; right: -15px; top: 50%; width: 16px; height: 16px; border-top: 3px solid var(--gold); border-right: 3px solid var(--gold); transform: translateY(-50%) rotate(45deg); }
  .get-box { padding: 44px 48px; gap: 36px; }
  .get-icon { width: 112px; height: 112px; border-radius: 28px; }
}

@media (max-width: 520px) {
  .also { flex-direction: column; align-items: flex-start; }
  .get-box { flex-direction: column; align-items: flex-start; padding: 28px 22px; }
  .btn { width: 100%; }
  .cta { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .reveal { transition: none; }
}

/* ---------- promise（長く使える安心） ---------- */
.promise { padding: 24px 0 72px; }
.promise-box { padding: 40px 30px; border-radius: 28px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 20px 44px -28px rgba(13, 34, 25, 0.35); position: relative; overflow: hidden; }
.promise-box::before { content: ""; position: absolute; right: -90px; top: -90px; width: 260px; height: 260px; border-radius: 50%; border: 2px solid rgba(195, 154, 60, 0.28); box-shadow: 0 0 0 26px rgba(195, 154, 60, 0.08); pointer-events: none; }
.promise-box h2 { margin-bottom: 16px; position: relative; }
.promise-quote { margin: 0; max-width: 34em; font-size: 20px; line-height: 2; color: var(--green-dark); position: relative; }
.pp { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; }
.pp li { padding: 24px 22px; border-radius: var(--radius); background: var(--green-soft); }
.pp h3 { font-size: 19px; margin-bottom: 8px; }
.pp p { margin: 0; font-size: 16px; line-height: 1.85; color: #34423b; }
@media (min-width: 760px) {
  .promise { padding: 40px 0 96px; }
  .promise-box { padding: 56px 56px; }
  .promise-quote { font-size: 22px; }
  .pp { grid-template-columns: repeat(3, 1fr); }
}
