@charset "UTF-8";

/* ==========================================
RESET
========================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #333;
  background: #fff;
  font-family:
    "Noto Sans JP",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    sans-serif;
  line-height: 1.9;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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


/* ==========================================
COMMON
========================================== */

.wrapper {
  width: 100%;
  overflow: clip;
}

.sp-only {
  display: none;
}








/* ==========================================
HEADER
========================================== */

.header {
  position: relative;
  z-index: 20;
  background: #fff;
}

.header__inner {
  width: min(100% - 40px, 1100px);
  margin-inline: auto;
  padding-block: clamp(22px, 3vw, 40px);
}

.header__inner>a {
  display: block;
  width: fit-content;
}

.header__logo {
  width: clamp(120px, 13vw, 165px);
  height: auto;
}


/* ==========================================
HERO + INTRO
========================================== */

.hero-intro {
  position: relative;
}


/* ==========================================
HERO
========================================== */

.hero {
  position: relative;
  z-index: 1;
  background: #fff;
}

.hero__visual {
  width: min(100% - 40px, 1100px);
  margin-inline: auto;
  overflow: hidden;
}

.hero__video {
  width: 100%;
  height: auto;
}

.hero__video--pc {
  display: block;
}

.hero__video--sp {
  display: none;
}


/* ==========================================
MAIN COPY

重要：
top:50vh / position:fixed は使いません。

コピーの初期位置はJavaScriptで
「動画そのものの中央」に設定します。

スクロール中はJSがdocument上のtopを動かすため、
見た目上は初期位置を保ったまま動画と一緒に進み、
catch-stopまで来ると停止します。
========================================== */

.hero-catch {
  --boundary: 100%;

  position: absolute;
  z-index: 10;

  left: 50%;
  top: 0;

  width: min(70%, 700px);

  transform: translate(-50%, -50%);
  pointer-events: none;
  will-change: top;
}

.hero-catch__img {
  width: 100%;
  height: auto;
}


/* 動画側：白コピー */
.hero-catch__img--white {
  position: relative;
  z-index: 2;

  clip-path:
    inset(0 0 calc(100% - var(--boundary)) 0);
}


/* 白背景側：カラーコピー */
.hero-catch__img--color {
  position: absolute;
  z-index: 1;

  inset: 0;

  clip-path:
    inset(var(--boundary) 0 0 0);
}


/* ==========================================
COPY STOP AREA

この領域の中央がコピーの停止地点です。
高さを大きくすると停止地点が下がります。
========================================== */

.catch-stop {
  height: clamp(320px, 34vw, 480px);
}


/* ==========================================
INTRO
========================================== */

.intro {
  position: relative;
  z-index: 2;
  background: #fff;
  /*
  1つ目の値が
  停止したタイトルとリード文の余白です。
  */
  padding:
    clamp(70px, 8vw, 120px) 20px clamp(80px, 10vw, 140px);
}

.intro__inner {
  width: min(100%, 540px);
  margin-inline: auto;
}

.intro__text {
  font-size: clamp(13px, 1.15vw, 18px);
  line-height: 2;
  letter-spacing: .04em;
}

.intro__text p {
  margin: 0;
}

.intro__text p+p {
  margin-top: 2.2em;
}


/* ==========================================
SP
========================================== */

@media (max-width: 768px) {

  /* HEADER
  ------------------------------------------ */

  .header__inner {
    width: calc(100% - 30px);
    padding-block: 20px 15px;
  }

  .header__logo {
    width: 120px;
  }


  /* HERO
  ------------------------------------------ */

  .hero__visual {
    width: 100%;

    /*
    SPは専用の縦動画を使用。
    ヘッダー下をほぼ1画面使います。
    */
    height: calc(100svh - 100px);
    min-height: 600px;
    max-height: 900px;
  }

  .hero__video--pc {
    display: none;
  }

  .hero__video--sp {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center center;
  }


  /* MAIN COPY
  ------------------------------------------ */

  .hero-catch {
    width: 78%;
  }


  /* STOP
  ------------------------------------------ */

  .catch-stop {
    height: 300px;
  }


  /* INTRO
  ------------------------------------------ */

  .intro {
    padding:
      90px 15px 80px;
  }

  .intro__inner {
    width: 100%;
  }

  .intro__text {
    font-size: 13px;
    line-height: 1.95;
  }

}


/* ==========================================
ACCESSIBILITY
========================================== */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

}


