:root {
  --navy: #302927;
  --blue: #5c5653;
  --cyan: #dddad9;
  --yellow: #f0eeeb;
  --green: #8a8480;
  --coral: #6b6560;
  --ink: #2a2523;
  --muted: #6e6864;
  --line: #e2dedc;
  --paper: #f8f7f5;
  --white: #ffffff;
  --shadow: 0 20px 50px rgba(48, 41, 39, 0.12);
  --font-sans: "Noto Sans JP", system-ui, sans-serif;
  --font-display: "Zen Old Mincho", "Noto Serif JP", serif;
  --font-en: "Outfit", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0;
  overflow-x: hidden;
}

h1,
h2,
h3,
.hero__lead,
.section__head p {
  word-break: keep-all;
  overflow-wrap: break-word;
  line-break: strict;
  text-wrap: balance;
}

.phrase {
  display: inline-block;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url("assets/matsuo/decor/grain-field.svg") center / 420px repeat;
  content: "";
  opacity: 0.035;
  pointer-events: none;
}

body.intro-active {
  overflow: hidden;
}

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

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

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

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 120;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.18);
}

.scroll-progress__fill {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--navy), var(--blue));
  transition: width 0.12s linear;
}

.intro {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: var(--white);
  overflow: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.intro.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(48, 41, 39, 0.06), rgba(221, 218, 217, 0.28)),
    var(--paper);
}

.intro__inner {
  position: relative;
  z-index: 2;
  width: min(360px, 72vw);
  display: grid;
  gap: 24px;
  justify-items: center;
}

.intro__logo {
  width: min(300px, 68vw);
  height: auto;
  filter: drop-shadow(0 12px 24px rgba(48, 41, 39, 0.12));
}

.intro__bar {
  width: 100%;
  height: 5px;
  overflow: hidden;
  background: rgba(48, 41, 39, 0.12);
}

.intro__bar-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--navy), var(--blue));
  transform-origin: left;
  animation: introLoading 1.4s ease both;
}

.intro__curtain {
  position: absolute;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--navy);
  transform: scaleY(0);
}

.intro__curtain--back {
  bottom: 50%;
  transform-origin: bottom;
  animation: curtainBack 1.05s 1.1s cubic-bezier(.75, 0, .25, 1) both;
}

.intro__curtain--front {
  top: 50%;
  transform-origin: top;
  animation: curtainFront 1.05s 1.1s cubic-bezier(.75, 0, .25, 1) both;
}

.floating-cta {
  position: fixed;
  top: 92px;
  right: max(16px, env(safe-area-inset-right, 0px));
  z-index: 90;
  display: flex;
  gap: 6px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(48, 41, 39, 0.08);
  border-radius: 999px;
  box-shadow: 0 10px 36px rgba(48, 41, 39, 0.1);
  backdrop-filter: blur(14px);
}

