:root {
  --brand: #1f3a5f;
  --on-brand: #fffdf8;
  --brand-soft: #e4eaf3;
  --surface: #fffdf8;
  --surface-raised: #ffffff;
  --surface-sunken: #f6efe2;
  --ink: #1c2230;
  --ink-muted: #566070;
  --line: #7d8594;
  --line-soft: #d9d3c5;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --size-touch: 44px;
  --font-sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-sans); color: var(--ink); background: var(--surface); font-size: 16px; line-height: 1.9; }
a { color: var(--brand); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
img, svg { display: block; }
h1, h2, h3, p, ul, dl, dd { margin: 0; }
ul { list-style: none; padding: 0; }

.in { max-width: 960px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.sec { padding: 56px 0; border-top: 1px solid var(--line-soft); }
.sec--sunk { background: var(--surface-sunken); }
.sec--first { border-top: 0; }
.h2 { font-size: 24px; line-height: 36px; font-weight: 700; margin-bottom: 24px; }
.mute { color: var(--ink-muted); }
.note { font-size: 13px; line-height: 22px; color: var(--ink-muted); }
.br-sp { display: inline; }

.header { border-bottom: 1px solid var(--line-soft); background: var(--surface); }
.header .in { height: 64px; display: flex; align-items: center; justify-content: space-between; }
.header-logo img { height: 30px; width: auto; }
.header-contact { font-size: 15px; font-weight: 700; text-decoration: none; min-height: var(--size-touch); display: inline-flex; align-items: center; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 56px; padding: 0 28px; border: 1.5px solid var(--brand); border-radius: var(--radius-md); font-size: 16px; font-weight: 700; text-decoration: none; background: var(--brand); color: var(--on-brand); }
a.btn { color: var(--on-brand); }

.noren { position: relative; margin: 0 auto; }
.noren-bar { position: absolute; left: 0; right: 0; top: 0; height: 8px; border-radius: 3px; background: var(--brand); }
.noren-cloths { position: absolute; top: 8px; bottom: 0; display: flex; }
.noren-cloths i { flex: 1; border-radius: 0 0 var(--radius-md) var(--radius-md); background: var(--brand); }

.hero { background: var(--surface-sunken); padding-bottom: 48px; }
.hero-noren { padding-top: 20px; padding-left: 24px; padding-right: 24px; }
.hero-noren .noren { max-width: 342px; height: 120px; }
.hero-noren .noren-cloths { left: 14px; right: 14px; gap: 19px; }
.noren--4 { display: none; }
.hero-body { padding-top: 36px; display: flex; flex-direction: column; gap: 20px; }
.hero h1 { font-size: 34px; line-height: 48px; font-weight: 700; letter-spacing: .02em; }
.hero-text { display: flex; flex-direction: column; gap: 20px; }
.hero-lead { max-width: 520px; }

.notice { background: var(--brand-soft); }
.notice .in { padding-top: 20px; padding-bottom: 20px; display: flex; gap: 12px; align-items: flex-start; }
.notice svg { flex: none; margin-top: 4px; color: var(--brand); }

.list { display: flex; flex-direction: column; gap: 12px; }
.pain { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; background: var(--surface-raised); border: 1.5px solid var(--line-soft); border-radius: var(--radius-md); }
.pain svg { flex: none; margin-top: 4px; color: var(--brand); }

.cards { display: grid; grid-template-columns: 1fr; gap: 16px; }
.card { padding: 22px 22px 24px; background: var(--surface-raised); border: 1.5px solid var(--line-soft); border-radius: var(--radius-md); display: flex; flex-direction: column; gap: 8px; }
.card h3 { font-size: 18px; line-height: 28px; font-weight: 700; }
.num { font-size: 13px; line-height: 20px; font-weight: 700; color: var(--brand); }

.roles-body { margin-bottom: 24px; }
.roles { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
.role { flex: 1; padding: 18px 20px; border-radius: var(--radius-md); border: 1.5px solid var(--line-soft); background: var(--surface-raised); display: flex; flex-direction: column; gap: 2px; }
.role--to { border-color: var(--brand); background: var(--brand-soft); }
.role-label { font-size: 13px; line-height: 22px; font-weight: 700; color: var(--ink-muted); }
.role--to .role-label { color: var(--brand); }
.role-name { font-weight: 700; }
.roles-arrow { display: flex; justify-content: center; color: var(--line); }
.roles-arrow svg { transform: rotate(90deg); }

.origin .in { display: grid; grid-template-columns: 1fr; gap: 28px; }
.origin-noren { display: flex; justify-content: center; }
.origin-noren .noren { width: 168px; height: 92px; margin: 0; }
.origin-noren .noren-cloths { left: 7px; right: 7px; gap: 9px; }
.origin-body p + p { margin-top: 16px; }

.monitor-box { border: 2px solid var(--brand); border-radius: var(--radius-lg); padding: 28px 22px; background: var(--surface-raised); display: flex; flex-direction: column; gap: 20px; }
.monitor-box .h2 { margin-bottom: 0; }
.terms { display: grid; grid-template-columns: 1fr; gap: 4px; }
.terms dt { font-weight: 700; }
.terms dd + dt { margin-top: 12px; }

.contact .in { display: flex; flex-direction: column; gap: 16px; }
.contact .h2 { margin-bottom: 0; }
.contact-mail { align-self: flex-start; font-size: 20px; line-height: 1.6; font-weight: 700; display: inline-flex; align-items: center; gap: 10px; min-height: var(--size-touch); overflow-wrap: anywhere; }

.not-found .in { display: flex; flex-direction: column; gap: 20px; padding-top: 24px; padding-bottom: 40px; }
.not-found p { max-width: 560px; }
.not-found .h2 { margin-bottom: 0; }
.not-found-noren .noren { width: 168px; height: 92px; margin: 0; }
.not-found-noren .noren-cloths { left: 7px; right: 7px; gap: 9px; }

.legal { display: flex; flex-direction: column; gap: 14px; }
.legal .h2 { margin-bottom: 10px; }
.legal h2 { font-size: 19px; line-height: 30px; font-weight: 700; margin-top: 26px; }
.legal h3 { font-size: 17px; line-height: 28px; font-weight: 700; margin-top: 10px; }
.legal ol, .legal ul { margin: 0; padding-left: 1.6em; display: flex; flex-direction: column; gap: 6px; }
.legal ol { list-style: decimal; }
.legal ul { list-style: disc; }
.legal .price { font-size: 18px; line-height: 30px; }
.legal .price strong { font-size: 26px; }
.legal-table { overflow-x: auto; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.7; }
.legal th, .legal td { border: 1px solid var(--line-soft); padding: 10px 12px; text-align: left; vertical-align: top; }
.legal th { background: var(--surface-sunken); font-weight: 700; white-space: nowrap; }
.legal-back { margin-top: 40px; }

.footer { background: var(--brand); color: var(--on-brand); }
.footer .in { padding-top: 40px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 20px; }
.footer-privacy { display: flex; flex-direction: column; gap: 6px; }
.footer-privacy strong { font-size: 14px; font-weight: 700; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 24px; }
.footer-links a { color: var(--on-brand); font-size: 14px; min-height: var(--size-touch); display: inline-flex; align-items: center; }
.footer-privacy p, .footer small { font-size: 13px; line-height: 22px; opacity: .92; }

@media (min-width: 768px) {
  .br-sp { display: none; }
  .header .in { height: 72px; }
  .header-logo img { height: 36px; }
  .btn { width: auto; }

  .hero { padding-bottom: 80px; }
  .hero-noren { padding: 0 16px; }
  .hero-noren .noren--3 { display: none; }
  .hero-noren .noren--4 { display: block; max-width: 992px; height: 158px; }
  .hero-noren .noren--4 .noren-cloths { left: 16px; right: 16px; gap: 12px; }
  .hero-body { padding-top: 56px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: end; }
  .hero h1 { font-size: 52px; line-height: 72px; }
  .hero-text { gap: 24px; }
  .hero-lead { font-size: 18px; max-width: none; }

  .cards { grid-template-columns: 1fr 1fr; }

  .roles { flex-direction: row; align-items: center; }
  .roles-arrow svg { transform: none; }

  .origin .in { grid-template-columns: 200px 1fr; gap: 56px; align-items: start; }
  .origin-noren { justify-content: flex-start; }
  .origin-noren .noren { width: 200px; height: 112px; }
  .origin-noren .noren-cloths { left: 8px; right: 8px; gap: 11px; }

  .monitor-box { padding: 40px 44px; }
  .terms { grid-template-columns: auto 1fr; gap: 10px 20px; }
  .terms dd + dt { margin-top: 0; }

  .contact-mail { font-size: 24px; }
}
