.title {
  text-align: center;
  font-family: "Kaisei HarunoUmi", serif;
  font-weight: 500;
  font-size: 42px;
  margin-bottom: 80px;
  position: relative;
}
.title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  text-align: center;
  background-color: #E52C1E;
}

section{
  margin-top: 120px;
}

p{
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;

}
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.7); 
  backdrop-filter: blur(10px); 
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.3);
  z-index: 999;
}

.resonance_logo {
  width: 200px;
}

/* PCでは普通に横並び */
.global-nav {
  display: block;
}

.menu_list {
  display: flex;
  gap: 32px;
  list-style: none;
}

.hamburger-wrapper {
  display: none;
  cursor: pointer;
}

.hamburger-lines span {
  display: block;
  width: 28px;
  height: 2px;
  background: #333;
  margin: 6px 0;
  transition: 0.3s;
}



.site_back_btn{
  position: fixed;
  bottom: 30px;
  left: 30px;
  padding: 30px;
  text-align: center;
  border-radius: 50%;
  transition: 0.5s;
  z-index: 5;
}
.site_back_btn img{
  width: 130px;
}
.site_back_btn p{
  font-size: 14px;
}
.site_back_btn:hover{
  background-color: #e5fff8;
  scale: 1.1;
}


/* 全体 */

/* =========================
   全体
========================= */

.mv{
  min-height:100vh;
  display:flex;
  align-items:center;
  background-color: #000000;
  margin-top: 0;
}

.mv_inner{
  width:90%;
  margin:0 auto;
  display:flex;
  justify-content:center;
  gap: 100px;
  align-items:center;
  margin-top: 80px;
}

/* =========================
   左：テキスト
========================= */
.mv_logo{
  max-width:400px;
  height:auto;
  display:block;
}

/* ラッパー */
.mv_logo_wrap{
  position:relative;
  display:inline-block;
  margin-bottom:50px;
  padding:10px 0;
  z-index: 1;
}

/* 横に伸ばす白帯 */
.mv_logo_wrap::before{
  content:"";
  position:absolute;
  top:50%;
  transform:translate(-50%, -50%);
  
  width:100vw; 
  height:100px;
  z-index:-2;

  background: linear-gradient(
    to right,
    #fff 80%,                 /* ここまでは完全な白 */
    rgba(255,255,255,0) 100%  /* 右端で完全透明 */
  );
}
.mv_text{
  width:50%;
  padding-right:60px;
  color: #ffffff;
}

.mv_title{
  font-size:20px;
  font-weight: bold;
  line-height:30px;
}
.mv_title span{
  display: block;
  margin-top: 30px;
  line-height: 50px;
  font-size: 36px;
}

/* =========================
   右：2・1・2 ハニカム
========================= */

.mv_hex-area{
  position: relative;
  width:50%;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:40px;
  z-index: 3;
}

.mv_row{
  display:flex;
  gap:30px;
}

.mv_row_center{
  justify-content:center;
  margin-top:-60px;
  margin-bottom:-60px;
}

/* 六角形 */

.mv_hex{
  width:180px;
  filter:grayscale(100%) contrast(1.1);
  transition:transform .5s ease, filter .5s ease;
  cursor:pointer;
}

/* 中央だけ少し大きく */

.mv_hex_large{
  width:200px;
}

/* hover */

.mv_hex:hover{
  filter:grayscale(0%) drop-shadow(0 0 25px rgba(255, 255, 255, 0.4));
  transform:scale(1.06);
}


/*about*/
#about p{
  max-width: 1000px;
  margin: 20px auto;
  font-size: 20px;
  line-height: 26px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
}


/*timetable*/
.timetable-section {
  max-width: 1200px;
  margin: 140px auto;
  padding: 0 20px;
}
.tt_text{
  text-align: center;
  margin-bottom: 50px;
  font-size: 20px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;

}


/* --- PC横並び --- */

.days-wrapper {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: space-between;
  gap: 80px;
}


.day-title {
  font-family: "Kaisei HarunoUmi", serif;
  font-size: 36px;
  margin-bottom: 60px;
  text-align: center;
}
.day_time{
  font-size: 20px;
}
.fri{
  color: #7E7E7E;
}
.sat{
  color: #005BAC;
}

/* タイムライン */

.timeline {
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 28%;
  top: 0;
  width: 1px;
  height: 100%;
  background: #445752;
  transform: translateX(-50%);
}

.item {
  display: grid;
  grid-template-columns: 1fr 1fr 4fr;
  margin-bottom: 80px;
}

.time {
  font-family: "Kaisei HarunoUmi", serif;
  text-align: right;
  padding-right: 30px;
  font-size: 28px;
  margin-top: 30px;
}

.hex {
  width: 40px;
  height: 40px;
  margin: 0 auto;
  background: #445752;
  clip-path: polygon(
    25% 5%, 75% 5%,
    100% 50%, 75% 95%,
    25% 95%, 0% 50%
  );
  transform: rotate(90deg);
  margin-top: 30px;
}

.content {
  padding-left: 30px;
}

