@charset "UTF-8";

/* =========================================================
   Design tokens
   ========================================================= */
:root {
  --c-black: #1a1311;
  --c-white: #ffffff;
  --c-light-grey: #f2f4f8;
  --c-blue: #003872;

  --ff-mincho:
    'MFW-PA1MinchoStdN-Regular', 'A P-OTF A1 Mincho StdN', 'A1 Mincho',
    'Noto Serif JP', '游明朝', 'Yu Mincho', serif;
  --ff-sans-jp:
    'Noto Sans JP', 'ヒラギノ角ゴ ProN', 'Hiragino Kaku Gothic ProN',
    'Yu Gothic', 'メイリオ', sans-serif;
  --ff-alwyn:
    'alwyn-new-web', 'Helvetica Neue', 'Arial Black', 'Impact', sans-serif;

  --side-padding: 10%;
  --side-padding-narrow: 10%;

  --header-height: 80px;
}

/* =========================================================
   Reset / Base
   ========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 14px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--ff-sans-jp);
  font-weight: 400;
  color: var(--c-black);
  background: var(--c-white);
  line-height: 1.5;
  min-width: 320px;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
  vertical-align: middle;
}

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

button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: inherit;
  font: inherit;
}

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

p {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: normal;
}

/* =========================================================
   Layout helpers
   ========================================================= */
.site-main {
  width: 100%;
}

/* Outlined display text (OUR CHALLENGE / PHILOSOPHY / ENGINEER / ENTRY etc.) */
.display-text {
  font-family: var(--ff-alwyn);
  font-weight: 700;
  font-style: italic;
  font-size: 128px;
  line-height: 1;
  letter-spacing: 0;
  color: var(--c-white);
  -webkit-text-stroke: 4px var(--c-black);
  text-stroke: 4px var(--c-black);
  paint-order: stroke fill;
  white-space: nowrap;
  margin: 0;
}

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--c-white);
  z-index: 100;
}

.site-header__inner {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  padding-left: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header__logo {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 100%;
}

.site-header__logo-img {
  width: 62px;
  height: 50px;
  display: block;
}

.site-header__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 38px;
  padding: 10px 0;
  background: var(--c-black);
  color: var(--c-white);
  font-family: var(--ff-alwyn);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 1px;
}

.site-header__entry {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-blue);
  color: var(--c-white);
  font-family: var(--ff-alwyn);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0;
}

.site-header__menu {
  width: 80px;
  height: 80px;
  background: var(--c-black);
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-header__menu img {
  width: 40px;
  height: 40px;
  display: block;
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  width: 100%;
  height: calc(100vh + 250px);
  background: var(--c-white);
}

.hero__bg {
  position: absolute;
  top: 170px;
  left: 80px;
  right: 80px;
  height: calc(100vh + 40px);
  overflow: hidden;
}

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

.hero__title {
  position: absolute;
  top: 80px;
  left: 160px;
  width: 65%;
  height: auto;
  background: var(--c-white);
  border: 2px solid var(--c-black);
  padding: 30px;
  z-index: 2;
  animation: heroTitleReveal 0.9s cubic-bezier(0.77, 0, 0.175, 1) 0.5s both;
}

@keyframes heroTitleReveal {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}

.hero__title img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hero__label {
  position: absolute;
  bottom: 0;
  right: 0;
  max-width: 100%;
  height: auto;
  padding: 10px 30px;
  background: var(--c-white);
  border: 2px solid var(--c-black);
  border-right: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-alwyn);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 2px;
  line-height: 50px;
  color: var(--c-black);
  z-index: 2;
  animation: heroTitleReveal 0.9s cubic-bezier(0.77, 0, 0.175, 1) 1s both;
}

/* SP-only bottom hero image (hidden by default for PC) */
.hero__bg-sp {
  display: none;
}

/* =========================================================
   OUR CHALLENGE
   ========================================================= */
.our-challenge {
  position: relative;
  background: var(--c-white);
  padding: 300px 0;
}

/* Intro block with light grey bg */
.our-challenge__intro {
  position: relative;
  background: var(--c-light-grey);
  padding: 150px var(--side-padding) 200px;
  text-align: center;
}

.our-challenge__display {
  position: absolute;
  top: -54px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.our-challenge__heading {
  font-family: var(--ff-mincho);
  font-size: 68px;
  line-height: 120px;
  color: var(--c-black);
  margin: 0 0 100px;
}

.our-challenge__lead {
  font-family: var(--ff-mincho);
  font-size: 20px;
  line-height: 50px;
  letter-spacing: 0.1em;
  text-align: center;
}

.our-challenge__lead p {
  margin: 0 0 50px;
}

.our-challenge__lead p:last-child {
  margin-bottom: 0;
}

/* =========================================================
   Image + Text rows
   ========================================================= */
.img-text {
  position: relative;
  display: flex;
  align-items: center;
  gap: 100px;
  margin: 200px 0;
}

.img-text--right {
  padding-left: var(--side-padding);
  padding-right: 0;
}

.img-text--right .img-text__img {
  flex: none;
  width: 40%;
  height: 400px;
  margin-left: auto;
  /* overlaps into the our-challenge__intro section above */
  position: relative;
  top: -650px;
  margin-bottom: -650px;
}

.img-text--left {
  padding-left: 0;
  padding-right: var(--side-padding);
}

.img-text--left .img-text__img {
  flex: none;
  width: 40%;
  height: 400px;
}

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

.img-text__text {
  flex: 1;
  font-family: var(--ff-sans-jp);
  font-weight: 400;
  font-size: 17px;
  line-height: 50px;
  letter-spacing: 0.1em;
  color: var(--c-black);
}

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

.img-text__text p {
  margin: 0 0 50px;
}

.img-text__text p:last-child {
  margin-bottom: 0;
}

/* =========================================================
   Stats section
   ========================================================= */
.stats {
  padding: 0 var(--side-padding);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
}

.stats__main-wrap {
  width: 100%;
}

.stats__main {
  position: relative;
  border: 2px solid var(--c-black);
  padding: 100px 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  background-image: url('../images/stats_bg.jpg');
  background-size: cover;
  background-position: center;
}

.stats__main::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.9);
}

.stats__main-inner,
.stats__main-caption {
  position: relative;
  z-index: 1;
}

.stats__main-inner {
  display: flex;
  align-items: center;
  gap: 30px;
}

