/* VFS — Blue Marlin–inspired: full-bleed hero, numbered sections, navy/cyan, overlay nav */

:root {
  --bg-deep: #050a14;
  --bg-panel: #0c1524;
  --text: #e8eef6;
  --muted: #8a9bb0;
  --accent: #2b8cff;
  --accent-soft: rgba(43, 140, 255, 0.15);
  --line: rgba(255, 255, 255, 0.08);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --font-ja: "Noto Sans JP", system-ui, sans-serif;
  --font-en: "Syne", var(--font-ja);
}

html[data-vfs-lang="zh"] body {
  font-family: "Noto Sans SC", var(--font-ja);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-ja);
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  color: var(--accent);
}

/* —— Header —— */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  color: #fff;
  text-shadow: 0 1px 24px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

.site-header__row {
  display: flex;
  align-items: center;
  gap: clamp(0.35rem, 2vw, 0.75rem);
  min-width: 0;
  flex: 1;
  pointer-events: auto;
}

.site-header .menu-btn {
  pointer-events: auto;
}

.lang-switch {
  display: inline-flex;
  flex-shrink: 0;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(6px);
}

.lang-switch__btn {
  font-family: var(--font-en);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.38rem 0.48rem;
  margin: 0;
  border: none;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  cursor: pointer;
  line-height: 1;
}

.lang-switch__btn:last-child {
  border-right: none;
}

.lang-switch__btn.is-active {
  background: rgba(255, 255, 255, 0.26);
  color: #fff;
}

.lang-switch__btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.brand {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand span {
  color: var(--accent);
}

.menu-btn {
  font-family: var(--font-en);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0.5rem 0;
  position: relative;
}

.menu-btn::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}

.menu-btn:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

@media (max-width: 640px) {
  .site-header {
    padding: 0.72rem 1rem;
    gap: 0.5rem;
  }

  .site-header__row {
    gap: 0.45rem;
  }

  .brand {
    font-size: 0.66rem;
    letter-spacing: 0.04em;
    line-height: 1.2;
    max-width: min(54vw, 14rem);
  }

  .lang-switch__btn {
    font-size: 0.5rem;
    padding: 0.28rem 0.34rem;
  }
}

/* Overlay nav */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(5, 10, 20, 0.97);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 8vw;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease-out), visibility 0.45s;
}

.nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.nav-overlay__close {
  position: absolute;
  top: 1.25rem;
  right: 1.75rem;
  font-family: var(--font-en);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
}

.nav-overlay__close:hover {
  color: #fff;
}

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

.nav-overlay li {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.nav-overlay.is-open li {
  opacity: 1;
  transform: translateY(0);
}

.nav-overlay.is-open li:nth-child(1) { transition-delay: 0.05s; }
.nav-overlay.is-open li:nth-child(2) { transition-delay: 0.1s; }
.nav-overlay.is-open li:nth-child(3) { transition-delay: 0.15s; }
.nav-overlay.is-open li:nth-child(4) { transition-delay: 0.2s; }
.nav-overlay.is-open li:nth-child(5) { transition-delay: 0.25s; }
.nav-overlay.is-open li:nth-child(6) { transition-delay: 0.3s; }
.nav-overlay.is-open li:nth-child(7) { transition-delay: 0.35s; }
.nav-overlay.is-open li:nth-child(8) { transition-delay: 0.4s; }
.nav-overlay.is-open li:nth-child(9) { transition-delay: 0.45s; }

.nav-overlay a {
  font-family: var(--font-en);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  display: block;
  padding: 0.35rem 0;
  letter-spacing: 0.02em;
}

.nav-overlay .nav-sub {
  margin: 0.5rem 0 1rem 1rem;
  border-left: 1px solid var(--line);
  padding-left: 1rem;
}

.nav-overlay .nav-sub a {
  font-size: 1rem;
  font-weight: 500;
  font-family: var(--font-ja);
  padding: 0.25rem 0;
}

/* —— Hero —— */
.hero {
  min-height: 100vh;
  display: grid;
  align-items: end;
  position: relative;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: var(--bg-deep) center / cover no-repeat;
  transform: scale(1.04);
  animation: heroKen 18s ease-in-out infinite alternate;
  filter: brightness(1.22) saturate(1.05);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    160deg,
    rgba(247, 250, 255, 0.55) 0%,
    rgba(255, 255, 255, 0.12) 42%,
    rgba(246, 250, 255, 0.94) 100%
  );
}

@keyframes heroKen {
  from {
    transform: scale(1.04) translate(0, 0);
  }
  to {
    transform: scale(1.08) translate(-1%, 1%);
  }
}

.hero__inner {
  position: relative;
  z-index: 2;
  padding: 7rem 8vw 4rem;
  max-width: 1200px;
}

.hero__label {
  font-family: var(--font-en);
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #155dfc;
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeIn 1s var(--ease-out) 0.2s forwards;
}

