@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700&family=DM+Sans:wght@400;500;700&family=Zen+Kaku+Gothic+New:wght@400;500;700&display=swap");

:root {
  /* Main Variables Mapped to MindMarket Palette */
  --primary-color: #0068b7;
  /* Keep primary blue for brand continuity, or switch to mm-black for pure style? Let's keep blue for now but darker */
  --secondary-color: var(--mm-sky);
  --accent-color: var(--mm-coral);
  --highlight-color: var(--mm-yellow);

  --text-color: var(--mm-black);
  /* Text should be black for this style */
  --bg-color: #fffdf5;
  /* Warm off-white */
  --surface-color: #ffffff;
  --surface-alt: #f4f7cf;

  --line-color: var(--mm-black);
  /* Key: Black outlines */
  --border-color: var(--mm-black);

  --light-gray: #f4f7cf;
  --white: #ffffff;

  /* MindMarket Inspired Palette Definitions */
  --mm-lime: #c7f464;
  --mm-coral: #ff6b6b;
  --mm-sky: #4ecdc4;
  --mm-yellow: #ffeb3b;
  --mm-purple: #9d8df1;
  --mm-black: #000000;
  --mm-offwhite: #fffdf5;
  --mm-stroke-width: 4px;

  --radius-sm: 6px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 34px;

  --font-base: "DM Sans", "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-heading: "DM Sans", "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-logo: "Barlow Condensed", "DM Sans", sans-serif;

  --container-width: 1240px;
  --spacing-xs: 6px;
  --spacing-sm: 10px;
  --spacing-md: 16px;
  --spacing-lg: 28px;
  --spacing-xl: 56px;
  --spacing-2xl: 96px;

  --shadow-card: 0 10px 28px rgba(0, 104, 183, 0.08);
  --shadow-soft: 0 5px 16px rgba(0, 104, 183, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  min-height: 100%;
}

body {
  font-family: var(--font-base);
  color: var(--text-color);
  line-height: 1.6;
  letter-spacing: 0.02em;
  background:
    radial-gradient(circle at 10% 8%, rgba(238, 255, 0, 0.14), transparent 30%),
    radial-gradient(circle at 84% 20%, rgba(0, 182, 255, 0.1), transparent 28%),
    linear-gradient(180deg, #ffffd8 0%, #f7f8d1 100%);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.09;
  background-image:
    radial-gradient(circle at 24% 18%, #0068b7 0.45px, transparent 0.75px),
    radial-gradient(circle at 62% 56%, #0068b7 0.45px, transparent 0.75px);
  background-size: 20px 20px, 24px 24px;
  z-index: -1;
}

.bg-decoration-harness {
  position: fixed;
  top: -10px;
  right: -50px;
  width: 500px;
  max-width: 40vw;
  opacity: 0.08;
  z-index: -1;
  pointer-events: none;
  mix-blend-mode: multiply;
  transform: rotate(5deg);
}

a {
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, opacity 0.25s ease, background-color 0.25s ease;
}

a:hover {
  opacity: 0.92;
}

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

ul {
  list-style: none;
}

main {
  overflow: clip;
}

/* ── Site switcher tokens (shared CSS handles layout) ── */
:root {
  --ss-accent: var(--primary-color);
  --ss-accent-bg: rgba(0,104,183,0.08);
  --ss-accent-border: rgba(0,104,183,0.25);
}

/* ── Hero side column wrapper ── */
.hero-side-col {
  grid-column: 3 / 4;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ── Hero Site Nav (below FIELD NOTE card) ── */
.hero-site-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 4px;
}

.hero-site-nav__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: rgba(0,0,0,0.85);
  margin-bottom: 6px;
  padding-left: 2px;
}

.hero-site-nav__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0,0,0,0.07);
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(6px);
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}
.hero-site-nav__item::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: transparent;
  transition: background 0.2s;
}
.hero-site-nav__item:hover {
  background: #fff;
  border-color: rgba(0,104,183,0.2);
  transform: translateX(3px);
  opacity: 1;
}
.hero-site-nav__item:hover::before {
  background: var(--primary-color);
}

.hero-site-nav__item--corp {
  background: rgba(255,255,255,0.35);
}
.hero-site-nav__item--corp .hero-site-nav__name {
  color: rgba(0,0,0,0.9);
  font-size: 0.8rem;
}

.hero-site-nav__item--active {
  background: #fff;
  border-color: rgba(0,104,183,0.3);
  box-shadow: var(--shadow-soft);
}
.hero-site-nav__item--active::before {
  background: var(--primary-color);
}
.hero-site-nav__item--active .hero-site-nav__name {
  color: var(--primary-color);
}

.hero-site-nav__icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0,104,183,0.07);
  color: var(--primary-color);
  font-size: 0.75rem;
  flex-shrink: 0;
}
.hero-site-nav__item--corp .hero-site-nav__icon {
  background: rgba(0,0,0,0.05);
  color: rgba(0,0,0,0.75);
}

.hero-site-nav__name {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(0,0,0,0.92);
  flex: 1;
}
.hero-site-nav__sub {
  font-size: 0.75rem;
  color: rgba(0,0,0,0.88);
  letter-spacing: 0.06em;
  white-space: nowrap;
}

@media (max-width: 1120px) {
  .hero-side-col { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: flex-start; }
  .hero-side-col .hero-side-panel { flex: 1; min-width: 260px; }
  .hero-site-nav { flex-direction: row; flex-wrap: wrap; flex: 1; min-width: 260px; }
  .hero-site-nav__item { flex: 1; min-width: 140px; }
}
@media (max-width: 860px) {
  .hero-side-col { display: none; }
}

.top-marquee {
  position: relative;
  z-index: 20;
  overflow: hidden;
  border-bottom: 1px solid var(--line-color);
  border-top: 1px solid var(--line-color);
  background: var(--surface-alt);
}

.marquee-track {
  display: inline-flex;
  gap: 42px;
  min-width: max-content;
  padding: 10px 0;
  animation: marqueeSlide 34s linear infinite;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
}

.marquee-track span {
  position: relative;
  padding-right: 38px;
}

.marquee-track span::after {
  content: "✶";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--secondary-color);
  font-size: 0.7rem;
}

@keyframes marqueeSlide {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-25%); }
}

.container {
  width: min(var(--container-width), 100% - 56px);
  margin: 0 auto;
}

.section {
  padding: var(--spacing-2xl) 0;
}

.section-heading {
  margin-bottom: var(--spacing-lg);
}

.section-kicker {
  display: inline-block;
  border: 1px solid var(--line-color);
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: 10px;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--highlight-color);
  font-weight: 700;
}

.section-title {
  margin-bottom: 0;
}

.text-center {
  text-align: center;
}

.bg-light {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0.18));
}

.flex {
  display: flex;
}

.grid {
  display: grid;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-md {
  gap: var(--spacing-md);
}

.gap-lg {
  gap: var(--spacing-lg);
}

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(2rem, 3vw, 3.2rem);
}

h1.hero-title {
  font-size: clamp(2rem, 3vw, 2.4rem);
}

h2 {
  font-size: clamp(1.6rem, 2vw, 2.3rem);
  margin-bottom: var(--spacing-md);
}

h3 {
  font-size: clamp(1.1rem, 1.45vw, 1.5rem);
  margin-bottom: 10px;
}

p {
  margin-bottom: var(--spacing-md);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 28px;
  border-radius: 999px;
  border: 1px solid var(--line-color);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  left: -60%;
  top: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0));
  transition: transform 0.45s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:hover::after {
  transform: translateX(250%);
}

.btn-primary {
  color: var(--bg-color);
  background: var(--primary-color);
}

.btn-secondary {
  color: var(--primary-color);
  background: var(--surface-color);
}

.btn-tertiary {
  color: var(--highlight-color);
  background: var(--accent-color);
  border-color: var(--highlight-color);
}

.btn-accent {
  color: var(--highlight-color);
  background: var(--accent-color);
  border-color: var(--highlight-color);
}

.btn.disabled,
.btn[aria-disabled="true"] {
  opacity: 0.55;
  pointer-events: none;
}

.btn-lg {
  min-height: 54px;
  padding: 14px 34px;
  font-size: 0.95rem;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line-color);
  background: color-mix(in srgb, var(--bg-color) 90%, white 10%);
  backdrop-filter: blur(8px);
}

.header-inner {
  min-height: 84px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.header-inner .logo {
  justify-self: start;
}

.header-inner .mobile-menu-btn {
  display: none;
}

.header-nav {
  /* center column — naturally centered */
  position: static;
  transform: none;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
  flex-shrink: 0;
}

.logo {
  font-family: var(--font-logo);
  font-size: clamp(2rem, 3.4vw, 3.1rem);
  font-weight: 700;
  color: var(--highlight-color);
  line-height: 0.9;
  letter-spacing: 0.01em;
  text-shadow:
    -1px -1px 0 var(--primary-color),
    1px -1px 0 var(--primary-color),
    -1px 1px 0 var(--primary-color),
    1px 1px 0 var(--primary-color),
    2px 3px 0 rgba(0, 104, 183, 0.32);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  /* Reduced from 12px */
  flex-wrap: nowrap;
  /* Prevent wrapping */
  justify-content: flex-end;
}

.nav-link {
  display: inline-block;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.nav-link.active,
.nav-link:hover {
  border-color: var(--line-color);
  background: color-mix(in srgb, var(--highlight-color) 42%, white 58%);
}

/* ── Nav dropdown ── */
.nav-dropdown {
  position: relative;
}
.nav-dropdown__trigger {
  display: inline-flex !important;
  align-items: center;
}
.nav-dropdown__trigger svg {
  transition: transform 0.2s;
}
.nav-dropdown:hover .nav-dropdown__trigger svg {
  transform: rotate(180deg);
}
.nav-dropdown__menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  min-width: 200px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1), 0 1px 4px rgba(0,0,0,0.06);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 200;
}
.nav-dropdown:hover .nav-dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown__menu a {
  display: block;
  padding: 10px 20px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-color);
  letter-spacing: 0.04em;
  transition: background 0.12s, color 0.12s;
  white-space: nowrap;
}
.nav-dropdown__menu a:hover {
  background: rgba(0,104,183,0.05);
  color: var(--primary-color);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  border: 1px solid var(--line-color);
  border-radius: var(--radius-sm);
  background: var(--surface-color);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.bar {
  width: 24px;
  height: 2px;
  background-color: var(--line-color);
}

.card {
  border: 1px solid var(--line-color);
  border-radius: var(--radius-lg);
  background: var(--surface-color);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-soft);
}

.icon-placeholder {
  width: 84px;
  height: 84px;
  border-radius: 999px;
  border: 1px solid var(--line-color);
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  background: var(--highlight-color);
  font-size: 2rem;
}

.hero {
  padding: clamp(44px, 7vw, 92px) 0;
}

.hero-title {
  margin-bottom: 12px;
}

.hero-subtitle {
  max-width: 72ch;
  color: color-mix(in srgb, var(--primary-color) 82%, white 18%);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.text-center .hero-actions {
  justify-content: center;
}

.hero-editorial {
  padding-top: 38px;
}

.hero-editorial-grid {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) 280px;
  gap: 28px;
  align-items: start;
}

.hero-sticker-rail {
  display: grid;
  gap: 12px;
}

.sticker-note {
  border: 1px solid var(--line-color);
  border-radius: var(--radius-md);
  background: #fff;
  isolation: isolate;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.sticker-note img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 20%;
  background: #fff;
  mix-blend-mode: normal;
  filter: none;
}

/* SP専用アイコングリッド（動画上）：PCでは非表示 */
.sticker-icons-sp {
  display: none;
}

.sticker-note figcaption {
  border-top: 1px solid var(--line-color);
  background: #fff;
  padding: 8px;
  font-size: 0.72rem;
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero-feature {
  position: relative;
  border: none;
  border-radius: var(--radius-xl);
  background: color-mix(in srgb, var(--surface-color) 94%, white 6%);
  padding: clamp(22px, 3vw, 32px);
  box-shadow: none;
}

.feature-kicker {
  display: inline-block;
  border: 1px solid var(--line-color);
  border-radius: 999px;
  background: var(--highlight-color);
  padding: 4px 11px;
  margin-bottom: 12px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.feature-visual-wrap {
  position: relative;
  margin-top: 30px;
  margin-bottom: 22px;
}

.feature-visual {
  border: 1px solid var(--line-color);
  border-radius: var(--radius-lg);
  width: 100%;
  box-shadow: var(--shadow-soft);
}

.feature-overlay-card {
  position: absolute;
  left: 18px;
  bottom: 18px;
  width: min(420px, calc(100% - 36px));
  border: 1px solid var(--line-color);
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--surface-color) 92%, white 8%);
  padding: 14px 16px;
}

.overlay-kicker {
  display: inline-block;
  border: 1px solid var(--line-color);
  border-radius: var(--radius-sm);
  padding: 3px 8px;
  margin-bottom: 14px;
  font-size: 0.7rem;
  background: color-mix(in srgb, var(--highlight-color) 56%, white 44%);
}

.feature-overlay-card h2 {
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.4;
  margin-top: 12px;
  margin-bottom: 8px;
}

