/* Brand tokens */
:root {
  --color-primary: #f07a1a; /* softened orange for sincerity */
  --color-accent: #4b5563;  /* muted gray-blue, rarely used */
  --color-bg: #fafbfc;
  --color-bg-soft: #f3f4f7;
  --color-text: #1c1f25;
  --color-muted: #6b7280;
  --glass: #ffffff;
  --border: #e6e8f0;
  --shadow: 0 6px 20px rgba(16, 24, 40, .06);

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 28px;

  --container: min(1100px, 90vw);
  --space-1: clamp(6px, 1vw, 10px);
  --space-2: clamp(10px, 1.4vw, 14px);
  --space-3: clamp(16px, 1.8vw, 20px);
  --space-4: clamp(24px, 2.2vw, 28px);
  --space-5: clamp(32px, 3vw, 40px);
  --space-6: clamp(48px, 5vw, 70px);

  --font-sans: system-ui, "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic Medium", "Meiryo", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --step--1: clamp(12px, 0.85vw + 0.1rem, 14px);
  --step-0: clamp(14px, 0.95vw + 0.15rem, 16px);
  --step-1: clamp(18px, 1.2vw + 0.2rem, 22px);
  --step-2: clamp(22px, 1.8vw + 0.2rem, 28px);
  --step-3: clamp(28px, 2.6vw + 0.25rem, 36px);
  --step-4: clamp(36px, 3.6vw + 0.3rem, 48px);
  --step-5: clamp(48px, 5vw + 0.4rem, 64px);
}

/* prefers-color-scheme is now light by default; explicit dark handled below */

/* Reset (modern, minimal) */
* { box-sizing: border-box; }
html, body { height: 100%; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.65;
  background: var(--color-bg);
  color: var(--color-text);
}

img, svg { display:block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 var(--space-3); }
h1,h2,h3 { line-height: 1.2; margin: 0 0 var(--space-3); letter-spacing: .01em; }
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
ul { padding-left: 1.2em; }
li { margin: .3em 0; }

