section {
  position: relative;
}
section .anchor {
  position: relative;
  top: max(-60px, -8vw);
}
#wrapper {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}
.nav {
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  pointer-events: auto;
  z-index: 100;
}
.nav:has(.nav-btn.on) .nav-bg {
  opacity: 0.95;
  visibility: visible;
  z-index: 2;
}
.nav:has(.nav-btn.on) .nav-menu {
  right: 0;
  opacity: 1;
  visibility: visible;
  z-index: 2;
}
.nav-bg {
  content: "";
  display: block;
  width: 100%;
  height: 100lvh;
  position: absolute;
  inset: 0;
  background-color: #fff;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  pointer-events: auto;
  z-index: -1;
}
.nav-btn {
  position: absolute;
  top: 0;
  right: 0;
  aspect-ratio: 1/1;
  width: min(60px, 16vw);
  background-color: #1B0965;
  pointer-events: auto;
  /* box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.2); */
  z-index: 10;
}
.nav-btn.on > span:nth-of-type(1) {
  background-color: #FFF;
  translate: none;
  rotate: 45deg;
}
.nav-btn.on > span:nth-of-type(2) {
  opacity: 0;
}
.nav-btn.on > span:nth-of-type(3) {
  translate: none;
  background-color: #FFF;
  rotate: -45deg;
}
.nav-btn > span {
  position: absolute;
  display: block;
  width: 27px;
  height: 3px; 
  border-radius: 0;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  transition: 0.3s;
  opacity: 1;
}
.nav-btn > span:nth-of-type(1) {
  background-color: #fff;
  translate: 0 max(-20px, -2.2vw);
}
.nav-btn > span:nth-of-type(2) {
  background-color: #fff;
}
.nav-btn > span:nth-of-type(3) {
  translate: 0 min(20px, 2.2vw);
  background-color: #fff;
}
.nav-menu {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100lvh;
  transition: 0.3s;
  opacity: 0;
  visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: min(140px, 15.666667vw) 0 min(60px, 8vw);
  overflow: auto;
}
.nav-menu > a {
  pointer-events: auto;
  display: block;
  width: min(400px, 53.3333333333vw);
  margin: 0 auto min(50px, 6.6666666667vw);
}
.nav-menu > ul {
  display: flex;
  width: 100%;
  flex-direction: column;
  text-align: left;
  pointer-events: auto;
}
.nav-menu > ul:has([href="#information"]) > li:not(:last-of-type) {
  letter-spacing: 0.1em;
  font-family: "Poppins", sans-serif;
}
.nav-menu > ul > li {
  font-weight: 600;
  align-items: center;
  padding-left: 15px;
  border-bottom: 1px solid #D9D9D9;
  padding: 15px 15px;
}
.nav-menu > ul > li:first-child {
  border-top: 1px solid #ddd;
}

.nav-menu > ul > li > a {
  display: flex;
  align-items: center;
  position: relative;
  font-size: min(20px, 5.266667vw);
}
.nav-menu > ul > li > a::after {
  content: "";
  display: block;
  width: 100%;
  height: 1.5px;
  position: absolute;
  left: 0;
  bottom: 0;
}
.nav-menu > ul > li > a > span {
  font-size: 14px;
  padding-left: 10px;
  vertical-align: middle;
}

.nav-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-menu ul li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  border-bottom: 1px solid #ddd;
}

.nav-menu ul li:first-child {
  border-top: 1px solid #ddd;
}

.nav-menu ul li a {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 8px;
  text-decoration: none;
  font-size: 18px;
  color: black;
}

.nav-menu ul li .highlight {
  color: #1B0965;
  font-weight: bold;
}

.external-link-icon {
  width: 18px;
  height: 18px;
  margin-left: auto;
  color: black;
}

.nav-menu ul li a.highlight .external-link-icon {
  color: #1B0965;
  margin-left: auto;
}

