:root {
  --ink: #16211e;
  --muted: #64726e;
  --line: #dbe5e0;
  --paper: #fbfcf8;
  --surface: #ffffff;
  --mint: #dff3eb;
  --teal: #0f766e;
  --teal-dark: #0b4f4b;
  --blue: #335fd1;
  --coral: #e76558;
  --gold: #e4b657;
  --shadow: 0 18px 52px rgba(18, 37, 32, 0.11);
  --radius: 8px;
  --container: min(1120px, calc(100% - 40px));
  --header-height: 74px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    "Noto Sans JP",
    "Noto Sans SC",
    "Yu Gothic",
    "Hiragino Kaku Gothic ProN",
    "Microsoft YaHei",
    Meiryo,
    system-ui,
    sans-serif;
  line-height: 1.75;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

code {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  padding: 1px 6px;
  color: var(--teal-dark);
  font-size: 0.9em;
}

svg {
  flex: 0 0 auto;
  width: 1.12em;
  height: 1.12em;
  stroke-width: 2;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 1000;
  transform: translateY(-160%);
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(138, 172, 167, 0.8);
  background: #a6ccc7;
}

.site-header__inner {
  width: var(--container);
  min-height: var(--header-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

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

/* ── 3D サイコロロゴ ── */
.brand__mark {
  width: 34px;
  height: 34px;
  perspective: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dice-3d {
  width: 22px;
  height: 22px;
  position: relative;
  transform-style: preserve-3d;
}

.dice-face {
  position: absolute;
  inset: 0;
  width: 22px;
  height: 22px;
  box-sizing: border-box;
  background: radial-gradient(
    circle at 35% 30%,
    #ffffff 0%,
    #f4f4f4 45%,
    #dddddd 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow:
    inset 0 0 4px rgba(0, 0, 0, 0.15),
    inset 0 0 1px rgba(255, 255, 255, 0.9);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  padding: 3px;
  backface-visibility: hidden;
  border-radius: 2px;
}

.dice-face--front  { transform: rotateY(0deg)    translateZ(11px); }
.dice-face--back   { transform: rotateY(180deg)  translateZ(11px); }
.dice-face--right  { transform: rotateY(90deg)   translateZ(11px); }
.dice-face--left   { transform: rotateY(-90deg)  translateZ(11px); }
.dice-face--top    { transform: rotateX(90deg)   translateZ(11px); }
.dice-face--bottom { transform: rotateX(-90deg)  translateZ(11px); }

.dice-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--ink);
  align-self: center;
  justify-self: center;
}

.dice-dot--red { background: #e00000; }

/* ドット配置 */
.dp1  { grid-column: 2; grid-row: 2; }

.dp2a { grid-column: 1; grid-row: 1; }
.dp2b { grid-column: 3; grid-row: 3; }

.dp3a { grid-column: 1; grid-row: 1; }
.dp3b { grid-column: 2; grid-row: 2; }
.dp3c { grid-column: 3; grid-row: 3; }

.dp4a { grid-column: 1; grid-row: 1; }
.dp4b { grid-column: 3; grid-row: 1; }
.dp4c { grid-column: 1; grid-row: 3; }
.dp4d { grid-column: 3; grid-row: 3; }

.dp5a { grid-column: 1; grid-row: 1; }
.dp5b { grid-column: 3; grid-row: 1; }
.dp5c { grid-column: 2; grid-row: 2; }
.dp5d { grid-column: 1; grid-row: 3; }
.dp5e { grid-column: 3; grid-row: 3; }

.dp6a { grid-column: 1; grid-row: 1; }
.dp6b { grid-column: 3; grid-row: 1; }
.dp6c { grid-column: 1; grid-row: 2; }
.dp6d { grid-column: 3; grid-row: 2; }
.dp6e { grid-column: 1; grid-row: 3; }
.dp6f { grid-column: 3; grid-row: 3; }

.brand__text {
  font-size: 1rem;
}

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.site-nav a {
  border-radius: var(--radius);
  padding: 10px 12px;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--mint);
  color: var(--ink);
  outline: none;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 4px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--teal-dark) !important;
}

.locale-switcher {
  display: inline-flex;
  align-items: stretch;
  margin-left: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.locale-switcher__label {
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-right: 1px solid var(--line);
  color: var(--teal-dark);
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.locale-switcher__button {
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  min-height: 38px;
  padding: 9px 12px;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.locale-switcher__button + .locale-switcher__button {
  border-left: 1px solid var(--line);
}

.locale-switcher__button:hover,
.locale-switcher__button:focus-visible {
  background: var(--mint);
  color: var(--ink);
  outline: none;
}

.locale-switcher__button[aria-pressed="true"] {
  background: var(--teal-dark);
  color: #fff;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  padding: 10px;
}

/* ── ホームヒーロー ── */
.home-hero {
  position: relative;
  background: var(--paper);
  overflow: hidden;
  isolation: isolate;
}

.home-hero__inner {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 48px;
  padding: clamp(56px, 8vw, 96px) 0 80px;
}

/* 左カラム */
.home-hero__content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* タイトルブロック */
.home-hero__title-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.home-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
}

.home-hero__eyebrow-line {
  flex: 1;
  height: 1px;
  background: var(--teal);
  opacity: 0.5;
}

.home-hero__title {
  margin: 0;
  display: flex;
  flex-direction: column;
  line-height: 0.9;
  font-size: clamp(4.2rem, 9vw, 8rem);
  letter-spacing: -0.03em;
  font-family: 'Yuji Syuku', 'HG行書体', 'HGS行書体', 'HGGyoshotai', 'Yu Mincho', serif;
  font-weight: 400;
}

.home-hero__title-row {
  display: block;
}

.home-hero__title-row--accent {
  color: var(--teal-dark);
}

/* 2列グリッドメニュー */
.hero-menu {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1.5px solid var(--line);
}

.hero-menu__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 10px 13px 0;
  border-bottom: 1.5px solid var(--line);
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color 160ms ease, background 160ms ease;
  text-decoration: none;
}

/* 右列は左のボーダーを追加 */
.hero-menu__item:nth-child(even) {
  padding-left: 14px;
  border-left: 1.5px solid var(--line);
}

.hero-menu__item:hover,
.hero-menu__item:focus-visible {
  color: var(--teal);
  background: var(--mint);
  outline: none;
}

.hero-menu__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--mint);
  color: var(--teal);
  flex-shrink: 0;
  transition: background 160ms ease;
}

.hero-menu__item:hover .hero-menu__icon {
  background: var(--teal);
  color: #fff;
}

.hero-menu__label {
  flex: 1;
  min-width: 0;
}

.hero-menu__arrow {
  font-size: 1.2rem;
  color: var(--muted);
  flex-shrink: 0;
  transition: transform 160ms ease, color 160ms ease;
}

.hero-menu__item:hover .hero-menu__arrow {
  transform: translateX(3px);
  color: var(--teal);
}

.hero-menu__item--highlight .hero-menu__icon {
  background: var(--teal-dark);
  color: #fff;
}

/* CTAボタン */
.hero-cta-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
}

