/* === 基本リセット === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Saira Stencil One", sans-serif;
  font-weight: 400;
  font-style: normal;
}

/* === ナビ === */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 15px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0,0,0,0.6);
  z-index: 100;
  backdrop-filter: blur(8px);
}
nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 1px;
}
.nav-right a {
  margin-left: 15px;
}
.nav-right img {
  width: 28px;
  height: 28px;
  transition: transform .3s;
}
.nav-right img:hover {
  transform: scale(1.1);
}

/* === ヘッダー / ヒーロー === */
.masthead {
  position: relative;
  height: 100vh;
  overflow: hidden;
}
.text-top{
  position: absolute;
  top: 65%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color:#ffff;
  font-size:18px;
}
.video-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.video-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.4);
}
.logo {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  max-width: 300px;
  width: 100%;
  object-fit: cover;
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%,100% { transform: translate(-50%, -50%) translateY(0); }
  50% { transform: translate(-50%, -50%) translateY(-12px); }
}

/* === セクション共通 === */
section {
  padding: 100px 20px;
  text-align: center;
}
h2 {
  font-weight: 900;
  font-size: 2.8rem;
  color: #fff;
  margin-bottom: 60px;
  letter-spacing: 1px;
  font-family: "Iceberg", sans-serif;
}

/* === About / Timeline === */
.about-section {
  background: #111;
  color: #fff;
  background-image:linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url("../img/taiga_plofile01.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;

}
.timeline {
  max-width: 900px;
  margin: auto;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background: #e60033;
}
.timeline-item {
  position: relative;
  width: 50%;
  padding: 20px 40px;
  text-align: left;
  font-weight: 500;
  letter-spacing: 0.5px;
}
.timeline-item.left { left: 0; text-align: right; }
.timeline-item.right { left: 50%; }
.timeline-item::before {
  content: '';
  position: absolute;
  top: 20px;
  width: 16px;
  height: 16px;
  background: #e60033;
  z-index: 10;
}
.timeline-item.left::before { right: -8px; }
.timeline-item.right::before { left: -8px; }

/*= Plofile =*/
.profile-section {
  background:#111;
  background-size: cover;
  background-position: center;
  padding: 80px 20px;
}
.profile-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  background: #222;
  border-left: 4px solid #c40000;
  padding: 40px;
}
/* 写真エリア */
.profile-photo {
  flex: 0 0 220px;
}
.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 文字エリア */
.profile-content {
  flex: 1;
}
.profile-title {
  color: #c40000;
  font-size: 14px;
  letter-spacing: 0.25em;
  margin-bottom: 30px;
}
.profile-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.profile-list li {
  display: flex;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.profile-list li:last-child {
  border-bottom: none;
}
.label {
  width: 90px;
  color: #c40000;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-align:start;
}
.value {
  color: #e0e0e0;
  font-size: 15px;
  line-height: 1.6;
}

/* === Sponsors === */
.projects-section {
  background: #000;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}
.sponsor-card {
  flex: 0 0 120px;
  max-width: 120px;
  transition: transform .3s, filter .3s;
}
.sponsor-card img {
  width: 100%;
  display: block;
  filter: grayscale(80%);
}
.sponsor-card:hover img {
  filter: grayscale(0);
  transform: scale(1.05);
}

/* === Schedule === */
.schedule-section {
  background: #111;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.schedule-card {
  background: #222;
  padding: 2%;
  border-left: 4px solid #e60033;
  border-radius: 0; /* シャープ */
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: transform .3s;
  margin:15px 0px;
}
.schedule-card:hover {
  transform: translateY(-6px);
}
.schedule-box{
  max-width:980px;
  width:100%;
  margin: auto;
}

/* === Footer === */
footer {
  background: #000;
  color: #aaa;
  padding: 30px;
  text-align: center;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

/* === レスポンシブ === */
@media (max-width: 768px) {
  h2 { font-size: 2rem; }
  .logo { max-width: 180px; }
  .timeline-item { width: 100%; text-align: left !important; padding: 15px 20px; left: 0 !important; }
  .timeline::before { left: 20px; }
  .sponsor-card { flex: 0 0 90px; max-width: 90px; }
  .profile-inner {
    flex-direction: column;
    gap: 24px;
    padding: 24px;
  }

  .profile-photo {
    width: 100%;
  }

  .profile-photo img {
    aspect-ratio: 4 / 5;
  }

  .profile-title {
    margin-bottom: 20px;
  }

  .profile-list li {
    gap: 12px;
  }

  .label {
    width: 80px;
    font-size: 11px;
  }

  .value {
    font-size: 14px;
  }
  .timeline {
    padding-left: 20px;
  }

  .timeline::before {
    left: 10px;
    transform: none;
  }

  .timeline-item {
    width: 100%;
    padding: 20px 20px 20px 40px;
    left: 0 !important;
    text-align: left !important;
  }

  .timeline-item::before {
    left: 2px;
    right: auto;
    top:25px;
  }
  .timeline-item.right::before{
    left:0;
  }
  .timeline-item.left::before{
    right:0;
  }
}