.hero__title {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  line-height: 1.05;
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.hero__title .line {
  display: block;
  overflow: hidden;
}

.hero__title .line span {
  display: inline-block;
  opacity: 0;
  transform: translateY(110%);
  animation: riseIn 1s var(--ease-out) forwards;
  color: #0a1628;
}

.hero__title .line:nth-child(1) span { animation-delay: 0.35s; }
.hero__title .line:nth-child(2) span { animation-delay: 0.5s; }

.hero__title em {
  font-style: normal;
  color: #155dfc;
}

.hero__tagline {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: #334155;
  max-width: 36em;
  margin: 0 0 2.5rem;
  opacity: 0;
  animation: fadeIn 1s var(--ease-out) 0.85s forwards;
}

.scroll-hint {
  font-family: var(--font-en);
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #475569;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  animation: fadeIn 1s var(--ease-out) 1.2s forwards;
}

.scroll-hint__bar {
  width: 1px;
  height: 48px;
  background: linear-gradient(transparent, rgba(21, 93, 252, 0.85));
  animation: scrollBar 2s ease-in-out infinite;
}

@keyframes scrollBar {
  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(0.6);
    transform-origin: top;
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

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

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__bg {
    animation: none;
    filter: brightness(1.15) saturate(1.02);
  }
}

/* —— Sections —— */
.section {
  padding: 5rem 8vw;
  position: relative;
}

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

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 1rem 2rem;
  margin-bottom: 2.5rem;
}

.section__num {
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent);
}