.top-title-h2 {
  position: relative;
  text-align: center;
  margin-bottom: min(50px, 6.6666666667vw);
}
.top-title-h2 > h2 {
  font-size: min(4.4rem, 5.8666666667vw);
  font-weight: bold;
  letter-spacing: 0.1em;
}
.top-title-h2 > p {
  font-weight: 600;
  letter-spacing: 0.3em;
  font-size: min(2.8rem, 3.7333333333vw);
  font-family: "Poppins", sans-serif;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  width: fit-content;
  margin: 0 auto;
}
.top-title-h3 {
  aspect-ratio: 290/54;
  width: min(580px, 77.3333333333vw);
  font-size: min(3.6rem, 4.8vw);
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: min(50px, 6.6666666667vw) auto;
}
.top-title-h3::before, .top-title-h3::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  position: absolute;
  left: 0;
}
.top-icon {
  margin: min(50px, 6.6666666667vw) 0;
  text-align: center;
}
.top-icon > img {
  width: min(200px, 26.6666666667vw);
}
.top-cv {
  position: fixed;
  left: 0;
  right: 0;
  margin: 0 auto;
  bottom: 0;
  width: min(750px, 100vw);
  background-color: #fff;
  padding: min(30px, 4vw) 0 min(40px, 5.3333333333vw);
  visibility: hidden;
  opacity: 0;
  transition: 0.3s;
  bottom: max(-30px, -4vw);
}
.top-cv.on {
  visibility: visible;
  opacity: 1;
  bottom: 0;
}
.top-cv::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #E95377 21%, #59CED1 67%, #FFDA00);
  opacity: 0.2;
}
.top-cv-text {
  position: relative;
  text-align: center;
  font-size: min(2.6rem, 3.4666666667vw);
  margin-bottom: min(20px, 2.6666666667vw);
}
.top-cv .btn {
  margin-top: 0;
  position: relative;
}
.top-mv {
  position: relative;
}
.top-wrap {
  position: relative;
  padding: 0 15px;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  padding-bottom: 30px;
}
.top-wrap > img {
  position: absolute;
  right: 0;
  bottom: min(20px, 2.6666666667vw);
  width: min(675px, 90vw);
}
.top-wrap > section:nth-of-type(n+2) {

}

.footer {
  padding: min(40px, 5.3333333333vw) 0 min(30px, 4vw);
  background-color: #222222;
  /* font-size: min(26px, 3.4666666667vw); */
  text-align: center;
  color: #fff;
}
.footer > a {
  display: block;
  margin: 0 auto min(20px, 2.6666666667vw);
  width: min(240px, 32vw);
}
.footer-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
@media screen and (min-width: 749.99px), print {
  .top-cv .btn > p {
    font-size: 2.2rem;
  }
}

/*  */
/*  */
.header-logo {
  top: 0;
  width: min(750px, 100vw);
  background-color: #fff;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
}

.nav-content a {
  display: flex;
  align-items: center;
  position: absolute;
  top: 5px;
  z-index: 10;
  padding-left: 10px;
}

.nav-content img {
  width: 65px;
}

.nav-content h1 {
  font-family: "Noto Serif JP", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  padding-left: 10px;
  font-size: 20px;
}

/* news */
/*  */
/*  */
.news-section {
  width: 100%;
  max-width: 750px;
  margin: 0 auto;
  padding: 20px 15px 0px;
  margin-bottom: 30px;
}

.news-title {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 15px;
  color: #1B0965;
}

.news-title span {
  display: block;
  font-size: 16px;
  color: #666;
}

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

.news-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 10px 0 10px;
  border-bottom: 1px solid #ddd;
}

.news-date {
  font-size: 14px;
  color: #666;
  min-width: 90px;
  font-weight: bold;
}

.news-content-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.news-badge {
  background-color: red;
  color: white;
  font-size: 12px;
  font-weight: bold;
  padding: 4px 8px;
  white-space: nowrap;
}

.news-content {
  font-size: 16px;
  font-weight: bold;
  color: #222222;
  flex: 1;
}

@media (max-width: 600px) {
  .news-item {
      flex-direction: column;
      align-items: flex-start;
  }

  .news-date {
      font-size: 13px;
  }

  .news-badge {
      font-size: 11px;
      padding: 3px 6px;
  }

  .news-content {
      font-size: 14px;
  }
}