/* ==========================================
INTRO
========================================== */

.intro {
  padding-block:
    clamp(30px, 4vw, 60px) clamp(180px, 8vw, 210px);
}

.intro__inner {
  width: min(100% - 40px, 570px);
  margin-inline: auto;
}

.intro__text {
  font-size: clamp(18px, 1.15vw, 20px);
  line-height: 2;
  letter-spacing: .04em;
}

.intro__text p {
  margin: 0;
}

.intro__text p+p {
  margin-top: 2.6em;
}


/* ==========================================
ACTION HEADING
========================================== */

.action-heading {
  text-align: center;
}

.action-heading__year {
  width: min(90%, 410px);
  margin-inline: auto;
  padding: clamp(10px, .5vw, 18px);
  border: 1px solid #00a844;

  font-size: clamp(26px, 3vw, 42px);
  font-weight: 600;
  font-style: italic;
  line-height: 1.3;
}

.action-heading__title {
  margin:
    clamp(20px, 3vw, 35px) 0 0;
  color: #00a844;

  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.5;
}

.action-heading__title span {
  margin-left: .15em;
  font-style: italic;
}

.action-heading__line {
  width: 1px;
  height: clamp(55px, 7vw, 100px);
  margin:
    clamp(20px, 3vw, 35px) auto 0;
  background: #ccc;
  /* 下のactionセクションへ食い込ませる */
  position: relative;
  z-index: 2;
  transform: translateY(30px);
}

/* ==========================================
ACTION
========================================== */

.action {
  position: relative;
  padding:
    clamp(60px, 7vw, 100px) 20px 0;
  background: #f4faf5;
}

.action__inner {
  width: min(100%, 680px);
  margin-inline: auto;
  text-align: center;
}


/* Action number */

.action__number {
  width: min(100%, 300px);
  margin:
    0 auto clamp(30px, 4vw, 45px);
  padding: 10px 15px;
  border: 1px solid #00a844;
  color: #00a844;
  font-size: clamp(18px, 2vw, 24px);
  font-style: italic;
  line-height: 1.4;
  background-color: #ffffff;
}


/* title */
.action__title {
  margin: 0 0 clamp(35px, 5vw, 55px);
  color: #00a844;
  font-size: clamp(21px, 2.4vw, 30px);
  line-height: 1.5;
  letter-spacing: .05em;
  white-space: nowrap;
}


/* image */
.action__visual {
  width: min(100%, 570px);
  margin-inline: auto;
}

.action__visual img {
  width: 100%;
}


/* content */

.action__content {
  width: min(100%, 570px);

  margin:
    clamp(25px, 3vw, 40px) auto 0;
}

.action__date {
  margin: 0 0 10px;
  color: #00a844;
  font-size: 14px;
  font-style: italic;
  font-weight: 600;
}

.action__content-title {
  margin: 0;

  font-size: clamp(18px, 1.5vw, 20px);
  line-height: 1.7;
  letter-spacing: .04em;
}

.action__text {
  margin: 10px 0 0;

  text-align: left;

  font-size: clamp(16px, 1vw, 18px);
  line-height: 2;
}


/* MORE BUTTON */

.action__more {
  margin-top: clamp(30px, 4vw, 45px);
}

.action__more a {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  width: min(100%, 300px);
  height: 70px;

  margin-inline: auto;

  border-radius: 100px;

  color: #fff;

  background: #00a844;

  font-size: 18px;
  font-style: italic;
  font-weight: 600;

  transition:
    transform .3s ease,
    opacity .3s ease;
}

.action__more a:hover {
  transform: translateY(-3px);
  opacity: .85;
}

.action__arrow {
  position: absolute;
  right: 25px;

  font-size: 16px;
  font-style: normal;
  font-weight: 400;
}


/* vertical line */

.action__bottom-line {
  width: 1px;
  height: clamp(55px, 7vw, 100px);

  margin:
    clamp(40px, 5vw, 60px) auto 0;

  background: #ccc;

  transform: translateY(50%);
}


/* ==========================================
COMING SOON
========================================== */

.coming {
  padding:
    clamp(80px, 10vw, 140px) 20px clamp(100px, 12vw, 170px);

  text-align: center;
}

.coming p {
  margin: 0;

  color: #444;

  font-size: clamp(26px, 3vw, 38px);
  font-style: italic;
  font-weight: 600;
  letter-spacing: .03em;
}