.section__title {
  font-family: var(--font-en);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* One “paper” band per page — white field, blue-forward type (apply to an existing block) */
.section--paper {
  background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 48%, #e8f1ff 100%);
  border-top: 1px solid rgba(21, 93, 252, 0.14);
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
  --paper-heading: #0c2668;
  --paper-body: #2563eb;
  --paper-link: #155dfc;
  --paper-soft: rgba(21, 93, 252, 0.12);
}

.section--paper .section__num {
  color: var(--paper-link);
}

.section--paper .section__title {
  color: var(--paper-heading);
}

.section--paper .card {
  background: #ffffff;
  border: 1px solid rgba(21, 93, 252, 0.22);
}

.section--paper .card:hover {
  border-color: rgba(21, 93, 252, 0.45);
}

.section--paper .card__label {
  color: var(--paper-link);
}

.section--paper .card h3 {
  color: var(--paper-heading);
}

.section--paper .card p {
  color: var(--paper-body);
}

.section--paper .card__link {
  color: var(--paper-link);
}

.section--paper .strength-list li {
  border-bottom-color: rgba(21, 93, 252, 0.15);
}

.section--paper .strength-list strong {
  color: var(--paper-link);
}

.section--paper .strength-list li > div {
  color: var(--paper-body);
}

/* reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

.grid-3 {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.35s var(--ease-out);
}

.card:hover {
  border-color: rgba(43, 140, 255, 0.4);
  transform: translateY(-4px);
}

.card__img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}

.card__body {
  padding: 1.25rem 1.35rem 1.5rem;
}

.card__label {
  font-family: var(--font-en);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
}

.card h3 {
  margin: 0.35rem 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 700;
}

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

.card__link {
  display: inline-block;
  margin-top: 1rem;
  font-family: var(--font-en);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

/* List strengths */
.strength-list {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.strength-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.strength-list strong {
  font-family: var(--font-en);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  min-width: 4rem;
}

/* News strip */
.news-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-list li {
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  align-items: baseline;
}

.news-list time {
  font-family: var(--font-en);
  font-size: 0.8rem;
  color: var(--muted);
}

/* CTA band */
.cta-band {
  text-align: center;
  padding: 4rem 8vw;
  background: linear-gradient(180deg, var(--bg-panel) 0%, var(--bg-deep) 100%);
  border-top: 1px solid var(--line);
}

.cta-band h2 {
  font-family: var(--font-en);
  font-size: clamp(1.25rem, 3vw, 2rem);
  margin: 0 0 1rem;
}

.btn {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 1rem 2.25rem;
  border: 1px solid var(--accent);
  color: var(--text);
  background: transparent;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.btn:hover {
  background: var(--accent);
  color: #fff;
}

/* —— Footer —— */
.site-footer {
  padding: 3rem 8vw 2rem;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-bottom: 2rem;
}

.site-footer h4 {
  font-family: var(--font-en);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin: 0 0 1rem;
  color: var(--muted);
}

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

.site-footer li {
  margin-bottom: 0.4rem;
}

.footer-brand {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.copy {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 2rem;
}

/* —— Inner page layout —— */
.page-hero {
  min-height: 45vh;
  display: flex;
  align-items: flex-end;
  padding: 8rem 8vw 3rem;
  background: var(--bg-panel);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-family: var(--font-en);
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.page-hero p {
  color: var(--muted);
  margin: 0.5rem 0 0;
  max-width: 40em;
}

.page-hero--photo {
  position: relative;
  overflow: hidden;
  min-height: min(52vh, 640px);
  background: var(--bg-deep);
}

.page-hero--photo .page-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero--photo .page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-hero--photo .page-hero__scrim {
  display: none;
}

.page-hero--photo .page-hero__content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.page-hero--photo h1 {
  color: var(--text);
  text-shadow: none;
}

.page-hero--photo p {
  color: var(--muted);
  text-shadow: none;
}

.works-case__figure {
  margin: 0.65rem 0 1.35rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-panel);
}

.works-case__figure img {
  width: 100%;
  display: block;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

/* —— About: video hero —— */
.about-hero {
  position: relative;
  min-height: min(75vh, 880px);
  display: flex;
  align-items: flex-end;
  padding: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.about-hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.about-hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-hero__scrim {
  display: none;
}

.about-hero__inner {
  position: relative;
  z-index: 2;
  padding: 9rem 8vw 3.5rem;
  max-width: 900px;
}

.about-hero h1 {
  font-family: var(--font-en);
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85), 0 2px 28px rgba(0, 0, 0, 0.5);
}

.about-hero__lead {
  color: rgba(236, 244, 252, 0.95);
  margin: 0.5rem 0 0;
  max-width: 40em;
  line-height: 1.7;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8), 0 1px 18px rgba(0, 0, 0, 0.45);
}

@media (prefers-reduced-motion: reduce) {
  .about-hero__video {
    display: none;
  }

  .about-hero {
    min-height: 45vh;
    background: var(--bg-panel);
  }

  .about-hero .about-hero__scrim {
    display: none;
  }

  .about-hero h1,
  .about-hero__lead {
    color: var(--text);
    text-shadow: none;
  }

  .about-hero .about-hero__lead {
    color: var(--muted);
  }
}

.content-block {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 8vw 5rem;
}

.content-block h2 {
  font-family: var(--font-en);
  font-size: 1.25rem;
  margin: 2.5rem 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.content-block h2:first-child {
  margin-top: 0;
}

.content-block h3 {
  font-size: 1.05rem;
  margin: 1.75rem 0 0.5rem;
}

.content-block ul,
.content-block ol {
  padding-left: 1.25rem;
  color: var(--muted);
}

.content-block li {
  margin-bottom: 0.35rem;
}

.content-block.content-block--paper {
  position: relative;
  z-index: 0;
  --text: #0c2668;
  --muted: #2563eb;
  color: #2563eb;
}

.content-block.content-block--paper::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: calc(50% - 50vw);
  width: 100vw;
  background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 48%, #e8f1ff 100%);
  border-top: 1px solid rgba(21, 93, 252, 0.14);
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
  pointer-events: none;
}

.content-block.content-block--paper h2,
.content-block.content-block--paper h3 {
  color: #0c2668;
}

.content-block.content-block--paper a:not(.btn) {
  color: #155dfc;
}

.content-block.content-block--paper .faq-item {
  border-bottom-color: rgba(21, 93, 252, 0.18);
}

.content-block.content-block--paper .faq-item summary::after {
  color: #155dfc;
}

.content-block.content-block--paper .faq-item .answer {
  color: #2563eb;
}

.content-block.content-block--paper .form-row label {
  color: #1d4ed8;
}

.content-block.content-block--paper .form-row input,
.content-block.content-block--paper .form-row textarea,
.content-block.content-block--paper .form-row select {
  background: #ffffff;
  border-color: rgba(21, 93, 252, 0.28);
  color: #0c2668;
}

.content-block.content-block--paper .form-note {
  color: #2563eb;
}

.content-block.content-block--paper ul,
.content-block.content-block--paper ol {
  color: #2563eb;
}

.two-col {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.detail-visual {
  margin: 2rem 0;
  border: 1px solid var(--line);
  overflow: hidden;
}

.detail-visual img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

/* Sales — infinite hardware strip */
.page-sales .sales-marquee {
  margin: 2rem calc(50% - 50vw);
  padding: 0.5rem 0 1rem;
  width: 100vw;
  position: relative;
}

.page-sales .sales-marquee__viewport {
  overflow: hidden;
  position: relative;
  padding: 0.75rem 0 1rem;
}

.page-sales .sales-marquee__fade {
  pointer-events: none;
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(48px, 8vw, 120px);
  z-index: 2;
}

.page-sales .sales-marquee__fade--start {
  left: 0;
  background: linear-gradient(to right, var(--bg-deep) 0%, transparent 100%);
}

.page-sales .sales-marquee__fade--end {
  right: 0;
  background: linear-gradient(to left, var(--bg-deep) 0%, transparent 100%);
}

.page-sales .content-block--paper .sales-marquee__fade--start {
  background: linear-gradient(to right, #f5f9ff 0%, transparent 100%);
}

.page-sales .content-block--paper .sales-marquee__fade--end {
  background: linear-gradient(to left, #f5f9ff 0%, transparent 100%);
}

.page-sales .sales-marquee__track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  width: max-content;
  animation: sales-marquee-slide 75s linear infinite;
  will-change: transform;
}

.page-sales .sales-marquee__row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: var(--sales-marquee-gap, clamp(1rem, 2.5vw, 1.75rem));
  flex: 0 0 auto;
}

.page-sales .sales-marquee__row .sales-marquee__thumb:last-child {
  margin-inline-end: var(--sales-marquee-gap, clamp(1rem, 2.5vw, 1.75rem));
}

.page-sales .sales-marquee__thumb {
  flex: 0 0 auto;
  width: clamp(200px, 24vw, 300px);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-panel);
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.35),
    0 18px 42px rgba(0, 0, 0, 0.55),
    0 2px 0 rgba(255, 255, 255, 0.04) inset;
  transform: translateZ(0);
}

.page-sales .sales-marquee__thumb img {
  width: 100%;
  height: clamp(130px, 15vw, 190px);
  object-fit: cover;
  display: block;
  max-width: none;
}

@keyframes sales-marquee-slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-sales .sales-marquee__track {
    animation: none;
    transform: translateX(0);
  }
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  cursor: pointer;
  padding: 1.25rem 0;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-family: var(--font-en);
  color: var(--accent);
  font-size: 1.25rem;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item .answer {
  padding: 0 0 1.25rem;
  color: var(--muted);
}

/* Form */
.form-grid {
  display: grid;
  gap: 1.25rem;
}

.form-row label {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
}

.form-row textarea {
  min-height: 160px;
  resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 1rem;
}

@media (max-width: 640px) {
  .site-header {
    padding: 1rem 1.25rem;
  }
}

/* —— Helicopter tour / inbound page（白ベース・赤アクセント） —— */
.page-tour-flight {
  --tour-accent: #d91e36;
  --tour-accent-deep: #b81830;
  --tour-bg: #ffffff;
  --tour-bg-soft: #f4f4f6;
  --tour-text: #161616;
  --tour-muted: #5a5a62;
  --tour-line: rgba(0, 0, 0, 0.08);
  background: var(--tour-bg);
  color: var(--tour-text);
}

.page-tour-flight .site-header {
  color: var(--tour-text);
  text-shadow: none;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--tour-line);
}

.page-tour-flight .brand span {
  color: var(--tour-accent);
}

.page-tour-flight .menu-btn {
  color: var(--tour-text);
}

.page-tour-flight .menu-btn::after {
  background: var(--tour-accent);
}

.page-tour-flight .site-header .brand:hover {
  color: var(--tour-text);
}

.page-tour-flight .site-header .brand:hover span {
  color: var(--tour-accent-deep);
}

.page-tour-flight .lang-switch {
  border-color: rgba(0, 0, 0, 0.14);
  background: rgba(255, 255, 255, 0.92);
}

.page-tour-flight .lang-switch__btn {
  color: var(--tour-muted);
  border-right-color: rgba(0, 0, 0, 0.08);
}

.page-tour-flight .lang-switch__btn.is-active {
  background: rgba(217, 30, 54, 0.14);
  color: var(--tour-text);
}

.page-tour-flight .nav-overlay {
  background: rgba(255, 255, 255, 0.98);
}

.page-tour-flight .nav-overlay a {
  color: var(--tour-text);
}

.page-tour-flight .nav-overlay a:hover {
  color: var(--tour-accent);
}

.page-tour-flight .nav-overlay__close {
  color: var(--tour-muted);
}

.page-tour-flight .nav-overlay .nav-sub {
  border-left-color: rgba(217, 30, 54, 0.28);
}

.tour-hero {
  position: relative;
  min-height: min(92vh, 900px);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
  background: #1a6fa8 center / cover no-repeat;
}

.tour-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: center / cover no-repeat;
  animation: heroKen 22s ease-in-out infinite alternate;
}

.tour-hero__inner {
  position: relative;
  z-index: 2;
  padding: 6rem 8vw 3.25rem;
  max-width: 52rem;
}

.tour-hero__label {
  font-family: var(--font-en);
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 0.85rem;
}

.page-tour-flight .tour-hero__label {
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 2px 12px rgba(0, 20, 50, 0.35);
}

.tour-hero__title {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: clamp(2rem, 5.5vw, 3.75rem);
  line-height: 1.06;
  margin: 0 0 0.75rem;
  color: #fff;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 32px rgba(0, 30, 60, 0.45);
}

.page-tour-flight .tour-hero__title {
  color: #fff;
  text-shadow: 0 4px 32px rgba(0, 30, 60, 0.45);
}

.tour-hero__title-sub {
  display: block;
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: clamp(1.05rem, 2.8vw, 1.45rem);
  letter-spacing: 0.06em;
  margin-top: 0.35rem;
}

.page-tour-flight .tour-hero__title-sub {
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 20px rgba(0, 30, 60, 0.4);
}

.tour-hero__lead {
  margin: 0 0 1.25rem;
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(0.92rem, 1.9vw, 1.08rem);
  line-height: 1.72;
  text-shadow: 0 2px 16px rgba(0, 20, 50, 0.35);
}

.page-tour-flight .tour-hero__lead {
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 16px rgba(0, 20, 50, 0.35);
}

.tour-hero__lead-en {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.92em;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 0.02em;
}

.page-tour-flight .tour-hero__lead-en {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 14px rgba(0, 20, 50, 0.32);
}

.page-tour-flight .tour-hero__lead--stack {
  margin-top: 0.42rem;
}

.page-tour-flight .tour-hero__lead--stack.tour-hero__lead-en {
  margin-top: 0.35rem;
}

.tour-gallery {
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0;
  border-bottom: 1px solid var(--line);
}

.page-tour-flight .tour-gallery {
  border-bottom-color: var(--tour-line);
}

.tour-gallery figure {
  margin: 0;
  position: relative;
}

.tour-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.tour-gallery figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2rem 1.25rem 1rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.95);
  background: linear-gradient(transparent, rgba(5, 15, 30, 0.75));
  line-height: 1.55;
}

