/* ページ共通 */
img {
  display: block;
}
/* 縦書き */
.vertical-rl {
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;

  @media screen and (max-width: 1000px) {
    -ms-writing-mode: unset;
    writing-mode: unset;
  }
}
@media screen and (max-width: 767px) {
  .pageMv {
    height: 36.34375rem;
    margin-bottom: 10.3125rem;
  }
  .pageMv__texts {
    padding-top: 0;
    position: absolute;
    bottom: -10.3125rem;
    left: 0;
    padding-right: var(--padding-side);
    padding-left: var(--padding-side);
  }
}

.pageStory {
  font-family: var(--familyZenOldMincho);
}

/* ================== */
/* スクロール間セクション */
/* ================== */
.story {
  background: var(--bg-contents-gradation-green);
  margin-top: 0;
  padding-bottom: var(--gradation-margin);
}

.story__column {
  display: flex;
  align-items: flex-start;
  gap: clamp(2.5rem, -3.182rem + 9.09vw, 5rem);
  margin-top: 8rem;
}

/* 左：画像側アイテム */
.story__images {
  display: block;
  flex: 0 1 35.7143%;
  position: sticky;
  top: 0;
  height: 100vh;
}
.story__img {
  display: flex;
  flex-direction: column;
  justify-content: center;
  place-items: center;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity .6s ease;
}
.story__img.is-active {
  opacity: 1;
}
.story__img figcaption {
  color: rgba(255, 255, 255, .6);
  font-family: var(--familyNotoSans);
  font-size: var(--12);
  font-style: normal;
  font-weight: 400;
  line-height: 200%;
  letter-spacing: 0.06rem;
  text-align: center;
  margin-top: 0.625rem;
}

/* 右：テキスト側アイテム */
.story__item {
  margin-top: 22rem;
  display: flex;
  gap: clamp(2.5rem, -3.182rem + 9.09vw, 5rem);
}
.story__item:first-of-type {
  margin-top: 50vh;
  transform: translateY(-50%);
}
.story__item + .story__item {
  margin-top: 33rem;
}
.story__item:last-of-type {
  margin-block: 12rem 50vh;
  transform: translateY(50%);
}



.story__details {
  flex: 1;
}
.story__title {
  font-size: var(--28);
  font-weight: 500;
  line-height: 110%;
  letter-spacing: 0.14rem;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 1.375rem;
  width: calc(100% - 61.7% - clamp(2.5rem, -3.182rem + 9.09vw, 5rem));
  
  span {
    display: inline-block;
    border-right: 1px solid rgba(255, 255, 255, 0.30);
    padding-right: 0.5rem;
    white-space: nowrap;
  }
}
.story__title .no-pc {
  display: none;
}
.story__text {
  font-size: var(--16);
  font-weight: 500;
  line-height: 240%;
  letter-spacing: 0.08rem;
  width: 61.7%;
}

@media screen and (max-width: 1000px) {
  .story__item {
    flex-direction: column;
    margin-top: 10rem;
  }
  .story__item:first-of-type {
    margin-top: 1rem;
    transform: unset;
  }
  .story__item + .story__item {
    margin-top: 20rem;
  }
  .story__text {
    order: 2;
    width: 100%;
  }
  .story__title {
    width: 100%;
  }
  .story__title span {
    padding-right: 0;
    padding-bottom: 0.5rem;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.30);
  }
}

@media screen and (max-width: 767px) {
  .story {
    padding-top: 6.5rem;
  }
  .story__column {
    display: block;
    margin-top: 0;
  }
  .story__images.no-sp {
    display: none;
  }
  .story__img.for-sp {
    padding-top: var(--gradation-margin);
  }
  .story__img.for-sp img {
    width: 100%;
  }
  .story__img.for-sp:first-of-type {
    padding-top: 0;
  }
  .story__text {
    line-height: 220%;
    text-align: justify;
  }
  .story__text:not(:last-of-type) {
    margin-bottom: var(--gradation-margin);
  }
  .story__title {
    gap: 1rem;
  }
  .story__item {
    margin-top: 2.5rem;
    gap: 2.5rem;
    margin-bottom: 4rem;
  }
  .story__item:first-of-type {
    margin-top: 2.5rem;
  }
  .story__item:last-of-type {
    margin-block: 2.5rem 0;
    transform: unset;
  }
  .story__item + .story__item {
    margin-top: 2.5rem;
  }
  .story__img {
    position: static;
    opacity: 1;
  }
}

/* ================== */
/* セクション：最下部 */
/* ================== */
.teaTime {
  padding: var(--gradation-height) 0 var(--section-margin) 0;
  position: relative;
  background: url(../../images/pages/story/bg-pc.webp) no-repeat center center / cover;
  position: relative;
}
.teaTime::before {
  display: block;
  content: "";
  background: linear-gradient(180deg, #404C2E 0%, rgba(63, 76, 45, 0.00) 100%);
  width: 100%;
  height: var(--gradation-height);
  position: absolute;
  top: 0;
  left: 0;
}
.teaTime__texts {
  box-sizing: content-box;
  margin: 0 auto;
  padding-inline: 2.5rem;
}
.teaTime p {
  font-size: var(--18);
  font-weight: 400;
  line-height: 320%;
  letter-spacing: 0.08em;
  text-align: center;
}

@media screen and (max-width: 767px) {
  .teaTime {
    background-image: url(../../images/pages/story/bg-sp.webp);
    padding-top: 10rem;
  }
  .teaTime p {
    text-align: justify;
    line-height: 240%;
    letter-spacing: 1px;
  }
}