.stats__main-icon {
  width: 200px;
  height: 167px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stats__main-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.stats__main-num {
  display: flex;
  align-items: baseline;
  gap: 10px;
  white-space: nowrap;
}

.stats__yaku {
  font-family: var(--ff-sans-jp);
  font-weight: 400;
  font-size: 51px;
  line-height: 1;
  color: var(--c-black);
}

.stats__num {
  font-family: var(--ff-alwyn);
  font-weight: 700;
  font-style: italic;
  font-size: 170px;
  line-height: 1;
  letter-spacing: 0;
}

.stats__num--outline,
.stats__unit--outline,
.stats__num-sm--outline,
.stats__unit-sm--outline {
  color: var(--c-white);
  -webkit-text-stroke: 4px var(--c-black);
  text-stroke: 4px var(--c-black);
  paint-order: stroke fill;
}

.stats__unit {
  font-family: var(--ff-sans-jp);
  font-weight: 700;
  font-size: 68px;
  line-height: 1;
}

.stats__main-caption {
  font-family: var(--ff-sans-jp);
  font-weight: 400;
  font-size: 21px;
  line-height: 50px;
  letter-spacing: 0.1em;
  color: var(--c-black);
  text-align: center;
  width: 100%;
}

.stats__source,
.stats__sources {
  font-family: var(--ff-sans-jp);
  font-size: 11px;
  line-height: 20px;
  letter-spacing: 0.1em;
  color: var(--c-black);
  text-align: right;
  width: 100%;
  margin: 20px 0 0;
}

.stats__source a,
.stats__sources a {
  text-decoration: underline;
}

.stats__arrow {
  width: 50px;
  height: 50px;
  transform: rotate(90deg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stats__arrow img {
  width: 100%;
  height: 100%;
  filter: invert(1);
}

.stats__bridge {
  font-family: var(--ff-sans-jp);
  font-weight: 400;
  font-size: 17px;
  line-height: 50px;
  letter-spacing: 0.1em;
  color: var(--c-black);
  width: 100%;
}

.stats__cards-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stats__cards {
  display: flex;
  gap: 30px;
  width: 100%;
}

.stats-card {
  flex: 1;
  background: var(--c-white);
  border: 2px solid var(--c-black);
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  min-height: 510px;
}

.stats-card__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.stats-card__icon {
  height: 126px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stats-card__icon img {
  max-height: 126px;
  width: auto;
  display: block;
}

.stats-card__num-block {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stats-card__title {
  font-family: var(--ff-sans-jp);
  font-weight: 400;
  font-size: 26px;
  line-height: 50px;
  letter-spacing: 0.1em;
  color: var(--c-black);
  margin: 0;
  text-align: center;
}

.stats-card__num {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0;
  white-space: nowrap;
}

.stats__yaku-sm {
  font-family: var(--ff-sans-jp);
  font-weight: 400;
  font-size: 26px;
  line-height: 1;
  color: var(--c-black);
}

.stats__num-sm {
  font-family: var(--ff-alwyn);
  font-weight: 700;
  font-style: italic;
  font-size: 85px;
  line-height: 1;
  letter-spacing: 0;
}

.stats__unit-sm {
  font-family: var(--ff-sans-jp);
  font-weight: 700;
  font-size: 51px;
  line-height: 1;
}

.stats-card__unit {
  font-family: var(--ff-sans-jp);
  font-weight: 400;
  font-size: 26px;
  line-height: 1;
  color: var(--c-black);
}

.stats-card__caption {
  font-family: var(--ff-sans-jp);
  font-weight: 400;
  font-size: 17px;
  line-height: 40px;
  letter-spacing: 0.1em;
  color: var(--c-black);
  text-align: center;
  margin: 0;
}

.stats__conclusion {
  font-family: var(--ff-mincho);
  font-size: 34px;
  line-height: 60px;
  letter-spacing: 0.1em;
  color: var(--c-black);
  text-align: center;
  margin: 50px 0 0;
}

/* =========================================================
   CTA - Story
   ========================================================= */
.cta-story {
  position: relative;
  margin-top: 150px;
  min-height: 965px;
  padding-left: 30%;
}

.cta-story__img {
  position: absolute;
  left: 10%;
  top: 0;
  width: 30%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  z-index: 1;
}

.cta-story__img img {
  width: 150%;
  height: 100%;
  object-fit: cover;
  position: relative;
  display: block;
}

.cta-story__content {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.cta-story__intro {
  font-family: var(--ff-sans-jp);
  font-weight: 400;
  font-size: 17px;
  line-height: 50px;
  letter-spacing: 0.1em;
  text-align: center;
  width: 100%;
  margin: 0;
}

.cta-story__intro + .cta-story__intro {
  padding-top: 50px;
  padding-bottom: 100px;
}

.cta-story__highlight {
  width: 100%;
  background: var(--c-light-grey);
  padding: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.cta-story__highlight p {
  font-family: var(--ff-mincho);
  font-size: 42px;
  line-height: 80px;
  letter-spacing: 0.05em;
  color: var(--c-black);
  width: 848px;
  margin: 0;
}

.cta-story__btn {
  padding: 100px 186px 0 0;
  display: flex;
  justify-content: flex-end;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 15px 30px;
  background: var(--c-black);
  border: 1px solid var(--c-black);
  color: var(--c-white);
  transition: opacity 0.2s ease;
}

.btn:hover {
  opacity: 0.85;
}

.btn--blue {
  background: var(--c-blue);
  border-color: var(--c-blue);
}

.btn--lg {
  width: 700px;
  gap: 5px;
}

.btn--md {
  width: 600px;
  gap: 0;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between;
}

.btn__label {
  font-family: var(--ff-alwyn);
  font-weight: 700;
  font-size: 15px;
  line-height: 30px;
  letter-spacing: 0;
}

.btn__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.btn__text {
  font-family: var(--ff-mincho);
  font-size: 26px;
  line-height: 40px;
  color: var(--c-white);
}

.btn--md .btn__text {
  font-size: 21px;
  line-height: 40px;
}

.btn__arrow {
  width: 24px;
  height: 24px;
  display: block;
}

/* =========================================================
   Section heading (PHILOSOPHY / ENVIRONMENT / ENGINEER)
   ========================================================= */
.section-head {
  position: relative;
  display: inline-block;
}

.section-head__display {
  position: absolute;
  z-index: 3;
  top: -102px;
  left: -102px;
  white-space: nowrap;
}

.section-head__frame {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 30px;
  padding: 60px 50px 40px;
  background: var(--c-white);
  border: 2px solid var(--c-black);
}

.section-head__plus {
  width: 40px;
  height: 40px;
  display: block;
}

.section-head__ja {
  font-family: var(--ff-mincho);
  font-size: 68px;
  line-height: 80px;
  color: var(--c-black);
  white-space: nowrap;
}

/* =========================================================
   Section block (shared wrapper)
   ========================================================= */
.section-block {
  position: relative;
}

/* =========================================================
   PHILOSOPHY
   ========================================================= */
.philosophy {
  position: relative;
}

/* light grey bg only over the right portion (x:186 to 1920) */
.philosophy::before {
  content: '';
  position: absolute;
  inset: 0 0 0 186px;
  background: var(--c-light-grey);
  z-index: 0;
}

.philosophy__images {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.philosophy__img-top {
  position: absolute;
  top: -50px;
  left: 0;
  width: 40%;
  height: 496px;
  object-fit: cover;
}

.philosophy__img-bottom {
  position: absolute;
  top: 650px;
  left: 0;
  width: 30%;
  height: 353px;
  object-fit: cover;
}

.philosophy .section-head {
  position: absolute;
  top: -140px;
  left: var(--side-padding);
  z-index: 3;
}

.philosophy__body {
  position: relative;
  z-index: 1;
  padding: 200px var(--side-padding) 200px 45%;
  display: flex;
  justify-content: flex-end;
  height: 100%;
  box-sizing: border-box;
}

.philosophy__body-inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 50px;
}

.philosophy__text {
  font-family: var(--ff-sans-jp);
  font-weight: 400;
  font-size: 17px;
  line-height: 50px;
  letter-spacing: 0.1em;
  color: var(--c-black);
  margin: 0;
}

.philosophy__body-inner .btn {
  margin-top: 50px;
}

/* =========================================================
   ENVIRONMENT
   ========================================================= */
.environment {
  position: relative;
  margin-top: 200px;
}

.environment__img-wrap {
  position: relative;
  height: 490px;
}

.environment__img {
  position: absolute;
  right: 0;
  top: 0;
  width: 1340px;
  height: 490px;
  object-fit: cover;
  display: block;
}

.environment__head {
  position: absolute;
  left: var(--side-padding);
  top: 350px;
  z-index: 3;
}

.environment__body {
  background: var(--c-light-grey);
  padding: 250px var(--side-padding) 200px;
  position: relative;
}

.environment__body-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 100px;
}

.environment__text {
  font-family: var(--ff-sans-jp);
  font-weight: 400;
  font-size: 17px;
  line-height: 50px;
  letter-spacing: 0.1em;
  color: var(--c-black);
  width: 100%;
  margin: 0;
}

.environment__buttons {
  display: flex;
  flex-direction: column;
  gap: 50px;
  align-items: flex-end;
}

/* =========================================================
   Image strip (4 images bleed off page edges)
   ========================================================= */
.img-strip {
  width: 100%;
  overflow: hidden;
}

.img-strip__inner {
  display: flex;
  gap: 100px;
  justify-content: center;
  width: max-content;
  margin: 0 auto;
}

.img-strip img {
  width: 600px;
  height: 350px;
  object-fit: cover;
  display: block;
  flex: none;
}

/* =========================================================
   ENGINEER
   ========================================================= */
.engineer {
  margin-top: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.engineer__head {
  margin-top: -65px;
  position: relative;
  z-index: 2;
}

.engineer__body {
  width: 100%;
  margin-top: 100px;
  padding: 0 var(--side-padding);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 100px;
  box-sizing: border-box;
}

.engineer__text {
  font-family: var(--ff-sans-jp);
  font-weight: 400;
  font-size: 17px;
  line-height: 50px;
  letter-spacing: 0.1em;
  color: var(--c-black);
  width: 100%;
  text-align: left;
}

/* =========================================================
   ENTRY
   ========================================================= */
.entry {
  margin-top: 200px;
  padding-bottom: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.entry .img-strip {
  overflow: hidden;
}

.entry__cta-wrap {
  position: relative;
  width: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
  top: -75px;
}

.entry__display {
  font-size: 128px;
  line-height: 1;
  position: relative;
  z-index: 3;
  margin-bottom: -75px;
}

.entry__cta {
  width: 100%;
  background: var(--c-blue);
  color: var(--c-white);
  padding: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  position: relative;
  z-index: 2;
}

.entry__cta span {
  font-family: var(--ff-mincho);
  font-size: 42px;
  line-height: 80px;
  letter-spacing: 0.05em;
  color: var(--c-white);
}

.entry__cta img {
  width: 50px;
  height: 50px;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  position: relative;
  background: var(--c-light-grey);
}

/* In-flow decoration ("新しい挑戦…" text image) below the WPST banner.
   PC: 250px gap from the banner, SP override below sets 150px. */
.site-footer__decor {
  position: relative;
  width: 80%;
  margin: 150px auto 0;
  pointer-events: none;
}

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

.site-footer__main {
  position: relative;
  padding: 100px 80px 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
}

.site-footer__brand .site-header__logo {
  height: auto;
}

.site-footer__plus {
  width: 40px;
  height: 40px;
}

.site-footer__row {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.site-footer__cols {
  display: flex;
  gap: 100px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.footer-col__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-col__label {
  font-family: var(--ff-alwyn);
  font-weight: 700;
  font-size: 15px;
  color: var(--c-black);
}

.footer-col__line {
  width: 50px;
  height: 2px;
  background: var(--c-black);
  display: block;
}

.footer-col__heading {
  font-family: var(--ff-mincho);
  font-size: 51px;
  line-height: 80px;
  color: var(--c-black);
  display: block;
}

.footer-col__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--ff-mincho);
  font-size: 17px;
  line-height: 40px;
  color: var(--c-black);
}

.site-footer__buttons {
  display: flex;
  flex-direction: row;
  gap: 50px;
}

.site-footer__buttons .btn--lg {
  flex: 1;
}

.site-footer__corp {
  align-self: flex-end;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-alwyn);
  font-weight: 400;
  font-size: 15px;
  line-height: 30px;
  color: var(--c-black);
}

.site-footer__corp img {
  width: 16px;
  height: 16px;
}

.site-footer__bottom {
  background: var(--c-black);
  height: 80px;
  padding: 30px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--c-white);
}

.site-footer__bottom p {
  margin: 0;
  font-family: var(--ff-alwyn);
  font-size: 15px;
  line-height: 30px;
}

.site-footer__bottom a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-alwyn);
  font-size: 15px;
  line-height: 30px;
  color: var(--c-white);
}

.site-footer__bottom a img {
  width: 16px;
  height: 16px;
  filter: invert(1);
}

/* =========================================================
   Responsive — SP (max-width: 768px)
   Values use vw / % where possible so layouts work between 320–768px.
   ========================================================= */
@media (max-width: 768px) {
  :root {
    --side-padding: 5%;
    --side-padding-narrow: 5%;
    --header-height: 60px;
  }

  /* ---------- Header ---------- */
  .site-header__inner {
    padding-left: 20px;
  }
  .site-header__logo {
    gap: 15px;
    height: 60px;
  }
  .site-header__logo-img {
    width: 44px;
    height: 35px;
  }
  .site-header__badge {
    width: auto;
    height: auto;
    padding: 10px;
    font-size: 13px;
  }
  .site-header__entry {
    display: none; /* hidden in SP layout */
  }
  .site-header__menu {
    width: 60px;
    height: 60px;
  }
  .site-header__menu img {
    width: 30px;
    height: 30px;
  }

  /* ---------- Hero ---------- */
  .hero {
    height: 85vh;
    padding: 60px 30px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
  .hero__bg {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: 100%;
    height: auto;
    flex: 1;
    min-height: 0;
    margin: 42px auto 0;
  }
  .hero__bg img,
  .hero__bg picture {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .hero__title {
    position: relative;
    top: auto;
    left: auto;
    width: calc(100% + 40px);
    max-width: 383px;
    height: auto;
    padding: 10px;
    z-index: 3;
  }
  .hero__title img {
    width: 100%;
    height: auto;
    max-height: 162px;
    object-fit: contain;
  }
  .hero__bg-sp {
    display: block;
    position: relative;
    width: 100%;
    height: auto;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    margin: 0 auto;
  }
  .hero__bg-sp img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .hero__label {
    position: relative;
    top: auto;
    right: auto;
    align-self: flex-end;
    margin-right: -30px;
    margin-top: -17px;
    width: auto;
    max-width: none;
    height: auto;
    padding: 10px;
    border-right: none;
    border-width: 1px;
    font-size: 11px;
    letter-spacing: 1.2px;
    line-height: 1.4;
  }

  /* ---------- Display text (outlined English) ---------- */
  .display-text {
    font-size: 45px;
    -webkit-text-stroke-width: 2px;
    text-stroke-width: 2px;
  }

  /* ---------- OUR CHALLENGE intro ---------- */
  .our-challenge {
    padding: 150px 0;
  }
  .our-challenge__intro {
    padding: 50px 20px 80px;
  }
  .our-challenge__display {
    top: -22px;
  }
  .our-challenge__heading {
    font-size: 27px;
    line-height: 40px;
    margin: 0 0 50px;
  }
  .our-challenge__lead {
    font-size: 15px;
    line-height: 30px;
    letter-spacing: 0.05em;
    text-align: left;
  }
  .our-challenge__lead p {
    margin: 0 0 30px;
  }

  /* ---------- Image + Text rows ---------- */
  .img-text {
    flex-direction: column;
    align-items: stretch;
    gap: 50px;
    margin: 0;
    padding: 0 20px !important;
    top: 0px;
  }
  .img-text--right,
  .img-text--left {
    padding-left: 20px;
    padding-right: 20px;
  }
  .img-text--right .img-text__img,
  .img-text--left .img-text__img {
    width: 100%;
    max-width: 300px;
    height: 172px;
    margin: 0 auto;
    flex: none;
    order: -1;
  }
  .img-text--right .img-text__img {
    margin-left: auto;
    margin-right: 0;
    margin-top: 0;
    margin-bottom: 0;
    top: 0px;
  }
  .img-text--left .img-text__img {
    margin: 0 auto 0 0;
  }
  .img-text__text {
    font-size: 13px;
    line-height: 30px;
    letter-spacing: 0.05em;
  }
  .img-text__text p {
    margin: 0 0 30px;
  }
  .img-text__text--center {
    text-align: left;
  }

  /* ---------- Stats ---------- */
  .stats {
    padding: 50px 20px;
    gap: 30px;
  }
  .stats__main {
    padding: 30px 20px;
    border-width: 1px;
    gap: 20px;
  }
  .stats__main-inner {
    flex-direction: column;
    gap: 20px;
  }
  .stats__main-icon {
    width: 84px;
    height: 100px;
  }
  .stats__main-num {
    align-items: baseline;
    gap: 5px;
  }
  .stats__yaku {
    font-size: 27px;
  }
  .stats__num {
    font-size: 90px;
  }
  .stats__num,
  .stats__unit--outline,
  .stats__num-sm,
  .stats__unit-sm--outline {
    -webkit-text-stroke-width: 2px;
    text-stroke-width: 2px;
  }
  .stats__unit {
    font-size: 36px;
  }
  .stats__main-caption {
    font-size: 14px;
    line-height: 30px;
  }
  .stats__source,
  .stats__sources {
    font-size: 9px;
    line-height: 18px;
    text-align: left;
  }
  .stats__arrow {
    width: 30px;
    height: 30px;
  }
  .stats__bridge {
    font-size: 13px;
    line-height: 30px;
    letter-spacing: 0.05em;
  }
  .stats__cards {
    flex-direction: column;
    gap: 30px;
  }
  .stats-card {
    width: 100%;
    min-height: 0;
    padding: 30px 20px;
    border-width: 1px;
  }
  .stats-card__icon {
    height: 100px;
  }
  .stats-card__icon img {
    max-height: 100px;
  }
  .stats-card__title {
    font-size: 20px;
    line-height: 40px;
  }
  .stats__yaku-sm {
    font-size: 20px;
  }
  .stats__num-sm {
    font-size: 63px;
  }
  .stats__unit-sm {
    font-size: 36px;
  }
  .stats-card__unit {
    font-size: 20px;
  }
  .stats-card__caption {
    font-size: 13px;
    line-height: 26px;
    margin-top: 10px;
  }
  .stats__conclusion {
    font-size: 20px;
    line-height: 36px;
    margin-top: 30px;
  }

  /* ---------- CTA Story ---------- */
  .cta-story {
    margin-top: 80px;
    min-height: 0;
    padding-left: 0;
    display: flex;
    flex-direction: column;
  }
  .cta-story__img {
    position: relative;
    left: auto;
    top: auto;
    width: calc(100% - 40px);
    max-width: 362px;
    height: auto;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
  }
  .cta-story__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: static;
    left: auto;
  }
  .cta-story__content {
    width: 100%;
  }
  .cta-story__intro {
    padding: 50px 20px 0;
    font-size: 13px;
    line-height: 30px;
    letter-spacing: 0.05em;
    text-align: left;
  }
  .cta-story__intro + .cta-story__intro {
    padding-top: 20px;
    padding-bottom: 50px;
  }
  .cta-story__highlight {
    padding: 30px;
  }
  .cta-story__highlight p {
    font-size: 20px;
    line-height: 40px;
    width: 100%;
  }
  .cta-story__btn {
    padding: 50px 20px 0;
    justify-content: stretch;
  }

  /* ---------- Buttons ---------- */
  .btn--lg,
  .btn--md {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 20px;
  }
  .btn__label {
    font-size: 13px;
    line-height: 20px;
  }
  .btn__text {
    font-size: 18px;
    line-height: 20px;
  }
  .btn--md .btn__text {
    font-size: 18px;
  }
  .btn__arrow {
    width: 20px;
    height: 20px;
  }

  /* ---------- Section head (PHILOSOPHY / ENVIRONMENT / ENGINEER) ---------- */
  .section-head__frame {
    gap: 20px;
    padding: 20px 20px 10px;
    border-width: 1px;
  }
  .section-head__plus {
    width: 30px;
    height: 30px;
  }
  .section-head__ja {
    font-size: 20px;
    line-height: 22px;
  }
  .section-head__display {
    top: -30px;
    left: -30px;
    font-size: 45px;
  }

  /* ---------- PHILOSOPHY ---------- */
  .philosophy {
    height: auto;
  }
  .philosophy::before {
    inset: 225px 0 0 0; /* light grey starts after the top image */
  }
  .philosophy__images {
    position: relative;
  }
  .philosophy__img-top {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    max-width: 402px;
    height: 180px;
    margin: 45px auto 0;
    display: block;
  }
  .philosophy__img-bottom {
    position: relative;
    top: auto;
    left: 0;
    width: 100%;
    max-width: 300px;
    height: 176px;
    margin: 20px 0 0;
    display: block;
  }
  .philosophy .section-head {
    position: absolute;
    top: -40px;
    left: 0;
    width: 100%;
    transform: none;
    display: flex;
    justify-content: center;
    z-index: 4;
  }
  .philosophy .section-head__display {
    left: 50%;
    transform: translateX(-50%);
  }
  .philosophy__body {
    position: relative;
    padding: 50px 20px 100px;
    display: block;
    height: auto;
  }
  .philosophy__body-inner {
    width: 100%;
    gap: 30px;
  }
  .philosophy__text {
    font-size: 13px;
    line-height: 30px;
    letter-spacing: 0.05em;
  }
  .philosophy__body-inner .btn {
    margin-top: 30px;
  }

  /* ---------- ENVIRONMENT ---------- */
  .environment {
    margin-top: 150px;
    padding-bottom: 0;
  }
  .environment__img-wrap {
    height: 180px;
  }
  .environment__img {
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
    max-width: 402px;
    height: 180px;
    margin: 45px auto 0;
    display: block;
  }
  .environment__head {
    position: absolute;
    left: 0;
    top: -40px;
    width: 100%;
    transform: none;
    display: flex;
    justify-content: center;
    z-index: 4;
  }
  .environment__head .section-head__display {
    left: 50%;
    transform: translateX(-50%);
  }
  .environment__body {
    padding: 50px 20px 100px;
    margin-top: 0;
  }
  .environment__body-inner {
    align-items: stretch;
    gap: 30px;
  }
  .environment__text {
    font-size: 13px;
    line-height: 30px;
    letter-spacing: 0.05em;
  }
  .environment__buttons {
    gap: 30px;
    align-items: stretch;
  }

  /* ---------- ENGINEER ---------- */
  .engineer {
    margin-top: 100px;
    align-items: stretch;
  }
  .engineer .img-strip,
  .entry .img-strip {
    height: 117px;
  }
  .img-strip__inner {
    gap: 30px;
  }
  .img-strip img {
    width: 200px;
    height: 117px;
  }
  .engineer__head {
    margin-top: -35px;
    align-self: stretch;
    display: flex;
    justify-content: center;
    z-index: 2;
    position: relative;
  }
  .engineer__head .section-head__display {
    left: 50%;
    transform: translateX(-50%);
  }
  .engineer__body {
    margin-top: 0px;
    padding: 50px 20px 0;
    gap: 50px;
    align-items: stretch;
  }
  .engineer__text {
    font-size: 13px;
    line-height: 30px;
    letter-spacing: 0.05em;
  }

  /* ---------- ENTRY ---------- */
  .entry {
    margin: 100px 0 -32px;
    padding-bottom: 0;
  }
  .entry__cta-wrap {
    width: 100%;
    box-sizing: border-box;
    top: -32px;
  }
  .entry__display {
    font-size: 45px;
    line-height: 1;
    margin-bottom: -18px;
  }
  .entry__cta {
    padding: 30px 20px;
    gap: 20px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .entry__cta span {
    font-size: 20px;
    line-height: 1.4;
  }
  .entry__cta img {
    width: 30px;
    height: 30px;
    flex: none;
  }

  /* ---------- Footer ---------- */
  .site-footer__decor {
    width: 90%;
    margin-top: 50px;
  }
  .site-footer__main {
    padding: 50px 20px 0;
    gap: 20px;
  }
  .site-footer__brand {
    gap: 10px;
  }
  .site-footer__brand .site-header__logo {
    height: 60px;
    gap: 15px;
  }
  .site-footer__plus {
    width: 30px;
    height: 30px;
  }
  .site-footer__row {
    flex-direction: column;
    align-items: stretch;
    gap: 50px;
  }
  .site-footer__cols {
    flex-direction: column;
    gap: 50px;
    max-width: none;
    width: 100%;
  }
  .footer-col {
    gap: 20px;
  }
  .footer-col__head {
    gap: 10px;
  }
  .footer-col__label {
    font-size: 13px;
  }
  .footer-col__heading {
    font-size: 27px;
    line-height: 40px;
  }
  .footer-col__list {
    font-size: 14px;
    line-height: 40px;
    gap: 0;
    letter-spacing: 0.05em;
  }
  .site-footer__buttons {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
    width: 100%;
  }
  .site-footer__buttons .btn--lg {
    width: 100%;
    padding: 20px;
  }
  .site-footer__corp {
    align-self: flex-end;
    gap: 5px;
    font-size: 13px;
  }
  .site-footer__bottom {
    padding: 0 20px;
    height: 60px;
    width: 100%;
    margin-top: 20px;
    box-sizing: border-box;
  }
  .site-footer__bottom p,
  .site-footer__bottom a {
    font-size: 11px;
    line-height: 30px;
  }
  .site-footer__bottom a {
    gap: 5px;
  }
  .site-footer__bottom a img {
    width: 14px;
    height: 14px;
  }

  /* ---------- Site main ---------- */
  .site-main {
    width: 100%;
    overflow: hidden;
  }
}

/* Extra-small phones (≤ 360px) */
@media (max-width: 360px) {
  .our-challenge__heading {
    font-size: 23px;
    line-height: 36px;
  }
  .cta-story__highlight p {
    font-size: 18px;
    line-height: 36px;
  }
  .footer-col__heading {
    font-size: 23px;
  }
  .entry__cta span {
    font-size: 18px;
  }
}

/* =========================================================
   STORY page (PC only — SP styles to be added later)
   ========================================================= */

/* ----- Hero ----- */
.story-hero {
  position: relative;
  padding-top: var(--header-height);
  padding-left: var(--side-padding);
}

.story-hero__img {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
}

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

.story-hero__fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0) 20%
  );
  pointer-events: none;
}

.story-hero__head {
  position: relative;
  z-index: 3;
  margin-top: -65px;
  display: inline-block;
}

.story-hero__head .section-head {
  display: inline-block;
}

/* ----- Hero lead paragraph ----- */
.story-lead {
  padding: 100px var(--side-padding);
  font-family: var(--ff-sans-jp);
  font-weight: 400;
  font-size: 17px;
  line-height: 50px;
  letter-spacing: 0.1em;
  color: var(--c-black);
}

.story-lead p {
  margin: 0;
}

/* ----- Generic story section wrapper ----- */
.story-section {
  position: relative;
  padding: 100px var(--side-padding);
}

.story-section.history {
  padding: 100px 0;
}

/* ----- Story heading (en label + line + ja heading) ----- */
.story-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.story-heading__label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.story-heading__en {
  font-family: var(--ff-alwyn);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  color: var(--c-black);
}

.story-heading__line {
  display: block;
  width: 50px;
  height: 2px;
  background: var(--c-black);
}

.story-heading__ja {
  font-family: var(--ff-mincho);
  font-size: 34px;
  line-height: 60px;
  letter-spacing: 0.05em;
  color: var(--c-black);
  margin: 0;
  font-weight: normal;
}

/* ----- SOCIAL IMPACT ----- */
.social-impact {
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.social-impact__catch {
  font-family: var(--ff-mincho);
  font-size: 42px;
  line-height: 80px;
  letter-spacing: 0.05em;
  color: var(--c-black);
  margin: 0;
}

.social-impact__body {
  display: flex;
  gap: 150px;
  align-items: center;
}

.social-impact__text {
  flex: 1;
  font-family: var(--ff-sans-jp);
  font-weight: 400;
  font-size: 17px;
  line-height: 50px;
  letter-spacing: 0.1em;
  color: var(--c-black);
}

.social-impact__note {
  font-size: 11px;
  margin-top: 10px;
}

.social-impact__chart {
  flex: none;
  width: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.social-impact__chart-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.social-impact__chart-label {
  font-family: var(--ff-sans-jp);
  font-weight: 400;
  font-size: 17px;
  line-height: 50px;
  letter-spacing: 0.1em;
  color: var(--c-black);
  margin: 0;
  text-align: right;
  white-space: nowrap;
}

.social-impact__chart-num {
  font-family: var(--ff-alwyn);
  font-weight: 700;
  font-style: italic;
  font-size: 85px;
  line-height: 80px;
  color: var(--c-white);
  -webkit-text-stroke: 3px var(--c-black);
  text-stroke: 3px var(--c-black);
  paint-order: stroke fill;
  margin: 0;
}

.social-impact__chart-divider {
  display: block;
  width: 2px;
  height: 50px;
  background: var(--c-black);
}

.social-impact__chart-img {
  width: 155px;
  height: 159px;
  display: block;
}

/* ----- Divider Image ----- */
.story-divider {
  width: 100%;
  height: 600px;
  overflow: hidden;
}

.story-divider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
  display: block;
}

/* ----- HISTORY ----- */
.history {
  display: flex;
  flex-direction: column;
}

.history__intro {
  padding: 50px var(--side-padding);
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.history__lead {
  font-family: var(--ff-sans-jp);
  font-weight: 400;
  font-size: 17px;
  line-height: 50px;
  letter-spacing: 0.1em;
  color: var(--c-black);
}

.history__lead p {
  margin: 0;
}

/* ----- Timeline ----- */
.timeline {
  width: 100%;
  padding-right: var(--side-padding);
  display: flex;
  flex-direction: column;
}

.timeline-item {
  width: 100%;
  display: flex;
  align-items: flex-start;
  padding: 100px 0;
}

.timeline-item--grey {
  background: var(--c-light-grey);
  padding-right: 50px;
}

.timeline-item--text {
  align-items: center;
  padding: 0;
}

.timeline-item--future {
  padding: 100px 0;
}

.timeline-item__date {
  flex: none;
  width: 375px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--ff-mincho);
  color: var(--c-black);
  white-space: nowrap;
}

.timeline-item__year {
  font-size: 42px;
  line-height: 60px;
  letter-spacing: 0.05em;
  margin: 0;
}

.timeline-item__month {
  font-size: 26px;
  line-height: 30px;
  letter-spacing: 0.05em;
  margin: 0;
}

.timeline-item__row {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 100px;
}

.timeline-item--right .timeline-item__row {
  padding-right: 100px;
}

.timeline-item--text .timeline-item__row {
  padding-right: 0;
  display: block;
}

.timeline-item__main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
}

.timeline-item__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 10px 20px;
  background: var(--c-black);
  color: var(--c-white);
  font-family: var(--ff-alwyn);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  letter-spacing: 0;
}

.timeline-item__title {
  font-family: var(--ff-mincho);
  font-size: 34px;
  line-height: 60px;
  letter-spacing: 0.05em;
  color: var(--c-black);
  margin: 0;
  font-weight: normal;
}

.timeline-item__title-em {
  text-decoration: underline;
}

.timeline-item__line {
  display: block;
  width: 50px;
  height: 2px;
  background: var(--c-black);
}

.timeline-item__text {
  font-family: var(--ff-sans-jp);
  font-weight: 400;
  font-size: 17px;
  line-height: 50px;
  letter-spacing: 0.1em;
  color: var(--c-black);
  margin: 0;
}

.timeline-item__img {
  flex: none;
  width: 300px;
  height: 300px;
  overflow: hidden;
}

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

.timeline-item__img--lg {
  width: 500px;
  height: 300px;
}

.timeline-item__img--md {
  width: 400px;
  height: 300px;
}

.timeline-item__img--placeholder {
  background: #c4c4c4;
}

.timeline-item__img--logo {
  background: var(--c-white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  box-sizing: border-box;
}

.timeline-item__img--logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Timeline group (text-only siblings) */
.timeline-group {
  display: flex;
  flex-direction: column;
  gap: 50px;
  padding: 100px 0;
}

.timeline-group .timeline-item {
  padding: 0;
}

/* ----- NEXT CTA ----- */
.story-next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 100px var(--side-padding);
  background: var(--c-black);
  overflow: hidden;
  transition: opacity 0.2s ease;
}

.story-next:hover {
  opacity: 0.9;
}

.story-next__display {
  font-family: var(--ff-alwyn);
  font-weight: 700;
  font-style: italic;
  font-size: 85px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--c-white);
  text-stroke: 2px var(--c-white);
  white-space: nowrap;
}

.story-next__right {
  display: flex;
  align-items: center;
  gap: 100px;
}

.story-next__ja {
  font-family: var(--ff-mincho);
  font-size: 42px;
  line-height: 80px;
  letter-spacing: 0.05em;
  color: var(--c-white);
}

.story-next__arrow {
  width: 50px;
  height: 50px;
  display: block;
}

/* =========================================================
   PHILOSOPHY page (PC)
   ========================================================= */

/* Generic philosophy section wrapper */
.philosophy-section {
  position: relative;
  padding: 100px var(--side-padding);
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.philosophy-section.values {
  background: var(--c-light-grey);
  overflow: hidden;
}

.philosophy-section.culture {
  padding-bottom: 200px;
}

/* ----- VISION ----- */
.vision__body {
  position: relative;
  display: flex;
  align-items: center;
}

.vision__box {
  flex: 1;
  min-width: 0;
  border: 2px solid var(--c-black);
  background: var(--c-white);
  padding: 50px 40% 50px 50px;
  display: flex;
  flex-direction: column;
  gap: 50px;
  position: relative;
}

.vision__catch {
  font-family: var(--ff-mincho);
  font-size: 51px;
  line-height: 60px;
  letter-spacing: 0.05em;
  color: var(--c-black);
  margin: 0;
}

.vision__line {
  display: block;
  width: 50px;
  height: 2px;
  background: var(--c-black);
}

.vision__text {
  font-family: var(--ff-sans-jp);
  font-weight: 400;
  font-size: 17px;
  line-height: 50px;
  letter-spacing: 0.1em;
  color: var(--c-black);
}

.vision__text p {
  margin: 0;
}

.vision__img {
  position: absolute;
  right: calc(-1 * var(--side-padding));
  top: -100px;
  width: 40%;
  height: 412px;
  overflow: hidden;
}

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

/* ----- VALUES ----- */
.values__grid {
  display: flex;
  gap: 30px;
  align-items: stretch;
}

.value-card {
  flex: 1;
  min-width: 0;
  background: var(--c-white);
  border: 2px solid var(--c-black);
  padding: 50px 30px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
}

.value-card__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.value-card__icon {
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.value-card__title {
  font-family: var(--ff-mincho);
  font-size: 26px;
  line-height: 60px;
  letter-spacing: 0.05em;
  color: var(--c-black);
  margin: 0;
  font-weight: normal;
  text-align: center;
}

.value-card__line {
  display: block;
  width: 50px;
  height: 2px;
  background: var(--c-black);
}

.value-card__text {
  width: 100%;
  font-family: var(--ff-sans-jp);
  font-weight: 400;
  font-size: 17px;
  line-height: 50px;
  letter-spacing: 0.1em;
  color: var(--c-black);
}

.value-card__text p {
  margin: 0;
}

/* ----- CULTURE ----- */
.culture__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 50px;
}

.culture__lead {
  font-family: var(--ff-sans-jp);
  font-weight: 400;
  font-size: 17px;
  line-height: 50px;
  letter-spacing: 0.1em;
  color: var(--c-black);
  margin: 0;
}

.culture__list {
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.culture-card {
  position: relative;
  min-height: 357px;
}

.culture-card__box {
  position: relative;
  margin-top: 40px;
  padding: 50px;
  border: 2px solid var(--c-black);
  background: var(--c-white);
  display: flex;
  flex-direction: column;
  gap: 50px;
  width: 65%;
}

.culture-card--right .culture-card__box {
  margin-left: 0;
  margin-right: auto;
}

.culture-card--left .culture-card__box {
  margin-left: auto;
  margin-right: 0;
  width: 66.67%;
}

.culture-card__img {
  position: absolute;
  top: 0;
  width: 38%;
  height: 317px;
  overflow: hidden;
}

.culture-card--right .culture-card__img {
  right: 0;
}

.culture-card--left .culture-card__img {
  left: 0;
}

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

.culture-card__title {
  font-family: var(--ff-mincho);
  font-size: 34px;
  line-height: 60px;
  letter-spacing: 0.05em;
  color: var(--c-black);
  margin: 0;
  font-weight: normal;
}

.culture-card__line {
  display: block;
  width: 50px;
  height: 2px;
  background: var(--c-black);
}

.culture-card__text {
  font-family: var(--ff-sans-jp);
  font-weight: 400;
  font-size: 17px;
  line-height: 50px;
  letter-spacing: 0.1em;
  color: var(--c-black);
  margin: 0;
}

.culture-card__text p {
  margin: 0;
}

/* =========================================================
   ENVIRONMENT page (PC)
   ========================================================= */

.environment-section {
  position: relative;
  padding: 200px var(--side-padding);
  display: flex;
  flex-direction: column;
  gap: 100px;
}

/* ----- SYSTEM nav (5 anchor buttons) ----- */
.system-nav {
  display: flex;
  gap: 20px;
  align-items: stretch;
}

.system-nav__item {
  flex: 1;
  min-width: 0;
  border: 2px solid var(--c-black);
  background: var(--c-white);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: opacity 0.2s ease;
}

.system-nav__item:hover {
  opacity: 0.85;
}

.system-nav__inner {
  flex: 1;
  padding: 30px 10px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.system-nav__icon {
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.system-nav__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.system-nav__title {
  font-family: var(--ff-mincho);
  font-size: 17px;
  line-height: 40px;
  letter-spacing: 0.05em;
  color: var(--c-black);
  text-align: center;
}

.system-nav__arrow {
  background: var(--c-light-grey);
  padding: 15px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.system-nav__arrow img {
  width: 15px;
  height: 15px;
  display: block;
  transform: rotate(90deg);
  filter: invert(1);
}

/* ----- System detail cards (light grey background) ----- */
.environment-details {
  position: relative;
  background: var(--c-light-grey);
  padding: 150px var(--side-padding);
  display: flex;
  flex-direction: column;
  gap: 50px;
  overflow: hidden;
}

.system-card {
  position: relative;
  background: var(--c-white);
  border: 2px solid var(--c-black);
  padding: 50px 50px 80px;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.system-card__header {
  display: flex;
  gap: 20px;
  align-items: center;
}

.system-card__icon {
  flex: none;
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.system-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.system-card__title {
  font-family: var(--ff-mincho);
  font-size: 34px;
  line-height: 60px;
  letter-spacing: 0.05em;
  color: var(--c-black);
  margin: 0;
  font-weight: normal;
}

.system-card__line {
  display: block;
  width: 50px;
  height: 2px;
  background: var(--c-black);
}

.system-card__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 50px;
  row-gap: 50px;
  margin: 0;
}

.system-card__item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.system-card__item-title {
  font-family: var(--ff-mincho);
  font-size: 26px;
  line-height: 60px;
  letter-spacing: 0.05em;
  color: var(--c-black);
  margin: 0;
}

.system-card__item-text {
  font-family: var(--ff-sans-jp);
  font-weight: 400;
  font-size: 17px;
  line-height: 50px;
  letter-spacing: 0.1em;
  color: var(--c-black);
  margin: 0;
}

.system-card__img {
  position: absolute;
  right: calc(-1 * var(--side-padding));
  top: -102px;
  width: 600px;
  height: 350px;
  overflow: hidden;
}

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

/* ----- DATA section ----- */
.environment-section.data {
  gap: 50px;
}

.data-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: stretch;
}

.data-card {
  flex: 0 0 calc(50% - 15px);
  min-width: 0;
  background: var(--c-white);
  border: 2px solid var(--c-black);
  padding: 30px 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.data-card__title {
  font-family: var(--ff-mincho);
  font-size: 34px;
  line-height: 60px;
  letter-spacing: 0.05em;
  color: var(--c-black);
  margin: 0;
  font-weight: normal;
  align-self: stretch;
}

.data-card__line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--c-black);
}

.data-card__stat {
  display: flex;
  gap: 50px;
  align-items: center;
}

.data-card__icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.data-card__icon img {
  display: block;
  max-height: 125px;
  width: auto;
}

.data-card__num-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  white-space: nowrap;
}

.data-card__num {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0;
  white-space: nowrap;
}

.data-card__big {
  font-family: var(--ff-alwyn);
  font-weight: 700;
  font-style: italic;
  font-size: 128px;
  line-height: 150px;
  color: var(--c-white);
  -webkit-text-stroke: 4px var(--c-black);
  text-stroke: 4px var(--c-black);
  paint-order: stroke fill;
}

.data-card__unit {
  font-family: var(--ff-sans-jp);
  font-size: 42px;
  line-height: 1;
  color: var(--c-black);
}

.data-card__note {
  font-family: var(--ff-sans-jp);
  font-size: 14px;
  line-height: 50px;
  letter-spacing: 0.1em;
  color: var(--c-black);
  text-align: right;
  margin: 0;
}

.data-card__caption {
  font-family: var(--ff-sans-jp);
  font-weight: 400;
  font-size: 17px;
  line-height: 50px;
  letter-spacing: 0.1em;
  color: var(--c-black);
  margin: 0;
  width: 100%;
}

/* ----- Awards row ----- */
.awards {
  flex: 1 0 100%;
  display: flex;
  gap: 30px;
  align-items: stretch;
}

.awards__item {
  flex: 1;
  min-width: 0;
  border: 2px solid var(--c-black);
  padding: 30px;
  display: flex;
  align-items: center;
  gap: 20px;
  overflow: hidden;
}

.awards__logo {
  flex: none;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.awards__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.awards__text {
  flex: 1;
  min-width: 0;
  font-family: var(--ff-sans-jp);
  font-weight: 400;
  font-size: 21px;
  line-height: 50px;
  letter-spacing: 0.1em;
  color: var(--c-black);
  margin: 0;
}

/* ----- WPST (oudo media) link banner ----- */
.wpst-banner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 80px 50px;
  border-top: 2px solid var(--c-black);
  border-bottom: 2px solid var(--c-black);
  overflow: hidden;
  text-align: center;
  transition: opacity 0.2s ease;
}

.wpst-banner:hover {
  opacity: 0.9;
}

.wpst-banner__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.wpst-banner__overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.8);
}

.wpst-banner__logo {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: 1076px;
}

.wpst-banner__logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.wpst-banner__caption {
  position: relative;
  z-index: 1;
  font-family: var(--ff-sans-jp);
  font-weight: 400;
  font-size: 20px;
  line-height: 50px;
  letter-spacing: 0.1em;
  color: var(--c-black);
}

.wpst-banner__external {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  z-index: 1;
}

.wpst-banner__external img {
  width: 100%;
  height: 100%;
  display: block;
}

/* ----- WPST banner — compact variant for the menu modal -----
   Smaller padding/text than the footer banner so it fits inside the
   side-by-side CTA layout (PC) and stacked CTA list (SP). */
.wpst-banner--menu {
  padding: 30px 20px;
  gap: 20px;
  border: 2px solid var(--c-black);
}

.wpst-banner--menu .wpst-banner__logo {
  max-width: 280px;
}

.wpst-banner--menu .wpst-banner__caption {
  font-size: 15px;
  line-height: 18px;
  letter-spacing: 0.05em;
}

.wpst-banner--menu .wpst-banner__external {
  width: 20px;
  height: 20px;
  right: 20px;
}

/* ----- CTAs (recruitment / entry) ----- */
.environment-ctas {
  display: flex;
  flex-direction: column;
  margin-bottom: 400px;
}

/* Environment page: side-by-side CTAs on PC (stacks back to column on SP). */
.environment-ctas--split {
  flex-direction: row;
  margin-bottom: 0;
}
.environment-ctas--split .environment-cta {
  flex: 1 1 0;
}

.environment-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 50px var(--side-padding);
  color: var(--c-white);
  transition: opacity 0.2s ease;
}

.environment-cta:hover {
  opacity: 0.9;
}

.environment-cta--dark {
  background: var(--c-black);
}

.environment-cta--blue {
  background: var(--c-blue);
}

.environment-cta__text {
  font-family: var(--ff-mincho);
  font-size: 34px;
  line-height: 60px;
  letter-spacing: 0.05em;
  color: var(--c-white);
}

.environment-cta__arrow {
  width: 40px;
  height: 40px;
  display: block;
}

/* =========================================================
   ENGINEER page (PC)
   ========================================================= */

/* ----- Hero lead (headline + description) ----- */
.engineer-lead {
  padding: 100px var(--side-padding);
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.engineer-lead__catch {
  font-family: var(--ff-mincho);
  font-size: 42px;
  line-height: 80px;
  letter-spacing: 0.05em;
  color: var(--c-black);
  margin: 0;
}

.engineer-lead__text {
  font-family: var(--ff-sans-jp);
  font-weight: 400;
  font-size: 17px;
  line-height: 50px;
  letter-spacing: 0.1em;
  color: var(--c-black);
  margin: 0;
}

/* ----- MESSAGE (CTO message) ----- */
.engineer-message {
  position: relative;
  padding: 100px 0;
}

.engineer-message__img {
  position: absolute;
  left: var(--side-padding);
  top: 217px;
  width: 564px;
  height: 732px;
  overflow: hidden;
  z-index: 1;
}

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

.engineer-message__wrap {
  background: var(--c-light-grey);
  margin-left: 360px;
  padding: 150px var(--side-padding) 150px 500px;
  display: flex;
  flex-direction: column;
  gap: 100px;
  overflow: hidden;
}

.engineer-message__body {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.engineer-message__text {
  display: flex;
  flex-direction: column;
  gap: 50px;
  font-family: var(--ff-sans-jp);
  font-weight: 400;
  font-size: 17px;
  line-height: 50px;
  letter-spacing: 0.1em;
  color: var(--c-black);
}

.engineer-message__text p {
  margin: 0;
}

.engineer-message__signature {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--ff-sans-jp);
  color: var(--c-black);
}

.engineer-message__role {
  font-size: 17px;
  line-height: 50px;
  letter-spacing: 0.1em;
  margin: 0;
}

.engineer-message__name {
  font-size: 21px;
  line-height: 50px;
  letter-spacing: 0.1em;
  margin: 0;
}

/* ----- Generic engineer section ----- */
.engineer-section {
  position: relative;
  padding: 100px var(--side-padding);
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.engineer-section.dev-env {
  padding-top: 200px;
}

.engineer-section.work-style {
  padding-bottom: 200px;
}

.engineer-section.positions {
  padding: 100px var(--side-padding);
}

.engineer-section.positions.positions--business {
  padding-bottom: 200px;
}

/* ENGINEER page only: extra bottom padding to avoid footer decoration overlap */
.engineer-section.positions.positions--engineer-page {
  padding-bottom: 200px;
}

/* ----- DEVELOPMENT ENVIRONMENT ----- */
.dev-env__lead {
  font-family: var(--ff-sans-jp);
  font-weight: 400;
  font-size: 17px;
  line-height: 50px;
  letter-spacing: 0.1em;
  color: var(--c-black);
}

.dev-env__lead p {
  margin: 0;
}

.dev-env__box {
  background: var(--c-white);
  border: 2px solid var(--c-black);
  padding: 50px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.dev-env__row {
  display: flex;
  align-items: center;
  gap: 50px;
}

.dev-env__label {
  flex: none;
  width: 200px;
  font-family: var(--ff-alwyn);
  font-weight: 400;
  font-size: 26px;
  line-height: 60px;
  color: var(--c-black);
}

.dev-env__line {
  display: block;
  flex: none;
  width: 50px;
  height: 2px;
  background: var(--c-black);
}

.dev-env__value {
  flex: 1;
  min-width: 0;
  font-family: var(--ff-sans-jp);
  font-weight: 400;
  font-size: 17px;
  line-height: 40px;
  letter-spacing: 0.05em;
  color: var(--c-black);
}

/* ----- WORK STYLE ----- */
.work-style__lead {
  font-family: var(--ff-sans-jp);
  font-weight: 400;
  font-size: 17px;
  line-height: 50px;
  letter-spacing: 0.1em;
  color: var(--c-black);
  margin: 0;
}

.work-style__list {
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.work-card {
  position: relative;
  min-height: 357px;
}

.work-card__box {
  position: relative;
  margin-top: 40px;
  padding: 50px;
  border: 2px solid var(--c-black);
  background: var(--c-white);
  display: flex;
  flex-direction: column;
  gap: 50px;
  width: 66.67%;
}

.work-card--right .work-card__box {
  margin-left: 0;
  margin-right: auto;
}

.work-card--left .work-card__box {
  margin-left: 33.33%;
  margin-right: 0;
}

.work-card__img {
  position: absolute;
  top: 0;
  width: 36.67%;
  height: 317px;
  overflow: hidden;
}

.work-card--right .work-card__img {
  right: 0;
}

.work-card--left .work-card__img {
  left: 0;
}

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

.work-card__title {
  font-family: var(--ff-mincho);
  font-size: 34px;
  line-height: 60px;
  letter-spacing: 0.05em;
  color: var(--c-black);
  margin: 0;
  font-weight: normal;
}

.work-card__line {
  display: block;
  width: 50px;
  height: 2px;
  background: var(--c-black);
}

.work-card__list {
  font-family: var(--ff-sans-jp);
  font-weight: 400;
  font-size: 17px;
  line-height: 50px;
  letter-spacing: 0.1em;
  color: var(--c-black);
  margin: 0;
  padding-left: 30px;
  list-style: disc;
}

.work-card__list li {
  margin: 0;
}

/* ----- TECH BLOG banner ----- */
.tech-blog {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  height: 500px;
  padding: 150px var(--side-padding);
  border-top: 2px solid var(--c-black);
  overflow: hidden;
  transition: opacity 0.2s ease;
}

.tech-blog:hover {
  opacity: 0.9;
}

.tech-blog__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.tech-blog__overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.8);
}

.tech-blog__title {
  position: relative;
  z-index: 1;
  font-family: var(--ff-alwyn);
  font-weight: 700;
  font-style: italic;
  font-size: 120px;
  line-height: 1;
  color: var(--c-white);
  white-space: nowrap;
  -webkit-text-stroke: 4px var(--c-black);
  text-stroke: 4px var(--c-black);
  paint-order: stroke fill;
}

.tech-blog__caption {
  position: relative;
  z-index: 1;
  font-family: var(--ff-sans-jp);
  font-weight: 400;
  font-size: 20px;
  line-height: 50px;
  letter-spacing: 0.1em;
  color: var(--c-black);
  text-align: center;
}

.tech-blog__external {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  z-index: 1;
}

.tech-blog__external img {
  width: 100%;
  height: 100%;
  display: block;
}

/* ----- ENGINEER POSITIONS ----- */
.positions__list {
  list-style: none;
  margin: 0;
  padding: 0 0 0 100px;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.positions__list li {
  margin: 0;
}

.position-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--c-black);
  border: 1px solid var(--c-black);
  padding: 30px;
  color: var(--c-white);
  transition: opacity 0.2s ease;
}

.position-link:hover {
  opacity: 0.85;
}

.position-link__text {
  font-family: var(--ff-mincho);
  font-size: 26px;
  line-height: 40px;
  letter-spacing: 0.05em;
  color: var(--c-white);
}

.position-link__icon {
  width: 30px;
  height: 30px;
  display: block;
  flex: none;
  filter: invert(1);
}

/* =========================================================
   ENTRY page (PC)
   ========================================================= */

/* ----- Hero lead ----- */
.entry-lead {
  padding: 100px var(--side-padding) 150px;
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.entry-lead__catch {
  font-family: var(--ff-mincho);
  font-size: 42px;
  line-height: 80px;
  letter-spacing: 0.05em;
  color: var(--c-black);
  margin: 0;
}

.entry-lead__text {
  font-family: var(--ff-sans-jp);
  font-weight: 400;
  font-size: 17px;
  line-height: 50px;
  letter-spacing: 0.1em;
  color: var(--c-black);
}

.entry-lead__text p {
  margin: 0;
}

.entry-lead__text p + p {
  margin-top: 0;
}

/* ----- BUSINESS POSITIONS (uses .positions / .position-link) ----- */
/* Engineer/Business positions sections share .positions classes from engineer page */
.positions--business {
  padding-bottom: 200px;
}

/* ----- ENTRY CTA (image strip + JOIN US! outline + blue CTA bar) ----- */
.entry-cta {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 150px;
}

.entry-cta__strip {
  width: 100%;
  overflow: hidden;
}

.entry-cta__strip .img-strip__inner {
  padding-left: 200px;
  box-sizing: content-box;
}

.entry-cta__wrap {
  position: relative;
  width: 80%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  top: -75px;
}

.entry-cta__display {
  position: relative;
  z-index: 3;
  font-size: 128px;
  line-height: 1;
  margin: 0 auto -75px;
  text-align: center;
}

.entry-cta__bar {
  position: relative;
  z-index: 2;
  background: var(--c-blue);
  color: var(--c-white);
  padding: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  transition: opacity 0.2s ease;
}

.entry-cta__bar:hover {
  opacity: 0.9;
}

.entry-cta__text {
  font-family: var(--ff-mincho);
  font-size: 42px;
  line-height: 80px;
  letter-spacing: 0.05em;
  color: var(--c-white);
}

.entry-cta__icon {
  width: 50px;
  height: 50px;
  display: block;
  filter: invert(1);
}

/* =========================================================
   Responsive — SP overrides (placed at end so they win the cascade
   over the unconditional STORY/PHILOSOPHY/ENVIRONMENT/ENGINEER/ENTRY PC rules above).
   ========================================================= */
@media (max-width: 768px) {
  /* ---------- STORY page (SP) ---------- */

  /* Hero */
  .story-hero {
    padding-left: 0;
  }
  .story-hero__img {
    height: 200px;
  }
  .story-hero__head {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: -35px;
    margin-left: 0;
    position: relative;
    z-index: 3;
  }
  .story-hero__head .section-head__frame {
    gap: 20px;
    padding: 20px 20px 10px;
    border-width: 1px;
  }
  .story-hero__head .section-head__plus {
    width: 30px;
    height: 30px;
  }
  .story-hero__head .section-head__ja {
    font-size: 27px;
    line-height: 40px;
  }
  .story-hero__head .section-head__display {
    font-size: 45px;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-text-stroke-width: 2px;
    text-stroke-width: 2px;
  }

  /* Hero lead */
  .story-lead {
    padding: 50px 20px 0;
    font-size: 13px;
    line-height: 30px;
    letter-spacing: 0.05em;
  }

  /* Story sections */
  .story-section {
    padding: 100px 20px;
  }
  .story-section.history {
    padding: 50px 0;
  }

  /* Story heading */
  .story-heading {
    gap: 15px;
    width: 100%;
  }
  .story-heading__en {
    font-size: 13px;
  }
  .story-heading__ja {
    font-size: 27px;
    line-height: 40px;
    letter-spacing: 0.05em;
  }

  /* SOCIAL IMPACT */
  .social-impact {
    gap: 50px;
  }
  .social-impact__catch {
    font-size: 18px;
    line-height: 40px;
    letter-spacing: 0.05em;
  }
  .social-impact__body {
    flex-direction: column;
    gap: 50px;
    align-items: center;
  }
  .social-impact__text {
    width: 100%;
    font-size: 13px;
    line-height: 30px;
    letter-spacing: 0.05em;
  }
  .social-impact__note {
    font-size: 9px;
  }
  .social-impact__chart {
    width: auto;
    order: -1;
    gap: 15px;
  }
  .social-impact__chart-label {
    font-size: 13px;
    line-height: 1.4;
    letter-spacing: 0.05em;
    white-space: normal;
    text-align: center;
  }
  .social-impact__chart-num {
    font-size: 72px;
    line-height: 80px;
    -webkit-text-stroke-width: 2px;
    text-stroke-width: 2px;
  }
  .social-impact__chart-img {
    width: 150px;
    height: 154px;
  }

  /* Story divider */
  .story-divider {
    height: 200px;
  }

  /* HISTORY */
  .history__intro {
    padding: 0 20px 50px;
    gap: 50px;
  }
  .history__lead {
    font-size: 13px;
    line-height: 30px;
    letter-spacing: 0.05em;
  }

  /* Timeline */
  .timeline {
    padding-right: 0;
  }
  .timeline-item {
    width: 100%;
    padding: 50px 0;
    gap: 10px;
  }
  .timeline-item--grey {
    padding-right: 20px;
  }
  .timeline-item--text {
    align-items: flex-start;
    padding: 30px 0;
  }
  .timeline-item--future {
    padding: 50px 0;
  }
  .timeline-item__date {
    width: 80px;
    gap: 0px;
  }
  .timeline-item__year {
    font-size: 18px;
    line-height: 20px;
    letter-spacing: 0.05em;
  }
  .timeline-item__month {
    font-size: 14px;
    line-height: 30px;
    letter-spacing: 0.05em;
  }
  .timeline-item__row {
    flex-direction: column;
    gap: 30px;
    padding-right: 20px;
  }
  .timeline-item--right .timeline-item__row {
    padding-right: 20px;
  }
  .timeline-item--text .timeline-item__row {
    padding-right: 20px;
    display: block;
  }
  .timeline-item__main {
    width: 100%;
    gap: 20px;
  }
  .timeline-item__badge {
    height: 38px;
    font-size: 14px;
    padding: 10px 20px;
  }
  .timeline-item__title {
    font-size: 18px;
    line-height: 30px;
    letter-spacing: 0.05em;
  }
  .timeline-item__text {
    font-size: 13px;
    line-height: 30px;
    letter-spacing: 0.05em;
  }
  .timeline-item__img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }
  .timeline-item__img--logo {
    padding: 20px;
  }
  .timeline-item__img--logo img {
    width: 100%;
    height: auto;
  }
  .timeline-item--right .timeline-item__img,
  .timeline-item--right .timeline-item__img--lg,
  .timeline-item--right .timeline-item__img--md,
  .timeline-item--right .timeline-item__img--placeholder {
    width: 100%;
    height: 165px;
    aspect-ratio: auto;
  }
  .timeline-group {
    gap: 0;
    padding: 0;
  }
  .timeline-group .timeline-item {
    padding: 30px 0;
  }

  /* NEXT CTA */
  .story-next {
    padding: 30px 20px;
    gap: 20px;
  }
  .story-next__display {
    font-size: 36px;
    -webkit-text-stroke-width: 1px;
    text-stroke-width: 1px;
  }
  .story-next__right {
    flex: 1;
    justify-content: flex-end;
    gap: 30px;
  }
  .story-next__ja {
    font-size: 22px;
    line-height: 30px;
  }
  .story-next__arrow {
    width: 30px;
    height: 30px;
  }

  /* ---------- PHILOSOPHY page (SP) ---------- */

  .philosophy-section {
    padding: 100px 20px;
    gap: 50px;
  }
  .philosophy-section.culture {
    padding: 100px 20px 150px;
  }

  /* VISION (SP) */
  .vision__body {
    display: block;
    position: relative;
  }
  .vision__box {
    width: 100%;
    padding: 30px 30px 150px;
    border-width: 1px;
    gap: 20px;
  }
  .vision__catch {
    font-size: 27px;
    line-height: 1.3;
    letter-spacing: 0.05em;
  }
  .vision__text {
    font-size: 13px;
    line-height: 30px;
    letter-spacing: 0.05em;
  }
  .vision__img {
    position: absolute;
    top: auto;
    right: -20px;
    bottom: -50px;
    width: 75%;
    max-width: 300px;
    height: 176px;
  }

  /* VALUES (SP) */
  .values__grid {
    flex-direction: column;
    gap: 30px;
  }
  .value-card {
    width: 100%;
    padding: 30px;
    gap: 30px;
    border-width: 1px;
  }
  .value-card__head {
    width: 100%;
    gap: 0;
  }
  .value-card__icon {
    width: 150px;
    height: 150px;
  }
  .value-card__title {
    font-size: 22px;
    line-height: 60px;
  }
  .value-card__text {
    font-size: 13px;
    line-height: 30px;
    letter-spacing: 0.05em;
  }

  /* CULTURE (SP) */
  .culture__intro {
    gap: 50px;
  }
  .culture__lead {
    font-size: 13px;
    line-height: 30px;
    letter-spacing: 0.05em;
  }
  .culture__list {
    gap: 100px;
  }
  .culture-card {
    min-height: 0;
  }
  .culture-card__box {
    width: 100%;
    max-width: 362px;
    margin-top: 0;
    margin-left: auto;
    margin-right: 0;
    padding: 30px 30px 100px;
    border-width: 1px;
    gap: 30px;
  }
  .culture-card--right .culture-card__box,
  .culture-card--left .culture-card__box {
    width: 100%;
    max-width: 362px;
    margin-left: auto;
    margin-right: 0;
  }
  .culture-card__img {
    position: absolute;
    z-index: 2;
    top: auto;
    bottom: -50px;
    width: 50%;
    max-width: 184px;
    height: 120px;
  }
  .culture-card--right .culture-card__img {
    right: -10px;
    left: auto;
  }
  .culture-card--left .culture-card__img {
    left: -10px;
    right: auto;
  }
  .culture-card__title {
    font-size: 22px;
    line-height: 60px;
  }
  .culture-card__text {
    font-size: 13px;
    line-height: 30px;
    letter-spacing: 0.05em;
  }

  /* ---------- ENVIRONMENT page (SP) ---------- */

  .environment-section {
    padding: 100px 20px;
    gap: 50px;
  }

  /* System nav (5 anchor buttons, wrap to 3+2 grid) */
  .system-nav {
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }
  .system-nav__item {
    flex: 0 1 calc((100% - 40px) / 3);
    min-width: 100px;
    border-width: 1px;
  }
  .system-nav__inner {
    padding: 10px;
    gap: 8px;
  }
  .system-nav__icon {
    width: 50px;
    height: 50px;
  }
  .system-nav__title {
    font-size: 11px;
    line-height: 20px;
    letter-spacing: 0.03em;
  }
  .system-nav__arrow {
    padding: 10px 0;
  }
  .system-nav__arrow img {
    width: 10px;
    height: 10px;
  }

  /* System detail cards */
  .environment-details {
    padding: 50px 20px;
    gap: 30px;
  }
  .system-card {
    padding: 30px 20px 50px;
    border-width: 1px;
    gap: 30px;
  }
  .system-card__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .system-card__icon {
    width: 80px;
    height: 80px;
  }
  .system-card__title {
    font-size: 22px;
    line-height: 40px;
  }
  .system-card__list {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 30px;
  }
  .system-card__item-title {
    font-size: 18px;
    line-height: 30px;
  }
  .system-card__item-text {
    font-size: 13px;
    line-height: 30px;
    letter-spacing: 0.05em;
  }
  .system-card__img {
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
    height: 165px;
    margin-top: 10px;
  }

  /* DATA section */
  .environment-section.data {
    padding: 100px 20px;
    gap: 30px;
  }
  .data-grid {
    flex-direction: column;
    gap: 30px;
  }
  .data-card {
    flex: 1 0 100%;
    padding: 30px;
    gap: 20px;
    border-width: 1px;
  }
  .data-card__title {
    font-size: 22px;
    line-height: 30px;
  }
  .data-card__stat {
    gap: 30px;
  }
  .data-card__icon img {
    max-height: 50px;
  }
  .data-card__big {
    font-size: 72px;
    line-height: 80px;
    -webkit-text-stroke-width: 2px;
    text-stroke-width: 2px;
  }
  .data-card__unit {
    font-size: 27px;
  }
  .data-card__note {
    font-size: 9px;
    line-height: 1.4;
  }
  .data-card__caption {
    font-size: 13px;
    line-height: 30px;
    letter-spacing: 0.05em;
  }

  /* Awards */
  .awards {
    flex-direction: column;
    flex: 1 0 100%;
    gap: 30px;
  }
  .awards__item {
    width: 100%;
    padding: 30px 20px;
    gap: 20px;
    border-width: 1px;
  }
  .awards__logo {
    width: 100px;
    height: 100px;
  }
  .awards__text {
    font-size: 13px;
    line-height: 30px;
    letter-spacing: 0.05em;
  }

  /* WPST banner */
  .wpst-banner {
    padding: 50px;
    gap: 30px;
    border-width: 1px;
  }
  .wpst-banner__caption {
    font-size: 13px;
    line-height: 30px;
    letter-spacing: 0.05em;
  }
  .wpst-banner__external {
    right: 10px;
    width: 20px;
    height: 20px;
  }

  /* CTAs */
  .environment-ctas {
    margin-bottom: 150px;
  }
  /* Environment (SP): keep CTAs stacked (column) even when the split
     modifier is applied on PC, and remove the bottom margin so the
     banner sits directly below. Placed AFTER the generic `.environment-ctas`
     SP rule so its specificity-equal selector wins via source order. */
  .environment-ctas--split {
    flex-direction: column;
    margin-bottom: 0;
  }
  .environment-cta {
    height: 120px;
    padding: 30px 20px;
  }
  .environment-cta__text {
    font-size: 22px;
    line-height: 30px;
    letter-spacing: 0.05em;
  }
  .environment-cta__arrow {
    width: 30px;
    height: 30px;
  }

  /* ---------- ENGINEER page (SP) ---------- */

  /* Hero lead (catch + body) */
  .engineer-lead {
    padding: 50px 20px 50px;
    gap: 30px;
  }
  .engineer-lead__catch {
    font-size: 18px;
    line-height: 40px;
    letter-spacing: 0.05em;
  }
  .engineer-lead__text {
    font-size: 13px;
    line-height: 30px;
    letter-spacing: 0.05em;
  }

  /* MESSAGE (CTO message) */
  .engineer-message {
    padding: 50px 0 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }
  .engineer-message__img {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: 250px;
    z-index: 0;
  }
  .engineer-message__wrap {
    margin-left: 0;
    width: 100%;
    padding: 50px 20px;
    gap: 50px;
    align-items: flex-end;
  }
  .engineer-message__body {
    width: 100%;
    gap: 50px;
  }
  .engineer-message__text {
    font-size: 13px;
    line-height: 30px;
    letter-spacing: 0.05em;
    gap: 30px;
  }
  .engineer-message__signature {
    gap: 10px;
  }
  .engineer-message__role {
    font-size: 14px;
    line-height: 1.4;
    letter-spacing: 0.1em;
  }
  .engineer-message__name {
    font-size: 16px;
    line-height: 1.4;
    letter-spacing: 0.1em;
  }

  /* Engineer section base */
  .engineer-section {
    padding: 50px 20px;
    gap: 50px;
  }
  .engineer-section.dev-env {
    padding-top: 100px;
  }
  .engineer-section.work-style {
    padding-bottom: 100px;
  }
  .engineer-section.positions {
    padding: 100px 20px 0;
  }
  .engineer-section.positions.positions--business {
    padding-bottom: 100px;
  }
  /* ENGINEER page only: reduced to 150px on SP */
  .engineer-section.positions.positions--engineer-page {
    padding-bottom: 100px;
  }

  /* DEVELOPMENT ENVIRONMENT (SP) */
  .dev-env__lead {
    font-size: 13px;
    line-height: 30px;
    letter-spacing: 0.05em;
  }
  .dev-env__box {
    padding: 30px;
    border-width: 1px;
    gap: 40px;
  }
  .dev-env__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .dev-env__label {
    width: auto;
    font-size: 22px;
    line-height: 30px;
  }
  .dev-env__value {
    font-size: 13px;
    line-height: 30px;
    letter-spacing: 0.05em;
  }

  /* WORK STYLE (SP) */
  .work-style__lead {
    font-size: 13px;
    line-height: 30px;
    letter-spacing: 0.05em;
  }
  .work-style__list {
    gap: 100px;
    align-self: center;
    width: 100%;
    max-width: 362px;
  }
  .work-card {
    position: relative;
    min-height: 0;
    width: 100%;
  }
  .work-card__box {
    width: 100%;
    max-width: 362px;
    margin-top: 0;
    margin-left: auto !important;
    margin-right: 0 !important;
    padding: 30px 30px 100px;
    border-width: 1px;
    gap: 30px;
  }
  .work-card__img {
    position: absolute;
    z-index: 2;
    top: auto;
    bottom: -50px;
    width: 50%;
    max-width: 184px;
    height: 120px;
  }
  .work-card--right .work-card__img {
    right: -10px;
    left: auto;
  }
  .work-card--left .work-card__img {
    left: -10px;
    right: auto;
  }
  .work-card__title {
    font-size: 22px;
    line-height: 60px;
  }
  .work-card__list {
    font-size: 13px;
    line-height: 30px;
    letter-spacing: 0.05em;
    padding-left: 21px;
  }

  /* TECH BLOG banner (SP) */
  .tech-blog {
    height: auto;
    padding: 50px 20px;
    gap: 10px;
    border-width: 1px;
  }
  .tech-blog__title {
    font-size: 27px;
    -webkit-text-stroke-width: 2px;
    text-stroke-width: 2px;
  }
  .tech-blog__caption {
    font-size: 13px;
    line-height: 30px;
    letter-spacing: 0.05em;
  }
  .tech-blog__external {
    right: 10px;
    width: 20px;
    height: 20px;
  }

  /* ENGINEER POSITIONS (SP) */
  .positions__list {
    padding: 0;
    gap: 30px;
  }
  .position-link {
    padding: 20px;
  }
  .position-link__text {
    font-size: 18px;
    line-height: 30px;
  }
  .position-link__icon {
    width: 20px;
    height: 20px;
  }

  /* ---------- ENTRY page (SP) ---------- */

  .entry-lead {
    padding: 50px 20px 50px;
    gap: 30px;
  }
  .entry-lead__catch {
    font-size: 18px;
    line-height: 40px;
    letter-spacing: 0.05em;
  }
  .entry-lead__text {
    font-size: 13px;
    line-height: 30px;
    letter-spacing: 0.05em;
  }
  .entry-lead__text p + p {
    margin-top: 0;
  }

  /* ENGINEER POSITIONS */
  .engineer-section.positions--engineer {
    padding-top: 50px;
  }

  /* BUSINESS POSITIONS */
  .positions--business {
    padding-bottom: 100px;
  }

  /* ENTRY CTA */
  .entry-cta {
    padding-bottom: 0;
    margin-bottom: -32px;
  }
  .entry-cta__strip {
    height: 117px;
  }
  .entry-cta__strip .img-strip__inner {
    padding-left: 200px;
    gap: 30px;
  }
  .entry-cta__strip img {
    width: 200px;
    height: 117px;
  }
  .entry-cta__wrap {
    width: 100%;
    margin-top: 0;
    top: -32px;
  }
  .entry-cta__display {
    font-size: 45px;
    -webkit-text-stroke-width: 2px;
    text-stroke-width: 2px;
    margin: 0 auto -25px;
  }
  .entry-cta__bar {
    padding: 50px 20px;
    gap: 20px;
  }
  .entry-cta__text {
    font-size: 22px;
    line-height: 40px;
    letter-spacing: 0.05em;
  }
  .entry-cta__icon {
    width: 20px;
    height: 20px;
  }
}

/* =========================================================
   Fullscreen Menu (Modal)
   ========================================================= */
.menu-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: -1px; /* 1px overflow creates scroll context to keep scrollbar */
  background: var(--c-white);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.35s ease,
    visibility 0s linear 0.35s;
  display: flex;
  flex-direction: column;
}

.menu-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity 0.35s ease,
    visibility 0s linear 0s;
}

