/* 日中商材代理サイト — 参考: jidoraku.jp のシンプルな縦積みレイアウト */
:root {
  --navy: #0F2A4A;
  --navy-deep: #081A33;
  --accent: #C8102E;
  --accent-soft: #F7E6E9;
  --text: #1E2A38;
  --muted: #5B6675;
  --line: #E2E7EE;
  --bg-alt: #F4F6F9;
  --white: #FFFFFF;
  --radius: 10px;
  --max: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  font-family: "Hiragino Sans", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.8;
  font-size: 16px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.small { font-size: 13px; color: var(--muted); }
.light { color: var(--white); }

.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--navy); color: var(--white); padding: 8px 14px; z-index: 100;
}
.skip:focus { left: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 24px; height: 64px;
}
.logo { font-weight: 700; color: var(--navy); font-size: 18px; letter-spacing: .04em; }
.gnav { display: flex; gap: 20px; margin-left: auto; font-size: 14px; }
.gnav a:hover { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 14px 28px; border-radius: 999px;
  font-weight: 700; font-size: 15px; transition: .2s;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: #A50C25; }
.btn-ghost { border: 2px solid var(--navy); color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.btn-ghost-light { border: 2px solid var(--white); color: var(--white); }
.btn-ghost-light:hover { background: var(--white); color: var(--navy); }
.btn-small { background: var(--navy); color: var(--white); padding: 8px 18px; font-size: 13px; }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.text-link { color: var(--accent); font-weight: 700; font-size: 14px; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  padding: 110px 0 100px;
}
.eyebrow { font-size: 12px; letter-spacing: .2em; opacity: .7; margin-bottom: 16px; }
.hero h1 { font-size: 40px; line-height: 1.4; font-weight: 800; }
.lead { margin-top: 22px; max-width: 640px; opacity: .92; }
.hero .btn-ghost { color: var(--white); border-color: var(--white); }
.hero .btn-ghost:hover { background: var(--white); color: var(--navy); }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--navy); color: var(--white); }

.section-title {
  font-size: 28px; font-weight: 800; color: var(--navy);
  margin-bottom: 14px; line-height: 1.4;
}
.section-title span {
  display: block; font-size: 12px; letter-spacing: .2em;
  color: var(--accent); font-weight: 700; margin-bottom: 6px;
}
.section-title.light { color: var(--white); }
.section-desc { color: var(--muted); margin-bottom: 40px; }
.section-desc.light { color: rgba(255,255,255,.85); }
.note { margin-top: 28px; font-size: 13px; color: var(--muted); }

/* ---------- Issue ---------- */
.issue-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 36px; }
.issue-list li {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px;
}
.issue-list .num { font-size: 22px; font-weight: 800; color: var(--accent); line-height: 1; }
.issue-list p { font-size: 15px; }

/* ---------- Services ---------- */
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.service-card {
  background: var(--white); border-radius: var(--radius);
  padding: 36px 32px; border-top: 5px solid var(--navy);
  box-shadow: 0 6px 24px rgba(15,42,74,.06);
}
.service-card:nth-child(2) { border-top-color: var(--accent); }
.service-tag { font-size: 12px; letter-spacing: .18em; color: var(--muted); font-weight: 700; }
.service-card h3 { font-size: 26px; color: var(--navy); margin: 8px 0 4px; }
.service-sub { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.check-list { list-style: none; margin-bottom: 26px; }
.check-list li {
  padding: 10px 0 10px 28px; position: relative; border-bottom: 1px dashed var(--line); font-size: 15px;
}
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 10px; color: var(--accent); font-weight: 800;
}

/* ---------- Flow ---------- */
.flow {
  list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  counter-reset: step; margin-top: 36px;
}
.flow li {
  counter-increment: step; background: var(--bg-alt); border-radius: var(--radius);
  padding: 26px 24px; position: relative;
}
.flow li::before {
  content: "STEP " counter(step); font-size: 11px; letter-spacing: .15em;
  color: var(--accent); font-weight: 700;
}
.flow .step-title, .flow h4 { font-size: 18px; color: var(--navy); margin: 6px 0 6px; }
.flow p { font-size: 14px; color: var(--muted); }

/* ---------- Strength ---------- */
.strength-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 36px; }
.strength-item { background: var(--white); border-radius: var(--radius); padding: 28px; border-left: 4px solid var(--accent); }
.strength-item h4, .strength-item h3 { font-size: 18px; color: var(--navy); margin-bottom: 6px; }
.strength-item p { font-size: 14px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px solid var(--line); padding: 18px 4px;
}
.faq-item summary {
  cursor: pointer; font-weight: 700; color: var(--navy); list-style: none; padding-right: 28px; position: relative;
}
.faq-item summary::after {
  content: "+"; position: absolute; right: 0; top: -2px; font-size: 22px; color: var(--accent);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin-top: 12px; color: var(--muted); font-size: 15px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.85); padding: 56px 0 24px; }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.site-footer .logo { color: var(--white); margin-bottom: 8px; }
.site-footer .small { color: rgba(255,255,255,.6); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 18px; align-content: flex-start; font-size: 14px; }
.footer-nav a:hover { color: var(--white); }
.copy { text-align: center; font-size: 12px; margin-top: 40px; color: rgba(255,255,255,.5); }

/* ---------- Sub pages ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white); padding: 72px 0 64px;
}
.page-hero h1 { font-size: 32px; line-height: 1.45; font-weight: 800; }
.page-hero .eyebrow { margin-bottom: 12px; }
.page-hero .lead { margin-top: 18px; }
.breadcrumb { font-size: 13px; color: var(--muted); padding: 14px 0; border-bottom: 1px solid var(--line); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 6px; }
.prose p { margin-bottom: 14px; }
.prose h2 { font-size: 22px; color: var(--navy); margin: 0 0 16px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 36px; }
.box { background: var(--bg-alt); border-radius: var(--radius); padding: 30px; }
.box h3 { font-size: 18px; color: var(--navy); margin-bottom: 12px; }
.box p { font-size: 15px; color: var(--muted); }
.info-table { width: 100%; border-collapse: collapse; margin-top: 28px; background: var(--white); }
.info-table th, .info-table td {
  text-align: left; vertical-align: top; padding: 18px 16px; border-bottom: 1px solid var(--line); font-size: 15px;
}
.info-table th { width: 30%; color: var(--navy); font-weight: 700; background: var(--bg-alt); }
.service-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 36px; }
.service-switch a {
  display: block; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 28px; border-left: 5px solid var(--navy);
}
.service-switch a:nth-child(2) { border-left-color: var(--accent); }
.service-switch strong { display: block; font-size: 18px; color: var(--navy); margin-bottom: 4px; }
.service-switch span { font-size: 14px; color: var(--muted); }
.service-switch a:hover { box-shadow: 0 6px 24px rgba(15,42,74,.08); }
.flow-note { margin-top: 24px; font-size: 14px; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .gnav { display: none; }
  .hero { padding: 80px 0 72px; }
  .hero h1 { font-size: 30px; }
  .section { padding: 64px 0; }
  .section-title { font-size: 23px; }
  .issue-list, .service-grid, .strength-grid { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr 1fr; }
  .split, .service-switch { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 26px; }
  .info-table th { width: 36%; }
}
@media (max-width: 520px) {
  .flow { grid-template-columns: 1fr; }
  .info-table th, .info-table td { display: block; width: 100%; }
  .info-table th { padding-bottom: 6px; border-bottom: none; }
  .btn { width: 100%; text-align: center; }
  .cta-row .btn { width: auto; }
}
