@font-face {
  font-family: 'ChakraPetch-Light';
  src: url('public/ChakraPetch-Light.ttf') format('truetype');
}

html {
  font-size: calc(100vw * 16 / 1440);
  overflow-x: hidden;
}

@media screen and (max-width: 1440px) {
  html {
    font-size: 16px;
  }
}

@media screen and (max-width: 768px) {
  html {
    font-size: 14px;
  }
}

@media screen and (max-width: 480px) {
  html {
    font-size: 12px;
  }
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100vh;
  overflow-y: auto;
  background: black;
}

/* Navigation */
.logo {
  position: fixed;
  width: 30%;
  height: 10%;
  top: 5%;
  left: 5%;
  z-index: 3;
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: left;
}
.logo img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media screen and (max-width: 600px) {
  .logo {
    width: 50%;
    top: 2%;
    height: 12%;
  }
  .logo img {
    transform: scale(1.08);
  }
}

.navigation {
  position: fixed;
  width: 8%;
  height: 100%;
  top: 2%;
  right: 0%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
}
.navigation a {
  position: relative;
  margin: 30%;
  width: auto;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: 'ChakraPetch-Light', sans-serif;
  font-size: 1rem;
  color: white;
}
@media screen and (max-width: 600px) {
  .navigation {
    width: 90%;
    height: 6%;
    top: auto;
    bottom: 2%;
    left: 5%;
    right: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
  }
  .navigation a {
    /* font-size: 3rem; */
    margin: 2%;
  }
}
.navigation a::after {
  position: absolute;
  content: '';
  width: 0%;
  height: 0.03rem;
  left: 0;
  bottom: -0.03rem;
  background: white;
  transition: 0.8s;
}
.navigation a:hover::after {
  width: 100%;
}

/* Animation Section */
.animation-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* CGStage */
.cgstage {
  position: absolute;
  top: 0;
  left: 0;
  /* width: 100%;
  height: 100%; */
  z-index: 0;
}

.festival-info {
  position: absolute;
  bottom: 5%;
  left: 5%;
  z-index: 10;
  color: white;
  font-family: 'ChakraPetch-Light', sans-serif;
  /* background: rgba(0, 0, 0, 0.7); */
  padding: 2rem;
  border-radius: 1rem;
  /* backdrop-filter: blur(10px); */
  /* border: 1px solid rgba(255, 255, 255, 0.2); */
  max-width: 400px;
  opacity: 1;
  animation: fadeInUp 1s ease-out 0.5s both;
  font-family: 'ChakraPetch-Light', sans-serif;
  font-weight: lighter;
}

.festival-year {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #00d4ff;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.festival-title {
  font-size: 2.1rem;
  font-weight: lighter;
  margin-bottom: 1.5rem;
  color: white;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
  font-family: 'ChakraPetch-Light', sans-serif;
}