.page-tour-flight .tour-gallery figcaption {
  position: static;
  color: var(--tour-text);
  background: linear-gradient(180deg, var(--tour-bg-soft) 0%, var(--tour-bg) 100%);
  padding: 1.1rem 1.25rem 1.35rem;
  border-top: 3px solid var(--tour-accent);
}

.tour-fuji {
  position: relative;
  min-height: clamp(340px, 55vh, 520px);
  display: grid;
  align-items: center;
  justify-items: center;
  text-align: center;
  background: center / cover no-repeat;
  border-bottom: 1px solid var(--line);
}

.page-tour-flight .tour-fuji {
  border-bottom-color: var(--tour-line);
}

.tour-fuji::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 10, 20, 0.45) 0%,
    rgba(5, 10, 20, 0.25) 50%,
    rgba(5, 10, 20, 0.55) 100%
  );
  z-index: 1;
}

.page-tour-flight .tour-fuji::before {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.82) 0%,
    rgba(255, 255, 255, 0.5) 45%,
    rgba(255, 255, 255, 0.65) 100%
  );
}

.tour-fuji__inner {
  position: relative;
  z-index: 2;
  padding: 2.5rem 8vw;
  max-width: 40rem;
}

.tour-fuji__inner h2 {
  font-family: var(--font-en);
  font-size: clamp(1.35rem, 3.5vw, 2rem);
  font-weight: 800;
  margin: 0 0 0.5rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.page-tour-flight .tour-fuji__inner h2 {
  color: var(--tour-text);
}

.page-tour-flight .tour-fuji__inner h2::after {
  content: "";
  display: block;
  width: 3rem;
  height: 3px;
  background: var(--tour-accent);
  margin: 0.65rem auto 0;
}

.tour-fuji__inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.98rem;
}