.about-section {
  width: 100%;
  max-width: 750px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.about-content {
  background-color: #1B0965;
  color: white;
  text-align: center;
  padding: 30px 20px;
  position: relative;
  z-index: 1;
}

.about-content h2 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 5px;
}

.about-content .about-subtitle {
  font-size: 16px;
  font-weight: bold;
  opacity: 1;
  margin-bottom: 10px;
}

.about-content p {
  font-size: 16px;
  line-height: 1.6;
}

.features {
  position: relative;
  width: 100%;
  height: min(750px, 100vw);
  background-image: url('/cpn/april2025/assets/images/sp/about.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.feature-item {
  position: absolute;
  width: 100%;
  text-align: left;
  color: white;
  padding: 20px;
}

.feature-item:nth-child(1) {
  top: 15%;
}

.feature-item:nth-child(2) {
  top: 45%;
}

.feature-item:nth-child(3) {
  top: 83%;
}

.feature-content {
  display: inline-block;
}

.feature-content h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 5px;
}

.feature-content p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .features {
      height: 75vh;
      min-height: 400px;
  }
}

@media (max-width: 480px) {
  .features {
      height: 100vh;
      min-height: 817px;
  }
}

.info-card {
  width: 100%;
  max-width: 750px;
  padding: 50px 15px 20px;
}

.white-bg {
  background-color: #fff;
}

.blue-bg {
  background-color: #1B0965;
  color: white;
}

.info-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 20px;
  margin-bottom: 20px;
  position: relative;
}

.white-bg .info-header::before,
.blue-bg .info-header::before {
  content: "";
  position: absolute;
  left: 0;
  /* top: 8px; */
  width: 7px;
  height: 39px;
  background-color: #1B0965;
}

.blue-bg .info-header::before {
  background-color: #fff;
}

.info-header h2 {
  font-size: min(4rem, 8vw);
  font-size: 24px;
}


.white-bg .info-header h2 {
  color: #1B0965;
}

.blue-bg .info-header h2,
.blue-bg .info-subtitle {
    color: white;
}

.info-subtitle {
  font-size: 14px;
  font-weight: bold;
  opacity: 1;
  color: #1B0965;
}


.info-image img {
  width: 100%;
  object-fit: cover;
}

.info-description {
  font-size: 14px;
  line-height: 1.6;
  margin-top: 10px;
}

.white-bg .info-description {
  color: #222222;
}

.blue-bg .info-description {
  color: white;
}

.info-button {
  text-align: center;
  padding: 30px 0 40px;
}

.btn-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 15px;
  font-size: 14px;
  font-weight: bold;
  border: 2px solid #1B0965;
  border-radius: 5px;
  text-decoration: none;
  transition: 0.3s ease-in-out;
}

.white-bg .btn-more {
  color: #1B0965;
  border-color: #1B0965;
}

.white-bg .btn-more:hover {
  background: #1B0965;
  color: #fff;
}

.blue-bg .btn-more {
  color: #fff;
  border-color: #fff;
}

.blue-bg .btn-more:hover {
  background: #fff;
  color: #1B0965;
}

.btn-more span {
  font-size: 16px;
}

/*  */
/*  */
.top-mv {
  position: relative;
  width: 100%;
  text-align: center;
}

.mv-content {
  position: relative;
}

.mv-text {
  position: absolute;
  left: 0;
  top: 90px;
  background: #1B0965;
  color: white;
  padding: 10px 15px;
  font-size: 18px;
  font-weight: bold;
}

.top-mv img {
  width: 100%;
  height: auto;
}

.intro-section {
  background: white;
  padding: 50px 20px;
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  color: #1B0965;
}

.special-curriculum {
  background: #1B0965;
  color: white;
  text-align: center;
  padding: 25px 20px;
  font-size: 18px;
  font-weight: bold;
}

.special-curriculum h2 {
  font-size: 20px;
}