.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 32px;
  border: 2px solid var(--teal-dark);
  border-radius: 999px;
  background: transparent;
  color: var(--teal-dark);
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition:
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.hero-cta-btn:hover,
.hero-cta-btn:focus-visible {
  background: var(--teal-dark);
  color: #fff;
  box-shadow: 0 12px 28px rgba(11, 79, 75, 0.28);
  transform: translateY(-2px);
  outline: none;
}

/* CTAのデコレーション（参照画像の矢印カール） */
.hero-cta-deco {
  position: absolute;
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--teal);
  opacity: 0.22;
}

.hero-cta-deco--left  { left: -8px; top: 50%; transform: translateY(-50%); }
.hero-cta-deco--right { right: -8px; bottom: 6px; width: 12px; height: 12px; opacity: 0.15; }

/* 右カラム：ビジュアル */
/* 右カラム：ビジュアル */
.home-hero__visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: -80px; /* 波型ボーダーに大きくかぶせる */
  margin-right: -30%; /* 右側に大きくはみ出させる */
  z-index: 5;
}

.home-hero__img {
  width: 200%; /* 巨大化サイズの約90%に設定 */
  max-width: none;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 48px rgba(15, 118, 110, 0.15));
  animation: hero-float 4s ease-in-out infinite;
  transform-origin: bottom center;
}

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

