html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Noto Serif JP', serif;
  color: #071b2b;
  line-height: 1.75;
}
* {
  box-sizing: border-box;
}
img {
  width: 100%;
  max-width: 100%;
  height: auto;
}
.sp_only {
  display: none;
}
@media only screen and (max-width: 600px) {
  .sp_only {
    display: block;
  }
}

.sup {
  vertical-align: super;
  font-size: 0.75em;
}
/* 375px幅を基準にしたスマホ表示を900pxまで拡大するためのラッパー。
   幅・transformはJS側(updateMobileScale)が付け外しする。900pxを超えると
   width/transformが解除され、通常のデスクトップレイアウトに戻る */
#mobileScaleWrapper {
  transform-origin: top left;
}
/* スプラッシュ画面。3Dモデルの読み込みが完了次第、JS側で.is-hiddenが付与され
   フェードアウトする。常に一番手前に表示する必要があるため、最も高いz-indexにする */
#splash {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  /* background-imageの読み込みが完了するまでの一瞬、背後の要素が
     透けて見えてしまわないよう、画像と同系色の背景色を下敷きにしておく */
  background-color: #f0f0f0;
  background-image: url('../img/splash_bg.webp');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 1;
  transition: opacity 0.6s ease;
}

#splash.is-hidden {
  opacity: 0;
  pointer-events: none;
}

#splash .splash_logo {
  width: 240px;
  max-width: 60vw;
  height: auto;
}

/* 固定背景画像(スクロールしても動かない) */
#bg {
  position: fixed;
  inset: 0;
  z-index: -3;
  background: url('../img/bg.webp') center center / cover no-repeat;
  min-height: 100dvh;
}
@media only screen and (max-width: 600px) {
  #bg {
    background: url('../img/bg_sp.webp') center center / cover no-repeat;
  }
}
/* #sectionPin→#sectionIntroPinのクロスフェードに合わせて、
   opacityが0→1に変化しながら#bgの上に重なって表示される背景 */
#bgIntro {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: url('../img/bg02.webp') center center / cover no-repeat;
  opacity: 0;
}

/* #sectionDetailが画面に入ってくるのに合わせて、
   opacityが0→1に変化しながらさらに上に重なって表示される背景 */
#bgDetail {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url('../img/bg03.webp') center center / cover no-repeat;
  opacity: 0;
}

/* #sectionStepsが画面に入ってくるのに合わせて、
   opacityが0→1に変化しながら#bgDetailの上に重なって表示される背景
   (z-indexは#bgDetailと同じ-1だが、HTML内で後に置かれているため
   opacityが乗った時はこちらが上に重なる) */
#bgSteps {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url('../img/bg04.webp') center center / cover no-repeat;
  opacity: 0;
}

/* CANVASを画面全体に固定した背景にする */
/* 3Dキャンバスの入れ物。ページ最上部から、3Dを止める位置+キャンバスの高さ分の
   高さを持たせ(高さはJS側で設定)、中のキャンバスをstickyで画面に張り付かせる。
   止める位置を過ぎると、キャンバスは通常のスクロールとして文字と一緒に上へ流れる */
#canvasStickyArea {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 0; /* 常に一番奥に表示 */
  pointer-events: none;
  /* キャンバスの幅(JSで画面幅ちょうどに設定)がスクロールバー分はみ出して
     横スクロールが出ないよう、横方向だけはみ出しを隠す。
     (overflow: hiddenだとstickyが効かなくなるため、clipを使う) */
  overflow-x: clip;
}
#myCanvas {
  position: sticky;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100dvh;
  display: block;
  /* iOS実機で、render()自体は成功し続けているのに描画結果が画面に
     反映(コンポジット)されないことがある不具合への対策。
     独立したコンポジットレイヤーに昇格させておく */
  will-change: transform;
}

.caption {
  color: #ffffff;
  font-size: 12px;
  font-family: 'Hiragino Sans', 'sans-serif';
}

.caption__color {
  color: #4a5a68;
}
@media only screen and (max-width: 600px) {
  .caption {
    font-size: 10px;
    text-align: left;
  }
}

/* ヒーロー。背景(#bg系)と3D(#myCanvas)以外は固定せず、通常のフローでスクロールする。
   固定のキャンバス(z-index:0)より手前に表示されるよう、position + z-indexを付ける */
#sectionPin {
  position: relative;
  z-index: 1;

  /* background: linear-gradient(0deg, rgba(0, 0, 0, 0.2) 30%, rgba(0, 0, 0, 0) 100%);*/
  text-align: center;
  margin-bottom: 200px;
}
@media only screen and (max-width: 600px) {
  #sectionPin {
    margin-bottom: 20px;
  }
}
#sectionPin .mainimage {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 1160px;
  background: url('../img/main-image.webp') center no-repeat;
  background-size: auto 100%;
  z-index: -1;
}
/* 通常のスクロールで流れていくコンテンツ */
#placeholderSection {
  box-sizing: border-box;
  padding: 0 40px;
  font-family: 'Noto Serif JP', serif;
  color: #333;
}

