@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:opsz,wght@6..96,400..900&family=Crimson+Text&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Infant:ital,wght@0,700;1,700&display=swap');
html {
 overflow-y: scroll;
}
.p-parallax-main {
  font-family: "Bodoni Moda", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0;
  box-sizing: border-box;
  position: relative;
}
.p-parallax-main * {
  box-sizing: border-box;
}
.u-font-bold {
  font-weight: 600;
}
.u-txt-bk {
  color: #1a1a1a !important;
}
.p-parallax-p {
  font-family: "Crimson Text", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 21px;
  color: #fff;
  line-height: calc(30 / 21);
  margin: 0;
}
.p-parallax-hdg {
  font-size: 50px;
  margin-bottom: 32px;
  margin-top: 0;
  color: #fff;
  font-weight: 400 !important;
  line-height: 1.3;
  font-family: "Cormorant Infant", serif;
  font-optical-sizing: auto;
  font-weight: 700;
}
.p-parallax-txt-block-w {
  background: rgba(255,255,255, 0.8);
  width: 538px;
  padding: 30px;
}
.p-parallax-txt-block-b {
  background: rgba(0,0,0, 0.6);
  width: 540px;
  padding: 30px;
}
.p-parallax-txt-block-w .p-parallax-p,
.p-parallax-txt-block-w .p-parallax-hdg {
  color: #000 !important;
}
.u-txt-bk .p-parallax-p,
.u-txt-bk .p-parallax-hdg {
  color: #000 !important;
}
.p-parallax__fixtxt {
  position: fixed;
  width: 1080px;
  margin: 0 auto;
  left: 0;
  right: 0;
  top: 0;
  pointer-events: none;
  height: 100vh;
  opacity: 1;
  transition: opacity 0.6s ease;
  z-index: 5;
}
.p-parallax__fixtxt p {
  writing-mode: vertical-rl;
  
  font-weight: 600;
  display: inline-block;
  color: #fff;
  font-size: 17px;
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  text-align: center;
}
.p-parallax__fixtxt.is-hidden {
  opacity: 0;
  pointer-events: none;
}
:root {
  --hero-h: 100vh;
  --hero-h-sp: 120vw;
}
/* ========== Block: p-parallax ========== */
.p-parallax__container {
  max-width: 1200px;
  padding: 24px;
  margin: 0 auto;
}
.p-parallax__scene {
  position: relative;
}
.p-parallax-content-inner {
  width: 1080px;
  margin: 0 auto;
  padding: 100px 0;
  height: 100%;
}
.p-parallax__content4 .p-parallax-content-inner {
  margin-top: 20px;
}
.u-flex {
  display: flex !important;
}
.u-justify-c {
  justify-content: center !important;
}
.u-justify-s {
  justify-content: flex-start !important;
}
.u-align-items-c {
  align-items: center !important;
}
.u-align-items-e {
  align-items: flex-end !important;
}
.u-align-c {
  text-align: center;
}
/* ===== SCENE 1: ヒーロー + 紙芝居の2 ===== */
/*.p-parallax__scene--hero{ height: 200vh; }*/
.p-parallax__scene--hero {
  margin-bottom: 10vh;
}
.p-parallax__content1 {
  position: sticky;
  top: 0;
  height: var(--hero-h);
  display: grid;
  place-items: center;
  text-align: center;
  z-index: 1;
  background: url("/en/stories/assets/img/mv.webp") no-repeat center center / cover;
  color: #0b2a4a;
}
.p-parallax__content1 h1 {
  font-size: 100px;
  line-height: 1.2;
  color: #fff;
  animation: fadeIn 2s ease-in-out 0.3s forwards;
  opacity: 0;
  font-family: "Cormorant Infant", serif;
  font-optical-sizing: auto;
  font-weight: 700;
}
.p-parallax__content2 {
  background: url("/en/stories/assets/img/pic-content01.webp") no-repeat center center / cover;
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0;
  /*min-height: 91vh;*/
  /*transform: translateY(10vh);*/
  overflow: hidden;
  height: 100vh;
}
.p-parallax__content3 {
  background: url("/en/stories/assets/img/pic-content02.webp") no-repeat center center / cover;
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0;
  height: 100vh;
  min-height: 800px;
  overflow: hidden;
}
.p-parallax__content3-1 {
  background: #000 url("/en/stories/assets/img/pic-content03.webp") no-repeat center center / cover;
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0;
  height: 100vh;
  min-height: 800px;
  overflow: hidden;
}
.p-parallax__content3-1 .p-parallax-p, .p-parallax__content3-2 .p-parallax-p, .p-parallax__content3-3 .p-parallax-p {
  width: 508px;
}
.p-parallax-txt-block-w .p-parallax-p {
  width: 100%;
}
.p-parallax__content3-2 {
  background: url("/en/stories/assets/img/pic-content04.webp") no-repeat center center / cover;
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0;
  height: 100vh;
  min-height: 800px;
  overflow: hidden;
}
.p-parallax__content3-3 {
  background:url("/en/stories/assets/img/pic-content05.webp");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0;
  height: 100vh;
  min-height: 800px;
  overflow: hidden;
}
.p-parallax__content3-3.r-4 {
  background-image:url("/en/stories/assets/img/pic-content06.webp");
}
.p-parallax__content3-3.r-5 {
  background-image:url("/en/stories/assets/img/pic-content07.webp");
}
.p-parallax__content3-4 {
  background: url("/en/stories/assets/img/pic-content06.webp") no-repeat center center / cover;
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0;
  height: 100vh;
  min-height: 800px;
  overflow: hidden;
}
.p-parallax__content4 {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  will-change: transform;
}
.p-parallax__content4::before,
.r-5::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/en/stories/assets/img/pic-content07.webp") no-repeat center center / cover;
  transform: scale(1.2); /* 120% から開始（大きい） */
  transform-origin: center;
  transition: transform 20s ease-out;
  z-index: -1;
}

