/* スクロール */

.scroll {
  position: absolute;
  right: 90%;
  top: 0%;
  writing-mode: vertical-rl;
  margin-top: 500px;
  position: fixed;
  z-index: 10000;
}
/* 線のアニメーション部分 */
.scroll::before {
  animation: scroll 2s infinite;
  background-color: #000;
  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%;
  }
}

@media screen and (min-width: 1024px) {
  .scroll {
    top: 25%;
  }
}
/* ==========================================================
   保護者案内　メインビジュアル 
========================================================== */

.tt-main-visual {
  border-radius: 20px;
  max-width: calc(100% - 30px);
  margin-left: auto;
  margin-right: auto;
  margin-top: 60px;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#f8b819),
    to(#f0d320)
  );
  background-image: linear-gradient(
    to right,
    #f78ca0 0%,
    #f9748f 19%,
    #fd868c 60%,
    #fe9a8b 100%
  );
}
@media screen and (min-width: 768px) {
  .tt-main-visual {
    border-radius: 30px;
    max-width: calc(100% - 60px);
  }
}
.tt-main-title {
  text-shadow: 2px 2px 8px rgba(255, 255, 255, 0.9),
    -2px -2px 8px rgba(255, 255, 255, 0.9);
  text-align: center;
  margin-bottom: 10px;
}
.tt-main-visual__inner {
  padding: 50px 20px 200px;
  position: relative;
}
@media screen and (min-width: 768px) {
  .tt-main-visual__inner {
    padding-top: 110px;
    padding-bottom: 109px;
    padding-left: 30px;
    padding-right: 30px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
  }
}

