:root {
  --ink: #14213d;
  --muted: #586276;
  --paper: #f7f9fc;
  --white: #ffffff;
  --line: #dfe5ef;
  --brand: #e94f37;
  --brand-dark: #b92f20;
  --navy: #0c1730;
  --soft: #eef3fb;
  --ok: #166534;
  --shadow: 0 18px 50px rgba(20, 33, 61, .11);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(223, 229, 239, .86);
  background: rgba(247, 249, 252, .92);
  backdrop-filter: blur(16px);
}
.nav { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { font-size: 1.28rem; font-weight: 850; letter-spacing: -.04em; text-decoration: none; }
.brand span { color: var(--brand); }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: .92rem; font-weight: 700; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--brand-dark); }
.nav-links .legal-link { padding: 9px 14px; border-radius: 999px; color: #fff; background: var(--navy); }

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 82% 18%, rgba(233, 79, 55, .47), transparent 28%),
    linear-gradient(135deg, #0b1428 0%, #132449 58%, #0b1428 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .13;
  background-image: linear-gradient(rgba(255,255,255,.35) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.35) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.12fr .88fr; gap: 58px; align-items: center; min-height: 650px; padding-block: 82px; }
.eyebrow { margin: 0 0 18px; color: #ffb5a9; font-size: .78rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; line-height: 1.12; letter-spacing: -.035em; }
h1 { margin-bottom: 22px; font-size: clamp(2.6rem, 6vw, 5.2rem); }
.hero-copy { max-width: 640px; margin: 0 0 30px; color: #dbe5f8; font-size: clamp(1rem, 2vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 21px; border: 1px solid transparent; border-radius: 12px; font-weight: 800; text-decoration: none; }
.button.primary { color: #fff; background: var(--brand); box-shadow: 0 12px 30px rgba(233,79,55,.28); }
.button.primary:hover { background: #f25e47; }
.button.secondary { color: #fff; border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.08); }
.button.outline { color: var(--ink); border-color: var(--line); background: var(--white); }
.micro { margin-top: 18px; color: #b9c6dc; font-size: .9rem; }

.console { padding: 18px; border: 1px solid rgba(255,255,255,.15); border-radius: 26px; background: rgba(255,255,255,.08); box-shadow: 0 24px 70px rgba(0,0,0,.28); transform: rotate(1.2deg); }
.console-top { display: flex; gap: 7px; margin-bottom: 15px; }
.console-top i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.42); }
.console-body { padding: 20px; border-radius: 17px; color: var(--ink); background: #fff; }
.console-row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.console-row:last-child { border: 0; }
.status { color: var(--ok); font-size: .82rem; font-weight: 850; }
.order { font-weight: 800; }
.amount { color: var(--brand-dark); font-weight: 850; }

.section { padding-block: 90px; }
.section.white { background: var(--white); }
.section-head { max-width: 720px; margin-bottom: 42px; }
.section-head h2 { margin-bottom: 14px; font-size: clamp(2rem, 4vw, 3.15rem); }
.section-head p { margin: 0; color: var(--muted); font-size: 1.05rem; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 7px 24px rgba(20,33,61,.045); }
.card .number { display: inline-grid; place-items: center; width: 38px; height: 38px; margin-bottom: 22px; border-radius: 11px; color: #fff; background: var(--brand); font-weight: 850; }
.card h3 { margin-bottom: 10px; font-size: 1.18rem; }
.card p { margin: 0; color: var(--muted); }
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 0; list-style: none; }
.feature-list li { position: relative; padding: 22px 22px 22px 54px; border: 1px solid var(--line); border-radius: 16px; background: var(--soft); }
.feature-list li::before { content: ""; position: absolute; left: 22px; top: 25px; width: 16px; height: 16px; border: 5px solid #ffd8d2; border-radius: 50%; background: var(--brand); }
.product-cards { grid-template-columns: repeat(2, 1fr); }
.product-tag { display: inline-block; margin-bottom: 16px; color: var(--brand-dark); font-size: .76rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.card a { display: inline-block; margin-top: 18px; color: var(--brand-dark); font-weight: 800; text-decoration: none; }
.card a:hover { text-decoration: underline; }
.card.emphasis { color: #fff; border-color: var(--navy); background: var(--navy); }
.card.emphasis p { color: #c4cee1; }
.card.emphasis .product-tag { color: #ffb5a9; }
.card.emphasis a { color: #fff; }

.flow { counter-reset: item; display: grid; gap: 14px; padding: 0; list-style: none; }
.flow li { position: relative; display: grid; grid-template-columns: 58px 1fr; gap: 20px; align-items: start; padding: 23px 26px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.flow li::before { counter-increment: item; content: counter(item); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; color: #fff; background: var(--navy); font-weight: 850; }
.flow h3 { margin: 3px 0 6px; font-size: 1.08rem; }
.flow p { margin: 0; color: var(--muted); }

.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.price-card { position: relative; padding: 34px; border-radius: 24px; background: #fff; box-shadow: var(--shadow); }
.price-card.accent { color: #fff; background: var(--navy); }
.price-kicker { margin: 0 0 8px; color: var(--brand); font-size: .82rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.price-card.accent .price-kicker { color: #ffb5a9; }
.price { margin: 8px 0 20px; font-size: clamp(2.2rem, 5vw, 3.7rem); font-weight: 900; letter-spacing: -.05em; }
.price small { font-size: .95rem; font-weight: 650; letter-spacing: 0; }
.price-list { margin: 0; padding-left: 21px; }
.price-note { margin-top: 22px; color: var(--muted); font-size: .9rem; }
.price-card.accent .price-note { color: #b9c6dc; }

.office { display: grid; grid-template-columns: .95fr 1.05fr; gap: 34px; align-items: center; }
.single-office { grid-template-columns: 1fr; max-width: 760px; }
.office-photo { overflow: hidden; min-height: 360px; border-radius: 24px; background: var(--soft); box-shadow: var(--shadow); }
.office-photo img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.office-copy h2 { font-size: clamp(2rem, 4vw, 3rem); }
.office-copy p { color: var(--muted); }
.address { padding: 18px 20px; border-left: 4px solid var(--brand); background: var(--soft); font-style: normal; }

.legal-shell { display: grid; grid-template-columns: 230px 1fr; gap: 54px; padding-block: 70px 100px; }
.legal-menu { position: sticky; top: 96px; align-self: start; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.legal-menu a { display: block; padding: 8px 9px; border-radius: 8px; color: var(--muted); font-size: .88rem; text-decoration: none; }
.legal-menu a:hover { color: var(--brand-dark); background: var(--soft); }
.legal-main h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
.legal-main > p { color: var(--muted); }
.legal-table { width: 100%; margin-top: 34px; border-collapse: collapse; border: 1px solid var(--line); background: #fff; }
.legal-table th, .legal-table td { padding: 17px 19px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-table th { width: 31%; color: #29344b; background: var(--soft); }
.legal-table tr:last-child th, .legal-table tr:last-child td { border-bottom: 0; }
.lang-block { margin-top: 42px; padding-top: 42px; border-top: 2px solid var(--ink); }
.notice { padding: 18px 20px; border-radius: 14px; color: #5b2b23; background: #fff0ed; }
.location-proof { margin-top: 46px; padding-top: 28px; border-top: 1px solid var(--line); }
.location-proof h2 { margin-bottom: 8px; font-size: 1.35rem; }
.location-proof > p { margin: 0 0 18px; color: var(--muted); font-size: .92rem; }
.location-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 560px; }
.location-photos figure { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.location-photos img { width: 100%; height: 150px; object-fit: cover; }
.location-photos figcaption { padding: 10px 12px; color: var(--muted); font-size: .8rem; }

.footer { padding-block: 40px; color: #c5cee0; background: #0a1327; }
.footer-grid { display: flex; justify-content: space-between; gap: 28px; align-items: flex-start; }
.footer a { color: #fff; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer small { display: block; margin-top: 20px; color: #8f9bb2; }

@media (max-width: 850px) {
  .hero-grid, .office, .pricing-grid, .legal-shell { grid-template-columns: 1fr; }
  .hero-grid { min-height: auto; padding-block: 70px; }
  .console { max-width: 540px; }
  .cards { grid-template-columns: 1fr; }
  .product-cards { grid-template-columns: 1fr; }
  .legal-menu { position: static; }
}
@media (max-width: 620px) {
  .wrap { width: min(100% - 28px, 1120px); }
  .nav { min-height: 64px; }
  .nav-links a:not(.legal-link) { display: none; }
  .hero-grid { gap: 40px; }
  .section { padding-block: 66px; }
  .feature-list { grid-template-columns: 1fr; }
  .flow li { grid-template-columns: 46px 1fr; padding: 19px; gap: 14px; }
  .flow li::before { width: 42px; height: 42px; }
  .legal-table, .legal-table tbody, .legal-table tr, .legal-table th, .legal-table td { display: block; width: 100%; }
  .legal-table th { border-bottom: 0; padding-bottom: 5px; }
  .footer-grid { flex-direction: column; }
  .location-photos { grid-template-columns: 1fr; max-width: 340px; }
}