.feature-overlay-card p {
  margin-bottom: 0;
  font-size: 0.86rem;
  line-height: 1.55;
}

.hero-side-panel {
  border: 1px solid color-mix(in srgb, var(--highlight-color) 68%, white 32%);
  border-radius: var(--radius-lg);
  background: var(--accent-color);
  color: #fff;
  padding: 16px;
  position: sticky;
  top: 140px;
  box-shadow: 0 12px 28px rgba(163, 16, 0, 0.22);
}

.side-panel-head {
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 10px;
  margin-bottom: 12px;
}

.side-panel-title {
  margin-bottom: 4px;
  font-size: 0.74rem;
  letter-spacing: 0.13em;
  font-weight: 700;
  color: var(--highlight-color);
}

.side-panel-date {
  margin-bottom: 0;
  font-size: 0.79rem;
  letter-spacing: 0.07em;
}

.side-checklist {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.side-checklist li {
  position: relative;
  padding-left: 20px;
  font-size: 0.84rem;
  line-height: 1.55;
}

.side-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.56em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--highlight-color);
}

.section-features {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0));
  border-top: 1px solid rgba(0, 104, 183, 0.2);
  border-bottom: 1px solid rgba(0, 104, 183, 0.2);
}

.editorial-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 18px;
}

.story-card {
  border: 1px solid var(--line-color);
  border-radius: var(--radius-lg);
  background: var(--surface-color);
  padding: 20px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}

.story-card .story-link {
  margin-top: auto;
}



.story-tag {
  display: inline-flex;
  border: 1px solid var(--line-color);
  border-radius: var(--radius-sm);
  background: var(--highlight-color);
  padding: 3px 8px;
  margin-bottom: 8px;
  font-size: 0.73rem;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.story-card h3 {
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
}

.story-card p {
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.story-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  border-bottom: 1px solid currentColor;
}

.story-link::after {
  content: "↗";
  font-size: 0.92rem;
}

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

.feature-card,
.facility-card {
  border: 1px solid var(--line-color);
  border-radius: var(--radius-lg);
  background: var(--surface-color);
  padding: 20px;
  box-shadow: var(--shadow-soft);
}

.feature-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(0,104,183,0.2);
  background: rgba(0,104,183,0.06);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.section-cta {
  padding-top: 82px;
}

.cta-panel {
  border: 1px solid var(--line-color);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 42px);
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--highlight-color) 40%, white 60%), rgba(255, 255, 255, 0.34)),
    var(--surface-color);
  box-shadow: var(--shadow-card);
}

.cta-panel p {
  max-width: 80ch;
  margin-inline: auto;
}

.footer {
  margin-top: var(--spacing-xl);
  background: var(--primary-color);
  color: var(--bg-color);
  padding: 58px 0;
  border-top: 1px solid color-mix(in srgb, var(--highlight-color) 56%, white 44%);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
}

.footer-links a {
  border: 1px solid rgba(255, 255, 214, 0.4);
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 0.8rem;
}

.copyright {
  text-align: center;
  font-size: 0.78rem;
  opacity: 0.86;
}

.section .section-title {
  margin-bottom: 6px;
}

.section .section-title::after {
  content: "";
  display: block;
  width: 72px;
  height: 2px;
  margin-top: 10px;
  background: var(--line-color);
  border-radius: 999px;
}
.section-heading[style*="text-align:center"] .section-title::after {
  margin-left: auto;
  margin-right: auto;
}

/* ── Sub-page hero: Brutus editorial style ── */
.hero.bg-light {
  border: none;
  background: transparent;
  padding: clamp(52px, 7vw, 88px) 0 clamp(40px, 5vw, 60px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.hero.bg-light .container {
  border: none;
  border-radius: 0;
  background: none;
  padding: 0;
}

.hero-en {
  font-family: var(--font-logo);
  font-size: clamp(3.2rem, 7vw, 5.5rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.hero.bg-light .hero-title {
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  font-weight: 500;
  letter-spacing: 0.18em;
  color: rgba(0,0,0,0.9);
  margin-bottom: 20px;
}

.hero.bg-light .hero-subtitle {
  margin-inline: auto;
  max-width: 600px;
  font-size: 0.88rem;
  line-height: 1.9;
  color: rgba(0,0,0,0.85);
  letter-spacing: 0.04em;
}

.feature-item {
  margin-bottom: 54px;
}

.section .section-title + .feature-item {
  margin-top: 28px;
}

.product-inline-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.product-inline-table {
  width: 100%;
  table-layout: fixed;
}

.product-dimension {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.28em;
  text-align: center;
}

.product-dimension__value,
.product-dimension__unit {
  white-space: nowrap;
}

.product-inline-table th,
.product-inline-table td {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.feature-item:last-child {
  margin-bottom: 0;
}

.text-content,
.image-content {
  min-width: 0;
}

.tabs {
  margin-bottom: 22px;
}

.tab-btn {
  border: 1px solid var(--line-color);
  color: var(--primary-color);
  background: var(--surface-color);
}

.tab-btn.active {
  background: var(--primary-color);
  color: var(--bg-color);
}

.case-card {
  border: 1px solid var(--line-color);
  border-radius: var(--radius-lg);
  background: var(--surface-color);
  box-shadow: var(--shadow-soft);
}

.case-title {
  border-bottom-color: color-mix(in srgb, var(--line-color) 20%, transparent 80%);
}

.faq-item,
.form-container {
  border: 1px solid var(--line-color);
  border-radius: var(--radius-lg);
  background: var(--surface-color);
  box-shadow: var(--shadow-soft);
}

.faq-question {
  background: linear-gradient(180deg, color-mix(in srgb, var(--highlight-color) 28%, white 72%), transparent);
}

.form-control,
.sim-customer-input {
  border: 1px solid color-mix(in srgb, var(--line-color) 40%, white 60%);
  border-radius: 10px;
  background: #fffef0;
  color: var(--primary-color);
}

.form-control:focus,
.sim-customer-input:focus {
  outline: none;
  border-color: var(--line-color);
  box-shadow: 0 0 0 3px rgba(0, 104, 183, 0.16);
}

.form-error-summary {
  margin: 0 0 28px;
  padding: 18px 20px;
  border: 2px solid #dc2626;
  border-left-width: 6px;
  border-radius: 12px;
  background: #fff7f7;
  color: var(--text-color);
}
.form-error-summary__title {
  margin: 0 0 6px;
  color: #b91c1c;
  font-size: 1rem;
  font-weight: 700;
}
.form-error-summary__lead {
  margin: 0 0 12px;
  color: #5f1515;
  font-size: 0.9rem;
  line-height: 1.7;
}
.form-error-summary ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 20px;
}
.form-error-summary a {
  color: #b91c1c;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.form-group.has-error .form-label {
  color: #b91c1c;
}
.form-group.has-error .form-control {
  border-color: #dc2626;
  background: #fff7f7;
  box-shadow: 0 0 0 1px rgba(220, 38, 38, 0.14) inset;
}
.form-group.has-error .radio-group,
.form-group.has-error .checkbox-label {
  padding: 14px;
  border: 1px solid #dc2626;
  border-radius: 10px;
  background: #fff7f7;
}
.has-error input[type="checkbox"] {
  padding: 0;
  outline: 2px solid #dc2626;
  outline-offset: 2px;
}
.form-field-error {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 8px 0 0;
  color: #b91c1c;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.55;
}
.form-field-error::before {
  content: "!";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 50%;
  background: #dc2626;
  color: #fff;
  font-size: 0.74rem;
  line-height: 1;
  flex: 0 0 auto;
}

.sim-container {
  max-width: 920px;
  margin: 0 auto;
}

.sim-progress {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  max-width: 520px;
  margin: 0 auto 34px;
}

.sim-progress::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 10px;
  right: 10px;
  height: 1px;
  background: color-mix(in srgb, var(--line-color) 26%, transparent 74%);
  z-index: 1;
}

.sim-step {
  position: relative;
  z-index: 2;
  text-align: center;
  color: color-mix(in srgb, var(--primary-color) 62%, white 38%);
  background: transparent;
  padding-inline: 8px;
}

.sim-step-num {
  width: 40px;
  height: 40px;
  margin: 0 auto 7px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--line-color) 46%, white 54%);
  background: var(--surface-color);
  color: var(--primary-color);
  font-size: 0.93rem;
  font-weight: 700;
}

.sim-step.active {
  color: var(--primary-color);
  font-weight: 700;
}

.sim-step.active .sim-step-num {
  background: var(--highlight-color);
  border-color: var(--line-color);
}

.sim-content {
  display: none;
}

.sim-content.active {
  display: block;
  animation: riseIn 0.45s ease;
}

@keyframes riseIn {
  from {
    transform: translateY(12px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.sim-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.sim-option-card {
  border: 1px solid color-mix(in srgb, var(--line-color) 44%, white 56%);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
  background: var(--surface-color);
  isolation: isolate;
  cursor: pointer;
}

.sim-option-card:hover {
  border-color: var(--line-color);
  transform: translateY(-2px);
}

.sim-option-card.selected {
  border-color: var(--line-color);
  background: color-mix(in srgb, var(--highlight-color) 34%, white 66%);
  box-shadow: var(--shadow-soft);
}

.sim-option-icon {
  display: inline-grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin: 0 auto 12px;
  border: 1px solid var(--line-color);
  border-radius: 999px;
  background: var(--highlight-color);
  font-size: 2rem;
}

.sim-option-img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  margin: 0 auto 12px;
  display: block;
  background: #fff;
  border-radius: 12px;
  mix-blend-mode: normal;
  filter: none;
}
.sim-option-card {
  background: #fff;
}

.sim-option-title {
  font-weight: 700;
  margin-bottom: 6px;
  display: block;
}

.sim-nav-buttons {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
}

.sim-result-box {
  border: 1px solid var(--line-color);
  border-radius: var(--radius-xl);
  background: var(--surface-color);
  padding: clamp(18px, 3vw, 36px);
}

.sim-result-title {
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  margin-bottom: 16px;
}

.sim-result-list {
  list-style: none;
  margin-bottom: 20px;
  border: 1px solid var(--line-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.sim-result-list li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 14px;
  border-bottom: 1px solid color-mix(in srgb, var(--line-color) 24%, transparent 76%);
  background: var(--surface-color);
}

.sim-result-list li:last-child {
  border-bottom: 0;
}

.sim-customer-box {
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px);
  background: #fff;
  margin-bottom: 20px;
}

.sim-customer-title {
  margin-bottom: 24px;
  font-size: 1.05rem;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.sim-customer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
  margin-bottom: 20px;
}

.sim-customer-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(0,0,0,0.9);
}

.sim-customer-input {
  padding: 12px 14px !important;
  font-size: 0.95rem !important;
  border: 1px solid rgba(0,0,0,0.14) !important;
  border-radius: 8px !important;
  background: #f9fafb !important;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.sim-customer-input:focus {
  background: #fff !important;
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 3px rgba(0,104,183,0.1) !important;
}
.sim-customer-input::placeholder {
  color: rgba(0,0,0,0.55);
  font-weight: 400;
}

textarea.sim-customer-input {
  min-height: 100px;
  resize: vertical;
}

.sim-required {
  display: inline-block;
  margin-left: 6px;
  border: none;
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--primary-color);
}

@media (max-width: 1120px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 14px 0;
  }

  .hero-editorial-grid {
    grid-template-columns: 108px 1fr;
  }

  .hero-side-panel {
    grid-column: 1 / -1;
    position: static;
  }

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

@media (max-width: 860px) {
  .container {
    width: min(var(--container-width), 100% - 28px);
  }

  .section {
    padding: 70px 0;
  }

  .header-inner {
    min-height: 74px;
  }

  .logo {
    font-size: 2.4rem;
  }

  .nav-menu {
    display: none;
    width: 100%;
    margin-top: 10px;
    padding: 14px;
    border: 1px solid var(--line-color);
    border-radius: var(--radius-md);
    background: var(--surface-color);
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .nav-menu.open {
    display: flex;
  }

  .mobile-menu-btn,
  .header-inner .mobile-menu-btn {
    display: flex;
  }
  .header-nav,
  .header-actions {
    display: none;
  }

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

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

  .feature-overlay-card {
    position: static;
    width: 100%;
    margin-top: 12px;
  }

  .grid-2,
  .grid-3,
  .editorial-grid,
  .feature-grid,
  .facility-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .sim-nav-buttons {
    flex-direction: column;
  }

  .sim-customer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .marquee-track {
    gap: 26px;
    font-size: 0.72rem;
  }

  .logo {
    font-size: 2rem;
  }

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

  .hero-title {
    font-size: clamp(1.56rem, 8vw, 2rem);
  }

  .btn,
  .btn-lg {
    width: 100%;
  }

  .footer {
    padding: 44px 0;
  }
}

/* --- Interactive Animations --- */

/* Scroll Trigger Base: Slide Up + Fade In */
/* Default opacity is 0, becomes 1 when .visible is added */
/* Unified scroll animation */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger Delays */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.18s; }
.delay-300 { transition-delay: 0.26s; }
.delay-400 { transition-delay: 0.34s; }

/* Hover Lift Effect for Cards */
.hover-lift {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-8px) scale(1.02);
  /* Hard shadow pop on hover */
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.15) !important;
}

