/* ======================================
   Index Page Styles
   kawaii / TOP only
   ====================================== */

/* ===== HERO ===== */
.hero{
  position: relative;
  min-height: 92vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}

/* 背景画像（PC / SP 切り替え） */
.hero__bg{
  position: absolute;
  inset: 0;
  background-image: url("../assets/img/hero_anime_web.jpg");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero__overlay{
  position:absolute;
  inset:0;
  background:
    /* ほんの少しの体温（上から） */
    radial-gradient(1200px 700px at 35% 28%,
      rgba(232, 179, 198, 0.10),
      rgba(232, 179, 198, 0.00) 60%
    ),
    /* 既存の白膜（読みやすさ） */
    linear-gradient(
      to bottom,
      rgba(247,246,242,0.14) 0%,
      rgba(247,246,242,0.26) 52%,
      rgba(247,246,242,0.58) 100%
    );
}

/* 中身 */
.hero__inner{
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-pc);
}

/* ロゴ＋コピーの塊 */
.hero__brand{
  max-width: 520px;
  display: grid;
  gap: 22px;
}

/* メインコピー */
.hero__headline{
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.hero-title {
  word-break: keep-all;
  line-break: strict;
}

/* サブコピー（説明しすぎない） */
.hero__sub{
  font-size: 14px;
  line-height: 1.9;
  opacity: 0.75;
}

/* ===== スクロールサイン ===== */
.hero__scroll{
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  width: 22px;
  height: 38px;
  z-index: 1;
  opacity: 0.55;
}

.hero__scrollLine{
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 1px;
  height: 100%;
  background: rgba(31,31,31,0.35);
  overflow: hidden;
}

.hero__scrollLine::after{
  content:"";
  position:absolute;
  left:0;
  top:-40%;
  width:1px;
  height:40%;
  background: rgba(31,31,31,0.65);
  animation: scrollLine 1.6s ease-in-out infinite;
}

@keyframes scrollLine{
  0%   { transform: translateY(0); opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: translateY(220%); opacity: 0; }
}

/* ===== PHILOSOPHY ===== */
.philo{
  padding: 64px 0 0;
  margin-bottom: 56px;
}

.philo__inner{
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--pad-sp);
}

.philo__body{
  text-align: center;
}

.philo__body p{
  margin: 0 0 18px;
  line-height: 2;
}

.philo__body p:last-child{
  margin-bottom: 0;
}

/* ===== CTA ===== */
.index-cta{
  display: flex;
  justify-content: center;
  margin: 0 0 96px;
}

/* ===== Responsive (SP) ===== */
@media (max-width: 640px){

  .hero{
    min-height: 86vh;
  }

  .hero__bg{
    background-image: url("../img/hero_anime.jpg");
  }

  .hero__inner{
    padding: 0 var(--pad-sp);
  }

  .hero__brand{
    max-width: 88vw;
  }

  .hero__headline{
    font-size: clamp(26px, 7vw, 34px);
  }

  .hero__sub{
    font-size: 13px;
  }

  .philo{
    padding-top: 48px;
    margin-bottom: 44px;
  }

  .index-cta{
    margin-bottom: 72px;
  }
}

.nowrap{
  white-space: nowrap;
  display: inline-block;
}

/* ===== TOP: remove vertical scroll indicator ===== */
.hero__scroll{
  display: none !important;
}