/* ズームアウトしたいときに付けるクラス */
.p-parallax__content4.zoom-out::before,
.r-5.zoom-out::before {
  transform: scale(1); /* 通常サイズ */
}
.p-parallax__bnr {
  padding: 30px 0;
}
.p-parallax__bnr-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  list-style: none;
}
.p-parallax__bnr-list-itm a {
  display: block;
  width: 350px;
  height: 129px;
  overflow: hidden;
  background: #fff;
}
.p-parallax__bnr-list-itm img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3s;
}
.p-parallax__bnr-list-itm:hover img {
  transform: scale(1.05);
}


.p-parallax__bnr-list-itm a{position:relative;}
.p-parallax__bnr-list-itm a:before,.p-parallax__bnr-list-itm a:after{content:'';display:block;position:absolute;z-index:2;}
.p-parallax__bnr-list-itm a:before{border-right:1px solid #e4002b;border-bottom:1px solid #e4002b;-webkit-transform:rotate(-45deg);-ms-transform:rotate(-45deg);transform:rotate(-45deg);}
@media screen and (min-width: 769px), print{
.p-parallax__bnr-list-itm a:before{width:5px;height:5px;bottom:19px;right:22px;}
}
@media screen and (max-width: 768px){
  .p-parallax__bnr-list {
    padding: 0;
  }
  .p-parallax__bnr-list-itm {
    width: 80%;
  }
.p-parallax__bnr-list-itm a:before{bottom:4.6vw;right:4.8vw;width:5.5px;width:1.46667vw;height:5.5px;height:1.46667vw;}
}
.p-parallax__bnr-list-itm a:after{height:1px;background-color:#e4002b;}
@media screen and (min-width: 769px), print{
.p-parallax__bnr-list-itm a:after{width:8px;bottom:21px;right:23px;}
}
@media screen and (max-width: 768px){
.p-parallax__bnr-list-itm a:after{bottom:5.26667vw;right:4.6vw;width:9px;width:2.4vw;}
}
.p-parallax__bnr-list-itm a span{display:block;position:relative; width: 100%; height: 100%;}
.p-parallax__bnr-list-itm a span:after{content:'';display:block;position:absolute;z-index:2;border:1px solid #e4002b;border-radius:50%;}
@media screen and (min-width: 769px), print{
.p-parallax__bnr-list-itm a span:after{bottom:10px;right:16px;width:20px;height:20px;}
}
@media screen and (max-width: 768px){
.p-parallax__bnr-list-itm a span:after{bottom:1.93333vw;right:2.33333vw;width:25px;width:6.66667vw;height:25px;height:6.66667vw;}
}




/* ===== SCENE 2: 3→4 連動 ===== */
.p-parallax__scene--three-four {
  /* このシーン内のスクロールで 3 を見切ってから 4 をせり上げる */
  height: 320vh; /* 全体の尺。長くするほど演出に余裕 */
  background: #f7f7fb;
}
.p-parallax__viewport {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  z-index: 0;
}
/* コンテンツ3：viewport 内で“縦に長い”トラックを上にスライド */
.p-parallax__content3-track {
  position: absolute;
  inset: 0;
  will-change: transform;
}
.p-parallax__content3-pane {
  box-sizing: border-box;
  width: 100%;
}
.p-parallax__grid3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.p-parallax__card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(17, 17, 17, .08);
}
/* コンテンツ4：最初は viewport の下に待機 → 後半でせり上がる */
.p-parallax__content4-panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  /*background: linear-gradient(135deg, #6a85b6, #bac8e0);
      color: #0b1a2a;*/
  transform: translateY(60%); /* 画面外（下）から開始 */
  will-change: transform;
  z-index: 2;
  background: #eee;
  /*box-shadow: 0 -20px 60px rgba(0,0,0,.18);*/
  margin-bottom: -1px;
}
.p-parallax__cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.p-parallax__btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 999px;
  background: #0b1a2a;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}
/* ===== footer（ページ末は4で終わる） ===== */
.p-parallax__footer {
  padding: 80px 24px;
  text-align: center;
  color: #666;
  font-size: 14px;
}
/* ===== レスポンシブ（SP挙動） ===== */
@media (max-width: 768px) {
  /* SP：コンテンツ1→2 が紙芝居。2が手前に重なる */
  .p-parallax__scene--hero {
    /*height: calc(var(--hero-h-sp) + 100vh);*/
  }
  .p-parallax__content1 {
    height: 120vw;
    position: sticky;
    top: 0;
    z-index: 1;
    margin-bottom: -0.5vw;
    background-image: url("/en/stories/assets/img/mv_sp.webp") !important;
  }
  .p-parallax__content2 {
    width: 100%;
    min-height: 90vh;
    position: sticky;
    top: 0;
    z-index: 2;
    transform: none;
    background-image: url("/en/stories/assets/img/pic-content01_sp.webp") !important;
    overflow: visible;
  }
  .p-parallax__content2::after {
    content: "";
    width: 10vw;
    height: 20vw;
    display: block;
    background: url("/en/stories/assets/img/ico_scroll.svg") no-repeat center center / contain;
    position: absolute;
    top: -10vw;
    right:4vw;
  }
@keyframes grow {
  from {
    height: 0;
  }
  to {
    height: 8vw;
  }
}
.p-parallax__content3-1 {
  background-image: url("/en/stories/assets/img/pic-content03_sp.webp") !important;
}
.p-parallax__content3-2 {
  background-image: url("/en/stories/assets/img/pic-content04_sp.webp") !important;
}
.p-parallax__content3-3 {
  background-image:url("/en/stories/assets/img/pic-content05_sp.webp") !important;
}
.p-parallax__content3-4 {
  background-image: url("/en/stories/assets/img/pic-content06_sp.webp") !important;
}
.p-parallax__content4::before,
.r-5::before {
  background-image: url("/en/stories/assets/img/pic-content07_sp.webp") !important;
}
  .p-parallax__grid3 {
    grid-template-columns: 1fr;
  }
  .p-parallax__content4-panel {
    height: auto;
    transform: translateY(0); /* 画面外（下）から開始 */
  }
  .p-parallax__content4 .p-parallax-content-inner {
    margin-top: 14vw;
  }
}
.fadeup {
  opacity: 0;
  transform: translateY(80px);
  transition: opacity 1s ease, transform 1s ease;
}
.fadeup.show {
  opacity: 1;
  transform: translateY(0);
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@media screen and (min-width: 769px), print {
  .u-none--pc {
    display: none !important;
  }
  body {
    background: #333;
  }
  .p-parallax-main {
    max-width: 2000px;
    margin: 0 auto;
  }
}

@media screen and (max-width: 768px){
  .u-none--sp {
    display: none !important;
  }
  .p-parallax-p {
    font-size: 4.8vw;
    line-height: 1.4;
    width: 100% !important;
  }
  .p-parallax-hdg {
    font-size: 8vw;
    margin-bottom: 2.8vw;
  }
  .p-parallax-txt-block-w,.p-parallax-txt-block-w--sp {
    background: rgba(255, 255, 255, 0.8);
    width: 100%;
    padding: 2.666666667vw;
  }
  .p-parallax-txt-block-b {
    background: rgba(0,0,0, 0.4);
    width: 100%;
    padding: 2.666666667vw;
  }
  .p-parallax-txt-block-w--sp .p-parallax-hdg,
  .p-parallax-txt-block-w--sp .p-parallax-p {
    color: #000 !important;
  }
  .p-parallax__fixtxt {
    width: 100vw;
  }
  .p-parallax__fixtxt p {
    font-size: 3.733333333vw;
    right: 4.266666667vw;
    top: 4.266666667vw;
    text-align: left;
  }
  /* ========== Block: p-parallax ========== */
  .p-parallax__container {
    max-width: 100vw;
    padding: 0;
  }
  .p-parallax-content-inner {
    width: 100vw;
    padding: 6.333333vw;
  }
  /* ===== SCENE 1: ヒーロー + 紙芝居の2 ===== */
  .p-parallax__scene--hero {
      margin-bottom: 0;
  }
  .p-parallax__content1 h1 {
    font-size: 8.66666667vw;
  }
  .p-parallax__content2 {
    aspect-ratio: 750 / 1334;
    margin-bottom: -1vw;
    min-height: auto !important;
  }
  .p-parallax__content3 {
    aspect-ratio: 750 / 1334;
    height: auto;
    min-height: auto !important;
    overflow: visible !important;
  }
  .p-parallax__content3-1 {
    background: url("/en/stories/assets/img/pic-content03.webp");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    aspect-ratio: 750 / 1334;
    height: auto;
    min-height: auto !important;
    overflow: visible !important;
    margin-bottom: 0;
  }
  .p-parallax__content3-1 .p-parallax-p, .p-parallax__content3-2 .p-parallax-p, .p-parallax__content3-3 .p-parallax-p {
    width: 90%;
  }
  .p-parallax__content3-2 {
    aspect-ratio: 750 / 1334;
    height: auto;
    min-height: auto !important;
    overflow: visible !important;
    margin-bottom: 0;
  }
  .p-parallax__content3-3 {
    background: url("/en/stories/assets/img/pic-content05_sp.webp");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    aspect-ratio: 750 / 1334;
    height: auto;
    min-height: auto !important;
    overflow: visible !important;
    margin-bottom: 0;
  }
  .p-parallax__content3-3.r-4 {
    background-image: url("/en/stories/assets/img/pic-content06_sp.webp") !important;
  }
  .p-parallax__content3-3.r-5 {
    background-image: url("/en/stories/assets/img/pic-content07_sp.webp") !important;
  }
  .p-parallax__content3-4 {
    aspect-ratio: 750 / 1334;
    height: auto;
    min-height: auto !important;
    overflow: visible !important;
  }
  .p-parallax__content4 {
    height: 100vh;
  }
  .p-parallax__bnr {
    padding: 8vw 0;
  }
  .p-parallax__bnr-list {
    flex-direction: column;
    gap: 4vw;
  }
  .p-parallax__bnr-list-itm a {
    width: 100%;
    height: 29vw;
  }
  .u-pt60--sp {
    padding-top: 16vw;
  }
}

@media screen and (min-width: 769px), print {
  .p-parallax__scene.p-parallax__scene--hero {
    margin-bottom: 0;
  }
  /*.p-parallax__content1 {
    position: absolute;
    top:0;
    left:0;
    right: 0;
    margin: 0 auto;
    z-index: 2;
    transition: transform 0s linear;  アニメではなく手動制御 
    will-change: transform;
  }*/
/*  .p-parallax__content2 {
    position: relative;
    z-index: 1;
    transform: translateY(0);
  }*/

/* シーン全体：2画面分の高さ */
/*.p-parallax__scene--hero {
  position: relative;
  height: 200vh;
}
.p-parallax__hero-viewport {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;     content1/2 がはみ出さないように 
}*/

/* 1と2を1画面ずつにする（必要なら調整） */
/*.p-parallax__content1,
.p-parallax__content2 {
  height: 100vh;
}

 動かすのは1だけ 
.p-parallax__content1 {
  will-change: transform;
  transform: translateY(0);
}*/
  .u-fs25 {
    font-size: 25px !important;
  }
  .u-align-items-c--pc {
    align-items: center !important;
  }
  }
@media screen and (max-width: 768px){
  .u-fs25 {
    font-size: 5.333333333vw !important;
  }
  .u-align-c--sp {
    text-align: center;
  }
  .u-align-items-e--sp {
    align-items: flex-end !important;
  }
}

/* Content4 内のテキストの初期状態（非表示側のスタイル） */
.p-parallax__content4 .p-parallax-wrap,
.p-parallax__content2 .p-parallax-p {
  opacity: 0;
  /*transform: translateY(16px);*/
  transition: opacity 3s ease;
}

/* フェードインさせたいときに付けるクラス */
.p-parallax__content4 .p-parallax-wrap.is-fadein,
.p-parallax__content4-panel .p-parallax-p.is-fadein,
.p-parallax__content2 .p-parallax-p.is-fadein {
  opacity: 1;
  /*transform: translateY(0);*/
}

.js-display-none{
  display: none !important;
}

@media screen and (min-width: 769px), print {
  .p-parallax__content4-panel {
    transform: translateY(0) !important;
    position: relative;
    z-index: 0;
  }
  .p-parallax__viewport {
    position: relative;
    height: initial !important;
    z-index: 1;
    will-change: transform;
  }
  .p-parallax__scene--three-four {
  height: initial !important;
  }
  .p-parallax__content3-track {
    position: relative;
  }
  .p-parallax__content4 {
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: 0;
  }
  .u-wd56per--pc {
    width: 56% !important;
  }
}

/* ==== 紙芝居共通 ==== */
.parallax-pair {
  position: relative;
  height: 200vh;           /* 2画面ぶんスクロール */
}

.p-parallax__hero-viewport,
.parallax-pair .p-parallax__hero-viewport {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;        /* 中身がはみ出さないように */
}

/* 紙芝居の2枚 */
.parallax-panel {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 裏：固定（2 / 5） */
.parallax-panel.back {
  position: sticky;
  top: 0;
  z-index: 1;
}

/* 表：動く（1 / 4） */
.parallax-panel.front {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  will-change: transform;
}

/* === SPでは紙芝居レイアウトを解除して「普通の縦スクロール」にする === */
@media (max-width: 768px) {
  .parallax-pair {
    position: static;
    height: auto;
  }

  .parallax-pair .p-parallax__hero-viewport {
    position: static;
    top: auto;
    height: auto;
    overflow: visible;
  }

  .parallax-panel {
    position: static !important;
    height: auto;
    transform: none !important;
    will-change: auto;
    display: block; /* コンテンツの元の display に合わせて必要なら */
  }

  .parallax-panel.back,
  .parallax-panel.front {
    z-index: auto;
  }
  .p-parallax__content1 {
    height: 120vw !important;
    position: sticky !important;
    top: 0;
    left: 0;
    z-index: 0;
  }
  .p-parallax__content1 .p-parallax__container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
  }
  .p-parallax__content2 {
    z-index: 1 !important;
    position: relative !important;
  }
  .p-parallax__scene--three-four .parallax-panel.front {
    position: sticky !important;
    top: 0;
    left: 0;
  }
  .p-parallax__viewport {
    height: auto !important;
    position: relative !important;
  }
  .p-parallax__content3-track {
    position: relative !important;
  }
  .p-parallax__content4-panel {
    position: relative !important;
  }
  .p-parallax__scene--three-four {
    height: auto !important;
  }
  .p-parallax__content3-4 .p-parallax-content-inner {
    padding-bottom: 30vw;
  }
}

.u-wd100per {
  width: 100% !important;
}
.r-5 {
  overflow: hidden !important;
}