.floating-cta a {
  min-width: 76px;
  padding: 10px 14px;
  color: var(--white);
  background: rgba(48, 41, 39, 0.9);
  border: none;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.floating-cta a:hover,
.floating-cta a:focus-visible {
  background: rgba(36, 31, 29, 0.96);
}

.floating-cta a:nth-child(2) {
  background: rgba(92, 86, 83, 0.92);
}

.floating-cta a:nth-child(2):hover,
.floating-cta a:nth-child(2):focus-visible {
  background: rgba(74, 69, 66, 0.96);
}

.floating-cta a:nth-child(3) {
  color: var(--navy);
  background: rgba(248, 247, 245, 0.96);
}

.floating-cta a:nth-child(3):hover,
.floating-cta a:nth-child(3):focus-visible {
  background: rgba(240, 238, 235, 0.98);
}

.mobile-cta {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 88;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(248, 247, 245, 0.94);
  border-top: 1px solid rgba(48, 41, 39, 0.1);
  box-shadow: 0 -8px 28px rgba(48, 41, 39, 0.1);
  backdrop-filter: blur(14px);
  transform: translateY(110%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-cta.is-visible {
  transform: none;
}

.mobile-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
}

.mobile-cta__phone {
  color: var(--navy);
  background: var(--white);
  border: 1px solid rgba(48, 41, 39, 0.18);
}

.mobile-cta__jobs {
  color: var(--white);
  background: var(--navy);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 22px;
  align-items: center;
  min-height: 72px;
  padding: 12px 34px;
  background: rgba(248, 247, 245, 0.92);
  border-bottom: 1px solid rgba(48, 41, 39, 0.08);
  backdrop-filter: blur(18px);
  transition: min-height 0.25s ease, background 0.25s ease, transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header.is-compact {
  min-height: 62px;
  background: rgba(255, 255, 255, 0.94);
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 170px;
  color: var(--navy);
  font-family: var(--font-en);
  font-size: 0.92rem;
  font-weight: 700;
}

.site-brand img {
  width: 112px;
  height: auto;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  background: var(--navy);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

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

.header-phone {
  color: var(--navy);
  font-family: var(--font-en);
  font-size: 0.92rem;
  font-weight: 800;
}

.header-entry {
  padding: 10px 16px;
  color: var(--white);
  background: var(--navy);
  font-weight: 700;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(48, 41, 39, 0.16);
  background: var(--white);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--navy);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 94;
  border: 0;
  background: rgba(26, 21, 19, 0.42);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.mobile-menu-backdrop:not([hidden]) {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu {
  position: fixed;
  top: 72px;
  right: 18px;
  z-index: 95;
  display: none;
  width: min(320px, calc(100vw - 36px));
  padding: 16px;
  background: var(--white);
  border: 1px solid rgba(48, 41, 39, 0.12);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(-14px) scale(0.985);
  transition:
    opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.38s;
  visibility: hidden;
  pointer-events: none;
}

.mobile-menu.is-open {
  display: grid;
  opacity: 1;
  transform: none;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu a {
  padding: 13px 6px;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  font-weight: 700;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-menu.is-open a {
  opacity: 1;
  transform: none;
}

.mobile-menu.is-open a:nth-child(1) { transition-delay: 0.04s; }
.mobile-menu.is-open a:nth-child(2) { transition-delay: 0.07s; }
.mobile-menu.is-open a:nth-child(3) { transition-delay: 0.1s; }
.mobile-menu.is-open a:nth-child(4) { transition-delay: 0.13s; }
.mobile-menu.is-open a:nth-child(5) { transition-delay: 0.16s; }
.mobile-menu.is-open a:nth-child(6) { transition-delay: 0.19s; }
.mobile-menu.is-open a:nth-child(7) { transition-delay: 0.22s; }
.mobile-menu.is-open a:nth-child(8) { transition-delay: 0.25s; }
.mobile-menu.is-open a:nth-child(9) { transition-delay: 0.28s; }

body.menu-open {
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 82svh;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.hero__decor {
  position: absolute;
  top: 22%;
  right: min(8vw, 110px);
  z-index: 1;
  width: min(24vw, 280px);
  min-width: 180px;
  opacity: 0.42;
  pointer-events: none;
}

.hero__watermark {
  position: absolute;
  right: max(24px, calc((100% - 1180px) / 2));
  bottom: 34px;
  z-index: 1;
  color: transparent;
  font-family: var(--font-en);
  font-size: clamp(5rem, 13vw, 12rem);
  font-weight: 900;
  line-height: 0.82;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.18);
  text-transform: uppercase;
  pointer-events: none;
}

.hero__media,
.hero__image,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__media {
  transform: translateY(var(--hero-y, 0px));
  will-change: transform;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.3s ease, transform 6s linear;
}

.hero__image.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero__shade {
  background:
    linear-gradient(90deg, rgba(26, 21, 19, 0.84), rgba(26, 21, 19, 0.44) 52%, rgba(26, 21, 19, 0.18)),
    linear-gradient(0deg, rgba(26, 21, 19, 0.42), rgba(26, 21, 19, 0) 45%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 112px 0 110px;
}

.hero__kicker,
.section__label {
  margin: 0 0 clamp(10px, 1.6vw, 14px);
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero__sub {
  margin: 0 0 12px;
  font-size: 1.04rem;
  font-weight: 700;
}

.hero h1 {
  max-width: 11em;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 7.2vw, 4.6rem);
  font-weight: 900;
  line-height: 1.18;
  text-wrap: balance;
}

.hero__lead {
  max-width: 680px;
  margin: 28px 0 0;
  font-size: 1.02rem;
}

.hero__inner > * {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
}

body.hero-ready .hero__inner > * {
  opacity: 1;
  transform: none;
}

body.hero-ready .hero__inner > .hero__kicker { transition-delay: 0.08s; }
body.hero-ready .hero__inner > .hero__sub { transition-delay: 0.16s; }
body.hero-ready .hero__inner > h1 { transition-delay: 0.24s; }
body.hero-ready .hero__inner > .hero__lead { transition-delay: 0.32s; }
body.hero-ready .hero__inner > .hero__actions { transition-delay: 0.4s; }

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  font-weight: 800;
  text-align: center;
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.button--primary {
  color: var(--white);
  background: var(--navy);
}

.button--ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.button--outline {
  color: var(--navy);
  border-color: rgba(48, 41, 39, 0.24);
  background: var(--white);
}

.hero__foot {
  position: absolute;
  right: 36px;
  bottom: 30px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-en);
  font-size: 0.78rem;
}

.hero__line {
  position: relative;
  width: 88px;
  height: 1px;
  background: rgba(255, 255, 255, 0.28);
  overflow: hidden;
}

.hero__line::after {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.92);
  content: "";
  animation: scrollLine 2.2s ease-in-out infinite;
}

.section {
  position: relative;
  scroll-margin-top: 88px;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(52px, 7vw, 88px) 0;
}

.hero + .section {
  padding-top: clamp(36px, 5vw, 64px);
}

.has-watermark {
  isolation: isolate;
}

.has-watermark > * {
  position: relative;
  z-index: 1;
}

.has-watermark::after {
  position: absolute;
  top: 50px;
  right: 0;
  z-index: 0;
  color: transparent;
  content: attr(data-watermark);
  font-family: var(--font-en);
  font-size: clamp(4.8rem, 9vw, 8.5rem);
  font-weight: 900;
  line-height: 1;
  -webkit-text-stroke: 1px rgba(48, 41, 39, 0.1);
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
}

.has-curve {
  overflow: visible;
}

.has-curve::before {
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 0;
  width: min(980px, 84vw);
  height: 72px;
  background: url("assets/matsuo/decor/soft-arc.svg") center / 100% auto no-repeat;
  content: "";
  transform: translateX(-50%);
  pointer-events: none;
  opacity: 0.85;
}

.section-ornament {
  display: block;
  width: min(380px, 68%);
  height: auto;
  margin: 0 0 clamp(18px, 3vw, 26px);
  opacity: 0.68;
  pointer-events: none;
}

.has-decor {
  isolation: isolate;
}

.has-decor--iris::before {
  position: absolute;
  top: clamp(20px, 4vw, 44px);
  left: -8px;
  z-index: 0;
  width: clamp(72px, 10vw, 96px);
  height: clamp(72px, 10vw, 96px);
  background: url("assets/matsuo/decor/iris-mark.svg") center / contain no-repeat;
  content: "";
  opacity: 0.38;
  pointer-events: none;
}

.has-decor--grain::before {
  position: absolute;
  right: -12px;
  bottom: 8px;
  z-index: 0;
  width: clamp(140px, 18vw, 200px);
  height: clamp(140px, 18vw, 200px);
  background: url("assets/matsuo/decor/grain-field.svg") center / contain no-repeat;
  content: "";
  opacity: 0.65;
  pointer-events: none;
}

.has-decor--dots::before {
  position: absolute;
  top: 24px;
  right: 0;
  z-index: 0;
  width: clamp(120px, 16vw, 160px);
  height: clamp(120px, 16vw, 160px);
  background: url("assets/matsuo/decor/dot-grid.svg") center / cover no-repeat;
  content: "";
  opacity: 0.4;
  pointer-events: none;
}

.has-decor--corner::before {
  position: absolute;
  bottom: 32px;
  left: max(0px, calc((100% - 1120px) / 2));
  z-index: 0;
  width: 56px;
  height: 56px;
  background: url("assets/matsuo/decor/corner-mark.svg") center / contain no-repeat;
  content: "";
  opacity: 0.45;
  pointer-events: none;
}

.job-card {
  position: relative;
  overflow: hidden;
}

.job-card::after {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  width: 30px;
  height: 30px;
  background: url("assets/matsuo/decor/corner-mark.svg") center / contain no-repeat;
  content: "";
  opacity: 0.28;
  pointer-events: none;
  transform: rotate(180deg);
}

.feature-section {
  position: relative;
}

.feature-track {
  position: relative;
}

.feature-track::before {
  position: absolute;
  top: -36px;
  right: 8px;
  z-index: 0;
  width: 88px;
  height: 88px;
  background: url("assets/matsuo/decor/iris-mark.svg") center / contain no-repeat;
  content: "";
  opacity: 0.22;
  pointer-events: none;
}

.section__head {
  max-width: 760px;
  margin-bottom: clamp(20px, 3.5vw, 34px);
}

.section__head--row {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  max-width: none;
}

.section__label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--blue);
}

.section__label::after {
  width: 50px;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: 0.35;
}

.section h2,
.entry-section h2 {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1.22;
}

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

.u-br-desktop,
.u-br-tablet,
.u-br-mobile {
  display: none;
}

@media (min-width: 901px) {
  .u-br-desktop {
    display: inline;
  }
}

@media (min-width: 561px) and (max-width: 900px) {
  .u-br-tablet {
    display: inline;
  }
}

@media (max-width: 560px) {
  .u-br-mobile {
    display: inline;
  }
}

.message.section {
  width: min(920px, calc(100% - 48px));
}

.message.has-decor--iris::before {
  top: auto;
  right: clamp(-12px, -1.5vw, 0px);
  bottom: clamp(18px, 3vw, 36px);
  left: auto;
  width: clamp(64px, 8vw, 84px);
  height: clamp(64px, 8vw, 84px);
  opacity: 0.26;
}

.message.has-watermark::after {
  top: clamp(8px, 1.5vw, 18px);
  right: clamp(-4%, -1vw, 0);
  font-size: clamp(3.6rem, 7.2vw, 6.8rem);
  opacity: 0.85;
}

.message .section__head {
  max-width: none;
  margin-bottom: clamp(20px, 3.5vw, 34px);
  padding-inline-end: clamp(0px, 8vw, 72px);
}

.message__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
  gap: clamp(20px, 3vw, 32px);
  align-items: center;
}

.message__copy {
  display: grid;
  gap: clamp(14px, 2.2vw, 18px);
  max-width: 52ch;
  color: var(--ink);
}

.message__body {
  display: grid;
  gap: clamp(14px, 2.2vw, 18px);
}

.message__body--medium,
.message__body--short {
  display: none;
}

.message__body p,
.message__copy > p {
  margin: 0;
}

.message__caption--short {
  display: none;
}

.marker {
  padding: 0 0.04em;
  color: var(--navy);
  background: linear-gradient(transparent 58%, rgba(221, 218, 217, 0.92) 58%);
  background-size: 0% 100%;
  background-repeat: no-repeat;
  font-style: normal;
  font-weight: 800;
}

.reveal.is-visible .marker,
body.hero-ready .marker {
  animation: markerFill 0.72s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--reveal-delay, 0.2s);
}

.message__sign {
  color: var(--navy);
  font-weight: 800;
}

.message__photo {
  position: relative;
  isolation: isolate;
  margin: 0;
}

.message__photo::before {
  position: absolute;
  right: -34px;
  bottom: 60px;
  z-index: 0;
  width: 168px;
  height: 168px;
  background: url("assets/matsuo/decor/dot-grid.svg") center / cover no-repeat;
  content: "";
  opacity: 0.35;
  pointer-events: none;
}

.message__photo::after {
  position: absolute;
  top: 22px;
  left: -22px;
  z-index: 0;
  width: 72%;
  height: 72%;
  border: 1px solid rgba(48, 41, 39, 0.16);
  content: "";
  pointer-events: none;
}

.message__photo img {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 5;
  width: 100%;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.message__photo figcaption {
  position: relative;
  z-index: 1;
}

.message__photo figcaption,
.environment-grid figcaption,
.access-photo figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (min-width: 721px) and (max-width: 1100px) {
  .message__grid {
    grid-template-columns: minmax(0, 1fr) minmax(160px, 220px);
    gap: clamp(18px, 2.5vw, 28px);
    align-items: start;
  }

  .message__copy {
    max-width: none;
  }

  .message__photo img {
    aspect-ratio: 4 / 5;
    max-height: 300px;
  }
}

@media (max-width: 900px) {
  .message__body--full {
    display: none;
  }

  .message__body--medium {
    display: grid;
  }

  .message__caption--full {
    display: none;
  }

  .message__caption--short {
    display: block;
  }
}

@media (max-width: 720px) {
  .message__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .message__photo {
    width: min(100%, 300px);
    margin-inline: auto;
  }

  .message__photo img {
    aspect-ratio: 16 / 10;
    max-height: 160px;
  }
}

@media (max-width: 560px) {
  .message__body--medium {
    display: none;
  }

  .message__body--short {
    display: grid;
  }

  .message__photo {
    display: block;
    width: 100%;
    margin-inline: 0;
  }

  .message__photo img {
    aspect-ratio: 16 / 10;
    max-height: 140px;
  }

  .message__copy {
    max-width: none;
    gap: 10px;
  }

  .message .section__head h2 {
    font-size: clamp(1.65rem, 7.5vw, 2rem);
    line-height: 1.35;
  }
}

.feature-section {
  width: min(1240px, calc(100% - 48px));
}

.feature-track {
  display: grid;
  grid-auto-columns: minmax(300px, 390px);
  grid-auto-flow: column;
  gap: 18px;
  overflow-x: auto;
  padding: 4px 2px 20px;
  scroll-snap-type: x mandatory;
}

.feature-card {
  position: relative;
  scroll-snap-align: start;
  min-height: 540px;
  background: var(--white);
  border: 1px solid rgba(48, 41, 39, 0.1);
  box-shadow: 0 12px 30px rgba(48, 41, 39, 0.08);
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.feature-card::after {
  position: absolute;
  right: -44px;
  bottom: -44px;
  width: 150px;
  height: 150px;
  background: url("assets/matsuo/decor/dot-grid.svg") center / cover no-repeat;
  content: "";
  opacity: 0.32;
  pointer-events: none;
}

.feature-card > * {
  position: relative;
  z-index: 1;
}

.feature-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.feature-card > span {
  display: block;
  margin: 24px 24px 8px;
  color: var(--blue);
  font-family: var(--font-en);
  font-size: 0.9rem;
  font-weight: 900;
}

.feature-card h3,
.data-notes h3,
.job-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.25rem;
  line-height: 1.45;
}

.feature-card h3,
.feature-card p {
  padding: 0 24px;
}

.feature-card__en {
  display: block;
  margin-top: auto;
  padding-top: 6px;
  color: var(--blue);
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0.75;
}

/* 日本語見出しの行数差を吸収し、英字キャプションの高さを揃える */
.feature-card h3 {
  display: flex;
  flex-direction: column;
  min-height: 5.1rem;
}

.feature-card p,
.data-notes p,
.job-card dd,
.job-card p {
  color: var(--muted);
}

.data-section {
  position: relative;
  width: 100%;
  max-width: none;
  padding-right: max(24px, calc((100% - 1120px) / 2));
  padding-left: max(24px, calc((100% - 1120px) / 2));
  background:
    url("assets/matsuo/decor/iris-mark.svg") right max(24px, calc((100% - 1120px) / 2)) top 52% / 88px no-repeat,
    var(--navy);
  color: var(--white);
  overflow: hidden;
}

.data-section::before {
  position: absolute;
  top: 42px;
  right: max(24px, calc((100% - 1120px) / 2));
  width: 220px;
  height: 220px;
  background: url("assets/matsuo/decor/lens-ring.svg") center / contain no-repeat;
  content: "";
  opacity: 0.28;
  pointer-events: none;
}

.data-section.has-watermark::after {
  right: max(24px, calc((100% - 1120px) / 2));
  -webkit-text-stroke-color: rgba(255, 255, 255, 0.12);
}

.data-section > * {
  position: relative;
  z-index: 1;
}

.data-section .section__label,
.data-section h2,
.data-section .section__head p {
  color: var(--white);
}

.data-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.data-item {
  min-height: 160px;
  padding: 26px 16px;
  background: rgba(255, 255, 255, 0.08);
}

.data-item strong {
  font-family: var(--font-en);
  font-size: 2.7rem;
  line-height: 1;
}

.data-item span {
  margin-left: 4px;
  font-weight: 800;
  white-space: nowrap;
}

.data-item p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
}

.data-notes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 34px;
}

.data-notes article {
  padding: 28px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.data-notes h3,
.data-notes p {
  color: var(--white);
}

.data-section .marker {
  color: var(--white);
  background: linear-gradient(transparent 58%, rgba(255, 255, 255, 0.2) 58%);
  background-size: 0% 100%;
  background-repeat: no-repeat;
}

.section-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.data-section .section-note {
  position: relative;
  z-index: 2;
  max-width: 52ch;
  margin-top: 22px;
  padding: 10px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.environment-section {
  width: min(1240px, calc(100% - 48px));
}

.environment-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 16px;
}

.environment-grid figure {
  margin: 0;
  background: var(--white);
  overflow: hidden;
}

.environment-grid figure:first-child {
  grid-row: span 2;
}

.environment-grid img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.environment-grid figure:first-child img {
  min-height: 536px;
}

.environment-grid figcaption {
  padding: 0 14px 14px;
}

.environment-viewport {
  position: relative;
  transition: max-height 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.environment-viewport.is-collapsed {
  overflow: hidden;
}

/* 折りたたみ時は1行目をそろえ、2行目以降を透けて見せる */
.environment-viewport.is-collapsed .environment-grid figure:first-child {
  grid-row: auto;
}

.environment-viewport.is-collapsed .environment-grid figure:first-child img {
  min-height: 260px;
}

.environment-viewport.is-collapsed::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  height: clamp(120px, 22vw, 180px);
  background: linear-gradient(
    to bottom,
    rgba(248, 247, 245, 0) 0%,
    rgba(248, 247, 245, 0.55) 42%,
    var(--paper) 88%
  );
  content: "";
  pointer-events: none;
}

.environment-more {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 16px;
  width: fit-content;
  min-height: 56px;
  margin: 28px auto 0;
  padding: 8px 8px 8px 22px;
  border: 0;
  background: color-mix(in srgb, var(--white) 84%, transparent);
  color: var(--navy);
  box-shadow: 0 12px 28px rgba(48, 41, 39, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  cursor: pointer;
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.28s ease,
    box-shadow 0.28s ease,
    margin 0.3s ease;
}

.environment-viewport.is-collapsed + .environment-more {
  margin-top: -44px;
}

.environment-more__copy {
  display: grid;
  gap: 2px;
  text-align: left;
}

.environment-more__en {
  font-family: var(--font-en);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.2;
  transition: color 0.28s ease;
}

.environment-more__label {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.25;
}

.environment-more__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.28s ease,
    color 0.28s ease;
}

.environment-more__icon::before {
  width: 7px;
  height: 7px;
  margin-top: -2px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  content: "";
  transform: rotate(45deg);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.environment-more[aria-expanded="true"] .environment-more__icon::before {
  margin-top: 2px;
  transform: rotate(-135deg);
}

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

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

.qa-list details {
  position: relative;
  background: var(--white);
  border: 1px solid rgba(48, 41, 39, 0.12);
}

.qa-list__body {
  overflow: hidden;
  transition: height 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.qa-list__body p {
  margin: 0;
  padding: 6px 24px 28px;
  color: var(--muted);
}

.qa-list details::before {
  position: absolute;
  top: 18px;
  left: 12px;
  width: 20px;
  height: 20px;
  background: url("assets/matsuo/decor/iris-mark.svg") center / contain no-repeat;
  content: "";
  opacity: 0.16;
  pointer-events: none;
}

.qa-list summary {
  cursor: pointer;
  padding: 20px 24px 20px 44px;
  color: var(--navy);
  font-weight: 800;
  list-style: none;
}

.qa-list summary::-webkit-details-marker {
  display: none;
}

.qa-list p {
  margin: 0;
  padding: 6px 24px 28px;
  color: var(--muted);
}

/* legacy selector kept for safety */

.jobs-section {
  width: min(1240px, calc(100% - 48px));
}

.text-link {
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 5px;
}

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

.job-grid--single {
  grid-template-columns: minmax(0, 720px);
  justify-content: center;
}

.job-grid--dual {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.job-card {
  display: grid;
  gap: 18px;
  align-content: start;
  min-height: 430px;
  padding: 28px;
  background: var(--white);
  border: 1px solid rgba(48, 41, 39, 0.12);
  box-shadow: 0 12px 32px rgba(48, 41, 39, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.job-card > p {
  margin: 0;
  color: var(--blue);
  font-size: 0.86rem;
  font-weight: 900;
}

.job-card dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.job-card dl div {
  display: grid;
  grid-template-columns: 6.5em 1fr;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.job-card dt {
  color: var(--navy);
  font-weight: 800;
}

.job-card dd {
  margin: 0;
}

.job-card__pay dd {
  display: grid;
  gap: 6px;
  color: var(--navy);
  line-height: 1.55;
}

.job-card__pay-amount {
  font-size: 1.12rem;
  font-weight: 500;
}

.job-card__pay dd > span:not(.job-card__pay-amount) {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.access-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 34px;
  align-items: stretch;
}

.access-info {
  display: grid;
  align-content: center;
  gap: 26px;
  padding: 32px;
  background: var(--white);
  border: 1px solid rgba(48, 41, 39, 0.12);
}

.access-info dl {
  display: grid;
  gap: 16px;
  margin: 0;
}

.access-info dl div {
  display: grid;
  gap: 4px;
}

.access-info dt {
  color: var(--blue);
  font-size: 0.86rem;
  font-weight: 900;
}

.access-info dd {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

.access-photo {
  margin: 0;
}

.access-photo img,
.access-photo iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  display: block;
}

.access-photo img {
  object-fit: cover;
}

.entry-phone {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 22px;
  color: var(--white);
  font-family: var(--font-en);
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.entry-phone span {
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
}

.entry-section {
  position: relative;
  scroll-margin-top: 88px;
  min-height: 520px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.entry-section__media,
.entry-section__media img {
  position: absolute;
  inset: 0;
}

.entry-section__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.entry-section__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(26, 21, 19, 0.86), rgba(26, 21, 19, 0.52));
  content: "";
}

.entry-section__content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.entry-section__content::before {
  position: absolute;
  top: -12px;
  right: 0;
  width: 80px;
  height: 80px;
  background: url("assets/matsuo/decor/iris-mark.svg") center / contain no-repeat;
  content: "";
  opacity: 0.14;
  pointer-events: none;
}

.entry-section .section__label,
.entry-section h2 {
  color: var(--white);
}

.entry-section p {
  max-width: 640px;
}

.entry-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 46px max(24px, calc((100% - 1120px) / 2));
  background: var(--white);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer img {
  width: 140px;
  height: auto;
  margin-bottom: 12px;
}

.site-footer p {
  margin: 4px 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-content: start;
  justify-content: flex-end;
}

.footer-links a {
  color: var(--navy);
  font-weight: 700;
}

.reveal {
  opacity: 1;
  transform: none;
}

.reveal-item {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.62s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.62s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.is-visible .reveal-item {
  opacity: 1;
  transform: none;
}

.reveal.is-visible .reveal-item,
body.hero-ready .hero__inner > * {
  will-change: auto;
}

@keyframes introLoading {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes curtainBack {
  0% { transform: scaleY(0); }
  50% { transform: scaleY(1); }
  100% { transform: translateY(-100%) scaleY(1); }
}

@keyframes curtainFront {
  0% { transform: scaleY(0); }
  50% { transform: scaleY(1); }
  100% { transform: translateY(100%) scaleY(1); }
}

@keyframes scrollLine {
  0% { left: -100%; }
  55% { left: 100%; }
  100% { left: 100%; }
}

@keyframes markerFill {
  from { background-size: 0% 100%; }
  to { background-size: 100% 100%; }
}

@media (hover: hover) {
  .button--primary:hover,
  .button--primary:focus-visible {
    background: #241f1d;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(48, 41, 39, 0.18);
  }

  .button--ghost:hover,
  .button--ghost:focus-visible {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.72);
    transform: translateY(-2px);
  }

  .button--outline:hover,
  .button--outline:focus-visible {
    border-color: rgba(48, 41, 39, 0.42);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(48, 41, 39, 0.1);
  }

  .feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(48, 41, 39, 0.12);
  }

  .feature-card:hover img {
    transform: scale(1.04);
  }

  .job-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(48, 41, 39, 0.12);
  }

  .data-notes article:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  }

  .environment-grid figure:hover img {
    transform: scale(1.04);
  }

  .environment-more:hover,
  .environment-more:focus-visible {
    transform: translateY(-3px);
    background: var(--white);
    box-shadow: 0 16px 34px rgba(48, 41, 39, 0.12);
  }

  .environment-more:hover .environment-more__en,
  .environment-more:focus-visible .environment-more__en {
    color: var(--navy);
  }

  .environment-more:hover .environment-more__icon,
  .environment-more:focus-visible .environment-more__icon {
    transform: scale(1.06);
  }
}

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

  body.intro-active {
    overflow: auto;
  }

  .intro {
    display: none;
  }

  .hero__inner > *,
  .reveal-item,
  .mobile-menu,
  .mobile-menu a {
    opacity: 1;
    transform: none;
  }

  .hero__media {
    transform: none;
    will-change: auto;
  }

  .hero__line::after {
    animation: none;
    left: 0;
  }

  .marker,
  .reveal.is-visible .marker,
  body.hero-ready .marker {
    animation: none;
    background-size: 100% 100%;
  }

  .site-header.is-hidden {
    transform: none;
  }

  .mobile-cta {
    transform: none;
  }
}

@media (min-width: 721px) and (max-width: 1100px) {
  .section__head--row {
    align-items: start;
    gap: 20px;
  }

  .section__head--row > p {
    max-width: 28ch;
    margin-top: 0;
  }
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .site-nav,
  .header-phone {
    display: none;
  }

  .header-actions {
    justify-self: end;
  }

  .nav-toggle {
    display: block;
  }

  .mobile-menu {
    display: grid;
  }

  .hero h1 {
    font-size: 3.6rem;
  }

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

  .environment-grid,
  .job-grid,
  .access-grid {
    grid-template-columns: 1fr;
  }

  .environment-grid figure:first-child {
    grid-row: auto;
  }

  .environment-grid figure:first-child img,
  .environment-grid img,
  .access-photo img,
  .access-photo iframe {
    min-height: 320px;
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 76px;
    scroll-behavior: auto;
  }

  .hero__image {
    transform: none;
    transition: opacity 1.05s ease;
  }

  .hero__image.is-active {
    transform: none;
  }

  .hero__inner > * {
    transform: translateY(14px);
  }

  .reveal-item {
    transform: translateY(12px);
    transition-duration: 0.52s;
  }

  .intro__bar-fill {
    animation-duration: 1s;
  }

  .intro__curtain--back,
  .intro__curtain--front {
    animation-duration: 0.85s;
    animation-delay: 0.75s;
  }

  .mobile-menu {
    top: 66px;
    right: 0;
    left: 0;
    width: auto;
    max-height: calc(100dvh - 66px);
    overflow: auto;
    padding: 10px 16px 18px;
    border-radius: 0 0 18px 18px;
    transform: translateY(-100%);
  }

  .mobile-menu.is-open {
    transform: none;
  }

  .mobile-menu a {
    padding: 14px 8px;
  }

  body {
    font-size: 15px;
    line-height: 1.72;
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }

  .mobile-cta {
    display: grid;
  }

  .mobile-cta[hidden] {
    display: none;
  }

  .floating-cta {
    display: none;
  }

  .site-header {
    min-height: 66px;
    padding: 10px 16px;
  }

  .site-brand {
    min-width: 0;
  }

  .site-brand img {
    width: 100px;
  }

  .site-brand span,
  .header-actions {
    display: none;
  }

  .hero {
    min-height: 66svh;
  }

  .hero__inner {
    width: min(100% - 28px, 1120px);
    padding: 56px 0 48px;
  }

  .hero h1 {
    font-size: clamp(2rem, 9vw, 2.45rem);
    max-width: 10em;
  }

  .hero__sub,
  .hero__lead {
    font-size: 0.94rem;
  }

  .hero__lead {
    margin-top: 18px;
  }

  .hero__actions {
    margin-top: 22px;
  }

  .hero__actions,
  .entry-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero__actions .button,
  .entry-actions .button {
    width: 100%;
  }

  .hero__foot {
    display: none;
  }

  .hero__decor,
  .hero__watermark {
    display: none;
  }

  .section,
  .feature-section,
  .environment-section,
  .jobs-section {
    scroll-margin-top: 76px;
    width: min(100% - 28px, 1120px);
    padding: 28px 0;
  }

  .message.section {
    width: min(100% - 28px, 920px);
  }

  .hero + .section {
    padding-top: clamp(18px, 4vw, 26px);
  }

  .entry-section {
    scroll-margin-top: 76px;
  }

  .data-section {
    scroll-margin-top: 76px;
    padding: 28px 16px;
  }

  .has-watermark::after {
    display: none;
  }

  .has-curve::before {
    display: none;
  }

  .section-ornament {
    display: none;
  }

  .has-decor--iris::before,
  .has-decor--grain::before,
  .has-decor--dots::before,
  .has-decor--corner::before {
    display: none;
  }

  .feature-track::before,
  .job-card::after,
  .qa-list details::before,
  .entry-section__content::before {
    display: none;
  }

  body::before {
    display: none;
  }

  .qa-list {
    gap: 10px;
  }

  .qa-list summary {
    padding: 16px 20px 16px 24px;
  }

  .qa-list__body p {
    padding: 4px 20px 22px;
  }

  .data-section {
    background: var(--navy);
  }

  .section__head--row {
    display: grid;
    gap: 10px;
  }

  .section__label::after {
    width: 32px;
  }

  .section h2,
  .entry-section h2 {
    font-size: clamp(1.62rem, 7.6vw, 1.92rem);
    line-height: 1.3;
  }

  .section__head p,
  .entry-section p {
    margin-top: 10px;
    line-height: 1.62;
  }

  .section__head {
    margin-bottom: 14px;
  }

  .section__label,
  .hero__kicker {
    margin-bottom: 8px;
  }

  .section-note {
    margin: 12px 0 0;
    font-size: 0.86rem;
    line-height: 1.6;
  }

  .message__photo::before,
  .message__photo::after {
    display: none;
  }

  .feature-section {
    padding: 24px 0;
  }

  .feature-section .section__head {
    margin-bottom: 12px;
  }

  .feature-section .section__head p {
    font-size: 0.88rem;
    line-height: 1.6;
  }

  .feature-track {
    grid-auto-flow: column;
    grid-auto-columns: minmax(248px, 78vw);
    grid-template-columns: unset;
    gap: 10px;
    overflow-x: auto;
    padding: 2px 2px 10px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .feature-card {
    display: flex;
    flex-direction: column;
    min-height: 0;
    scroll-snap-align: start;
  }

  .feature-card img {
    grid-row: auto;
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: 108px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }

  .feature-card > span {
    margin: 10px 14px 2px;
    font-size: 0.72rem;
  }

  .feature-card h3 .phrase {
    display: inline;
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
  }

  .feature-card h3,
  .feature-card p {
    padding: 0 14px;
  }

  .feature-card h3 {
    font-size: 0.96rem;
    line-height: 1.38;
  }

  .feature-card p {
    margin: 4px 0 12px;
    font-size: 0.82rem;
    line-height: 1.52;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

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

  .data-notes,
  .job-grid {
    grid-template-columns: 1fr;
  }

  .data-item {
    min-height: 92px;
    padding: 14px 12px;
  }

  .data-item strong {
    font-size: 1.95rem;
  }

  .data-item p {
    margin-top: 8px;
    font-size: 0.82rem;
    line-height: 1.5;
  }

  .data-notes {
    gap: 10px;
    margin-top: 14px;
  }

  .data-notes article {
    padding: 16px;
  }

  .job-grid {
    gap: 10px;
  }

  .feature-card h3 {
    font-size: 1.02rem;
    line-height: 1.4;
  }

  .job-card dd,
  .job-card p {
    font-size: 0.88rem;
    line-height: 1.58;
  }

  .job-card {
    min-height: 0;
    gap: 12px;
    padding: 18px;
  }

  .job-card dl {
    gap: 10px;
  }

  .job-card dl div {
    padding-bottom: 10px;
  }

  .data-section::before {
    display: none;
  }

  .job-card dl div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .access-info {
    gap: 20px;
    padding: 18px;
  }

  .access-photo {
    display: block;
  }

  .access-photo iframe {
    min-height: 280px;
  }

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

  .environment-grid figure:first-child {
    grid-row: auto;
  }

  .environment-grid figure:first-child img,
  .environment-grid img {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .environment-grid figcaption {
    padding: 0 8px 8px;
    font-size: 0.8rem;
  }

  .environment-viewport.is-collapsed .environment-grid figure:first-child img {
    min-height: 0;
  }

  .environment-viewport.is-collapsed + .environment-more {
    margin-top: -36px;
  }

  .entry-section {
    min-height: 340px;
    padding: 28px 0;
    align-items: center;
  }

  .entry-section__content {
    width: min(100% - 32px, 1120px);
  }

  .entry-section h2 {
    font-size: clamp(1.55rem, 7.2vw, 1.85rem);
    line-height: 1.32;
  }

  .entry-section p {
    margin-top: 8px;
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .entry-actions {
    margin-top: 16px;
    gap: 8px;
  }

  .site-footer {
    display: grid;
    padding: 28px 16px;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (min-width: 721px) {
  body {
    font-size: 16px;
    line-height: 1.8;
    padding-bottom: 0;
  }

  .hero {
    min-height: 82svh;
  }

  .hero__inner {
    width: min(1120px, calc(100% - 48px));
    padding: 112px 0 110px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 7.2vw, 4.6rem);
  }

  .hero__sub {
    font-size: 1.04rem;
  }

  .hero__lead {
    margin-top: 28px;
    font-size: 1.02rem;
  }

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

  .hero__actions .button {
    width: auto;
  }

  .section,
  .environment-section,
  .jobs-section {
    width: min(1120px, calc(100% - 48px));
    padding: clamp(52px, 7vw, 88px) 0;
  }

  .feature-section {
    width: min(1240px, calc(100% - 48px));
    padding: clamp(52px, 7vw, 88px) 0;
  }

  .message.section {
    width: min(920px, calc(100% - 48px));
  }

  .hero + .section {
    padding-top: clamp(36px, 5vw, 64px);
  }

  .data-section {
    padding-top: clamp(52px, 7vw, 88px);
    padding-bottom: clamp(52px, 7vw, 88px);
    padding-right: max(24px, calc((100% - 1120px) / 2));
    padding-left: max(24px, calc((100% - 1120px) / 2));
  }

  .section__head {
    margin-bottom: clamp(20px, 3.5vw, 34px);
  }

  .section__head p {
    margin-top: 14px;
    line-height: 1.8;
  }

  .section h2,
  .entry-section h2 {
    font-size: 2.6rem;
    line-height: 1.22;
  }

  .feature-section .section__head {
    margin-bottom: clamp(20px, 3.5vw, 34px);
  }

  .feature-section .section__head p {
    font-size: inherit;
    line-height: 1.8;
  }

  .feature-track {
    grid-auto-flow: column;
    grid-auto-columns: minmax(300px, 390px);
    grid-template-columns: unset;
    gap: 18px;
    overflow-x: auto;
    padding: 4px 2px 20px;
    scroll-snap-type: x mandatory;
  }

  .feature-card {
    display: block;
    min-height: 540px;
  }

  .feature-card img {
    max-height: none;
    aspect-ratio: 4 / 3;
  }

  .feature-card > span {
    margin: 24px 24px 8px;
    font-size: 0.9rem;
  }

  .feature-card h3,
  .feature-card p {
    padding: 0 24px;
  }

  .feature-card h3 {
    font-size: 1.25rem;
    line-height: 1.45;
  }

  .feature-card p {
    display: block;
    overflow: visible;
    margin: 8px 0 18px;
    font-size: inherit;
    line-height: inherit;
    -webkit-line-clamp: unset;
  }

  .access-photo {
    display: block;
  }

  .entry-section {
    min-height: 520px;
    padding: 0;
  }

  .entry-section__content {
    width: min(1120px, calc(100% - 48px));
  }

  .entry-section h2 {
    font-size: 2.6rem;
    line-height: 1.22;
  }

  .entry-section p {
    margin-top: 0;
    font-size: inherit;
    line-height: 1.8;
    max-width: 640px;
  }

  .entry-actions {
    display: flex;
    flex-wrap: wrap;
    margin-top: 28px;
    gap: 12px;
  }

  .entry-actions .button {
    width: auto;
  }

  .site-footer {
    display: flex;
    padding: 46px max(24px, calc((100% - 1120px) / 2));
  }
}

@media (max-width: 720px) {
  .entry-phone {
    margin-top: 14px;
  }

  .feature-card__en {
    padding-top: 4px;
    font-size: 0.62rem;
    letter-spacing: 0.12em;
  }

  .feature-card h3 {
    min-height: 4.2rem;
  }
}

@media (max-width: 360px) {
  .feature-track {
    grid-auto-columns: minmax(228px, 84vw);
  }

  .data-grid,
  .environment-grid {
    grid-template-columns: 1fr;
  }
}