/* ---------- Menu inner header (logo + close) ---------- */
.menu-modal__header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 20px;
  background: var(--c-white);
  z-index: 2;
}

.menu-modal__logo {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 80px;
}

.menu-modal__logo img {
  width: 62px;
  height: 50px;
  display: block;
}

.menu-modal__logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 38px;
  background: var(--c-black);
  color: var(--c-white);
  font-family: var(--ff-alwyn);
  font-weight: 700;
  font-size: 15px;
}

.menu-modal__close {
  width: 80px;
  height: 80px;
  background: var(--c-white);
  border-bottom: 2px solid var(--c-black);
  border-left: 2px solid var(--c-black);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.menu-modal__close::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--c-black);
}

/* ---------- Menu body (PC) ---------- */
.menu-modal__body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 130px 80px 50px;
  background: var(--c-white);
}

.menu-modal__top {
  display: flex;
  flex-direction: column;
  gap: 50px;
  width: 100%;
}

.menu-modal__sitetop {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--ff-alwyn);
  font-weight: 700;
  font-size: 15px;
  color: var(--c-black);
  text-decoration: none;
}

.menu-modal__sitetop-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.menu-modal__columns {
  display: flex;
  gap: 100px;
  align-items: flex-start;
  width: 100%;
}

.menu-modal__col {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.menu-modal__h2-block {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.menu-modal__h2-label {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.menu-modal__h2-label-en {
  font-family: var(--ff-alwyn);
  font-weight: 700;
  font-size: 15px;
  color: var(--c-black);
  margin: 0;
}

.menu-modal__h2-line {
  width: 50px;
  height: 2px;
  background: var(--c-black);
}

.menu-modal__h2-title {
  display: block;
  font-family: var(--ff-mincho);
  font-size: 51px;
  line-height: 80px;
  color: var(--c-black);
  text-decoration: none;
}

.menu-modal__sublinks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--ff-mincho);
  font-size: 17px;
  line-height: 40px;
  letter-spacing: 1px;
  color: var(--c-black);
}

.menu-modal__sublinks a {
  color: inherit;
  text-decoration: none;
  display: block;
}

.menu-modal__sublinks a:hover {
  opacity: 0.7;
}

/* ---------- Bottom area (ENGINEER / ENTRY / corporate site) ---------- */
.menu-modal__bottom {
  display: flex;
  flex-direction: column;
  gap: 50px;
  align-items: flex-end;
  width: 100%;
  margin-top: 50px;
}

/* WPST banner placed above the CTAs on PC. Takes the right column width
   (= entry CTA width = (100% − 50px column gap) / 2) and offsets the
   parent's 50px gap down to 30px above the CTA row. */
.menu-modal__wpst {
  width: calc((100% - 50px) / 2);
}
.menu-modal__wpst + .menu-modal__ctas {
  margin-top: -20px;
}

.menu-modal__ctas {
  display: flex;
  gap: 50px;
  width: 100%;
}

.menu-modal__cta {
  flex: 1 0 0;
  min-width: 0;
  padding: 15px 30px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-decoration: none;
  border: 1px solid transparent;
}

.menu-modal__cta--engineer {
  background: var(--c-black);
}

.menu-modal__cta--entry {
  background: var(--c-blue);
  border-color: var(--c-blue);
}

.menu-modal__cta-label {
  font-family: var(--ff-alwyn);
  font-weight: 700;
  font-size: 15px;
  line-height: 30px;
  color: var(--c-white);
}

.menu-modal__cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.menu-modal__cta-title {
  font-family: var(--ff-mincho);
  font-size: 26px;
  line-height: 40px;
  color: var(--c-white);
}

.menu-modal__cta-arrow {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.menu-modal__corporate {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-alwyn);
  font-weight: 400;
  font-size: 15px;
  line-height: 30px;
  color: var(--c-black);
  text-decoration: none;
}

.menu-modal__corporate img {
  width: 16px;
  height: 16px;
}

/* ---------- Modal footer ---------- */
.menu-modal__footer {
  flex-shrink: 0;
  height: 80px;
  background: var(--c-black);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 80px;
  color: var(--c-white);
  font-family: var(--ff-alwyn);
  font-size: 15px;
  line-height: 30px;
}

.menu-modal__footer a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--c-white);
  text-decoration: none;
}

