/* ===== Namicore — style.css =====
   外部読み込みなし・JavaScriptなしで動く静的ページ用のスタイル */

:root {
  --brand: #1F3A5F;
  --brand-dark: #14263F;
  --accent: #2F7D7A;
  --tint: #EEF3F7;
  --ink: #1B2430;
  --muted: #4A5868;
  --line: #D3DCE5;
  --line-strong: #B9C6D3;
  --on-brand: #FFFFFF;
  --on-brand-muted: #D6E0EA;
  --on-brand-soft: #BFD0DF;
  --font-sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", "Noto Sans JP", "Meiryo", sans-serif;
  --container: 1120px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: #FFFFFF;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  font-feature-settings: "palt";
}

h1, h2, h3, p, ol, dl, dd { margin: 0; }
a { color: var(--brand); }
a:hover { color: var(--brand-dark); }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

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

/* ----- skip link ----- */
.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  padding: 8px 16px;
  background: var(--brand);
  color: var(--on-brand);
  z-index: 10;
}
.skip-link:focus { top: 16px; color: var(--on-brand); }

/* ----- header ----- */
.site-header { border-bottom: 1px solid var(--line); background: #FFFFFF; }
.header-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 32px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo {
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.18em;
  color: var(--brand);
  text-decoration: none;
}
.nav { display: flex; flex-wrap: wrap; gap: 0 24px; font-size: 14px; }
.nav a { display: inline-block; padding: 12px 0; text-decoration: none; }
.nav a:hover { text-decoration: underline; }

/* ----- hero ----- */
.hero { background: var(--brand); color: var(--on-brand); }
.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 112px;
  padding-bottom: 104px;
}
.hero-title {
  font-size: clamp(28px, 4.4vw, 44px);
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-wrap: balance;
}
.hero-lead { max-width: 640px; color: var(--on-brand-muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }

/* ----- buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  font-weight: 700;
  text-decoration: none;
}
.btn-light { background: #FFFFFF; color: var(--brand); }
.btn-light:hover { background: var(--tint); color: var(--brand-dark); }
.btn-outline { border: 1px solid var(--on-brand-soft); color: var(--on-brand); font-weight: 400; }
.btn-outline:hover { background: rgba(255, 255, 255, 0.08); color: var(--on-brand); }
.btn-large { min-height: 52px; padding: 0 32px; font-size: 17px; }

/* ----- sections ----- */
.section { padding: 96px 0; }
.section-border { border-top: 1px solid var(--line); }
.section-tint { background: var(--tint); }
.section-head { display: flex; flex-direction: column; gap: 4px; margin-bottom: 40px; }
.section-head h2 { font-size: 30px; line-height: 1.5; color: var(--brand); }
.section-lead { max-width: 640px; margin-top: 8px; }
.eyebrow { font-size: 13px; letter-spacing: 0.24em; color: var(--accent); font-weight: 700; }
.eyebrow-light { color: var(--on-brand-soft); }

.split { display: flex; flex-wrap: wrap; gap: 24px 64px; }
.split > .section-head { flex: 1 1 260px; margin-bottom: 0; }
.split > .split-body,
.split > .info-table { flex: 999 1 480px; min-width: 0; }
.split-body { display: flex; flex-direction: column; gap: 12px; }
.statement { font-size: 22px; font-weight: 700; line-height: 1.6; color: var(--ink); }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

/* ----- business ----- */
.feature { border-top: 2px solid var(--brand); padding-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.feature-label { font-size: 13px; color: var(--muted); }
.feature h3 { font-size: 20px; line-height: 1.5; }
.feature p:last-child { font-size: 15px; }
.text-link { margin-top: 32px; font-size: 15px; }

/* ----- policy ----- */
.card {
  background: #FFFFFF;
  border-top: 4px solid var(--accent);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card-num { font-size: 28px; line-height: 1; color: var(--accent); font-weight: 500; }
.card h3 { font-size: 19px; line-height: 1.5; }
.card p:last-child { font-size: 15px; }

/* ----- logistics ----- */
.steps {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.step {
  flex: 1 1 200px;
  border: 1px solid var(--line-strong);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.step-num { font-size: 13px; letter-spacing: 0.1em; color: var(--accent); font-weight: 700; }
.step-title { font-size: 17px; font-weight: 700; }
.step-desc { font-size: 14px; color: var(--muted); }
.step-final { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.step-final .step-num { color: var(--on-brand-soft); }
.step-final .step-desc { color: var(--on-brand-muted); }

/* ----- company ----- */
.info-table { background: #FFFFFF; border-top: 2px solid var(--brand); font-size: 15px; }
.info-row {
  display: grid;
  grid-template-columns: minmax(96px, 160px) minmax(0, 1fr);
  border-bottom: 1px solid var(--line);
}
.info-row:last-child { border-bottom: 0; }
.info-row dt,
.info-row dd { padding: 16px 20px; }
.info-row dt { font-weight: 700; }

/* ----- contact ----- */
.contact { background: var(--brand); color: var(--on-brand); }
.contact-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.contact h2 { font-size: 30px; line-height: 1.5; }
.contact-lead { max-width: 560px; color: var(--on-brand-muted); }
.email-box {
  margin-top: 16px;
  padding: 14px 32px;
  border: 1px solid var(--on-brand-soft);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
  user-select: all;
  -webkit-user-select: all;
}
.email-note { font-size: 13px; color: var(--on-brand-muted); }

/* ----- footer ----- */
.site-footer { background: var(--brand-dark); color: var(--on-brand-soft); font-size: 13px; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  padding-top: 32px;
  padding-bottom: 32px;
}
.logo-footer { color: #FFFFFF; font-size: 16px; }

/* ----- 404 ----- */
.notfound {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding-top: 96px;
  padding-bottom: 96px;
}
.notfound h1 { font-size: 28px; color: var(--brand); line-height: 1.5; }

/* ----- small screens ----- */
@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .hero-inner { padding-top: 72px; padding-bottom: 72px; }
  .section-head h2,
  .contact h2 { font-size: 24px; }
  .statement { font-size: 19px; }
  .info-row { grid-template-columns: 1fr; }
  .info-row dt { padding-bottom: 0; }
  .info-row dd { padding-top: 4px; }
}