/* 吹き出し (楕円形・大型化) */
.hero-speech {
  position: absolute;
  top: -30px;
  right: 25%; /* 200%キャラに合わせて位置調整 */
  max-width: 220px;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 50%;
  padding: 30px 24px;
  box-shadow: var(--shadow);
  z-index: 2;
  text-align: center;
  animation: hero-float 3.5s ease-in-out infinite reverse;
}

.hero-speech p {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.5;
  color: var(--ink);
  letter-spacing: 0.05em;
}



/* デコレーション文字 */
.hero-deco {
  position: absolute;
  font-size: 1.5rem;
  color: var(--teal);
  opacity: 0.45;
  user-select: none;
  animation: hero-float 3s ease-in-out infinite;
}

.hero-deco--star1 { top: 40px; left: -10px; animation-delay: 0s; font-size: 1.8rem; }
.hero-deco--star2 { top: 50%; right: 10px; animation-delay: 0.8s; }
.hero-deco--heart { bottom: 120px; left: -20px; animation-delay: 1.4s; color: var(--coral); font-size: 1.8rem; }

/* 下部 波型ボーダー */
.hero-wave {
  position: relative;
  width: 100%;
  line-height: 0;
  overflow: hidden;
}

.hero-wave > svg {
  width: 100%;
  height: 54px;
  display: block;
}

.hero-wave__scallop {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  line-height: 0;
}

.hero-wave__scallop svg {
  width: 100%;
  height: 28px;
  display: block;
}

/* ── 共通コンテナ ── */
.page-hero__inner,
.section__inner,
.site-footer__inner {
  width: var(--container);
  margin: 0 auto;
}

.section-kicker,
.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.page-hero h1 {
  margin: 0;
  max-width: 860px;
  font-size: clamp(2.8rem, 7vw, 6.2rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.page-hero__lead {
  margin: 26px 0 0;
  max-width: 760px;
  font-size: clamp(1.35rem, 2.6vw, 2.25rem);
  font-weight: 900;
  line-height: 1.32;
}

.page-hero__copy {
  max-width: 720px;
  margin: 18px 0 0;
  color: #33433f;
  font-size: clamp(1rem, 1.4vw, 1.1rem);
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}


.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 12px 18px;
  font-weight: 900;
  line-height: 1.2;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}


.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button--primary {
  background: var(--teal-dark);
  color: #fff;
  box-shadow: 0 16px 30px rgba(15, 118, 110, 0.22);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: #083d3a;
  box-shadow: 0 20px 38px rgba(15, 118, 110, 0.28);
}

.button--secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: var(--teal-dark);
  font-weight: 900;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--blue);
  outline: none;
}

.section {
  padding: clamp(72px, 9vw, 124px) 0;
}

.section--tight {
  padding-top: clamp(56px, 7vw, 88px);
}

.section--band {
  background: #16211e;
  color: #fff;
}

.section--band .section-kicker {
  color: #83dec9;
}

.section h2,
.page-section h2 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(2rem, 4vw, 4.1rem);
  line-height: 1.13;
  letter-spacing: 0;
}

.section-heading {
  margin-bottom: clamp(30px, 5vw, 54px);
}

.section-heading--split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(290px, 0.95fr);
  align-items: end;
  gap: 32px;
}

.section-heading--split > p {
  margin: 0;
  color: var(--muted);
}

.product-grid,
.info-grid,
.feature-grid,
.detail-grid {
  display: grid;
  gap: 16px;
}

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

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

.feature-grid,
.detail-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card,
.info-card,
.feature-card,
.detail-card,
.contact-form,
.support-panel,
.notice-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.nav-toggle:hover {
  background: var(--surface-hover);
}