.menu-modal__footer a img {
  width: 16px;
  height: 16px;
  filter: invert(1);
}

/* SP-only "+" toggle button is hidden on PC */
.menu-modal__toggle {
  display: none;
}

/* =========================================================
   Fullscreen Menu — SP
   ========================================================= */
@media (max-width: 768px) {
  .menu-modal__header {
    height: 60px;
    padding-left: 20px;
  }
  .menu-modal__logo {
    gap: 15px;
    height: 60px;
  }
  .menu-modal__logo img {
    width: 44px;
    height: 35px;
  }
  .menu-modal__logo-badge {
    width: auto;
    height: auto;
    padding: 10px;
    font-size: 13px;
  }
  .menu-modal__close {
    width: 60px;
    height: 60px;
    border-bottom-width: 1px;
    border-left-width: 1px;
  }
  .menu-modal__close::before {
    width: 22px;
  }

  .menu-modal__body {
    padding: 80px 20px 20px;
    gap: 0;
  }

  /* SITE TOP link – hidden in SP layout */
  .menu-modal__sitetop {
    display: none;
  }

  .menu-modal__top {
    gap: 30px;
  }

  .menu-modal__columns {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }

  .menu-modal__col {
    width: 100%;
    gap: 0;
  }

  .menu-modal__h2-block {
    gap: 5px;
    width: 100%;
  }

  .menu-modal__h2-label {
    gap: 5px;
  }

  .menu-modal__h2-label-en {
    font-size: 13px;
  }

  .menu-modal__h2-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .menu-modal__h2-title {
    font-size: 20px;
    line-height: 40px;
  }

  .menu-modal__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: var(--c-white);
    border: 1px solid var(--c-black);
    padding: 0;
    flex-shrink: 0;
    cursor: pointer;
    position: relative;
  }

  .menu-modal__toggle::before,
  .menu-modal__toggle::after {
    content: '';
    position: absolute;
    background: var(--c-black);
  }

  /* Horizontal bar (always visible — minus) */
  .menu-modal__toggle::before {
    width: 12px;
    height: 1.5px;
  }

  /* Vertical bar (visible only when collapsed — plus) */
  .menu-modal__toggle::after {
    width: 1.5px;
    height: 12px;
    transition:
      transform 0.25s ease,
      opacity 0.2s ease;
  }

  .menu-modal__col.is-open .menu-modal__toggle::after {
    transform: scaleY(0);
    opacity: 0;
  }

  .menu-modal__sublinks {
    font-size: 14px;
    line-height: 40px;
    letter-spacing: 0.05em;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .menu-modal__col.is-open .menu-modal__sublinks {
    max-height: 200px;
  }

  /* CTAs */
  .menu-modal__bottom {
    margin-top: 20px;
    gap: 20px;
    align-items: stretch;
  }
  .menu-modal__ctas {
    flex-direction: column;
    gap: 20px;
  }
  /* SP: WPST banner moves BELOW the CTAs (visual order via flex order). */
  .menu-modal__wpst {
    width: 100%;
    order: 1;
  }
  .menu-modal__corporate {
    order: 2;
  }
  /* Reset the PC margin trick — SP uses the natural 20px parent gap. */
  .menu-modal__wpst + .menu-modal__ctas {
    margin-top: 0;
  }
  /* Compact menu banner — SP adjustments */
  .wpst-banner--menu {
    padding: 20px 50px;
    gap: 10px;
  }
  .wpst-banner--menu .wpst-banner__logo {
    max-width: 220px;
  }
  .wpst-banner--menu .wpst-banner__caption {
    font-size: 11px;
    line-height: 20px;
    letter-spacing: 0.05em;
  }
  .menu-modal__cta {
    padding: 20px;
    gap: 10px;
  }
  .menu-modal__cta-label {
    font-size: 13px;
    line-height: 20px;
  }
  .menu-modal__cta-title {
    font-size: 18px;
    line-height: 20px;
  }
  .menu-modal__cta-arrow {
    width: 20px;
    height: 20px;
  }
  .menu-modal__corporate {
    font-size: 13px;
    align-self: flex-end;
    gap: 5px;
  }

  /* Footer */
  .menu-modal__footer {
    height: 60px;
    padding: 0 20px;
    font-size: 11px;
  }
  .menu-modal__footer a {
    gap: 5px;
  }
  .menu-modal__footer a img {
    width: 14px;
    height: 14px;
  }
}

