/* ===== Fonts ===== */
@font-face {
  font-family: "Zen Maru Gothic";
  src: url("/assets/fonts/zen-maru-gothic-bold-subset.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ===== Design tokens (single look, no dark mode) ===== */
:root {
  --tom-blue: #3e66b7;
  --on-blue: #ffffff;
  --on-blue-soft: rgba(255, 255, 255, 0.82);
  --on-blue-faint: rgba(255, 255, 255, 0.62);
  --card-bg: #ffffff;
  --card-text: #333333;
  --card-text-soft: #63676f;
  --card-divider: #eaebef;
  --card-tip-bg: #eef2fb;
  --shadow: 0 16px 40px rgba(20, 32, 70, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--tom-blue);
  color: var(--on-blue);
  font-family: "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic UI",
    system-ui, -apple-system, sans-serif;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

.heading-font {
  font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN",
    "Hiragino Sans", system-ui, sans-serif;
  font-weight: 700;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Header ===== */
.site-header {
  padding: 20px 0;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-mark {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-size: 15px;
  text-decoration: none;
  color: var(--on-blue-soft);
}

.brand-mark strong {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  color: var(--on-blue);
}

.nav-link {
  font-size: 14px;
  color: var(--on-blue-soft);
  text-decoration: none;
  border-bottom: 1px solid var(--on-blue-faint);
}

/* ===== Hero (sits directly on the blue background) ===== */
.hero {
  text-align: center;
  padding: 24px 0 48px;
}

.hero img.tom-hero {
  width: 168px;
  height: 168px;
  margin: 0 auto 20px;
}

.hero h1 {
  font-size: clamp(26px, 6vw, 36px);
  margin: 0 0 14px;
  letter-spacing: 0.01em;
  color: var(--on-blue);
}

.hero p.lead {
  color: var(--on-blue-soft);
  font-size: 17px;
  max-width: 480px;
  margin: 0 auto;
}

.cta-row {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  font-family: "Zen Maru Gothic", sans-serif;
  background: #ffffff;
  color: var(--tom-blue);
  box-shadow: var(--shadow);
}

/* ===== Sections / white cards ===== */
section {
  padding: 20px 0 44px;
}

.card {
  background: var(--card-bg);
  color: var(--card-text);
  border-radius: 26px;
  padding: 34px 26px;
  box-shadow: var(--shadow);
}

.card h2 {
  font-size: 22px;
  margin: 0 0 24px;
  text-align: center;
  color: var(--card-text);
}

/* ===== Feature rows (inside the 特長 card) ===== */
.feature-list {
  display: flex;
  flex-direction: column;
}

.feature-row {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--card-divider);
}

.feature-row:first-child {
  border-top: none;
  padding-top: 0;
}

.feature-row:last-child {
  padding-bottom: 0;
}

.feature-row .icon {
  font-size: 24px;
  line-height: 1.4;
  flex-shrink: 0;
}

.feature-row h3 {
  margin: 0 0 6px;
  font-size: 16.5px;
  color: var(--card-text);
}

.feature-row p {
  margin: 0;
  color: var(--card-text-soft);
  font-size: 15px;
}

/* ===== How to use (inside the 使い方 card) ===== */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 4px 0 24px 46px;
  border-left: 2px solid var(--card-divider);
  margin-left: 17px;
}

.steps li:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: -17px;
  top: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--tom-blue);
  color: #fff;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps h3 {
  margin: 0 0 6px;
  font-size: 16px;
  color: var(--card-text);
}

.steps p {
  margin: 0;
  color: var(--card-text-soft);
  font-size: 15px;
}

.tip-box {
  margin-top: 28px;
  background: var(--card-tip-bg);
  border-radius: 14px;
  padding: 16px 18px;
  font-size: 14px;
  color: var(--card-text-soft);
}

/* ===== FAQ (inside the よくある質問 card) ===== */
.faq-item {
  border-top: 1px solid var(--card-divider);
}

.faq-item:first-of-type {
  border-top: none;
}

.faq-item summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 700;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 15px;
  color: var(--card-text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  color: var(--tom-blue);
  font-size: 20px;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0 0 18px;
  color: var(--card-text-soft);
  font-size: 14.5px;
  white-space: pre-line;
}

/* ===== Footer (sits directly on the blue background) ===== */
footer {
  padding: 32px 0 48px;
  text-align: center;
  color: var(--on-blue-faint);
  font-size: 13px;
}

footer a {
  color: var(--on-blue-soft);
}

footer .footer-links {
  margin-bottom: 10px;
}

footer .footer-links a {
  margin: 0 10px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===== Top (frustol) page ===== */
.top-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
}

.top-page .brand-title {
  font-size: clamp(30px, 8vw, 44px);
  color: var(--on-blue);
  margin: 0 0 40px;
}

/* ===== Privacy page ===== */
.legal-hero {
  text-align: center;
  padding: 8px 0 36px;
}

.legal-hero h1 {
  font-size: 26px;
  margin: 0 0 8px;
  color: var(--on-blue);
}

.legal-hero .updated {
  color: var(--on-blue-faint);
  font-size: 13px;
}

.legal .card h2 {
  font-size: 17px;
  margin: 32px 0 12px;
  text-align: left;
}

.legal .card h2:first-child {
  margin-top: 0;
}

.legal .card p,
.legal .card li {
  color: var(--card-text-soft);
  font-size: 15px;
}

.legal .card ul {
  padding-left: 20px;
}

.legal .card p:first-of-type {
  margin-top: 0;
}