.special-curriculum p {
  font-size: 24px;
}

.highlight-title {
  position: relative;
  display: inline-block;
  font-size: 20px;
  font-weight: bold;
  z-index: 1;
  color: #1B0965;
}

.highlight-title::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 10px;
  background-color: #FFD700;
  z-index: -1;
}

.lesson-section {
  text-align: center;
  padding: 20px 0px 30px;
}

.lesson-section img {
  width: 100%;
  max-width: 750px;
  padding: 20px 0 0;
}

.lesson-section p {
  text-align: left;
  padding-top: 20px;
  line-height: 27px;
}

.character-section {
  text-align: center;
}

.character-section h3 {
  text-align: left;
  font-size: 14px;
  padding-bottom: 20px;
  font-weight: bold;
  color: #1B0965;
}

.character-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 15px;
}

.character-item {
  text-align: center;
  width: calc(50% - 10px);
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.character-item img {
  width: 60px;
  max-width: 60px;
  border-radius: 8px;
}

.character-item p {
  font-size: 12px;
  text-align: left;
  padding-left: 7px;
  font-weight: bold;
}

.character-title {
  font-size: 14px;
  text-align: left;
  padding-left: 7px;
  color: #1B0965;
  font-weight: bold;
}

.character-name {
  font-size: 14px;
  text-align: left;
  padding-left: 7px;
  font-weight: bold;
}

.info-button {
  margin-top: 15px;
  text-align: center;
}

.btn-more {
  width: 250px;
  display: inline-flex;
  align-items: center;
  justify-content: space-around;
  gap: 8px;
  padding: 10px 15px;
  font-size: 14px;
  font-weight: bold;
  border: 2px solid #1B0965;
  border-radius: 5px;
  text-decoration: none;
  transition: 0.3s ease-in-out;
  color: #1B0965;
}

.btn-more:hover {
  background: #1B0965;
  color: #fff;
}

/* modal */
.modal {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.modal.show {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: white;
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.95);
  transition: transform 0.3s ease-in-out;
}

.modal-body {
  flex: 1;
  overflow-y: auto;
}

.modal.show .modal-content {
  transform: scale(1);
}

.modal-body .character-list {
  display: block;
  padding: 40px 10px 0;
}

.modal-body .character-list .character-item {
  width: 100%;
  padding-bottom: 10px;
}

.modal-body .character-list .character-item img {
  width: 100px;
}

.close-btn {
  position: absolute;
  right: 0;
  top: 0;
  /* font-size: 40px; */
  font-weight: bold;
  cursor: pointer;
  color: #222222;
  padding: 10px;
  border-radius: 50%;
  z-index: 100;
}

.close-btn img {
  width: 25px;
}

.title-question h3 {
  text-align: center;
  font-size: 16px;
  padding-bottom: 20px;
  font-weight: bold;
  color: #fff;
}

.modal-footer {
  flex-shrink: 0;
  background: rgba(39, 39, 39, 0.8);
  backdrop-filter: blur(10px);
  color: white;
  padding: 20px 10px;
  margin-top: auto;
  background-size: cover;
  background-repeat: no-repeat;
}

.question-text {
  text-align: left;
  font-size: 14px;
  font-weight: 300;
}

.character-dialogue {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 25px 0px;
}

.dialogue-line {
  display: flex;
  align-items: flex-start;
}

.char-name {
  flex: 0 0 60px;
  color: #fff;
  white-space: nowrap;
  text-align: left;
  margin-right: 10px;
}

.char-dialogue {
  flex: 1;
  word-break: break-word;
  text-align: left;
  font-weight: 300;
}

/*  */
/* calender */
.timeline {
  padding-bottom: 40px;
}

.timeline-month {
  display: flex;
  border-bottom: 1px solid #D9D9D9;
}
.timeline-month:last-child {
  border-bottom: none;
}
.news-item:last-child {
  border-bottom: none;
  padding-bottom: 30px;
}
.month-box {
  background: #A19ABD;
  color: white;
  font-size: 16px;
  font-weight: bold;
  padding: 5px 5px;
  min-width: 80px;
  display: flex;
  justify-content: right;
}

.event-content {
  background: white;
  padding: 15px;
  width: 100%;
  max-width: 550px;
  display: flex;
  flex-direction: column;
}

.event-content img {
  width: 100%;
  margin-bottom: 10px;
}

.event-content h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 5px;
  color: #1B0965;
}