@media only screen and (max-width: 600px) {
  #sectionPin .mainimage {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 720px;
    background: url('../img/main-image.webp') center no-repeat;
    background-size: cover;
    z-index: -1;
  }

  #placeholderSection {
    padding: 0 24px;
  }
}

#placeholderSection .ps_inner {
  position: relative;
  height: 100dvh;
  display: flex;

  flex-direction: column;
}

#placeholderSection .ps_head {
  padding: 40px 40px 24px 40px;
  margin-bottom: 160px;
}

@media only screen and (max-width: 600px) {
  #placeholderSection .ps_inner {
    position: relative;
    height: auto;
  }
  #placeholderSection .ps_head {
    padding: 40px 0 24px 0;
  }
}

#placeholderSection .ps_body {
  padding: 24px;
  padding: 24px 40px;
}

@media only screen and (max-width: 600px) {
  #placeholderSection .ps_body {
    padding: 24px;
    padding: 24px 0;
  }
}
#placeholderSection .ps_subtitle {
  text-align: center;
  margin: 0 auto;
  max-width: 400px;
  padding-bottom: 32px;
}
@media only screen and (max-width: 600px) {
  #placeholderSection .ps_subtitle {
    max-width: 230px;
  }
}
#placeholderSection .ps_read01 {
  color: #ffffff;
  font-size: 34px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.1em;
  text-shadow: 0 0 1em rgb(41, 41, 67);
}
/* キャッチコピー・ロゴを表示するスピードの調整用
   (値を小さくするほど速く表示される) */
#placeholderSection {
  --hero-char-duration: 0.6s; /* 1文字がふわっと表示されるのにかかる時間 */
  --hero-char-stagger: 0.05s; /* 次の文字が表示され始めるまでの間隔 */
  --hero-logo-duration: 0.8s; /* ロゴがふわっと表示されるのにかかる時間 */
  --hero-logo-gap: 0.3s; /* 最後の文字が現れ始めてから、ロゴが表示され始めるまでの間隔 */
}
/* 1文字ずつふわっと表示する(JS側で1文字ずつ.charに分割し、スプラッシュが
   消え始めたタイミングで.is-visibleを付ける。--iは文字の順番) */
#placeholderSection .ps_read01 .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.5em);
  filter: blur(8px);
}
#placeholderSection .ps_read01.is-visible .char {
  animation: heroCharIn var(--hero-char-duration) ease-out forwards;
  animation-delay: calc(0.2s + var(--i) * var(--hero-char-stagger));
}
@keyframes heroCharIn {
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}
/* キャッチコピーに続いて、ロゴもふわっと表示する
   (開始は、キャッチコピーの最後の文字が現れ始めるころ) */
#placeholderSection .ps_title.fade-ready {
  opacity: 0;
  transform: translateY(0.5em);
  filter: blur(8px);
}
#placeholderSection .ps_title.fade-ready.is-visible {
  animation: heroCharIn var(--hero-logo-duration) ease-out forwards;
  animation-delay: calc(0.2s + var(--hero-text-count) * var(--hero-char-stagger) + var(--hero-logo-gap));
}
@media (prefers-reduced-motion: reduce) {
  #placeholderSection .ps_title.fade-ready {
    opacity: 1;
    transform: none;
    filter: none;
  }
  #placeholderSection .ps_title.fade-ready.is-visible {
    animation: none;
  }
  #placeholderSection .ps_read01 .char {
    opacity: 1;
    transform: none;
    filter: none;
  }
  #placeholderSection .ps_read01.is-visible .char {
    animation: none;
  }
}
@media only screen and (max-width: 600px) {
  #placeholderSection .ps_read01 {
    font-size: 24px;
  }
}
#placeholderSection .ps_title {
  max-width: 600px;
  margin: 0 auto;
}
#placeholderSection .ps_read02 {
  color: #ffffff;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-shadow: 0 0 1em rgb(41, 41, 67);
}
@media only screen and (max-width: 600px) {
  #placeholderSection .ps_read02 {
    font-size: 20px;
  }
}
#placeholderSection .ps_read03 {
  color: #ffffff;
  font-size: 17px;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
  line-height: 1.75;
  font-family: 'YuGothic', 'Yu Gothic', '游ゴシック体', '游ゴシック', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', 'Noto Sans JP', sans-serif;
  font-weight: 400;
}
@media only screen and (max-width: 600px) {
  #placeholderSection .ps_read03 {
    font-size: 13px;
  }
}
#placeholderSection p {
  text-shadow: 0 0 2em rgba(0, 0, 0, 0.5);
  line-height: 2;
}