.page-tour-flight .tour-fuji__inner p {
  color: var(--tour-muted);
}

.tour-fuji__inner .en {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.88rem;
  opacity: 0.9;
}

.page-tour-flight .tour-fuji__inner .en {
  color: var(--tour-muted);
  opacity: 1;
}

.page-tour-flight .tour-fuji.tour-fuji--text-only {
  display: block;
  min-height: 0;
  background-image: none !important;
  background-color: var(--tour-bg-soft);
  text-align: left;
}

.page-tour-flight .tour-fuji.tour-fuji--text-only::before {
  display: none;
}

.page-tour-flight .tour-fuji.tour-fuji--text-only .tour-fuji__inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 8vw 3rem calc(8vw + 1rem);
  box-shadow: inset 4px 0 0 var(--tour-accent);
}

.page-tour-flight .tour-fuji.tour-fuji--text-only .tour-fuji__inner h2::after {
  margin: 0.65rem 0 0;
}

.page-tour-flight .section--sky {
  background: var(--tour-bg);
  border-top: 1px solid var(--tour-line);
}

.page-tour-flight .section--sky.section--paper {
  background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 48%, #e8f1ff 100%);
  border-top-color: rgba(21, 93, 252, 0.14);
}

.page-tour-flight .section--sky.section--paper .section__num {
  color: #155dfc;
}

.page-tour-flight .section--sky.section--paper .section__title {
  color: #0c2668;
}

.page-tour-flight .section--sky.section--paper .tour-plan {
  background: #ffffff;
  border-color: rgba(21, 93, 252, 0.2);
  border-left-color: #155dfc;
  box-shadow: 0 8px 24px rgba(21, 93, 252, 0.08);
}

.page-tour-flight .section--sky.section--paper .tour-plan__title {
  color: #0c2668;
}

.page-tour-flight .section--sky.section--paper .tour-plan__desc {
  color: #2563eb;
}

.page-tour-flight .section__num {
  color: var(--tour-accent);
}

.page-tour-flight .section__title {
  color: var(--tour-text);
}

.tour-highlights {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.tour-highlight {
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--line);
  background: rgba(43, 140, 255, 0.06);
}

.page-tour-flight .tour-highlight {
  border: 1px solid var(--tour-line);
  border-left: 4px solid var(--tour-accent);
  background: var(--tour-bg);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.05);
}

