/* =========================================================
   ボートいろは LP - style.css
   ========================================================= */


/* =========================================================
   01) Reset & Base（全体の初期化・基本設定）
   ========================================================= */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

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

ul,
ol {
  list-style: none;
}


/* =========================================================
   02) Utility
   ========================================================= */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}


/* =========================================================
   03) Animation
   ========================================================= */

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

.fade-in--visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(10px);
  }
}

@keyframes arrow-bounce {

  0%,
  100% {
    transform: translateY(0);
    opacity: .95;
  }

  50% {
    transform: translateY(10px);
    opacity: 1;
  }
}


/* =========================================================
   04) Button
   ========================================================= */

.btn {
  display: inline-block;
  cursor: pointer;
  transition: transform 0.3s ease, filter 0.3s ease, box-shadow 0.3s ease;
}

.btn__img {
  display: block;
  width: 100%;
  max-width: 500px;
}

.btn:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.btn:hover .btn__img {
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

.btn--primary {
  position: relative;
}

.btn--primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.3) 50%, transparent 60%);
  background-size: 200% 200%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn--primary:hover::after {
  opacity: 1;
  animation: shine 0.6s ease;
}

@keyframes shine {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}


/* =========================================================
   05) Hero（FV）
   ========================================================= */

.hero {
  position: relative;
  width: 100%;
  overflow: visible;
  background: linear-gradient(180deg, #1a1a2e 0%, #0d0d1a 100%);
}

.hero__inner {
  max-width: 1920px;
  margin: 0 auto;
  text-align: center;
}

/* ロゴ帯・ヘッダー */
.hero__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.hero__logo {
  padding: 20px 0;
}

.hero__logo-img {
  max-width: 100px;
  height: auto;
}

.hero__login {
  display: block;
}

.hero__login-img {
  width: 150px;
  height: auto;
  transition: transform 0.3s ease;
}

.hero__login:hover .hero__login-img {
  transform: scale(1.05);
}

/* メインビジュアル */
.hero__visual {
  width: 100%;
}

/* 動画 */
.hero__video {
  width: min(1100px, 92vw);
  height: auto;
  display: block;
  margin: 0 auto;
}

.hero__cta .btn--hero {
  position: static;
  transform: none;
  display: inline-block;
  margin-top: 16px;
}

.hero__cta .btn__img,
.btn--hero .btn__img {
  max-width: 700px;
  margin: 0 auto;
  width: 100%;
}

.hero__arrow-img {
  width: 50px;
  height: auto;
  animation: bounce 1.5s ease-in-out infinite;
}


/* =========================================================
   06) Section 共通（全セクションの土台）
   ========================================================= */

.section {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* セクション内の中央コンテナ（1100基準） */
.section__container {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 20px;
  z-index: 1;
}

/* テキスト/画像群の中央寄せ */
.section__content {
  position: relative;
  z-index: 2;
  text-align: center;
}

/* 見出し類の余白 */
.section__headline,
.section__subheadline,
.section__subheadline2,
.section__text,
.section__subtext {
  margin-bottom: 40px;
}

/* 見出し画像の基本 */
.section__headline-img,
.section__subheadline-img,
.section__subheadline2-img,
.section__text-img,
.section__subtext-img {
  max-width: 100%;
  height: auto;
}

/* 装飾画像の共通（absolute配置するもの） */
.deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

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


/* =========================================================
   07) Hero直下の矢印（セクション冒頭に置く用）
   ========================================================= */

.section__top-arrow {
  text-align: center;
  margin: 0 0 10px;
}

.section__top-arrow-img {
  width: 50px;
  height: auto;
  animation: bounce 1.5s ease-in-out infinite;
}


/* =========================================================
   08) Section 01
   ========================================================= */

.fv-cta {
  display: flex;
  justify-content: center;
  margin-top: 80px;
  padding: 24px 20px 0;

  position: relative;
  isolation: isolate;
}

.fv-cta .btn__img {
  max-width: 700px;
  width: 100%;
}

/* FV CTA：アニメーション */
.fv-cta a,
.fv-cta button,
.fv-cta .btn {
  position: relative;
  display: inline-block;
  transform: translateZ(0);
  will-change: transform, filter;
  transition: transform .18s ease, filter .18s ease;
  animation: fvCtaPulse 1.9s ease-in-out infinite;
}

/* ボタン画像 */
.fv-cta img {
  display: block;
  width: 100%;
  height: auto;
}

/* 外側の発光 */
.fv-cta a::before,
.fv-cta button::before,
.fv-cta .btn::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 18px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 215, 0, .55), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(255, 60, 0, .35), transparent 60%);
  filter: blur(10px);
  opacity: .75;
  z-index: -1;
  animation: fvGlow 2.2s ease-in-out infinite;
  pointer-events: none;
}

