body {
  margin: 0;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1.6;
  color: #333;
  background-color: #fdf4e6;
  background-image: url("../images/back.png");
  background-size: contain;
}

a {
  text-decoration: none;
  color: inherit;
}

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

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

.sp-br {
  display: none;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 1;
  transform: translateY(-100%);
  transition: transform 0.4s ease-out;
}

header.is-visible {
  transform: translateY(0);
}

.header-inner {
  padding: 26px 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.logo img {
  width: 200px;
}

.pc-nav ul {
  display: flex;
  justify-content: space-between;
}

.pc-nav a {
  font-weight: bold;
  padding: 5px 10px;
  transition: color 0.3s;
}

.pc-nav a:hover {
  color: #eb6100;
}

.sp-head {
  display: none;
}

footer {
  background-color: #f8f8f8;
  padding: 40px;
  font-size: 14px;
  font-weight: 500;
}

.footer-inner {
  text-align: center;
  display: block;
}

.footer-inner p {
  margin: 5px 0;
  text-align: left;
  display: inline-block;
}

.footer-links {
  margin-top: 20px;
}

.btn {
  display: inline-block;
  background-color: #eb6100;
  color: #fff;
  padding: 12px 30px;
  border-radius: 50px;
  font-size: 30px;
  font-weight: bold;
  text-align: center;
  transition: background-color 0.3s;
  margin-top: 50px;
}

.btn:hover {
  background-color: #fff;
  border: 1px solid #eb6100;
  color: #eb6100;
}

.hp-btn {
  display: block;
  width: 30%;
  margin: 0 auto;
  background-color: #fff101;
  border: 2px solid #000;
  border-radius: 50px;
  padding: 10px 0;
  font-size: 26px;
}

.hp-btn:hover {
  background-color: #0088cc;
  color: #fff;
}

.lesson-btn {
  display: block;
  width: 50%;
  margin: 0 auto;
  background-color: #eb6100;
  color: #fff;
  padding: 10px 0;
  font-size: 26px;
  margin-top: 40px;
}

.lesson-btn:hover {
  opacity: 0.7;
}

.jscf {
  margin: 60px 0 120px 0;
}

.jscf-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.jscf p {
  font-size: 26px;
  margin-right: 20px;
}

.jscf img {
  width: 30%;
}

.mark {
  background-color: #ff9;
  font-weight: 600;
}

@media (max-width: 768px) {
  .header-inner {
    padding: 10px 20px;
  }

  .sp-head {
    display: block;
  }

  .pc-nav {
    display: none;
  }

  .jscf {
    margin: 30px 0 60px 0;
  }

  .jscf-inner {
    max-width: 90%;
  }

  .jscf p {
    font-size: 18px;
    margin-right: 20px;
  }

  .jscf img {
    width: 50%;
  }

  /* ===== Header ===== */
  .site-header {
    position: fixed;
    top: 70px;
    left: -25px;
    right: 0;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 16px;
    background: transparent;
    z-index: 1;
    box-shadow: none;
  }

  /* ===== Hamburger ===== */
  .hamburger {
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    cursor: pointer;
    position: relative;
  }

  .hamburger__bar {
    display: block;
    width: 40px;
    height: 3px;
    background: #111;
    position: absolute;
    left: 5%;
    transform: translateX(-50%);
    transition:
      transform 0.25s ease,
      top 0.25s ease,
      opacity 0.2s ease;
  }

  .hamburger__bar:nth-child(1) {
    top: 14px;
  }

  .hamburger__bar:nth-child(2) {
    top: 24px;
  }

  .hamburger__bar:nth-child(3) {
    top: 34px;
  }

  .is-open .hamburger__bar:nth-child(1) {
    top: 21px;
    transform: translateX(-50%) rotate(45deg);
  }

  .is-open .hamburger__bar:nth-child(2) {
    opacity: 0;
  }

  .is-open .hamburger__bar:nth-child(3) {
    top: 21px;
    transform: translateX(-50%) rotate(-45deg);
  }

  .menu-close {
    position: absolute;
    top: 30px;
    right: 16px;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .menu-close__bar {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 26px;
    height: 2px;
    background: #111;
    transform-origin: center;
  }

  .menu-close__bar:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .menu-close__bar:nth-child(2) {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  /* ===== Overlay ===== */
  .overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.25s ease,
      visibility 0.25s ease;
    z-index: 1100;
  }

  .overlay.is-show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* ===== Top Full Menu ===== */
  .sp-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: #fff;
    transform: translateY(-110%);
    transition: transform 0.25s ease;
    z-index: 1200;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  }

  .sp-menu.is-show {
    transform: translateY(0);
  }

  .sp-menu__inner {
    padding: 0 18px 18px;
    background-color: #fdf4e6;
  }

  .sp-head-logo {
    width: 80%;
    margin: 20px 0;
  }

  .sp-menu__list {
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: #fff;
    border-radius: 20px;
  }

  .sp-menu__list li {
    padding-left: 30px;
  }

  .sp-menu__list a {
    display: block;
    padding: 14px 6px;
    color: #111;
    text-decoration: none;
    font-weight: 500;
  }

  .sp-menu__cta {
    display: block;
    margin-top: 16px;
    text-align: center;
    padding: 12px 14px;
    border-radius: 10px;
    background-color: #eb6100;
    color: #fff;
    text-decoration: none;
    border: none;
  }

  .no-scroll {
    overflow: hidden;
  }

  .btn {
    font-size: 20px;
    padding: 10px 70px;
  }
}

.kv {
  position: relative;
  padding: 150px 0 !important;
}

.kv .logo {
  position: absolute;
  top: 2%;
  left: 2%;
  z-index: 0;
}

.kv .logo img {
  width: 70%;
}

.kv .kv-img {
  width: 100%;
  overflow: hidden;
  display: grid;
}

.kv .kv-img .slide {
  grid-area: 1 / 1;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}

.kv .kv-img .slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.kv .kv-img .slide img {
  width: 80%;
  max-width: 1400px;
  display: block;
  margin: 0 auto;
}

.kv .main-copy01 {
  position: absolute;
  top: 5%;
  right: 5%;
  width: 18%;
}

.kv .main-copy01 img {
  width: 100%;
}

.kv .main-copy02 {
  position: absolute;
  bottom: 20%;
  left: 0%;
  width: 60%;
}

.kv .main-copy02 img {
  width: 100%;
}

@media (max-width: 768px) {
  .kv {
    padding: 120px 0 !important;
  }

  .kv .kv-img .slide img {
    width: 90%;
    max-width: 700px;
  }

  .kv .main-copy01 {
    top: 20%;
    right: 2%;
    width: 23%;
  }

  .kv .main-copy02 {
    bottom: 22%;
    width: 90%;
  }

  .kv .logo img {
    width: 75%;
  }
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

section h2 {
  text-align: center;
  font-weight: bold;
}

p {
  font-size: 18px;
  line-height: 1.6;
}

/* --- NEWS --- */
#news {
  position: absolute;
  bottom: 10%;
  left: 0;
  background-color: #fff;
  color: #000;
  display: flex;
  align-items: center;
  width: 70%;
}

#news h2 {
  background-color: #eb6100;
  color: #fff;
  font-family: "Bodoni Moda", serif;
  font-weight: 900;
  margin: 0;
  padding: 10px 0;
  width: 20%;
  font-size: 40px;
}