/* Icon Pop Animation (Keyframes) */
@keyframes popIn {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }

  60% {
    transform: scale(1.15);
    opacity: 1;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.icon-pop {
  animation: popIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

/* Button 3D Pop Effect */
.btn {
  /* Ensure transition for smooth pop */
  transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: none;
}

.btn:hover {
  /* Pop up and Left */
  transform: translate(-4px, -4px);
  /* Hard Shadow appears */
  box-shadow: 4px 4px 0 var(--mm-black);
}

.btn:active {
  /* Press down on click */
  transform: translate(0, 0);
  box-shadow: 0 0 0 var(--mm-black);
}

/* Sticker Hover Wiggle */
.sticker-note:hover img {
  transform: rotate(5deg) scale(1.1);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Image Hover Zoom */
.feature-visual:hover {
  transform: scale(1.02);
  transition: transform 0.5s ease;
}

/* ─────────────────────────────────────────────────────────
   DESIGN REFINEMENT v2 — transit.jp editorial style
   ・カード：ボーダーなし → 影のみ
   ・kicker：塗りなし → ダッシュ＋プレーンテキスト
   ・背景：クリーンなオフホワイト
   ・ホバー：軽やか（バウンシーなscale廃止）
   ・余白：より寛大に
───────────────────────────────────────────────────────── */
:root {
  --highlight-color: #fef3c7;
  --accent-color:    #0f4a8a;
  --line-color:      #d4dde8;    /* very light — card borders barely visible */
  --border-color:    #d4dde8;
  --surface-alt:     #f5f8fc;
  --light-gray:      #f5f8fc;
  --mm-yellow:       #fef3c7;
  --mm-stroke-width: 1px;

  --mm-lime:   #93c5fd;
  --mm-sky:    #60a5fa;
  --mm-coral:  #f59e0b;

  --radius-sm:   4px;
  --radius-md:   10px;
  --radius-lg:   14px;
  --radius-xl:   20px;

  --spacing-lg: 36px;

  --shadow-card: 0 4px 24px rgba(20, 40, 80, 0.07), 0 1px 4px rgba(20,40,80,0.04);
  --shadow-soft: 0 2px 12px rgba(20, 40, 80, 0.06);

  /* Generous section spacing */
  --spacing-2xl: 112px;
}

/* Body: pure off-white, no gradient noise */
body {
  background: #f9fafb;
}
body::before { display: none; }    /* remove dot grid */
.bg-decoration-harness { display: none; }

/* ── Suit decoration (upper right) ── */
body::after {
  content: "";
  position: fixed;
  top: 40px;
  right: 0;
  width: clamp(320px, 38vw, 560px);
  height: auto;
  aspect-ratio: 1 / 1.4;
  background-image: image-set(
    url("../img/suit.webp") type("image/webp"),
    url("../img/suit.png") type("image/png")
  );
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top right;
  opacity: 0.055;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: multiply;
  transform: rotate(12deg);
}

/* ── Typography refinement ── */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.01em;
}
h2 { font-size: clamp(1.5rem, 2.2vw, 2.2rem); }
p  { line-height: 1.85; }

/* ── Section heading: transit.jp style ──
   Replace filled pill kicker with dash + plain text */
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary-color);
  opacity: 0.92;
  margin-bottom: 12px;
}
.section-kicker::before {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}

/* Section title underline: thinner, more restrained */
.section .section-title::after {
  width: 40px;
  height: 1px;
  margin-top: 14px;
  background: rgba(0,104,183,0.3);
}

/* ── Cards: borderless, shadow-only ── */
.story-card,
.feature-card,
.facility-card,
.card,
.cta-panel,
.faq-item,
.form-container,
.case-card,
.hero-feature,
.sticker-note,
.sim-result-box {
  border: none;
  box-shadow: var(--shadow-card);
}


/* feature-number: accent circle top-right (already set in base) */

/* story-tag / feature kicker: minimal pill */
.story-tag,
.feature-kicker {
  background: rgba(0,104,183,0.07);
  border: none;
  color: var(--primary-color);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
}
.overlay-kicker {
  background: rgba(0,104,183,0.07);
  border: none;
  color: var(--primary-color);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}

/* ── Logo ── */
.logo {
  font-family: var(--font-logo);
  font-weight: 700;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  letter-spacing: 0.08em;
  line-height: 1;
  color: var(--primary-color);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-stroke: 0;
  text-shadow: none;
  filter: none;
}

/* ── Header: clean white ── */
.header {
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

/* ── Marquee: thinner, quieter ── */
.top-marquee {
  border-top: 1px solid rgba(0,0,0,0.07);
  border-bottom: 1px solid rgba(0,0,0,0.07);
  background: #fff;
}
.marquee-track {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  opacity: 0.88;
  font-weight: 700;
}
.marquee-track span::after { color: rgba(0,104,183,0.4); }

/* ── Side panel: deep blue ── */
.hero-side-panel {
  background: linear-gradient(160deg, #0c3f7e 0%, #0068b7 100%);
  border: none;
  box-shadow: 0 8px 28px rgba(0,60,140,0.18);
  position: static;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.hero-side-panel .btn-tertiary {
  align-self: center;
  width: 100%;
  justify-content: center;
}
.side-panel-title { color: #fef3c7; }
.side-checklist li::before { background: #fef3c7; }

/* ── Buttons: hanako.tokyo style ── */
.btn {
  border-radius: 0;
  border: 1px solid currentColor;
  font-weight: 500;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.28s ease, background 0.28s ease, box-shadow 0.28s ease, transform 0.2s ease;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--primary-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
  z-index: -1;
}
.btn:hover::after { transform: scaleX(1); }
.btn:hover { color: #fff; transform: none; box-shadow: none; }

.btn-primary {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
  transition: background 0.28s ease, border-color 0.28s ease;
}
.btn-primary::after { display: none; }
.btn-primary:hover { background: #062d5c; color: #fff; border-color: #062d5c; }

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
  transition: background 0.28s ease, color 0.28s ease;
}
.btn-secondary::after { display: none; }
.btn-secondary:hover { background: var(--primary-color); color: #fff; }

.btn-tertiary {
  background: #0c3f7e;
  color: #fef3c7;
  border-color: #0c3f7e;
  transition: background 0.28s ease, border-color 0.28s ease;
}
.btn-tertiary::after { display: none; }
.btn-tertiary:hover { background: #091f3a; color: #fef3c7; border-color: #091f3a; }

/* ── Story link: hanako underline style ── */
.story-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-color);
  border-bottom: none;
  padding-bottom: 2px;
  position: relative;
}
.story-link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--primary-color);
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.story-link:hover::before { transform: scaleX(0); transform-origin: right; }
.story-link::after { content: "→"; font-size: 0.85rem; border-bottom: none; }

/* ── Hover lift: gentle, no scale ── */
.hover-lift:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 12px 32px rgba(20,40,80,0.12) !important;
}

/* ── CTA panel: clean ── */
.cta-panel {
  background: linear-gradient(145deg, rgba(0,104,183,0.06), rgba(255,255,255,0.6));
  border-radius: var(--radius-xl);
}

/* ── Section features: subtle ── */
.section-features {
  background: #fff;
  border-top: 1px solid rgba(0,0,0,0.05);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* ── Form ── */
.form-control, .sim-customer-input {
  background: #fff;
  border-color: rgba(0,0,0,0.12);
}
.sim-option-card.selected {
  background: rgba(0,104,183,0.06);
  border-color: var(--primary-color) !important;
}
.sim-step.active .sim-step-num { background: #fef3c7; }

/* ── Hero feature card ── */
.hero-feature {
  background: #fff;
  border-radius: var(--radius-xl);
}

/* ── Footer: cleaner ── */
.footer {
  background: #0d2a4f;
  border-top: none;
}
.footer-links a {
  border-color: rgba(255,255,255,0.15);
}

/* SP ドロワー：PC では完全非表示 */
.sp-drawer { display: none; }

/* footer SP CTA ボタン：PC では非表示 */
.footer-cta-sp {
  display: none;
}

/* ═══════════════════════════════════════════════════════
   SmartHR Mag-inspired Editorial Enhancements
   ═══════════════════════════════════════════════════════ */

/* 1. Color-coded category tags */
.story-tag--case {
  background: rgba(22,163,74,0.1) !important;
  color: #15803d !important;
  border: 1px solid rgba(22,163,74,0.25) !important;
}
.story-tag--product {
  background: rgba(37,99,235,0.08) !important;
  color: #1e40af !important;
  border: 1px solid rgba(37,99,235,0.2) !important;
}
.story-tag--price {
  background: rgba(217,119,6,0.08) !important;
  color: #92400e !important;
  border: 1px solid rgba(217,119,6,0.2) !important;
}
.story-tag--voice {
  background: rgba(124,58,237,0.08) !important;
  color: #5b21b6 !important;
  border: 1px solid rgba(124,58,237,0.2) !important;
}

/* 2. Keyword chip tags below cards */
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.card-tag {
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(0,0,0,0.78);
  background: rgba(0,0,0,0.033);
  border-radius: 3px;
  padding: 3px 9px;
  border: 1px solid rgba(0,0,0,0.07);
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
}
.card-tag:hover {
  background: rgba(0,104,183,0.08);
  color: var(--primary-color);
  border-color: rgba(0,104,183,0.2);
}

/* 3. Section heading: top-bar accent (SmartHR editorial style) */
.section-heading {
  padding-top: 22px;
  position: relative;
  margin-bottom: 40px;
}
.section-heading::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 1px;
}
.section-heading[style*="text-align:center"]::before {
  left: 50%;
  margin-left: -20px;
}

/* 4. Featured story-card-large: no background image */

/* 5. Stat badge on voice cards */
.voice-stat {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  background: rgba(0,104,183,0.07);
  border: 1px solid rgba(0,104,183,0.15);
  border-radius: 4px;
  padding: 6px 12px;
  margin-bottom: 14px;
}
.voice-stat__num {
  font-family: var(--font-logo);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
  letter-spacing: 0.03em;
}
.voice-stat__label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--primary-color);
  opacity: 0.92;
  letter-spacing: 0.06em;
}
.footer-links a:hover { border-color: rgba(255,255,255,0.5); }

/* ══════════════════════════════════════════════════════════
   SmartHR Mag vol.2 — Deep Design System Integration
   ══════════════════════════════════════════════════════════ */

/* 1. Body typography — generous line-height */
body { line-height: 1.9; }

/* 2. Color dot inside category tag badges */
.story-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.story-tag::before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  background: currentColor;
  opacity: 0.45;
}
.story-tag--case::before    { background: #15803d; opacity: 1; }
.story-tag--product::before { background: #1e40af; opacity: 1; }
.story-tag--price::before   { background: #92400e; opacity: 1; }
.story-tag--voice::before   { background: #5b21b6; opacity: 1; }

/* 3. Section inset shadow separators */
.section + .section {
  box-shadow: inset 0 1px 0 rgba(0,0,0,0.055);
}

/* 4. Dotted column separators in grids */
.feature-grid,
.facility-grid {
  position: relative;
}
.feature-grid::before,
.feature-grid::after,
.facility-grid::before,
.facility-grid::after {
  content: "";
  position: absolute;
  top: 4%;
  bottom: 4%;
  width: 1px;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(0,0,0,0.09) 0,
    rgba(0,0,0,0.09) 4px,
    transparent 4px,
    transparent 10px
  );
  pointer-events: none;
  z-index: 2;
}
.feature-grid::before,
.facility-grid::before { left: 33.33%; }
.feature-grid::after,
.facility-grid::after  { left: 66.67%; }

/* 5. Feature card h3 left accent border */
.section-features .feature-card h3 {
  border-left: 3px solid var(--primary-color);
  padding-left: 11px;
  border-radius: 1px;
}

/* 6. Image hover overlay + floating pill button */
.img-hover-wrap {
  position: relative;
  overflow: hidden;
}
.img-hover-wrap img {
  display: block;
  width: 100%;
  transition: transform 0.35s ease;
}
.img-hover-wrap:hover img {
  transform: scale(1.06);
}
.img-hover-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5,18,45,0.22);
  opacity: 0;
  transition: opacity 0.22s ease;
  z-index: 1;
}
.img-hover-wrap::after {
  content: "詳細を見る";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, calc(-50% + 8px));
  background: rgba(255,255,255,0.96);
  color: var(--primary-color);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 7px 18px;
  border-radius: 999px;
  border: 1px solid rgba(0,104,183,0.18);
  opacity: 0;
  transition: opacity 0.22s ease, transform 0.22s ease;
  pointer-events: none;
  white-space: nowrap;
  z-index: 2;
}
.img-hover-wrap:hover::before { opacity: 1; }
.img-hover-wrap:hover::after {
  opacity: 1;
  transform: translate(-50%, -50%);
}

/* 7. Text highlight utility */
.text-highlight {
  background-image: linear-gradient(
    transparent calc(100% - 0.32em),
    rgba(0,104,183,0.18) calc(100% - 0.32em)
  );
  background-repeat: no-repeat;
}

/* ══════════════════════════════════════════════════════════
   DESIGN REFINEMENT v3 — Polish & Micro-interactions
   ══════════════════════════════════════════════════════════ */

/* 1. Custom selection color */
::selection {
  background: rgba(0,104,183,0.14);
  color: inherit;
}

/* 2. Smooth scroll behavior */
html { scroll-behavior: smooth; }

/* 3. Text rendering optimization */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* 4. (consolidated into unified .animate-on-scroll above) */

/* 5. Header polish — blur backdrop + subtle bottom shadow */
.header {
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}

/* 6. Nav link — active indicator dot instead of fill */
.nav-link.active {
  background: none !important;
  border-color: transparent !important;
  position: relative;
}
.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--primary-color);
}