.festival-dates {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.date-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* background: rgba(255, 255, 255, 0.1); */
  padding: 0.8rem 1.2rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.date {
  font-size: 1.8rem;
  /* font-weight: bold; */
  color: white;
}

.day {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 0.2rem;
}

.festival-time {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.time-start,
.time-end {
  /* font-weight: bold; */
  color: #6b5ca8;
  font-size: 1.5rem;
}

.time-period {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.time-separator {
  color: white;
  font-size: 1.5rem;
  margin: 0 0.5rem;
}

.festival-location {
  font-size: 1.3rem;
  line-height: 1.4;
  font-family: 'ChakraPetch-Light', sans-serif;
  font-weight: lighter;
}

/* .location-label {
  color: rgba(255, 255, 255, 0.8);
}

.location-venues {
  color: white;
  font-weight: 500;
} */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media screen and (max-width: 768px) {
}
/* Scene1 */
h1.loadingProgress {
  margin: 0%;
  padding: 0%;
  position: fixed;
  width: auto;
  height: auto;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  font-family: 'ChakraPetch-Light', sans-serif;
  font-size: 2rem;
  font-weight: lighter;
  color: white;
  opacity: 1;
  z-index: 3;
}
.scene1-1,
.scene1-2,
.scene1-3,
.scene1-4 {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
h1.scene1-1,
h1.scene1-2,
h1.scene1-3,
h1.scene1-4 {
  margin: 0%;
  padding: 0%;
  position: fixed;
  width: auto;
  height: auto;
  top: 75%;
  left: 5%;
  transform: translateY(-50%);
  font-family: 'ChakraPetch-Light', sans-serif;
  font-size: 2rem;
  font-weight: lighter;
  color: white;
  z-index: 3;
}
p.scene1-1,
p.scene1-2,
p.scene1-3,
p.scene1-4 {
  margin: 0%;
  padding: 0%;
  position: fixed;
  width: 30%;
  height: auto;
  top: 85%;
  left: 5%;
  transform: translateY(-50%);
  font-family: 'ChakraPetch-Light', sans-serif;
  font-size: 0.8rem;
  font-weight: lighter;
  line-height: 2;
  color: white;
  z-index: 3;
}
@media screen and (max-width: 600px) {
  h1.scene1-1,
  h1.scene1-2,
  h1.scene1-3,
  h1.scene1-4 {
    top: 75%;
    font-size: 4rem;
  }
  p.scene1-1,
  p.scene1-2,
  p.scene1-3,
  p.scene1-4 {
    width: 80%;
    top: 82%;
    font-size: 2rem;
  }
}
/* Scene2 */
.scene2 {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
h1.scene2 {
  margin: 0%;
  padding: 0%;
  position: fixed;
  width: auto;
  height: auto;
  top: 75%;
  left: 5%;
  transform: translateY(-50%);
  font-family: 'ChakraPetch-Light', sans-serif;
  font-size: 2rem;
  font-weight: lighter;
  color: white;
  z-index: 3;
}
p.scene2 {
  margin: 0%;
  padding: 0%;
  position: fixed;
  width: 30%;
  height: auto;
  top: 85%;
  left: 5%;
  transform: translateY(-50%);
  font-family: 'ChakraPetch-Light', sans-serif;
  font-size: 0.8rem;
  font-weight: lighter;
  line-height: 2;
  color: white;
  z-index: 3;
}
.scene2 a {
  /* text-decoration: none; */
  color: white;
}
@media screen and (max-width: 600px) {
  h1.scene2 {
    top: 75%;
    font-size: 4rem;
  }
  p.scene2 {
    width: 80%;
    top: 82%;
    font-size: 2rem;
  }
}
/* Scene3 */
h1.scene3-1,
h1.scene3-2,
h1.scene3-3 {
  margin: 0%;
  padding: 0%;
  position: fixed;
  width: 30%;
  height: auto;
  top: 60%;
  /* left: 10%; */
  transform: translateY(-50%);
  font-family: 'ChakraPetch-Light', sans-serif;
  font-size: 2rem;
  font-weight: lighter;
  color: white;
  z-index: 3;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
p.scene3-1,
p.scene3-2,
p.scene3-3 {
  margin: 0%;
  padding: 0%;
  position: fixed;
  width: 30%;
  height: auto;
  top: 68%;
  /* left: 10%; */
  transform: translateY(-50%);
  font-family: 'ChakraPetch-Light', sans-serif;
  font-size: 0.8rem;
  font-weight: lighter;
  line-height: 2;
  color: white;
  z-index: 3;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
h1.scene3-1 {
  left: 10%;
}
h1.scene3-2 {
  right: 10%;
}
h1.scene3-3 {
  left: 10%;
}
p.scene3-1 {
  left: 10%;
}
p.scene3-2 {
  right: 10%;
}
p.scene3-3 {
  left: 10%;
}
@media screen and (max-width: 600px) {
  h1.scene3-1,
  h1.scene3-2,
  h1.scene3-3 {
    width: 40%;
    font-size: 4rem;
  }
  p.scene3-1,
  p.scene3-2,
  p.scene3-3 {
    width: 40%;
    font-size: 2rem;
  }
}
/* Scene4 */
h1.scene4-1,
h1.scene4-2,
h1.scene4-3,
h1.scene4-4 {
  margin: 0;
  padding: 0;
  position: fixed;
  width: 30%;
  height: 100%;
  top: 0%;
  left: 0%;
  font-family: sans-serif;
  font-size: 12rem;
  color: white;
  writing-mode: vertical-rl;
  display: flex;
  justify-content: center;
  text-align: center;
  align-items: center;
  line-height: 0.8;
  opacity: 0;
  transition: width 2s ease-in-out, opacity 2s ease-in-out;
  z-index: 2;
}
p.scene4-1,
p.scene4-2,
p.scene4-3,
p.scene4-4 {
  margin: 0;
  padding: 0;
  position: fixed;
  width: 0%;
  height: 100%;
  top: 0%;
  right: 0%;
  font-family: sans-serif;
  font-size: 6rem;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  opacity: 0;
  transition: width 2s ease-in-out, opacity 2s ease-in-out;
  z-index: 2;
}
p.scroll {
  margin: 0;
  padding: 0;
  position: fixed;
  width: 100%;
  height: 20%;
  bottom: 0%;
  left: 0%;
  font-family: 'ChakraPetch-Light', sans-serif;
  font-size: 1rem;
  color: white;
  line-height: 2;
  opacity: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 2s ease-in-out;
  z-index: 3;
}
img.ticker {
  margin: 0;
  padding: 0;
  position: fixed;
  width: 10%;
  height: 100%;
  top: 0%;
  left: 0%;
  z-index: 3;
  object-fit: contain;
  opacity: 0;
  transition: opacity 2s ease-in-out;
}
h1.locIcon {
  margin: 0;
  padding: 0;
  position: fixed;
  top: 0%;
  left: 8%;
  transform: translateY(-50%) translateX(-50%);
  width: auto;
  height: auto;
  z-index: 3;
  font-family: 'ChakraPetch-Light', sans-serif;
  font-size: 1.5rem;
  color: white;
  opacity: 0;
  transition: top 2s linear, opacity 2s linear;
  display: flex;
  align-items: center;
}
@media screen and (max-width: 600px) {
  p.scroll {
    height: 30%;
    font-size: 4rem;
  }
  img.ticker {
    top: auto;
    bottom: 2%;
    width: 100%;
    height: 10%;
  }
  h1.locIcon {
    top: auto;
    bottom: 10%;
    font-size: 2.5rem;
    transition: left 2s linear, opacity 2s linear;
  }
}
/* Scene5 */
h1.loadingProgress {
  margin: 0%;
  padding: 0%;
  position: fixed;
  width: auto;
  height: auto;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  font-family: 'ChakraPetch-Light', sans-serif;
  font-size: 2rem;
  font-weight: lighter;
  color: white;
  opacity: 1;
  z-index: 3;
}
.scene5 {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
h1.scene5 {
  margin: 0%;
  padding: 0%;
  position: fixed;
  width: auto;
  height: auto;
  top: 75%;
  left: 5%;
  transform: translateY(-50%);
  font-family: 'ChakraPetch-Light', sans-serif;
  font-size: 2rem;
  font-weight: lighter;
  color: white;
  z-index: 3;
}
p.scene5 {
  margin: 0%;
  padding: 0%;
  position: fixed;
  width: 30%;
  height: auto;
  top: 85%;
  left: 5%;
  transform: translateY(-50%);
  font-family: 'ChakraPetch-Light', sans-serif;
  font-size: 0.8rem;
  font-weight: lighter;
  line-height: 2;
  color: white;
  z-index: 3;
}
@media screen and (max-width: 600px) {
  h1.scene5 {
    top: 75%;
    font-size: 4rem;
  }
  p.scene5 {
    width: 80%;
    top: 82%;
    font-size: 2rem;
  }
}

/* Initialize */
body.scene1-1-loaded .scene1-1,
body.scene1-2-loaded .scene1-2,
body.scene1-3-loaded .scene1-3,
body.scene1-4-loaded .scene1-4,
body.scene2-loaded .scene2,
body.scene5-loaded .scene5 {
  opacity: 1;
}
/* ThreeJS Canvas */
canvas {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100vh !important;
  z-index: 0 !important;
  display: block !important;
  object-fit: cover;
}

/* Footer */
.footer {
  position: relative;
  width: 100%;
  height: 5%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: black;
}
.footer p {
  /* margin: 5%; */
  font-family: 'ChakraPetch-Light', sans-serif;
  font-size: 0.8rem;
  color: gray;
  line-height: 1.5;
}
@media screen and (max-width: 600px) {
  .footer p {
    opacity: 0;
  }
}

/* News Section */
.news-section {
  position: relative;
  width: 100%;
  min-height: 60vh;
  padding: 1.5rem 0 3rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-container {
  width: 100%;
  max-width: 1200px;
  padding: 0 2rem;
}

.news-header {
  text-align: center;
  margin-bottom: 4rem;
}

.news-title {
  font-family: 'ChakraPetch-Light', sans-serif;
  font-size: 3.5rem;
  color: white;
  font-weight: lighter;
  margin: 0 0 1.5rem 0;
  position: relative;
  display: inline-block;
}

.news-divider {
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  margin: 0 auto;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.news-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.news-item:hover {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
}

.news-date {
  font-family: 'ChakraPetch-Light', sans-serif;
  font-size: 0.8rem;
  color: #6b5ca8;
  font-weight: lighter;
  text-align: left;
}

.news-content {
  flex: 1;
}

.news-item-title {
  font-family: 'ChakraPetch-Light', sans-serif;
  font-size: 1.1rem;
  color: white;
  font-weight: lighter;
  margin: 0;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.news-item:hover .news-item-title {
  color: #6b5ca8;
}

.news-action {
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-button {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 25px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-width: 120px;
  justify-content: center;
}

.news-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.news-button:hover::before {
  left: 100%;
}

.news-button:hover {
  transform: translateY(-1px);
  transform: translateX(5px);
  box-shadow: 0 8px 20px rgba(0, 212, 255, 0.3);
  border-color: #6b5ca8;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(0, 212, 255, 0.1));
}

.button-text {
  font-family: 'ChakraPetch-Light', sans-serif;
  font-size: 0.9rem;
  color: white;
  font-weight: lighter;
  transition: color 0.3s ease;
}

.news-button:hover .button-text {
  color: #6b5ca8;
}

.button-arrow {
  font-family: 'ChakraPetch-Light', sans-serif;
  font-size: 1rem;
  color: white;
  transition: all 0.3s ease;
  font-weight: lighter;
}

.news-button:hover .button-arrow {
  transform: translateX(3px);
  color: white;
}

@media screen and (max-width: 768px) {
  .news-section {
    padding: 1rem 0 2rem 0;
  }

  .news-container {
    padding: 0 1rem;
  }

  .news-title {
    font-size: 2.5rem;
  }

  .news-item {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    padding: 1rem 0;
    text-align: center;
  }

  .news-date {
    font-size: 0.75rem;
    text-align: center;
  }

  .news-item-title {
    font-size: 1rem;
  }

  .news-button {
    padding: 0.5rem 1rem;
    min-width: 100px;
  }

  .button-text {
    font-size: 0.8rem;
  }
}

@media screen and (max-width: 480px) {
  .news-title {
    font-size: 2rem;
  }

  .news-item {
    padding: 1rem 0;
  }

  .news-item-title {
    font-size: 1rem;
  }

  .news-date {
    font-size: 0.75rem;
  }
}

/* ===== Theme Section ===== */
.theme-section {
  position: relative;
  width: 100%;
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding-top: 4rem;
  overflow: hidden;
  background: black;
}

.theme-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1200px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.theme-main {
  margin: 0;
  font-family: 'ChakraPetch-Light', sans-serif;
  font-size: clamp(2.8rem, 12vw, 9.5rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  background: linear-gradient(90deg, #00d4ff 0%, #6b5ca8 50%, #c883ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 8px 30px rgba(107, 92, 168, 0.12);
  opacity: 0;
  transform: translateY(30px) scale(0.98);
  transition: opacity 800ms cubic-bezier(0.22, 0.9, 0.36, 1), transform 800ms cubic-bezier(0.22, 0.9, 0.36, 1);
  text-wrap: balance;
}

.theme-sub {
  margin: 0;
  font-family: 'ChakraPetch-Light', sans-serif;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(0.9rem, 2.2vw, 1.25rem);
  max-width: 900px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.theme-button {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 25px;
  text-decoration: none;
  color: white;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-width: 120px;
  justify-content: center;
  margin: 2rem auto;
}

.theme-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.theme-button:hover::before {
  left: 100%;
}

.theme-button:hover {
  transform: translateY(-1px);
  transform: translateX(5px);
  box-shadow: 0 8px 20px rgba(0, 212, 255, 0.3);
  border-color: #6b5ca8;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(0, 212, 255, 0.1));
}

.theme-button:active {
  color: white;
  transform: translateY(1px);
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.15);
}

.theme-button-text {
  font-family: 'ChakraPetch-Light', sans-serif;
  font-size: 0.9rem;
  color: white;
  font-weight: lighter;
  transition: color 0.3s ease;
}

.theme-button:hover .theme-button-text {
  color: #6b5ca8;
}

.theme-button-arrow {
  font-family: 'ChakraPetch-Light', sans-serif;
  font-size: 1rem;
  color: white;
  transition: all 0.3s ease;
  font-weight: lighter;
}

.theme-button:hover .theme-button-arrow {
  transform: translateX(3px);
  color: white;
}

.theme-section.in-view .theme-main {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.theme-section.in-view .theme-sub {
  opacity: 1;
  transform: translateY(0);
}

@media screen and (max-width: 1024px) {
  .theme-label {
    right: 2rem;
    top: 2rem;
    color: rgba(255, 255, 255, 0.05);
  }
  .theme-cta {
    right: 1.5rem;
    bottom: 1.5rem;
    padding: 0.55rem 1rem;
  }
}

@media screen and (max-width: 768px) {
  .theme-section {
    min-height: 45vh;
    /* padding-top: 2rem; */
  }
  .theme-label {
    font-size: clamp(1.6rem, 8.5vw, 4.5rem);
    right: 1rem;
    top: 1rem;
  }
  .theme-main {
    font-size: clamp(2.4rem, 12vw, 5.5rem);
  }
  .theme-sub {
    font-size: clamp(0.95rem, 2.6vw, 1.1rem);
    padding: 0 1rem;
  }
  .theme-cta {
    left: 50%;
    transform: translateX(-50%);
    right: auto;
    bottom: 1rem;
    min-width: 70%;
    justify-content: center;
  }
}

@media screen and (max-width: 420px) {
  .theme-main {
    font-size: clamp(2rem, 14vw, 4rem);
  }
  .theme-label {
    display: none;
  }
}

/* コンテンツセクション */
.contents-section {
  padding: 80px 5%;
  overflow: hidden;
}

.contents-header {
  text-align: center;
  margin-bottom: 60px;
}

.contents-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: white;
  margin-bottom: 10px;
  font-family: 'Yu Mincho', 'Hiragino Mincho ProN', serif;
}

.contents-divider {
  width: 80px;
  height: 3px;
  background-color: #005f4b;
  margin: 0 auto;
}

.scroller {
  width: 100%;
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, white 15%, white 85%, transparent);
  mask: linear-gradient(90deg, transparent, white 15%, white 85%, transparent);
}

.scroller-inner {
  display: flex;
  width: max-content;
  gap: 2rem;
  padding-block: 1rem;
  animation: scroll 40s linear infinite;
}

.scroller:hover .scroller-inner {
  animation-play-state: paused;
}

@keyframes scroll {
  to {
    transform: translateX(calc(-50% - 1rem));
  }
}

.content-card {
  width: 400px;
  flex-shrink: 0;
  background-color: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  height: 30vh;
}

.content-card:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 35px rgba(107, 92, 168, 0.25);
}

.content-card a {
  text-decoration: none;
  color: #e0e0e0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.content-card img {
  width: 100%;
  flex: 1; /* 画像が利用可能なスペースを埋めるようにする */
  min-height: 0; /* flexアイテムのオーバーフローを防ぐため */
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
}

.content-card:hover img {
  opacity: 0.8;
}

.card-title {
  padding: 20px 15px;
  font-size: 1.2rem;
  font-weight: bold;
  flex-shrink: 0;
}

.scroll-indicator-wrapper {
  width: 80%;
  max-width: 600px;
  margin: 50px auto 0;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.scroll-indicator {
  width: 20%;
  height: 100%;
  background: linear-gradient(90deg, #00d4ff, #6b5ca8, #c883ff);
  border-radius: 2px;
  animation: scroll-indicator-anim 60s linear infinite;
}

@keyframes scroll-indicator-anim {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(500%);
  }
}

@media (max-width: 768px) {
  .contents-section {
    padding: 60px 5%;
  }
  .contents-title {
    font-size: 2rem;
  }
  .card-title {
    font-size: 1.1rem;
  }
  .scroller-inner {
    animation-duration: 45s;
    gap: 1.5rem;
  }
  @keyframes scroll {
    to {
      transform: translateX(calc(-50% - 0.75rem));
    }
  }
  .content-card {
    width: 320px;
  }
  .card-title {
    font-size: 1.1rem;
  }
  .scroll-indicator {
    animation-duration: 45s;
  }
}

/* ===== Sponsors Section ===== */
.sponsors-section {
  padding: 100px 5%;
  background-color: #000;
  position: relative;
  overflow: hidden;
}

.sponsors-container {
  max-width: 1200px;
  margin: 0 auto;
}

.sponsors-header {
  text-align: center;
  margin-bottom: 60px;
}

.sponsors-title {
  font-family: 'ChakraPetch-Light', sans-serif;
  font-size: 3.5rem;
  color: white;
  font-weight: lighter;
  margin: 0 0 1.5rem 0;
}

.sponsors-divider {
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  margin: 0 auto;
}

.sponsors-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.sponsors-sub-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sponsor-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  text-decoration: none;
  color: white;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
}

.sponsor-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at var(--x) var(--y), rgba(107, 92, 168, 0.15), transparent 40%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

.sponsor-card:hover::before {
  opacity: 1;
}

.sponsor-card:hover {
  transform: translateY(-8px);
  border-color: rgba(107, 92, 168, 0.7);
  box-shadow: 0 15px 35px rgba(107, 92, 168, 0.1);
}

.sponsor-card.large-card {
  justify-content: center;
}

.card-content h3 {
  font-family: 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  font-size: 2.2rem;
  margin: 0 0 1rem 0;
  color: #e0e0e0;
}

.card-content h4 {
  font-family: 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  font-size: 1.6rem;
  margin: 0 0 0.8rem 0;
  color: #e0e0e0;
}

.card-content p {
  font-family: 'ChakraPetch-Light', sans-serif;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin: 0;
}

.card-arrow {
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.5);
  align-self: flex-end;
  margin-top: 1.5rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.sponsor-card:hover .card-arrow {
  transform: translateX(10px);
  color: #c883ff;
}

@media (max-width: 992px) {
  .sponsors-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .sponsors-section {
    padding: 60px 5%;
  }
  .sponsors-title {
    font-size: 2.5rem;
  }
  .card-content h3 {
    font-size: 1.8rem;
  }
  .card-content h4 {
    font-size: 1.4rem;
  }
}

/* ===== Access Section ===== */
.access-section {
  padding: 100px 5%;
  background-color: #080808;
  color: white;
}

.access-container {
  max-width: 1200px;
  margin: 0 auto;
}

.access-header {
  text-align: center;
  margin-bottom: 60px;
}

.access-title {
  font-family: 'ChakraPetch-Light', sans-serif;
  font-size: 3.5rem;
  color: white;
  font-weight: lighter;
  margin: 0 0 1.5rem 0;
}

.access-divider {
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  margin: 0 auto;
}

.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.access-info {
  font-family: 'ChakraPetch-Light', sans-serif;
}

.university-logo {
  display: block;
  max-width: 260px;
  margin-bottom: 2.5rem;
  opacity: 0.8;
  transform: scale(1.2);
}

.address-list {
  margin-bottom: 2.5rem;
}

.address-item {
  margin-bottom: 1.5rem;
}

.address-item h4 {
  font-family: 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  font-size: 1.5rem;
  color: #e0e0e0;
  margin: 0 0 0.5rem 0;
  font-weight: normal;
}

.address-item p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin: 0;
}

.transport-info > h4 {
  font-family: 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  font-size: 1.5rem;
  color: #e0e0e0;
  margin: 0 0 1.5rem 0;
  font-weight: normal;
}

.transport-method {
  margin-bottom: 1.5rem;
}

.transport-method h5 {
  font-size: 1.1rem;
  color: #c883ff;
  margin: 0 0 0.8rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: normal;
}

.transport-method ul {
  list-style: none;
  padding-left: 1.5rem;
  margin: 0;
  border-left: 1px solid rgba(107, 92, 168, 0.5);
}

.transport-method li {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.access-map {
  width: 100%;
  height: 500px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.access-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: invert(90%) hue-rotate(180deg);
}

@media (max-width: 992px) {
  .access-header {
    margin-bottom: 0;
  }
  .access-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
    margin: 0 2rem;
  }
  .access-info,
  .access-map {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
  }
  .access-map {
    height: 400px;
  }
  .university-logo {
    margin: 4rem auto;
  }
}

@media (max-width: 768px) {
  .access-section {
    padding: 60px 5%;
  }
  .access-title {
    font-size: 2.5rem;
  }
  .address-item h4,
  .transport-info > h4 {
    font-size: 1.3rem;
  }
  .address-item p,
  .transport-method li {
    font-size: 0.9rem;
  }
}

/* ===== Contact Section ===== */
.contact-section {
  padding: 100px 5%;
  background-color: #000;
  color: white;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-header {
  text-align: center;
  margin-bottom: 60px;
}

.contact-title {
  font-family: 'ChakraPetch-Light', sans-serif;
  font-size: 3.5rem;
  color: white;
  font-weight: lighter;
  margin: 0 0 1.5rem 0;
}

.contact-divider {
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.contact-details {
  font-family: 'ChakraPetch-Light', sans-serif;
}

.contact-committee-name {
  font-family: 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  font-size: 1.8rem;
  color: #e0e0e0;
  margin: 0 0 1rem 0;
}

.contact-description {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-icon {
  width: 24px;
  height: 24px;
  opacity: 0.7;
}

.contact-info-item a {
  color: #c883ff;
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.contact-info-item a:hover {
  color: white;
}

.contact-socials {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.social-link img {
  width: 50px;
  height: 50px;
  opacity: 0.6;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.social-link:hover img {
  opacity: 1;
  transform: scale(1.1);
}

.sponsorship-info {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
}

.sponsorship-title {
  font-family: 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  font-size: 1.6rem;
  color: #e0e0e0;
  margin: 0 0 1rem 0;
}

.sponsorship-text {
  font-family: 'ChakraPetch-Light', sans-serif;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.sponsorship-button {
  display: inline-block;
  padding: 0.8rem 2.5rem;
  border: 1px solid #6b5ca8;
  border-radius: 30px;
  background: transparent;
  color: white;
  font-family: 'ChakraPetch-Light', sans-serif;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.sponsorship-button:hover {
  background: #6b5ca8;
  box-shadow: 0 5px 20px rgba(107, 92, 168, 0.4);
  transform: translateY(-3px);
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .contact-details {
    text-align: center;
  }
  .contact-info-item,
  .contact-socials {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .contact-section {
    padding: 60px 5%;
  }
  .contact-title {
    font-size: 2.5rem;
  }
  .contact-committee-name {
    font-size: 1.5rem;
  }
  .sponsorship-info {
    padding: 2rem;
  }
}

/* ===== About Page Content ===== */
.about-main {
  background-color: black;
  color: white;
  padding: 100px 5%;
  font-family: 'ChakraPetch-Light', sans-serif;
}

.about-section {
  max-width: 800px;
  margin: 0 auto 80px auto;
}

.about-section:last-child {
  margin-bottom: 0;
}

.about-section-title {
  font-family: 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  font-size: 2.2rem;
  font-weight: normal;
  color: #e0e0e0;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(107, 92, 168, 0.4);
  text-align: center;
}

.about-section p {
  font-size: 1.1rem;
  line-height: 2;
  color: rgba(255, 255, 255, 0.8);
  text-align: left;
}

@media (max-width: 768px) {
  .about-main {
    padding: 60px 5%;
  }
  .about-section-title {
    font-size: 1.8rem;
  }
  .about-section p {
    font-size: 1rem;
    line-height: 1.8;
  }
}

/* === お知らせ一覧ページ・詳細ページ用スタイル === */

/* メインコンテンツの共通余白 */
.main-contents {
  padding: 80px 20px;
  max-width: 960px;
  margin: 0 auto;
}

/* index.html の「お知らせ一覧」ボタン用 */
.news-list-action {
  text-align: center;
  margin-top: 40px;
}

/* お知らせ一覧を見るボタン (index.html) */
.view-all-news-button {
  display: inline-block;
  padding: 14px 32px;
  background-color: black; /* テーマカラーを少し透過 */
  color: white;
  text-decoration: none;
  font-family: 'ChakraPetch-Light', sans-serif;
  font-size: 1.1rem;
  font-weight: lighter;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 6px; /* 四角いデザイン */
  transition: all 0.3s ease;
  cursor: pointer;
  backdrop-filter: blur(5px);
}

.view-all-news-button:hover {
  box-shadow: 0 8px 20px rgba(0, 212, 255, 0.3);
  border-color: #6b5ca8;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(0, 212, 255, 0.1));
  transform: translateY(-3px);
}

/* お知らせ詳細ページ (news-*.html) */
.news-article-container {
  /* background-color: #fff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); */
  margin: 0 auto;
  max-width: 1000px; /* 記事の読みやすさを考慮 */
  margin-top: 8rem;
}

.news-article-header {
  /* border-bottom: 1px solid #eee; */
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 20px;
  margin-bottom: 30px;
}

.news-article-title {
  font-family: 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  font-size: 2.5rem;
  margin: 0;
  color: #fff;
  line-height: 1.5;
  font-weight: normal;
}

.news-article-date {
  font-family: 'ChakraPetch-Light', sans-serif;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 15px;
}

.news-article-content {
  font-family: 'ChakraPetch-Light', sans-serif;
  font-size: 1.1rem;
  line-height: 2;
  color: rgba(255, 255, 255, 0.8);
}

.news-article-content p {
  margin-top: 0;
  margin-bottom: 1.5em;
}

.news-article-content strong {
  font-weight: bold;
  color: #fff;
}

.news-article-content a {
  color: #c883ff;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(200, 131, 255, 0.5);
  transition: all 0.3s ease;
}

.news-article-content a:hover {
  text-decoration: none;
  color: #fff;
  background-color: rgba(200, 131, 255, 0.2);
}

.news-article-footer {
  margin-top: 50px;
  text-align: center;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .main-contents {
    padding: 40px 15px;
  }
  .news-article-title {
    font-size: 1.8rem;
  }
  .news-article-container {
    padding: 25px;
  }
  .view-all-news-button {
    padding: 10px 18px;
    font-size: 1rem;
  }
}

@font-face {
  font-family: 'ChakraPetch-Light';
  src: url('public/ChakraPetch-Light.ttf') format('truetype');
}

html {
  font-size: calc(100vw * 16 / 1440);
  overflow-x: hidden;
}

@media screen and (max-width: 1440px) {
  html {
    font-size: 16px;
  }
}

@media screen and (max-width: 768px) {
  html {
    font-size: 14px;
  }
}

@media screen and (max-width: 480px) {
  html {
    font-size: 12px;
  }
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100vh;
  overflow-y: auto;
  background: black;
}

/* Navigation */
.logo {
  position: fixed;
  width: 30%;
  height: 10%;
  top: 5%;
  left: 5%;
  z-index: 3;
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: left;
}
.logo img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media screen and (max-width: 600px) {
  .logo {
    width: 50%;
    top: 2%;
    height: 12%;
  }
  .logo img {
    transform: scale(1.08);
  }
}

.navigation {
  position: fixed;
  width: 8%;
  height: 100%;
  top: 2%;
  right: 0%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
}
.navigation a {
  position: relative;
  margin: 30%;
  width: auto;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: 'ChakraPetch-Light', sans-serif;
  font-size: 1rem;
  color: white;
}
@media screen and (max-width: 600px) {
  .navigation {
    width: 90%;
    height: 6%;
    top: auto;
    bottom: 2%;
    left: 5%;
    right: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
  }
  .navigation a {
    /* font-size: 3rem; */
    margin: 2%;
  }
}
.navigation a::after {
  position: absolute;
  content: '';
  width: 0%;
  height: 0.03rem;
  left: 0;
  bottom: -0.03rem;
  background: white;
  transition: 0.8s;
}
.navigation a:hover::after {
  width: 100%;
}

/* Animation Section */
.animation-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* CGStage */
.cgstage {
  position: absolute;
  top: 0;
  left: 0;
  /* width: 100%;
  height: 100%; */
  z-index: 0;
}

.festival-info {
  position: absolute;
  bottom: 5%;
  left: 5%;
  z-index: 10;
  color: white;
  font-family: 'ChakraPetch-Light', sans-serif;
  /* background: rgba(0, 0, 0, 0.7); */
  padding: 2rem;
  border-radius: 1rem;
  /* backdrop-filter: blur(10px); */
  /* border: 1px solid rgba(255, 255, 255, 0.2); */
  max-width: 400px;
  opacity: 1;
  animation: fadeInUp 1s ease-out 0.5s both;
  font-family: 'ChakraPetch-Light', sans-serif;
  font-weight: lighter;
}

.festival-year {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #00d4ff;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.festival-title {
  font-size: 2.1rem;
  font-weight: lighter;
  margin-bottom: 1.5rem;
  color: white;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
  font-family: 'ChakraPetch-Light', sans-serif;
}

.festival-dates {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.date-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* background: rgba(255, 255, 255, 0.1); */
  padding: 0.8rem 1.2rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.date {
  font-size: 1.8rem;
  /* font-weight: bold; */
  color: white;
}

.day {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 0.2rem;
}

.festival-time {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.time-start,
.time-end {
  /* font-weight: bold; */
  color: #6b5ca8;
  font-size: 1.5rem;
}

.time-period {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.time-separator {
  color: white;
  font-size: 1.5rem;
  margin: 0 0.5rem;
}

.festival-location {
  font-size: 1.3rem;
  line-height: 1.4;
  font-family: 'ChakraPetch-Light', sans-serif;
  font-weight: lighter;
}

/* .location-label {
  color: rgba(255, 255, 255, 0.8);
}

.location-venues {
  color: white;
  font-weight: 500;
} */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media screen and (max-width: 768px) {
}
/* Scene1 */
h1.loadingProgress {
  margin: 0%;
  padding: 0%;
  position: fixed;
  width: auto;
  height: auto;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  font-family: 'ChakraPetch-Light', sans-serif;
  font-size: 2rem;
  font-weight: lighter;
  color: white;
  opacity: 1;
  z-index: 3;
}
.scene1-1,
.scene1-2,
.scene1-3,
.scene1-4 {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
h1.scene1-1,
h1.scene1-2,
h1.scene1-3,
h1.scene1-4 {
  margin: 0%;
  padding: 0%;
  position: fixed;
  width: auto;
  height: auto;
  top: 75%;
  left: 5%;
  transform: translateY(-50%);
  font-family: 'ChakraPetch-Light', sans-serif;
  font-size: 2rem;
  font-weight: lighter;
  color: white;
  z-index: 3;
}
p.scene1-1,
p.scene1-2,
p.scene1-3,
p.scene1-4 {
  margin: 0%;
  padding: 0%;
  position: fixed;
  width: 30%;
  height: auto;
  top: 85%;
  left: 5%;
  transform: translateY(-50%);
  font-family: 'ChakraPetch-Light', sans-serif;
  font-size: 0.8rem;
  font-weight: lighter;
  line-height: 2;
  color: white;
  z-index: 3;
}
@media screen and (max-width: 600px) {
  h1.scene1-1,
  h1.scene1-2,
  h1.scene1-3,
  h1.scene1-4 {
    top: 75%;
    font-size: 4rem;
  }
  p.scene1-1,
  p.scene1-2,
  p.scene1-3,
  p.scene1-4 {
    width: 80%;
    top: 82%;
    font-size: 2rem;
  }
}
/* Scene2 */
.scene2 {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
h1.scene2 {
  margin: 0%;
  padding: 0%;
  position: fixed;
  width: auto;
  height: auto;
  top: 75%;
  left: 5%;
  transform: translateY(-50%);
  font-family: 'ChakraPetch-Light', sans-serif;
  font-size: 2rem;
  font-weight: lighter;
  color: white;
  z-index: 3;
}
p.scene2 {
  margin: 0%;
  padding: 0%;
  position: fixed;
  width: 30%;
  height: auto;
  top: 85%;
  left: 5%;
  transform: translateY(-50%);
  font-family: 'ChakraPetch-Light', sans-serif;
  font-size: 0.8rem;
  font-weight: lighter;
  line-height: 2;
  color: white;
  z-index: 3;
}
.scene2 a {
  /* text-decoration: none; */
  color: white;
}
@media screen and (max-width: 600px) {
  h1.scene2 {
    top: 75%;
    font-size: 4rem;
  }
  p.scene2 {
    width: 80%;
    top: 82%;
    font-size: 2rem;
  }
}
/* Scene3 */
h1.scene3-1,
h1.scene3-2,
h1.scene3-3 {
  margin: 0%;
  padding: 0%;
  position: fixed;
  width: 30%;
  height: auto;
  top: 60%;
  /* left: 10%; */
  transform: translateY(-50%);
  font-family: 'ChakraPetch-Light', sans-serif;
  font-size: 2rem;
  font-weight: lighter;
  color: white;
  z-index: 3;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
p.scene3-1,
p.scene3-2,
p.scene3-3 {
  margin: 0%;
  padding: 0%;
  position: fixed;
  width: 30%;
  height: auto;
  top: 68%;
  /* left: 10%; */
  transform: translateY(-50%);
  font-family: 'ChakraPetch-Light', sans-serif;
  font-size: 0.8rem;
  font-weight: lighter;
  line-height: 2;
  color: white;
  z-index: 3;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
h1.scene3-1 {
  left: 10%;
}
h1.scene3-2 {
  right: 10%;
}
h1.scene3-3 {
  left: 10%;
}
p.scene3-1 {
  left: 10%;
}
p.scene3-2 {
  right: 10%;
}
p.scene3-3 {
  left: 10%;
}
@media screen and (max-width: 600px) {
  h1.scene3-1,
  h1.scene3-2,
  h1.scene3-3 {
    width: 40%;
    font-size: 4rem;
  }
  p.scene3-1,
  p.scene3-2,
  p.scene3-3 {
    width: 40%;
    font-size: 2rem;
  }
}
/* Scene4 */
h1.scene4-1,
h1.scene4-2,
h1.scene4-3,
h1.scene4-4 {
  margin: 0;
  padding: 0;
  position: fixed;
  width: 30%;
  height: 100%;
  top: 0%;
  left: 0%;
  font-family: sans-serif;
  font-size: 12rem;
  color: white;
  writing-mode: vertical-rl;
  display: flex;
  justify-content: center;
  text-align: center;
  align-items: center;
  line-height: 0.8;
  opacity: 0;
  transition: width 2s ease-in-out, opacity 2s ease-in-out;
  z-index: 2;
}
p.scene4-1,
p.scene4-2,
p.scene4-3,
p.scene4-4 {
  margin: 0;
  padding: 0;
  position: fixed;
  width: 0%;
  height: 100%;
  top: 0%;
  right: 0%;
  font-family: sans-serif;
  font-size: 6rem;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  opacity: 0;
  transition: width 2s ease-in-out, opacity 2s ease-in-out;
  z-index: 2;
}
p.scroll {
  margin: 0;
  padding: 0;
  position: fixed;
  width: 100%;
  height: 20%;
  bottom: 0%;
  left: 0%;
  font-family: 'ChakraPetch-Light', sans-serif;
  font-size: 1rem;
  color: white;
  line-height: 2;
  opacity: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 2s ease-in-out;
  z-index: 3;
}
img.ticker {
  margin: 0;
  padding: 0;
  position: fixed;
  width: 10%;
  height: 100%;
  top: 0%;
  left: 0%;
  z-index: 3;
  object-fit: contain;
  opacity: 0;
  transition: opacity 2s ease-in-out;
}
h1.locIcon {
  margin: 0;
  padding: 0;
  position: fixed;
  top: 0%;
  left: 8%;
  transform: translateY(-50%) translateX(-50%);
  width: auto;
  height: auto;
  z-index: 3;
  font-family: 'ChakraPetch-Light', sans-serif;
  font-size: 1.5rem;
  color: white;
  opacity: 0;
  transition: top 2s linear, opacity 2s linear;
  display: flex;
  align-items: center;
}
@media screen and (max-width: 600px) {
  p.scroll {
    height: 30%;
    font-size: 4rem;
  }
  img.ticker {
    top: auto;
    bottom: 2%;
    width: 100%;
    height: 10%;
  }
  h1.locIcon {
    top: auto;
    bottom: 10%;
    font-size: 2.5rem;
    transition: left 2s linear, opacity 2s linear;
  }
}
/* Scene5 */
h1.loadingProgress {
  margin: 0%;
  padding: 0%;
  position: fixed;
  width: auto;
  height: auto;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  font-family: 'ChakraPetch-Light', sans-serif;
  font-size: 2rem;
  font-weight: lighter;
  color: white;
  opacity: 1;
  z-index: 3;
}
.scene5 {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
h1.scene5 {
  margin: 0%;
  padding: 0%;
  position: fixed;
  width: auto;
  height: auto;
  top: 75%;
  left: 5%;
  transform: translateY(-50%);
  font-family: 'ChakraPetch-Light', sans-serif;
  font-size: 2rem;
  font-weight: lighter;
  color: white;
  z-index: 3;
}
p.scene5 {
  margin: 0%;
  padding: 0%;
  position: fixed;
  width: 30%;
  height: auto;
  top: 85%;
  left: 5%;
  transform: translateY(-50%);
  font-family: 'ChakraPetch-Light', sans-serif;
  font-size: 0.8rem;
  font-weight: lighter;
  line-height: 2;
  color: white;
  z-index: 3;
}
@media screen and (max-width: 600px) {
  h1.scene5 {
    top: 75%;
    font-size: 4rem;
  }
  p.scene5 {
    width: 80%;
    top: 82%;
    font-size: 2rem;
  }
}

/* Initialize */
body.scene1-1-loaded .scene1-1,
body.scene1-2-loaded .scene1-2,
body.scene1-3-loaded .scene1-3,
body.scene1-4-loaded .scene1-4,
body.scene2-loaded .scene2,
body.scene5-loaded .scene5 {
  opacity: 1;
}
/* ThreeJS Canvas */
canvas {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100vh !important;
  z-index: 0 !important;
  display: block !important;
  object-fit: cover;
}

/* Footer */
.footer {
  position: relative;
  width: 100%;
  height: 5%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: black;
}
.footer p {
  /* margin: 5%; */
  font-family: 'ChakraPetch-Light', sans-serif;
  font-size: 0.8rem;
  color: gray;
  line-height: 1.5;
}
@media screen and (max-width: 600px) {
  .footer p {
    opacity: 0;
  }
}

/* News Section */
.news-section {
  position: relative;
  width: 100%;
  min-height: 60vh;
  padding: 1.5rem 0 3rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-container {
  width: 100%;
  max-width: 1200px;
  padding: 0 2rem;
}

.news-header {
  text-align: center;
  margin-bottom: 4rem;
}

.news-title {
  font-family: 'ChakraPetch-Light', sans-serif;
  font-size: 3.5rem;
  color: white;
  font-weight: lighter;
  margin: 0 0 1.5rem 0;
  position: relative;
  display: inline-block;
}

.news-divider {
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  margin: 0 auto;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.news-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.news-item:hover {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
}

.news-date {
  font-family: 'ChakraPetch-Light', sans-serif;
  font-size: 0.8rem;
  color: #6b5ca8;
  font-weight: lighter;
  text-align: left;
}

.news-content {
  flex: 1;
}

.news-item-title {
  font-family: 'ChakraPetch-Light', sans-serif;
  font-size: 1.1rem;
  color: white;
  font-weight: lighter;
  margin: 0;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.news-item:hover .news-item-title {
  color: #6b5ca8;
}

.news-action {
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-button {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 25px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-width: 120px;
  justify-content: center;
}

.news-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.news-button:hover::before {
  left: 100%;
}

.news-button:hover {
  transform: translateY(-1px);
  transform: translateX(5px);
  box-shadow: 0 8px 20px rgba(0, 212, 255, 0.3);
  border-color: #6b5ca8;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(0, 212, 255, 0.1));
}

.button-text {
  font-family: 'ChakraPetch-Light', sans-serif;
  font-size: 0.9rem;
  color: white;
  font-weight: lighter;
  transition: color 0.3s ease;
}

.news-button:hover .button-text {
  color: #6b5ca8;
}

.button-arrow {
  font-family: 'ChakraPetch-Light', sans-serif;
  font-size: 1rem;
  color: white;
  transition: all 0.3s ease;
  font-weight: lighter;
}

.news-button:hover .button-arrow {
  transform: translateX(3px);
  color: white;
}

@media screen and (max-width: 768px) {
  .news-section {
    padding: 1rem 0 2rem 0;
  }

  .news-container {
    padding: 0 1rem;
  }

  .news-title {
    font-size: 2.5rem;
  }

  .news-item {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    padding: 1rem 0;
    text-align: center;
  }

  .news-date {
    font-size: 0.75rem;
    text-align: center;
  }

  .news-item-title {
    font-size: 1rem;
  }

  .news-button {
    padding: 0.5rem 1rem;
    min-width: 100px;
  }

  .button-text {
    font-size: 0.8rem;
  }
}

@media screen and (max-width: 480px) {
  .news-title {
    font-size: 2rem;
  }

  .news-item {
    padding: 1rem 0;
  }

  .news-item-title {
    font-size: 1rem;
  }

  .news-date {
    font-size: 0.75rem;
  }
}

/* ===== Theme Section ===== */
.theme-section {
  position: relative;
  width: 100%;
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding-top: 4rem;
  overflow: hidden;
  background: black;
}

.theme-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1200px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.theme-main {
  margin: 0;
  font-family: 'ChakraPetch-Light', sans-serif;
  font-size: clamp(2.8rem, 12vw, 9.5rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  background: linear-gradient(90deg, #00d4ff 0%, #6b5ca8 50%, #c883ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 8px 30px rgba(107, 92, 168, 0.12);
  opacity: 0;
  transform: translateY(30px) scale(0.98);
  transition: opacity 800ms cubic-bezier(0.22, 0.9, 0.36, 1), transform 800ms cubic-bezier(0.22, 0.9, 0.36, 1);
  text-wrap: balance;
}

.theme-sub {
  margin: 0;
  font-family: 'ChakraPetch-Light', sans-serif;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(0.9rem, 2.2vw, 1.25rem);
  max-width: 900px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.theme-button {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 25px;
  text-decoration: none;
  color: white;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-width: 120px;
  justify-content: center;
  margin: 2rem auto;
}

.theme-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.theme-button:hover::before {
  left: 100%;
}

.theme-button:hover {
  transform: translateY(-1px);
  transform: translateX(5px);
  box-shadow: 0 8px 20px rgba(0, 212, 255, 0.3);
  border-color: #6b5ca8;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(0, 212, 255, 0.1));
}

.theme-button:active {
  color: white;
  transform: translateY(1px);
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.15);
}

.theme-button-text {
  font-family: 'ChakraPetch-Light', sans-serif;
  font-size: 0.9rem;
  color: white;
  font-weight: lighter;
  transition: color 0.3s ease;
}

.theme-button:hover .theme-button-text {
  color: #6b5ca8;
}

.theme-button-arrow {
  font-family: 'ChakraPetch-Light', sans-serif;
  font-size: 1rem;
  color: white;
  transition: all 0.3s ease;
  font-weight: lighter;
}

.theme-button:hover .theme-button-arrow {
  transform: translateX(3px);
  color: white;
}

.theme-section.in-view .theme-main {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.theme-section.in-view .theme-sub {
  opacity: 1;
  transform: translateY(0);
}

@media screen and (max-width: 1024px) {
  .theme-label {
    right: 2rem;
    top: 2rem;
    color: rgba(255, 255, 255, 0.05);
  }
  .theme-cta {
    right: 1.5rem;
    bottom: 1.5rem;
    padding: 0.55rem 1rem;
  }
}

@media screen and (max-width: 768px) {
  .theme-section {
    min-height: 45vh;
    /* padding-top: 2rem; */
  }
  .theme-label {
    font-size: clamp(1.6rem, 8.5vw, 4.5rem);
    right: 1rem;
    top: 1rem;
  }
  .theme-main {
    font-size: clamp(2.4rem, 12vw, 5.5rem);
  }
  .theme-sub {
    font-size: clamp(0.95rem, 2.6vw, 1.1rem);
    padding: 0 1rem;
  }
  .theme-cta {
    left: 50%;
    transform: translateX(-50%);
    right: auto;
    bottom: 1rem;
    min-width: 70%;
    justify-content: center;
  }
}

@media screen and (max-width: 420px) {
  .theme-main {
    font-size: clamp(2rem, 14vw, 4rem);
  }
  .theme-label {
    display: none;
  }
}

/* コンテンツセクション */
.contents-section {
  padding: 80px 5%;
  overflow: hidden;
}

.contents-header {
  text-align: center;
  margin-bottom: 60px;
}

.contents-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: white;
  margin-bottom: 10px;
  font-family: 'Yu Mincho', 'Hiragino Mincho ProN', serif;
}

.contents-divider {
  width: 80px;
  height: 3px;
  background-color: #005f4b;
  margin: 0 auto;
}

.scroller {
  width: 100%;
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, white 15%, white 85%, transparent);
  mask: linear-gradient(90deg, transparent, white 15%, white 85%, transparent);
}

.scroller-inner {
  display: flex;
  width: max-content;
  gap: 2rem;
  padding-block: 1rem;
  animation: scroll 40s linear infinite;
}

.scroller:hover .scroller-inner {
  animation-play-state: paused;
}

@keyframes scroll {
  to {
    transform: translateX(calc(-50% - 1rem));
  }
}

.content-card {
  width: 400px;
  flex-shrink: 0;
  background-color: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  height: 30vh;
}

.content-card:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 35px rgba(107, 92, 168, 0.25);
}

.content-card a {
  text-decoration: none;
  color: #e0e0e0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.content-card img {
  width: 100%;
  flex: 1; /* 画像が利用可能なスペースを埋めるようにする */
  min-height: 0; /* flexアイテムのオーバーフローを防ぐため */
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
}

.content-card:hover img {
  opacity: 0.8;
}

.card-title {
  padding: 20px 15px;
  font-size: 1.2rem;
  font-weight: bold;
  flex-shrink: 0;
}

.scroll-indicator-wrapper {
  width: 80%;
  max-width: 600px;
  margin: 50px auto 0;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.scroll-indicator {
  width: 20%;
  height: 100%;
  background: linear-gradient(90deg, #00d4ff, #6b5ca8, #c883ff);
  border-radius: 2px;
  animation: scroll-indicator-anim 60s linear infinite;
}

@keyframes scroll-indicator-anim {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(500%);
  }
}

@media (max-width: 768px) {
  .contents-section {
    padding: 60px 5%;
  }
  .contents-title {
    font-size: 2rem;
  }
  .card-title {
    font-size: 1.1rem;
  }
  .scroller-inner {
    animation-duration: 45s;
    gap: 1.5rem;
  }
  @keyframes scroll {
    to {
      transform: translateX(calc(-50% - 0.75rem));
    }
  }
  .content-card {
    width: 320px;
  }
  .card-title {
    font-size: 1.1rem;
  }
  .scroll-indicator {
    animation-duration: 45s;
  }
}

/* ===== Sponsors Section ===== */
.sponsors-section {
  padding: 100px 5%;
  background-color: #000;
  position: relative;
  overflow: hidden;
}

.sponsors-container {
  max-width: 1200px;
  margin: 0 auto;
}

.sponsors-header {
  text-align: center;
  margin-bottom: 60px;
}

.sponsors-title {
  font-family: 'ChakraPetch-Light', sans-serif;
  font-size: 3.5rem;
  color: white;
  font-weight: lighter;
  margin: 0 0 1.5rem 0;
}

.sponsors-divider {
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  margin: 0 auto;
}

.sponsors-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.sponsors-sub-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sponsor-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  text-decoration: none;
  color: white;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
}

.sponsor-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at var(--x) var(--y), rgba(107, 92, 168, 0.15), transparent 40%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

.sponsor-card:hover::before {
  opacity: 1;
}

.sponsor-card:hover {
  transform: translateY(-8px);
  border-color: rgba(107, 92, 168, 0.7);
  box-shadow: 0 15px 35px rgba(107, 92, 168, 0.1);
}

.sponsor-card.large-card {
  justify-content: center;
}

.card-content h3 {
  font-family: 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  font-size: 2.2rem;
  margin: 0 0 1rem 0;
  color: #e0e0e0;
}

.card-content h4 {
  font-family: 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  font-size: 1.6rem;
  margin: 0 0 0.8rem 0;
  color: #e0e0e0;
}

.card-content p {
  font-family: 'ChakraPetch-Light', sans-serif;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin: 0;
}

.card-arrow {
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.5);
  align-self: flex-end;
  margin-top: 1.5rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.sponsor-card:hover .card-arrow {
  transform: translateX(10px);
  color: #c883ff;
}

@media (max-width: 992px) {
  .sponsors-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .sponsors-section {
    padding: 60px 5%;
  }
  .sponsors-title {
    font-size: 2.5rem;
  }
  .card-content h3 {
    font-size: 1.8rem;
  }
  .card-content h4 {
    font-size: 1.4rem;
  }
}

/* ===== Access Section ===== */
.access-section {
  padding: 100px 5%;
  background-color: #080808;
  color: white;
}

.access-container {
  max-width: 1200px;
  margin: 0 auto;
}

.access-header {
  text-align: center;
  margin-bottom: 60px;
}

.access-title {
  font-family: 'ChakraPetch-Light', sans-serif;
  font-size: 3.5rem;
  color: white;
  font-weight: lighter;
  margin: 0 0 1.5rem 0;
}

.access-divider {
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  margin: 0 auto;
}

.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.access-info {
  font-family: 'ChakraPetch-Light', sans-serif;
}

.university-logo {
  display: block;
  max-width: 260px;
  margin-bottom: 2.5rem;
  opacity: 0.8;
  transform: scale(1.2);
}

.address-list {
  margin-bottom: 2.5rem;
}

.address-item {
  margin-bottom: 1.5rem;
}

.address-item h4 {
  font-family: 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  font-size: 1.5rem;
  color: #e0e0e0;
  margin: 0 0 0.5rem 0;
  font-weight: normal;
}

.address-item p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin: 0;
}

.transport-info > h4 {
  font-family: 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  font-size: 1.5rem;
  color: #e0e0e0;
  margin: 0 0 1.5rem 0;
  font-weight: normal;
}

.transport-method {
  margin-bottom: 1.5rem;
}

.transport-method h5 {
  font-size: 1.1rem;
  color: #c883ff;
  margin: 0 0 0.8rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: normal;
}

.transport-method ul {
  list-style: none;
  padding-left: 1.5rem;
  margin: 0;
  border-left: 1px solid rgba(107, 92, 168, 0.5);
}

.transport-method li {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.access-map {
  width: 100%;
  height: 500px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.access-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: invert(90%) hue-rotate(180deg);
}

@media (max-width: 992px) {
  .access-header {
    margin-bottom: 0;
  }
  .access-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
    margin: 0 2rem;
  }
  .access-info,
  .access-map {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
  }
  .access-map {
    height: 400px;
  }
  .university-logo {
    margin: 4rem auto;
  }
}

@media (max-width: 768px) {
  .access-section {
    padding: 60px 5%;
  }
  .access-title {
    font-size: 2.5rem;
  }
  .address-item h4,
  .transport-info > h4 {
    font-size: 1.3rem;
  }
  .address-item p,
  .transport-method li {
    font-size: 0.9rem;
  }
}

/* ===== Contact Section ===== */
.contact-section {
  padding: 100px 5%;
  background-color: #000;
  color: white;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-header {
  text-align: center;
  margin-bottom: 60px;
}

.contact-title {
  font-family: 'ChakraPetch-Light', sans-serif;
  font-size: 3.5rem;
  color: white;
  font-weight: lighter;
  margin: 0 0 1.5rem 0;
}

.contact-divider {
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.contact-details {
  font-family: 'ChakraPetch-Light', sans-serif;
}

.contact-committee-name {
  font-family: 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  font-size: 1.8rem;
  color: #e0e0e0;
  margin: 0 0 1rem 0;
}

.contact-description {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-icon {
  width: 24px;
  height: 24px;
  opacity: 0.7;
}

.contact-info-item a {
  color: #c883ff;
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.contact-info-item a:hover {
  color: white;
}

.contact-socials {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.social-link img {
  width: 50px;
  height: 50px;
  opacity: 0.6;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.social-link:hover img {
  opacity: 1;
  transform: scale(1.1);
}

.sponsorship-info {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
}

.sponsorship-title {
  font-family: 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  font-size: 1.6rem;
  color: #e0e0e0;
  margin: 0 0 1rem 0;
}

.sponsorship-text {
  font-family: 'ChakraPetch-Light', sans-serif;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.sponsorship-button {
  display: inline-block;
  padding: 0.8rem 2.5rem;
  border: 1px solid #6b5ca8;
  border-radius: 30px;
  background: transparent;
  color: white;
  font-family: 'ChakraPetch-Light', sans-serif;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.sponsorship-button:hover {
  background: #6b5ca8;
  box-shadow: 0 5px 20px rgba(107, 92, 168, 0.4);
  transform: translateY(-3px);
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .contact-details {
    text-align: center;
  }
  .contact-info-item,
  .contact-socials {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .contact-section {
    padding: 60px 5%;
  }
  .contact-title {
    font-size: 2.5rem;
  }
  .contact-committee-name {
    font-size: 1.5rem;
  }
  .sponsorship-info {
    padding: 2rem;
  }
}

/* ===== About Page Content ===== */
.about-main {
  background-color: black;
  color: white;
  padding: 100px 5%;
  font-family: 'ChakraPetch-Light', sans-serif;
}

.about-section {
  max-width: 800px;
  margin: 0 auto 80px auto;
}

.about-section:last-child {
  margin-bottom: 0;
}

.about-section-title {
  font-family: 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  font-size: 2.2rem;
  font-weight: normal;
  color: #e0e0e0;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(107, 92, 168, 0.4);
  text-align: center;
}

.about-section p {
  font-size: 1.1rem;
  line-height: 2;
  color: rgba(255, 255, 255, 0.8);
  text-align: left;
}

@media (max-width: 768px) {
  .about-main {
    padding: 60px 5%;
  }
  .about-section-title {
    font-size: 1.8rem;
  }
  .about-section p {
    font-size: 1rem;
    line-height: 1.8;
  }
}

/* === お知らせ一覧ページ・詳細ページ用スタイル === */

/* メインコンテンツの共通余白 */
.main-contents {
  padding: 80px 20px;
  max-width: 960px;
  margin: 0 auto;
}

/* index.html の「お知らせ一覧」ボタン用 */
.news-list-action {
  text-align: center;
  margin-top: 40px;
}

/* お知らせ一覧を見るボタン (index.html) */
.view-all-news-button {
  display: inline-block;
  padding: 14px 32px;
  background-color: black; /* テーマカラーを少し透過 */
  color: white;
  text-decoration: none;
  font-family: 'ChakraPetch-Light', sans-serif;
  font-size: 1.1rem;
  font-weight: lighter;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 6px; /* 四角いデザイン */
  transition: all 0.3s ease;
  cursor: pointer;
  backdrop-filter: blur(5px);
}

.view-all-news-button:hover {
  box-shadow: 0 8px 20px rgba(0, 212, 255, 0.3);
  border-color: #6b5ca8;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(0, 212, 255, 0.1));
  transform: translateY(-3px);
}

/* お知らせ詳細ページ (news-*.html) */
.news-article-container {
  /* background-color: #fff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); */
  margin: 0 auto;
  max-width: 1000px; /* 記事の読みやすさを考慮 */
  margin-top: 8rem;
}

.news-article-header {
  /* border-bottom: 1px solid #eee; */
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 20px;
  margin-bottom: 30px;
}

.news-article-title {
  font-family: 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  font-size: 2.5rem;
  margin: 0;
  color: #fff;
  line-height: 1.5;
  font-weight: normal;
}

.news-article-date {
  font-family: 'ChakraPetch-Light', sans-serif;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 15px;
}

.news-article-content {
  font-family: 'ChakraPetch-Light', sans-serif;
  font-size: 1.1rem;
  line-height: 2;
  color: rgba(255, 255, 255, 0.8);
}

.news-article-content p {
  margin-top: 0;
  margin-bottom: 1.5em;
}

.news-article-content strong {
  font-weight: bold;
  color: #fff;
}

.news-article-content a {
  color: #c883ff;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(200, 131, 255, 0.5);
  transition: all 0.3s ease;
}

.news-article-content a:hover {
  text-decoration: none;
  color: #fff;
  background-color: rgba(200, 131, 255, 0.2);
}

.news-article-footer {
  margin-top: 50px;
  text-align: center;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .main-contents {
    padding: 40px 15px;
  }
  .news-article-title {
    font-size: 1.8rem;
  }
  .news-article-container {
    padding: 25px;
  }
  .view-all-news-button {
    padding: 10px 18px;
    font-size: 1rem;
  }
}

/* ===== Hands-on Seminar Page ===== */
.hands-on-main {
  background-color: #000;
  color: #fff;
  font-family: 'ChakraPetch-Light', sans-serif;
}

.hands-on-hero {
  position: relative;
  height: 80vh;
  display: grid;
  place-items: center;
  text-align: center;
  background-image: url('public/hands-on-hero-bg.jpg'); /* Placeholder - user needs to add this image */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #fff;
}

.hands-on-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.9) 100%);
  backdrop-filter: blur(2px);
}

.hands-on-hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.hands-on-event-subtitle {
  font-family: 'ChakraPetch-Light', sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.1em;
  margin: 0;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
}

.hands-on-title {
  font-family: 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 600;
  color: #fff;
  margin: 0;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  line-height: 1.2;
}

.hands-on-subtitle {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  max-width: 600px;
}

.hands-on-event-title {
  display: none;
}

.hands-on-section {
  padding: 100px 5%;
  position: relative;
  overflow: hidden;
}

.hands-on-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hands-on-section-title {
  font-family: 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  font-size: 2.5rem;
  font-weight: normal;
  color: #e0e0e0;
  margin-bottom: 4rem;
  text-align: left;
  border-bottom: none;
  padding-bottom: 0;
  position: relative;
  z-index: 2;
}

.hands-on-section-title span {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-60%);
  font-family: 'ChakraPetch-Light', sans-serif;
  font-size: clamp(4rem, 15vw, 8rem);
  font-weight: bold;
  letter-spacing: 0.05em;
  color: rgba(107, 92, 168, 0.12);
  z-index: -1;
  margin: 0;
  display: block;
  pointer-events: none;
}

.concept-section {
  background-color: #050505;
  padding-top: 150px;
  padding-bottom: 150px;
}

.concept-text {
  font-size: 1.1rem;
  line-height: 2;
  color: rgba(255, 255, 255, 0.8);
  max-width: 800px;
  margin: 0 auto;
}

.experience-section {
  padding-top: 150px;
  padding-bottom: 150px;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.experience-card {
  background: #111;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.experience-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 150, 255, 0.15);
  border-color: rgba(0, 212, 255, 0.5);
}

.experience-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  filter: grayscale(80%) contrast(1.2) brightness(0.9);
  transition: filter 0.4s ease, transform 0.4s ease;
}

.experience-card:hover .experience-card-img {
  filter: grayscale(0%) contrast(1) brightness(1);
  transform: scale(1.05);
}

.experience-card-content {
  padding: 1.5rem;
}

.experience-card-title {
  font-family: 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  font-size: 1.5rem;
  color: #e0e0e0;
  margin: 0 0 1rem 0;
}

.experience-card-text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.application-section {
  background-color: #050505;
  padding-top: 150px;
}

.application-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.application-item {
  text-align: center;
}

.application-item h4 {
  font-family: 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  font-size: 1.6rem;
  color: #e0e0e0;
  margin-bottom: 1rem;
}

.application-item p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
}

.application-button {
  display: inline-block;
  padding: 1rem 3rem;
  border: 1px solid #6b5ca8;
  border-radius: 4px;
  background: #6b5ca8;
  color: white;
  font-family: 'ChakraPetch-Light', sans-serif;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.application-button:hover {
  background: #00d4ff;
  border-color: #00d4ff;
  box-shadow: 0 5px 25px rgba(0, 212, 255, 0.4);
  transform: translateY(-5px);
}

.application-note {
  font-size: 0.9rem;
  margin-top: 1rem;
}

.flyer-link img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.flyer-link:hover img {
  transform: scale(1.03);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

/* 斜線デバイダー */
.concept-section::before,
.experience-section::before,
.application-section::before,
.concept-section::after,
.experience-section::after,
.application-section::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  pointer-events: none;
  z-index: 1;
}

.concept-section::before,
.experience-section::before,
.application-section::before {
  height: 120px;
  top: 15px;
  background: linear-gradient(15deg, transparent 20%, rgba(255, 221, 87, 0.1) 50%, transparent 80%);
}

/* 光の筋（細い線） */
.concept-section::after,
.experience-section::after,
.application-section::after {
  height: 4px;
  z-index: 2;
  top: 75px;
  background: rgba(255, 221, 87, 0.7);
  box-shadow: 0 0 15px 1px rgba(255, 221, 87, 0.3);
}

/* 線の傾き */
/* 1番目: 開催目的の上 -> 右肩下がり */
.concept-section::before,
.concept-section::after {
  transform: skewY(3deg);
}

/* 2番目: 体験内容の上 -> 右肩上がり */
.experience-section::before,
.experience-section::after {
  transform: skewY(-3deg);
}

/* 3番目: お申し込みと詳細の上 -> 右肩下がり */
.application-section::before,
.application-section::after {
  transform: skewY(3deg);
}

@media (max-width: 768px) {
  .hands-on-hero {
    height: 70vh;
  }
  .hands-on-section {
    padding: 80px 5%;
  }
  .hands-on-section-title span {
    transform: translateY(-55%);
  }
  .hands-on-section-title {
    font-size: 1.8rem;
  }
  .application-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .concept-section {
    padding-top: 120px;
    padding-bottom: 120px;
  }
  .experience-section {
    padding-top: 120px;
    padding-bottom: 120px;
  }
  .application-section {
    padding-top: 120px;
  }
  .concept-section::before,
  .experience-section::before,
  .application-section::before {
    top: 10px;
  }
  .concept-section::after,
  .experience-section::after,
  .application-section::after {
    top: 60px;
  }
}

/* ===== Entrance Exam Page ===== */
.exam-main {
  background-color: #0a0a0a;
  color: #fff;
  font-family: 'ChakraPetch-Light', sans-serif;
}

.exam-hero {
  position: relative;
  height: 75vh;
  display: grid;
  place-items: center;
  text-align: center;
  background-image: url('public/chalkboard-bg.jpg'); /* Placeholder - user needs to add this image */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.exam-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(1px);
}

.exam-hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  margin-top: 5rem;
}

.exam-title {
  font-family: 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: normal;
  color: #e0e0e0;
  margin: 0;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
}

.exam-subtitle {
  font-size: clamp(1.5rem, 2.5vw, 1.3rem);
  color: rgba(255, 255, 255, 0.8);
  margin: 1rem 0 2.5rem 0;
  line-height: 1.8;
}

.exam-event-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: lighter;
  letter-spacing: 0.1em;
  color: #fff;
  display: inline-block;
  border: 1px solid rgba(74, 144, 226, 0.6);
  background: rgba(74, 144, 226, 0.2);
  padding: 0.6rem 2rem;
  border-radius: 8px;
  backdrop-filter: blur(5px);
}

.exam-section {
  padding: 100px 5%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.exam-container {
  max-width: 900px;
  margin: 0 auto;
}

.exam-section-title {
  font-family: 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  font-size: 2.2rem;
  font-weight: normal;
  color: #e0e0e0;
  margin-bottom: 3rem;
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
}

.exam-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: #4a90e2;
}

.exam-section-title span {
  display: block;
  font-family: 'ChakraPetch-Light', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.2em;
  color: #4a90e2;
  margin-bottom: 0.5rem;
}

.concept-section {
  background-color: #111;
}

.concept-text {
  font-size: 1.1rem;
  line-height: 2.2;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
}

.concept-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.concept-grid .concept-text {
  text-align: left;
}

.concept-flyer img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.concept-flyer img:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.concept-text .highlight-point {
  color: #4a90e2; /* ページテーマの青色 */
  font-weight: bold;
}

.concept-text .main-feature {
  font-size: 1.15em;
  color: #fff;
  font-weight: bold;
  background: rgba(74, 144, 226, 0.2);
  padding: 0.2em 0.4em;
  border-radius: 4px;
}

.concept-text .final-appeal {
  display: block;
  text-align: center;
  margin-top: 1.5rem;
  font-size: 1.25em;
  color: #fff;
  font-weight: bold;
}

.subjects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
}

.subject-card {
  background: #1c1c1c;
  border-radius: 8px;
  padding: 2rem 1rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.subject-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(74, 144, 226, 0.2);
  border-color: #4a90e2;
}

.subject-icon {
  font-family: 'Times New Roman', serif;
  font-size: 2.5rem;
  color: #4a90e2;
  margin-bottom: 1rem;
}

.subject-title {
  font-family: 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  font-size: 1.3rem;
  color: #e0e0e0;
  margin: 0;
}

.pricing-section {
  background-color: #111;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.pricing-card {
  background: #1c1c1c;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2.5rem;
  text-align: center;
}

.pricing-card.student-plan {
  border-color: #4a90e2;
  transform: scale(1.05);
}

.plan-header {
  margin-bottom: 2rem;
}

.plan-title {
  font-family: 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  font-size: 1.6rem;
  color: #fff;
  margin: 0 0 0.5rem 0;
}

.plan-subtitle {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.plan-features li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 1.1rem;
}

.plan-features li span {
  color: rgba(255, 255, 255, 0.8);
}

.plan-features li strong {
  font-size: 2rem;
  color: #4a90e2;
}

.plan-features li.special-offer {
  background: rgba(74, 144, 226, 0.1);
  margin: 0 -2.5rem;
  padding: 1rem 2.5rem;
}

.notes-section {
  background-color: #1c1c1c;
  border-bottom: none;
}

.notes-text {
  background: rgba(0, 0, 0, 0.2);
  border-left: 4px solid #c0392b;
  padding: 1.5rem 2rem;
  border-radius: 4px;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
  .exam-section {
    padding: 80px 5%;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .pricing-card.student-plan {
    transform: scale(1);
  }
  .concept-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}