#news p {
  margin: 0;
  font-size: 24px;
  padding: 10px 0;
  width: 80%;
  text-align: center;
  font-weight: 400;
}

#news p span {
  margin-right: 30px;
}

#news p a:hover {
  color: #eb6100;
}

@media (max-width: 768px) {
  #news {
    flex-direction: column;
    width: 100%;
    bottom: -10%;
    right: 0;
    margin: 0 auto;
  }

  #news h2 {
    width: 100%;
    font-size: 18px;
  }

  #news p {
    margin: 0;
    font-size: 14px;
    width: 90%;
    padding: 10px;
  }

  #news p span {
    margin: 0;
    display: block;
  }
}

/* --- ABOUT --- */
#about {
  position: relative;
  padding-bottom: 330px;
}

#about h2 {
  font-family: "Zen Old Mincho", serif;
  font-weight: 500;
  font-size: 60px;
  border-bottom: 2px solid #000;
  display: inline-block;
}

#about p {
  max-width: 100%;
  margin: 0 auto;
  font-size: 22px;
  font-weight: 500;
  line-height: 2.5;
  background-color: #fff;
  padding: 30px;
}

#about p span {
  color: #eb6100;
}

#about .note {
  position: absolute;
  top: -3%;
  right: 20%;
  width: 7%;
}

.slider4 {
  width: 100%;
  overflow: hidden;
  margin-top: 60px;
}

.slider4__track {
  display: flex;
  will-change: transform;
}

.slider4__item {
  flex: 0 0 25%;
}

.slider4__item img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  #about {
    padding-top: 100px;
    padding-bottom: 119px;
  }

  #about h2 {
    font-size: 40px;
    border-bottom: none;
    display: inline;
    text-decoration-line: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.18em;
    text-decoration-color: #000;
    text-decoration-skip-ink: none;
  }

  #about p {
    margin-top: 30px;
    font-size: 14px;
    line-height: 1.8;
  }

  #about .note {
    top: 6%;
    right: 10%;
    width: 15%;
  }

  .slider4__item {
    flex: 0 0 50%;
  }
}