/* ヒーローの次に、通常のフローでスクロールしてくるパネル */
#sectionIntroPin {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0;
}
#sectionIntro {
  box-sizing: border-box;
  padding: 0 40px 120px 40px;
  width: 100%;
  min-height: 100dvh;
  margin: 0 auto;
}
@media only screen and (max-width: 600px) {
  #sectionIntro {
    padding: 0 16px;
    min-height: 100dvh;
  }
}
#sectionIntro .sectionIntro_inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-flow: column;
  justify-content: center;
  min-height: 100dvh;
}
.intro_header {
  padding-left: 24px;
}
.intro_body {
  font-family: 'YuGothic', 'Yu Gothic', '游ゴシック体', '游ゴシック', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', 'Noto Sans JP', sans-serif;
  font-weight: 400;
}
.intro_body_no-bg {
  padding: 24px;
}
.intro_body_white-bg {
  padding: 24px;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, /* 1点目：左端は不透明な白 */ rgba(255, 255, 255, 0.7) 30%, /* 2点目：真ん中は50%の半透明 */ rgba(255, 255, 255, 0) 70% /* 3点目：右端は完全に透明 */);
}
.intro_body_white-bg:last-child {
  margin-bottom: 0;
}
@media only screen and (max-width: 600px) {
  #sectionIntro .sectionIntro_inner {
    min-height: 100dvh;
    padding: 0;
  }
  .intro_header {
    padding: 0;
  }
  .intro_body_no-bg {
    padding: 24px 8px;
  }
  .intro_body_white-bg {
    padding: 24px 8px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, /* 1点目：左端は不透明な白 */ rgba(255, 255, 255, 0.7) 30%, /* 2点目：真ん中は50%の半透明 */ rgba(255, 255, 255, 0) 80% /* 3点目：右端は完全に透明 */);
  }
  .intro_body {
    padding: 0 0 90px 0;
  }
}
#sectionIntro h2 {
  font-size: 32px;
  letter-spacing: 0.1em;
  line-height: 2;
  margin-bottom: 16px;
  padding-top: 12px;
}
#sectionIntro h2 span {
  font-size: 48px;
}
@media only screen and (max-width: 600px) {
  #sectionIntro h2 {
    font-size: 18px;
  }
  #sectionIntro h2 span {
    font-size: 27px;
  }
}
.intro_logo {
  max-width: 690px;
}
@media only screen and (max-width: 600px) {
  .intro_logo {
    max-width: 440px;
  }
}
#sectionIntro p {
  line-height: 2.6;
  font-size: 18px;
}
#sectionIntro p.mbm {
  margin-bottom: 1em;
}
@media only screen and (max-width: 600px) {
  #sectionIntro p {
    font-size: 12px;
  }
}

/* ------------------------------ sectionItems -----------------------------------------*/
/* 3Dはこのセクションの手前で消えるため、シリーズの写真1枚で見せる。
   背景(bg03)は固定ではなく、このセクション自身が持つ */
#sectionItemsPin {
  position: relative;
  z-index: 1;
  width: 100%;
}
#sectionItems-sp {
  box-sizing: border-box;
  width: 100%;
  min-height: 100dvh;
  margin: 0 auto;
  background: url(../img/bg03.webp) center no-repeat;
  background-size: cover;
  padding: 140px 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
#sectionItems-sp figure {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}
.tems_information_sp {
  font-size: 14px;
  margin-top: 24px;
  font-family: 'YuGothic', 'Yu Gothic', '游ゴシック体', '游ゴシック', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', 'Noto Sans JP', sans-serif;
  font-weight: 400;
  /* 固定の480pxだとスマホ(375px幅)で画面からはみ出し、ページ全体が横に広がって
     しまうため、画面が狭い時は親の幅に収まるようにする */
  width: 100%;
  max-width: 480px;
}
.tems_information_sp h2 {
  font-size: 16px;
  font-weight: 500;
  padding: 16px 0 8px;
}
.tems_information_sp p {
  margin-bottom: 6px;
}
@media only screen and (max-width: 600px) {
  #sectionItems-sp {
    padding: 0 40px;
  }
  .tems_information_sp {
    font-size: 10px;
    margin-top: 16px;
  }
  .tems_information_sp h2 {
    font-size: 13px;
    font-weight: 600;
    padding: 0;
  }
}

.Scroll {
  position: relative;
  z-index: 1;
}

/* ------------------------------------- sectionDetail ---------------------------------------- */
.sectionDetail_wrap {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

#sectionDetail {
  padding: 60px 40px 20px 40px;
}
@media only screen and (max-width: 600px) {
  #sectionDetail {
    padding: 0;
  }
}

#sectionDetail h2 {
  font-size: 32px;
  line-height: 1.7;
  letter-spacing: 0.05em;
  text-align: center;
  margin-bottom: 32px;
}
@media only screen and (max-width: 600px) {
  #sectionDetail h2 {
    font-size: 22px;
    line-height: 1.6;
    margin-bottom: 16px;
  }
}
@media only screen and (max-width: 600px) {
  #sectionDetail h2 {
    font-size: 18px;
  }
}
/* 見出し + タグ + リード文の導入ブロック */
.detail_intro {
  margin-bottom: 0;
}

.detail_tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}
.detail_tags img {
  height: 30px;
  width: auto;
}

@media only screen and (max-width: 600px) {
  .detail_tags {
    flex-direction: column;
    gap: 2px;
  }
  .detail_tags span {
    display: block;
    text-align: center;
  }
  .detail_tags img {
    height: 20px;
    width: auto;
    margin: 0 auto;
  }
}