/* キラッの走る光 */
.fv-cta a::after,
.fv-cta button::after,
.fv-cta .btn::after {
  content: "";
  position: absolute;
  top: -25%;
  left: -45%;
  width: 45%;
  height: 160%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .65), transparent);
  transform: translateX(-160%) skewX(-18deg);
  opacity: 0;
  z-index: 2;
  pointer-events: none;
  animation: fvShine 2.8s ease-in-out infinite;
}

/* =========================
   Register CTA
========================= */
.register-cta {
  width: 100%;
  max-width: 740px;
  margin: 28px auto 56px;
  padding: 0;
}

.register-cta__link {
  display: block;
  width: 100%;
}

.register-cta__link img {
  display: block;
  width: 100%;
  height: auto;
}

/* hover */
@media (hover:hover) {

  .fv-cta a:hover,
  .fv-cta button:hover,
  .fv-cta .btn:hover {
    transform: translateY(-3px) scale(1.02);
    filter: brightness(1.08) contrast(1.05);
  }
}

.fv-cta a:active,
.fv-cta button:active,
.fv-cta .btn:active {
  transform: translateY(0) scale(.985);
}

/* ---- Keyframes ---- */
@keyframes fvCtaPulse {

  0%,
  100% {
    transform: scale(1);
    filter: brightness(1);
  }

  50% {
    transform: scale(1.03);
    filter: brightness(1.06) contrast(1.03);
  }
}

@keyframes fvGlow {

  0%,
  100% {
    opacity: .55;
  }

  50% {
    opacity: .95;
  }
}