/* --- INFO --- */
#info {
  position: relative;
  background-color: #fff;
  padding-bottom: 120px;
}

.divider {
  position: absolute;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.divider--top {
  top: 2px;
  transform: translateY(-100%);
}

.divider svg {
  display: block;
  width: 100%;
  height: 200px;
}

.divider path {
  fill: #fff;
}

#info h2 {
  font-size: 28px;
}

#info h2 span {
  color: #2a3a7d;
  font-family: "Bodoni Moda", serif;
  font-weight: 900;
  font-size: 50px;
  line-height: 1.5;
}

.info-item h3 {
  display: flex;
  align-items: center;
}

.info-item h3 span {
  color: #2a3a7d;
  font-family: "Bodoni Moda", serif;
  font-weight: 900;
  font-size: 50px;
  padding-right: 30px;
}

.item01 {
  display: flex;
  justify-content: space-between;
}

.campus-info {
  width: 48%;
  text-align: left;
}

.info-item h3 {
  font-size: 26px;
  border-bottom: 5px dotted #2a3a7d;
}

.campus-info p {
  font-weight: 500;
}

.campus-img {
  width: 48%;
}

.campus-img img {
  width: 100%;
}

.item02 {
  text-align: left;
}

.item02 p {
  font-weight: 500;
}

.three {
  display: flex;
  justify-content: space-between;
}

.c-1,
.c-2,
.c-3 {
  width: 32%;
  text-align: center;
  color: #fff;
}

.c-1 p,
.c-2 p,
.c-3 p {
  line-height: 0;
}

.c-1 {
  background-color: #f7b400;
}

.c-2 {
  background-color: #eb6d65;
}

.c-3 {
  background-color: #036eb7;
}

.item03 {
  text-align: left;
  font-weight: 500;
  position: relative;
}

/*.teacher {
  width: 95%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.teacher-box {
  width: 45%;
  background-color: #dceff4;
  margin-bottom: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}*/
.teacher {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.teacher-box {
  width: 24%;
  background-color: #fdf4e6;
  text-align: center;
  cursor: pointer;
  border-radius: 20px;
  padding: 20px 0 0 0;
}

.teacher-box img {
  max-width: 80%;
  height: auto;
  display: block;
  margin: 0 auto 10px;
}

@media (min-width: 769px) {
  .teacher.teacher--scroll {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
  }

  .teacher.teacher--scroll .teacher-box {
    width: auto;
    flex: 0 0 24%;
   }
}

body.is-modal-open {
  overflow: hidden;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.modal.is-open {
  display: block;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.modal__panel {
  position: relative;
  width: min(720px, calc(100% - 32px));
  margin: 60px auto;
  background: #fff;
  border-radius: 14px;
  padding: 22px 20px 18px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.25);
}

.modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  font-size: 26px;
  line-height: 40px;
  cursor: pointer;
}

.modal__title {
  margin: 0 40px 12px 0;
  font-size: 20px;
}

.modal__body {
  font-size: 15px;
  line-height: 1.8;
}

.t-img {
  width: 25%;
}

.t-text {
  width: 70%;
}

.t-text p {
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
}

.t-text h4 {
  font-size: 18px;
  margin: 0;
}

.item04 {
  text-align: left;
  font-weight: 500;
}

.system {
  display: flex;
  justify-content: space-between;
}

.system-box {
  width: 32%;
  text-align: center;
  padding: 20px 0 10px 0;
  background-color: #fd9f5c;
  border-radius: 20px;
}

.system-box h4 {
  color: #f8f8f8;
  font-size: 25px;
  padding-left: 10px;
}

.system-box p {
  color: #fff;
  text-align: left;
  font-size: 13px;
  padding: 0 20px;
  margin-top: 0;
}

.icon-area {
  display: flex;
  justify-content: center;
  align-items: center;
}

.icon-area img {
  width: 20%;
  margin-bottom: 20px;
}

.illust {
  position: absolute;
  max-width: 300px;
}

.i01 {
  width: 12%;
  top: -12%;
  right: 0;
  left: 0;
  margin: 0 auto;
}

.i02 {
  width: 18%;
  top: -23%;
  right: 10%;
}

@media (max-width: 768px) {
  #info {
    padding-bottom: 30px;
  }

  #info h2 {
    top: -2%;
    right: 0;
    left: 0;
    font-size: 26px;
  }

  #info h2 span {
    font-size: 36px;
    line-height: 1.5;
  }

  .divider svg {
    height: 100px;
  }

  .item01 {
    flex-direction: column;
  }

  .campus-info {
    width: 100%;
  }

  .info-item h3 {
    font-size: 21px;
  }

  .info-item h3 span {
    font-size: 40px;
    padding-right: 20px;
  }

  .campus-img {
    width: 100%;
  }

  .i01 {
    width: 20%;
    top: -3.5%;
    right: 0;
    left: 0;
    margin: 0 auto;
  }

  .i02 {
    display: none;
  }

  .three {
    position: relative;
    flex-direction: row;
    justify-content: flex-start;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding: 0 12px 10px 40px;
  }

  .three::-webkit-scrollbar {
    height: 6px;
  }

  .three::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 999px;
  }

  .three::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.08);
    border-radius: 999px;
  }

  .c-1,
  .c-2,
  .c-3 {
    width: auto;
    margin-bottom: 0;
    flex: 0 0 100%;
    scroll-snap-align: start;
    border-radius: 12px;
    overflow: hidden;
  }

  .c-1 img,
  .c-2 img,
  .c-3 img {
    width: 100%;
    height: auto;
    display: block;
  }

  .c-1 p,
  .c-2 p,
  .c-3 p {
    line-height: 1.2;
    padding: 14px 10px;
    margin: 0;
  }

  .teacher {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 0 12px 12px;
  }

  .teacher-box {
    width: auto;
    margin-bottom: 0;
    flex: 0 0 48%;
  }

  .modal__panel {
    position: relative;
    width: 80%;
  }

  .system {
    flex-direction: column;
  }

  .system-box {
    width: 100%;
    margin-bottom: 20px;
  }

  .system-box p {
    text-align: left;
    font-size: 12px;
    padding: 0 10px;
    line-height: 1.4;
  }

  .icon-area {
    width: 100%;

  }

  .icon-area img {
    width: 15%;
    margin: 0;
  }

  .sys-box {
    width: 100%;
    text-align: left;
  }
}