.event-content p {
  font-size: 14px;
  line-height: 1.6;
}

/* news */
/*  */
/*  */
.news-detail {
  background: white;
  padding: 20px 15px 50px;
}

.news-date {
  display: block;
  font-size: 14px;
  color: #666;
  margin-bottom: 5px;
}

.news-headline {
  font-size: 16px;
  font-weight: bold;
  color: #1B0965;
  margin-bottom: 15px;
  line-height: 1.4;
}

.news-text {
  font-size: 14px;
  line-height: 1.6;
  color: #222222;
}

.newslight {
  text-align: center;
  padding-bottom: 20px;
}

.newslight-title {
  position: relative;
  display: inline-block;
  font-size: 20px;
  font-weight: bold;
  z-index: 1;
  color: #1B0965;
}

.newslight-title::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 10px;
  background-color: #FFD700;
  z-index: -1;
}



#new-section {
  background-color: #F2F0F9;
}

/* banner */
/*  */
/*  */
.campaign-section {
  text-align: center;
  padding: 0px 0px 50px;
}

.highlight-title {
  position: relative;
  display: inline-block;
  font-size: 20px;
  font-weight: bold;
  color: #1B0965;
  margin-bottom: 15px;
}

.highlight-title::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 8px;
  background-color: #FFD700;
  z-index: -1;
}

.campaign-text {
  text-align: left;
  font-size: 14px;
  line-height: 1.6;
  color: #222222;
  padding-bottom: 30px;
}

.campaign-banner {
  /* background-color: #D3D3D3; */
  width: 100%;
  max-width: 400px;
  /* height: 215px; */
  margin: 0px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
  color: #222222;
  padding-bottom: 34px;
  flex-direction: column;
}

.campaign-banner p {
  padding-top: 15px;
  font-size: 14px;
}

.sub-title {
  font-size: 16px;
  font-weight: bold;
  padding: 0 15px;
  color: #1B0965;
}

.btn-apply {
  width: 250px;
  display: inline-flex;
  align-items: center;
  justify-content: space-around;
  gap: 8px;
  padding: 10px 15px;
  font-size: 14px;
  font-weight: bold;
  border: 2px solid #1B0965;
  border-radius: 5px;
  text-decoration: none;
  transition: 0.3s ease-in-out;
  color: #1B0965;
}

.btn-apply:hover {
  background: #1B0965;
  color: #fff;
}

/*  */
/*  */
#title_01 {
  background-color: #FAE9DD;
}

#title_02 {
  background-color: #F4E0EA;
}

#title_03 {
  background-color: #D3DDF5;
}

#title_04 {
  background-color: #E7E1F0;
}

.app-section {
  padding: 0px 10px;
  text-align: center;
  max-width: 400px;
  margin: 0px auto 30px;
  border-radius: 10px;
}

.app-section h3 {
  font-size: 16px;
  font-weight: bold;
  color: #222222;
  padding: 25px 0 25px;
}

.character-evolution {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: space-around;
}

.evolution-group {
  display: flex;
  width: 146px;
  flex-direction: column;
  align-items: center;
  padding-bottom: 20px;
}

.evolution-row img {
  height: auto;
  display: block;
}

.evolution-text {
  text-align: left;
  font-size: 14px;
  font-weight: bold;
  margin-top: 5px;
}

.highlight-text  {
  position: relative;
  display: inline-block;
  font-size: 14px;
  font-weight: bold;
  z-index: 1;
  color: #1B0965;
  padding: 10px 0 0;
}

.highlight-text::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 10px;
  background-color: #FFD700;
  z-index: -1;
}

.app-title {
  font-size: 16px;
  font-weight: bold;
  color: #1B0965;
  /* margin-bottom: 10px; */
}