@keyframes fvShine {
  0% {
    transform: translateX(-160%) skewX(-18deg);
    opacity: 0;
  }

  12% {
    opacity: .95;
  }

  28% {
    transform: translateX(170%) skewX(-18deg);
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

/* section01 背景 */
.section--s01 {
  position: relative;
  background: url('/frontend/images/iroha/s01-bg.png') center / cover no-repeat;
  background-color: #f5f0e6;
  padding: 0 0 80px;
}

/* 見出し画像サイズ */
.section--s01 .section__headline-img {
  width: min(820px, 80vw);
  display: block;
  margin-inline: auto;
}

.section--s01 .section__text-img {
  width: min(500px, 60vw);
  display: block;
  margin-inline: auto;
  margin-top: 30px;
}

/* s01：ボタン直下の矢印 */
.section--s01 .deco--arrow-below {
  width: 100%;
  margin: 0 0 32px;
  pointer-events: none;
  text-align: center;
  position: static;
}

.section--s01 .deco--arrow-below .deco__img {
  display: block;
  margin: 0 auto;
  width: 32px;
  height: auto;
  animation: arrow-bounce 1.2s ease-in-out infinite;
}


/* =========================================================
   09) Section 02（s02：背景とテキスト分離）
   ========================================================= */

.section--s02 {
  position: relative;
  overflow: visible;
  padding: 0 0 120px;
}

.section--s02 .s02-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.section--s02 .s02-bg__pattern {
  position: absolute;
  inset: 0;
  background: url("/frontend/images/iroha/s02-bg.png") center / cover no-repeat;
}

/* 装飾 */
.section--s02 .s02-deco {
  position: absolute;
  pointer-events: none;
  z-index: 2;
}

/* PC配置：富士/ボート */
.section--s02 .s02-deco--fuji {
  right: 0px;
  bottom: 0;
  width: min(700px, 70vw);
}

.section--s02 .s02-deco--boat {
  right: 0;
  top: -80px;
  width: min(700px, 45vw);
}

/* テキストレイヤー */
.section--s02 .section__container {
  position: relative;
  z-index: 5;
  width: min(1100px, 92vw);
  margin: 0 auto;
  min-height: auto;
  padding: 0;
}

/* テキストの上余白 */
.section--s02 .section__content {
  text-align: center;
  padding-top: clamp(120px, 18vw, 230px);
}

.section--s02 .section__main-text {
  width: 100%;
  max-width: 1100px;
  height: auto;
  display: block;
  margin: 0 auto;
}


/* =========================================================
   10) Section 03
   ========================================================= */

.section--s03 {
  position: relative;
  overflow: hidden;

  /* 全体背景 */
  background-image: url("/frontend/images/iroha/s03-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #2a1f5e;

  /* 上下余白（PC） */
  padding-top: 140px;
  padding-bottom: calc((631 / 2048) * 100vw);
}

/* 下背景（波） */
.section--s03 .s03-bg-under {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-image: url("/frontend/images/iroha/s03-bg-under.png");
  background-size: contain;
  background-position: center bottom;
  background-repeat: no-repeat;
  z-index: 0;
  pointer-events: none;
}

/* 中身：縦に並べる（重ねない） */
.section--s03 .s03-inner {
  position: relative;
  z-index: 1;
  width: min(700px, 70vw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  /* 帯とテキストの間 */
}

/* 帯 */
.section--s03 .s03-obi {
  width: min(500px, 70vw);
  height: auto;
  display: block;
}

/* テキスト */
.section--s03 .s03-text {
  width: min(700px, 92vw);
  height: auto;
  display: block;
}

.section--s03 .s03-text {
  opacity: 0;
  transform: translateY(28px) scale(.98);
  filter: blur(10px);
}

.section--s03.is-animate .s03-text {
  animation: s03TextEnter .9s cubic-bezier(.2, 1.2, .3, 1) forwards;
}

@keyframes s03TextEnter {
  0% {
    opacity: 0;
    transform: translateY(28px) scale(.98);
    filter: blur(10px);
  }

  70% {
    opacity: 1;
    transform: translateY(-4px) scale(1.01);
    filter: blur(0);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}



/* =========================================================
   Section03-2
   ========================================================= */

.section--s03-2 {
  background-image: url("/frontend/images/iroha/s03-02-bg.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 120px 0 140px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.section--s03-2 .s03-2-text {
  width: min(1100px, 92vw);
  height: auto;
  display: block;
  margin: 0 auto;
}




/* =========================================================
   11) Section 04
   ========================================================= */

.section--s04 {
  position: relative;
  z-index: 2;
  overflow: visible;
  background: url('/frontend/images/iroha/s04-bg.png') center / cover no-repeat;
  background-color: #1a1a1a;
  padding: 0 0 100px;
}

.section--s04 .section__headline {
  position: relative;
  top: -120px;
  z-index: 20;
  text-align: center;
  margin-bottom: -80px;
}

.section--s04 .section__headline-img {
  width: 90%;
  max-width: 900px;
  height: auto;
}

.section--s04 .section__container {
  position: relative;
  z-index: 10;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

.section--s04 .deco {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.section--s04 .deco--fire {
  top: 30%;
  left: 0;
  transform: translateY(-50%);
  width: 500px;
}

.section--s04 .deco--water {
  bottom: 0;
  right: 0;
  width: 500px;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: clamp(0px, 4vw, 30px);
  margin-bottom: clamp(40px, 6vw, 80px);
  width: 100%;
}

.principles__img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.principles__item:hover .principles__img {
  transform: translateY(-8px);
}


/* =========================================================
   12) Section 05
   ========================================================= */

.section--s05 {
  position: relative;
  z-index: 3;
  overflow: visible;
  background: url("/frontend/images/iroha/s05-bg.png") center top / cover no-repeat;
  background-color: #f8f5f0;
}

/* 中央寄せ枠 */
.section--s05 .section__container {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(56px, 6vw, 96px) 20px clamp(80px, 8vw, 120px);
  z-index: 2;
}

.section--s05 .section__content {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(14px, 2vw, 28px);
}

.section--s05 .section__headline-img,
.section--s05 .section__subheadline-img,
.section--s05 .section__subheadline2-img {
  width: min(760px, 92vw);
  height: auto;
  display: block;
}

/* 装飾：section基準で“画面端”に貼る */
.section--s05>.deco {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.section--s05 .deco__img {
  width: 100%;
  height: auto;
  display: block;
}

/* 右上：墨 */
.section--s05 .deco--sumi {
  top: clamp(10px, 2vw, 18px);
  right: 0;
  width: clamp(140px, 18vw, 220px);
  opacity: .45;
}

/* 右：花 */
.section--s05 .deco--flower {
  top: auto;
  bottom: 20%;
  right: 0px;
  left: auto;
  width: clamp(220px, 32vw, 600px);
  z-index: 3;
}

/* 左：虫 */
.section--s05 .deco--insect {
  top: clamp(-140px, -12vw, -50px);
  left: 0;
  width: clamp(220px, 32vw, 600px);
}

/* 右：先生 */
.section--s05 .deco--teacher {
  top: clamp(450px, 18vw, 750px);
  right: 0;
  width: clamp(200px, 32vw, 600px);
}

/* triangle：スライダー直前 */
.section--s05 .triangle-inline {
  margin: clamp(10px, 1.5vw, 24px) 0;
  width: clamp(120px, 14vw, 240px);
}

.section--s05 .triangle-inline img {
  width: 100%;
  height: auto;
  display: block;
}

/* parts01*/
.section--s05 .deco--parts01 {
  bottom: 18%;
  left: 0;
  width: clamp(70px, 10vw, 120px);
}

/* スライダー（s05専用） */
.section--s05 .plans-slider {
  width: min(980px, 96vw);
  overflow: hidden;
  margin-top: clamp(10px, 2vw, 18px);
}

.section--s05 .plans-slider__track {
  display: flex;
  gap: clamp(14px, 2vw, 26px);
  width: max-content;
  animation: s05-scroll-left 52s linear infinite;
}

.section--s05 .plans-slider__item {
  flex: 0 0 auto;
  width: clamp(260px, 42vw, 460px);
}

.section--s05 .plans-slider__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, .15);
}

@keyframes s05-scroll-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.section--s05 .plans-slider:hover .plans-slider__track {
  animation-play-state: paused;
}

/* スライダーだけ画面幅いっぱいにする */
.section--s05 .plans-slider--full {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
  padding: 0;
}

/* 中の余白 */
.section--s05 .plans-slider--full .plans-slider__track {
  padding-inline: clamp(12px, 3vw, 32px);
}

/* スライダー下：各ブロック */
.section--s05 .s05-block {
  width: 100%;
  display: flex;
  justify-content: center;
}

.section--s05 .s05-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ① headline */
.section--s05 .s05-block--headline {
  margin-top: clamp(30px, 3vw, 120px);
  margin-bottom: clamp(10px, 1.6vw, 18px);
}

.section--s05 .s05-img--headline {
  max-width: min(700px, 92vw);
}

/* ② list */
.section--s05 .s05-block--list {
  margin-top: clamp(10px, 1.6vw, 18px);
  margin-bottom: clamp(14px, 2vw, 26px);
}

.section--s05 .s05-img--list {
  max-width: min(700px, 92vw);
}

/* ③ 3point */
.section--s05 .s05-block--3point {
  margin-bottom: clamp(18px, 2.4vw, 34px);
}

.section--s05 .s05-img--3point {
  max-width: min(700px, 70vw);
  position: relative;
  z-index: 999;
  animation: standoutPulse 1.2s ease-in-out infinite;
}

@keyframes standoutPulse {

  0%,
  100% {
    transform: scale(1);
    filter: brightness(1) drop-shadow(0 0 0 rgba(255, 215, 0, 0));
  }

  50% {
    transform: scale(1.05);
    filter: brightness(1.2) drop-shadow(0 0 15px rgba(255, 215, 0, 0.8));
  }
}

/* ④ headline02 */
.section--s05 .s05-block--headline02 {
  margin-top: clamp(8px, 1.4vw, 16px);
  margin-bottom: clamp(22px, 3vw, 42px);
}

.section--s05 .s05-img--headline02 {
  max-width: min(700px, 70vw);
}

/* ⑤ parts01（帯装飾） */
.section--s05 .s05-block--parts01 {
  margin-top: clamp(30px, 3vw, 120px);
  margin-bottom: clamp(24px, 3.2vw, 48px);
}

.section--s05 .s05-img--parts01 {
  max-width: min(980px, 96vw);
}

/* ⑥ contact */
.section--s05 .s05-block--contact {
  margin-top: clamp(6px, 1vw, 12px);
  margin-bottom: clamp(12px, 1.8vw, 22px);
}

.section--s05 .s05-img--contact {
  width: 100%;
  max-width: clamp(200px, 40vw, 400px);
}

/* ⑦ ボタン */
.section--s05 .s05-block--btn {
  margin-top: clamp(6px, 1vw, 12px);
  margin-bottom: clamp(10px, 2vw, 24px);
}

.section--s05 .s05-img--btn {
  max-width: min(800px, 86vw);
}


/* =========================================================
   13) Scroll-trigger Animations
   ========================================================= */

/* s02：ボート霞（スクロール発火） */
.section--s02 .s02-deco--boat {
  transform-origin: 50% 60%;
  opacity: 0;
  will-change: transform, opacity;
}

.section--s02.is-animate .s02-deco--boat {
  animation:
    boatEnter 0.9s cubic-bezier(.2, 1.2, .3, 1) forwards,
    boatFloat 3.8s ease-in-out 1s infinite;
}

@keyframes boatEnter {
  0% {
    transform: translateX(120px) scale(.95);
    opacity: 0;
  }

  60% {
    transform: translateX(-8px) scale(1.02);
    opacity: 1;
  }

  100% {
    transform: translateX(0) scale(1);
    opacity: 1;
  }
}

@keyframes boatFloat {
  0% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-10px) rotate(1deg);
  }

  100% {
    transform: translateY(0) rotate(0deg);
  }
}

/* s05：虫（スクロール発火） */
.section--s05 .deco--insect {
  opacity: 0;
  transform-origin: 40% 60%;
  will-change: transform, opacity;
}

.section--s05.is-animate .deco--insect {
  animation:
    insectEnter 1.2s cubic-bezier(.15, 1.3, .25, 1) forwards,
    insectFloat 4.5s ease-in-out 1.2s infinite;
}

@keyframes insectEnter {
  0% {
    transform: translateX(-180px) rotate(-6deg) scale(.92);
    opacity: 0;
    filter: blur(6px);
  }

  60% {
    transform: translateX(12px) rotate(1deg) scale(1.03);
    opacity: 1;
    filter: blur(0);
  }

  100% {
    transform: translateX(0) rotate(0deg) scale(1);
    opacity: 1;
  }
}

@keyframes insectFloat {
  0% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-14px) rotate(-1deg);
  }

  100% {
    transform: translateY(0) rotate(0deg);
  }
}

/* s05：先生（スクロール発火） */
.section--s05 .deco--teacher {
  opacity: 0;
  will-change: transform, opacity;
}

.section--s05.is-animate .deco--teacher {
  animation: teacherEnter 1.1s ease-out forwards;
}

@keyframes teacherEnter {
  0% {
    transform: translateX(120px);
    opacity: 0;
    filter: blur(4px);
  }

  70% {
    transform: translateX(-6px);
    opacity: 1;
    filter: blur(0);
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

/* s05：花（スクロール発火） */
.section--s05 .deco--flower {
  opacity: 0;
  transform-origin: 60% 60%;
  will-change: transform, opacity;
}

.section--s05.is-animate .deco--flower {
  animation:
    flowerEnter 2s cubic-bezier(.2, 1.2, .3, 1) forwards,
    flowerFloat 6s ease-in-out 1.2s infinite;
}

@keyframes flowerEnter {
  0% {
    transform: translateX(160px) scale(.95) rotate(3deg);
    opacity: 0;
    filter: blur(6px);
  }

  70% {
    transform: translateX(-8px) scale(1.02) rotate(-1deg);
    opacity: 1;
    filter: blur(0);
  }

  100% {
    transform: translateX(0) scale(1) rotate(0);
    opacity: 1;
  }
}

@keyframes flowerFloat {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-6px) rotate(.6deg);
  }
}

/* 最終ボタン（スクロール発火） */
.section--s05 .s05-block--btn {
  opacity: 0;
  transform: translateY(60px) scale(.9);
  will-change: transform, opacity;
}

.section--s05.is-animate .s05-block--btn {
  animation:
    finalBtnEnter .9s cubic-bezier(.2, 1.3, .3, 1) forwards,
    finalBtnPulse 2.8s ease-in-out 1s infinite;
}

@keyframes finalBtnEnter {
  0% {
    transform: translateY(60px) scale(.85);
    opacity: 0;
  }

  60% {
    transform: translateY(-6px) scale(1.05);
    opacity: 1;
  }

  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

@keyframes finalBtnPulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.04);
  }
}


/* =========================================================
   14) Footer
   ========================================================= */

.site-footer {
  background-color: #000;
  color: #fff;
  padding: 40px 20px;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px 40px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.05em;
  transition: opacity 0.3s;
}

.footer-links a:hover {
  opacity: 0.6;
  text-decoration: underline;
}

.register-cta {
  position: relative;
  width: 100%;
  max-width: 740px;
  margin: 28px auto 56px;
  padding: 0;
  overflow: hidden;
}

.register-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: -30%;
  width: 20%;
  height: 100%;
  background: linear-gradient(120deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, .35) 50%,
      rgba(255, 255, 255, 0) 100%);
  transform: skewX(-20deg);
  animation: registerCtaShine 2.8s infinite;
  pointer-events: none;
}

