* {
  box-sizing: border-box;
}

:root {
  --bg: #f7f8f6;
  --paper: #ffffff;
  --ink: #17202a;
  --muted: #5f6b76;
  --line: rgba(23, 32, 42, .12);
  --brand: #1f6f8b;
  --brand-2: #55b7a8;
  --accent: #d94848;
  --soft: rgba(31, 111, 139, .1);
  --shadow: 0 22px 60px rgba(20, 30, 40, .14);
  --radius: 8px;
  --font-body: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
  --font-display: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
  --font-label: "Oswald", "Arial Narrow", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font-body);
  line-height: 1.75;
}

body.trust {
  --font-body: "M PLUS Rounded 1c", "Noto Sans JP", "Yu Gothic", system-ui, sans-serif;
  --font-display: "M PLUS Rounded 1c", "Noto Sans JP", "Yu Gothic", system-ui, sans-serif;
}

body.luxury {
  --bg: #0e0c0a;
  --paper: #15110d;
  --ink: #f6efe4;
  --muted: #c9bca8;
  --line: rgba(246, 239, 228, .16);
  --brand: #a11916;
  --brand-2: #c79a50;
  --accent: #d7b46a;
  --soft: rgba(215, 180, 106, .12);
  --shadow: 0 26px 70px rgba(0, 0, 0, .42);
  --font-body: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --font-display: "Shippori Mincho", "Noto Serif JP", "Yu Mincho", serif;
}

body.recruit {
  --bg: #f4f7fb;
  --brand: #053267;
  --brand-2: #c9172b;
  --accent: #c9172b;
  --soft: rgba(5, 50, 103, .08);
  --font-body: "BIZ UDPGothic", "Yu Gothic", system-ui, sans-serif;
  --font-display: "BIZ UDPGothic", "Noto Sans JP", system-ui, sans-serif;
}

body.local {
  --bg: #fbf8f1;
  --brand: #1b7b68;
  --brand-2: #e0a33a;
  --accent: #d26033;
  --soft: rgba(27, 123, 104, .1);
  --font-body: "Zen Maru Gothic", "Yu Gothic", system-ui, sans-serif;
  --font-display: "Zen Maru Gothic", "Noto Sans JP", system-ui, sans-serif;
}

body.technical {
  --bg: #f3f5f5;
  --brand: #263b3f;
  --brand-2: #0e8a9a;
  --accent: #e05b35;
  --soft: rgba(14, 138, 154, .1);
  --font-body: "Zen Kaku Gothic New", "BIZ UDPGothic", system-ui, sans-serif;
  --font-display: "Zen Kaku Gothic New", "Noto Sans JP", system-ui, sans-serif;
}

.trust .hero::before {
  background:
    linear-gradient(104deg, color-mix(in srgb, var(--paper) 98%, transparent) 0%, color-mix(in srgb, var(--paper) 88%, transparent) 46%, transparent 78%),
    radial-gradient(circle at 8% 12%, rgba(85, 183, 168, .18), transparent 28%),
    var(--hero-image) center / cover no-repeat;
}

.trust .brand-mark,
.trust .point-icon,
.trust .card .number {
  border-radius: 999px;
}

.trust .card,
.trust .feature-item,
.trust details {
  border-radius: 8px;
}

.luxury h1,
.luxury .section-title {
  font-weight: 700;
}

.luxury .hero-points {
  width: min(620px, 100%);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: rgba(215, 180, 106, .22);
}

.luxury .hero-point {
  background: rgba(21, 17, 13, .74);
}

.luxury .visual-band {
  grid-template-columns: 1.4fr .8fr .8fr;
  min-height: 520px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.luxury .visual-tile {
  min-height: 520px;
}

.luxury .section.alt {
  background: #100d0a;
}

.luxury .proof-grid {
  background: #18130f;
}

.recruit .hero::before {
  background:
    linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .92) 38%, rgba(255, 255, 255, .16) 100%),
    linear-gradient(135deg, transparent 0 62%, rgba(201, 23, 43, .92) 62% 66%, transparent 66%),
    var(--hero-image) center / cover no-repeat;
}

.recruit .proof-strip {
  margin-top: 0;
  background: var(--brand);
}

.recruit .proof-grid {
  box-shadow: none;
  transform: translateY(-1px);
}

.recruit #strength .photo-panel {
  order: -1;
}