.detail_lead {
  text-align: center;
  color: #4a5a68;
  font-size: 18px;
  font-weight: 500;
  line-height: 2;
  font-family: 'YuGothic', 'Yu Gothic', '游ゴシック体', '游ゴシック', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', 'Noto Sans JP', sans-serif;
  margin-bottom: 40px;
}
.cap-box {
  margin-bottom: 24px;
}
@media only screen and (max-width: 600px) {
  .detail_lead {
    font-size: 13px;
  }
}
/* 「02」のような、機能ひとつを紹介するカード共通のスタイル */
.detail_card {
  background: url('../img/transparent_bg.webp') center no-repeat;
  background-size: cover;
  padding: 32px 32px 48px 32px;
  margin-bottom: 32px;
  width: 65vw;
  max-width: calc(100% - 360px);
}
@media only screen and (max-width: 600px) {
  .detail_card {
    width: 100%;
    max-width: 100%;
    padding: 24px 20px 32px;
  }
}

.detail_number {
  text-align: center;
  font-size: 30px;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1;
  font-family: 'Helvetica , Arial , Verdana , Roboto';
  color: #707f8b;
}
@media only screen and (max-width: 600px) {
  .detail_number {
    font-size: 20px;
  }
}

.detail_feature_title {
  text-align: center;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.05em;
  margin-bottom: 32px;
  font-family: 'YuGothic', 'Yu Gothic', '游ゴシック体', '游ゴシック', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', 'Noto Sans JP', sans-serif;
  color: #707f8b;
}
@media only screen and (max-width: 600px) {
  .detail_feature_title {
    font-size: 13px;
    margin-bottom: 12px;
  }
}
.detail_feature_title span {
  display: block;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-right: 12px;
  font-size: 22px;
  color: #071b2b;
}
@media only screen and (max-width: 600px) {
  .detail_feature_title span {
    font-size: 18px;
  }
}

/* 本文と画像を、カードの右側へ寄せて配置する */
.detail_feature_body {
  margin-left: auto;
  display: flex;
  justify-content: space-between;
}
.detail_feature_body_figure {
  max-width: 45%;
  margin-left: auto;
  margin: 0;
}
.detail_feature_body_txt {
  max-width: 50%;
  margin-left: auto;
}

.detail_feature_body_slim-figure .detail_feature_body_figure {
  max-width: 30%;
}
.detail_feature_body_slim-figure .detail_feature_body_txt {
  max-width: 65%;
}
.detail_feature_body p {
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 24px;
  font-family: 'YuGothic', 'Yu Gothic', '游ゴシック体', '游ゴシック', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', 'Noto Sans JP', sans-serif;
  font-weight: 400;
}
@media only screen and (max-width: 600px) {
  .detail_feature_body p {
    font-size: 12px;
  }
}
/* 横幅が狭いスマホでは画像+本文の横並びが崩れてしまうため、
   画像を上・本文を下に積む縦並びに切り替える */
@media only screen and (max-width: 600px) {
  .detail_feature_body {
    flex-direction: column;
    align-items: center;
  }
  .detail_feature_body_figure,
  .detail_feature_body_txt,
  .detail_feature_body_slim-figure .detail_feature_body_figure,
  .detail_feature_body_slim-figure .detail_feature_body_txt {
    max-width: 100%;
    margin: 0;
  }
  .detail_feature_body_figure {
    width: 60%;
    margin-bottom: 20px;
  }
  .detail_feature_body_slim-figure .detail_feature_body_figure {
    width: 36%;
  }
  .detail_feature_body_txt {
    width: 100%;
  }
}
.detail_card--movie {
  background: rgba(255, 255, 255, 0.5);
  padding: 24px 16px;
  margin-top: 40px;
}
.detail_card--movie h2 {
  margin-bottom: 32px;
  font-size: 22px;
}
@media only screen and (max-width: 600px) {
  .detail_card--movie h2 {
    margin-bottom: 20px;
    font-size: 17px;
  }
}
.detail_movie {
  margin: 0 auto;
  max-width: 460px;
}
.detail_movie video {
  width: 100%;
  height: auto;
  display: block;
}
.detail_caption {
  font-family: 'YuGothic', 'Yu Gothic', '游ゴシック体', '游ゴシック', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', 'Noto Sans JP', sans-serif;
  margin-top: 20px;
  font-size: 12px;
  line-height: 1.8;
}
.detail_message {
  text-align: center;
  font-size: 32px;
  padding: 40px 0;
  width: 100%;
  margin: 0 auto;
}
@media only screen and (max-width: 600px) {
  .detail_message {
    font-size: 18px;
    padding: 24px 0;
    width: 90%;
  }
}

