:root {
  --navy: #0f1f4b;
  --navy-deep: #00135d;
  --red: #dc000c;
  --red-button: #b42318;
  --gray: #f2f3f5;
  --ink: #1c1c1c;
  --muted: #8b9098;
  --line: #e4e6ea;
  --white: #ffffff;
  --header-h: 72px;
  --page: 1120px;
  --radius: 16px;
  --shadow: 0 8px 24px rgba(15, 31, 75, 0.06);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--gray);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
  font-size: 15px;
  line-height: 1.7;
}

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

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

button,
input {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: 100%;
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex: none;
  line-height: 0;
}

.logo img {
  display: block;
  height: 48px;
  width: auto;
}

.nav-toggle {
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
  display: none;
}

.site-nav.is-open {
  display: flex;
  flex-direction: column;
  position: fixed;
  z-index: 29;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  overflow: auto;
  background: var(--white);
  padding: 8px 16px 32px;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
}

.site-nav small {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.contact-btn {
  margin-top: 16px;
  align-self: stretch;
  text-align: center;
  color: var(--white) !important;
  background: var(--red-button);
  border-radius: 999px;
  border-bottom: 0 !important;
  padding: 12px 18px !important;
}

.contact-btn small {
  color: rgba(255, 255, 255, 0.8);
}

.hero {
  background: var(--navy-deep);
  color: var(--white);
  text-align: center;
  padding: 42px 16px 48px;
}

.hero-kicker {
  margin: 0 0 8px;
  font-size: 13px;
  letter-spacing: 0.28em;
}

.hero h1 {
  margin: 0;
  font-weight: 500;
  font-size: clamp(28px, 8vw, 56px);
  letter-spacing: 0.28em;
  line-height: 1.1;
}

.page {
  max-width: var(--page);
  margin: 0 auto;
  padding: 20px 16px 72px;
}

.crumb {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 12px;
}

.crumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.crumb li:not(:last-child)::after {
  content: ">";
  margin-left: 6px;
}

.crumb a:hover {
  color: var(--navy);
}

.title-card,
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.title-card {
  padding: 22px 22px 18px;
  margin-bottom: 20px;
}

.title-card h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: 0.04em;
}

.title-card h2::after,
.card h3::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin-top: 10px;
  background: var(--navy);
}

.placeholder-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.main-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.card {
  padding: 28px 18px 24px;
  text-align: center;
}

.card h3 {
  margin: 0 auto;
  max-width: 18em;
  font-size: 18px;
  letter-spacing: 0.04em;
  font-weight: 700;
  line-height: 1.5;
}

.card h3::after {
  margin-left: auto;
  margin-right: auto;
}