/* 7. Logo subtle hover */
.logo {
  transition: opacity 0.2s;
}
.logo:hover { opacity: 0.75; }

/* 8. Section kicker — refined with thinner dash */
.section-kicker {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  opacity: 0.85;
}

/* 9. Section title — refined */
.section .section-title {
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  letter-spacing: 0.02em;
}
.section .section-title::after {
  width: 32px;
  height: 2px;
  margin-top: 16px;
  background: var(--primary-color);
  opacity: 0.35;
}

/* 10. Card hover — unified, gentle lift */
.story-card,
.feature-card,
.facility-card,
.card {
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s ease;
}
.story-card:hover,
.feature-card:hover,
.facility-card:hover,
.card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 36px rgba(0,104,183,0.09) !important;
}

/* 11. Button refinement — better transitions */
.btn {
  font-weight: 600;
  letter-spacing: 0.1em;
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease, transform 0.15s ease;
}
.btn:active {
  transform: scale(0.97);
}

/* 12. Footer refinement */
.footer {
  padding: 48px 0 36px;
}
.footer-links {
  gap: 6px;
  margin-bottom: 24px;
}
.footer-links a {
  border: none;
  border-radius: 0;
  padding: 6px 14px;
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  opacity: 0.95;
  transition: opacity 0.15s;
}
.footer-links a:hover {
  opacity: 1;
  border-color: transparent;
}
.copyright {
  font-size: 0.7rem;
  opacity: 0.75;
  letter-spacing: 0.08em;
}

/* 13. Sticker note refinement — remove heavy shadow */
.sticker-note {
  background: #fff !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04) !important;
  border: 1px solid rgba(0,0,0,0.06) !important;
  border-radius: 10px !important;
}

/* 14. CTA section — gradient accent line on top */
.section-cta {
  position: relative;
}
.section-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  border-radius: 1px;
}

/* 15. Marquee refinement */
.top-marquee {
  padding: 10px 0;
}
.marquee-track {
  font-weight: 600;
  opacity: 0.75;
  font-size: 0.75rem;
  letter-spacing: 0.24em;
}

/* 16. Feature number polish (merged into base) */

/* 17. Voice stat badge refinement */
.voice-stat {
  border: none;
  background: rgba(0,104,183,0.04);
  border-radius: 6px;
  padding: 8px 14px;
}
.voice-stat__num {
  font-size: 1.35rem;
}

/* 18. Card tag chip refinement */
.card-tag {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  border: none;
  background: rgba(0,0,0,0.04);
  color: rgba(0,0,0,0.88);
  border-radius: 2px;
  padding: 3px 8px;
}

/* 19. Hero subtitle polish */
.hero-subtitle {
  max-width: 620px;
  font-size: clamp(0.84rem, 1.08vw, 0.94rem);
  line-height: 1.8;
  letter-spacing: 0.01em;
  color: rgba(0,0,0,0.92);
}

/* 20. Scroll progress indicator */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--primary-color);
  z-index: 9999;
  transition: width 0.1s linear;
  opacity: 0.6;
}

/* ══════════════════════════════════════════════════════════
   MOTION SYSTEM — Bold Animations & Dynamic Layout
   ══════════════════════════════════════════════════════════ */

/* ── Scroll-triggered directional entrances ── */
.anim-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s cubic-bezier(0.22,1,0.36,1), transform 0.8s cubic-bezier(0.22,1,0.36,1);
}
.anim-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s cubic-bezier(0.22,1,0.36,1), transform 0.8s cubic-bezier(0.22,1,0.36,1);
}
.anim-scale {
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.anim-left.visible,
.anim-right.visible,
.anim-scale.visible {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* ── Parallax depth layers ── */
[data-parallax] {
  transition: transform 0.1s linear;
  will-change: transform;
}

/* ── Hero title stagger reveal ── */
.hero-title .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(32px) rotateX(-40deg);
  animation: charReveal 0.6s cubic-bezier(0.22,1,0.36,1) forwards;
}
@keyframes charReveal {
  to { opacity: 1; transform: translateY(0) rotateX(0); }
}

/* ── Hero-en counter-style animation ── */
.hero-en {
  overflow: hidden;
}
.hero-en .letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
  animation: letterSlideUp 0.5s cubic-bezier(0.22,1,0.36,1) forwards;
}
@keyframes letterSlideUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ── Section heading slide-in line ── */
.section-heading::before {
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.6s cubic-bezier(0.22,1,0.36,1) 0.2s;
}
.section-heading[style*="text-align:center"]::before {
  transform-origin: center;
}
.section-heading.visible::before {
  transform: scaleX(1);
}

/* ── Stagger children in grids ── */
.feature-grid .feature-card,
.facility-grid .facility-card,
.editorial-grid .story-card {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s cubic-bezier(0.22,1,0.36,1), transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
.feature-grid.visible .feature-card,
.facility-grid.visible .facility-card,
.editorial-grid.visible .story-card {
  opacity: 1;
  transform: translateY(0);
}
.feature-grid.visible .feature-card:nth-child(1),
.facility-grid.visible .facility-card:nth-child(1),
.editorial-grid.visible .story-card:nth-child(1) { transition-delay: 0s; }
.feature-grid.visible .feature-card:nth-child(2),
.facility-grid.visible .facility-card:nth-child(2),
.editorial-grid.visible .story-card:nth-child(2) { transition-delay: 0.12s; }
.feature-grid.visible .feature-card:nth-child(3),
.facility-grid.visible .facility-card:nth-child(3),
.editorial-grid.visible .story-card:nth-child(3) { transition-delay: 0.24s; }

/* ── Magnetic hover on cards ── */
.feature-card,
.facility-card,
.story-card {
  transition: transform 0.25s cubic-bezier(0.22,1,0.36,1), box-shadow 0.25s ease;
}

/* ── Floating CTA pulse ring ── */
.btn-pulse {
  position: relative;
}
.btn-pulse::before {
  content: "";
  position: absolute;
  inset: -4px;
  border: 2px solid var(--primary-color);
  border-radius: inherit;
  opacity: 0;
  animation: pulseRing 2.5s cubic-bezier(0.22,1,0.36,1) infinite;
}
@keyframes pulseRing {
  0%   { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.12); opacity: 0; }
}

/* ── Number count-up style ── */
.count-up {
  font-variant-numeric: tabular-nums;
}

/* ── Marquee speed variation on hover ── */
.top-marquee:hover .marquee-track {
  animation-duration: 60s;
}

/* ── Smooth image reveal on scroll ── */
.img-reveal {
  position: relative;
  overflow: hidden;
}
.img-reveal::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bg-color, #f9fafb);
  z-index: 3;
  transform-origin: right;
  transition: transform 0.8s cubic-bezier(0.22,1,0.36,1);
}
.img-reveal.visible::before {
  transform: scaleX(0);
}

/* ── Cursor follower dot (desktop only) ── */
@media (hover: hover) {
  .cursor-dot {
    position: fixed;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-color);
    pointer-events: none;
    z-index: 10000;
    mix-blend-mode: difference;
    transition: transform 0.15s cubic-bezier(0.22,1,0.36,1), width 0.2s, height 0.2s;
    transform: translate(-50%, -50%);
    opacity: 0.7;
  }
  .cursor-dot.hover-grow {
    width: 32px;
    height: 32px;
    opacity: 0.3;
  }
}
@media (hover: none) {
  .cursor-dot { display: none; }
}

/* ══════════════════════════════════════════════════════════
   LAYOUT v4 — Bold Editorial Layouts
   ══════════════════════════════════════════════════════════ */

/* ── Topic hero: full-width magazine card ── */
.topic-hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 36px rgba(0,0,0,0.07);
  margin-bottom: 24px;
}
.topic-hero__img {
  min-height: 320px;
}
.topic-hero__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.topic-hero__body {
  padding: 40px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.topic-hero__title {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-color);
  margin-bottom: 12px;
}
.topic-hero__title em {
  font-style: normal;
  color: var(--primary-color);
}
.topic-hero__body p {
  font-size: 0.88rem;
  line-height: 1.8;
  color: rgba(0,0,0,0.85);
}

.topic-sub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 860px) {
  .topic-hero { grid-template-columns: 1fr; }
  .topic-hero__img { min-height: 220px; }
  .topic-hero__body { padding: 28px 24px; }
  .topic-sub-grid { grid-template-columns: 1fr; }
}

/* ── Zigzag feature: alternating image/text ── */
.zigzag-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}
.zigzag-feature:last-child { margin-bottom: 0; }

.zigzag-feature--reverse {
  direction: rtl;
}
.zigzag-feature--reverse > * {
  direction: ltr;
}

.zigzag-feature__img {
  border-radius: 10px;
  overflow: hidden;
}
.zigzag-feature__img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.zigzag-feature__body {
  position: relative;
}

.zigzag-feature__body h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.4;
  color: var(--primary-color);
}
.zigzag-feature__sub {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-color);
  margin-top: 4px;
}
.zigzag-feature__body p {
  font-size: 0.88rem;
  line-height: 1.85;
  color: rgba(0,0,0,0.85);
}

@media (max-width: 860px) {
  .zigzag-feature,
  .zigzag-feature--reverse { grid-template-columns: 1fr; gap: 24px; direction: ltr; }
  .zigzag-feature { margin-bottom: 48px; }
}

/* ── Voice grid layout ── */
.voice-scroll-wrap {
  position: relative;
  margin-top: 32px;
}
.voice-scroll-hint,
.voice-dots {
  display: none;
}

.voice-scroll {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.voice-card {
  min-width: 0;
  height: 100%;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 18px rgba(0,0,0,0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.voice-card__link {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  color: inherit;
  text-decoration: none;
}
.voice-card__media {
  overflow: hidden;
  border-radius: 10px 10px 0 0;
}
.voice-card__media img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.voice-card__body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.voice-card__summary {
  font-size: 0.97rem;
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 20px;
  flex: 1;
}
.voice-card__person {
  border-top: 1px solid var(--line-color);
  padding-top: 14px;
  margin-bottom: 18px;
}
.voice-card__person-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.voice-card__person-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface-alt);
}
.voice-card__person-name {
  font-weight: 700;
  font-size: 0.88rem;
}
.voice-card__person-meta {
  font-size: 0.75rem;
  color: rgba(0,0,0,0.78);
  margin-top: 2px;
}
.voice-card__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line-color);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-color);
}
.voice-card__cta-arrow {
  transition: transform 0.25s ease;
}
.voice-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,104,183,0.1);
}
.voice-card:hover .voice-card__media img {
  transform: scale(1.03);
}
.voice-card:hover .voice-card__cta-arrow {
  transform: translateX(4px);
}

@media (max-width: 1080px) {
  .voice-scroll {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .voice-scroll {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .voice-card { flex: initial !important; }
}

/* ── FAQ mini accordion (top page) ── */
.faq-mini__item {
  background: #fff;
  border-radius: 10px;
  margin-bottom: 12px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.04);
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.2s;
}
.faq-mini__item:hover { box-shadow: 0 4px 20px rgba(0,104,183,0.08); }

.faq-mini__q {
  padding: 20px 28px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-color);
  display: flex;
  align-items: center;
  gap: 14px;
  line-height: 1.5;
  user-select: none;
}
.faq-mini__q::before {
  content: "Q";
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 6px;
  background: var(--primary-color);
  color: #fff;
  font-family: var(--font-logo);
  font-size: 0.78rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.faq-mini__q::after {
  content: "";
  flex-shrink: 0;
  margin-left: auto;
  width: 9px; height: 9px;
  border-right: 2px solid rgba(0,0,0,0.2);
  border-bottom: 2px solid rgba(0,0,0,0.2);
  transform: rotate(45deg);
  transition: transform 0.25s;
}
.faq-mini__item.open .faq-mini__q::after { transform: rotate(-135deg); }

.faq-mini__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 28px;
  font-size: 0.88rem;
  line-height: 1.85;
  color: rgba(0,0,0,0.88);
}
.faq-mini__item.open .faq-mini__a {
  max-height: 200px;
  padding: 0 28px 24px 70px;
}

/* 8. Section heading bottom margin */
.section-heading { margin-bottom: 44px; }

/* ══════════════════════════════════════════════════════════
   AWWWARDS-LEVEL POLISH
   ══════════════════════════════════════════════════════════ */

/* ── Page load reveal ── */
body { opacity: 0; animation: pageReveal 0.8s cubic-bezier(0.22,1,0.36,1) 0.1s forwards; }
@keyframes pageReveal { to { opacity: 1; } }