.detail_intro_deco {
  position: fixed;
  right: 0;
  top: 0;
  width: 400px;
  height: 900px;
}
@media only screen and (max-width: 600px) {
  .detail_intro_deco {
    position: relative;
    width: 100%;
    overflow: hidden;
  }
}
.detail_intro_deco__inner {
  position: relative;
}
.detail_intro_deco .deco1 {
  position: absolute;
  right: -180px;
  top: 0;
  width: 460px;
  height: 400px;
}
.detail_intro_deco .deco2 {
  position: absolute;
  right: 222px;
  top: 79px;
  width: 90px;
  height: 450px;
  z-index: -1;
}
.detail_intro_deco .deco3 {
  position: absolute;
  right: 172px;
  top: 500px;
  width: 180px;
  height: 450px;
}
@media only screen and (max-width: 600px) {
  .detail_intro_deco {
    height: 580px;
  }
  .detail_intro_deco .deco1 {
    position: absolute;
    right: -100px;
    top: 30px;
    width: 300px;
    height: 302px;
  }
  .detail_intro_deco .deco2 {
    position: absolute;
    right: 172px;
    top: 66px;
    width: 40px;
    height: 286px;
  }
  .detail_intro_deco .deco3 {
    position: absolute;
    right: 133px;
    top: 260px;
    width: 110px;
    height: 300px;
  }
}

/* 初期状態は非表示。#sectionDetailが画面に入るとJS側で.is-visibleが付き、
   deco1→deco2→deco3の順に時間差でフェードインする。
   #sectionDetailが画面から外れて.is-visibleが外れると、3つ同時にゆっくり消える */
.detail_intro_deco {
  pointer-events: none; /* 固定表示の装飾が、下にあるリンクやボタンの操作を邪魔しないようにする */
}
.detail_intro_deco .deco1,
.detail_intro_deco .deco2,
.detail_intro_deco .deco3 {
  opacity: 0;
  transition: opacity 1.5s ease;
  transition-delay: 0s;
}
.detail_intro_deco.is-visible .deco1,
.detail_intro_deco.is-visible .deco2,
.detail_intro_deco.is-visible .deco3 {
  opacity: 1;
  transition-duration: 0.8s;
}
/* deco2(雫)は、上から下へ伸びていくように見せて「垂れてくる」表現にする。
   clip-pathで上から順に見える範囲を広げつつ、少し上から下へ動かす。
   重力で落ちるように、最初はゆっくり→後半で加速するイージングにしている */
.detail_intro_deco .deco2 {
  clip-path: inset(0 0 100% 0);
  transform: translateY(-10px);
  /* 消える時は、見えている形のままフェードアウトし、
     消えきってから(1.5s後に)次の表示用に元の状態へ戻す */
  transition:
    opacity 0.25s ease,
    clip-path 0s linear 0.25s,
    transform 0s linear 0.25s;
}
.detail_intro_deco.is-visible .deco2 {
  clip-path: inset(0 0 0 0);
  transform: translateY(0);
  /* 0.5s後(deco1の後)に垂れ始め、0.6sかけて下まで伸びる */
  transition:
    opacity 0.2s ease 0.2s,
    clip-path 0.6s cubic-bezier(0.55, 0, 0.75, 0.35) 0.2s,
    transform 0.6s cubic-bezier(0.55, 0, 0.75, 0.35) 0.2s;
}

/* 垂れきった後(0.5s + 1.6s = 2.1s後)、雫が上端を支点にぷるんと少し揺れる。
   .deco2自体のtransformは垂れる動きに使っているため、揺れは中の画像に付ける */
.detail_intro_deco .deco2 img {
  display: block;
  transform-origin: 50% 0;
}
.detail_intro_deco.is-visible .deco2 img {
  animation: decoDropWobble 0.5s ease-out 1s both;
}
@keyframes decoDropWobble {
  0% {
    transform: scale(1, 1);
  }
  10% {
    transform: scale(0.96, 1.005); /* 勢いで少し下に伸びる */
  }
  20% {
    transform: scale(1.03, 0.995); /* 反動で縮む */
  }
  30% {
    transform: scale(1, 1);
  }
}
.detail_intro_deco.is-visible .deco3 {
  transition-delay: 1s;
}
/* スマホは.is-visibleの有無に関わらず、deco1〜3を最初から表示しておく
   (フェードイン・deco2の垂れる動き・揺れもなし) */
@media only screen and (max-width: 600px) {
  .detail_intro_deco .deco1,
  .detail_intro_deco .deco2,
  .detail_intro_deco .deco3 {
    opacity: 1;
    transition: none;
  }
  .detail_intro_deco .deco2 {
    clip-path: none;
    transform: none;
  }
  .detail_intro_deco .deco2 img {
    animation: none;
  }
}
/* PCのみ、メインで表示されているカードに対応するdecoだけ色を付け、
   他はモノクロ+明るくして目立たなくする(data-activeはJS側で付け替える)
   ・serum: deco-serum1/deco-serum2  ・sheet: deco-sheet  ・device: deco-device
   deco-serum1/deco-serum2は、最初のカードが来る前(data-active無し)から色付きにしておき、
   deco-sheetに色が付いた(data-active='sheet')時点でモノクロにする */
