@import url(shared.css);


/* Reset and Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  color: #1e2d55;
  background: #FFF0E6;
  background-size: 600% 600%;
  overflow-x: hidden;
}

/* Header – Mobile Default */
header {
  text-align: center;
  padding: 40px 20px 30px;
  background: transparent;
  max-width: 100%;
}

header h1 {
  font-size: 3rem;
  font-weight: 900;
  color: #1e2d55;
  line-height: 1.3;
  margin-bottom: 10px;
  letter-spacing: 0;
  /* No spacing */
  text-transform: none;
}

header h2 {
  font-size: 1.2rem;
  font-weight: 500;
  color: #d94b71;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0;
  margin-top: 4px;
}

/* Fade-in animation */
header h1,
header h2 {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s ease forwards;
}

header h2 {
  animation-delay: 0.3s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 769px) {
  header {
    padding: 15px 30px;
    margin-top: 20px;
  }

  header h1 {
    font-size: 3.5rem;
    letter-spacing: 15px;
    text-transform: uppercase;
    margin-bottom: 15px;
    line-height: 1;
  }

  header h2 {
    font-size: 2rem;
    letter-spacing: 5px;
    font-weight: bold;
    margin-top: 4px;
  }
}




/* Main Container */
.container {
  display: flex;
  max-width: 1300px;
  margin: 0 auto;
  padding: 20px;

}

/* Sidebar */
.sidebar {
  width: 280px;
  background: linear-gradient(180deg, rgba(255, 183, 164, 0.4), rgba(255, 218, 193, 0.2));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 20px;
  border-top-right-radius: 14px;
  border-bottom-right-radius: 14px;
  box-shadow: 2px 4px 24px rgba(255, 183, 164, 0.3);
  /* warmer glow */
}

.menu-toggle {
  display: none;
  background: #fff;
  color: #c06c84;
  font-weight: bold;
  padding: 10px 16px;
  border-radius: 8px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 1rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.sidebar {
  background-color: #FFA673;
}

.sidebar ul {
  list-style: none;
}

.sidebar li {
  margin-bottom: 0;
  border-bottom: 1.5px solid #1e2d5560;
  padding: 8px 0;
}


.sidebar a {
  display: block;
  padding: 10px 16px;
  font-weight: bold;
  font-size: 1.2rem;
  color: #1e2d55;
  text-decoration: none;
  position: relative;
  border-radius: 6px;
  transition: all 0.3s ease, transform 0.2s ease;
}

.sidebar a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #005945;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.3);
  transform: translateX(4px);

}

.sidebar a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 0%;
  background: #005945;
  border-radius: 4px;
  opacity: 0;
  transition: 0.3s ease;
}

.sidebar a:hover::before,
.sidebar a.active::before {
  opacity: 1;
  height: 100%;
}

.sidebar a.active {
  font-weight: 700;
  background: rgba(255, 255, 255, 0.15);
  color: #005945;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

/* sidebar  */

/* Poster */
.poster img {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 20px;
}

/* Download Poster */
.download-poster {
  margin-top: 20px;
  text-align: center;
}

.pdf-download-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  border-radius: 6px;
  overflow: hidden;
}

.poster-thumbnail {
  width: 180px;
  /* Fixed width */
  max-width: 100%;
  /* Responsive fallback */
  height: auto;
  /* Maintain aspect ratio */
  border-radius: 6px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}


.pdf-download-label {
  display: inline-block;
  padding: 8px 20px;
  background-color: #1e2d55;
  color: #ffffff;
  font-weight: bold;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #fff;
  transition: background 0.3s;
}

.pdf-download-label:hover {
  background-color: white;
  cursor: pointer;
  color: #1e2d55;
}

/* Hide thumbnail on small screens */
@media (max-width: 768px) {
  .poster-thumbnail {
    display: none;
  }
}

/* Main */
main {
  flex: 1;
  padding: 0 20px;
}

/* News Section */
.announcements {
  margin-top: 40px;
}

.announcements h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #1e2d55;
  border-left: 6px solid #d94b71;
  padding-left: 14px;
}

.news-scroll-box {
  max-height: 30vh;
  overflow-y: auto;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(6px);
  padding: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5c6c6;
}

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

.news-list li {
  font-size: 1rem;
  padding: 8px 0;
  border-bottom: 1px solid #f0e4e4;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: baseline;
}

.news-date {
  font-weight: 600;
  color: #d94b71;
  white-space: nowrap;
  min-width: 90px;
}

.news-list a {
  color: #1e2d55;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.news-list a:hover {
  color: #005945;
  text-decoration: underline;
}


/* Supporters */
.supporters {
  margin-top: 40px;
}

.supporters h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1e2d55;
  border-left: 6px solid #d94b71;
  padding-left: 14px;
}

.supporter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  /* padding: 10px 0; */
}

.supporter-card {
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
  /* Let it grow naturally */
  min-height: 110px;
  /* Gives it breathing room */
}

.supporter-card a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}

.supporter-card:hover {
  transform: translateY(-4px);
}

.supporter-card img {
  max-width: 100%;
  height: auto;
  object-fit: scale-down;
  max-height: 100px;
}

/* Adjust banner size for smaller screens */
@media (max-width: 768px) {
  .supporter-grid {
    grid-template-columns: repeat(2, 1fr);
    /* 2 per row for mobile */
  }

  .supporter-card {
    height: 80px;
    /* Reduce height for mobile */
    padding: 8px;
  }

  .supporter-card img {
    max-height: 60px;
  }
}

