
:root {
  --paper: #F5F7F6;
  --paper2: #E6EEEC;
  --white: #FBFCFB;
  --ink: #17262B;
  --muted: #4E5F64;
  --line: #CBD6D4;
  --hub: #0F5E5A;
  --hub-soft: #DCECE9;
  --signal: #C25A12;
  --signal-soft: #FBE8D8;
  --steel: #2F5D86;
  --steel-soft: #E1EAF3;
  --display: "Zen Maru Gothic", "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  --body: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.85; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--display); margin: 0; line-height: 1.35; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* header */
header.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-family: var(--display); font-weight: 900; font-size: 24px; letter-spacing: .04em; text-decoration: none; color: var(--hub); display: flex; align-items: center; gap: 10px; }
.logo svg { width: 28px; height: 28px; }
nav ul { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
nav a { text-decoration: none; font-size: 14px; font-weight: 700; color: var(--muted); }
nav a:hover { color: var(--hub); }

/* hero */
.hero { background: var(--hub); color: var(--white); padding: 96px 0 104px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 480px; height: 480px; border-radius: 50%; border: 64px solid rgba(246,201,162,.12); }
.hero .eyebrow { color: #F6C9A2; }
.hero h1 { font-size: clamp(34px, 6vw, 60px); font-weight: 900; margin: 16px 0 24px; }
.hero h1 em { font-style: normal; color: #F6C9A2; }
.hero p.lead { max-width: 40em; color: #D5E9E6; font-size: 17px; }
.hero .cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; }
.btn.primary { background: #F6C9A2; color: var(--ink); }
.btn.ghost { border: 2px solid rgba(251,252,251,.5); color: var(--white); }
.btn.dark { background: var(--hub); color: var(--white); }
.btn.line { border: 2px solid var(--hub); color: var(--hub); }

.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--hub); text-transform: uppercase; }
section.block { padding: 88px 0; }
section.block.alt { background: var(--white); }
.sec-head { display: grid; gap: 8px; margin-bottom: 40px; }
.sec-head h2 { font-size: clamp(26px, 3.6vw, 36px); font-weight: 900; }
.sec-head p { color: var(--muted); max-width: 44em; }

/* philosophy */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.pillar { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: grid; gap: 10px; align-content: start; }
.pillar .no { font-family: var(--display); font-weight: 900; font-size: 15px; color: var(--signal); }
.pillar h3 { font-size: 20px; font-weight: 900; }
.pillar p { font-size: 15px; color: var(--muted); }

/* services */
.services { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.svc { border-radius: 20px; padding: 28px; display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; background: var(--paper); }
.svc .ic { width: 56px; height: 56px; }
.svc h3 { font-size: 19px; font-weight: 900; margin-bottom: 4px; }
.svc p { font-size: 15px; color: var(--muted); }

/* product */
.product { background: var(--white); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; }
.product .ph { background: var(--hub-soft); padding: 40px; display: grid; gap: 12px; }
.product .ph .tag { display: inline-block; width: fit-content; background: var(--hub); color: var(--white); font-size: 12px; font-weight: 700; padding: 2px 12px; border-radius: 999px; letter-spacing: .06em; }
.product .ph h3 { font-size: clamp(24px, 3.4vw, 32px); font-weight: 900; }
.product .ph p { color: var(--muted); max-width: 44em; }
.product .pb { padding: 40px; display: grid; gap: 40px; }
.nums { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.num { border-radius: 18px; padding: 22px 24px; display: grid; gap: 6px; align-content: start; }
.num .big { font-family: var(--display); font-weight: 900; font-size: 56px; line-height: 1; }
.num h4 { margin: 0; font-size: 17px; }
.num p { font-size: 14px; color: var(--ink); }
.num.a { background: var(--signal-soft); } .num.a .big { color: var(--signal); }
.num.b { background: var(--hub-soft); } .num.b .big { color: var(--hub); }
.num.c { background: var(--steel-soft); } .num.c .big { color: var(--steel); }
.ba { display: grid; grid-template-columns: 1fr 40px 1fr; gap: 12px; align-items: stretch; }
.ba .col { border-radius: 18px; padding: 24px; }
.ba .col h4 { margin: 0 0 8px; font-family: var(--display); font-size: 18px; }
.ba .col ol { margin: 0; padding-left: 1.3em; font-size: 15px; display: grid; gap: 4px; }
.ba .before { background: var(--paper2); color: var(--muted); }
.ba .after { border: 2px solid var(--hub); }
.ba .after h4 { color: var(--hub); }
.ba .after li { font-weight: 700; }
.ba .arr { display: grid; place-items: center; color: var(--hub); }
.ba .arr svg { width: 32px; height: 32px; }
.how { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.how .w { border: 1px solid var(--line); border-radius: 18px; padding: 22px; text-align: center; display: grid; gap: 6px; justify-items: center; }
.how .w svg { width: 52px; height: 52px; }
.how .w h4 { margin: 0; font-size: 16px; }
.how .w p { font-size: 14px; color: var(--muted); }
.note-band { background: var(--ink); color: var(--white); border-radius: 16px; padding: 18px 24px; font-weight: 700; }
.pf { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; border-top: 1px dashed var(--line); padding-top: 28px; }
.pf .partner { font-size: 14px; color: var(--muted); }
.pf .partner b { color: var(--ink); }
.pf .btns { display: flex; flex-wrap: wrap; gap: 10px; }
h4.mini { margin: 0 0 14px; font-family: var(--display); font-size: 18px; }

/* company */
dl.co { margin: 0; display: grid; grid-template-columns: 180px 1fr; border-top: 1px solid var(--line); }
dl.co dt, dl.co dd { margin: 0; padding: 18px 8px; border-bottom: 1px solid var(--line); }
dl.co dt { font-weight: 700; color: var(--muted); font-size: 15px; }
dl.co dd ul { margin: 0; padding-left: 1.2em; }

/* contact */
.contact { background: var(--ink); color: var(--white); padding: 88px 0; }
.contact .eyebrow { color: #F6C9A2; }
.contact h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 900; margin: 10px 0 16px; }
.contact p { color: #B9CCD0; }
.contact .mail { margin-top: 28px; display: inline-flex; align-items: center; gap: 12px; background: #F6C9A2; color: var(--ink); font-weight: 900; font-size: 20px; padding: 16px 28px; border-radius: 999px; text-decoration: none; }
footer { background: #0F1B1E; color: #8FA5A9; font-size: 13px; padding: 24px 0; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

@media (max-width: 860px) {
  nav { display: none; }
  .pillars, .services, .nums, .how { grid-template-columns: minmax(0,1fr); }
  .ba { grid-template-columns: minmax(0,1fr); }
  .ba .arr svg { transform: rotate(90deg); }
  .product .ph, .product .pb { padding: 28px 22px; }
  dl.co { grid-template-columns: minmax(0,1fr); }
  dl.co dt { border-bottom: none; padding-bottom: 0; }
  section.block { padding: 64px 0; }
}

/* --- multi-page additions --- */
nav a { padding: 6px 2px; border-bottom: 3px solid transparent; }
nav a[aria-current="page"] { color: var(--hub); border-bottom-color: var(--signal); }
.menu-toggle { display: none; }
.menu-btn { display: none; }
.page-hero { background: var(--hub); color: var(--white); padding: 56px 0 60px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -80px; top: -140px; width: 340px; height: 340px; border-radius: 50%; border: 48px solid rgba(246,201,162,.12); }
.page-hero .eyebrow { color: #F6C9A2; }
.page-hero h1 { font-size: clamp(28px, 4.4vw, 42px); font-weight: 900; margin-top: 8px; }
.page-hero p { color: #D5E9E6; margin-top: 12px; max-width: 42em; }
.crumb { font-size: 13px; color: #B9D6D2; margin-bottom: 10px; }
.crumb a { color: #F6C9A2; text-decoration: none; }
.links { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.link-card { display: grid; gap: 8px; padding: 28px; border-radius: 20px; background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.link-card:hover { border-color: var(--hub); transform: translateY(-2px); }
.link-card .k { font-size: 13px; font-weight: 700; color: var(--hub); letter-spacing: .1em; }
.link-card h3 { font-size: 21px; font-weight: 900; }
.link-card p { font-size: 15px; color: var(--muted); }
.link-card .more { font-size: 14px; font-weight: 700; color: var(--signal); }
.link-card.feature { grid-column: 1 / -1; background: var(--hub-soft); border-color: transparent; }
.next { margin-top: 48px; display: flex; justify-content: flex-end; }
@media (max-width: 860px) {
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); cursor: pointer; }
  .menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; content: ""; }
  .menu-btn span::before { position: absolute; top: -6px; }
  .menu-btn span::after { position: absolute; top: 6px; }
  nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--line); }
  .menu-toggle:checked ~ nav { display: block; }
  nav ul { flex-direction: column; gap: 0; padding: 8px 24px 16px; }
  nav a { display: block; padding: 12px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
  nav a[aria-current="page"] { border-bottom-color: var(--line); }
  .links { grid-template-columns: minmax(0,1fr); }
}