/* =========================================================
   Scroll Reveal
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =========================================================
   Hover Effects
   ========================================================= */

/* Apply only on devices that support true hover (not touch) */
@media (hover: hover) {
  /* ----- Header ----- */
  .site-header__logo {
    transition: opacity 0.2s ease;
  }
  .site-header__logo:hover {
    opacity: 0.7;
  }

  .site-header__entry {
    transition: opacity 0.2s ease;
  }
  .site-header__entry:hover {
    opacity: 0.75;
  }

  .site-header__menu {
    transition: opacity 0.2s ease;
  }
  .site-header__menu:hover {
    opacity: 0.7;
  }

  /* ----- Footer nav ----- */
  .footer-col__heading {
    transition: opacity 0.2s ease;
  }
  .footer-col__heading:hover {
    opacity: 0.65;
  }

  .footer-col__list a {
    transition: opacity 0.2s ease;
  }
  .footer-col__list a:hover {
    opacity: 0.7;
  }

  .site-footer__corp {
    transition: opacity 0.2s ease;
  }
  .site-footer__corp:hover {
    opacity: 0.7;
  }

  .site-footer__bottom a {
    transition: opacity 0.2s ease;
  }
  .site-footer__bottom a:hover {
    opacity: 0.7;
  }

  /* ----- Source / citation links ----- */
  .stats__source a:hover,
  .stats__sources a:hover {
    color: var(--c-blue);
  }

  /* ----- Timeline title link ----- */
  .timeline-item__title a {
    transition: opacity 0.2s ease;
  }
  .timeline-item__title a:hover {
    opacity: 0.7;
  }

  /* ----- Modal menu ----- */
  .menu-modal__h2-title {
    transition: opacity 0.2s ease;
  }
  .menu-modal__h2-title:hover {
    opacity: 0.7;
  }

  .menu-modal__sublinks a {
    transition: opacity 0.2s ease;
  }
  .menu-modal__sublinks a:hover {
    opacity: 0.8;
  }

  .menu-modal__cta {
    transition: opacity 0.2s ease;
  }
  .menu-modal__cta:hover {
    opacity: 0.8;
  }

  .menu-modal__sitetop {
    transition: opacity 0.2s ease;
  }
  .menu-modal__sitetop:hover {
    opacity: 0.7;
  }

  .menu-modal__corporate {
    transition: opacity 0.2s ease;
  }
  .menu-modal__corporate:hover {
    opacity: 0.7;
  }

  .menu-modal__close {
    transition: opacity 0.2s ease;
  }
  .menu-modal__close:hover {
    opacity: 0.7;
  }

  .menu-modal__footer a {
    transition: opacity 0.2s ease;
  }
  .menu-modal__footer a:hover {
    opacity: 0.7;
  }

  /* ----- TOP page ENTRY CTA ----- */
  .entry__cta {
    transition: opacity 0.2s ease;
  }
  .entry__cta:hover {
    opacity: 0.9;
  }

  /* ----- NEXT CTA bar / banner (stronger than default opacity) ----- */
  .story-next:hover,
  .wpst-banner:hover,
  .tech-blog:hover {
    opacity: 0.75;
  }

  /* ----- system-nav button ----- */
  .system-nav__item:hover {
    opacity: 0.75;
  }
}