@keyframes registerCtaShine {
  0% {
    left: -30%;
  }

  100% {
    left: 120%;
  }
}

/* =========================================================
   15) Responsive（768px以下）
   ========================================================= */

@media screen and (max-width: 768px) {
  html {
    font-size: 14px;
  }

  /* ---------- Hero（スマホ調整） ---------- */
  .hero__logo {
    padding: 15px 0;
  }

  .hero__logo-img {
    max-width: 60px;
  }

  .hero__login-img {
    width: 100px;
  }

  .hero video {
    width: 100vw;
    max-width: none;
  }

  /* CTA帯 */
  .hero__cta {
    padding: 20px 15px 60px;
  }

  .hero__cta .btn__img {
    max-width: 95%;
  }

  .hero__cta .btn--hero {
    bottom: -34px;
  }

  /* スマホ：ヒーローボタンを大きくする */
  .hero__cta .btn--hero {
    width: min(92vw, 520px);
  }

  .hero__cta .btn--hero .btn__img {
    width: 100%;
    max-width: none;
  }

  /* fv-cta（スマホで余白を詰める） */
  .fv-cta {
    margin-top: 20px;
    padding: 12px 12px 0;
  }

  /* s01：セクション内上余白を調整 */
  .section--s01 .section__container {
    padding-top: 40px;
  }

  /* セクション共通：余白を詰める */
  .section__container {
    padding: 40px 15px;
  }

  .section--s02 .section__container,
  .section--s03 .section__container,
  .section--s04 .section__container,
  .section--s05 .section__container {
    padding: 50px 15px;
  }

  .section__headline,
  .section__subheadline,
  .section__subheadline2,
  .section__text,
  .section__subtext {
    margin-bottom: 20px;
  }

  /* s01の下余白（緑の帯） */
  .section--s01 {
    padding-bottom: 0;
  }

  /* スマホ：s01矢印を小さく */
  .section--s01 .deco--arrow-below .deco__img {
    width: 12px;
  }

  /* Section02：スマホ最適化（被り防止） */
  .section__container,
  .section--s02 .section__container,
  .section--s03 .section__container,
  .section--s04 .section__container,
  .section--s05 .section__container {
    padding: 10px 4px;
  }

  .section--s01 .section__container {
    padding-bottom: 50px;
  }

  .section--s02 {
    padding-top: 0;
  }

  .section--s02 .section__container {
    min-height: auto;
    padding-top: 105px;
    /* hero食い込み対策 */
  }

  .section--s02 .section__content {
    padding-top: 20px;
  }

  .section--s02 .s02-deco--boat {
    width: min(520px, 70vw);
    top: -50px;
    right: 0;
    opacity: 0.95;
  }

  /* =========================================================
   s02：テキスト画像（s02-text-sp）中央固定
   ========================================================= */

  /* wrapper自体を中央に固定 */
  /* wrapper自体を中央に固定 */
  .section--s02 .section__main-text {
    display: flex;
    justify-content: center;
    /* 中央揃え */
    width: 100%;
    /* 幅いっぱい */
    max-width: 700px;
    margin: 60px auto 0;
    /* 左右中央（念のため） */
  }

  .section--s02 .section__main-text img {
    display: block;
    width: auto;
    /* 自然な幅で表示 */
    max-width: 92vw;
    /* 画面幅より少し小さく */
    height: auto;
  }


  .section--s02 .s02-deco--fuji {
    width: min(520px, 92vw);
    right: 0;
    bottom: 0;
  }


  /* s03-2：上下切れ対策（スマホ） */
  .section--s03-2 {
    background-image: url("/frontend/images/iroha/s03-02-bg-sp.png");
    background-position: center;
  }

  /* テキスト画像を背景内に収める */
  .section--s03-2 .s03-2-text {
    width: min(88vw, 680px);
    /* 少し小さくして縦も縮む */
    height: auto;
  }

  /* s05 見出しの上余白 */
  .section--s05 .section__headline {
    margin-top: 30px;
  }

  /* Section03 */
  .section--s03 {
    padding: 70px 0 60vw;
  }

  .section--s03 .s03-bg-under {
    height: 65vw;
    background-image: url("/frontend/images/iroha/s03-bg-under_m.png");
    background-size: 100% auto;
  }

  .section--s03 .s03-inner {
    gap: 22px;
    width: 95%;
    max-width: none;
    padding: 0 4px;
  }

  .section--s03 .s03-text {
    width: 95%;
  }

  /* Section04：装飾サイズ */
  .section--s04 .section__headline {
    top: -70px;
  }

  .section--s04 .deco--fire {
    width: 260px;
    opacity: 0.7;
  }

  .section--s04 .deco--water {
    width: 300px;
    opacity: 0.7;
  }

  .section--s04 .principles {
    margin-top: 0;
  }

  /* principles：スマホは1列 */
  .principles {
    grid-template-columns: 1fr;
    max-width: 95%;
    margin-left: auto;
    margin-right: auto;
  }

  /* s05：3point/見出し02などの幅 */
  .section--s05 .s05-block--3point {
    width: 100%;
    max-width: none;
    display: flex;
    justify-content: center;
  }

  .section--s05 .s05-img--3point {
    width: 96vw;
    /* 画面幅最大で大きく */
    max-width: none;
    margin: 0 auto;
    /* 中央配置 */
    /* 目立つアニメーションを追加（PC共通のstandoutPulseを利用） */
    animation: standoutPulse 1.2s ease-in-out infinite;
  }

  .section--s05 .s05-block--headline02 {
    width: 100%;
    max-width: none;
  }

  .section--s05 .s05-img--headline02 {
    width: 96vw;
    max-width: none;
  }

  .section--s05 .deco--sumi {
    width: 120px;
  }

  .section--s05 .deco--flower {
    top: auto;
    bottom: 15%;
    right: 0px;
    left: auto;
    width: 150px;
    z-index: 3;
  }

  .section--s05 .deco--insect {
    top: -50px;
    width: 220px;
  }

  .section--s05 .deco--teacher {
    top: 300px;
    width: 200px;
  }



  /* 最終ボタンの下余白 */
  .btn--final {
    margin-bottom: 40px;
  }

  /* ボタン/CTAの画像幅 */
  .btn__img {
    max-width: 100%;
  }

  .btn--final .btn__img {
    max-width: 100%;
  }

  .section__contact-img {
    max-width: 80%;
  }

  /* スマホだけ：CTA発光を控えめ */
  .fv-cta a,
  .fv-cta button,
  .fv-cta .btn {
    animation-duration: 2.2s;
  }

  .fv-cta a::after,
  .fv-cta button::after,
  .fv-cta .btn::after {
    animation-duration: 3.2s;
  }
}