.skiplink { position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden; }
.skiplink:focus { position:static; width:auto; height:auto; padding:6px 10px; background:#000; color:#fff; }

.container { width: var(--container); margin-inline: auto; padding-inline: var(--space-2); }
.narrow { width: min(800px, 92vw); margin-inline: auto; }
.section { padding: var(--space-6) 0; }

/* Header */
.site_header { position: sticky; top: 0; z-index: 50; background: var(--glass); border-bottom: 1px solid var(--border); }
.header_inner { display:flex; align-items:center; justify-content:space-between; gap: var(--space-3); padding-block: 10px; }
.brand { display:flex; align-items:center; gap: 10px; font-weight: 700; }
.brand_logo { height: 28px; width: auto; display:block; }
.sr_only { position:absolute !important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.brand_name { letter-spacing: .08em; }
.nav_toggle { display:none; background:transparent; border:1px solid var(--border); border-radius: 8px; padding: 8px; }
.nav_toggle .bar { display:block; width:22px; height:2px; background: currentColor; margin:4px 0; }
.nav_menu { display:flex; gap: var(--space-3); list-style:none; margin:0; padding:0; }
.nav_menu a { opacity:.9; }
.nav_menu a:hover { opacity:1; color: var(--color-primary); }
.theme_toggle { border:1px solid var(--border); background: var(--glass); border-radius: 999px; padding: 8px 10px; }
/* Elevation on scroll */
.site_header.shadow { box-shadow: 0 8px 24px rgba(0,0,0,.18); }

@media (max-width: 800px) {
  .nav_toggle { display:block; }
  .nav_menu { position: fixed; inset: 60px 12px auto; background: var(--glass); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; flex-direction: column; gap: 12px; box-shadow: var(--shadow); transform: translateY(-8px); opacity: 0; pointer-events: none; }
  .nav_menu.open { opacity:1; pointer-events:auto; transform: translateY(0); }
}

/* Hero */
.hero { position: relative; overflow: clip; }
.hero_inner { align-items: center; }
.grid { display:grid; grid-template-columns: 1.1fr .9fr; gap: var(--space-5); }
.lead { color: var(--color-muted); font-size: var(--step-1); }
.display strong { color: var(--color-primary); font-weight: inherit; }
.cta_row { display:flex; flex-wrap:wrap; gap: 12px; margin: var(--space-4) 0 var(--space-2); }
.trust_list { display:flex; flex-wrap:wrap; gap: 16px; list-style:none; padding:0; color: var(--color-muted); }

.bg_orb { display:none; }

.card_visual { padding: 16px; border-radius: var(--radius-lg); }

.btn { --bg: var(--color-primary); --fg: #0b0b10; display:inline-flex; align-items:center; justify-content:center; gap:8px; padding: 10px 16px; border-radius: 999px; font-weight: 700; border: 1px solid transparent; transition: transform .12s ease, filter .12s ease, background .2s ease; }
.btn:hover { transform: translateY(-1px); filter: saturate(120%); }
.btn_primary { background: var(--color-primary); color: #111; }
.btn_outline { background: transparent; border-color: var(--border); }
.btn_ghost { background: var(--glass); border-color: var(--border); }

/* Cards */
.cards { display:grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: var(--space-4); }
.card { padding: var(--space-4); border-radius: var(--radius); border: 1px solid var(--border); }
.glass { background: var(--glass); box-shadow: var(--shadow); }
.bullet { margin: 0 0 var(--space-3); }
.link_arrow { color: var(--color-primary); font-weight: 700; }
.link_arrow::after { content:"\\2192"; margin-left: .4em; }

/* Table */
.table_wrap { overflow:auto; padding: var(--space-3); border-radius: var(--radius); border:1px solid var(--border); }
table { width:100%; border-collapse: collapse; }
th, td { text-align:left; padding: 10px 12px; border-bottom: 1px dashed var(--border); }
caption { text-align:left; color: var(--color-muted); margin-bottom: 8px; }

/* Contact */
.contact_grid { display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--space-4); }
.inline_btn { color: var(--color-primary); font-weight: 700; border-bottom: 1px dashed color-mix(in oklab, var(--color-primary), white 40%); }
.address { margin-top: var(--space-3); color: var(--color-muted); font-style: normal; }
.qr { margin-top: 12px; width: 140px; height: auto; border: 1px solid var(--border); border-radius: 8px; background: #fff; }

/* Footer */
.site_footer { border-top: 1px solid var(--border); padding: 18px 0; }
.footer_inner { display:flex; align-items:center; justify-content:space-between; gap: 20px; }
.toplink { color: var(--color-muted); }

/* To top */
.to_top { position: fixed; right: 16px; bottom: 16px; z-index:40; opacity:0; pointer-events:none; transform: translateY(8px); transition: all .2s ease; border-radius: 999px; background: var(--glass); border: 1px solid var(--border); padding: 10px 12px; }
.to_top.show { opacity:1; transform: none; pointer-events:auto; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is_visible { opacity: 1; transform: none; }

/* Utilities */
.headline { display:flex; align-items:center; gap: .5em; }
.headline::after { content:""; flex:1; height: 2px; background: linear-gradient(90deg, var(--color-primary), transparent); opacity:.4; }

@media (max-width: 980px) {
  .grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .contact_grid { grid-template-columns: 1fr; }
}

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

/* Explicit theme toggles */
:root[data-theme="light"] {
  --color-bg: #fafbfc;
  --color-bg-soft: #f3f4f7;
  --color-text: #1c1f25;
  --color-muted: #6b7280;
  --glass: #ffffff;
  --border: #e6e8f0;
  --shadow: 0 6px 20px rgba(16, 24, 40, .06);
}
:root[data-theme="dark"] {
  --color-bg: #0b0b10;
  --color-bg-soft: color-mix(in oklab, var(--color-bg), white 10%);
  --color-text: #e9e9ee;
  --color-muted: #a3a3ad;
  --glass: color-mix(in oklab, var(--color-bg), white 12%);
  --border: color-mix(in oklab, var(--color-bg), white 18%);
  --shadow: 0 10px 30px rgba(0,0,0,.45);
}

/* Price list */
.price_list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.price_item { display: flex; align-items: center; justify-content: space-between; background: var(--glass); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; }
.price_item strong { color: var(--color-primary); font-size: var(--step-1); }

/* Assurance */
.assurance_list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.assurance_list li { position: relative; background: var(--glass); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px 12px 42px; }
.assurance_list li::before { content: "\\2713"; position: absolute; left: 14px; top: 50%; translate: 0 -50%; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 999px; background: color-mix(in oklab, var(--color-primary), white 20%); color: #111; font-weight: 800; }