/* --- COURSE --- */
.popup {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

.popup-link {
  width: 32%;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.popup-link::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
  z-index: 2;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.popup-link::before {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 46px;
  height: 46px;
  z-index: 3;
  background:
    linear-gradient(#111, #111) center/18px 2px no-repeat,
    linear-gradient(#111, #111) center/2px 18px no-repeat;
  border-radius: 999px;
  pointer-events: none;
  transition: transform 0.18s ease;
}

.popup-link:hover::after {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}

.popup-link:hover::before {
  transform: translateY(-2px) rotate(0deg);
}

.popup-link:active::after {
  transform: translateY(-1px) scale(0.98);
}

.popup p {
  color: #fff;
  text-align: center;
  font-weight: 500;
  margin: 0;
  padding: 10px 0;
  border-radius: 10px 10px 0 0;
}

.popup-link img {
  width: 100%;
  height: auto;
  display: block;
}

.popup-link:focus-visible {
  outline: 3px solid rgba(0, 0, 0, 0.35);
  outline-offset: 4px;
}

@media (max-width: 768px) {
  .popup {
    flex-direction: column;
  }

  .popup p {
    font-size: 22px;
  }

  .popup-link {
    width: 100%;
    margin-bottom: 20px;
  }

  #info .popup {
    flex-direction: row;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding: 0 12px 12px;
    margin-top: 30px;
  }

  #info .popup-link {
    width: auto;
    flex: 0 0 82%;
    margin-bottom: 0;
    scroll-snap-align: start;
  }

  #info .popup p {
    font-size: 18px;
  }
}

:root {
  --modal-offset: 50px;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 999;
}

.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 1000;
}

.modal,
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 999;
}

.modal-inner {
  width: 50vw;
  max-height: 70vh;
  overflow: auto;
  background: #fff;
  border-radius: 14px;
  /* padding: 22px 20px; */
  position: relative;
  transform: translateY(calc(var(--modal-offset) + 8px));
  transition: transform 0.2s ease;
}

.modal-close {
  z-index: 10;
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border: none;
  background: #f2f2f2;
  border-radius: 999px;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

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

.modal.is-open .modal-inner {
  transform: translateY(var(--modal-offset));
}

@media (max-width: 768px) {
  :root {
    --modal-offset: 150px;
  }

  .modal {
    place-items: center;
  }

  .modal-inner {
    width: 100vw;
    border-radius: 14px;
    transform: translateY(8px);
    max-height: 70vh;
  }

  .modal.is-open .modal-inner {
    transform: translateY(0);
  }

  .modal-close {
    left: 10px;
  }
}

.fee h5 {
  font-size: 20px;
  padding-left: 15px;
  margin: 0;
}

.music .fee h5 {
  border-left: 5px solid #f7b400;
}

.create .fee h5 {
  border-left: 5px solid #eb6d65;
}

.digital .fee h5 {
  border-left: 5px solid #036eb7;
}

.fee .monthly p {
  font-size: 18px;
  margin: 0;
  padding-left: 20px;
}

.music .fee p span {
  font-size: 36px;
  color: #f7b400;
}

.create .fee p span {
  font-size: 36px;
  color: #eb6d65;
}

.digital .fee p span {
  font-size: 36px;
  color: #036eb7;
}

.monthly,
.sche {
  font-weight: 600;
  font-size: 18px;
  margin: 20px 0;
}

.sche p {
  font-size: 14px;
  margin: 0;
  padding-left: 20px;
}

.sche ul {
  display: flex;
  justify-content: flex-start;
  margin: 10px 0 10px 20px;
}

.sche ul li {
  padding: 10px;
}

.sche ul li:last-child {
  padding-left: 10px;
}

.music .sche ul li {
  background-color: #fdf4e6;
  margin-right: 10px;
}

.create .sche ul li {
  background-color: #fdf4e6;
  margin-right: 10px;
}

.digital .sche ul li {
  background-color: #fdf4e6;
  margin-right: 10px;
}

#course {
  position: relative;
  padding: 100px 0;
}

