* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  background:
    radial-gradient(circle at top, rgba(0, 140, 255, 0.12), transparent 35%),
    linear-gradient(180deg, #020812 0%, #07121e 45%, #01050a 100%);
  color: #fff;
  overflow-x: hidden;
}

.site-title {
  text-align: center;
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: 0.2em;
  margin: 28px 0 18px;
  color: #f7fbff;
  text-shadow:
    0 0 14px rgba(120, 220, 255, 0.4),
    0 0 36px rgba(0, 120, 255, 0.22);
}

/* ポスター型 命の部屋 */
.story-poster {
  position: relative;
  width: min(1500px, 94%);
  height: 86vh;
  min-height: 720px;
  margin: 24px auto 90px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(145, 220, 255, 0.15);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.52),
    inset 0 0 80px rgba(80, 180, 255, 0.05);
}

/* 背景スライダー */
.story-bg-slider {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}

.story-bg-slider::-webkit-scrollbar {
  height: 10px;
}

.story-bg-slider::-webkit-scrollbar-thumb {
  background: rgba(140, 220, 255, 0.45);
  border-radius: 999px;
}

.story-bg-slider img {
  min-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  scroll-snap-align: start;
  display: block;
  filter: brightness(0.55) contrast(1.12) saturate(1.1);
  transform: scale(1.04);
}

/* 暗めの映画感 */
.story-dark-layer {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.42) 42%, rgba(0, 0, 0, 0.2) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.22) 0%, rgba(0,0,0,0.18) 55%, rgba(0,0,0,0.48) 100%);
  z-index: 1;
}

.story-light-layer {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 28%, rgba(100, 210, 255, 0.22), transparent 20%),
    radial-gradient(circle at 80% 60%, rgba(255, 255, 255, 0.07), transparent 14%),
    radial-gradient(circle at 20% 15%, rgba(140, 220, 255, 0.08), transparent 18%);
  z-index: 2;
  pointer-events: none;
}

/* 文字部分 */
.story-content {
  position: absolute;
  z-index: 3;
  left: 7%;
  top: 50%;
  transform: translateY(-50%);
  max-width: 620px;
}

.story-sub {
  margin: 0 0 18px;
  font-size: 1rem;
  letter-spacing: 0.28em;
  color: #92dcff;
  text-transform: uppercase;
}

.story-main-title {
  margin: 0 0 24px;
  font-size: clamp(4rem, 8vw, 7.2rem);
  line-height: 0.95;
  letter-spacing: 0.12em;
  color: #ffffff;
  text-shadow:
    0 0 15px rgba(155, 225, 255, 0.32),
    0 0 40px rgba(0, 110, 255, 0.18);
}

.story-lead {
  font-size: 1.15rem;
  line-height: 2;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 28px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.story-caption {
  display: inline-block;
  min-height: 58px;
  padding: 16px 20px;
  margin-bottom: 30px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(150, 220, 255, 0.2);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

.story-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.poster-btn {
  display: inline-block;
  padding: 18px 38px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  color: #04111b;
  background: linear-gradient(90deg, #b7f1ff, #5bc8ff);
  box-shadow:
    0 0 20px rgba(91, 200, 255, 0.45),
    0 14px 35px rgba(0, 110, 255, 0.28);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.poster-btn:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow:
    0 0 26px rgba(91, 200, 255, 0.68),
    0 18px 40px rgba(0, 110, 255, 0.36);
}

.normal-section {
  width: min(1100px, 90%);
  margin: 0 auto 100px;
}

.profile-img {
  width: 220px;
  max-width: 100%;
  border-radius: 18px;
  display: block;
  margin: 20px 0;
}

/* スマホ */
@media (max-width: 980px) {
  .story-poster {
    height: auto;
    min-height: auto;
  }

  .story-bg-slider {
    height: 460px;
  }

  .story-content {
    position: absolute;
    left: 18px;
    right: 18px;
    top: auto;
    bottom: 26px;
    transform: none;
    max-width: none;
  }

  .story-main-title {
    font-size: 2.8rem;
  }

  .story-lead {
    font-size: 1rem;
    line-height: 1.8;
  }

  .story-caption {
    display: block;
    min-height: auto;
    margin-bottom: 18px;
    font-size: 0.95rem;
  }

  .poster-btn {
    width: 100%;
    text-align: center;
    padding: 16px 20px;
  }

  .site-title {
    font-size: 2.2rem;
  }
}

.line-section {
  position: relative;
  width: min(1200px, 92%);
  margin: 120px auto 120px;
  padding: 80px 40px;
  border-radius: 28px;

  background:
    linear-gradient(135deg, rgba(0, 20, 35, 0.9), rgba(0, 8, 18, 0.95));

  border: 1px solid rgba(140, 220, 255, 0.15);

  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    inset 0 0 60px rgba(0, 180, 255, 0.05);

  text-align: center;
  overflow: hidden;
}

/* 背景の光 */
.line-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(100, 210, 255, 0.25), transparent 40%),
    radial-gradient(circle at 80% 100%, rgba(0, 140, 255, 0.18), transparent 40%);
  pointer-events: none;
}

/* 中身 */
.line-inner {
  position: relative;
  z-index: 1;
}

.line-label {
  font-size: 0.9rem;
  letter-spacing: 0.3em;
  color: #8ddcff;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.line-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin: 0 0 20px;
  line-height: 1.2;
  text-shadow:
    0 0 12px rgba(120, 220, 255, 0.35),
    0 0 30px rgba(0, 120, 255, 0.2);
}

.line-text {
  font-size: 1.1rem;
  line-height: 2;
  color: rgba(255,255,255,0.9);
  margin-bottom: 40px;
}

/* ボタン */
.line-btn {
  display: inline-block;
  padding: 18px 40px;
  border-radius: 999px;
  font-weight: bold;
  text-decoration: none;

  background: linear-gradient(90deg, #06c755, #00b94f);
  color: white;

  box-shadow:
    0 0 20px rgba(6, 199, 85, 0.4),
    0 10px 30px rgba(0, 150, 60, 0.3);

  transition: 0.3s;
}

.line-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow:
    0 0 28px rgba(6, 199, 85, 0.7),
    0 18px 40px rgba(0, 150, 60, 0.4);
}

/* QRコード */
.line-qr {
  margin-top: 30px;
  width: 160px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  display: block;
  justify-content: center;
  text-align: center;
  margin: 20px auto;
}

/* スマホ */
@media (max-width: 768px) {
  .line-section {
    padding: 50px 20px;
  }

  .line-title {
    font-size: 2rem;
  }

  .line-text {
    font-size: 0.95rem;
  }

  .line-btn {
    width: 100%;
    text-align: center;
  }
}