.presentation_title{
  font-size: 30px;
  font-weight: 400;
}
.presentation_student_name{
  display: flex;
  align-items: center;
  font-size: 20px;
  margin-top: 10px;
  margin-bottom: 30px;
  margin-left: 20px;
}
.presentation_student_img{
  width: 50px;
  height: auto;
  margin-right: 20px;
}

/* --- SP用 --- */

.tab-buttons {
  display: none;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.tab {
  background: none;
  border: 1px solid #445752;
  padding: 10px 20px;
  cursor: pointer;
  font-family: "Playfair Display", serif;
  letter-spacing: 0.1em;
}

.tab.active {
  background: #445752;
  color: #fff;
}


/*list*/

.list_wrap{
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  justify-content: center;
  align-items: center;
  gap: 50px;
}
.grade1{
  border: 1px solid #009845;
  border-radius: 5px;
  background-color: #edfcf4;
}
.grade2{
  border: 1px solid #005198;
  border-radius: 5px;
  background-color: #E5EEF5;
}
.thumbnail{
  padding: 20px;
  width: 100%;
  height: auto;
}
.movie_text{
  margin: 0 20px 20px;
}

.movie_title{
  font-size: 24px;
}
.movie_stu_name{
  font-size: 18px;
  text-align: right;
}

.filter {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
}

.filter-hex {
  position: relative;
  width: 140px;
  height: 50px;
  background: #eee;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  clip-path: polygon(
    20px 0%,
    calc(100% - 20px) 0%,
    100% 50%,
    calc(100% - 20px) 100%,
    20px 100%,
    0% 50%
  );
  text-align: center;
}

/* ホバー */
.filter-hex:hover {
  transform: translateY(-3px);
}

/* アクティブ状態 */
.filter-hex.active {
  background: #445752;
  color: white;
}


.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.modal-content {
  position: relative;
  width: 80%;
  max-width: 800px;
  aspect-ratio: 16/9;
}

.modal-content iframe {
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

#closeBtn {
  position: absolute;
  top: -40px;
  right: 0;
  font-size: 40px;
  color: white;
  cursor: pointer;
}

footer small{
  display: block;
  background-color: black;
  color: #ffffff;
  text-align: center;
  padding: 20px  20px;
  margin-top: 100px;
}


@media (max-width: 768px) {

  .site_back_btn{
    position: fixed;
    bottom: 10px;
    left: 10px;
    padding: 10px;
    background-color: #e5fff8;

  }
  .site_back_btn img{
    width: 70px;
  }
  .site_back_btn p{
    font-size: 14px;
    width: 90px;
  }
  /* PCメニュー隠す */
  .global-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: #fff;
    transition: 0.4s;
    padding-top: 100px;
  }

  #about p{
    max-width: none;
    margin: 0 20px;
  }

  .global-nav.active {
    right: 0;
  }

  .menu_list {
    flex-direction: column;
    gap: 24px;
    padding-left: 24px;
  }

  /* ハンバーガー表示 */
  .hamburger-wrapper {
    display: block;
    z-index: 100;
  }



  /*timetable*/
    .days-wrapper {
    display: block;
  }

  .tab-buttons {
    display: flex;
  }

  .day {
    display: none;
  }

  .day.active {
    display: block;
  }
  .item {
    margin-bottom: 40px;
    grid-template-columns: 1fr 1fr 3.35fr;
  }

  .time {
    font-family: "Kaisei HarunoUmi", serif;
    text-align: right;
    padding-right: 15px;
    font-size: 20px;
  }
  .content {
    padding-left: 15px;
  }

  .presentation_title{
    font-size: 20px;
  }
  .presentation_student_name{
    font-size: 18px;
    margin-top: 10px;
  }
  .presentation_student_img{
    width: 40px;
    height: auto;
    margin-right: 10px;
  }

  /*list*/

  .list_wrap{
    max-width: none;
    margin: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr ;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }
  .thumbnail{
    padding: 10px;
  }
  .movie_text{
    margin: 0 10px 10px;
  }

  .movie_title{
    font-size: 16px;
    font-weight: bold;
  }
  .movie_stu_name{
    font-size: 14px;
    text-align: right;
    margin: 0;
    margin-top: 10px;
  }

  .filter {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 0 20px 40px;
  }

  .mv{
    min-height:auto;
    padding:0 0 50px;
  }

  .mv_inner{
    flex-direction:column;
    gap:30px;
    margin-top:0;
  }

  .mv_text,
  .mv_hex-area{
    width:100%;
    padding-right:0;
    text-align:center;
  }
  .mv_text{
    margin-top: 30px;
  }
  .mv_title{
    font-size: 16px;
  }
  .mv_title span{
    font-size: 28px;
  }
  .mv_hex-area{
    gap: 10px;
  }
  .mv_hex{
    width:150px;
  }

  .mv_hex_large{
    width:200px;
  }
  .mv_row{
    gap: 10px;
  }
  .mv_row_center{
    margin-top:-40px;
    margin-bottom:-40px;
  }

  .mv_logo{
    display: none;
  }

  .mv_logo_wrap::before{
    display: none;
  }
}

.card {
  cursor: pointer;
  transition-duration: 0.1s;
}

.card:hover {
  scale: 1.03;
  transform: rotate(1deg);
  transition-duration: 0.2s;
}