/* ================================================================
   24h DATA — customer UI v2 "AURORA"
   Mobile-first. Midnight indigo base + cyan→violet→fuchsia aurora.
   ================================================================ */
:root {
  /* base */
  --night-900: #3D71C9;
  --night-800: #4B7ED2;
  --night-700: #5A8CDC;
  --ink-900: #12142E;
  --ink-600: #4C5170;
  --ink-400: #9AA0BC;
  --line: #E5E7F2;
  --canvas: #F6F7FC;
  --surface: #FFFFFF;

  /* aurora signature */
  --cyan: #22D3EE;
  --indigo: #3D74D9;
  --violet: #5D93EC;
  --fuchsia: #5FB9F5;
  --aurora: linear-gradient(100deg, #4FD5EA 0%, #5FB9F5 40%, #5D93EC 70%, #4A79DC 100%);
  --aurora-soft: linear-gradient(100deg, rgba(34,211,238,.13), rgba(56,189,248,.13) 45%, rgba(59,130,246,.13) 75%, rgba(37,99,235,.13));
  --cta: linear-gradient(120deg, #38A8E8, #3D74D9);
  --cta-hover: linear-gradient(120deg, #2497DB, #2F63CD);

  --ok: #10B981; --ok-bg: #ECFDF5;
  --warn: #F59E0B; --warn-bg: #FFFBEB;
  --danger: #F43F5E; --danger-bg: #FFF1F2;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --shadow-card: 0 2px 6px rgba(18,20,46,.04), 0 10px 28px rgba(18,20,46,.06);
  --shadow-pop: 0 4px 12px rgba(59,130,246,.14), 0 16px 40px rgba(18,20,46,.1);
  --bottom-nav-h: 64px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; scroll-padding-bottom: calc(var(--bottom-nav-h) + 24px); }
body {
  font-family: 'Noto Sans JP', 'Hiragino Sans', 'Inter', sans-serif;
  font-size: 15px; line-height: 1.75; color: var(--ink-900);
  background: var(--canvas);
  padding-bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom));
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--indigo); text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 16px; }
:focus-visible { outline: 2.5px solid var(--cyan); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.container { max-width: 1160px; margin: 0 auto; padding: 0 18px; }
.num { font-family: 'Inter', sans-serif; font-variant-numeric: tabular-nums; }

/* gradient text helper */
.grad-text {
  background: var(--aurora);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* svg icons */
.isvg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.isvg.sm { width: 15px; height: 15px; margin-right: 7px; }
.isvg.lg { width: 26px; height: 26px; }
.isvg.xl { width: 34px; height: 34px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: none; border-radius: 999px; font-weight: 700;
  padding: 13px 26px; font-size: 15px; min-height: 48px;
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
  text-align: center; letter-spacing: .01em;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--cta); color: #fff; box-shadow: 0 4px 14px rgba(37,99,235,.22); }
.btn-primary:hover { background: var(--cta-hover); box-shadow: 0 6px 18px rgba(37,99,235,.3); }
.btn-accent { background: var(--night-900); color: #fff; box-shadow: 0 6px 18px rgba(10,13,34,.3); }
.btn-accent:hover { filter: brightness(1.25); }
.btn-white { background: #fff; color: var(--night-900); box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.btn-outline { background: transparent; border: 1.5px solid var(--line); color: var(--ink-900); }
.btn-outline-white { background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.5); color: #fff; backdrop-filter: blur(4px); }
.btn-ghost { background: transparent; color: var(--indigo); }
.btn-sm { padding: 9px 16px; font-size: 13.5px; min-height: 40px; }
.btn-lg { padding: 15px 30px; font-size: 16px; min-height: 54px; }
.btn-block { width: 100%; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: 62px;
  background: linear-gradient(100deg, rgba(70,118,210,.86), rgba(78,160,222,.8));
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.site-header.scrolled { background: linear-gradient(100deg, rgba(70,118,210,.95), rgba(78,160,222,.9)); }
.header-inner { display: flex; align-items: center; gap: 14px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { border-radius: 11px; width: 36px; height: 36px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: 'Inter', sans-serif; font-weight: 800; font-size: 18px; color: #fff; letter-spacing: -.01em; }
.brand-tag { font-size: 9.5px; color: rgba(255,255,255,.55); letter-spacing: .04em; }
.main-nav { display: none; gap: 2px; margin-left: 14px; }
.main-nav a { color: rgba(255,255,255,.78); font-weight: 500; font-size: 14.5px; padding: 8px 14px; border-radius: 999px; }
.main-nav a:hover { color: #fff; background: rgba(255,255,255,.09); }
.main-nav a.active { color: #fff; background: rgba(255,255,255,.13); font-weight: 700; }
.header-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.header-actions .btn-ghost { color: rgba(255,255,255,.85); }
.header-actions .btn-primary { box-shadow: none; }

.notice-bar { background: linear-gradient(90deg, #F59E0B, #F97316); color: #fff; font-size: 13px; font-weight: 600; padding: 8px 0; }
.flash-bar { background: var(--aurora-soft); color: var(--ink-900); font-size: 14px; font-weight: 500; padding: 11px 0; border-bottom: 1px solid var(--line); }

/* ---------- hero (photo + aurora) ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: var(--night-900);
}
.hero-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(160deg, rgba(52,88,178,.72) 8%, rgba(61,116,217,.52) 45%, rgba(78,160,222,.36) 100%),
    var(--hero-photo, url('/img/photo/tokyo-night.jpg'));
  background-size: cover; background-position: center;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(90% 60% at 50% 108%, rgba(125,211,252,.3), transparent 60%),
              radial-gradient(70% 50% at 0% 0%, rgba(34,211,238,.18), transparent 55%);
}
.hero-inner { position: relative; z-index: 1; padding-top: 48px; padding-bottom: 98px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .1em;
  color: #fff; background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.22);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
  backdrop-filter: blur(6px);
}
.hero-eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.hero h1 {
  font-size: clamp(30px, 8.6vw, 54px); font-weight: 900; line-height: 1.22;
  letter-spacing: .01em; margin-bottom: 14px; text-wrap: balance;
}
.hero-sub { font-size: 15px; color: rgba(255,255,255,.82); margin-bottom: 24px; max-width: 500px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(8px); border-radius: 12px; padding: 8px 13px;
  font-size: 12px; font-weight: 700; color: rgba(255,255,255,.92);
}
.hero-badge .isvg { width: 15px; height: 15px; fill: var(--cyan); }

/* glass quick panel overlapping hero */
.quick-panel { margin-top: -58px; position: relative; z-index: 5; }
.quick-card {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: var(--radius-lg); padding: 20px 18px;
  box-shadow: var(--shadow-pop);
}
.quick-tabs { display: flex; background: var(--canvas); border-radius: 999px; padding: 4px; margin-bottom: 16px; }
.quick-tabs button {
  flex: 1; border: none; background: transparent; border-radius: 999px;
  padding: 10px 8px; font-size: 14px; font-weight: 700; color: var(--ink-600); min-height: 44px;
}
.quick-tabs button.active { background: var(--night-900); color: #fff; box-shadow: 0 3px 10px rgba(10,13,34,.25); }
.quick-body .check-form { display: flex; height: 52px; }
.check-form input {
  flex: 1; min-width: 0; border: 1.5px solid var(--line); border-right: none;
  border-radius: 14px 0 0 14px; padding: 0 16px; background: #fff; font-size: 15px;
}
.check-form input:focus { border-color: var(--indigo); outline: none; }
.check-form .input { width: auto; flex: 1; min-width: 0; height: auto; border-radius: 14px 0 0 14px; border-right: none; }
.check-form button { border-radius: 0 14px 14px 0; padding: 0 22px; border: none; background: var(--cta); color: #fff; font-weight: 700; font-size: 14.5px; }
.quick-hint { font-size: 11.5px; color: var(--ink-400); margin-top: 10px; text-align: center; }

/* ---------- sections ---------- */
.section { padding: 56px 0; }
.section.tight { padding-top: 34px; }
.section-head { margin-bottom: 24px; }
.section-eyebrow {
  font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; margin-bottom: 6px;
  background: var(--aurora); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.section-head h2 { font-size: clamp(22px, 5.4vw, 32px); font-weight: 900; letter-spacing: .01em; line-height: 1.3; }
.section-head .row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.section-head .more { font-size: 14px; font-weight: 700; white-space: nowrap; padding-bottom: 4px; }
.section-sub { color: var(--ink-600); font-size: 14px; margin-top: 8px; max-width: 620px; }
.section.on-white { background: #fff; }

/* ---------- photo trio ---------- */
.photo-trio { display: grid; grid-template-columns: 1fr; gap: 14px; }
.photo-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 16 / 10; box-shadow: var(--shadow-card);
}
.photo-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.photo-card:hover img { transform: scale(1.05); }
.photo-card .ph-label {
  position: absolute; inset: auto 0 0 0; padding: 34px 16px 14px;
  background: linear-gradient(transparent, rgba(10,13,34,.85));
  color: #fff;
}
.photo-card .ph-label b { display: block; font-size: 16.5px; font-weight: 900; }
.photo-card .ph-label span { font-size: 12px; color: rgba(255,255,255,.8); }

/* ---------- plan cards ---------- */
.plan-scroller { display: grid; grid-template-columns: 1fr; gap: 16px; }
.plan-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 20px 18px 18px; position: relative;
  box-shadow: var(--shadow-card); transition: transform .18s ease, box-shadow .18s ease;
  display: flex; flex-direction: column; overflow: hidden;
}
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-pop); }
.plan-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--aurora); }
.plan-badge {
  position: absolute; top: 14px; right: 14px; font-size: 11px; font-weight: 800;
  color: #fff; background: var(--night-900); border-radius: 999px; padding: 4px 12px;
}
.plan-badge.hot { background: linear-gradient(120deg, #F59E0B, #F43F5E); }
.plan-carrier {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 800; color: var(--indigo);
  background: var(--aurora-soft); border-radius: 999px; padding: 4px 12px;
  margin-bottom: 12px; align-self: flex-start; max-width: calc(100% - 96px);
}
.plan-gb { display: flex; align-items: baseline; gap: 6px; margin-bottom: 2px; }
.plan-gb .gbnum { font-family: 'Inter','Noto Sans JP',sans-serif; font-size: 40px; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.plan-gb .gbunit { font-size: 15px; font-weight: 800; color: var(--ink-600); }
.plan-days { font-size: 13px; color: var(--ink-600); font-weight: 600; margin-bottom: 14px; }
.plan-feats { list-style: none; font-size: 13px; color: var(--ink-600); margin-bottom: 16px; border-top: 1px dashed var(--line); padding-top: 12px; }
.plan-feats li { display: flex; align-items: flex-start; padding: 3px 0; }
.plan-feats li .isvg.sm { margin-top: 3px; fill: var(--ok); }
.plan-price { margin-top: auto; display: flex; align-items: baseline; gap: 5px; margin-bottom: 14px; }
.plan-price .yen { font-family: 'Inter','Noto Sans JP',sans-serif; font-size: 29px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.plan-price .tax { font-size: 11.5px; color: var(--ink-400); white-space: nowrap; font-weight: 600; }

/* ---------- dark app showcase ---------- */
.dark-section {
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(125,211,252,.26), transparent 55%),
    radial-gradient(70% 50% at 0% 100%, rgba(34,211,238,.18), transparent 55%),
    linear-gradient(135deg, #4678D2 0%, #5D93EC 55%, #6FB3F0 100%);
  color: #fff; padding: 60px 0; overflow: hidden;
}
.dark-section .section-head h2 { color: #fff; }
.dark-section .section-sub { color: rgba(255,255,255,.68); }
.dark-grid { display: grid; grid-template-columns: 1fr; gap: 26px; align-items: center; }
.meter-demo {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(10px); border-radius: var(--radius-lg); padding: 22px 20px;
  max-width: 420px; margin: 0 auto; width: 100%;
}
.meter-demo .md-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.meter-demo .md-title { font-size: 13px; font-weight: 700; color: rgba(255,255,255,.75); }
.meter-demo .md-chip { font-size: 10.5px; font-weight: 800; background: rgba(16,185,129,.2); color: #6EE7B7; border-radius: 999px; padding: 3px 10px; }
.meter-demo .md-gb { font-family: 'Inter', sans-serif; font-size: 46px; font-weight: 800; line-height: 1; }
.meter-demo .md-gb small { font-size: 15px; font-weight: 700; color: rgba(255,255,255,.6); }
.meter-demo .bar { height: 12px; border-radius: 999px; background: rgba(255,255,255,.12); overflow: hidden; margin: 14px 0 8px; }
.meter-demo .fill { height: 100%; border-radius: 999px; background: var(--aurora); box-shadow: 0 0 16px rgba(59,130,246,.55); }
.meter-demo .md-foot { display: flex; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,.6); }
.dark-feats { display: grid; gap: 10px; }
.dark-feat {
  display: flex; gap: 14px; align-items: flex-start;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md); padding: 16px;
}
.dark-feat .ico {
  width: 44px; height: 44px; flex: none; border-radius: 13px;
  background: var(--aurora-soft); border: 1px solid rgba(255,255,255,.14);
  display: flex; align-items: center; justify-content: center;
}
.dark-feat .ico .isvg { fill: var(--cyan); width: 20px; height: 20px; }
.dark-feat b { display: block; font-size: 15px; margin-bottom: 2px; }
.dark-feat p { font-size: 12.5px; color: rgba(255,255,255,.65); line-height: 1.6; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: 1fr; gap: 14px; }
.step-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px 20px; position: relative; box-shadow: var(--shadow-card);
}
.step-card .step-no {
  width: 40px; height: 40px; border-radius: 13px; background: var(--aurora); color: #fff;
  font-family: 'Inter', sans-serif; font-weight: 800; display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px; font-size: 17px; box-shadow: 0 4px 14px rgba(37,99,235,.3);
}
.step-card h3 { font-size: 16px; font-weight: 800; margin-bottom: 4px; }
.step-card p { font-size: 13px; color: var(--ink-600); }

/* ---------- stats band ---------- */
.stats-band { background: var(--aurora); border-radius: var(--radius-lg); padding: 26px 18px; color: #fff; box-shadow: var(--shadow-pop); }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 10px; text-align: center; }
.stat b { display: block; font-family: 'Inter', sans-serif; font-size: 29px; font-weight: 800; font-variant-numeric: tabular-nums; text-shadow: 0 2px 10px rgba(0,0,0,.18); }
.stat span { font-size: 12px; font-weight: 600; color: rgba(255,255,255,.9); }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); margin-bottom: 10px; overflow: hidden; }
.faq details[open] { border-color: var(--indigo); }
.faq summary { padding: 16px 18px; font-weight: 700; font-size: 14.5px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '＋'; color: var(--indigo); font-weight: 500; flex: none; font-size: 17px; }
.faq details[open] summary::after { content: '－'; }
.faq .faq-a { padding: 0 18px 16px; font-size: 13.5px; color: var(--ink-600); }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  padding: 44px 22px; text-align: center; color: #fff;
  background-image: linear-gradient(rgba(61,116,217,.46), rgba(78,160,222,.44)), url('/img/photo/fuji.jpg');
  background-size: cover; background-position: center;
  box-shadow: var(--shadow-pop);
}
.cta-banner h2 { font-size: clamp(21px, 5.6vw, 30px); font-weight: 900; margin-bottom: 8px; }
.cta-banner p { font-size: 14px; color: rgba(255,255,255,.85); margin-bottom: 20px; }

/* ---------- forms / auth ---------- */
.auth-wrap { max-width: 460px; margin: 34px auto 60px; padding: 0 18px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px 20px; box-shadow: var(--shadow-card);
}
.card h1 { font-size: 21px; font-weight: 900; margin-bottom: 6px; }
.card .lead { font-size: 13.5px; color: var(--ink-600); margin-bottom: 20px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 7px; }
.form-group .hint { font-size: 12px; color: var(--ink-400); margin-top: 5px; line-height: 1.55; }
.input {
  width: 100%; height: 50px; border: 1.5px solid var(--line); border-radius: 13px;
  padding: 0 15px; background: #fff; color: var(--ink-900);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.input:focus { border-color: var(--indigo); outline: none; box-shadow: 0 0 0 4px rgba(59,130,246,.14); }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239AA0BC' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; }
textarea.input { height: auto; padding: 13px 15px; }
.form-error { background: var(--danger-bg); color: var(--danger); border: 1px solid #FECDD3; border-radius: 12px; padding: 11px 14px; font-size: 13.5px; margin-bottom: 16px; font-weight: 600; }
.form-note { background: var(--aurora-soft); color: var(--ink-900); border-radius: 12px; padding: 11px 14px; font-size: 12.5px; margin-bottom: 16px; }
.auth-alt { text-align: center; font-size: 13.5px; margin-top: 18px; color: var(--ink-600); }

/* ---------- page hero band ---------- */
.page-hero {
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(125,211,252,.28), transparent 55%),
    radial-gradient(60% 80% at 0% 100%, rgba(34,211,238,.18), transparent 55%),
    linear-gradient(120deg, #4678D2, #5D93EC 70%, #7FB5F2);
  color: #fff; padding: 38px 0 42px; position: relative; overflow: hidden;
}
.page-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--aurora); }
.page-hero h1 { font-size: clamp(24px, 6vw, 34px); font-weight: 900; margin: 2px 0 8px; }
.page-hero p { font-size: 13.5px; color: rgba(255,255,255,.72); max-width: 560px; }

/* plans/charge extras */
.info-trio { display: grid; grid-template-columns: 1fr; gap: 14px; }
.info-card { background: var(--canvas); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 20px; }
.info-card .ico {
  width: 46px; height: 46px; border-radius: 14px; background: var(--aurora-soft);
  display: flex; align-items: center; justify-content: center; margin-bottom: 12px;
}
.info-card .ico .isvg { fill: var(--indigo); width: 21px; height: 21px; }
.info-card b { display: block; font-size: 15px; font-weight: 800; margin-bottom: 4px; }
.info-card p { font-size: 13px; color: var(--ink-600); }

.charge-grid { display: grid; grid-template-columns: 1fr; gap: 18px; align-items: start; }
.charge-steps { display: grid; gap: 10px; }
.mini-step {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 16px; box-shadow: var(--shadow-card);
}
.mini-step .no {
  width: 34px; height: 34px; flex: none; border-radius: 11px; background: var(--aurora); color: #fff;
  font-family: 'Inter', sans-serif; font-weight: 800; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
.mini-step b { display: block; font-size: 14.5px; font-weight: 800; }
.mini-step p { font-size: 12.5px; color: var(--ink-600); }

/* ---------- page head ---------- */
.page-head { padding: 30px 0 4px; }
.page-head h1 { font-size: clamp(21px, 5.6vw, 28px); font-weight: 900; }
.page-head p { color: var(--ink-600); font-size: 13.5px; margin-top: 6px; }

/* ---------- mypage sim cards ---------- */
.sim-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.sim-card {
  background: linear-gradient(150deg, #4678D2, #6FB3F0 90%);
  color: #fff; border-radius: var(--radius-lg);
  padding: 22px 20px; box-shadow: var(--shadow-pop);
  position: relative; overflow: hidden;
}
.sim-card::before {
  content: ''; position: absolute; top: -70px; right: -70px; width: 210px; height: 210px;
  border-radius: 50%; background: radial-gradient(circle, rgba(96,165,250,.35), transparent 70%);
}
.sim-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 8px; position: relative; }
.sim-id { font-size: 11.5px; color: rgba(255,255,255,.55); word-break: break-all; font-family: 'Inter', sans-serif; }
.sim-plan-name { font-size: 16px; font-weight: 900; }
.sim-status { font-size: 11px; font-weight: 800; border-radius: 999px; padding: 4px 12px; white-space: nowrap; }
.sim-status.st-active { background: rgba(16,185,129,.22); color: #6EE7B7; }
.sim-status.st-warn { background: rgba(245,158,11,.22); color: #FCD34D; }
.sim-status.st-off { background: rgba(255,255,255,.12); color: rgba(255,255,255,.6); }
.data-remaining { font-family: 'Inter','Noto Sans JP',sans-serif; font-size: 40px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.1; position: relative; }
.data-remaining small { font-size: 14px; font-weight: 700; color: rgba(255,255,255,.6); }
.data-meter { margin: 12px 0 4px; position: relative; }
.data-meter .bar { height: 11px; border-radius: 999px; background: rgba(255,255,255,.13); overflow: hidden; }
.data-meter .fill { height: 100%; border-radius: 999px; background: var(--aurora); box-shadow: 0 0 14px rgba(59,130,246,.5); transition: width .4s ease; }
.data-meter .fill.low { background: linear-gradient(90deg, #F59E0B, #F43F5E); box-shadow: 0 0 14px rgba(244,63,94,.5); }
.data-meter-nums { display: flex; justify-content: space-between; font-size: 11.5px; color: rgba(255,255,255,.6); margin-top: 7px; }
.sim-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; font-size: 12px; color: rgba(255,255,255,.6); margin: 14px 0 16px; position: relative; }
.sim-meta b { color: #fff; font-weight: 700; font-size: 13px; }
.sim-actions { display: flex; gap: 10px; flex-wrap: wrap; position: relative; }
.sim-actions .btn-accent { background: var(--cta); }
.sim-actions .btn-outline { border-color: rgba(255,255,255,.35); color: #fff; }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; }
table.data { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 560px; }
table.data th { text-align: left; padding: 11px 14px; background: var(--canvas); color: var(--ink-600); font-size: 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.data td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.data tr:last-child td { border-bottom: none; }
.tag { display: inline-block; font-size: 11.5px; font-weight: 700; border-radius: 999px; padding: 3px 11px; white-space: nowrap; }
.tag.paid { background: var(--ok-bg); color: #047857; }
.tag.pending { background: var(--warn-bg); color: #B45309; }
.tag.fulfilled { background: var(--aurora-soft); color: var(--indigo); }
.tag.canceled { background: #F1F2F8; color: var(--ink-400); }

/* ---------- footer ---------- */
.site-footer { background: linear-gradient(150deg, #4574C4 0%, #4B7ED2 60%, #62A0E4 100%); color: rgba(255,255,255,.8); margin-top: 44px; position: relative; overflow: hidden; }
.site-footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--aurora); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 26px; padding: 42px 18px 28px; }
.footer-grid h3 { color: #fff; font-size: 13.5px; font-weight: 800; margin-bottom: 10px; letter-spacing: .02em; }
.footer-grid a, .footer-muted { display: block; color: rgba(255,255,255,.66); font-size: 13.5px; padding: 5px 0; }
.footer-grid a:hover { color: var(--cyan); }
.footer-brand p { font-size: 13px; max-width: 300px; color: rgba(255,255,255,.6); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 16px 0; font-size: 12px; color: rgba(255,255,255,.45); }

/* ---------- bottom nav (JP app standard, center FAB) ---------- */
.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; align-items: stretch;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  height: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -4px 20px rgba(18,20,46,.08);
}
.bottom-nav a {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; color: var(--ink-400); font-size: 10px; font-weight: 700; min-height: 48px;
  position: relative;
}
.bottom-nav a svg { width: 22px; height: 22px; fill: currentColor; }
.bottom-nav a.active { color: var(--indigo); }
.bottom-nav a.active::before {
  content: ''; position: absolute; top: 0; width: 34px; height: 3px;
  border-radius: 0 0 4px 4px; background: var(--aurora);
}
.bottom-nav a.nav-fab { overflow: visible; }
.bottom-nav a.nav-fab .fab-circle {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--cta); display: flex; align-items: center; justify-content: center;
  margin-top: -24px; box-shadow: 0 8px 20px rgba(37,99,235,.38), 0 0 0 5px var(--canvas);
}
.bottom-nav a.nav-fab .fab-circle svg { width: 24px; height: 24px; fill: #fff; }
.bottom-nav a.nav-fab span { color: var(--indigo); }

/* ---------- pay result ---------- */
.result-wrap { max-width: 480px; margin: 48px auto; padding: 0 18px; text-align: center; }
.result-ico { display: flex; align-items: center; justify-content: center; width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 18px; }
.result-ico.ok { background: var(--ok-bg); }
.result-ico.ok .isvg { fill: var(--ok); }
.result-ico.back { background: var(--aurora-soft); }
.result-ico.back .isvg { fill: var(--indigo); }
.result-wrap h1 { font-size: 22px; font-weight: 900; margin-bottom: 8px; }
.result-wrap p { color: var(--ink-600); font-size: 14px; margin-bottom: 8px; }
.result-detail { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 18px; margin: 22px 0; text-align: left; font-size: 14px; box-shadow: var(--shadow-card); }
.result-detail .row { display: flex; justify-content: space-between; padding: 6px 0; }
.result-detail .row span { color: var(--ink-600); }

.hide-sp { display: none; }

/* ---------- legal pages ---------- */
.legal-wrap { max-width: 800px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 20px; box-shadow: var(--shadow-card); font-size: 14px; }
.legal-h2 { font-size: 16.5px; font-weight: 800; margin: 26px 0 10px; padding-left: 12px; border-left: 4px solid; border-image: var(--aurora) 1; }
.legal-h2:first-child { margin-top: 0; }
.legal-p { color: var(--ink-600); margin-bottom: 12px; line-height: 1.9; }
.legal-ul, .legal-ol { color: var(--ink-600); margin: 0 0 12px 22px; line-height: 1.9; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.legal-table th, .legal-table td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; line-height: 1.8; }
.legal-table th { background: var(--canvas); width: 34%; font-weight: 700; white-space: normal; }
@media (min-width: 768px) { .legal-wrap { padding: 36px 40px; } }
.empty-note { background: #fff; border: 1.5px dashed var(--line); border-radius: var(--radius-lg); padding: 30px 20px; text-align: center; color: var(--ink-600); font-size: 14px; }

/* ============ tablet / desktop ============ */
@media (min-width: 768px) {
  body { padding-bottom: 0; font-size: 16px; }
  .bottom-nav { display: none; }
  .hide-sp { display: inline-flex; }
  .container { padding: 0 24px; }
  .site-header, .header-inner { height: 70px; }
  .main-nav { display: flex; }
  .hero-inner { padding-top: 84px; padding-bottom: 120px; max-width: 640px; }
  .quick-card { padding: 26px; }
  .quick-panel .container { max-width: 720px; }
  .section { padding: 76px 0; }
  .photo-trio { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .plan-scroller { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .info-trio { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .charge-grid { grid-template-columns: 1.15fr 1fr; gap: 26px; }
  .page-hero { padding: 54px 0 58px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .stats-band { padding: 38px 30px; }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .stat b { font-size: 36px; }
  .sim-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .dark-grid { grid-template-columns: 1fr 1.1fr; gap: 44px; }
  .dark-section { padding: 84px 0; }
  .cta-banner { padding: 64px 30px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; padding: 52px 24px 32px; }
  .footer-grid.footer-grid-5 { grid-template-columns: 1.5fr 1fr 1fr 1fr 1.3fr; }
  .auth-wrap { margin-top: 48px; }
  .card { padding: 32px 30px; }
}
@media (min-width: 1024px) {
  .plan-scroller { grid-template-columns: repeat(4, 1fr); }
  .plan-scroller.three { grid-template-columns: repeat(3, 1fr); }
  .hero-inner { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
