html {
  font-size: 1.60771vw;
  scroll-behavior: smooth;
}

body {
  scroll-behavior: smooth;
  font-size: 1.6rem;
  font-family: Noto Sans JP, sans-serif;
  line-height: 1.6;
  background-color: #bfb08f;
  margin: 0;
  padding: 0;
}

img {
  display: block;
  width: 100%;
  height: auto;
}
button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin: 0;
  font-size: 100%;
  font-family: inherit;
  line-height: 1.5;
  color: inherit;
}
ul,
li {
  margin: 0;
  padding: 0;
  list-style: none;
}
dialog {
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  font-size: 100%;
  font-family: inherit;
  line-height: 1.5;
  color: inherit;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
}

@media screen and (min-width: 1280px) {
  html {
    font-size: 0.78125vw;
  }
}

/* =============================================
  common styles
============================================= */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.class-container {
  position: relative;
  padding: 14rem 2.5rem 5rem;
}
.class-container:not(:first-of-type) {
  padding: 10rem 2.5rem 5rem;
}
.class-container:before {
  position: absolute;
  content: "";
  top: 4rem;
  left: 0;
  width: 28rem;
  height: 8.3rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.class-container:not(:first-of-type):before {
  top: 0;
}

.class-container .shadow-wrapper {
  position: relative;
}
.class-container .shadow-wrapper:before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  transform: translate(3px, 3px);
  filter: blur(6px);
  mix-blend-mode: multiply;
  z-index: -1;
}

.class-container .movie-wrapper {
  position: relative;
}
.class-container .movie-wrapper:before {
  position: absolute;
  content: "";
  top: -7.3rem;
  right: -1.7rem;
  width: 30.4rem;
  height: 8.4rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -2;
}

.class-container .movie-wrapper video {
  width: 100%;
  height: auto;
}

.class-container .movie-wrapper .video-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  border: none;
  cursor: pointer;
}

.class-container .movie-wrapper.is-playing .video-overlay {
  pointer-events: none;
}