/* ── Film grain overlay ── */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
  mix-blend-mode: multiply;
}

/* ── (consolidated into unified .animate-on-scroll above) ── */

/* ── Line reveal for text ── */
.line-reveal {
  overflow: hidden;
  display: block;
}
.line-reveal__inner {
  display: block;
  transform: translateY(110%);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.line-reveal.visible .line-reveal__inner {
  transform: translateY(0);
}

/* ── Horizontal rule animation ── */
.hr-reveal {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.hr-reveal.visible { transform: scaleX(1); }

/* ── Enhanced btn hover ── */
.btn {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s ease,
              background 0.3s ease,
              color 0.3s ease,
              border-color 0.3s ease;
}
.btn:active {
  transform: scale(0.97);
}
.btn-primary {
  position: relative;
  overflow: hidden;
  z-index: 0;
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent 60%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-primary:hover::after { opacity: 1; }

/* ── Card lift refinement ── */
.hover-lift {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s ease;
}
.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 104, 183, 0.1);
}

/* ── Image scale on hover within cards ── */
.hover-lift img,
.feature-card img,
.facility-card img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.hover-lift:hover img,
.feature-card:hover img,
.facility-card:hover img {
  transform: scale(1.04);
}

/* ── Smooth image reveal upgrade ── */
.img-reveal::before {
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Section divider lines ── */
.section + .section {
  position: relative;
}

/* ── Scroll progress bar upgrade ── */
.scroll-progress {
  background: linear-gradient(90deg, var(--primary-color), rgba(0,104,183,0.5));
  height: 3px;
  box-shadow: 0 0 12px rgba(0,104,183,0.3);
}

/* ── Voice card quote mark ── */
.voice-card {
  position: relative;
}
.voice-card::before {
  content: "\201C";
  position: absolute;
  top: -8px;
  right: 16px;
  font-size: 4rem;
  font-family: Georgia, serif;
  color: var(--primary-color);
  opacity: 0.06;
  line-height: 1;
  pointer-events: none;
  z-index: 1;
}

/* ── Hero title typography upgrade ── */
.hero-title {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  letter-spacing: -0.01em;
  line-height: 1.35;
}

/* ── Section kicker with dash ── */
.section-kicker::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 1.5px;
  background: currentColor;
  margin-right: 8px;
  vertical-align: middle;
  opacity: 0.85;
}

/* ── Zigzag feature polish ── */
.zigzag-feature {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.zigzag-feature:hover {
  transform: translateX(4px);
}
.zigzag-feature--reverse:hover {
  transform: translateX(-4px);
}

/* ── Footer fade-in ── */
.footer {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s 0.1s, transform 0.8s 0.1s;
}
.footer.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Selection color ── */
::selection {
  background: var(--primary-color);
  color: #fff;
}

/* ── Focus visible for accessibility ── */
:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ── Smooth marquee ── */
.marquee-track {
  will-change: transform;
}

/* ── Hero proof items fade stagger ── */
.hero-proof__item {
  opacity: 0;
  transform: translateX(-12px);
  animation: proofFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-proof__item:nth-child(1) { animation-delay: 0.8s; }
.hero-proof__item:nth-child(2) { animation-delay: 1.0s; }
@keyframes proofFadeIn {
  to { opacity: 1; transform: translateX(0); }
}

/* ══════════════════════════════════════════════
   SP最適化 (640px以下) — index.html
   ══════════════════════════════════════════════ */
/* SP専用改行：PCでは非表示 */
.br-sp { display: none; }
/* PC専用改行：SPでは非表示 */
.br-pc { display: inline; }
/* SP専用スクロールヒント：PCでは非表示 */
.comparison-scroll-hint { display: none; }

/* ── タブレット以下：ドロワー＋ハンバーガー有効化（860px以下） ── */
@media (max-width: 860px) {
  /* ── ヘッダー ── */
  .header {
    position: fixed;
    width: 100%;
    z-index: 1100;
    transition: background 0.35s ease, border-color 0.35s ease;
  }
  /* 固定ヘッダー分のオフセット（タブレット共通） */
  main,
  .hero.bg-light {
    padding-top: calc(60px + 32px);
  }
  .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 60px;
    grid-template-columns: none;
  }
  /* コンテナ余白（タブレット） */
  .container {
    width: min(var(--container-width), 100% - 40px);
  }
  body.sp-menu-open .header {
    background: #0a1f3d;
    border-bottom-color: transparent;
  }
  body.sp-menu-open .logo {
    color: rgba(255,255,255,0.9);
  }

  /* ── ハンバーガーボタン ── */
  .mobile-menu-btn,
  .header-inner .mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: none;
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
  }
  .mobile-menu-btn .bar {
    width: 22px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: transform 0.35s cubic-bezier(0.22,1,0.36,1),
                opacity 0.25s ease,
                background 0.3s ease;
    transform-origin: center;
  }
  body.sp-menu-open .mobile-menu-btn .bar {
    background: #fff;
  }
  .mobile-menu-btn.is-open .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .mobile-menu-btn.is-open .bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .mobile-menu-btn.is-open .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* ── ドロワー（フルスクリーン） ── */
  .sp-drawer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    height: 100dvh;
    z-index: 1000;
    background: #0a1f3d;
    display: flex;
    flex-direction: column;
    padding-top: calc(60px + clamp(12px, 2vh, 24px));
    overflow: hidden;
    transform: translateX(100%);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    visibility: hidden;
  }
  .sp-drawer::after {
    content: '夢歩';
    position: absolute;
    bottom: -0.05em;
    right: -0.05em;
    font-family: var(--font-logo);
    font-size: 38vw;
    font-weight: 700;
    color: rgba(255,255,255,0.025);
    letter-spacing: -0.02em;
    pointer-events: none;
    line-height: 1;
  }
  .sp-drawer.open {
    transform: translateX(0);
    visibility: visible;
  }
  .sp-drawer__nav {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(16px, 3vh, 28px) 28px 0;
    counter-reset: nav-item;
    position: relative;
    z-index: 1;
    overflow-y: auto;
  }
  .sp-drawer__link {
    counter-increment: nav-item;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: clamp(9px, 1.6vh, 14px) 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    text-decoration: none;
    color: rgba(255,255,255,0.65);
    font-size: clamp(0.95rem, 4vw, 1.15rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    flex-shrink: 0;
    opacity: 0;
    transform: translateX(28px);
    transition: color 0.2s,
                opacity 0.4s cubic-bezier(0.22,1,0.36,1),
                transform 0.4s cubic-bezier(0.22,1,0.36,1);
  }
  .sp-drawer__link::before {
    content: counter(nav-item, decimal-leading-zero);
    font-family: var(--font-logo);
    font-size: 0.6rem;
    font-weight: 700;
    color: rgba(0,150,220,0.65);
    letter-spacing: 0.12em;
    min-width: 20px;
    flex-shrink: 0;
  }
  .sp-drawer__link:first-child {
    border-top: 1px solid rgba(255,255,255,0.07);
  }
  .sp-drawer__link:active {
    color: #fff;
  }
  .sp-drawer.open .sp-drawer__link { opacity: 1; transform: translateX(0); }
  .sp-drawer.open .sp-drawer__link:nth-child(1) { transition-delay: 0.07s; }
  .sp-drawer.open .sp-drawer__link:nth-child(2) { transition-delay: 0.11s; }
  .sp-drawer.open .sp-drawer__link:nth-child(3) { transition-delay: 0.15s; }
  .sp-drawer.open .sp-drawer__link:nth-child(4) { transition-delay: 0.19s; }
  .sp-drawer.open .sp-drawer__link:nth-child(5) { transition-delay: 0.23s; }
  .sp-drawer.open .sp-drawer__link:nth-child(6) { transition-delay: 0.27s; }
  .sp-drawer.open .sp-drawer__link:nth-child(7) { transition-delay: 0.31s; }
  .sp-drawer.open .sp-drawer__link:nth-child(8) { transition-delay: 0.35s; }
  .sp-drawer.open .sp-drawer__link:nth-child(9) { transition-delay: 0.39s; }
  .sp-drawer__sites {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0 28px;
    margin-bottom: clamp(12px, 2vh, 20px);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: clamp(12px, 2vh, 20px);
  }
  .sp-drawer__site {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.45);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 999px;
    transition: color 0.2s, border-color 0.2s;
    white-space: nowrap;
  }
  .sp-drawer__site + .sp-drawer__site {
    margin-left: -1px;
  }
  .sp-drawer__site--active {
    color: #fff;
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.3);
  }
  .sp-drawer__site svg {
    stroke: currentColor;
    opacity: 0.7;
  }
  .sp-drawer__footer {
    flex-shrink: 0;
    padding: clamp(12px, 2vh, 20px) 28px clamp(20px, 4vh, 40px);
    position: relative;
    z-index: 1;
  }
  .sp-drawer__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: clamp(14px, 2.2vh, 18px) 24px;
    background: var(--primary-color);
    color: #fff;
    font-size: clamp(0.85rem, 3.6vw, 1rem);
    font-weight: 700;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 6px 28px rgba(0,104,183,0.35);
    transition: background 0.2s, transform 0.2s;
  }
  .sp-drawer__cta:hover {
    background: #005a9e;
    transform: translateY(-2px);
  }
}