.product-card {
  min-height: 360px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.product-card__media {
  border-radius: calc(var(--radius) - 2px);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #eef5f2;
  margin-bottom: 18px;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
  display: block;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 8px;
  background: linear-gradient(90deg, var(--teal), var(--blue), var(--coral));
}

.product-card--xms::before {
  background: linear-gradient(90deg, var(--blue), var(--teal), var(--gold));
}

.product-card__icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background: var(--mint);
  color: var(--teal-dark);
}

.product-card__type {
  margin: 22px 0 8px;
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.product-card h3,
.info-card h3,
.feature-card h3,
.detail-card h3,
.news-item h3,
.support-panel h3 {
  margin: 0;
  line-height: 1.35;
  letter-spacing: 0;
}

.product-card h3 {
  font-size: clamp(1.65rem, 3vw, 2.4rem);
}

.product-card p,
.info-card p,
.feature-card p,
.detail-card p,
.support-panel p,
.notice-panel p {
  margin: 12px 0 0;
  color: var(--muted);
}

.product-card .text-link {
  margin-top: auto;
}

.support-callout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
}

.support-callout p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.76);
}

.support-callout strong {
  color: #fff;
}

.info-card,
.feature-card,
.detail-card {
  padding: 24px;
}

.info-card svg,
.feature-card svg,
.detail-card svg {
  color: var(--teal);
  margin-bottom: 18px;
}

.section--news {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.news-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(28px, 5vw, 70px);
}

.news-list {
  border-top: 1px solid var(--line);
}

.news-item {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 22px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.news-item time {
  color: var(--teal);
  font-weight: 900;
}

.page-hero {
  padding: clamp(62px, 9vw, 110px) 0 clamp(52px, 7vw, 86px);
  background:
    linear-gradient(120deg, rgba(223, 243, 235, 0.88), rgba(255, 255, 255, 0.82)),
    var(--paper);
  border-bottom: 1px solid var(--line);
}

.page-hero--vsh {
  background:
    linear-gradient(120deg, rgba(223, 243, 235, 0.9), rgba(235, 240, 255, 0.9)),
    var(--paper);
}

.page-hero--xms {
  background:
    linear-gradient(120deg, rgba(232, 239, 255, 0.92), rgba(239, 249, 244, 0.92)),
    var(--paper);
}

.page-hero--support {
  background:
    linear-gradient(120deg, rgba(255, 247, 229, 0.96), rgba(230, 246, 240, 0.92)),
    var(--paper);
}

.product-hero-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--teal-dark);
  font-weight: 900;
  letter-spacing: 0;
}

.product-hero-mark__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--mint);
  color: var(--teal-dark);
  flex-shrink: 0;
}

.product-hero-mark__logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}

.product-hero-mark__icon svg {
  width: 20px;
  height: 20px;
}

.page-section--showcase {
  padding-top: clamp(22px, 3vw, 38px);
}

.product-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.9fr) minmax(220px, 0.9fr);
  gap: 16px;
}

.product-gallery__item {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
  min-height: 220px;
}

.product-gallery__item--wide {
  min-height: 320px;
}

.product-gallery__item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.product-gallery__focus-top {
  object-position: center top;
}

.product-gallery__focus-center {
  object-position: center center;
}

.product-gallery__focus-right {
  object-position: 70% center;
}

.product-gallery__focus-left {
  object-position: 30% center;
}

.crumbs {
  width: var(--container);
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.crumbs a {
  color: var(--teal-dark);
}

.page-section {
  padding: clamp(64px, 8vw, 108px) 0;
}

.page-section__inner {
  width: var(--container);
  margin: 0 auto;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.mock-window {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.mock-window__bar {
  display: flex;
  gap: 6px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  background: #f4f7f5;
}

.mock-window__bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--line);
}

.mock-window__body {
  padding: 22px;
}

.metric-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

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

.metric-row strong {
  line-height: 1.3;
}

.metric-row span {
  border-radius: 999px;
  background: var(--mint);
  color: var(--teal-dark);
  padding: 4px 9px;
  font-size: 0.8rem;
  font-weight: 900;
}

.pipeline {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.pipeline li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: start;
  list-style: none;
}

.pipeline span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  background: var(--teal-dark);
  color: #fff;
  font-weight: 900;
}