.tour-highlight strong {
  display: block;
  font-family: var(--font-en);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.page-tour-flight .tour-highlight strong {
  color: var(--tour-accent);
}

.tour-highlight span {
  color: var(--muted);
  font-size: 0.9rem;
}

.page-tour-flight .tour-highlight span {
  color: var(--tour-muted);
}

.tour-plans {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 960px;
  margin: 0 auto;
}

.page-tour-flight .tour-plan {
  margin: 0;
  padding: 1.5rem 1.5rem 1.65rem;
  border: 1px solid var(--tour-line);
  border-left: 4px solid var(--tour-accent);
  background: var(--tour-bg);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.05);
}

.tour-plan__title {
  font-family: var(--font-en);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--tour-text);
  margin: 0 0 0.65rem;
  line-height: 1.25;
}

.page-tour-flight .tour-plan__title {
  color: var(--tour-text);
}

.tour-plan__desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.68;
}

.page-tour-flight .tour-plan__desc {
  color: var(--tour-muted);
}

.page-tour-flight .tour-hero .lang-note {
  color: var(--tour-muted);
  display: block;
  margin-top: 0.6rem;
  font-style: normal;
}

.page-tour-flight .content-block {
  color: var(--tour-muted);
}

.page-tour-flight .content-block h2 {
  color: var(--tour-text);
  border-left: 4px solid var(--tour-accent);
  padding-left: 0.85rem;
  margin-left: 0;
}

.page-tour-flight .content-block h3 {
  color: var(--tour-text);
}

.page-tour-flight .content-block strong {
  color: var(--tour-text);
}

.page-tour-flight .content-block .lang-note {
  color: var(--tour-muted);
  font-style: normal;
}

.page-tour-flight .content-block a {
  color: var(--tour-accent);
}

.page-tour-flight .content-block a:hover {
  color: var(--tour-accent-deep);
}

.page-tour-flight .content-block .tour-intro-note {
  margin-bottom: 1.5rem;
}

.page-tour-flight .content-block .tour-inline-en {
  display: block;
  margin-top: 0.4rem;
  color: var(--tour-muted);
  font-size: 0.92em;
}

.page-tour-flight .content-block ul li {
  color: var(--tour-muted);
}

.page-tour-flight .tour-cta-lead {
  margin-bottom: 1.5rem;
}

.page-tour-flight .footer-lead {
  font-size: 0.9rem;
  margin: 0;
}

.page-tour-flight .footer-meta {
  margin: 0;
  font-size: 0.9rem;
}

.page-tour-flight .cta-band {
  background: var(--tour-bg-soft);
  border-top: 1px solid var(--tour-line);
}

.page-tour-flight .cta-band h2 {
  color: var(--tour-text);
}

.page-tour-flight .cta-band p {
  color: var(--tour-muted);
}

.page-tour-flight .cta-band a:not(.btn) {
  color: var(--tour-accent);
  font-weight: 600;
}

.page-tour-flight .cta-band a:not(.btn):hover {
  color: var(--tour-accent-deep);
}

.page-tour-flight .cta-band .btn {
  border-color: var(--tour-accent);
  color: var(--tour-accent);
  background: var(--tour-bg);
}

.page-tour-flight .cta-band .btn:hover {
  background: var(--tour-accent);
  color: #fff;
  border-color: var(--tour-accent);
}

.page-tour-flight .site-footer {
  background: var(--tour-bg-soft);
  border-top-color: var(--tour-line);
}

.page-tour-flight .site-footer .footer-brand {
  color: var(--tour-text);
}

.page-tour-flight .site-footer h4 {
  color: var(--tour-muted);
}

.page-tour-flight .site-footer a {
  color: var(--tour-text);
}

.page-tour-flight .site-footer a:hover {
  color: var(--tour-accent);
}

.page-tour-flight .site-footer .footer-lead,
.page-tour-flight .site-footer .footer-meta,
.page-tour-flight .copy {
  color: var(--tour-muted);
}

/* —— Interactive Japan map (tour page) —— */
.tour-japan-map {
  padding: 3rem 8vw 3.5rem;
  background: var(--tour-bg);
  border-top: 1px solid var(--tour-line);
  border-bottom: 1px solid var(--tour-line);
}

.tour-japan-map__intro {
  max-width: 48rem;
  margin: 0 auto 2rem;
  text-align: center;
}

.tour-japan-map__kicker {
  margin: 0 0 0.35rem;
  font-family: var(--font-en);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tour-accent);
}

.tour-japan-map__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-en);
  font-size: clamp(1.35rem, 3.5vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--tour-text);
  text-transform: uppercase;
}

.tour-japan-map__lead {
  margin: 0;
  font-size: 0.92rem;
  color: var(--tour-muted);
  line-height: 1.7;
}

.tour-japan-map__layout {
  width: 100%;
}

.tour-japan-map__viewport {
  position: relative;
  width: min(1120px, 96vw);
  margin: 0 auto;
  border-radius: 12px;
  padding: 1.5rem 1.25rem 2rem;
  background: linear-gradient(145deg, #e4efe6 0%, #f9fbf9 48%, #e2ebe4 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 16px 40px rgba(0, 20, 40, 0.08);
  overflow: hidden;
}

.tour-japan-map__tilt {
  position: relative;
  transform: none;
  transform-style: flat;
  will-change: auto;
}

.tour-japan-map__map-frame {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 20, 40, 0.08);
}