/* =========================================================
   16) Responsive（480px以下）
   ========================================================= */

@media screen and (max-width: 480px) {
  html {
    font-size: 12px;
  }

  /* さらに小さい端末：食い込み量を少し弱める */
  .hero__cta .btn--hero {
    bottom: -28px;
  }

  .section__top-arrow {
    margin-top: 0;
  }

  .section--s02 .section__container {
    padding-top: 30px;
  }

  .hero__logo-img {
    max-width: 50px;
  }

  .section__container {
    padding: 30px 10px;
  }

  /* 装飾をさらに減らす（ごちゃつき防止） */
  .section--s02 .s02-deco--gold {
    display: none;
  }

  .section--s02 .s02-deco--kasumi {
    display: none;
  }

  .section--s02 .s02-deco--fuji {
    width: 300px;
    bottom: 28px;
  }

  .section--s02 .s02-deco--takarabako {
    width: 70px;
  }

  .section--s04 .deco--fire,
  .section--s04 .deco--water {
    width: 250px;
    opacity: 0.9;
  }

  .section--s05 .deco--insect {
    top: -50px;
    width: 180px;
  }

  .section--s05 .deco--teacher {
    top: 250px;
    width: 180px;
  }

  .register-cta {
    max-width: 100%;
    margin: 16px auto 40px;
    padding: 0 12px;
  }
}