.pipeline p {
  margin: 0;
  color: var(--muted);
}

.notice-panel {
  padding: 22px;
  border-left: 6px solid var(--gold);
  background: #fffaf0;
  box-shadow: none;
}

.support-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(330px, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.support-panel {
  padding: 24px;
  box-shadow: none;
}

.support-panel + .support-panel {
  margin-top: 16px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 32px);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: #2b3935;
  font-size: 0.9rem;
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cfddd7;
  border-radius: var(--radius);
  background: #fbfdfb;
  color: var(--ink);
  padding: 12px 13px;
  outline: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
}

.contact-form .button {
  width: 100%;
}

.form-status {
  min-height: 1.5em;
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.site-footer {
  padding: 30px 0;
  background: #111a18;
  color: rgba(255, 255, 255, 0.74);
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand--footer {
  color: #fff;
}

.brand--footer .brand__mark {
  border-color: #fff;
  background: transparent;
  box-shadow: 4px 4px 0 rgba(131, 222, 201, 0.28);
}

.brand--footer .brand__mark span {
  background: #fff;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  font-size: 0.88rem;
  font-weight: 800;
}

.site-footer p {
  margin: 0;
  font-size: 0.86rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  :root {
    --header-height: 68px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 0 auto;
    display: grid;
    gap: 6px;
    padding: 18px 20px 24px;
    border-bottom: 1px solid var(--line);
    background: rgba(251, 252, 248, 0.98);
    box-shadow: 0 18px 36px rgba(19, 39, 34, 0.12);
    transform: translateY(-120%);
    transition: transform 220ms ease;
  }

  body.nav-open .site-nav {
    transform: translateY(0);
  }

  .nav-cta {
    margin-left: 0;
  }

  .locale-switcher {
    margin-left: 0;
    justify-self: start;
    width: fit-content;
  }

  .home-hero__eyebrow {
    justify-content: center;
    text-align: center;
  }

  .home-hero__eyebrow-line {
    display: none; /* モバイルでは両脇の線を隠す */
  }

  /* hero: 2列 → 1列に */
  .home-hero__inner {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-bottom: 0;
  }

  .home-hero__visual {
    order: -1;
    max-height: none;
    overflow: visible;
    margin: 0 0 -20px 0; /* マージンをリセット */
  }

  .home-hero__img {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
  }

  .hero-speech {
    top: 8px;
    right: 8px;
    max-width: 150px;
  }

  .section-heading--split,
  .support-callout,
  .news-layout,
  .split-layout,
  .support-page-grid {
    grid-template-columns: 1fr;
  }

  .info-grid,
  .feature-grid,
  .detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-gallery {
    grid-template-columns: 1fr;
  }

  .product-gallery__item,
  .product-gallery__item--wide {
    min-height: 240px;
  }
}

@media (max-width: 720px) {
  :root {
    --container: min(100% - 28px, 1120px);
  }

  .home-hero__title {
    font-size: clamp(3.4rem, 16vw, 5.5rem);
  }

  .hero-menu {
    grid-template-columns: 1fr;
  }

  .hero-menu__item:nth-child(even) {
    padding-left: 0;
    border-left: none;
  }

  .page-hero h1 {
    font-size: clamp(2.45rem, 14vw, 4.7rem);
  }

  .page-actions .button {
    width: 100%;
  }

  .section,
  .page-section {
    padding: 58px 0;
  }

  .product-grid,
  .info-grid,
  .feature-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .product-gallery,
  .product-gallery__item--wide {
    min-height: 200px;
  }

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

  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
/* Downloads Section Styles */
.page-section--downloads .store-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

.store-button {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.store-button:hover {
  border-color: var(--teal);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transform: translateY(-2px);
  color: var(--teal-dark);
}

.store-button svg {
  width: 24px;
  height: 24px;
}