.recruit .steps {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.local .hero {
  border-bottom: 8px solid var(--brand-2);
}

.local .hero::before {
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--paper) 96%, transparent) 0%, color-mix(in srgb, var(--paper) 84%, transparent) 52%, transparent 100%),
    var(--hero-image) center / cover no-repeat;
}

.local .card-grid {
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, .9fr));
}

.local .card:first-child {
  background: color-mix(in srgb, var(--paper) 78%, var(--soft));
  border-color: color-mix(in srgb, var(--brand) 36%, var(--line));
}

.local .proof-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.technical .hero::before {
  background:
    linear-gradient(90deg, rgba(243, 245, 245, .97) 0%, rgba(243, 245, 245, .86) 42%, rgba(243, 245, 245, .08) 100%),
    linear-gradient(0deg, rgba(14, 138, 154, .15) 1px, transparent 1px) 0 0 / 26px 26px,
    var(--hero-image) center / cover no-repeat;
}

.technical .card-grid {
  grid-template-columns: minmax(0, 1fr);
}

.technical .card {
  display: grid;
  grid-template-columns: 72px minmax(180px, .32fr) 1fr;
  gap: 22px;
  align-items: start;
  min-height: auto;
}

.technical .card .number {
  margin-bottom: 0;
}

.technical .proof-grid {
  border-left: 6px solid var(--brand-2);
  box-shadow: none;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  min-height: 78px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-radius: 6px;
  font-family: var(--font-label);
  font-size: 18px;
  line-height: 1;
}

.brand span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand small {
  display: block;
  color: var(--muted);
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: .08em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 8px;
}

.menu-button span,
.menu-button::before,
.menu-button::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  content: "";
  background: currentColor;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 12px 26px rgba(20, 30, 40, .16);
}

.btn.secondary {
  color: var(--ink);
  background: transparent;
  border-color: var(--line);
  box-shadow: none;
}

.hero {
  position: relative;
  min-height: min(720px, calc(100vh - 78px));
  overflow: hidden;
  background: var(--paper);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--paper) 98%, transparent) 0%, color-mix(in srgb, var(--paper) 78%, transparent) 42%, transparent 75%),
    var(--hero-image) center / cover no-repeat;
}

.luxury .hero::before {
  background:
    linear-gradient(90deg, rgba(10, 8, 6, .94) 0%, rgba(10, 8, 6, .72) 42%, rgba(10, 8, 6, .18) 100%),
    var(--hero-image) center / cover no-repeat;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  width: min(1180px, calc(100% - 40px));
  min-height: min(720px, calc(100vh - 78px));
  margin: 0 auto;
  padding: 72px 0 84px;
}

.eyebrow {
  width: fit-content;
  margin: 0 0 18px;
  padding: 6px 12px;
  color: var(--brand);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}

.luxury .eyebrow {
  color: var(--accent);
}

h1 {
  max-width: 760px;
  margin: 0;
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 1.14;
  letter-spacing: 0;
}

.title-line {
  display: block;
  text-wrap: balance;
}

.hero-lead {
  max-width: 560px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  width: min(880px, 100%);
  margin-top: 64px;
  background: var(--line);
  border: 1px solid var(--line);
}

.hero-point {
  min-height: 106px;
  padding: 18px;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
}

.point-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
  color: #fff;
  background: var(--brand);
  border-radius: 6px;
  font-family: var(--font-label);
  font-size: 14px;
  font-weight: 700;
}

.hero-point strong {
  display: block;
  font-size: 14px;
  line-height: 1.5;
}

.proof-strip {
  position: relative;
  z-index: 2;
  margin-top: -34px;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.proof-item {
  min-height: 116px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.proof-item:last-child {
  border-right: 0;
}

.proof-item strong {
  display: block;
  color: var(--brand);
  font-family: var(--font-label);
  font-size: 46px;
  line-height: 1;
}

.proof-item span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.section {
  padding: 92px 0;
}

.section.alt {
  background: var(--paper);
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(280px, .95fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 42px;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--brand);
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 1.28;
}

.section-lead {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  min-height: 220px;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 36px rgba(20, 30, 40, .08);
}

.luxury .card {
  background: #18130f;
}

.card .number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  color: #fff;
  background: var(--brand);
  border-radius: 4px;
  font-family: var(--font-label);
  font-weight: 700;
}

.card h3 {
  margin: 0 0 12px;
  font-size: 21px;
  line-height: 1.42;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 50px;
  align-items: center;
}

.photo-panel {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background: var(--hero-image) center / cover no-repeat;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.photo-panel::after {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  content: "";
  background: linear-gradient(transparent, rgba(0, 0, 0, .46));
}

.visual-band {
  display: grid;
  grid-template-columns: 1.15fr .85fr 1fr;
  min-height: 360px;
}

.visual-tile {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  background-position: center;
  background-size: cover;
}

.visual-tile::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, .58));
}