.course-select {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 16px;
}

.course-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.course-card {
  gap: 12px;
  padding: 20px 0;
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  background: #e0f0eb;
  color: #00ac97;
  font-size: 18px;
  cursor: pointer;
  text-align: center;
  transition: 0.2s;
}

.course-card:hover {
  transform: translateY(-1px);
}

.course-card.is-active {
  border: 3px solid #00ac97;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.course-card__img {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  overflow: hidden;
  background: #f6f6f6;
  display: grid;
  place-items: center;
}

.course-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-card__title {
  font-weight: 700;
  line-height: 1.2;
}

.course-panel__grid {
  position: relative;
  background-color: #fff;
  border-radius: 20px;
  padding: 30px;
  text-align: left;
}

.course-panel__grid h3 {
  text-align: center;
}

.music-back {
  background-color: #f7b400;
  color: #fff;
  margin: 0;
  padding: 10px 0;
  border-radius: 10px 10px 0 0;
}

.create-back {
  background-color: #eb6d65;
  color: #fff;
  margin: 0;
  padding: 10px 0;
  border-radius: 10px 10px 0 0;
}

.digital-back {
  background-color: #036eb7;
  color: #fff;
  margin: 0;
  padding: 10px 0;
  border-radius: 10px 10px 0 0;
}

.c-main {
  position: relative;
}

.rec {
  position: absolute;
  bottom: 3%;
  left: 0;
  right: 0;
  margin: 0 auto;
}

.rec ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;
}

.rec ul li {
  width: 32%;
  font-weight: 600;
  /* padding: 10px 0; */
  border-radius: 50px;
  text-align: center;
  font-size: 15px;
}

.four ul li {
  font-size: 13px;
}

.music .rec ul li {
  background-color: #f7b400;
  color: #fff;
}

.create .rec ul li {
  background-color: #eb6d65;
  color: #fff;
}

.digital .rec ul li {
  background-color: #036eb7;
  color: #fff;
}

.main-image {
  width: 100%;
}

.pop-il {
  top: 20%;
  right: 3%;
}

.music .c-main-copy {
  color: #f7b400;
  border-bottom: 5px dotted #f7b400;
}

.create .c-main-copy {
  color: #eb6d65;
  border-bottom: 5px dotted #eb6d65;
}

.digital .c-main-copy {
  color: #036eb7;
  border-bottom: 5px dotted #036eb7;
}

.c-main-copy {
  font-size: 20px !important;
  font-weight: 600;
  line-height: 1.3;
  text-align: center !important;
  padding-bottom: 10px;
}

.course-text-area p {
  font-size: 16px;
  text-align: left;
}

.music .skill {
  background-color: #fdf4e6;
  padding-bottom: 20px;
}

.create .skill {
  background-color: #fdf4e6;
  padding-bottom: 20px;
}

.digital .skill {
  background-color: #fdf4e6;
  padding-bottom: 20px;
}

.skill h4 {
  text-align: center;
}

.music .skill h4 {
  background-color: #f7b400;
  color: #fff;
  padding: 10px 0;
  font-size: 20px;
}

.create .skill h4 {
  background-color: #eb6d65;
  color: #fff;
  padding: 10px 0;
  font-size: 20px;
}

.digital .skill h4 {
  background-color: #036eb7;
  color: #fff;
  padding: 10px 0;
  font-size: 20px;
}

.skill ul li {
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  padding: 5px 0;
  text-align: center;
}

.i05 {
  top: -5%;
  right: 5%;
  width: 15%;
  max-width: 500px;
}

#course h2 {
  position: absolute;
  top: -5%;
  right: 0;
  left: 0;
  margin: 0 auto;
  font-size: 28px;
}

#course h2 span {
  color: #2a3a7d;
  font-family: "Bodoni Moda", serif;
  font-weight: 900;
  font-size: 50px;
  line-height: 1.5;
}

.tab-4 {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin-top: 50px;
}

