/* ========= 共通 ========= */
body {
  margin: 0;
    padding: 0;
  font-family: "Noto Sans JP", sans-serif;
  color: #333;
    background: #FFFBF4;
}

.gallery-page {
  width: 100%;
}

.gallery-logo{
    background: #e50012;
}

.gallery-logo p{
    text-align: center;
    margin: 0 auto;
    padding: 0;
}

.gallery-logo p img{
    width:100px;
}

/* ========= GALLERY ヒーロー ========= */
.gallery-hero {
  text-align: center;
  padding: 110px 20px 10px;
  background: url("images/gallerybk_pc.png") top center no-repeat;
  background-size: 60%;
}

.gallery-hero iframe{
  position: absolute;
  top: -300px;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  border-radius:20px;
  box-shadow: 10px 10px #e50012;
}

.gallery-h1{
    position: absolute;
    top:75px;
    left:50px;
    text-align: left;
    line-height: 1.75rem;
    color:#f1cccc;
}

.gallery-h1 p{
    font-size: 1.5rem;
    font-weight: bold;
}

.gallery-title {
  font-size: 5rem;
  color: #f1cccc;
  margin: 0;
}

.gallery-sub {
  font-size: 14px;
  margin-bottom: 40px;
}

.gallery-hero-image {
  max-width: 960px;
  margin: 10px auto 0 auto;
}

.gallery-hero-image img {
  width: 100%;
  border-radius: 8px;
}

/* ========= スケジュール ========= */
.schedule {
  background: #e50012;
  color: #fff;
  padding: 60px 20px 1px 20px;
  text-align: center;
}

.schedule ul{
    padding: 0;
}

.schedule li{
    list-style: none;
}

.section-title {
  font-size: 2.3rem;
  margin-bottom: 30px;
}

.gallery-sp {
    display: none;
}

@media screen and (max-width:768px) {
    .sp_no{
        display: none;
    }
    .gallery-logo p img{
        width:70px;
    }
    .gallery-title{
        color: #e50012;
    }
    .gallery-sub{
        color: #e50012;
    }
    .gallery-hero{
        background-size: cover;
    }
    .schedule {
        padding: 20px 20px 1px 20px;
    }
    .schedule ul{
        margin:0;
        border-bottom: solid 1px #ffffff;
        padding-bottom: 40px;
    }

    .schedule li{
        font-size: 0.8rem;
        text-align: left;
    }
    .gallery-hero{
        padding: 80px 0 0 0;
    } 
    .gallery-h1 {
        line-height:0.9rem;
        position: absolute;
        top: 55px;
        left: 5px;
    }
    .gallery-title{
        font-size: 3rem;
    }
    .gallery-hero-image{
        width:100% !important;
        margin-bottom: 20px;
    }

.gallery-hero iframe{
        width: 90%;
        height: auto;
        aspect-ratio: 16 / 9;
        position: static;
        box-shadow: 5px 5px #e50012;
} 
    
    .gallery-pc {
        display: none;
    }

    .gallery-sp {
        display: block;
        width:90%;
        margin: auto;
    }
    .gallery-sp img{
        width:100%;
    }
    .section-title{
        font-size: 1.5rem;
    }
    .year-block p{
        font-size: 0.8rem;
        text-align: left;
    }
    .entry-btn{
        width:80% !important;
    }
}

.schedule-table {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
  max-width: 900px;
  margin: 0 auto;
}

.schedule-day {
  background: #fff;
  color: #e50012;
  padding: 20px 0;
  font-weight: bold;
  border-radius: 4px;
}

/* ========= 年別ブロック ========= */
.year-block {
  padding: 40px 20px 80px 20px;
  text-align: center;
}

.year-2025 {
  background: #e50012;
  color: #fff;
}

.year-2024 {
  background: #e85c5c;
  color: #fff;
}

.year-title {
  font-size: 2.3rem;
  margin: 0 auto 40px auto;
}

.media-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.media-item {
  background: #ddd;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  font-weight: bold;
}

/* =========================
   動画エリア全体
========================= */
.media-grid {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.action__video {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

/* =========================
   動画カード
========================= */
.action__video__item {
  
}

/* =========================
   見出し
========================= */
.action__video__item-header {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.action__video__item-header-bar {
  width: 6px;
  height: 48px;
  background: #ffffff;
  margin-right: 12px;
}

.action__video__item-header-title {
  margin: 0;
  line-height: 1.4;
    color: #ffffff;
    text-align: left;
}

.action__video__item-header-title small {
  display: block;
  font-size: 12px;
  color: #ffffff;
}

.action__video__item-header-title span {
  display: block;
  font-size: 18px;
  font-weight: bold;
  color: #ffffff;
}

/* =========================
   iframe（レスポンシブ対応）
========================= */
.action__video__item iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: none;
  border-radius: 4px;
}

/* =========================
   レスポンシブ
========================= */
@media (max-width: 768px) {
  .action__video {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .action__video__item-header-bar {
    height: 40px;
  }

  .action__video__item-header-title span {
    font-size: 16px;
  }

}


/* ========= 参加者の感想 ========= */
.voices {
  padding: 80px 20px;
  text-align: center;
}

  .banner-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width:1240px;
    margin: auto;
    padding: 30px 0 0 0;
  }

  .banner {
    display: inline-block;
    cursor: pointer;
    transition: transform 0.3s ease;
  }

  .banner img {
    max-width: 280px;
    border-radius: 12px;
    /*box-shadow: 0 4px 12px rgba(0,0,0,0.15);*/
  }

  .banner:hover {
    transform: scale(1.03);
  }

  /* ---------------------------
     モーダル
  --------------------------- */
  .modal {
    display: none;
    position: fixed;
    z-index: 1000;
    inset: 0;
    background: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
  }

  .modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
  }

  @keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
  }

  .modal-content {
    background: #fff;
    border-radius: 10px;
    max-width: 420px;
    width: 90%;
    max-height: 90%;
    position: relative;
    overflow: hidden; /* スクロール部分を限定 */
    display: flex;
    flex-direction: column;
  }

  /* 縦長画像をスクロール可能にする */
  .modal-scroll {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex: 1;
  }

  .modal-scroll img {
    width: 100%;
    height: auto;
    display: block;
  }

  .close-btn {
    position: absolute;
    right: 12px;
    top: 8px;
    font-size: 28px;
    cursor: pointer;
    color: #fff;
    background: rgba(0,0,0,0.5);
    border-radius: 4px;
    padding: 4px 10px;
    line-height: 1;
    z-index: 10;
  }

  .close-btn:hover {
    background: rgba(0,0,0,0.8);
  }