.tt-main-visual__lead1,
.tt-main-visual__lead2 {
  -webkit-font-feature-settings: "palt" on;
  font-feature-settings: "palt" on;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 2.2px;
  border-radius: 5px;
  background: #fff;
  padding: 10px;
  display: block;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
@media screen and (min-width: 768px) {
  .tt-main-visual__lead1,
  .tt-main-visual__lead2 {
    margin-left: 0;
    margin-right: 0;
    font-size: 38px;
    letter-spacing: 3.8px;
    padding: 12px 16px;
  }
}

.tt-main-visual__lead2 {
  margin-top: 8px;
}
@media screen and (min-width: 768px) {
  .tt-main-visual__lead2 {
    margin-top: 14px;
  }
  .tt-main-title {
    text-align: left;
  }
}

.tt-main-visual__description {
  text-align: center;
  letter-spacing: 0.48px;
  font-weight: 700;
  margin-top: 26px;
  text-shadow: 2px 2px 8px rgba(255, 255, 255, 0.9),
    -2px -2px 8px rgba(255, 255, 255, 0.9);
}
@media screen and (min-width: 768px) {
  .tt-main-visual__description {
    text-align: left;
    font-size: 18px;
    letter-spacing: 0.54px;
    margin-top: 20px;
  }
}

.tt-main-visual__button {
  margin-top: 22px;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .tt-main-visual__button {
    text-align: left;
    margin-top: 30px;
  }
}

.tt-main-visual__image {
  position: absolute;
  right: 0;
  bottom: -108px;
  width: 100%;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .tt-main-visual__image {
    width: 57.6923076923%;
    text-align: right;
    bottom: -88px;
    right: 30px;
  }
}
.tt-main-visual__image img {
  width: 500px;
}
@media screen and (min-width: 768px) {
  .tt-main-visual__image img {
    width: 800px;
  }
}
/* ==========================================================
   アプリダウンロード
========================================================== */
/*
 * 全体的なセクションのスタイル (このHTMLの親要素または同階層要素)
 */
.how-to-use {
  padding-top: 150px;
  padding-bottom: 60px;
}
@media screen and (min-width: 768px) {
  .how-to-use {
    padding-top: 100px;
    padding-bottom: 100px;
  }
}

/*
 * 見出し部分 (.heading-user)
 */
.heading-user {
  text-align: center;
  margin-top: 150px;
}

/* アプリロゴのアイコン */
.how-to-icon {
  width: 30%;
}
@media (min-width: 768px) {
  .how-to-icon {
    width: 10%;
  }
}

/* メインタイトル */
.how-to-title {
  text-align: center;
  font-size: 20px;
  color: #ff6b00;
}

/*
 * 無料ダウンロードCTA (.btn-icon2) 部分
 */
.btn-icon2 img {
  margin-top: 20px;
  width: 150px;
}
@media screen and (min-width: 768px) {
  .btn-icon2 img {
    width: 300px;
    gap: 20px; /* このCSSプロパティは無効ですが、HTML上の親要素の意図かと思われます */
  }
}

/* H2要素の装飾 (「まずは無料ダウンロード」) */
.slash {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.slash::before,
.slash::after {
  content: "";
  width: 25px;
  height: 1px;
  background-color: #000;
  margin: 0px 4px 4px;
}
.slash::before {
  transform: rotate(45deg);
}
.slash::after {
  transform: rotate(-45deg);
}

/* アプリダウンロードアイコンのコンテナ */
.app-icon {
  display: block; /* display: flex; で上書きされる */
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* 注意書きテキスト */
.how-to-app-text {
  text-align: center;
  font-size: 14px;
  margin-top: 10px;
  padding-bottom: 30px;
}
@media (min-width: 768px) {
  .how-to-app-text {
    text-align: center;
    font-size: 14px;
    margin-top: 10px;
  }
  .heading-user {
    margin-top: 50px;
  }
}

/* =========================
   アニメーション
========================= */
.tt-fade-in-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* CTA ふわっと表示 */
.tt-download-cta {
  animation: tt-float 6s ease-in-out infinite;
}

@keyframes tt-float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
  100% {
    transform: translateY(0);
  }
}

/* =========================
   レスポンシブ
========================= */
@media (max-width: 768px) {
  .tt-download-section {
    padding: 80px 16px;
  }

  .tt-download-title {
    font-size: 24px;
  }

  .tt-cta-title {
    font-size: 20px;
  }

  .tt-app-icon {
    height: 46px;
  }
}

@media (max-width: 480px) {
  .tt-download-title {
    font-size: 22px;
  }

  .tt-download-note {
    font-size: 13px;
  }
}

/* ==========================================================
   動画説明エリア（movie） 
========================================================== */

/* 背景画像 */
.bk-img {
  background: url(../img/tetote/bk-img.jpg) no-repeat center/cover;
  padding-top: 80px;
}

.movie h2.title {
  font-size: 25px;
}
.movie h3 {
  text-align: center;
  margin: 0 auto 15px;
}

/* コンテナ（動画周り） */
.movie__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px 5px;
  margin-bottom: 20px;
}

/* 説明文 */
.cont {
  text-align: center;
  margin-bottom: 40px;
}

/* iframe ラッパー（レスポンシブ） */
.movie__iframe {
  width: 100%;
  max-width: 920px;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  margin: 0 auto;
  margin-top: 30px;
  margin-bottom: 50px;
}

.movie__iframe iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* 遅延読み込み（視覚安定） */
.movie__iframe iframe[loading="lazy"] {
  min-height: 200px;
}
@media screen and (min-width: 768px) {
  .movie h2.title {
    font-size: 50px;
  }
}
/* ==========================================================
   施設登録の方法 
========================================================== */

/* セクション全体 */
.facility-registration {
  padding-top: 50px;
  padding-bottom: 20px;
}
@media screen and (min-width: 768px) {
  .facility-registration {
    padding-top: 50px;
    padding-bottom: 50px;
  }
}

/* ステップ全体ラッパー */
.registration-steps-wrapper {
  border-radius: 30px;
  background: linear-gradient(to bottom, #fff7e6, #ffe0b3);
  padding: 10px 20px 48px;
}
@media screen and (min-width: 768px) {
  .registration-steps-wrapper {
    padding: 20px 40px 70px;
  }
}

/* タイトル */
.registration-steps-title {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  color: #f57c00;
  margin-bottom: 20px;
}

/* ステップ横並び */
.registration-steps-list {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 30px 20px;
  justify-content: center;
}
@media screen and (min-width: 768px) {
  .registration-steps-list {
    margin-top: 60px;
    flex-wrap: nowrap;
    gap: 20px;
  }
}

/* 各ステップ */
.registration-step-item {
  width: 100%;
  max-width: 280px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
@media screen and (min-width: 768px) {
  .registration-step-item {
    flex: 1 1 0%;
    max-width: none;
  }
}

/* ホバー演出 */
.registration-step-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(255, 159, 28, 0.25);
}

/* ステップ箱 */
.step-box {
  padding-top: 45px;
  position: relative;
}

/* STEP番号（丸） */
.step-box__head {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 6px 12px rgba(255, 159, 28, 0.35);
  background: linear-gradient(#ff6b00 0, #ff8c1a 100%);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

/* STEP文字 */
.step-box__head-text {
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.3px;
  color: #fff;
  margin-top: 5px;
}

/* STEP番号 */
.step-box__head-number {
  font-family: "Montserrat", sans-serif;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 3.4px;
  color: #fff;
}

/* ステップ内容ボックス */
.step-box__body {
  border-radius: 30px;
  border: 2px solid #ffd3a1;
  background: #ffffff;
  padding: 47px 10px 23px;
  text-align: center;
}

/* 画像 */
.step-box__image img {
  width: 160px;
}
@media screen and (min-width: 768px) {
  .step-box__image img {
    width: 200px;
  }
}

/* 説明テキスト */
.step-box__text {
  font-weight: 700;
  letter-spacing: 0.48px;
  margin-top: 10px;
  color: #5a3b1e;
}
/* =======================================================
   イラスト挿入（テトテルキャラ）
========================================================== */

.registration-illustration {
  display: flex;
  justify-content: center;
  margin-top: 10px;
  margin-bottom: 40px;
}

.registration-illustration img {
  width: 180px;
  max-width: 60%;
  height: auto;
}
@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .registration-steps-wrapper {
    margin-right: 15px;
    margin-left: 15px;
  }
}
/* PCでは右寄せ＆浮かせる */
@media screen and (min-width: 768px) {
  .registration-steps-wrapper {
    position: relative;
  }

  .registration-illustration {
    position: absolute;
    top: -40px;
    right: 140px;
    margin: 0;
  }

  .registration-illustration img {
    width: 320px;
  }
}
.footer {
  margin-bottom: 0px;
}