.visual-tile span {
  position: absolute;
  inset: auto 22px 22px;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}

.feature-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.feature-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px;
  background: color-mix(in srgb, var(--paper) 78%, var(--soft));
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.feature-item b {
  display: block;
  margin-bottom: 2px;
}

.feature-item span:last-child {
  color: var(--muted);
  font-size: 14px;
}

.band {
  color: #fff;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--brand) 86%, #000) 0%, rgba(10, 14, 18, .7) 100%),
    var(--hero-image) center / cover no-repeat;
}

.band .section-kicker,
.band .section-lead {
  color: rgba(255, 255, 255, .78);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, .22);
  border: 1px solid rgba(255, 255, 255, .2);
}

.step {
  min-height: 210px;
  padding: 26px;
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(6px);
}

.step strong {
  display: block;
  margin-bottom: 18px;
  color: var(--accent);
  font-family: var(--font-label);
  font-size: 26px;
}

.step h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.step p {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
}

.voice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.voice-card {
  min-height: 210px;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 34px rgba(20, 30, 40, .08);
}

.voice-card p {
  margin: 0 0 20px;
  color: var(--muted);
}

.voice-card strong {
  color: var(--brand);
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

summary {
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 900;
}

details p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--muted);
}

.info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .85fr);
  gap: 28px;
}

.table {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.row:last-child {
  border-bottom: 0;
}

.row b {
  color: var(--brand);
}

.cta-box {
  display: grid;
  align-content: center;
  padding: 34px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-radius: var(--radius);
}

.cta-box h2 {
  margin: 0 0 14px;
  font-size: 34px;
  line-height: 1.28;
}

.cta-box p {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, .82);
}

.cta-box .btn {
  width: fit-content;
  color: var(--brand);
  background: #fff;
}

.site-footer {
  padding: 34px 0;
  color: var(--muted);
  background: color-mix(in srgb, var(--paper) 86%, #000 5%);
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

@media (max-width: 900px) {
  .header-inner {
    width: min(100% - 28px, 1180px);
    min-height: 64px;
  }

  .nav,
  .header-actions .btn {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .hero {
    min-height: auto;
  }

  .hero::before {
    opacity: .42;
    background:
      linear-gradient(180deg, color-mix(in srgb, var(--paper) 96%, transparent) 0%, color-mix(in srgb, var(--paper) 82%, transparent) 68%, var(--paper) 100%),
      var(--hero-image) center top / cover no-repeat;
  }

  .luxury .hero::before {
    opacity: 1;
    background:
      linear-gradient(180deg, rgba(10, 8, 6, .78) 0%, rgba(10, 8, 6, .86) 70%, #0e0c0a 100%),
      var(--hero-image) center top / cover no-repeat;
  }

  .hero-inner {
    min-height: auto;
    padding: 64px 0 46px;
  }

  h1 {
    max-width: 420px;
    font-size: 36px;
  }

  .hero-lead {
    max-width: 380px;
    font-size: 15px;
  }

  .hero-points,
  .card-grid,
  .steps,
  .proof-grid,
  .voice-grid {
    grid-template-columns: 1fr;
  }

  .luxury .hero-points,
  .recruit .steps,
  .local .card-grid,
  .local .proof-grid,
  .technical .card-grid {
    grid-template-columns: 1fr;
  }

  .technical .card {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .recruit #strength .photo-panel {
    order: 0;
  }

  .hero-points {
    margin-top: 38px;
  }

  .proof-strip {
    margin-top: 0;
  }

  .proof-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-item:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 64px 0;
  }

  .container {
    width: min(100% - 28px, 1180px);
  }

  .section-head,
  .split,
  .info {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .section-title {
    font-size: 31px;
  }

  .proof-item strong {
    font-size: 36px;
  }

  .cta-box h2 {
    font-size: 27px;
  }

  .photo-panel {
    min-height: 300px;
  }

  .visual-band {
    grid-template-columns: 1fr;
  }

  .visual-tile {
    min-height: 230px;
  }

  .luxury .visual-band,
  .luxury .visual-tile {
    min-height: 260px;
  }

  .row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .footer-inner {
    display: grid;
    width: min(100% - 28px, 1180px);
  }
}