.tour-japan-map__map-img {
  width: 100%;
  height: auto;
  display: block;
}

.tour-japan-map__pins-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 14;
}

.tour-japan-map__map-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 22;
}

.tour-japan-map__panel-anchor {
  position: absolute;
  top: clamp(10px, 1.8vw, 16px);
  right: clamp(10px, 1.8vw, 16px);
  margin-left: 0;
  flex: unset;
  max-width: min(260px, 42vw);
  pointer-events: none;
}

.tour-japan-map__pin {
  position: absolute;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.35rem 0.45rem;
  margin: 0;
  border: none;
  min-width: 2.75rem;
  min-height: 2.75rem;
  background: transparent;
  border-radius: 0;
  backdrop-filter: none;
  cursor: pointer;
  font: inherit;
  z-index: 8;
}

.tour-japan-map__pin:is(:hover, :focus-visible),
.tour-japan-map__pin.is-active {
  background: transparent;
}

.tour-japan-map__pin:is(:hover, :focus-visible) .tour-japan-map__pin-dot,
.tour-japan-map__pin.is-active .tour-japan-map__pin-dot {
  transform: scale(1.14);
}

.tour-japan-map__pin:focus {
  outline: none;
}

.tour-japan-map__pin:focus-visible {
  outline: 2px solid var(--tour-accent);
  outline-offset: 4px;
  border-radius: 6px;
}

.tour-japan-map__pin-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--tour-accent);
  border: 2px solid rgba(15, 35, 45, 0.45);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
  animation: tourPinPulse 2.2s ease-in-out infinite;
}

.tour-japan-map__pin.is-active .tour-japan-map__pin-dot {
  animation: none;
  transform: scale(1.12);
  box-shadow: 0 0 0 3px rgba(217, 30, 54, 0.4), 0 1px 4px rgba(0, 0, 0, 0.3);
}

.tour-japan-map__pin-label {
  font-family: var(--font-en);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--tour-text);
  background: rgba(255, 255, 255, 0.92);
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  border: 1px solid var(--tour-line);
}

.tour-japan-map__pin-dot,
.tour-japan-map__pin-label {
  pointer-events: none;
}

@keyframes tourPinPulse {
  0%,
  100% {
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
  }
  50% {
    box-shadow: 0 1px 10px rgba(217, 30, 54, 0.55);
  }
}

.tour-japan-map__panel {
  border: 2px solid rgba(217, 30, 54, 0.28);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 10px 28px rgba(0, 20, 40, 0.15);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.28s var(--ease-out), transform 0.28s var(--ease-out);
}