@media only screen and (min-width: 601px) {
  .detail_intro_deco img {
    transition: filter 0.6s ease;
  }
  .detail_intro_deco img {
    filter: grayscale(1) brightness(75%);
  }
  .detail_intro_deco:not([data-active]) #deco-serum1 img,
  .detail_intro_deco:not([data-active]) #deco-serum2 img,
  .detail_intro_deco[data-active='serum'] #deco-serum1 img,
  .detail_intro_deco[data-active='serum'] #deco-serum2 img,
  .detail_intro_deco[data-active='sheet'] #deco-sheet img,
  .detail_intro_deco[data-active='device'] #deco-device img {
    filter: none;
  }
}
/* ------------------------------ step flow -----------------------------------------*/
/* detail_card同様、幅を絞って配置する */
#sectionSteps {
  padding: 40px 40px 80px;
}
@media only screen and (max-width: 600px) {
  #sectionSteps {
    padding: 0 20px 60px;
  }
}

@media only screen and (max-width: 600px) {
  #sectionSteps h2 {
    font-size: 16px;
    text-align: center;
    margin-bottom: 24px;
    padding-top: 40px;
  }
}
.step-setting,
.step-use,
.step-tap {
  padding: 0;
  margin: 0 auto 40px;
  width: 100%;
}
@media only screen and (max-width: 980px) {
  .step-setting,
  .step-use,
  .step-tap {
    padding: 0;
    margin: 0 auto 40px;
    width: 100%;
  }
}
@media only screen and (max-width: 600px) {
  .step-setting,
  .step-use,
  .step-tap {
    width: 100%;
    margin-bottom: 32px;
  }
}
.step-setting h2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 24px;
}
.step-setting_list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media only screen and (max-width: 600px) {
  .step-setting_list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

.step-setting_list li {
  background: rgba(255, 255, 255, 0.5);
  padding: 16px;
}

.step-use_list li {
  background: rgba(255, 255, 255, 0.5);
  padding: 16px 24px;
}

.step-use ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media only screen and (max-width: 600px) {
  .step-use ul {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
  }
}

.step-setting li,
.step-use li {
  text-align: center;
}

.step-setting h3,
.step-use h3 {
  display: inline-block;
  font-family: 'YuGothic', 'Yu Gothic', '游ゴシック体', '游ゴシック', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #707f8b;
  padding: 4px 16px;
}

.step-setting h3 span,
.step-use h3 span {
  font-size: 20px;
}

.step-setting figure {
  max-width: 140px;
  margin: 0 auto 16px;
}
@media only screen and (max-width: 600px) {
  .step-setting figure {
    max-width: 100px;
  }
}
.step-use_list figure {
  width: 240px;
  margin: 0 auto 16px;
}

.step-setting p,
.step-use p {
  font-family: 'YuGothic', 'Yu Gothic', '游ゴシック体', '游ゴシック', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', 'Noto Sans JP', sans-serif;
  font-size: 13px;
  line-height: 1.9;
  color: #071b2b;
  text-align: left;
}
.step-use p {
  text-align: center;
  font-size: 15px;
}
@media only screen and (max-width: 600px) {
  .step-setting p,
  .step-use p {
    font-family: 'YuGothic', 'Yu Gothic', '游ゴシック体', '游ゴシック', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', 'Noto Sans JP', sans-serif;
    font-size: 11px;
  }
}
.step-tap {
  text-align: center;
  display: flex;
  max-width: 900px;
  margin: 0 auto;
}
@media only screen and (max-width: 600px) {
  .step-tap {
    flex-direction: column;
    align-items: center;
  }
}

.step-tap figure {
  width: 50%;
  margin: 0 auto 24px;
}

.step-tap ol {
  display: flex;
  justify-content: center;
  flex-direction: column;
  text-align: left;
  max-width: 50%;
  margin: 0 auto;
  padding-left: 0;
  list-style: none;
  counter-reset: tap-step;
  font-family: 'YuGothic', 'Yu Gothic', '游ゴシック体', '游ゴシック', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', 'Noto Sans JP', sans-serif;
  font-size: 15px;
  line-height: 2;
  color: #071b2b;
}
@media only screen and (max-width: 600px) {
  .step-tap figure {
    width: 70%;
    margin: 0 auto 16px;
  }
  .step-tap ol {
    max-width: 100%;
    font-size: 13px;
  }
}

.step-tap ol li {
  display: flex;

  align-items: center;
  gap: 0.6em;
  margin-bottom: 16px;
  counter-increment: tap-step;
}

.step-tap ol li::before {
  content: counter(tap-step);
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6em;
  height: 1.6em;
  border-radius: 50%;
  background: #707f8b;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.step_message {
  text-align: center;
  font-size: 24px;
  padding: 0 0 80px 0;
  width: 65vw;
  max-width: 800px;
  margin: 0 auto;
}
@media only screen and (max-width: 600px) {
  .step_message {
    font-size: 16px;
    padding: 24px 0 24px 0;
    width: 85%;
  }
}

/* ------------------------------ sectionFaq -----------------------------------------*/
/* #sectionStepsの後に続く、使用頻度の目安とよくあるご質問。
   幅を絞らず画面全体に表示する。 */
#sectionFaq {
  background: url('../img/bg02.webp') center no-repeat;
  background-size: cover;
  padding: 80px 40px;
}
@media only screen and (max-width: 600px) {
  #sectionFaq {
    padding: 48px 20px;
  }
}
#sectionFaq .sectionFaq_inner {
  max-width: 980px;
  margin: 0 auto;
}
.sectionFaq_items_wrap {
  max-width: 500px;
  margin: 0 auto 80px auto;
}
@media only screen and (max-width: 600px) {
  .sectionFaq_items_wrap {
    margin: 0 auto 48px auto;
  }
}