.pill-label {
  display: inline-block;
  margin: 18px 0 10px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.lead {
  margin: 16px 0 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
}

.series {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.headline {
  margin: 14px 0 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
}

.copy {
  margin: 14px 0 0;
  text-align: left;
  line-height: 1.9;
}

.subhead {
  margin: 22px 0 0;
  font-size: 16px;
  font-weight: 700;
}

.note {
  margin: 14px 0 0;
  text-align: left;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.stats li {
  padding: 14px 8px;
  border-radius: 12px;
  background: var(--gray);
}

.stats span {
  display: block;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
}

.stats strong {
  display: block;
  margin-top: 4px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.model-grid {
  display: grid;
  gap: 16px;
  margin-top: 20px;
  text-align: left;
}

.model-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  height: 100%;
}

.model-card:hover {
  border-color: var(--navy);
}

.model-card img {
  width: 100%;
  /*height: 240px;*/
  object-fit: contain;
  background: var(--gray);
}

.model-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 16px 18px;
}

.model-body h4 {
  margin: 0;
  font-size: 18px;
  letter-spacing: 0.04em;
}

.model-body .type {
  margin: 0;
  color: var(--navy);
  font-weight: 700;
}

.points {
  margin: 0;
  padding-left: 1.2em;
  font-size: 14px;
  line-height: 1.7;
}

.product-figure {
  position: relative;
  margin: 0;
  min-height: 240px;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(15, 31, 75, 0.04), rgba(15, 31, 75, 0.02)),
    var(--white);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  color: var(--muted);
}

.view-badge {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 2px solid var(--navy);
  background: var(--white);
  color: var(--navy);
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.04em;
}

.gallery {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.frame {
  min-height: 140px;
  border-radius: 12px;
  background: var(--gray);
  color: var(--muted);
  display: grid;
  place-items: center;
  font-size: 13px;
}

.spec {
  width: 100%;
  margin-top: 18px;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.spec th,
.spec td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.spec th {
  width: 38%;
  color: var(--navy);
  font-weight: 700;
}

.icon-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 12px;
  margin-top: 20px;
}

.icon-grid figure {
  margin: 0;
}

.icon-grid svg {
  width: 72px;
  height: 72px;
}

.icon-grid figcaption {
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}

.swatches {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.swatches span {
  display: block;
  width: 54px;
  height: 54px;
  margin: 0 auto 6px;
  border-radius: 50%;
  border: 1px solid var(--line);
}

.swatches li {
  font-size: 12px;
  color: var(--muted);
}

.video-block {
  margin-top: 18px;
  min-height: 180px;
  border-radius: 12px;
  background: #1a1f2b;
  color: var(--white);
  display: grid;
  place-items: center;
  letter-spacing: 0.2em;
}

.pills {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}

.pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.pill small {
  font-weight: 500;
  letter-spacing: 0.08em;
  opacity: 0.8;
}

.pill:hover {
  background: var(--navy-deep);
}

.pill.is-wait {
  background: #9aa3b5;
  cursor: default;
}

.to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 25;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(15, 31, 75, 0.25);
}

.site-footer {
  background: var(--white);
  text-align: center;
  padding: 36px 16px 28px;
}

.site-footer .logo {
  display: inline-flex;
}

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

@media (min-width: 768px) {
  .gallery {
    grid-template-columns: 1fr 1fr;
  }

  .model-grid {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .icon-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .pills {
    flex-direction: row;
    justify-content: center;
  }

  .pill {
    min-width: 220px;
  }

  .spec th {
    width: 28%;
  }
}

@media (min-width: 1080px) {
  .nav-toggle {
    display: none;
  }

  .site-nav,
  .site-nav.is-open {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: static;
    margin-left: auto;
    padding: 0;
    overflow: visible;
    background: transparent;
    gap: 8px;
  }

  .site-nav ul {
    display: flex;
    align-items: center;
    gap: 2px;
  }

  .site-nav a {
    align-items: center;
    padding: 8px 8px;
    border-bottom: 0;
    font-size: 13px;
    line-height: 1.2;
    white-space: nowrap;
  }

  .contact-btn {
    margin-top: 0;
    margin-left: 8px;
    align-self: center;
    min-width: 132px;
    padding: 10px 16px !important;
  }

  .card {
    padding: 36px 32px 32px;
  }

  .product-figure {
    min-height: 420px;
  }
}

.crumb-bar {
  max-width: var(--page);
  margin: 0 auto;
  padding: 16px 16px 0;
}

.crumb-bar .crumb {
  margin-bottom: 12px;
}

.card h2 {
  margin: 0 auto;
  max-width: 18em;
  font-size: 18px;
  letter-spacing: 0.04em;
  font-weight: 700;
  line-height: 1.5;
}

.card h2::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin: 10px auto 0;
  background: var(--navy);
}

.mv {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 58% 12% at 70% 96%, rgba(160, 168, 176, 0.4), transparent 72%),
    linear-gradient(180deg, #ffffff 0%, #f7f8f9 80%, #e7eaee 100%);
}

.mv-inner {
  max-width: var(--page);
  margin: 0 auto;
  padding: 20px 16px 28px;
  display: flex;
  flex-direction: column;
}

.mv-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 22px;
}

.mv-logo {
  width: 210px;
  height: auto;
  margin: 0;
}

.mv-kicker,
.mv-class,
.mv-lead {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
  font-weight: 600;
}

.mv-kicker {
  margin: 0;
  font-size: 18px;
  letter-spacing: 0.06em;
}

.mv-class {
  margin: 10px 0 0;
  font-size: 40px;
  letter-spacing: 0.08em;
  line-height: 1.15;
}

.mv-class sup {
  font-size: 0.25em;
  line-height: 1;
  vertical-align: super;
  margin-left: 0.15em;
}

.mv-note {
  margin: 16px 0 0;
  max-width: none;
  color: #5c6370;
  font-size: 11px;
  line-height: 1.65;
  text-align: left;
  white-space: nowrap;
}

.note-line {
  display: inline;
}

@media (max-width: 460px) {
  .mv-note {
    white-space: normal;
  }

  .note-line {
    display: block;
  }
}

.mv-badges {
  display: flex;
  gap: 14px;
  margin-top: 20px;
}

.mv-badge {
  width: 104px;
  height: 104px;
  margin: 0;
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.25;
}

.mv-badge span {
  font-size: 13px;
  letter-spacing: 0.12em;
}

.mv-badge strong {
  margin-top: 4px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.mv-badge-teal {
  background: #00a8b8;
}

.mv-badge-navy {
  background: #283090;
}

.mv-lead {
  margin: 22px 0 0;
  font-size: 18px;
  line-height: 1.75;
}

.mv-stage {
  position: relative;
  height: calc(190px + 0.72 * (100vw - 32px) * 571 / 493);
  margin-top: 8px;
}

.slot {
  position: absolute;
}

.slot-krm1 {
  width: 68%;
  right: 0;
  top: 0;
  z-index: 2;
}

.slot-krm2 {
  width: 72%;
  left: 0;
  top: 158px;
  z-index: 1;
}

.chair {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
}

.shadow {
  position: absolute;
  z-index: 0;
  left: 14%;
  right: 14%;
  bottom: 4%;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(60, 70, 80, 0.38), rgba(60, 70, 80, 0) 70%);
}

.tag {
  position: absolute;
  z-index: 2;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #3c4250;
}

.slot-krm1 .tag {
  right: 0;
  bottom: 18%;
}

.slot-krm2 .tag {
  left: 0;
  bottom: 16%;
}

.mv-series {
  margin: 0;
  text-align: left;
  font-size: 13px;
  letter-spacing: 0.04em;
}

@keyframes mv-rise {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes mv-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes mv-float-alt {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

@keyframes mv-shadow {
  0%, 100% { opacity: 0.95; transform: scaleX(1); }
  50% { opacity: 0.5; transform: scaleX(0.86) translateY(6px); }
}

@keyframes mv-shadow-alt {
  0%, 100% { opacity: 0.5; transform: scaleX(0.86) translateY(6px); }
  50% { opacity: 0.95; transform: scaleX(1); }
}

@keyframes mv-fade {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.slot-krm1 { animation: mv-float 5s ease-in-out 1.2s infinite; }
.slot-krm2 { animation: mv-float-alt 5.4s ease-in-out 1.5s infinite; }
.slot-krm1 .chair { animation: mv-rise 1.2s ease-out both; }
.slot-krm2 .chair { animation: mv-rise 1.2s ease-out 0.3s both; }
.slot-krm1 .shadow { animation: mv-rise 1.2s ease-out both, mv-shadow 5s ease-in-out 1.2s infinite; }
.slot-krm2 .shadow { animation: mv-rise 1.2s ease-out 0.3s both, mv-shadow-alt 5.4s ease-in-out 1.5s infinite; }
.mv-kicker { animation: mv-fade 1s ease-out both; }
.mv-class { animation: mv-fade 1s ease-out 0.12s both; }
.mv-note { animation: mv-fade 1s ease-out 0.22s both; }
.mv-badges { animation: mv-fade 1s ease-out 0.32s both; }
.mv-lead { animation: mv-fade 1s ease-out 0.44s both; }
.mv-logo { animation: mv-fade 1s ease-out 0.16s both; }
.mv-series { animation: mv-fade 1s ease-out 0.5s both; }
.tag { animation: mv-fade 1s ease-out 0.7s both; }

@media (min-width: 900px) {
  .mv-inner {
    display: grid;
    grid-template-columns: minmax(300px, 420px) minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "brand stage"
      "copy stage"
      "note note";
    column-gap: 24px;
    row-gap: 20px;
    padding: 28px 20px 28px;
    align-items: start;
  }

  .mv-brand {
    grid-area: brand;
    justify-self: start;
    align-self: start;
    margin: 0;
  }

  .mv-logo {
    width: 280px;
  }

  .mv-copy {
    grid-area: copy;
    align-self: start;
    padding-top: 8px;
  }

  .mv-note {
    grid-area: note;
    align-self: end;
    margin: 0;
    white-space: nowrap;
  }

  .mv-class {
    font-size: 58px;
  }

  .mv-kicker {
    font-size: 24px;
  }

  .mv-lead {
    font-size: 22px;
  }

  .mv-badge {
    width: 118px;
    height: 118px;
  }

  .mv-stage {
    grid-area: stage;
    height: 680px;
    margin: 0;
  }

  .slot-krm1 {
    width: 60%;
    right: 0;
    top: 0;
  }

  .slot-krm2 {
    width: 62%;
    left: 0;
    top: 200px;
  }

  .mv-series {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .slot-krm1,
  .slot-krm2,
  .chair,
  .shadow,
  .mv-kicker,
  .mv-class,
  .mv-note,
  .mv-badges,
  .mv-lead,
  .mv-logo,
  .mv-series,
  .tag {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