@media (max-width: 640px) {
  /* SP専用改行を有効化 / PC専用改行を非表示 */
  .br-sp { display: inline; }
  .br-pc { display: none; }

  /* コンテナ余白 */
  .container {
    width: min(var(--container-width), 100% - 32px);
  }

  /* セクション縦余白 */
  .section {
    padding: 48px 0;
  }
  .section-heading {
    margin-bottom: 28px;
    padding-top: 0;
  }
  /* SP：上部デコレーションバーを非表示（キッカーのダッシュで代替） */
  .section-heading::before {
    display: none;
  }
  /* section-title::after（下線）のマージンも縮小 */
  .section .section-title::after {
    margin-top: 10px;
  }
  .section-kicker {
    font-size: 0.66rem;
    letter-spacing: 0.18em;
    margin-bottom: 10px;
  }
  .section .section-title {
    font-size: clamp(1.1rem, 5.2vw, 1.35rem);
    letter-spacing: 0.01em;
    line-height: 1.55;
  }
  .section .section-title::after {
    margin-top: 12px;
    margin-bottom: 20px;
    width: 24px;
  }

  /* ヘッダー：サイトスイッチャーを非表示 */
  .site-switcher {
    display: none;
  }
  .header-brand {
    gap: 0;
  }

  /* feature-number：SP では右上に絶対配置 */
  .feature-number {
    position: absolute;
    top: 0;
    right: 0;
    width: 52px;
    height: 52px;
    border: 1.5px solid rgba(0,104,183,0.2);
    background: rgba(0,104,183,0.05);
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    color: var(--primary-color);
    margin-bottom: 0;
  }

  /* ヒーロー内アイコンをSPでは非表示（動画上に別出し） */
  .hero-sticker-rail {
    display: none;
  }

  /* SP専用：動画上アイコングリッド */
  .sticker-icons-sp {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0 16px 40px;
    margin-top: 48px;
  }

  /* ヒーロー */
  .hero-editorial {
    padding-bottom: 0;
  }
  .hero-feature {
    padding: 16px;
    border-radius: var(--radius-lg);
  }
  .feature-kicker {
    font-size: 0.65rem;
  }
  .hero-title {
    font-size: clamp(1.2rem, 5.8vw, 1.5rem) !important;
  }
  .hero-subtitle {
    font-size: 0.85rem;
    line-height: 1.75;
    text-align: left;
  }
  .cases-hero-subtitle {
    text-align: center !important;
  }
  .price-intro,
  .roi-intro,
  .roi-home-lead,
  .roi-note,
  .subsidy-intro {
    text-align: left !important;
  }
  .roi-cta p {
    font-size: 0.82rem !important;
    white-space: nowrap;
  }
  .hero-actions {
    flex-direction: column;
    gap: 10px;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .feature-visual-wrap {
    margin-bottom: 14px;
  }

  /* ROIヘッダー：左揃え */
  .roi-home-header {
    text-align: left !important;
  }
  /* center指定の section-heading を SP で左揃えに上書き */
  .section-heading[style*="text-align:center"] {
    text-align: left !important;
  }

  /* ── SP：背景アニメーション要素を抑制 ── */
  /* フィルムグレイン・背景装飾オーバーレイを非表示 */
  body::after {
    display: none;
  }
  /* フッターCTA パルスドット：アニメーション停止、ドットは表示 */
  .floating-cta__pulse {
    animation: none;
  }

  /* MV アニメーション中はスクロール禁止（JS の lockScroll と併用） */
  body.mv-animating {
    overflow: hidden;
  }

  /* ── SP固有：マーキー非表示・オフセット ── */
  .top-marquee {
    display: none;
  }
  main,
  .hero.bg-light {
    padding-top: calc(60px + 68px);
  }

  /* フッター：SP ではリンク非表示、CTA ボタンのみ */
  .footer-links {
    display: none;
  }
  .footer-cta-sp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--primary-color);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 16px 28px;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 6px 28px rgba(0,104,183,0.35);
    margin-bottom: 24px;
  }

  /* CTA パネル：SP で左揃え */
  .cta-panel {
    text-align: left;
  }
  .cta-panel p {
    text-align: left;
    margin-inline: 0;
  }

  /* テクノロジーリード：左揃え・スペース縮小 */
  .tc-lead {
    text-align: left !important;
    padding: 20px 0 !important;
    margin-bottom: 32px !important;
  }

  /* テクノロジーストリップ：2列 */
  .tc-strip {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .tc-strip__item {
    padding: 16px 10px !important;
  }
  .tc-strip__icon { margin-bottom: 10px; }
  .tc-strip__new { font-size: 0.85rem !important; }

  /* テクノロジーフィーチャー */
  .tc-lead__main {
    font-size: clamp(1.1rem, 5vw, 1.4rem) !important;
  }

  /* ROIシミュレーター：入力を1列に */
  .roi-sim__inputs {
    grid-template-columns: 1fr !important;
  }
  .roi-sim {
    padding: 24px 16px !important;
    border-radius: 14px !important;
  }
  .roi-home-cta {
    padding: 20px 16px !important;
    border-radius: 10px !important;
  }

  /* Mid CTA */
  .lp-mid-cta-y__text h3 {
    font-size: 1rem !important;
  }

  /* CTA panel */
  .cta-panel {
    padding: 40px 16px;
  }
  .cta-panel h2 {
    font-size: clamp(1.2rem, 5vw, 1.5rem);
  }
  .section-cta .hero-actions {
    flex-direction: column;
  }

  /* FAQミニ */
  .faq-mini__q {
    padding: 16px 18px;
    font-size: 0.88rem;
  }
  .faq-mini__item.open .faq-mini__a {
    padding: 0 18px 18px 54px;
  }

  /* フッター */
  .footer {
    padding: 40px 0;
    margin-top: var(--spacing-lg);
  }
  .footer-links {
    gap: 8px;
  }
  .footer-links a {
    font-size: 0.75rem;
    padding: 4px 10px;
  }

  /* ボタン全幅化はHeroのみに限定（floating CTAなど個別は除外） */
  .floating-cta .floating-cta__btn {
    width: auto !important;
  }

  /* ── Voice: SPでもコンテンツ幅に収める ── */
  .voice-scroll {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .voice-card {
    flex: initial !important;
    will-change: transform;
  }

  /* ══ Product page SP最適化 ══ */

  /* ラインナップ・比較セクション説明文：左揃え */
  .product-lineup-desc,
  .product-comparison-desc,
  .product-comparison-note,
  .product-section-desc,
  .ringi-intro,
  .ringi-cta {
    text-align: left !important;
  }
  .product-bottom-cta p {
    text-align: left !important;
  }

  /* フィーチャーアイテム：画像を常に上に表示 */
  .feature-item .image-content {
    order: -1;
  }
  /* フィーチャーアイテム：インライン margin を縮小 */
  .feature-item {
    margin-bottom: 32px !important;
    margin-top: 0 !important;
    gap: 20px;
  }
  .section .card {
    min-width: 0;
  }
  .product-inline-table {
    font-size: 0.78rem !important;
  }
  .product-inline-table th,
  .product-inline-table td {
    padding: 8px !important;
    font-size: inherit !important;
    line-height: 1.5;
    white-space: normal !important;
  }
  .product-dimension--stack-sp {
    flex-direction: column;
    align-items: center;
    gap: 0;
    line-height: 1.25;
  }

  /* 比較テーブル：スクロールヒント */
  .comparison-scroll-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-color);
    opacity: 0.7;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
  }

  /* 比較テーブル：SP最適化 */
  .comparison-wrap table {
    min-width: 600px;
  }
  .comparison-wrap table th {
    padding: 10px 12px !important;
    font-size: 0.78rem !important;
    text-align: center !important;
    white-space: nowrap;
  }
  .comparison-wrap table td {
    padding: 10px 12px !important;
    font-size: 0.8rem !important;
    text-align: left !important;
    line-height: 1.6;
  }
  .comparison-wrap table td:first-child {
    font-weight: 600;
    white-space: nowrap;
  }

  /* オプションカード：パディング縮小 */
  .option-card {
    padding: 16px !important;
  }

  /* ══ Simulation page SP最適化 ══ */
  .hero--simulation .hero-title {
    width: fit-content;
    max-width: 100%;
    display: block;
    margin-inline: auto;
    text-align: center;
    letter-spacing: 0.12em;
  }

  .hero--simulation .hero-subtitle {
    text-align: center !important;
    margin-inline: auto;
  }

  .hero--product .hero-subtitle {
    text-align: center !important;
    margin-inline: auto;
  }

  /* 結果リスト：ラベル上・値下の縦積みレイアウト */
  .sim-result-list li {
    flex-direction: column;
    gap: 4px;
    padding: 12px 14px;
  }
  .sim-result-list li > span {
    font-size: 0.75rem;
    color: rgba(0,0,0,0.5);
    letter-spacing: 0.04em;
  }
  .sim-result-list li > strong {
    font-size: 0.95rem;
  }
  /* オプション製品行：ラベル上・セレクト下の2行レイアウト */
  .sim-content .card [style*="min-width:280px"] {
    min-width: 0 !important;
    width: 100%;
    font-size: 0.85rem !important;
    margin-bottom: 4px;
  }
  .sim-content .card [style*="display:flex"][style*="gap:12px"] {
    flex-wrap: wrap;
    gap: 6px 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }
  .sim-content .card [style*="display:flex"][style*="gap:12px"]:last-child,
  .sim-content .card [style*="display:flex"][style*="margin-top:12px"] {
    border-bottom: none;
    padding-top: 10px;
  }
  /* 台・着の単位テキスト */
  .sim-content .card [style*="display:flex"][style*="gap:12px"] > span[style*="0.75rem"] {
    font-size: 0.75rem !important;
  }

  /* システム構成・安全性など 3カラム grid カード：SPで内側余白を圧縮
     （borderless カードのため、カード内 padding がそのまま外側の空白に見える） */
  .section .grid-3 .card {
    padding: 20px 18px;
  }
  .section .grid-3 .card h3 {
    margin-bottom: 8px;
  }
  /* セクションタイトル直後の grid：タイトルとカードの間に適切な余白 */
  .section .section-title + .grid {
    margin-top: 28px;
  }

  /* 稟議カード・ハイライトボックス：パディング縮小 */
  .ringi-card {
    padding: 20px 16px;
    gap: 10px;
  }
  .ringi-highlight {
    padding: 20px 16px !important;
  }
  .ringi-intro {
    margin-bottom: 28px;
  }
}
/* ════════════════════════════════════════════════════
   Extracted from index.html inline <style> blocks
   ════════════════════════════════════════════════════ */

/* ── Video Section ── */
.ym-video-section {
    position: relative;
    overflow: hidden;
}
.ym-video-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 7;
    min-height: 380px;
    overflow: hidden;
    cursor: pointer;
}
.ym-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}
.ym-video-wrap:hover .ym-video-bg {
    transform: scale(1.03);
}
.ym-video-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, rgba(10,30,60,0.82) 0%, rgba(10,30,60,0.45) 55%, rgba(10,30,60,0.15) 100%);
}
.ym-video-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(32px, 6vw, 80px);
    max-width: 640px;
}
.ym-video-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    margin-bottom: 14px;
}
.ym-video-kicker::before {
    content: "";
    display: block;
    width: 32px;
    height: 1px;
    background: rgba(255,255,255,0.4);
}
.ym-video-title {
    font-size: clamp(1.6rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 14px;
}
.ym-video-desc {
    font-size: clamp(0.85rem, 1.2vw, 1rem);
    color: rgba(255,255,255,0.72);
    line-height: 1.75;
    margin-bottom: 28px;
}
.ym-play-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.12);
    border: 1.5px solid rgba(255,255,255,0.55);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 13px 26px;
    border-radius: 999px;
    cursor: pointer;
    backdrop-filter: blur(6px);
    transition: background 0.25s, border-color 0.25s, transform 0.2s;
    align-self: flex-start;
}
.ym-play-btn:hover {
    background: rgba(255,255,255,0.22);
    border-color: #fff;
    transform: translateY(-2px);
}
.ym-play-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    border: 1.5px solid rgba(255,255,255,0.5);
    transition: background 0.25s;
}
.ym-play-btn:hover .ym-play-icon {
    background: rgba(255,255,255,0.32);
}
.ym-video-badge {
    position: absolute;
    right: 28px;
    bottom: 22px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: rgba(255,255,255,0.45);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 999px;
    padding: 5px 12px;
    backdrop-filter: blur(4px);
}