.app-description {
  font-size: 12px;
  color: #222222;
  line-height: 1.8;
  margin-bottom: 15px;
  text-align: left;
}

.app-image img {
  width: 100%;
  max-width: 150px;
  border-radius: 8px;
}

.app-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.app-download img {
  width: 120px;
  height: auto;
}

.app-footer {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 35px;
  padding: 20px 0 35px;
}

.app-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.app-buttons {
  display: flex;
  width: 160px;
  flex-direction: column;
  gap: 8px;
}

.app-download img {
  width: 100%;
  height: auto;
  display: block;
}

.fixed-right-menu {
  display: none;
}

.lesson-image img {
  width: 100%;
}

.app-image {
  width: 110px;
}

#app_hd {
  padding: 16px 0 7px;
}

@media screen and (min-width: 768px) and (max-width: 768px) {
  /* .sp {
    display: none;
  } */
  .about-section {
    width: 100%;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
  }
  .header-logo {
    top: 0;
    width: min(750px, 100vw);
    background-color: #fff;
    height: min(70px, 16vw);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10;
  }
  .nav-btn {
    position: absolute;
    top: 0;
    right: 0;
    aspect-ratio: 1/1;
    width: min(70px, 16vw);
    background-color: #1B0965;
    pointer-events: auto;
    box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.2);
    z-index: 10;
  }
  .nav-btn > span {
    position: absolute;
    display: block;
    aspect-ratio: 80/8;
    width: min(50px, 10.6666666667vw);
    border-radius: 0;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    transition: 0.3s;
    opacity: 1;
  }
  .intro-section {
    background: white;
    padding: 40px 20px;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: #1B0965;
  }
  .lesson-text {
    font-size: 20px;
    padding: 20px 0;
  }

  .lesson-text h4 {
    font-size: 18px;
    padding: 20px 0;
  }
  .mv-text {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #1B0965;
    color: white;
    padding: 10px 60px;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
  }
  .app-section {
    padding: 30px 10px;
    text-align: center;
    width: 100%;
    max-width: 1100px;
    margin: 0px auto 50px;
    display: flex;
    gap: 60px;
  }
  .chara, .app {
    width: 500px;
  }
  .character-item {
    text-align: center;
    width: calc(50% - 10px);
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }
  .character-item img {
    width: 100%;
    max-width: 100px;
    border-radius: 8px;
  }
  .character-item p {
    font-size: 22px;
    text-align: left;
    padding-left: 7px;
    font-weight: bold;
  }
  .footer {
    padding: min(40px, 5.3333333333vw) 0 min(30px, 4vw);
    background-color: #222222;
    font-size: min(18px, 3.4666666667vw);
    text-align: center;
    color: #fff;
    margin-top: 30px;
  }
}

/* PC */
.modal-body[data-modal="1"] .modal-footer {
  background-image: url("/cpn/april2025/assets/images/pc/modal_01.webp");
}
.modal-body[data-modal="2"] .modal-footer {
  background-image: url("/cpn/april2025/assets/images/pc/modal_02.webp");
}
.modal-body[data-modal="3"] .modal-footer {
  background-image: url("/cpn/april2025/assets/images/pc/modal_03.webp");
}
.modal-body[data-modal="4"] .modal-footer {
  background-image: url("/cpn/april2025/assets/images/pc/modal_04.webp");
}

/* SP */
@media screen and (max-width: 768px) {
  .modal-body[data-modal="1"] .modal-footer {
    background-image: url("/cpn/april2025/assets/images/sp/modal_01.webp");
  }
  .modal-body[data-modal="2"] .modal-footer {
    background-image: url("/cpn/april2025/assets/images/sp/modal_02.webp");
  }
  .modal-body[data-modal="3"] .modal-footer {
    background-image: url("/cpn/april2025/assets/images/sp/modal_03.webp");
  }
  .modal-body[data-modal="4"] .modal-footer {
    background-image: url("/cpn/april2025/assets/images/sp/modal_04.webp");
  }
}
