/* Reset styles */
*,
::before,
::after {
  box-sizing: border-box;
  border-style: solid;
  border-width: 0;
}

html, body,
h1, h2, h3, h4, h5, h6,
a, p, span,
ol, ul, li,
div, section, article,
main, aside, nav,
header, hgroup, footer,
img, figure, figcaption {
  padding: 0;
  margin: 0;
  border: 0;
}

a {
  text-decoration: none;
  outline: none;
  color: inherit;
  cursor: pointer;
}

ol, ul {
  list-style: none;
}

img {
  border-style: none;
  vertical-align: middle;
  width: 100%;
  height: auto;
}

/* Base styles */
html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-size: 1.6rem;
  font-weight: 500;
  font-family: "M PLUS 1p", sans-serif;
  line-height: 2;
  letter-spacing: 0.08em;
  background-color: #ABA7FF;
  color: #624F8F;
  position: relative;
  overflow-x: hidden;
  overflow-y: scroll;
}

main {
  padding-top: 60px;
}

:root {
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --secondary-gradient: linear-gradient(135deg, #f8f9ff 0%, #e8f2ff 100%);
  --text-color-dark: #2c3e50;
  --text-color-light: #ffffff;
  --box-shadow-light: 0 10px 30px rgba(0, 0, 0, 0.1);
  --box-shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #ABA7FF;
  border-bottom: 4px solid #624F8F;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 10px 0;
}

.header-container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin: 0 auto;
  padding: 0 20px;
}

@media (max-width: 768px) {
  .site-header {
    padding: 6px 0;
  }
}

/* メインナビゲーション - 常に非表示、ハンバーガーメニューで切り替え */
.main-nav {
  display: none;
  position: absolute;
  top: 70px;
  left: 0;
  width: 100%;
  background-color: rgba(173, 255, 255, 0.95);
  padding: 20px 0;
}

.main-nav.active {
  display: block;
}

.nav-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  margin: 10px 0;
}

.nav-item-link {
  display: none;
}

@media (max-width: 768px) {
  .main-nav {
    top: 60px;
  }

  .nav-item-link {
    display: inline;
  }
}

.logo-item {
  position: static;
  flex-shrink: 0;
  -webkit-appearance: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
}

.logo-item a {
  display: block;
  line-height: 0;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
}

.logo-item img {
  height: 50px;
  width: auto;
  display: block;
  max-width: 150px;
}

.nav-link {
  color: #2c3e50;
  text-decoration: none;
  font-weight: 500;
  font-size: 18px;
  transition: color 0.3s ease;
  padding: 5px 0;
  position: relative;
}

@media (max-width: 768px) {
  .nav-link {
    font-size: 16px;
  }
}

.nav-link:hover {
  color: #ABA7FF;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #ABA7FF;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.site-link {
  background-color: #FFF9C4;
  color: #2c3e50;
  padding: 4px 20px;
  border-radius: 20px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  position: relative;
  display: inline-block;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  text-align: center;
  width: 160px;
  box-sizing: border-box;
}

.site-link:hover {
  background-color: #fff458;
  color: #2c3e50 !important;
}

.site-link::after {
  height: 0 !important;
}

@media (max-width: 768px) {
  .site-link {
    font-size: 14px;
    padding: 4px 0px;
    width: 100px;
  }
}

.mobile-menu-toggle {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: white;
  transition: all 0.3s ease-in-out;
}