.sectionFaq_items-txt {
  width: 100%;

  font-weight: 400;
}
.sectionFaq_items-read {
  font-size: 32px;
  letter-spacing: 0.1em;
  text-align: center;
  padding: 0 0 80px 0;
}
@media only screen and (max-width: 600px) {
  .sectionFaq_items-read {
    font-size: 17px;
    padding: 0 0 40px 0;
  }
}
.sectionFaq_items-txt h2 {
  font-weight: 500;
  font-size: 16px;
  padding: 16px 0 8px;
  font-family: 'YuGothic', 'Yu Gothic', '游ゴシック体', '游ゴシック', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', 'Noto Sans JP', sans-serif;
}
.sectionFaq_items-txt p {
  font-family: 'YuGothic', 'Yu Gothic', '游ゴシック体', '游ゴシック', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', 'Noto Sans JP', sans-serif;
  font-size: 14px;
}
@media only screen and (max-width: 600px) {
  .sectionFaq_items-txt h2 {
    font-size: 14px;
  }
  .sectionFaq_items-txt p {
    font-size: 10px;
    margin-bottom: 6px;
  }
}
.sectionFaq_items-photo {
  width: 80%;
  max-width: 400px;
  margin: 0 auto;
}

@media only screen and (max-width: 600px) {
  .sectionFaq_items-photo {
    max-width: 210px;
  }
}

/* おすすめのご使用頻度(#sectionSteps内)とよくあるご質問(#sectionFaq内)、
   どちらから使われても同じ見た目になるよう、セクションIDに依存させず
   クラスだけで見た目を決める */
.faq-frequency,
.faq-qa {
  max-width: 1200px;
  margin: 0 auto 64px;
}
@media only screen and (max-width: 600px) {
  .faq-frequency,
  .faq-qa {
    margin: 0 auto 40px;
  }
}
.step-use h2,
.faq-frequency h2,
.faq-qa h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  letter-spacing: 0.05em;
  font-weight: 500;
  margin-bottom: 24px;
  font-family: 'YuGothic', 'Yu Gothic', '游ゴシック体', '游ゴシック', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', 'Noto Sans JP', sans-serif;
}
@media only screen and (max-width: 600px) {
  .faq-frequency h2,
  .faq-qa h2 {
    font-size: 16px;
    margin-bottom: 16px;
  }
}
.step-use h2::before,
.faq-frequency h2::before,
.faq-qa h2::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 1.1em;
  background: #071b2b;
}

/* ---- おすすめのご使用頻度 ---- */
.freq-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'YuGothic', 'Yu Gothic', '游ゴシック体', '游ゴシック', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', 'Noto Sans JP', sans-serif;
  font-size: 15px;
}

@media only screen and (max-width: 600px) {
  .freq-table {
    font-size: 13px;
  }
}

.freq-table th,
.freq-table td {
  padding: 20px 24px;
  border-bottom: solid 1px rgba(7, 27, 43, 0.12);
  font-weight: 400;
}
@media only screen and (max-width: 600px) {
  .freq-table th,
  .freq-table td {
    padding: 12px 4px;
  }
}
.freq-table thead th {
  color: rgba(7, 27, 43, 0.7);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-align: center;
  background: rgba(255, 255, 255, 0.4);
}

.freq-table tbody th {
  text-align: left;
  white-space: nowrap;
  color: #071b2b;
  background: rgba(255, 255, 255, 0.25);
}

.freq-table tbody th span {
  font-size: 20px;
  font-weight: 600;
  margin-left: 4px;
}

.freq-table tbody td {
  text-align: center;
  background: rgba(255, 255, 255, 0.25);
}

.freq-caption {
  text-align: center;
  margin-top: 32px;
  font-family: 'YuGothic', 'Yu Gothic', '游ゴシック体', '游ゴシック', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', 'Noto Sans JP', sans-serif;
  font-size: 16px;
  letter-spacing: 0.05em;
  color: rgba(7, 27, 43, 0.85);
}

@media only screen and (max-width: 600px) {
  .freq-table tbody th span {
    font-size: 16px;
  }
  .freq-table tbody th {
    font-size: 11px;
  }
  .freq-table tbody td {
    font-size: 11px;
    vertical-align: middle;
  }
  .freq-caption {
    font-size: 14px;
  }
}
/* ---- よくあるご質問 ---- */
.faq-qa_list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media only screen and (max-width: 600px) {
  .faq-qa_list {
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
  }
}

