@charset "UTF-8";

:root {
  --red: #d3232e;
  --red-deep: #af2d2d;
  --ink: #282828;
  --line: #dedede;
  --serif: "a-otf-ryumin-pr6n", "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  width: 100%;
  display: flex;
  flex-direction: column;
  height: calc(100vh - 59px);
  overflow: hidden;
  position: relative;
}
.hero-media {
  width: 100%;
  height: 56.4102564103vw;
  flex: 0 1 56.4102564103vw;
  overflow: hidden;
}
.hero-media .swiper-slide picture,
.hero-media .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero_inner {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
}
.hero-copy {
  width: 100%;
  flex: 1 1 0;
  padding: 22px 17px;
  color: #fff;
  background: radial-gradient(74.9% 52.17% at 29.01% 27.55%, #E6222E 0%, #E1232E 25.52%, #D4262E 54.43%, #BD2A2D 84.87%, #AF2D2D 100%);
  overflow: visible;
}
.hero-copy h1 {
  font-family: var(--serif);
  font-size: clamp(1.563rem, 1.2rem + 1.49vw, 2.5rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.02em;
}
.hero-marquee {
  position: absolute;
  left: 0;
  bottom: 24px;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  font-family: var(--serif);
  font-size: clamp(3.75rem, 2.302rem + 5.94vw, 7.5rem);
  font-weight: 700;
  line-height: 1;
  color: #FFFFFF;
  z-index: 10;
}
.hero-marquee span {
  display: inline-block;
  animation: marquee 52s linear infinite;
}
@media (min-width: 920px) {
  .hero {
    flex-direction: row-reverse;
    height: calc(100vh - 84px);
  }
  .hero-media {
    flex: 0 1 auto;
  }
  .hero-media-a {
    width: 50%;
    height: 100%;
  }
  .hero_inner {
    width: 50%;
    display: flex;
    flex-direction: column;
  }
  .hero-media-b {
    height: 50%;
  }
  .hero-copy {
    height: 50%;
  }
}

/* ==========================================================================
   Intro Section
   ========================================================================== */
.wrap {
  background-color: var(--red);
}
.wrap .container-base {
  padding-top: 16px;
}
.wrap .breadcrumb {
  margin: 0 0 94px;
  color: #FFFFFF;
}
@media (min-width: 920px) {
  .wrap .container-base {
    padding-top: 16px;
  }
  .wrap .breadcrumb {
    margin: 0 0 157px;
  }
}

.intro {
  width: 100%;
  position: relative;
  color: #fff;
}
.intro-pinned {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
}
.intro-stage {
  width: 100%;
  /* 修正：SPの画面比率（約16:9〜4:3）に合わせて高さを制御し上下中央に配置 */
  height: auto;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  will-change: transform;
  overflow: hidden;
}
/*.intro-stage {*/
/*  width: 100%;*/
/*  height: 100%;*/
/*  position: absolute;*/
/*  top: 0;*/
/*  left: 0;*/
/*  will-change: transform; !* アニメーションの描画負荷軽減 *!*/
/*}*/
.intro-stage picture,
.intro-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.intro-sticky {
  margin: 0 0 24px;
}
.intro-grid {
  width: 100%;
  display: flex;
  flex-direction: column;
  color: #FFFFFF;
  position: relative;
  z-index: 2;
  padding: 0 20px 200px;
}
.intro-catch {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  text-align: center;
}
.intro-copy {
  letter-spacing: 0.04em;
  text-align: center;
  padding: 0 20px;
}
.intro-copy p + p {
  margin-top: 12px;
}
.intro-copy sup {
  font-size: 12px;
}
.intro-source {
  font-size: 10px;
  line-height: 1.5;
  position: absolute;
  bottom: 20px;
  right: 24px;
}
@media (min-width: 920px) {
  .intro .container-base {
    padding-top: 20px;
  }
  .intro-stage {
    height: 100%;
    max-height: none;
    top: 0;
    transform: none;
  }
  .intro-grid {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1300px;
    margin: -100vh auto 0;
    position: relative;
    z-index: 2;
    padding: 100vh min(2.85714285714vw, 40px) 300px;
  }
  .intro-sticky {
    position: sticky;
    top: 50%;
    width: 44%;
    flex-shrink: 0;
    margin: 0;
  }
  .intro-catch {
    font-size: min(3.42857142857vw, 48px);
    text-align: left;
  }
  .intro-copy {
    font-size: 18px;
    line-height: 2.2;
    text-align: left;
    width: 50%;
    padding-top: 0;
    margin-top: 500px;
  }
  .intro-copy p + p {
    margin-top: 24px;
  }
  .intro-copy sup {
    font-size: 14px;
  }
  .intro-source {
    font-size: 12px;
    bottom: 40px;
    right: 20px;
  }
}
/*.intro-stage {*/
/*  position: absolute;*/
/*  left: 50%;*/
/*  top: 155px;*/
/*  width: min(600px, 72vw);*/
/*  aspect-ratio: 600 / 338;*/
/*  transform: translateX(-50%) scale(calc(1 + var(--intro-progress) * 1.34));*/
/*  transform-origin: center;*/
/*  opacity: calc(1 - var(--intro-progress) * 0.92);*/
/*  z-index: 2;*/
/*  will-change: transform, opacity;*/
/*}*/
/*.intro-stage　img {*/
/*  width: 100%;*/
/*  height: 100%;*/
/*  object-fit: cover;*/
/*}*/



.intro-source {
  position: absolute;
  right: 20px;
  bottom: 54px;
  z-index: 4;
  margin: 0;
  font-size: 11px;
}

.intro-source a {
  text-decoration: underline;
}

/* ==========================================================================
   History Section
   ========================================================================== */
.history {
  position: relative;
  overflow: clip;
  background: #fff;
  padding: 60px 0 0;
}
.history-heading {
}
.history-ttl {
  margin: 0 0 24px;
}
.history-ttl_en {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 13px;
  line-height: 1;
  color: var(--red);
  display: block;
  margin: 0 0 8px;
}
.history-ttl_large {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.5;
}
.history-txt {
  letter-spacing: 0.04em;
  text-align: justify;
}
.timeline {
  position: relative;
  margin: auto;
  padding: 84px 0 0;
}
.timeline-line {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #eee;
  overflow: hidden;
}
.timeline-line span {
  display: block;
  width: 100%;
  height: 100%;
  background: #bbb;
  transform: scaleY(0);
  transform-origin: top;
}

.history.is-sequencing .timeline-line span {
  animation: growLine 2.3s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

.timeline-year {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  padding: 0 0 0 20px;
  margin: 0 0 40px;
}
.year {
  font-family: var(--serif);
  font-weight: 550;
  font-size: 32px;
  margin-left: -24px;
}
.year span {
  position: relative;
  padding-left: 24px;
}
.year span::before {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--red);
  top: 50%;
  left: 0;
  translate: 0 -50%;
}
.history-card {
  margin: 0 0 70px;
}

.history-card:last-child {
  margin-bottom: 0;
}
.history-card h3,
.six-products h3 {
  color: var(--red);
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.25rem, 1.153rem + 0.4vw, 1.5rem);
  line-height: 1.5;
  margin: 0 0 12px;
}
.description {
  display: block;
  margin: 0 0 24px;
}
.image {
  width: 200px;
  height: 133px;
  margin: 0 0 12px;
}
.image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.media-row {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin: 0 0 12px;
}
.media-row .image {
  margin: 0;
}
.card-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.card-stack .history-card {
  margin: 0;
}
.history-card_link {
  width: 181px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 10px;
  border-bottom: 1px solid #DCDCDC;
  position: relative;
  margin: 12px 0 0;
}
.history-card_link p {
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
}
.history-card_link::before {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: #e60012;
  position: absolute;
  bottom: -1px;
  left: 0;
  scale: 0 1;
  transition: scale 0.3s ease-out;
  transform-origin: 100% 0;
}
.history-card_link .icon::before,
.history-card_link .icon::after {
  width: 20px;
  height: 20px;
}
.history-card .wide-image {
  width: 100%;
  height: auto;
  min-height: 207px;
  max-height: 585px;
  overflow: hidden;
}
.product-pair {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.triple-grid {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.triple-grid .history-card {
  margin: 0;
}
.triple-grid .history-card > img {
  width: 100%;
  height: auto;
}
.six-products-heading {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.5;
  color: var(--red);
  display: block;
  margin: 0 0 16px;
}
.six-products {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.final-year {
  margin-bottom: 0;
}
.history-card-modify .history-card_link {
  width: fit-content;
  gap: 16px;
}
.six-products .image {
  width: 200px;
  height: 133px;
}
.six-products .span-2 .image {
  width: 200px;
  height: 133px;
}
.history-card_link-collection {
  width: fit-content;
  gap: 16px;
}
@media (min-width: 600px) {
  .six-products {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .six-products div {
    width: min(25.7142857143vw, 360px);
  }
  .six-products .span-2 {
    width: 100%;
  }
}
@media (min-width: 920px) {
  .history {
    padding: 160px 0 0;
  }
  .history-heading {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }
  /*.history-card h3,*/
  /*.six-products h3 {*/
  /*  font-size: 24px;*/
  /*}*/
  .history-ttl {
    flex: 0 1 min(35.7142857143vw, 500px);
    margin: 0;
  }
  .history-ttl_en {
    font-size: 15px;
    margin: 0 0 12px;
  }
  .history-ttl_large {
    font-size: min(2.85714285714vw, 40px);
  }
  .history-txt {
    flex: 0 1 min(34.2857142857vw, 480px);
  }
  .timeline {
    padding: 147px 0 0;
  }
  .timeline-line {
    left: min(10vw, 140px);
  }
  .timeline-year {
    flex-direction: row;
    gap: min(14.2857142857vw, 200px);
    padding: 0 0 0 min(9.64285714286vw, 135px);
  }
  .year {
    font-size: min(3.42857142857vw, 48px);
    margin-left: 0;
  }
  .year span {
    position: sticky;
    top: 120px;
    display: block;
    padding-left: min(2.28571428571vw, 32px);
  }
  .year-content {
    flex: 0 1 min(880px, 100%);
  }
  .description {
    display: block;
    margin: 0 0 80px;
  }
  .image {
    width: min(25.7142857143vw, 360px);
    height: min(17.1428571429vw, 240px);
    margin: 0 0 12px;
  }
  .media-row {
    flex-direction: row;
  }
  .card-stack {
    gap: 80px;
  }
  .history-card_link p {
    transition: color 0.3s cubic-bezier(0.18, 0.06, 0.23, 1);
  }
  .history-card_link:hover p {
    color: #e60012;
  }
  .history-card_link:hover .icon::before,
  .history-card_link:hover .icon::after {
    background-color: #e60012;
  }
  .history-card_link:hover::before {
    scale: 1 1;
    transform-origin: 0 0;
  }
  .product-pair {
    flex-direction: row;
    gap: 16px;
  }
  .product-pair div {
    width: min(25.7142857143vw, 360px);
  }
  .triple-grid {
    flex-direction: row;
    gap: 16px;
  }
  .triple-grid .image {
    width: 100%;
    height: auto;
  }
  .six-products-heading {
    font-size: min(2.85714285714vw, 40px);
    margin: 0 0 40px;
  }
  .six-products {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 40px 24px;
  }
  .six-products .image {
    width: min(25.7142857143vw, 360px);
    height: min(14.2857142857vw, 200px);
  }
  .six-products .span-2 .image {
    width: min(25.7142857143vw, 360px);
    height: min(14.2857142857vw, 200px);
  }
}











/* ==========================================================================
   History Message
   ========================================================================== */
.history-message {
  overflow: clip;
  position: relative;
  background: linear-gradient(#fff 0%, #f3f3f3 32%, #d5d5d5 100%);
}
.history-message .container-base {
  margin: -115px auto 0;
}
.history-message_container {
  position: relative;
  height: calc(100vh + 360px);
  overflow: clip;
  padding-top: 310px;
}
.history-line {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #eee;
  overflow: hidden;
}
.history-line span {
  display: block;
  width: 100%;
  height: 100%;
  background: #bbb;
  transform: scaleY(0);
  transform-origin: top;
}
.message-marquee {
  position: sticky;
  top: 50%;
  width: max-content;
  padding-top: 60px;
  opacity: 0.6;
  color: #fff;
  font-family: var(--serif);
  font-size: 60px;
  font-weight: 700;
  line-height: 0.92;
  white-space: nowrap;
  transform: translateX(-8%);
}

.message-copy {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  padding: 0 20px 0 44px;
}

.message-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.5;
  color: var(--red);
  display: block;
  margin: 0 0 20px;
}
.message-copy p {
  margin: 0 0 12px;
}
.red {
  color: var(--red);
}
@media (min-width: 920px) {

  .history-message_container {
    height: 180vh;
    padding-top: 240px;
  }
  .history-line {
    left: min(10vw, 140px);
  }
  .message-marquee {
    font-size: min(7.71428571429vw, 108px);
  }
  .message-copy {
    max-width: 666px;
    font-size: 18px;
    line-height: 2.2;
    padding: 0 0 0 min(10.7142857143vw, 150px);
  }
  .message-copy p {
    margin: 0 0 24px;
  }
  .message-title {
    font-size: min(2.85714285714vw, 40px);
    margin: 0 0 40px;
  }
}


/* ==========================================================================
   Promise Section
   ========================================================================== */
.promise {
  width: 100%;
  height: auto;
  position: relative;
  background-color: #ffffff;
}
.promise_bg {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.promise_bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.promise_container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  position: relative;
  contain: paint;
}
.promise-image {
  flex: 0 0 130px; /* 縮まないよう 0 0 に固定推奨 */
  overflow: hidden;
}
.promise-image_fade,
.promise-image_fade .swiper {
  width: 100%;
  height: 100%;
}
.promise-image .swiper-slide {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.promise-image .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.promise-image .infiniteslide div {
  width: 200px;
  height: 130px;
}
.promise-image .infiniteslide div img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.promise-copy {
  flex: 1 1 auto;
  min-width: 0; /* flexアイテムの縮み暴走を防ぐ */
  width: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 64px 52px;
  text-align: center;
}
.promise-ttl {
  margin: 0 0 32px;
}
.promise-ttl_txt {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.5;
  text-align: center;
  display: block;
  margin: 0 0 8px;
}
.promise-ttl_catch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
}
.promise-ttl_catch p {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.04em;
  margin: 0; /* ブラウザデフォルトの余白をリセット */
  flex-shrink: 0;
}
.promise-ttl_catch span {
  width: 100%;
  height: 1px;
  background-color: #222222;
  flex: 1; /* 余ったスペースを左右のspanで均等に分け合い、狭くなれば縮む */
}
.promise-txt {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.promise-txt strong {
  color: var(--red);
}
.promise-image-right {
  display: none;
}
.promise-image-left {
  display: none;
}
@media (min-width: 920px) {
  .promise {
    height: 100vh;
  }
  .promise_container {
    flex-direction: row;
    justify-content: space-between;
  }
  .promise-image {
    flex: 0 0 min(28.5714285714vw, 400px);
    max-width: min(28.5714285714vw, 400px);
  }
  .promise-copy {
    padding: 0 min(1.64285714286vw, 23px);
  }
  .promise-ttl {
    margin: 0 0 40px;
  }
  .promise-ttl_txt {
    font-size: min(2.85714285714vw, 40px);
    margin: 0 0 12px;
  }
  .promise-ttl_catch {
    font-size: 15px;
  }
  .promise-txt {
    line-height: 2.2;
    gap: 20px;
  }

  .promise-image-top {
    display: none;
  }
  .promise-image-btm {
    display: none;
  }
  .promise-image-right {
    display: block;
    width: 100%;
    height: 100%;
  }
  .promise-image-left {
    display: block;
    width: 100%;
    height: 100%;
  }
}

.desc {
  margin: 0 0 12px;
}


/* ==========================================================================
   Animations Keyframes
   ========================================================================== */
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes growLine {
  to {
    transform: scaleY(1);
  }
}

@keyframes yearIn {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes a1Opacity {
  0% { opacity: 1; }
  20% { opacity: 1; animation-timing-function: ease-in-out; }
  30% { opacity: 0; }
  75% { opacity: 0; animation-timing-function: ease-in-out; }
  85%, 100% { opacity: 1; }
}

@keyframes a1Scale {
  0% { transform: scale(1.03); }
  30% { transform: scale(1); animation-timing-function: step-end; }
  30.042%, 75% { transform: scale(1.06); }
  100% { transform: scale(1.03); }
}

@keyframes a2Opacity {
  0% { opacity: 0; }
  20% { opacity: 0; animation-timing-function: ease-in-out; }
  30% { opacity: 1; }
  46.25% { opacity: 1; animation-timing-function: ease-in-out; }
  56.25%, 100% { opacity: 0; }
}

@keyframes a2Scale {
  0%, 20% { transform: scale(1.06); }
  56.25% { transform: scale(1); animation-timing-function: step-end; }
  56.292%, 100% { transform: scale(1.06); }
}

@keyframes a3Opacity {
  0% { opacity: 0; }
  46.25% { opacity: 0; animation-timing-function: ease-in-out; }
  56.25% { opacity: 1; }
  75% { opacity: 1; animation-timing-function: ease-in-out; }
  85%, 100% { opacity: 0; }
}

@keyframes a3Scale {
  0%, 46.25% { transform: scale(1.06); }
  85% { transform: scale(1); animation-timing-function: step-end; }
  85.042%, 100% { transform: scale(1.06); }
}

@keyframes b1Opacity {
  0% { opacity: 1; }
  12.5% { opacity: 1; animation-timing-function: ease-in-out; }
  22.5% { opacity: 0; }
  40.833% { opacity: 0; animation-timing-function: ease-in-out; }
  50.833% { opacity: 1; }
  64.167% { opacity: 1; animation-timing-function: ease-in-out; }
  74.167% { opacity: 0; }
  87.083% { opacity: 0; animation-timing-function: ease-in-out; }
  97.083%, 100% { opacity: 1; }
}

@keyframes b1Scale {
  0% { transform: scale(1.03); }
  22.5% { transform: scale(1); animation-timing-function: step-end; }
  22.542%, 40.833% { transform: scale(1.06); }
  74.167% { transform: scale(1); animation-timing-function: step-end; }
  74.208%, 87.083% { transform: scale(1.06); }
  100% { transform: scale(1.03); }
}

@keyframes b2Opacity {
  0% { opacity: 0; }
  12.5% { opacity: 0; animation-timing-function: ease-in-out; }
  22.5% { opacity: 1; }
  40.833% { opacity: 1; animation-timing-function: ease-in-out; }
  50.833% { opacity: 0; }
  64.167% { opacity: 0; animation-timing-function: ease-in-out; }
  74.167% { opacity: 1; }
  87.083% { opacity: 1; animation-timing-function: ease-in-out; }
  97.083%, 100% { opacity: 0; }
}

@keyframes b2Scale {
  0%, 12.5% { transform: scale(1.06); }
  50.833% { transform: scale(1); animation-timing-function: step-end; }
  50.875%, 64.167% { transform: scale(1.06); }
  97.083% { transform: scale(1); animation-timing-function: step-end; }
  97.125%, 100% { transform: scale(1.06); }
}

.fadein {
  opacity: 0;
  transform: translate(0, 0);
  transition: all 1.5s cubic-bezier(0.18, 0.06, 0.23, 1);
}

.fadein.fadein-left {
  transform: translate(-30px, 0);
}

.fadein.fadein-right {
  transform: translate(30px, 0);
}

.fadein.fadein-up {
  transform: translate(0, -30px);
}

.fadein.fadein-bottom {
  transform: translate(0, 30px);
}

.fadein.scrollin {
  opacity: 1 !important;
  transform: translate(0, 0) !important;
}

.site_body {
  padding-top: 0;
}
.site_header.is-history {
  background: transparent;
  border-bottom: none;
}
.site_header.is-history {
  background: transparent;
  border-bottom: none;
}
.site_header.is-history.is-scroll {
  background: #FFFFFF;
  border-bottom: 1px solid #dcdcdc;
}
.site_header.is-history:has(.pc_nav_item:hover) {
  background-color: #ffffff; /* 背景色を変更する例 */
  border-bottom: 1px solid #dcdcdc;
}

/* =========================================================
 * intro 修正（45th-history.css の末尾に追記してください）
 * 45th-history.js（INTRO 設定）とセットで使います
 * ======================================================= */

/* 画像が拡大しきるまでのスクロール量（JS の INTRO.ZOOM と同じ値。JS が上書きします） */
.intro {
  --intro-zoom: 160vh;
}

/* ---------- 1. 初期状態（JS 実行前のチラつき防止） ----------
   GSAP が初期値を入れる前に、等倍の画像・表示状態のテキストが一瞬見えるのを防ぐ */
.intro-stage {
  transform: translateY(-50%) scale(0.65);
  will-change: transform, opacity; /* opacity もアニメーションするため追加 */
  backface-visibility: hidden;
}
.intro-grid {
  opacity: 0;
  visibility: hidden;
}
/* GSAP が読み込めなかった場合はそのまま表示 */
.intro.is-intro-static .intro-stage {
  transform: translateY(-50%);
}
.intro.is-intro-static .intro-grid {
  opacity: 1;
  visibility: visible;
}

/* ---------- 2. テキストの開始位置を「拡大完了後」にずらす ----------
   テキストは通常スクロールで上がってくるため、拡大中に画面内へ入らないよう
   拡大に使うスクロール量（--intro-zoom）だけ下にずらす */
.intro-grid {
  padding-top: var(--intro-zoom);
}

/* intro 内では .fadein の CSS transition を無効化（GSAP と二重制御になるため。JS でもクラスを外しています） */
.intro .fadein {
  opacity: 1;
  transform: none;
  transition: none;
}

@media (min-width: 920px) {
  .intro-stage {
    transform: scale(0.65);
  }
  .intro.is-intro-static .intro-stage {
    transform: none;
  }
  .intro-grid {
    padding-top: calc(100vh + var(--intro-zoom));
  }
}