.header-always-visible {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

/* Background */
.bg {
  width: 100vw;
  height: 100vh;
  background-image: url(../asset/img/bg.webp);
  background-size: cover;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.bg__inner {
  width: 100%;
  height: 100%;
  position: relative;
}

.bg__cloud {
  position: fixed;
}

.bg__cloud-01 {
  width: 459px;
  top: 0;
  right: 0;
  z-index: 1;
}

.bg__cloud-02 {
  width: 100vw;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.bg__cloud-03 {
  width: 100vw;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.bg__item {
  position: fixed;
}

.bg__item img {
  will-change: transform;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

.bg__moon {
  width: 320px;
  left: 6.25vw;
  bottom: 20vh;
  z-index: 2;
}

.bg__star-01 {
  width: 70.18px;
  left: 4.16667vw;
  bottom: 19vh;
  z-index: 4;
}

.bg__star-02 {
  width: 35.77px;
  left: 27vw;
  bottom: 16vh;
  z-index: 4;
}

.bg__star-03 {
  width: 27.69px;
  right: 25vw;
  bottom: 19vh;
  z-index: 4;
}

.bg__star-04 {
  width: 51.84px;
  right: 14vw;
  bottom: 21vh;
  z-index: 4;
}

.bg__star-05 {
  width: 22.6px;
  left: 17vw;
  bottom: 10vh;
  z-index: 4;
}

.bg__star-06 {
  width: 8.61px;
  left: 19.6vw;
  bottom: 12vh;
  z-index: 4;
}

.bg__star-07 {
  width: 19px;
  left: 23vw;
  bottom: 33vh;
  z-index: 4;
}

.bg__star-08 {
  width: 18px;
  right: 20vw;
  bottom: 10vh;
  z-index: 4;
}

.bg__star-09 {
  width: 14.68px;
  right: 5vw;
  bottom: 9vh;
  z-index: 4;
}

/* Main visual */
.main-visual {
  position: relative;
  z-index: 2;
}

.fv {
  display: flex;
}

.fv img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Responsive image display */
.sp-img {
  display: none;
}

.pc-img {
  display: block;
}

@media screen and (max-width: 768px) {
  .sp-img {
    display: block;
  }

  .pc-img {
    display: none;
  }
}

/* Courses */
.courses {
  padding: 0 11px;
  position: relative;
  z-index: 2;
}

.courses__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  border-radius: 22px;
  padding: 32px 0 0;
}

/* Topics section */
.topics-section {
  width: 80%;
  max-width: 1129.8px;
  padding: 60px 0;
  margin: 0 auto 60px;
  background: var(--secondary-gradient);
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

@media screen and (max-width: 768px) {
  .topics-section {
    width: 100%;
  }
}

.topics__title {
  text-align: center;
  font-size: 40px;
  font-weight: 700;
  color: #2c3e50;
  position: relative;
}

.topics__title__sub {
  text-align: center;
  font-size: 18px;
  color: #2c3e50;
  margin-top: -16px;
  margin-bottom: 30px;
  position: relative;
}

@media (max-width: 768px) {
  .topics__title {
    font-size: 24px;
  }

  .topics__title__sub {
    font-size: 14px;
  }

  .topics-section--about-idolgakuen {
    font-size: 20px;
    text-align: center;
  }
}

.topics-section--about-idolgakuen {
  text-align: center;
  font-size: 20px;
}

.topics-section--about-idolgakuen h1 {
  font-size: 40px;
  font-weight: bold;
  text-align: center;
  margin: 20px 0;
  text-shadow:
    1px 1px 1px #DEADFF,
    -1px 1px 1px #DEADFF,
    1px -1px 1px #DEADFF,
    -1px -1px 1px #DEADFF,
    2px 0 2px #DEADFF,
    -2px 0 2px #DEADFF,
    0 2px 2px #DEADFF,
    0 -2px 2px #DEADFF;
}

.topics-section--about-idolgakuen .site-link {
  font-size: 20px;
  padding: 4px 20px;
  width: 160px;
  border-radius: 24px;
  margin-top: 30px;
}

@media (max-width: 768px) {
  .topics-section--about-idolgakuen {
    font-size: 16px;
    padding: 40px 20px;
  }

  .topics-section--about-idolgakuen h1 {
    font-size: 7vw;
    margin: 5vh 0;
    line-height: 1.4;
  }

  .topics-section--about-idolgakuen p {
    font-size: 3.5vw;
    line-height: 1.6;
    margin-bottom: 15px;
  }

  .topics-section--about-idolgakuen .site-link {
    font-size: 16px;
    padding: 4px 16px;
    width: 120px;
  }
}

.pc-text {
  display: block;
}

.sp-text {
  display: none;
}

@media (max-width: 768px) {
  .pc-text {
    display: none;
  }

  .sp-text {
    display: block;
  }
}

.artist-image-single {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}
.artist-image-single img {
  width: 100%;
  height: auto;
  padding: 20px;
}

.artist-image-single .pc-img {
    display: block;
}

.artist-image-single .sp-img {
  display: none;
}

@media screen and (max-width: 768px) {
  .artist-image-single .pc-img {
    display: none;
  }

  .artist-image-single .sp-img {
    display: block;
  }
}


/* Fes table styles */
.fes-table-container {
  overflow-x: auto;
  margin: 30px 0;
  padding: 0 20px;
}

.fes-table {
  width: 100%;
  margin: 0 auto;
  border-collapse: collapse;
  background-color: white;
  overflow: hidden;
}

.fes-table td {
  padding: 16px 20px;
  border-bottom: 1px solid #eaeaea;
  vertical-align: top;
  line-height: 1.6;
}

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

.fes-table .table-header {
  background-color: white;
  color: #624F8F;
  font-size: 20px;
  font-weight: 700;
  text-align: left;
  width: 30%;
  min-width: 120px;
  border-right: 1px solid #eaeaea;
}

.fes-table.ticket-table .table-header {
  width: 60%;
}

.fes-table td:not(.table-header) {
  background-color: white;
  color: #624F8F;
  font-size: 18px;
}

.fes-table tr:nth-child(even) .table-header {
  background-color: #fbfbfb;
}

.fes-table tr:nth-child(even) td:not(.table-header) {
  background-color: #fbfbfb;
}

.fes__table__info {
  text-align: center;
}

@media (max-width: 768px) {
  .fes__table__info {
    font-size: 10px;
  }
}

.sp-br {
  display: none;
}

@media (max-width: 768px) {
  .sp-br {
    display: inline;
  }
}

.table-link {
  color: #0066cc;
  text-decoration: underline;
  margin-left: 0px;
}

.table-link:hover {
  color: #4d9fff;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .table-link {
    font-size: 10px;
  }

  .fes-table .table-header {
    font-size: 14px;
  }

  .fes-table td:not(.table-header) {
    font-size: 12px;
  }
}

.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.sponsor-item {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sponsor-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.sponsor-item img {
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
}

.sponsor-item:hover img {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .sponsor-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 15px;
  }
}

.support-sponsor-title {
  text-align: center;
  font-size: 18px;
  color: #2c3e50;
  margin-top: 30px;
  position: relative;
}

@media (max-width: 768px) {
  .support-sponsor-title {
    font-size: 14px;
  }
}

.support-sponsor-title {
  text-align: center;
  font-size: 18px;
  color: #2c3e50;
  margin-top: 30px;
  position: relative;
}

@media (max-width: 768px) {
  .support-sponsor-title {
    font-size: 14px;
  }
}

.support-sponsor-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px 20px;
  margin: 0 auto;
}

.support-sponsor-item {
  aspect-ratio: 16/9;
  overflow: hidden;
  width: 20%;
  min-width: 140px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 8px;
}

.support-sponsor-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.support-sponsor-item img {
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
}

.support-sponsor-item:hover img {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .support-sponsor-grid {
    padding: 10px 15px;
    max-width: 80%;
  }

  .support-sponsor-item {
    width: 50%;
    min-width: 100px;
  }
}

.ticket__info {
  margin-left: 40px;
  font-size: 20px;
  font-weight: 700;
}

.ticket__info__list {
  padding: 0 20px;
  margin: 10px 20px;
}

.ticket__info__list li {
  margin-bottom: 12px;
  line-height: 1.6;
  position: relative;
  padding-left: 20px;
}

.ticket__info__list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #624F8F;
  font-weight: bold;
}

.ticket__sale {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #2c3e50;
}

.ticket__link {
  background-color: #DEADFF;
  color: #2c3e50;
  padding: 4px 20px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  position: relative;
  display: block;
  font-size: 20px;
  text-decoration: none;
  white-space: nowrap;
  text-align: center;
  width: 160px;
  box-sizing: border-box;
  margin: 0 auto;
}

.ticket__link:hover {
  background-color: #be61fc;
  color: #2c3e50 !important;
}

.ticket__link::after {
  height: 0 !important;
}

@media (max-width: 768px) {
  .ticket__info {
    font-size: 14px;
  }

  .ticket__info__list {
    font-size: 10px;
  }

  .ticket__sale {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .ticket__link {
    font-size: 16px;
    padding: 4px 6px;
    width: 140px;
  }
}

.attention-list {
  padding: 0 40px;
  margin: 20px 0;
}

.attention-list li {
  margin-bottom: 12px;
  line-height: 1.6;
  position: relative;
  padding-left: 20px;
}

.attention-list li.attention-notice::before {
  content: "※";
  position: absolute;
  left: 0;
  font-weight: bold;
}

.attention-list li.attention-square::before {
  content: "■";
  position: absolute;
  left: 0;
  font-weight: bold;
  color: #624F8F;
}

.attention-list li:not(.attention-notice):not(.attention-square)::before {
  content: '•';
  position: absolute;
  left: 0;
  font-weight: bold;
}

@media (max-width: 768px) {
  .attention-list {
    font-size: 10px;
  }

  .attention-notice {
    font-size: 10px;
    margin-bottom: 10px;
  }
}

.footer {
  padding: 16px 0;
  display: -webkit-flex;
  display: flex;
  background-color: #ABA7FF;
  border-top: 4px solid #624F8F;
  -webkit-flex-direction: column;
  flex-direction: column;
  -webkit-align-items: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

.footer::before {
  content: "";
  display: block;
  width: 100%;
  height: 0px;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background: rgb(181, 197, 254);
  background: linear-gradient(180deg, rgb(181, 197, 254) 2%, rgb(198, 236, 244) 42%, rgb(246, 200, 217) 100%);
  z-index: 1;
}

.footer__logo {
  width: 150px;
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .footer {
    padding: 8px 0;
  }

  .footer__logo {
    width: 100px;
  }
}