.tab-4 > label {
  flex: 1 1;
  order: -1;
  position: relative;
  min-width: 70px;
  padding: 0.7em 1em;
  background-color: #f2f2f2;
  color: #999;
  font-weight: 600;
  font-size: 24px;
  text-align: center;
  cursor: pointer;
}

.mus-label {
  background-color: #f7b400 !important;
  border-radius: 10px 10px 0 0;
}

.cre-label {
  background-color: #eb6d65 !important;
  border-radius: 10px 10px 0 0;
}

.dig-label {
  background-color: #036eb7 !important;
  border-radius: 10px 10px 0 0;
}

.tab-4 > label:hover,
.tab-4 label:has(:checked) {
  background-color: #f7b400;
  color: #fff;
}

.tab-4 label:has(:checked)::before {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 10px;
  background-color: #f7b400;
  content: "";
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.tab-4 .cre-label:has(:checked)::before {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 10px;
  background-color: #eb6d65 !important;
  content: "";
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.tab-4 .dig-label:has(:checked)::before {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 10px;
  background-color: #036eb7 !important;
  content: "";
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.tab-4 input {
  display: none;
}

.tab-4 > div {
  display: none;
  width: 100%;
  padding: 1.5em 1em;
}

.tab-4 label:has(:checked) + div {
  display: block;
  background-color: #fff;
}

.tab-in {
  text-align: left;
  padding: 0 20px;
}

.tab-in h4 {
  font-size: 18px;
  margin: 0;
}

.tab-in p {
  font-size: 16px;
  margin: 10px 0;
  font-weight: 400;
}

.col2 {
  display: flex;
  justify-content: space-between;
}

.col2 h4 {
  text-align: center;
  font-size: 20px;
  color: #fff;
  padding: 10px 0;
}

.mus .skill h4 {
  background-color: #f7b400;
}

.mus .rec {
  background-color: #f7b400;
}

.cre .skill h4 {
  background-color: #eb6d65;
}

.cre .rec {
  background-color: #eb6d65;
}

.dig .skill h4 {
  background-color: #036eb7;
}

.dig .rec {
  background-color: #036eb7;
}

.target {
  margin: 60px 0;
  background-color: #fff;
  position: relative;
  padding: 40px 0 10px 0;
  text-align: center;
}

.target h2 {
  position: absolute;
  top: 1%;
  right: 0;
  left: 0;
  margin: 0 auto;
  font-size: 28px;
}

.age {
  font-size: 30px;
  font-weight: 700;
  color: #eb6100;
  display: inline;
}

.tar-text {
  font-size: 20px;
  font-weight: 500;
}

.i03 {
  width: 13%;
  top: -22%;
  left: 10%;
}

.i06 {
  width: 13%;
  top: -22%;
  right: 10%;
}

@media (max-width: 768px) {
  #course {
    padding: 50px 0 30px 0;
  }

  #course h2 {
    top: -1.5%;
    right: 0;
    left: 0;
    font-size: 26px;
  }

  #course h2 span {
    font-size: 36px;
    line-height: 1;
  }

  .course-cards {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .course-card {
    grid-template-columns: 56px 1fr;
  }

  .course-card__img {
    width: 56px;
    height: 56px;
  }

  .course-meta dl > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .course-panel__grid {
    padding: 20px;
  }

  .c-intro {
    padding-top: 180px;
  }

  .digital .c-intro {
    padding-top: 240px;
  }

  .fee {
    flex-direction: column;
  }

  .fee h5 {
    font-size: 18px;
  }

  .fee p {
    font-size: 14px;
  }

  .monthly,
  .sche {
    width: 100%;
    font-size: 18px;
  }

  .sche ul {
    flex-direction: column;
  }

  .sche ul li {
    text-align: center;
    margin-bottom: 10px;
  }

  .sche ul li:last-child {
    padding-left: 0;
  }

  .four ul li {
    width: 100% !important;
  }

  .pop-il {
    display: none;
  }

  .course-text-area,
  .course-img-area {
    width: 100%;
  }

  .rec h4,
  .skill h4 {
    width: 100%;
    font-size: 16px;
    padding: 0;
    margin: 0 0 10px 0;
  }

  .skill table td {
    display: block;
    margin-bottom: 10px;
  }

  .tab-4 > label {
    font-size: 10px;
  }

  .tab-in h4 {
    font-size: 16px;
  }

  .tab-in p {
    font-size: 14px;
  }

  .col2 {
    flex-direction: column;
  }

  .col2 h4 {
    font-size: 18px;
  }

  .skill,
  .rec {
    width: 100%;
  }

  .rec {
    top: 100%;
  }

  .rec ul {
    display: block;
    padding: 10px 0;
  }

  .rec ul li {
    font-size: 14px;
    width: 100%;
    margin-bottom: 10px;
    padding: 0;
  }

  .skill ul li {
    font-size: 14px;
    text-align: center;
  }

  .target h2 {
    top: -10% !important;
  }

  .i03 {
    width: 18%;
    top: -32%;
  }

  .i05 {
    top: -3%;
    right: 2%;
    width: 25%;
  }

  .i06 {
    width: 18%;
    top: -35%;
  }
}

/* --- TRIAL --- */
#trial {
  position: relative;
  padding: 100px;
  background-color: #fff;
}