@media (max-width: 480px) {
  .supporter-grid {
    grid-template-columns: 1fr;
    /* 1 per row on very small screens */
  }

  .supporter-card {
    height: 70px;
  }

  .supporter-card img {
    max-height: 50px;
  }
}


/* Back to Top */
.back-to-top {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #d94b71;
  color: #fff;
  border: none;
  padding: 10px 15px;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  z-index: 999;
  font-size: 1rem;
}

.back-to-top.show {
  display: block;
}

/* Footer */
/* Footer */
footer {
  margin-top: 0;
  padding: 30px 20px;
  background: #f9f5f4;
  /* slightly warm neutral tone */
  font-size: 0.95rem;
  color: #333;
  margin-top: -15px;
}

.footer-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  flex-wrap: wrap;

}

.footer-container a {
  text-decoration: none;
  color: #d94b71;
}

.footer-info-left,
.footer-info-right {
  flex: 1 1 45%;
  min-width: 280px;
  line-height: 1.8;
}

/* Smaller h4 */
.footer-info-left h4,
.footer-info-right h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #00674F;
  /* brand-accent color */
  border-left: 4px solid #00674F;
  padding-left: 10px;
}

/* Footer bottom note */
.footer-rights {
  text-align: center;
  padding-top: 10px;
  border-top: 1px solid #ddd;
  margin-top: 20px;
  font-size: 0.85rem;
  color: #777;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-info-left,
  .footer-info-right {
    width: 100%;
    margin-bottom: 20px;
  }
}



/* Responsive */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    margin-bottom: 20px;
    border-radius: 10px;
  }

  .menu-toggle {
    display: inline-block;
    width: 100%;
    background: #fff;
    color: #c06c84;
    font-weight: bold;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 10px;
    cursor: pointer;
    text-align: center;
    font-size: 1rem;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  }

  .download-poster img {
    display: none;
  }

  .nav {
    display: none;
  }

  .nav.active {
    display: block;
    margin-top: 10px;
  }

  .footer-container {
    flex-direction: column;
  }

  .footer-info-left,
  .footer-info-right {
    width: 100%;
  }

  header h1 {
    font-size: 2rem;
  }

  header h2 {
    font-size: 1rem;
  }
}


/* ───────── Footer Top Section ───────── */
.footer-top {
  /* background: #fff9f7; */
  /* soft tone matching footer */
  border-top: 2px solid #f0e0d8;
  padding: 20px 0;
}

.footer-top-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  /* centers the whole block */
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.footer-logo {
  height: 70px;
  width: auto;
  display: block;
}

.footer-note {
  font-size: 1rem;
  color: #333;
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.6;
}

@media (max-width: 600px) {
  .footer-top-inner {
    flex-direction: column;
    gap: 10px;
  }

  .footer-logo {
    height: 55px;
  }

  .footer-note {
    font-size: 0.95rem;
  }
}




/* ───────────── Promo Video Section ───────────── */
.promo-video {
  margin-top: 60px;
}

.promovid-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #1e2d55;
  border-left: 6px solid #d94b71;
  padding-left: 14px;
}

.video-center {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  margin-bottom: 60px;
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  padding-bottom: 56.25%;
  /* 16:9 ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  /* background-color: #fce8e4; */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 768px) {
  .promovid-title {
    font-size: 1.3rem;
    padding-left: 10px;
    margin-top: 20px;
  }

  .video-center {
    margin-bottom: 40px;
  }
}

/* sposor page  */
/* ───────── Sponsor Page ───────── */
.btn-orange {
  display: inline-block;
  background-color: #e85a00;
  color: #fff !important;
  padding: 0.6em 1.2em;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.btn-orange:hover {
  background-color: #cc4d00;
}

/* Base table */
.sponsor-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 1rem;
}

.sponsor-table th,
.sponsor-table td {
  border: 1px solid #ccc;
  padding: 0.8rem;
  text-align: center;
  vertical-align: middle;
}

.sponsor-table th {
  background: #f7c9a6;
}

.sponsor-table tr:hover {
  background: #fff5ef;
}

/* Contact box */
.contact-box {
  background: #f9f9f9;
  border: 1px solid #ddd;
  padding: 1rem;
  margin-top: 2rem;
}

/* ───────── Responsive layout ───────── */
@media (max-width: 768px) {

  .sponsor-table,
  .sponsor-table thead,
  .sponsor-table tbody,
  .sponsor-table th,
  .sponsor-table td,
  .sponsor-table tr {
    display: block;
    width: 100%;
  }

  .sponsor-table thead {
    display: none;
    /* Hide header on mobile */
  }

  .sponsor-table tr {
    margin-bottom: 1.2rem;
    border: 2px solid #f7c9a6;
    border-radius: 10px;
    background: #fff;
    padding: 0.8rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  }

  .sponsor-table td {
    border: none;
    position: relative;
    padding-left: 50%;
    text-align: left;
    font-size: 0.95rem;
    border-bottom: 1px solid #eee;
  }

  .sponsor-table td:last-child {
    border-bottom: none;
  }

  /* Label each cell with header name */
  .sponsor-table td::before {
    content: attr(data-label);
    position: absolute;
    top: 0.6rem;
    left: 0.8rem;
    width: 45%;
    font-weight: bold;
    color: #1e2d55;
  }
}


/* sponsor page  */