.class-container .note-wrapper {
  max-width: 57.2rem;
  width: 100%;
  margin-top: -0.7rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.class-container .promo-wrapper {
  margin-top: 2rem;
}

.modal {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal.is-open .modal-backdrop {
  opacity: 1;
}

.modal-content {
  position: relative;
  max-width: 80%;
  width: 100%;
  margin: auto;
  padding: 0;
  box-shadow: 0 0 10px 3px rgba(255, 255, 255, 0.3);
  z-index: 1001;
  opacity: 0;
  transform: scale(0.95) translateY(30px);
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s,
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

.modal.is-open .modal-content {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: -2rem;
  right: -2rem;
  width: 4rem;
  height: 4rem;
  background: rgba(255, 255, 255, 0.9);
  color: #000;
  font-size: 2.4rem;
  font-weight: bold;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  z-index: 1002;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: scale(0.8) rotate(-90deg);
}

.modal.is-open .modal-close {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  transition-delay: 0.2s;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.1) rotate(0deg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.modal-close:active {
  transform: scale(0.95) rotate(0deg);
}

@media screen and (min-width: 768px) {
  .class-container {
    padding: min(21.875vw, 280px) 0 min(3.90625vw, 50px);
  }
  .class-container:not(:first-of-type) {
    padding: min(12.5vw, 160px) 0 min(3.90625vw, 50px);
  }
  .class-container:before {
    width: min(44.7265625vw, 574px);
    height: min(10.546875vw, 135px);
    top: min(9.375vw, 120px);
  }
  .class-container .content-inner {
    max-width: min(72.2656vw, 925px);
    width: 100%;
    margin-inline: auto;
  }
  .class-container .promo-wrapper {
    max-width: min(73.59375vw, 942px);
    width: 100%;
    margin-inline: auto;
    margin-top: min(3.125vw, 40px);
  }
  .class-container .note-wrapper {
    max-width: 100%;
  }
  .modal-content {
    max-width: none;
    max-height: 80%;
    width: auto;
    height: 100%;
  }
  .modal-content img {
    width: auto;
    height: 100%;
  }
  .modal-close {
    width: min(3.125vw, 40px);
    height: min(3.125vw, 40px);
    font-size: min(1.875vw, 24px);
    top: min(-1.5625vw, -20px);
    right: min(-1.5625vw, -20px);
  }
}

/* =============================================
  mv-section
============================================= */
.mv-section {
  position: relative;
  aspect-ratio: 311/460;
  background-image: url("images/bg-mv_sp.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.mv-section .logo {
  position: absolute;
  top: 7.5rem;
  left: 3.5rem;
  max-width: 12.3rem;
  width: 100%;
}

@media screen and (min-width: 768px) {
  .mv-section {
    aspect-ratio: 674/525;
    background-image: url("images/bg-mv_pc.png");
  }
  .mv-section .logo {
    max-width: min(14.84375vw, 190px);
    top: min(5.859375vw, 75px);
    left: min(8.59375vw, 110px);
  }
}

/* =============================================
  first-class
============================================= */
.first-class:before {
  background-image: url("images/first-subject.png");
}
.first-class .movie-wrapper:before {
  background-image: url("images/first-label.png");
}
.first-class .note-wrapper {
  aspect-ratio: 572/253;
  background-image: url("images/first-note.png");
}

@media screen and (min-width: 768px) {
  .first-class:before {
    background-image: url("images/first-subject_pc.png");
  }
}

/* =============================================
  second-class
============================================= */
.second-class:before {
  background-image: url("images/second-subject.png");
}
.second-class .movie-wrapper:before {
  background-image: url("images/second-label.png");
}
.second-class .note-wrapper {
  aspect-ratio: 572/253;
  background-image: url("images/second-note.png");
}

@media screen and (min-width: 768px) {
  .second-class:before {
    background-image: url("images/second-subject_pc.png");
  }
}

/* =============================================
  third-class
============================================= */
.third-class:before {
  background-image: url("images/third-subject.png");
}
.third-class .movie-wrapper:before {
  background-image: url("images/third-label.png");
}
.third-class .note-wrapper {
  aspect-ratio: 572/253;
  background-image: url("images/third-note.png");
}

@media screen and (min-width: 768px) {
  .third-class:before {
    background-image: url("images/third-subject_pc.png");
  }
}

/* =============================================
  self-class
============================================= */
.self-class:before {
  height: 8.8rem;
  background-image: url("images/self-subject.png");
}
.self-class .movie-wrapper:before {
  background-image: url("images/self-label01.png");
}
.self-class .shadow-wrapper:nth-of-type(2) .movie-wrapper:before {
  background-image: url("images/self-label02.png");
}
.self-class .note-wrapper {
  aspect-ratio: 572/192;
  margin-top: 2.7rem;
  background-image: url("images/self-note.png");
}

.self-class .movie-wrapper-container {
  display: flex;
  flex-direction: column;
  gap: 10.6rem;
}

@media screen and (min-width: 768px) {
  .self-class:before {
    height: min(10.546875vw, 135px);
    background-image: url("images/self-subject_pc.png");
  }
}

/* =============================================
  footer
============================================= */
footer.c-footer {
  padding-top: max(48px, 4.8rem);
  background-color: #fff;
}

.c-footer__logo {
  max-width: max(300px, 34rem);
  width: 100%;
  margin: 0 auto max(48px, 4.8rem);
  padding: 0 max(20px, 2rem);
}

.c-footer__body,
.c-footer-02__body {
  padding: 0 max(20px, 2rem) max(50px, 5rem);
}

.c-footer__inner,
.c-footer-02__inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: max(40px, 4rem);
}

.c-footer__links,
.c-footer-02__links {
  display: flex;
  flex-direction: column;
  gap: max(24px, 2.4rem);
}

.c-footer__sns ul,
.c-footer-02__sns ul {
  display: flex;
  flex-direction: column;
  gap: max(16px, 1.6rem) max(30px, 3rem);
  margin-block: 0 max(20px, 2rem);
}

.c-footer__sns a,
.c-footer-02__sns a {
  display: flex;
  align-items: center;
  gap: max(10px, 1rem);
  color: inherit;
  text-decoration: none;
  font-size: max(16px, 1.6rem);
  font-family: Ubuntu, Noto Sans JP, sans-serif;
  width: 100%;
}
.c-footer__sns a:after,
.c-footer-02__sns a:after {
  content: "";
  inline-size: max(16px, 1.6rem);
  block-size: max(16px, 1.6rem);
  content: "";
  background: url("images/icon-external-black.svg") no-repeat center center /
    100%;
  margin-block-start: max(-2.5px, -0.25rem);
  margin-inline-start: max(-2.5px, -0.25rem);
}

.c-footer__sns a img,
.c-footer-02__sns a img {
  width: max(30px, 3rem);
}

.c-footer__info ul,
.c-footer-02__info ul {
  display: flex;
  flex-direction: column;
  gap: max(10px, 1rem) max(20px, 2rem);
}

.c-footer__info a,
.c-footer-02__info a {
  position: relative;
  display: block;
  padding-inline: max(20px, 2rem) 0;
  color: inherit;
  text-decoration: none;
  font-size: max(16px, 1.6rem);
}
.c-footer__info a:before,
.c-footer-02__info a:before {
  position: absolute;
  inset: 0 auto 0 0;
  display: inline-block;
  vertical-align: middle;
  content: "・";
}

.c-footer__copyright,
.c-footer-02__copyright {
  display: block;
  font-size: max(14px, 1.4rem);
  font-family: Ubuntu, Noto Sans JP, sans-serif;
  line-height: 1.5;
}

.c-footer__page-top,
.c-footer-02__page-top {
  flex: 0 1 auto;
  align-self: center;
}

.c-footer__page-top a,
.c-footer-02__page-top a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: max(4px, 0.4rem);
  color: inherit;
  text-decoration: none;
}

.c-footer__page-top a img,
.c-footer-02__page-top a img {
  width: max(42px, 4.2rem);
  transform: rotate(-90deg);
}

.c-footer__page-top a span,
.c-footer-02__page-top a span {
  font-size: max(16px, 1.6rem);
  font-family: Ubuntu, Noto Sans JP, sans-serif;
  font-weight: 700;
  line-height: 1.1;
}

@media screen and (min-width: 768px) {
  .c-footer__logo {
    max-width: min(32.8125vw, 420px);
    margin: 0 auto min(3.125vw, 40px);
    padding: 0 min(1.5625vw, 20px);
  }
  .c-footer__body,
  .c-footer-02__body {
    padding: min(3.90625vw, 50px);
  }
  .c-footer__inner,
  .c-footer-02__inner {
    flex-direction: row;
    align-items: end;
    gap: min(1.875vw, 24px);
  }
  .c-footer__links,
  .c-footer-02__links {
    gap: min(0.78125vw, 10px);
  }
  .c-footer__sns ul,
  .c-footer-02__sns ul {
    flex-direction: row;
    gap: min(1.25vw, 16px) min(2.34375vw, 30px);
    margin-block: 0 min(1.5625vw, 20px);
  }
  .c-footer__sns a,
  .c-footer-02__sns a {
    gap: min(0.78125vw, 10px);
    font-size: min(1.25vw, 16px);
  }
  .c-footer__sns a:after,
  .c-footer-02__sns a:after {
    inline-size: min(1.25vw, 16px);
    block-size: min(1.25vw, 16px);
  }
  .c-footer__sns a img,
  .c-footer-02__sns a img {
    width: min(2.344vw, 30px);
  }
  .c-footer__info ul,
  .c-footer-02__info ul {
    flex-direction: row;
    gap: min(0.78125vw, 10px) min(1.5625vw, 20px);
  }
  .c-footer__info a,
  .c-footer-02__info a {
    padding-inline: min(1.5625vw, 20px) 0;
    font-size: min(1.25vw, 16px);
  }
  .c-footer__copyright,
  .c-footer-02__copyright {
    font-size: min(1.25vw, 14px);
  }
  .c-footer__page-top,
  .c-footer-02__page-top {
    align-self: end;
  }
  .c-footer__page-top a,
  .c-footer-02__page-top a {
    gap: min(0.3125vw, 4px);
  }
  .c-footer__page-top a img,
  .c-footer-02__page-top a img {
    width: min(4.6875vw, 60px);
  }
  .c-footer__page-top a span,
  .c-footer-02__page-top a span {
    font-size: min(1.5625vw, 18px);
  }
}