.faq-qa_item {
  background: rgba(255, 255, 255, 0.4);
  padding: 32px;
  font-family: 'YuGothic', 'Yu Gothic', '游ゴシック体', '游ゴシック', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', 'Noto Sans JP', sans-serif;
  font-size: 14px;
  line-height: 1.9;
}
@media only screen and (max-width: 600px) {
  .faq-qa_item {
    padding: 20px;
    font-size: 13px;
  }
}

.faq-qa_item p {
  display: flex;
  gap: 12px;
}
.faq-qa_item p.faq-q {
  align-items: center;
}

.faq-qa_item p span.q,
.faq-qa_item p span.a {
  flex: none;
  font-family: 'YuGothic', 'Yu Gothic', '游ゴシック体', '游ゴシック', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: rgba(7, 27, 43, 0.6);
}

.faq-q {
  margin-bottom: 12px;
  font-weight: 500;
}

.faq-a {
  color: rgba(7, 27, 43, 0.85);
}

/* スクロールダウンの位置 */
.scroll {
  position: fixed;
  right: 1%;
  bottom: 20%;
  writing-mode: vertical-rl;
  font-size: 12px;
  color: #071b2b;
  z-index: 3;
}
@media only screen and (max-width: 600px) {
  .scroll {
    position: fixed;
    right: 0.5%;
    font-size: 11px;
  }
}
/* 線のアニメーション部分 */
.scroll::before {
  animation: scroll 2s infinite;
  background-color: #071b2b;
  bottom: -115px;
  content: '';
  height: 100px;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  width: 1px;
}

/* 線のアニメーション */
@keyframes scroll {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }
  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }
  51% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }
  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}

.sectionFaq_items-txt {
  margin: 0 auto;
}

.deco-line {
  width: 1px;
  height: 120px;
  background: #707f8b;
  margin: 24px auto;
}

/* ------------------------------ fade in -----------------------------------------*/
/* .js-fadeinを付けた要素は初期状態で非表示にして少し下にずらしておき、
   画面に入ってJS側で.is-showが付いたらフェードインする。
   時間差で表示したい時は、HTML側でstyle="--delay: 0.15s"のように指定する */
.js-fadein {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
  transition-delay: var(--delay, 0s);
}
.js-fadein.is-show {
  opacity: 1;
  transform: translateY(0);
}
/* 動きを減らす設定にしている人には、アニメーションなしで表示する */
@media (prefers-reduced-motion: reduce) {
  .js-fadein {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ------------------------------ floating cta -----------------------------------------*/
/* 常に表示するお問い合わせ・カタログのボタン。
   PC: 画面右端にくっつけて縦に並べる。右下の「Scroll」(下から20%の位置)と
       被らないよう、その上に配置する
   スマホ: 画面下部にくっつけて横に並べる */
.floating-cta {
  position: fixed;
  right: 0;
  bottom: calc(20% + 64px); /* 「Scroll」の文字(下から20%+約40px)の上に余白をあける */
  z-index: 90; /* スプラッシュ(z-index:100)よりは下、コンテンツよりは上 */
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.floating-cta_btn {
  position: relative;
  display: flex;
  flex-direction: column; /* アイコンを文字の上に置く */
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 240px;
  min-height: 64px;
  padding: 12px 36px 12px 20px;
  background: #071b2b;
  color: #ffffff;
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: 0.06em;
  text-decoration: none;
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
  text-align: center;
}
/* ボタンのアイコン(メール・カタログ)。HTMLに直接書いたSVGで、文字と同じ色になる */
.floating-cta_icon {
  flex: none;
  width: 24px;
  height: 24px;
}
/* 右向きの三角(est-pro.co.jpのボタンと同じ形) */
.floating-cta_btn::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 16px;
  width: 0;
  height: 0;
  margin-top: -5px;
  border-style: solid;
  border-width: 5px 0 5px 6px;
  border-color: transparent transparent transparent #ffffff;
}
@media (hover: hover) {
  .floating-cta_btn:hover {
    opacity: 0.7;
  }
}

@media only screen and (max-width: 600px) {
  .floating-cta {
    left: 0;
    bottom: 0;
    flex-direction: row;
    gap: 1px;
    background: #707f8b;
  }
  .floating-cta_btn {
    flex: 1;
    width: auto;
    min-height: 56px;
    padding: 8px 24px 8px 12px;
    font-size: 12px;
    line-height: 1.5;
    letter-spacing: 0.02em;
  }
  .floating-cta_btn::after {
    right: 10px;
  }
  .floating-cta_btn {
    gap: 4px;
  }
  .floating-cta_icon {
    width: 20px;
    height: 20px;
  }
  /* ページの最後(コピーライト)がボタンに隠れないよう、ボタンの高さ分の余白をあける
     (html/bodyはheight:100%のため、bodyのpaddingではページの最後に余白が付かない) */
  .l-footer {
    padding-bottom: 76px; /* アイコン付きボタンの高さ(約76px)に合わせる */
  }
}
