/* Hineri ランディングページ (KYC review 通過用 / Session 12 で Next.js 化予定) */

:root {
  --bg: #faf8f3;
  --bg-alt: #f3efe6;
  --ink: #1a1d2e;
  --ink-soft: #3a3d4e;
  --muted: #6a6d7a;
  --accent: #b8854a;
  --accent-soft: #d4a373;
  --border: #e6e0d2;
  --shadow: 0 2px 8px rgba(26, 29, 46, 0.06);
  --shadow-lg: 0 8px 24px rgba(26, 29, 46, 0.08);
  --radius: 8px;
  --radius-lg: 12px;
  --max-width: 1080px;
  --max-narrow: 720px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Hiragino Sans", "Hiragino Kaku Gothic ProN",
    "Yu Gothic UI", "Yu Gothic", "Meiryo",
    "Noto Sans JP", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: var(--max-narrow); }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--bg);
  padding: 8px 16px; z-index: 100;
}
.skip:focus-visible { left: 8px; top: 8px; text-decoration: none; }

/* ===== HEADER ===== */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 50;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; padding-bottom: 14px;
}
.brand { display: inline-flex; align-items: baseline; gap: 8px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-mark {
  font-weight: 700; font-size: 22px; letter-spacing: 0.02em;
}
.brand-mark-ja {
  font-size: 14px; color: var(--accent);
  font-weight: 500;
}
.site-nav {
  display: flex; gap: 24px; font-size: 14px;
}
.site-nav a { color: var(--ink-soft); }
.site-nav a:hover { color: var(--accent); text-decoration: none; }

@media (max-width: 640px) {
  .site-nav { gap: 14px; font-size: 13px; }
  .header-inner { flex-wrap: wrap; gap: 12px; }
}

/* ===== HERO ===== */
.hero {
  padding: 80px 0 60px;
  background:
    radial-gradient(ellipse 800px 400px at 50% -100px, rgba(184, 133, 74, 0.08), transparent),
    var(--bg);
}
.kicker {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 16px;
  font-weight: 600;
}
.hero-title {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.35;
  margin: 0 0 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.hero-en {
  display: block;
  font-size: clamp(18px, 2.4vw, 26px);
  color: var(--ink-soft);
  font-weight: 500;
  margin-top: 12px;
  letter-spacing: 0;
}
.hero-lede {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 720px;
  margin: 0 0 12px;
}
.hero-lede.en { color: var(--muted); font-size: 15px; margin-bottom: 32px; }
.hero-cta {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin: 8px 0 24px;
}
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: var(--ink); color: var(--bg);
  box-shadow: var(--shadow);
}
.btn-primary:hover { background: #2a2d3e; box-shadow: var(--shadow-lg); }
.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--ink-soft); }
.hero-meta {
  font-size: 13px; color: var(--muted);
  margin: 16px 0 0;
}

/* ===== SECTIONS ===== */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }

.section-title {
  font-size: clamp(24px, 3vw, 32px);
  margin: 0 0 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.section-lede {
  font-size: 16px; color: var(--ink-soft);
  max-width: 720px;
  margin: 0 0 40px;
}
.section-lede .en { color: var(--muted); font-size: 14px; }

/* ===== GRIDS / CARDS ===== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 880px) {
  .grid-3 { grid-template-columns: 1fr; gap: 16px; }
}

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  box-shadow: var(--shadow);
}
.section-alt .card { background: #fff; }
.card-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 12px;
  line-height: 1.4;
}
.card-title .en.small {
  display: block;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-top: 4px;
}
.card-body {
  font-size: 15px; color: var(--ink-soft);
  margin: 0 0 16px;
}
.features {
  list-style: none; padding: 0; margin: 0;
  font-size: 14px; color: var(--ink-soft);
}
.features li {
  padding: 8px 0 8px 24px;
  position: relative;
  border-top: 1px solid var(--border);
}
.features li:first-child { border-top: none; }
.features li::before {
  content: "→";
  position: absolute; left: 0; top: 8px;
  color: var(--accent);
  font-weight: 700;
}

/* ===== SAMPLE ===== */
.sample-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
@media (max-width: 880px) {
  .sample-grid { grid-template-columns: 1fr; gap: 20px; }
}
.sample-block {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}
.sample-block h3 {
  font-size: 17px;
  margin: 0 0 16px;
  font-weight: 700;
  color: var(--ink);
}
.sample-block ul {
  padding: 0; margin: 0;
  list-style: none;
  font-size: 14px; color: var(--ink-soft);
}
.sample-block ul li {
  padding: 10px 0 10px 24px;
  position: relative;
  border-top: 1px solid var(--border);
}
.sample-block ul li:first-child { border-top: none; }
.sample-block ul li::before {
  content: "•";
  position: absolute; left: 4px; top: 8px;
  color: var(--accent);
  font-size: 18px;
}
.hineri-list li { padding-left: 8px; }
.hineri-list li::before { content: ""; }
.hineri-list strong {
  display: block;
  color: var(--ink);
  margin-bottom: 4px;
  font-size: 15px;
}
.hineri-list span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

/* ===== PRICING ===== */
.pricing-card { padding-top: 32px; }
.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-lg);
  position: relative;
}
.card-tag {
  position: absolute;
  top: -12px; right: 24px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0;
}
.price {
  margin: 0 0 16px;
  font-weight: 700;
  color: var(--ink);
}
.price-amount {
  font-size: 36px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.price-unit {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
  margin-left: 4px;
}

/* ===== ABOUT / CONTACT ===== */
.section p { margin: 0 0 16px; }
.section p.en { color: var(--muted); font-size: 15px; }

.contact-list { margin: 0; padding: 0; }
.contact-list dt {
  font-weight: 700;
  color: var(--ink);
  margin-top: 20px;
  font-size: 14px;
  letter-spacing: 0.02em;
}
.contact-list dd {
  margin: 6px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
}
.store-list {
  list-style: none; padding: 0;
  margin: 4px 0 0;
}
.store-list li { padding: 4px 0; font-size: 14px; }

.note {
  font-size: 13px;
  color: var(--muted);
  margin: 32px 0 0;
  padding: 16px 20px;
  background: rgba(184, 133, 74, 0.06);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  line-height: 1.7;
}
.note.small { font-size: 12px; padding: 12px 16px; }

/* ===== FOOTER ===== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 32px;
  background: var(--bg);
  color: var(--muted);
}
.footer-brand {
  margin: 0 0 20px;
  font-size: 16px;
}
.footer-brand .brand-mark { color: var(--ink); }
.footer-tagline { color: var(--muted); font-weight: 400; }
.footer-nav {
  display: flex; flex-wrap: wrap; gap: 24px;
  margin-bottom: 24px;
  font-size: 14px;
}
.footer-nav a { color: var(--ink-soft); }
.footer-meta {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  line-height: 1.7;
}

/* ===== EN HELPERS ===== */
.en { font-feature-settings: "kern" on; }

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  .btn:hover { transform: none; }
}
