:root {
  --ink: #1f1a1c;
  --ink-soft: #5f575b;
  --line: #eceaeb;
  --surface: #ffffff;
  --page: #f9f9f9;
  --accent: #e0146a;
  --button: #1f1a1c;
  --button-ink: #ffffff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f2eef0;
    --ink-soft: #b5aeb1;
    --line: #2e2a2c;
    --surface: #1a1718;
    --page: #121011;
    --accent: #ff4d94;
    --button: #f2eef0;
    --button-ink: #121011;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
  line-height: 1.8;
  -webkit-text-size-adjust: 100%;
}

a { color: inherit; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }

.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.lang-switch { color: var(--ink-soft); font-size: 14px; padding: 8px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; font-size: 18px; }
.brand img { border-radius: 8px; }

.hero { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.hero h1 { font-size: clamp(28px, 4.4vw, 44px); line-height: 1.35; margin: 0 0 20px; letter-spacing: 0.01em; }
.accent { color: var(--accent); }
.phrase { display: inline-block; }
.lead { word-break: auto-phrase; }
.lead { color: var(--ink-soft); font-size: 17px; margin: 0 0 28px; }
.phone { width: 100%; height: auto; border-radius: 28px; border: 1px solid var(--line); }

.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  background: var(--button); color: var(--button-ink); text-decoration: none; font-weight: 700;
  padding: 14px 22px; border-radius: 12px; font-size: 15px;
}
.store:hover { opacity: 0.88; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-bottom: 64px; }
.feature { background: var(--surface); border-radius: 16px; padding: 24px; }
.feature h3 { margin: 0 0 8px; font-size: 17px; }
.feature p { margin: 0; color: var(--ink-soft); font-size: 15px; }

.legal { max-width: 760px; padding-top: 40px; padding-bottom: 64px; }
.legal h1 { font-size: 28px; margin: 0 0 4px; }
.legal h2 { font-size: 18px; margin: 32px 0 8px; }
.legal p { margin: 0 0 8px; font-size: 15px; overflow-wrap: anywhere; }
.legal .updated { color: var(--ink-soft); margin-bottom: 24px; }
.legal .closing { margin-top: 32px; }
.legal ul { margin: 0 0 8px; padding-left: 20px; font-size: 15px; }
.legal li { margin-bottom: 4px; overflow-wrap: anywhere; }

.site-footer { border-top: 1px solid var(--line); background: var(--surface); padding: 28px 0; font-size: 14px; color: var(--ink-soft); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 8px; }
.site-footer p { margin: 0; }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; gap: 32px; padding-top: 32px; }
  .phone { max-width: 280px; justify-self: center; }
  .features { grid-template-columns: 1fr; }
}