/* =========================================================
   Page Transition
   ========================================================= */
@keyframes pageFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

body {
  animation: pageFadeIn 0.5s ease forwards;
}

body.is-leaving {
  animation: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

@media (prefers-reduced-motion: reduce) {
  body {
    animation: none;
  }
  body.is-leaving {
    opacity: 1;
    transition: none;
  }
}

/* =========================================================
   Swiper customizations
   ========================================================= */

/* --- Hero sliders --- */
.hero__bg .hero-swiper,
.hero__bg-sp .hero-swiper {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}
.hero__bg .hero-swiper .swiper-slide,
.hero__bg-sp .hero-swiper .swiper-slide {
  overflow: hidden;
}
.hero__bg .hero-swiper .swiper-slide img,
.hero__bg-sp .hero-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform-origin: center center;
}
.hero__bg .hero-swiper .swiper-slide-active img,
.hero__bg-sp .hero-swiper .swiper-slide-active img {
  animation: heroKenBurns 5s linear forwards;
}
@keyframes heroKenBurns {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.1);
  }
}

/* PC vs SP variants visibility */
.hero-swiper--sp-top,
.hero-swiper--sp-bottom {
  display: none;
}
@media (max-width: 768px) {
  .hero-swiper--pc {
    display: none;
  }
  .hero-swiper--sp-top,
  .hero-swiper--sp-bottom {
    display: block;
  }
}

/* --- Img-strip marquee sliders --- */
.img-strip-swiper {
  width: 100%;
  overflow: hidden;
}
.img-strip-swiper .swiper-wrapper {
  transition-timing-function: linear !important;
}
.img-strip-swiper .swiper-slide {
  width: auto !important;
}

/* =========================================================
   Laptop scaling (scale to 75% for MacBook and similar laptops)
   ========================================================= */
@media (min-width: 769px) and (max-width: 1800px) {
  body {
    zoom: 0.75;
  }

  /* counteract 100vh shrinkage from zoom: 0.75 to keep visual height */
  .hero {
    height: calc((100vh + 250px) / 0.75);
  }
  .hero__bg {
    top: calc(160px / 0.65);
    height: calc((100vh + 40px) / 0.75);
  }
}

/* =========================================================
   Utility: Screen reader only (SEO h1 visually hidden)
   ========================================================= */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
