/* ========================================================================= */
/* ===== 全体 ===== */
/* ========================================================================= */
body {
  background-color: #0b0b0b;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  margin: 0;
  line-height: 1.8;
}

/* ========================================================================= */
/* ===== ヘッダー ===== */
/* ========================================================================= */
.sticky-header {
  position: sticky;
  top: 0;
  background: #111;
  padding: 10px 0;
  border-bottom: 1px solid #c00;
  z-index: 1000;
}

.header-inner {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo a, h1 a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.3rem;
}

.nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 20px;
  transition: color 0.3s;
}

.nav a:hover {
  color: #ff4444;
}

/* ========================================================================= */
/* ===== 動画コンテナ (レスポンシブ対応) ===== */
/* ========================================================================= */
.video {
  /* 動画エリア全体の最大幅と中央寄せ */
  width: 90%;
  max-width: 800px; /* PCでの最大幅に合わせる */
  margin: 40px auto;
  text-align: center;
}

/* ---------------------------------- */
/* 共通設定 */
/* ---------------------------------- */
.video-container {
  /* PCとスマホでサイズを切り替えるため、ここではサイズ指定をメディアクエリに任せる */
  border-radius: 10px;
  overflow: hidden; /* 動画の角丸を適用するため */
}

.video-container iframe {
  /* iframeは常に親コンテナいっぱいに広がるように設定 */
  width: 100%;
  height: 100%;
  border: none;
}

/* ---------------------------------- */
/* PC向け設定: 画面幅が769px以上の場合に適用 */
/* ---------------------------------- */
@media screen and (min-width: 769px) {
  .video-container {
    /* PCでは横幅 800px、高さ 450px の固定サイズに設定 */
    width: 800px;
    height: 450px;
  }
}

/* ---------------------------------- */
/* スマホ向け設定: 画面幅が768px以下の場合に適用 */
/* ---------------------------------- */
@media screen and (max-width: 768px) {
  .video-container {
    /* 横幅いっぱいに広げ、16:9の縦横比を維持するレスポンシブ手法 */
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9の比率 (9/16 = 0.5625) */
    height: 0;
  }

  .video-container iframe {
    /* コンテナ内で絶対配置し、全体を覆う */
    position: absolute;
    top: 0;
    left: 0;
  }
}


/* ========================================================================= */
/* ===== コメントセクション ===== */
/* ========================================================================= */
.figure-comment {
  text-align: center;
  margin: 40px auto;
  width: 90%;
  max-width: 800px;
}

.title {
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: #ff5555;
}

.short-comment {
  color: #ccc;
}

/* ========================================================================= */
/* ===== ギャラリー ===== */
/* ========================================================================= */
#gallery {
  width: 90%;
  max-width: 800px;
  margin: 0 auto 60px;
}

.gallery-item {
  margin-bottom: 40px;
  text-align: center;
}

.gallery-item img {
  width: 80%;            /* ←画像をやや小さめに */
  max-width: 700px;      /* ←PCでは700pxを上限に */
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(255, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.02);
}

.comment {
  margin-top: 10px;
  font-size: 1rem;
  color: #ccc;
  line-height: 1.6;
  padding: 0 10px;
}

/* ========================================================================= */
/* ===== フッター ===== */
/* ========================================================================= */
.site-footer {
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  background-color: #111;
  border-top: 1px solid #c00;
}

.site-footer a {
  color: #ff5555;
  text-decoration: none;
}

/* ========================================================================= */
/* ===== スマホ対応 (個別調整) ===== */
/* ========================================================================= */
@media screen and (max-width: 640px) {
  .gallery-item img {
    width: 100%;
    max-width: none;
  }
  .comment {
    font-size: 0.95rem;
  }
}