/* =========================================================
   EOF
   ========================================================= */

/* =========================================================
   LP実績スライダー用追加CSS (plans-slider--results)
   ========================================================= */
.section--s05 .plans-slider--results {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
  padding: 0;
}

.section--s05 .plans-slider--results .plans-slider__track {
  padding-inline: clamp(12px, 3vw, 32px);
}

.section--s05 .plans-slider__item--result {
  background: #1a1a1a;
  border: 2px solid #cfaa5d;
  /* ゴールド系 */
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.section--s05 .plans-slider__cap {
  background: linear-gradient(135deg, #b08d48, #e8d087, #b08d48);
  color: #1a1a1a;
  font-weight: bold;
  font-size: clamp(14px, 2vw, 18px);
  text-align: center;
  padding: 8px 10px;
  letter-spacing: 0.1em;
  margin: 0;
}

.section--s05 .plans-slider__banner {
  display: block;
}

.section--s05 .plans-slider__banner .plans-slider__img {
  border-radius: 0;
  box-shadow: none;
  width: 100%;
  display: block;
}

.section--s05 .plans-slider__result {
  padding: 12px 14px;
  background: #111;
  color: #fff;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.section--s05 .plans-slider__date {
  font-size: clamp(12px, 1.6vw, 14px);
  color: #ccc;
  margin: 0;
}

.section--s05 .plans-slider__text {
  font-size: clamp(14px, 2vw, 16px);
  font-weight: bold;
  color: #e8d087;
  /* ゴールド */
  margin: 0;
}

.section--s05 .plans-slider__money {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 900;
  color: #ff3333;
  /* 赤で強調 */
  margin: 0;
  letter-spacing: 0.05em;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}