/* ==========================================
FOOTER
========================================== */

.footer {
  padding-bottom: clamp(35px, 5vw, 60px);
}

.footer__inner {
  width: min(100% - 40px, 1100px);
  margin-inline: auto;

  text-align: center;
}

.footer__logo {
  display: block;

  width: clamp(120px, 12vw, 160px);

  margin-inline: auto;
}

.footer__copyright {
  margin: 20px 0 0;

  font-size: 10px;
  line-height: 1.7;
}


/* ==========================================
TABLET / SP
========================================== */

@media (max-width: 768px) {

  .sp-only {
    display: block;
  }


  /* HEADER */

  .header__inner {
    width: calc(100% - 30px);
    padding-block: 20px 15px;
  }

  .header__logo {
    width: 120px;
  }


  /* HERO */

  .hero__visual {
    width: 100%;
  }


  /* INTRO */

  .intro {
    padding:
      0px 15px 60px;
  }

  .intro__inner {
    width: 100%;
  }

  .intro__text {
    font-size: 15px;
    line-height: 1.95;
  }

  .intro__text p+p {
    margin-top: 25px;
  }


  /* ACTION HEADING */

  .action-heading {
    padding-inline: 15px;
  }

  .action-heading__year {
    width: 100%;
    padding: 7px 10px;
    font-size: 27px;
  }

  .action-heading__title {
    margin-top: 20px;
    font-size: 22px;
  }

  .action-heading__line {
    height: 65px;
    margin-top: 20px;
  }


  /* ACTION */
  .action {
    padding: 45px 0 0;
  }

  .action__inner {
    width: 100%;
    padding-inline: 15px;
  }

  .action__number {
    width: 100%;
    margin-bottom: 25px;
    padding: 10px 10px;
    font-size: 18px;
    font-weight: 600;
  }

  .action__title {
    margin-bottom: 25px;

    font-size: 21px;
    line-height: 1.45;
  }


  /* image */
  .action__visual {
    width: calc(100% + 30px);
    margin-left: -15px;
  }


  /* content */
  .action__content {
    width: 100%;
    padding-inline: 5px;
    margin-top: 25px;
  }

  .action__date {
    font-size: 12px;
  }

  .action__content-title {
    font-size: 16px;
  }

  .action__text {
    margin-top: 12px;
    font-size: 14px;
    line-height: 2;
  }


  /* button */

  .action__more {
    margin-top: 30px;
  }

  .action__more a {
    width: 80%;
    height: 55px;
    font-size: 18px;
  }

  .action__arrow {
    right: 25px;
  }


  .action__bottom-line {
    height: 60px;
    margin-top: 40px;
  }


  /* COMING */

  .coming {
    padding:
      75px 15px 110px;
  }

  .coming p {
    font-size: 27px;
  }


  /* FOOTER */

  .footer {
    padding-bottom: 35px;
  }

  .footer__logo {
    width: 125px;
  }

  .footer__copyright {
    margin-top: 20px;

    font-size: 9px;
  }

}





/* ==========================================
SCROLL ANIMATION：ふわっと表示
========================================== */

.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.fade-up.is-show {
  opacity: 1;
  transform: translateY(0);
}

/* 左からふわっと表示 */
.fade-left {
  opacity: 0;
  transform: translateX(-40px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.fade-left.is-show {
  opacity: 1;
  transform: translateX(0);
}










/* ==========================================
SCROLL GUIDE
========================================== */

.scroll-guide {
  position: fixed;
  z-index: 30;
  left: 50%;
  bottom: 25px;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;

  transform: translateX(-50%);

  opacity: 1;
  visibility: visible;

  transition:
    opacity .4s ease,
    visibility .4s ease;

  pointer-events: none;
}

.scroll-guide__text {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .18em;
  writing-mode: vertical-rl;
}

/* 縦線 */
.scroll-guide__line {
  position: relative;

  display: block;

  width: 1px;
  height: 45px;

  overflow: hidden;

  background: #ddd;
}

/* 動くライン */
.scroll-guide__line::after {
  content: "";

  position: absolute;
  top: -100%;
  left: 0;

  width: 100%;
  height: 100%;

  background: #333;

  animation: scrollLine 1.8s ease-in-out infinite;
}

@keyframes scrollLine {

  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(200%);
  }

}

/* スクロールしたら非表示 */
.scroll-guide.is-hidden {
  opacity: 0;
  visibility: hidden;
}