.tour-japan-map__panel--onmap {
  max-height: min(52vh, 380px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.tour-japan-map__panel.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.tour-japan-map__panel[hidden] {
  display: none !important;
}

.tour-japan-map__panel-photo {
  aspect-ratio: 16 / 10;
  background: var(--tour-bg-soft) center / cover no-repeat;
  border-bottom: 2px solid var(--tour-accent);
  min-height: 72px;
  max-height: 120px;
}

.tour-japan-map__panel--onmap .tour-japan-map__panel-photo {
  aspect-ratio: 16 / 9;
  min-height: 64px;
  max-height: 96px;
}

.tour-japan-map__panel-body {
  padding: 0.45rem 0.55rem 0.6rem;
}

.tour-japan-map__panel--onmap .tour-japan-map__panel-body {
  padding: 0.4rem 0.5rem 0.5rem;
}

.tour-japan-map__panel-title {
  margin: 0 0 0.25rem;
  font-family: var(--font-en);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--tour-accent);
  line-height: 1.3;
}

.tour-japan-map__panel-desc {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.55;
  color: var(--tour-text);
  display: -webkit-box;
  -webkit-line-clamp: 8;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tour-japan-map__hint {
  margin: 0;
  padding: 1.25rem 1rem;
  font-size: 0.88rem;
  color: var(--tour-muted);
  border: 1px dashed var(--tour-line);
  border-radius: 10px;
  text-align: center;
  background: var(--tour-bg-soft);
}

.tour-japan-map__hint--map {
  position: absolute;
  bottom: clamp(12px, 2.2vw, 22px);
  right: clamp(12px, 2.2vw, 22px);
  left: auto;
  top: auto;
  margin: 0;
  padding: 0.5rem 0.95rem;
  max-width: min(320px, 52vw);
  font-size: 0.84rem;
  line-height: 1.48;
  color: var(--tour-text);
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 6px 22px rgba(0, 20, 40, 0.14);
  pointer-events: none;
}

.tour-japan-map__below {
  display: none;
}

.tour-japan-map__panel--below {
  margin-top: 0.75rem;
  opacity: 1;
  transform: none;
  transition: none;
  max-height: none;
  overflow: visible;
}

.tour-japan-map__panel--below .tour-japan-map__panel-photo {
  aspect-ratio: 16 / 9;
  min-height: 120px;
  max-height: min(38vh, 220px);
}

.tour-japan-map__panel--below .tour-japan-map__panel-body {
  padding: 0.75rem 1rem 1rem;
}

.tour-japan-map__panel--below .tour-japan-map__panel-title {
  font-size: 0.75rem;
}

.tour-japan-map__panel--below .tour-japan-map__panel-desc {
  font-size: 0.82rem;
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}

@media (prefers-reduced-motion: reduce) {
  .tour-japan-map__tilt {
    transform: none !important;
    transition: none;
  }

  .tour-japan-map__pin-dot {
    animation: none;
  }

  .tour-japan-map__panel {
    transition: none;
  }
}

@media (max-width: 640px) {
  .tour-japan-map__map-overlay .tour-japan-map__hint--map {
    display: none;
  }

  .tour-japan-map__map-overlay .tour-japan-map__panel-anchor {
    display: none !important;
  }

  .tour-japan-map__below {
    display: block;
    max-width: min(1120px, 96vw);
    margin: 1.35rem auto 0;
    padding: 0 8vw;
  }

  .tour-japan-map__below-placeholder {
    margin: 0;
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--tour-muted);
    text-align: center;
    border: 1px dashed var(--tour-line);
    border-radius: 10px;
    background: var(--tour-bg-soft);
  }

  .tour-japan-map__below-placeholder[hidden] {
    display: none !important;
  }

  .tour-japan-map__viewport {
    width: min(100%, 100vw - 1.5rem);
    padding: 1.1rem 0.75rem 1.35rem;
  }
}

/* —— Smartphone: compact square-ish heroes —— */
@media (max-width: 640px) {
  .hero {
    min-height: 0;
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    max-height: min(100vh, 100vw);
    max-height: min(100svh, 100dvh);
    align-items: flex-end;
    overflow: hidden;
  }

  .hero__inner {
    padding: 5.75rem 1.35rem 1.35rem;
    max-width: none;
  }

  .hero__label {
    font-size: 0.5rem;
    margin-bottom: 0.42rem;
    letter-spacing: 0.22em;
  }

  .hero__title {
    font-size: clamp(1.18rem, 7.25vw, 1.72rem);
    margin-bottom: 0.65rem;
    line-height: 1.06;
    letter-spacing: -0.01em;
  }

  .hero__tagline {
    font-size: 0.85rem;
    line-height: 1.62;
    margin: 0 0 1rem;
    max-width: 36ch;
  }

  .hero .scroll-hint {
    margin-top: 0;
    font-size: 0.58rem;
  }

  .page-hero {
    min-height: 0;
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    max-height: min(100vh, 100vw);
    max-height: min(100svh, 100dvh);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;
    padding: 6.5rem 1.35rem 1.5rem;
    overflow: hidden;
  }

  .page-hero h1 {
    font-size: clamp(1.35rem, 9vw, 1.95rem);
    line-height: 1.08;
  }

  .page-hero p {
    margin-top: 0.4rem;
    font-size: 0.86rem;
    line-height: 1.58;
    max-width: none;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .about-hero {
    min-height: 0;
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    max-height: min(100vh, 100vw);
    max-height: min(100svh, 100dvh);
    align-items: flex-end;
    box-sizing: border-box;
    overflow: hidden;
  }

  .about-hero__inner {
    padding: 6.75rem 1.35rem 1.35rem;
    max-width: none;
    width: 100%;
    box-sizing: border-box;
  }

  .about-hero h1 {
    font-size: clamp(1.35rem, 9vw, 2rem);
    line-height: 1.06;
  }

  .about-hero__lead {
    font-size: 0.86rem;
    line-height: 1.62;
    margin-top: 0.45rem;
    max-width: 38ch;
  }

  .tour-hero {
    min-height: 0;
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    max-height: min(100vh, 100vw);
    max-height: min(100svh, 100dvh);
    align-items: flex-end;
    box-sizing: border-box;
    overflow: hidden;
  }

  .tour-hero__inner {
    padding: 5.5rem 1.25rem 1.35rem;
    max-width: none;
    width: 100%;
    box-sizing: border-box;
  }

  .tour-hero__label {
    font-size: 0.57rem;
    letter-spacing: 0.24em;
    margin-bottom: 0.52rem;
  }

  .tour-hero__title {
    font-size: clamp(1.42rem, 9.25vw, 2rem);
    margin-bottom: 0.5rem;
  }

  .tour-hero__title-sub {
    font-size: clamp(0.84rem, 3.95vw, 1.03rem);
    margin-top: 0.26rem;
  }

  .tour-hero__lead {
    font-size: 0.78rem;
    line-height: 1.6;
    margin-bottom: 0.68rem;
    max-width: 40ch;
  }

  .tour-hero__lead-en {
    font-size: 0.68rem;
    margin-top: 0.34rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .page-tour-flight .tour-hero .lang-note {
    font-size: 0.72rem;
    line-height: 1.5;
    margin-top: 0.2rem !important;
  }
}

.lang-note {
  font-size: 0.82rem;
  color: var(--muted);
  font-style: italic;
  margin: 0.25rem 0 0;
}