/* ── Video Modal ── */
.ym-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9000;
    align-items: center;
    justify-content: center;
}
.ym-modal.open { display: flex; }
.ym-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 15, 35, 0.92);
    backdrop-filter: blur(6px);
}
.ym-modal-inner {
    position: relative;
    z-index: 1;
    width: min(92vw, 1100px);
    aspect-ratio: 16/9;
}
.ym-modal-video {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    background: #000;
    display: block;
}
.ym-modal-close {
    position: absolute;
    top: -48px;
    right: 0;
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    padding: 6px;
    display: flex;
    transition: color 0.2s;
}
.ym-modal-close:hover { color: #fff; }

@media (max-width: 860px) {
    .ym-video-wrap { aspect-ratio: 4/3; min-height: 300px; }
    .ym-video-overlay {
        background: linear-gradient(to bottom, rgba(10,30,60,0.7) 0%, rgba(10,30,60,0.55) 100%);
    }
}

@media (max-width: 640px) {
    .ym-video-wrap {
        aspect-ratio: unset;
        min-height: 520px;
    }
    .ym-video-content {
        padding: 28px 24px;
        justify-content: flex-start;
        padding-top: 48px;
    }
    .ym-video-title {
        font-size: clamp(1.4rem, 7vw, 1.8rem);
        margin-bottom: 12px;
    }
    .ym-video-desc {
        font-size: 0.82rem;
        line-height: 1.85;
        margin-bottom: 24px;
    }
    .ym-play-btn {
        font-size: 0.85rem;
        padding: 11px 20px;
        gap: 10px;
    }
    .ym-play-icon {
        width: 36px;
        height: 36px;
    }
    .ym-video-badge {
        right: 16px;
        bottom: 16px;
        font-size: 0.62rem;
    }
}

/* ── Feature Impact Numbers ── */
.zf-impact {
    margin-bottom: 20px;
}
.zf-impact__hero {
    display: flex;
    align-items: baseline;
    gap: 4px;
    flex-wrap: wrap;
}
.zf-impact__pre {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(0,0,0,0.78);
    letter-spacing: 0.04em;
    margin-right: 4px;
}
.zf-impact__num {
    font-family: var(--font-logo);
    font-size: clamp(3rem, 5vw, 4.2rem);
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    letter-spacing: -0.03em;
}
.zf-impact__num--strike {
    color: rgba(0,0,0,0.5);
    text-decoration: line-through;
    text-decoration-thickness: 3px;
    text-decoration-color: rgba(255,107,107,0.5);
}
.zf-impact__num--accent {
    color: var(--primary-color);
}
.zf-impact__arrow {
    font-family: var(--font-logo);
    font-size: 1.6rem;
    font-weight: 700;
    color: rgba(0,0,0,0.55);
    margin: 0 4px;
}
.zf-impact__unit {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    opacity: 0.88;
    margin-left: 2px;
}
.zf-impact__note {
    display: block;
    font-size: 0.7rem;
    color: rgba(0,0,0,0.65);
    margin-top: 6px;
    letter-spacing: 0.02em;
}
.zigzag-feature__impact strong {
    font-family: var(--font-logo);
    font-size: 1.3em;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.zigzag-feature__impact span {
    font-size: 0.85em;
    opacity: 0.88;
    margin-left: 2px;
}

/* ── Technology Comparison ── */
.tc-lead { text-align:center; margin-bottom:clamp(40px,5vw,64px); padding:clamp(36px,5vw,56px) 0; }
.tc-lead__main { font-size:clamp(1.3rem,2.8vw,2.1rem); font-weight:700; color:var(--text-color); line-height:1.7; letter-spacing:0.03em; margin-bottom:16px; }
.tc-lead__sub { font-size:0.92rem; color:rgba(0,0,0,0.75); line-height:1.8; }
.tc-strip { display:grid; grid-template-columns:repeat(6,1fr); gap:0; margin-bottom:clamp(48px,6vw,72px); border-radius:16px; overflow:hidden; border:1px solid rgba(0,0,0,0.06); }
.tc-strip__item { background:#fff; padding:clamp(24px,3vw,36px) clamp(12px,1.5vw,20px); text-align:center; transition:background 0.3s,transform 0.3s; position:relative; border-right:1px solid rgba(0,0,0,0.05); display:flex; flex-direction:column; align-items:center; }
.tc-strip__item:last-child { border-right:none; }
.tc-strip__item:hover { background:rgba(0,104,183,0.03); transform:translateY(-3px); z-index:1; box-shadow:0 8px 24px rgba(0,104,183,0.08); }
.tc-strip__icon { width:100%; min-height:44px; display:flex; align-items:flex-end; justify-content:center; margin-bottom:16px; line-height:0; }
.tc-strip__icon svg { width:28px; height:28px; display:block; flex:0 0 auto; opacity:0.8; transition:opacity 0.3s; }
.tc-strip__item:hover .tc-strip__icon svg { opacity:1; }
.tc-strip__old { font-size:0.72rem; color:rgba(0,0,0,0.6); text-decoration:line-through; text-decoration-color:rgba(200,60,60,0.35); margin-bottom:6px; }
.tc-strip__arrow { display:block; font-size:0.65rem; color:var(--primary-color); opacity:0.75; margin-bottom:6px; }
.tc-strip__new { font-family:var(--font-heading); font-size:clamp(0.92rem,1.2vw,1.05rem); color:var(--primary-color); font-weight:700; margin-bottom:12px; line-height:1.3; }
.tc-strip__new--hagoromo { font-size:clamp(0.76rem,1vw,0.92rem); line-height:1.35; }
.tc-strip__new--hagoromo strong { display:flex; flex-direction:column; align-items:center; gap:2px; }
.tc-strip__new--hagoromo span { display:block; white-space:nowrap; }
.tc-strip__label { font-size:0.65rem; font-weight:600; letter-spacing:0.1em; color:rgba(0,0,0,0.65); text-transform:uppercase; }
.tc-features { display:grid; grid-template-columns:1fr 1fr; gap:clamp(16px,2vw,24px); margin-bottom:clamp(32px,4vw,48px); }
.tc-feat { border-radius:var(--radius-lg); overflow:hidden; background:#f8fafe; display:flex; flex-direction:column; }
.tc-feat--wide { grid-column:1/-1; display:grid; grid-template-columns:1.3fr 1fr; }
.tc-feat__img { overflow:hidden; }
.tc-feat__img img { width:100%; height:100%; object-fit:cover; display:block; aspect-ratio:16/10; transition:transform 0.5s ease; }
.tc-feat:hover .tc-feat__img img { transform:scale(1.04); }
.tc-feat--wide .tc-feat__img img { aspect-ratio:auto; min-height:100%; }
.tc-feat__body { padding:clamp(24px,3vw,36px); display:flex; flex-direction:column; justify-content:center; }
.tc-feat__num { font-family:var(--font-logo); font-size:2.4rem; font-weight:700; color:rgba(0,104,183,0.1); line-height:1; margin-bottom:8px; }
.tc-feat__body h3 { font-size:clamp(1.05rem,1.6vw,1.25rem); font-weight:700; color:var(--text-color); margin-bottom:12px; line-height:1.45; }
.tc-feat__body p { font-size:0.86rem; line-height:1.85; color:rgba(0,0,0,0.82); margin:0; }
@media (max-width:860px) { .tc-strip{grid-template-columns:repeat(3,1fr);} .tc-feat--wide{grid-template-columns:1fr;} .tc-feat--wide .tc-feat__img img{aspect-ratio:16/9;} .tc-features{grid-template-columns:1fr;} }
@media (max-width:480px) { .tc-strip{grid-template-columns:repeat(2,1fr);} }

/* ── Installation Map ── */
.install-map-section { display:grid; grid-template-columns:1fr 1.4fr; gap:48px; align-items:center; }
.install-map-content .section-heading { margin-bottom:20px; }
.install-map-content .section-heading::before { left:0; margin-left:0; }
.install-map-lead { font-size:0.9rem; line-height:1.85; color:rgba(0,0,0,0.85); margin-bottom:28px; }
.install-map-stats { display:flex; gap:28px; margin-bottom:8px; }
.install-map-stat { display:flex; align-items:baseline; flex-wrap:wrap; gap:4px; }
.install-map-stat__num { font-family:var(--font-logo); font-size:2.6rem; font-weight:700; color:var(--primary-color); line-height:1; }
.install-map-stat__unit { font-size:0.85rem; font-weight:600; color:var(--primary-color); }
.install-map-stat__label { width:100%; font-size:0.7rem; color:rgba(0,0,0,0.72); letter-spacing:0.08em; margin-top:2px; }
.install-map-wrap { border-radius:10px; overflow:hidden; box-shadow:0 4px 24px rgba(0,0,0,0.08); }
.install-map-container { position:relative; }
.install-map-img { width:100%; display:block; }
.install-map-marker-layer { position:absolute; inset:0; }
.install-map-empty {
    position:absolute;
    left:50%;
    bottom:28px;
    transform:translateX(-50%);
    width:min(88%, 420px);
    padding:14px 16px;
    border-radius:14px;
    background:rgba(255,255,255,0.94);
    box-shadow:0 16px 34px rgba(13,42,79,0.12);
    text-align:center;
    font-size:0.78rem;
    line-height:1.7;
    color:rgba(13,42,79,0.78);
}
@media (max-width:860px) { .install-map-section { grid-template-columns:1fr; gap:28px; } }
@media (max-width:640px) { .cross-product-grid { grid-template-columns:1fr !important; } }

.map-pulse {
    position: absolute;
    width: 24px;
    height: 32px;
    border: 0;
    padding: 0;
    margin: 0;
    background: transparent url('../img/map-installation-pin.svg') center / contain no-repeat;
    transform: translate(-50%, -100%);
    transform-origin: 50% 100%;
    pointer-events: auto;
    cursor: default;
    opacity: 1;
    z-index: 2;
    appearance: none;
    transition: transform 0.22s ease;
}
.map-pulse::after {
    content: '';
    position: absolute;
    top: 11px;
    left: 50%;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(13,42,79,0.18);
    transform: translate(-50%, -50%) scale(0.55);
    opacity: 0;
}
.map-pulse.active::after {
    animation: mapPinRipple 2.2s ease-out 2;
}
.map-pulse:hover,
.map-pulse:focus-visible {
    transform: translate(-50%, -100%) scale(1.08);
}
.map-pulse:focus-visible {
    outline: 2px solid rgba(0,104,183,0.25);
    outline-offset: 3px;
}
@keyframes mapPinRipple {
    0%   { transform:translate(-50%,-50%) scale(0.55); opacity:0; }
    18%  { opacity:0.9; }
    100% { transform:translate(-50%,-50%) scale(3.2); opacity:0; }
}
@media (max-width:860px) {
    .install-map-empty {
        bottom: 18px;
        padding: 12px 14px;
        font-size: 0.72rem;
    }
    .map-pulse {
        width: 22px;
        height: 30px;
    }
    .map-pulse::after {
        top: 10px;
        width: 11px;
        height: 11px;
    }
}

/* ── Mid CTA ── */
.lp-mid-cta-y {
    background: var(--primary-color);
    padding: clamp(32px, 5vw, 48px) 0;
}
.lp-mid-cta-y__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
.lp-mid-cta-y__text h3 {
    font-size: clamp(1.1rem, 1.8vw, 1.35rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}
.lp-mid-cta-y__text p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    margin: 0;
}
.lp-mid-cta-y__btn {
    white-space: nowrap;
    flex-shrink: 0;
    background: #fff !important;
    color: var(--primary-color) !important;
    font-weight: 700 !important;
    border: none !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.lp-mid-cta-y__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
@media (max-width: 640px) {
    .lp-mid-cta-y__inner { flex-direction: column; text-align: center; }
}

/* ── ROI Home Section ── */
.roi-home-section {
    position: relative;
    background: linear-gradient(170deg, #f4f7fb 0%, #eef3f9 40%, #f8fafe 100%);
    overflow: hidden;
    padding-top: clamp(56px, 8vw, 96px);
    padding-bottom: clamp(56px, 8vw, 96px);
}
.roi-home-bg-deco {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}
.roi-home-bg-deco svg {
    width: 100%;
    height: 100%;
}
.roi-home-section .container {
    position: relative;
    z-index: 1;
}
.roi-home-header {
    text-align: center;
    margin-bottom: clamp(36px, 5vw, 56px);
}
.roi-home-lead {
    font-size: 0.95rem;
    color: rgba(0, 0, 0, 0.82);
    line-height: 1.8;
    margin-top: 12px;
}

/* ── Before / After Cards ── */
.roi-home-comparison {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
    align-items: center;
    margin-bottom: clamp(48px, 6vw, 72px);
}
.roi-home-card {
    background: #fff;
    border-radius: 16px;
    padding: clamp(28px, 3vw, 40px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.roi-home-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}
.roi-home-card--before {
    border-top: 3px solid rgba(0, 0, 0, 0.1);
}
.roi-home-card--after {
    border-top: 3px solid var(--primary-color);
    background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}
.roi-home-card__badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.72);
    background: rgba(0, 0, 0, 0.04);
    border-radius: 6px;
    padding: 6px 14px;
    margin-bottom: 24px;
}
.roi-home-card__badge--after {
    color: var(--primary-color);
    background: rgba(0, 104, 183, 0.08);
}
.roi-home-card__items {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.roi-home-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.roi-home-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.roi-home-item:first-child {
    padding-top: 0;
}
.roi-home-item__label {
    font-size: 0.88rem;
    color: rgba(0, 0, 0, 0.85);
    flex-shrink: 0;
    padding-right: 16px;
}
.roi-home-item__value {
    font-size: 0.95rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.9);
    text-align: right;
    white-space: nowrap;
}
.roi-home-item__value--highlight {
    color: var(--primary-color);
    font-size: 1rem;
}

/* Arrow */
.roi-home-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
}

/* ── Cost Reduction Metrics ── */
.roi-home-metrics-header {
    text-align: center;
    margin-bottom: clamp(28px, 4vw, 44px);
}
.roi-home-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 2vw, 28px);
    margin-bottom: 32px;
}
.roi-home-metric {
    background: #fff;
    border-radius: 16px;
    padding: clamp(28px, 3vw, 40px) clamp(20px, 2.5vw, 32px);
    text-align: center;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 104, 183, 0.06);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.roi-home-metric::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), rgba(0, 104, 183, 0.3));
    opacity: 0;
    transition: opacity 0.3s;
}
.roi-home-metric:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 36px rgba(0, 104, 183, 0.1);
}
.roi-home-metric:hover::before {
    opacity: 1;
}
.roi-home-metric__icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(0, 104, 183, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}
.roi-home-metric__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 6px;
}
.roi-home-metric__sub {
    font-size: 0.8rem;
    color: rgba(0, 0, 0, 0.72);
    margin-bottom: 18px;
}
.roi-home-metric__value {
    font-family: var(--font-logo);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    color: var(--text-color);
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 8px;
}
.roi-home-metric__unit {
    font-size: 0.6em;
    font-weight: 600;
}
.roi-home-metric__detail {
    font-size: 0.78rem;
    color: rgba(0, 0, 0, 0.7);
}