#trial h2 {
  position: absolute;
  top: -3%;
  right: 0;
  left: 0;
  margin: 0 auto;
  font-size: 28px;
}

#trial h2 span {
  color: #2a3a7d;
  font-family: "Bodoni Moda", serif;
  font-weight: 900;
  font-size: 50px;
  line-height: 1.5;
}

.trial-info {
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
}

.trial-box {
  width: 48%;
}

.trial-box img {
  width: 100%;
}

.flow{
    display:flex;
    justify-content:space-between;
    margin:30px 0;
}

.flow-num{
    font-family: "Bodoni Moda", serif;
    font-weight: 900;
    font-size: 24px;
    color:#ff6600;
}

.flow .flow-box{
    width:32%;
    background-color:#fdf4e6;
    padding-bottom:20px;
}

.flow .flow-box h4{
    font-size:20px;
}

.flow .flow-box img{
    width:50%;
    display:block;
    margin:0 auto;
}
.flow-text{
    width:80%;
    margin:0 auto;
    text-align:left;
    font-size:16px;
}

.normal {
  font-weight: 500;
  text-align: left;
}

.att {
  background-color: #fff101;
  font-size: 24px;
  font-weight: 500;
  padding: 15px;
}

.steps {
  margin-top: 50px;
}

.step {
  background-color: #fdf4e6;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 15px 0;
}

.step h3 {
  color: #eb6100;
  font-family: "Bodoni Moda", serif;
  font-weight: 900;
  font-size: 60px;
  padding: 0 20px;
  line-height: 0;
  margin: 10px 0 0 0;
}

.step p {
  font-size: 24px;
  font-weight: 500;
  text-align: left;
  padding: 0 20px;
  margin: 0;
}

.step p span {
  font-weight: 800;
}

.steps img {
  width: 5%;
  margin: 20px 0;
  max-width: 200px;
}

@media (max-width: 768px) {
  #trial {
    padding: 50px 0;
  }

  #trial h2 {
    top: -1.5%;
    right: 0;
    left: 0;
    font-size: 26px;
  }

  #trial h2 span {
    font-size: 36px;
    line-height: 1.1;
  }

  .trial-info {
    flex-direction: column-reverse;
  }

  .trial-box {
    width: 100%;
  }

  .flow{
    justify-content: flex-start;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding: 0 12px 12px;
  }

  .flow .flow-box{
    width: auto;    
    flex: 0 0 80%;             
    scroll-snap-align: start;
    border-radius: 12px;         
  }

  .flow::-webkit-scrollbar{
    height: 6px;
  }

  .att {
    font-size: 18px;
  }

  .step p {
    font-size: 16px;
  }

  .step h3 {
    font-size: 45px;
  }

  .steps img {
    width: 15%;
  }
}

/* --- Q&A --- */
#qa {
  position: relative;
  padding: 100px;
}

#qa h2 {
  position: absolute;
  top: -6%;
  right: 0;
  left: 0;
  margin: 0 auto;
  font-size: 28px;
}

#qa h2 span {
  color: #2a3a7d;
  font-family: "Bodoni Moda", serif;
  font-weight: 900;
  font-size: 50px;
  line-height: 1.5;
}

.i04 {
  top: -25%;
  right: 10%;
  width: 15%;
  max-width: 300px;
}

.faq {
  max-width: 900px;
  margin: 40px auto;
}

.faq-item {
  margin-bottom: 16px;
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 3px solid #2b1b14;
  border-radius: 28px;
  background: #fff;
  cursor: pointer;
  font-size: 16px;
}

.faq-q .text {
  flex: 1;
  text-align: left;
  font-size: 20px;
}

.icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 40px;
}

.icon.q {
  background: #eb6100;
  color: #fff;
  font-family: "Bodoni Moda", serif;
}

.icon.a {
  background: #fff;
  color: #eb6100;
  font-family: "Bodoni Moda", serif;
}

.toggle {
  width: 34px;
  height: 34px;
  position: relative;
  display: inline-block;
  flex: 0 0 34px;
  transform-origin: 50% 50%;
  transition: transform 0.35s ease;
}

.toggle::before,
.toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 3px;
  background: #2b1b14;
  border-radius: 999px;
  transform: translate(-50%, -50%);
}

.toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.is-open .toggle {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item.is-open .faq-a {
  max-height: 300px;
}

.a-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-radius: 24px;
  margin-top: 12px;
  text-align: left;
}

.a-inner p {
  margin: 0;
  line-height: 1.7;
  font-weight: 500;
}

@media (max-width: 768px) {
  #qa {
    padding: 50px 0 10px 0;
  }

  #qa h2 {
    top: -5%;
    right: 0;
    left: 0;
    font-size: 24px;
  }

  #qa h2 span {
    font-size: 30px;
    line-height: 1.5;
  }

  .i04 {
    top: -10%;
    right: 0%;
    width: 20%;
  }

  .faq-q {
    font-size: 14px;
  }

  .faq-q .text {
    font-size: 16px;
    font-family: "Zen Maru Gothic", sans-serif !important;
    color: #000 !important;
  }

  .icon {
    width: 30px;
    height: 30px;
    font-size: 20px;
  }

  .a-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border-radius: 24px;
    margin-top: 12px;
    text-align: left;
  }

  .a-inner p {
    width: 90%;
  }
}

@media (max-width: 768px) {
  body {
    background-image: url("../images/back-sp.png");
    background-size: contain;
  }

  p {
    font-size: 16px;
  }

  .section-inner {
    width: 90%;
  }

  section h2 {
    font-size: 24px;
  }

  .steps {
    flex-direction: column;
  }

  .course-card dl {
    grid-template-columns: 1fr;
  }

  .course-card dt {
    border-right: none;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
  }

  .sp-br {
    display: block;
  }

  .hp-btn {
    width: 100%;
    font-size: 20px;
  }

  .lesson-btn {
    width: 100%;
    font-size: 20px;
    padding: 10px;
  }

  .pc-br {
    display: none;
  }
}

@media (max-width: 1020px) and (min-width: 768px) {
  .kv .main-copy02 {
    bottom: 27%;
    width: 75%;
  }

  #news {
    flex-direction: column;
    width: 80%;
    bottom: -0%;
    right: 0;
    margin: 0 auto;
  }

  #news h2 {
    width: 100%;
    font-size: 18px;
  }

  #news p {
    margin: 0;
    font-size: 14px;
    width: 90%;
    padding: 10px;
  }

  #news p span {
    margin: 0;
    display: block;
  }
}

@media (max-width: 1020px) and (min-width: 768px) {
  .section-inner {
    width: 90%;
    margin: 0 auto;
    text-align: center;
  }

  .kv .main-copy02 {
    bottom: 27%;
    width: 75%;
  }

  #news {
    flex-direction: column;
    width: 80%;
    bottom: -0%;
    right: 0;
    margin: 0 auto;
  }

  #news h2 {
    width: 100%;
    font-size: 18px;
  }

  #news p {
    margin: 0;
    font-size: 14px;
    width: 90%;
    padding: 10px;
  }

  #news p span {
    margin: 0;
    display: block;
  }

  #about h2 {
    font-size: 45px;
  }

  #about .note {
    top: 0%;
    right: 5%;
    width: 10%;
  }

  .i01 {
    width: 15%;
    top: -6%;
    right: 5%;
  }

  .i02 {
    width: 15%;
    top: -5%;
    right: 0%;
  }

  .item01 {
    align-items: center;
  }

  .teacher {
    width: 100%;
  }

  .teacher-box {
    width: 43%;
  }

  .trial-info {
    flex-direction: column-reverse;
  }

  .trial-box {
    width: 100%;
  }

  .i04 {
    top: -10%;
    right: 5%;
    width: 18%;
  }

  .hp-btn {
    width: 80%;
  }

  .lesson-btn {
    width: 80%;
  }
}

.bottom-cta {
  width: 30%;
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 9999;
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border-radius: 10px;
  background-color: #fd9f5c;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.04em;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.bottom-cta:hover {
  border: 1px solid #fd9f5c;
  background-color: #fff;
  color: #fd9f5c;
}

.bottom-cta.is-show {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 768px) {
  .bottom-cta {
    width: calc(100% - 24px);
    bottom: 12px;
    font-size: 16px;
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.8s,
    transform 0.8s;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.course-panel__cta{
  grid-column: 1 / -1;         /* グリッド全幅 */
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(0,0,0,.08);
  display: flex;
  justify-content: center;
}

.course-panel__ctaBtn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .04em;
  color: #fff;
  background: #f0a368;
  box-shadow: 0 10px 24px rgba(0,0,0,.14);
  transition: transform .15s ease, opacity .15s ease;
}

.course-panel__ctaBtn:hover{
  transform: translateY(-1px);
  opacity: .92;
}

.course-panel__ctaBtn:focus-visible{
  outline: 3px solid rgba(0,0,0,.35);
  outline-offset: 3px;
}