@charset "UTF-8";

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #ffffff;
  color: #1f2f3d;
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.7;
}

.site-header {
  text-align: center;
  padding: 24px 16px 18px;
  background: transparent;
}

.site-kicker {
  margin: 0 0 12px;
  color: #8a8a8a;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 300;
  letter-spacing: 0.06em;
  line-height: 1.45;
}

.site-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.site-title h1 {
  margin: 0;
  color: #0054a6;
  font-size: clamp(30px, 5vw, 58px);
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.2;
}

.title-chara {
  width: clamp(54px, 8vw, 88px);
  height: auto;
  flex-shrink: 0;
}

.main {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  position: relative;
  margin-top: 14px;
  padding-bottom: 90px;
}

.hero-img {
  display: block;
  width: 100%;
  height: auto;
  box-shadow: 0 10px 28px rgba(0, 84, 166, 0.14);
}

.info-box {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  width: min(780px, calc(100% - 70px));
  padding: 24px 30px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid #dbeffb;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(0, 84, 166, 0.14);
  text-align: center;
}

.info-box p {
  margin: 0 0 10px;
  color: #0054a6;
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 700;
}

.info-link {
  display: inline-block;
  color: #0068b7;
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 900;
  text-decoration: none;
  border-bottom: 2px solid #74cff7;
  padding-bottom: 2px;
}

.program-section {
  margin-top: 38px;
}

.section-title {
  width: min(980px, 100%);
  margin: 0 auto 18px;
  color: #0054a6;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 900;
}

/* 外側：薄い水色背景 */
.youtube-outer {
  width: min(1000px, 100%);
  margin: 0 auto 22px;
  padding: 16px;
  background-color: #eaf7ff;
  border-radius: 18px;
  box-shadow: 0 4px 14px rgba(0, 84, 166, 0.06);
}

/* 内側：白い動画カード */
.youtube-inner {
  width: min(940px, 100%);
  margin: 0 auto;
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 84, 166, 0.16);
}

.youtube-inner + .youtube-inner,
.archive-item {
  margin-top: 22px;
}

.date-bar {
  margin: 0;
  padding: 14px 20px;
  color: #ffffff;
  background: linear-gradient(90deg, #0068b7, #10a9d8);
  font-size: clamp(15px, 1.8vw, 18px);
  font-weight: 900;
}

.youtube-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #eef6fb;
}

.youtube-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.button-area {
  text-align: center;
  margin-top: 24px;
}

.round-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 230px;
  padding: 12px 26px;
  color: #0054a6;
  background: #ffffff;
  border: 2px solid #78cfff;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 900;
  text-decoration: none;
  transition: all 0.25s ease;
}

.round-btn::after {
  content: "›";
  margin-left: 12px;
  font-size: 24px;
}

.round-btn:hover,
.round-btn:focus {
  color: #ffffff;
  background: #0068b7;
  border-color: #0068b7;
}

.site-footer {
  margin-top: 70px;
}

.footer-wave {
  position: relative;
  height: 112px;
  overflow: hidden;
}

.footer-wave svg {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 100%;
}

.footer-wave path {
  fill: #eaf7ff;
}

.footer-chara {
  position: absolute;
  left: 50%;
  bottom: 30px;
  z-index: 2;
  width: 56px;
  transform: translateX(-50%);
}

.footer-bottom {
  padding: 14px 16px;
  color: #ffffff;
  background: #0054a6;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 768px) {
  .main {
    width: calc(100% - 24px);
  }

  .site-title {
    gap: 8px;
  }

  .hero {
    padding-bottom: 132px;
  }

  .info-box {
    bottom: 14px;
    width: calc(100% - 24px);
    padding: 18px 15px;
    border-radius: 14px;
  }

  .youtube-outer {
    padding: 10px;
    border-radius: 14px;
  }

  .youtube-inner {
    border-radius: 11px;
  }

  .footer-wave {
    height: 90px;
  }

  .footer-chara {
    width: 46px;
    bottom: 24px;
  }
}


/* ===== 追加：見出し左の動画アイコンSVG ===== */
.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.video-title-icon {
  display: inline-flex;
  width: 26px;
  height: 26px;
  color: #0068b7;
  flex-shrink: 0;
}