/* ── ROI Simulator ── */
.roi-sim {
    background: #fff;
    border-radius: 20px;
    padding: clamp(32px,4vw,48px);
    box-shadow: 0 8px 40px rgba(0,104,183,.08);
    border: 1px solid rgba(0,104,183,.08);
    margin-bottom: 36px;
}
.roi-sim__inputs {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 16px;
    margin-bottom: 32px;
}
.roi-sim__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.roi-sim__field-label {
    font-size: .78rem;
    font-weight: 700;
    color: rgba(0,0,0,.5);
    letter-spacing: .04em;
}
.roi-sim__field select {
    padding: 12px 14px;
    border: 1.5px solid rgba(0,0,0,.1);
    border-radius: 10px;
    font-size: .9rem;
    font-family: inherit;
    color: var(--text-color);
    background: #f8f9fb;
    cursor: pointer;
    transition: border-color .2s;
    appearance: auto;
}
.roi-sim__field select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0,104,183,.1);
}
.roi-sim__results {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px;
    margin-bottom: 24px;
}
.roi-sim__result-card {
    background: linear-gradient(135deg,#f4f7fb,#f0f4fa);
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
    border: 1px solid rgba(0,104,183,.06);
    transition: transform .2s, box-shadow .2s;
}
.roi-sim__result-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0,104,183,.1);
}
.roi-sim__result-card--primary {
    background: linear-gradient(135deg,var(--primary-color),#004a82);
    color: #fff;
    border: none;
}
.roi-sim__result-card--primary .roi-sim__result-label { color: rgba(255,255,255,.6); }
.roi-sim__result-card--primary .roi-sim__result-value { color: #fff; }
.roi-sim__result-card--primary .roi-sim__result-detail { color: rgba(255,255,255,.4); }
.roi-sim__result-icon {
    width: 48px; height: 48px; border-radius: 50%;
    background: rgba(255,255,255,.15);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 14px;
}
.roi-sim__result-icon--teal { background: rgba(0,95,115,.1); }
.roi-sim__result-icon--teal svg { stroke: #005f73; }
.roi-sim__result-icon--green { background: rgba(45,106,79,.1); }
.roi-sim__result-icon--green svg { stroke: #2d6a4f; }
.roi-sim__result-label {
    font-size: .78rem;
    font-weight: 600;
    color: rgba(0,0,0,.45);
    margin-bottom: 8px;
}
.roi-sim__result-value {
    font-family: var(--font-logo);
    font-size: clamp(1.4rem,2.5vw,2rem);
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 6px;
    transition: opacity .3s;
}
.roi-sim__result-detail {
    font-size: .75rem;
    color: rgba(0,0,0,.3);
}
.roi-sim__recommend {
    display: flex;
    align-items: center;
    gap: 24px;
    background: linear-gradient(135deg,#fffcf0,#fef9e7);
    border: 1.5px solid rgba(200,169,110,.25);
    border-radius: 14px;
    padding: 24px 28px;
}
.roi-sim__recommend-badge {
    font-family: var(--font-logo);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .12em;
    color: #a68a4e;
    background: rgba(200,169,110,.12);
    padding: 6px 14px;
    border-radius: 6px;
    white-space: nowrap;
    flex-shrink: 0;
}
.roi-sim__recommend-body { flex: 1; }
.roi-sim__recommend-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 4px;
}
.roi-sim__recommend-reason {
    font-size: .82rem;
    color: rgba(0,0,0,.45);
    line-height: 1.6;
}
@media (max-width: 860px) {
    .roi-sim__inputs { grid-template-columns: 1fr 1fr; }
    .roi-sim__results { grid-template-columns: 1fr; }
    .roi-sim__recommend { flex-direction: column; text-align: left; }
}

/* Note & CTA */
.roi-home-note {
    font-size: 0.8rem;
    color: rgba(0, 0, 0, 0.7);
    text-align: left;
    margin-bottom: 36px;
    line-height: 1.7;
    padding-left: 1em;
    text-indent: -1em;
}
.roi-home-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(16px, 3vw, 32px);
    background: var(--primary-color);
    border-radius: 14px;
    padding: clamp(24px, 3vw, 36px) clamp(28px, 4vw, 48px);
}
.roi-home-cta p {
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}
.roi-home-cta .btn {
    background: #fff;
    color: var(--primary-color);
    font-weight: 700;
    border: none;
    white-space: nowrap;
}
.roi-home-cta .btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

/* ── Responsive ── */
@media (max-width: 860px) {
    .roi-home-comparison {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .roi-home-arrow {
        padding: 16px 0;
        transform: rotate(90deg);
    }
    .roi-home-arrow.visible {
        transform: rotate(90deg);
    }
    .roi-home-metrics {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 640px) {
    .roi-home-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    .roi-home-item__value {
        text-align: left;
    }
    .roi-home-cta {
        flex-direction: column;
        text-align: center;
    }
}

/* ── Developer's Voice Section ── */
.dev-voice-section {
    background: linear-gradient(180deg, #f8fafe 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}
.dev-voice-section::before {
    content: "VOICE";
    position: absolute;
    top: 60px;
    right: -30px;
    font-family: var(--font-logo);
    font-size: clamp(6rem, 14vw, 12rem);
    font-weight: 700;
    color: rgba(0, 104, 183, 0.03);
    letter-spacing: 0.05em;
    pointer-events: none;
    line-height: 1;
}
.dev-voice-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    align-items: start;
}
.dev-voice-main {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 32px rgba(0, 104, 183, 0.07);
}
.dev-voice-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 8;
}
.dev-voice-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.dev-voice-main:hover .dev-voice-img {
    transform: scale(1.03);
}
.dev-voice-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,30,70,0.35) 0%, transparent 50%);
}
.dev-voice-body {
    padding: 32px 36px 36px;
    position: relative;
}
.dev-voice-quote-icon {
    position: absolute;
    top: 24px;
    right: 32px;
    opacity: 0.85;
}
.dev-voice-blockquote {
    font-size: clamp(1.15rem, 2vw, 1.4rem);
    font-weight: 700;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 20px;
    padding: 0;
    border: none;
}
.dev-voice-text {
    font-size: 0.92rem;
    line-height: 1.85;
    color: rgba(0, 0, 0, 0.85);
    margin-bottom: 16px;
}
.dev-voice-text:last-of-type {
    margin-bottom: 24px;
}
.dev-voice-signature {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.dev-voice-sig-line {
    width: 32px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 1px;
}
.dev-voice-sig-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-color);
}
.dev-voice-sig-title {
    font-size: 0.75rem;
    color: rgba(0, 0, 0, 0.72);
    letter-spacing: 0.06em;
    margin-top: 2px;
}

/* Insight cards */
.dev-voice-insights {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.dev-insight-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px 28px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    overflow: hidden;
}
.dev-insight-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--primary-color);
    opacity: 0;
    transition: opacity 0.25s;
}
.dev-insight-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0, 104, 183, 0.09);
}
.dev-insight-card:hover::before {
    opacity: 1;
}
.dev-insight-num {
    font-family: var(--font-logo);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}
.dev-insight-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-color);
}
.dev-insight-card p {
    font-size: 0.85rem;
    line-height: 1.75;
    color: rgba(0, 0, 0, 0.85);
    margin: 0;
}

/* Video link button */
.dev-voice-video-link {
    text-align: center;
}
.dev-voice-play-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(0, 104, 183, 0.06);
    border: 1.5px solid rgba(0, 104, 183, 0.18);
    color: var(--primary-color);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 14px 28px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.25s, border-color 0.25s, transform 0.2s;
}
.dev-voice-play-btn:hover {
    background: rgba(0, 104, 183, 0.12);
    border-color: rgba(0, 104, 183, 0.35);
    transform: translateY(-2px);
}
.dev-voice-play-icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
}
.sp-only { display: none; }

/* dev-insights: ヒント・ドット（SP以外非表示） */
.dev-insights-wrap { position: relative; min-width: 0; }
.dev-insights-hint { display: none; }
.dev-insights-dots { display: none; }

@media (max-width: 860px) {
    .dev-voice-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .dev-voice-insights {
        flex-direction: row;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: auto;
        scrollbar-width: none;
        padding-bottom: 0;
    }
    .dev-voice-insights::-webkit-scrollbar { display: none; }
    .dev-insight-card {
        flex: 0 0 280px;
        will-change: transform;
    }
    .sp-only { display: inline; }
}
@media (max-width: 640px) {
    .dev-voice-body {
        padding: 24px 20px 28px;
    }
    .dev-voice-blockquote {
        font-size: 1.1rem;
    }
    .dev-insight-card {
        flex: 0 0 calc(100% - 56px);
        will-change: transform;
    }
    /* スワイプヒント */
    .dev-insights-hint {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 0.75rem;
        font-weight: 600;
        color: var(--primary-color);
        opacity: 0.7;
        letter-spacing: 0.06em;
        margin-bottom: 10px;
    }
    .dev-insights-hint span {
        display: inline-block;
        animation: hintSlide 1.4s ease-in-out infinite;
    }
    /* ドットインジケーター */
    .dev-insights-dots {
        display: flex;
        justify-content: center;
        gap: 7px;
        margin-top: 14px;
    }
    .dev-insights-dot {
        width: 6px;
        height: 6px;
        border-radius: 999px;
        background: rgba(0,104,183,0.18);
        transition: background 0.25s, width 0.25s;
    }
    .dev-insights-dot--active {
        background: var(--primary-color);
        width: 18px;
    }
    .dev-voice-play-icon {
        flex-shrink: 0;
        align-self: center;
        width: 36px;
        height: 36px;
        aspect-ratio: 1 / 1;
    }
}

/* ── Hero Proof ── */
.hero-proof {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
    margin-bottom: 8px;
}
.hero-proof__item {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    align-items: start;
    column-gap: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.55;
    color: rgba(0,0,0,0.85);
}
.hero-proof__item span {
    display: block;
}
.hero-proof__item svg {
    display: block;
    align-self: start;
    width: 20px;
    height: 20px;
    color: var(--primary-color);
    margin-top: 0.02em;
}

/* ── Floating CTA ── */
.floating-cta {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 900;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s, transform 0.4s;
    pointer-events: none;
}
.floating-cta.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.floating-cta__btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-color);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 14px 24px;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 6px 28px rgba(0,104,183,0.35);
    transition: transform 0.2s, box-shadow 0.2s;
}
.floating-cta__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 36px rgba(0,104,183,0.45);
}
.floating-cta__pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ecdc4;
    animation: float-pulse 2s ease-in-out infinite;
}
@keyframes float-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

@media (max-width: 640px) {
    .floating-cta { bottom: 16px; right: 16px; }
    .floating-cta__btn { font-size: 0.8rem; padding: 12px 20px; }
}

/* ── PC only: ROI home header section-heading lines centered ── */
@media (min-width: 641px) {
  .roi-home-header .section-heading::before {
    left: 50%;
    margin-left: -20px;
    transform-origin: center;
  }
  .roi-home-header .section-heading .section-title::after {
    margin-left: auto;
    margin-right: auto;
  }
}

/* ════════════════════════════════════════════════════
   Ringi Support Section (product page)
   ════════════════════════════════════════════════════ */
.ringi-intro {
    max-width: 720px;
    margin: 0 auto 48px;
    text-align: center;
    font-size: 1rem;
    line-height: 1.9;
    color: #444;
}
.ringi-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 56px;
}
@media (max-width: 768px) {
    .ringi-grid {
        grid-template-columns: 1fr;
    }
}
.ringi-card {
    background: #fff;
    border: 1px solid var(--line-color);
    border-radius: 12px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}
.ringi-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(20,40,80,0.12);
}
.ringi-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: var(--surface-alt, #f4f6fa);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ringi-card-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary-color);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.ringi-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-color, #1a1a1a);
    margin: 0;
}
.ringi-card-desc {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #555;
    margin: 0;
    flex-grow: 1;
}
.ringi-card-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    margin-top: 4px;
}
.ringi-card-link:hover {
    text-decoration: underline;
}
.ringi-card-link::after {
    content: "→";
    font-size: 0.8rem;
}
.ringi-highlight {
    background: #e8f4fd;
    border: 1px solid #b8ddf3;
    border-radius: 12px;
    padding: 36px 40px;
    margin-bottom: 40px;
}
.ringi-highlight-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 16px;
}
.ringi-highlight ol {
    margin: 0 0 0 20px;
    padding: 0;
    line-height: 2;
    color: #333;
    font-size: 0.95rem;
}
.ringi-highlight ol li {
    padding-left: 4px;
}
@media (max-width: 768px) {
    .ringi-highlight {
        padding: 24px 20px;
    }
}
.ringi-cta {
    text-align: center;
}
.ringi-cta p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.text-no-wrap {
    white-space: nowrap;
}

/* ── Contact Form Confirmation ── */
.form-step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 auto 32px;
    color: rgba(13,42,79,0.42);
}
.form-step-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    white-space: nowrap;
}
.form-step-item span {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(13,42,79,0.18);
    background: #fff;
    color: rgba(13,42,79,0.48);
}
.form-step-item.active {
    color: var(--primary-color);
}
.form-step-item.active span,
.form-step-item.done span {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: #fff;
}
.form-step-line {
    width: 44px;
    height: 1px;
    background: rgba(13,42,79,0.14);
}
.form-step-line.active {
    background: var(--primary-color);
}
.form-confirm-head {
    text-align: center;
    margin: 0 auto 24px;
}
.form-confirm-kicker {
    margin: 0 0 8px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary-color);
}
.form-confirm-title {
    margin: 0 0 10px;
    font-size: clamp(1.25rem, 2.4vw, 1.65rem);
    line-height: 1.4;
    color: var(--text-color);
}
.form-confirm-lead {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.8;
    color: rgba(0,0,0,0.68);
}
.form-confirm-card {
    overflow: hidden;
    margin: 0 0 28px;
    border: 1px solid rgba(0,104,183,0.14);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(13,42,79,0.08);
}
.form-confirm-row {
    display: grid;
    grid-template-columns: minmax(150px, 0.34fr) minmax(0, 1fr);
    gap: 20px;
    padding: 18px 22px;
    border-bottom: 1px solid rgba(13,42,79,0.08);
}
.form-confirm-row:last-child {
    border-bottom: 0;
}
.form-confirm-row dt,
.form-confirm-row dd {
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
    word-break: normal;
}
.form-confirm-row dt {
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.7;
    color: rgba(13,42,79,0.72);
}
.form-confirm-row dd {
    font-size: 0.92rem;
    line-height: 1.85;
    color: rgba(0,0,0,0.86);
}
.form-actions--two {
    display: grid;
    grid-template-columns: minmax(160px, 0.55fr) minmax(220px, 1fr);
    gap: 12px;
    margin-top: 26px;
}
.form-action-form,
.form-action-form .btn {
    width: 100%;
}
.form-action-form .btn {
    justify-content: center;
}
@media (max-width: 640px) {
    .form-step-indicator {
        gap: 8px;
        margin-bottom: 24px;
    }
    .form-step-item {
        gap: 6px;
        font-size: 0.7rem;
    }
    .form-step-item span {
        width: 24px;
        height: 24px;
    }
    .form-step-line {
        width: 18px;
    }
    .form-confirm-card {
        border-radius: 8px;
    }
    .form-confirm-row {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 15px 16px;
    }
    .form-confirm-row dt {
        font-size: 0.75rem;
    }
    .form-confirm-row dd {
        font-size: 0.88rem;
    }
    .form-actions--two {
        grid-template-columns: 1fr;
    }
    .form-action-form--submit {
        order: -1;
    }
}