/*Q&A*/
.section-header__title{
    text-align: center;
    font-size: 2.3rem;
}

  .qa_con {
    font-family: "Noto Sans JP", sans-serif;
    margin: 0;
  }

  .slider {
    position: relative;
    overflow: hidden;
    max-width: 800px;
    margin: 50px auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding-bottom:40px;
  }

  .slides {
    display: flex;
    transition: transform 0.5s ease;
  }

  .slide {
    min-width: 100%;
    padding: 30px;
    box-sizing: border-box;
  }

 .slides h2 {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
  }

  .answer {
    margin-bottom: 20px;
    background: #fafafa;
    padding: 15px;
    border-radius: 8px;
    line-height: 1.7;
    position: relative;
  }

  .answer .text {
    overflow: hidden;
    max-height: 3.5em; /* 約3行分を表示 */
    transition: max-height 0.3s ease;
  }

  .answer.expanded .text {
    max-height: 1000px; /* 全文表示 */
  }

  .more-btn {
    display: inline-block;
    margin-top: 8px;
    color: #1E90FF;
    cursor: pointer;
    font-size: 14px;
  }

  .controls {
    text-align: center;
    margin: 15px 0;
  }

  .controls button {
    background: #1E90FF;
    color: #fff;
    border: none;
    margin: 0 10px;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
  }

  .controls button:hover {
    background: #005ea2;
  }

.entry-btn{
    width:40%;
    margin: 0 auto;
}

.entry-btn img{
    width:100%;
}

.center{
    text-align: center;
}

.red{
    color:#e50012;
}

.footerContents{
    border-top:solid 1px #e50012;
    margin-top: 50px;
}

.footerContents .site__topLogo img{
    width:100%;
}

.logos__list img{
    width:100%;
}

.footerContents li{
    list-style: none;
}

/* ========= 動画ページ ========= */
/* 背景画像 */
.bg {
  position: fixed;
  inset: 0;
  background: url("assets2026/img/moviebg.jpg") center / cover no-repeat;
  z-index: -1;
}

/* コンテンツ全体 */
.content {
  display: flex;
  flex-direction: column; /* ← 常に縦 */
  justify-content: center;
  align-items: center;
  gap: 50px;
  padding: 40px;
}

/* 吹き出し共通 */
.speech-bubble {
  position: relative;
  background: #fff;
  border-radius: 24px;
  padding: 16px;
  width: 600px;
  max-width: 90vw;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}


/* 吹き出しのしっぽ */
.speech-bubble::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border: 18px solid transparent;
}

@media(min-width:751px){
.content {
  min-height: 100vh;
}
/* 左側吹き出し */
.speech-bubble.left::after {
  right: 85%;
  bottom: -14%;
  transform: translateY(-50%);
  border-top-color: #fff;
}

/* 右側吹き出し */
.speech-bubble.right::after {
  left: 85%;
  bottom: -14%;
  transform: translateY(-50%);
  border-top-color: #fff;
}

}
    
/* 動画比率固定 */
.video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  border-radius: 16px;
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ========= レスポンシブ ========= */
@media (max-width: 768px) {
  .schedule-table {
    grid-template-columns: repeat(4, 1fr);
  }

  .media-grid {
    grid-template-columns: 1fr;
  }

  .voice-list {
    grid-template-columns: repeat(2, 1fr);
  }
    
　/* ========= 動画ページ ========= */
  .content {
    flex-direction: column;
    min-height: 60vh !important;
    gap: 40px;
  }
    
  .speech-bubble.left::after,
  .speech-bubble.right::after {
    top: 100%;
    bottom:-21% !important;
    left: 50%;
    transform: translateX(-50%);
    border: 18px solid transparent;
    border-top-color: #fff;
  }
    
/* 左側吹き出し */
.speech-bubble.left::after {
  top:105%;
  left:13%;
  transform: translateY(-50%);
  border-top-color: #fff;
}

/* 右側吹き出し */
.speech-bubble.right::after {
  top:105%;
  left:78%;
  transform: translateY(-50%);
  border-top-color: #fff;
} 
    
    

    
}