.video-title-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}


/* ===== 背景は空演出を見せるため白固定を解除 ===== */


/* ===== 追加：フッターの水色波をゆっくり動かす ===== */
.footer-wave svg {
  width: 110%;
  left: -5%;
  animation: footerWaveMove 12s ease-in-out infinite alternate;
}

@keyframes footerWaveMove {
  from {
    transform: translateX(-20px);
  }
  to {
    transform: translateX(20px);
  }
}


/* =========================================================
   最終修正版：太陽は自然なタイプ／雲は見える・大きい・ゆっくり
   元ページのレイアウトは変更しない
========================================================= */

html {
  min-height: 100%;
}

body {
  position: relative;
  min-height: 100%;
  background: linear-gradient(180deg, #5fcaff 0%, #bfeeff 54%, #ffffff 100%);
}

/* 背景レイヤー */
.sky-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    linear-gradient(180deg, #5bcaff 0%, #bfeeff 48%, #f4fcff 82%, #ffffff 100%);
}

/* 太陽：前の自然なPNGタイプ */
.sun-img {
  position: absolute;
  top: -88px;
  right: -96px;
  width: clamp(360px, 35vw, 540px);
  height: auto;
  opacity: 0.96;
}

/* 雲：アップ画像を使用。最初から画面内に表示 */
.cloud-img {
  position: absolute;
  height: auto;
  opacity: 0.55;
  filter: blur(0.1px);
  pointer-events: none;
  will-change: transform;
  animation-name: cloudSlowDrift, cloudFloat;
  animation-timing-function: linear, ease-in-out;
  animation-iteration-count: infinite, infinite;
}

/* 右上の大きめ雲：最初から見える */
.cloud1 {
  top: 170px;
  left: 52%;
  width: 860px;
  opacity: 0.48;
  animation-duration: 180s, 14s;
  animation-delay: -45s, -3s;
}

/* 左中段：大きく・薄め */
.cloud2 {
  top: 340px;
  left: -8%;
  width: 1120px;
  opacity: 0.38;
  animation-duration: 240s, 18s;
  animation-delay: -110s, -6s;
}

/* 中央上：ヒーロー後ろに少し見える */
.cloud3 {
  top: 145px;
  left: 20%;
  width: 1140px;
  opacity: 0.34;
  animation-duration: 210s, 16s;
  animation-delay: -80s, -2s;
}

/* 下方向：余白に薄く */
.cloud4 {
  top: 430px;
  left: -30%;
  width: 1500px;
  opacity: 0.30;
  animation-duration: 260s, 20s;
  animation-delay: -160s, -7s;
}

/* 画面内に残りながら、ゆっくり横へ流れる */
@keyframes cloudSlowDrift {
  0% {
    transform: translateX(-18vw);
  }
  50% {
    transform: translateX(16vw);
  }
  100% {
    transform: translateX(-18vw);
  }
}

@keyframes cloudFloat {
  0%, 100% {
    margin-top: 0;
  }
  50% {
    margin-top: 12px;
  }
}

/* コンテンツは背景より上 */
.site-header,
.main,
.site-footer {
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .sun-img {
    top: -58px;
    right: -100px;
    width: 330px;
  }

  .cloud1 {
    top: 86px;
    left: 48%;
    width: 280px;
    opacity: 0.44;
  }

  .cloud2 {
    top: 215px;
    left: -18%;
    width: 1140px;
    opacity: 0.34;
  }

  .cloud3 {
    top: 330px;
    left: 36%;
    width: 260px;
    opacity: 0.28;
  }

  .cloud4 {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cloud-img {
    animation: none;
  }
}


/* ===== 太陽④タイプ ===== */
.sun-img{
  top:-95px !important;
  right:-105px !important;
  width:620px !important;
  opacity:0.98 !important;
}


/* ===== カスタム太陽（ゆっくり回転） ===== */
.sun-img{
  top:35px !important;
  right:35px !important;
  width:260px !important;
  opacity:0.95 !important;
  animation:sunRotate 90s linear infinite;
  transform-origin:center center;
}

@keyframes sunRotate{
  from{
    transform:rotate(0deg);
  }
  to{
    transform:rotate(360deg);
  }
}
