@charset "UTF-8";

html {
    width: 100%; 
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

* {
    margin: 0;
    padding: 0;
}

body {
    background-color: #FAF0E6;
    font-family: "M PLUS 1", sans-serif;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

p, li {
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 1.6rem;
}

a {
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
}

h1 {
    font-size: 60px;
    font-family: "Zen Maru Gothic";
    font-weight: 900;
}

h2 {
    font-size: 24px;
    font-family: "Zen Maru Gothic";
    font-weight: 900;
}

h3 {
    font-size: 24px;
    font-family: "Zen Maru Gothic";
    font-weight: 900;
}

h4 {
    font-size: 20px;
    font-family: "Zen Maru Gothic";
    font-weight: 900;
}

header {
    position: sticky;
    top: 20px;
    z-index: 1000;
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
}

#logo img {
    width: 170px;
    margin-left: 20px;
}

.link-button {
    margin-right: 20px;
}

.link-button a {
    text-decoration: none;
}

.link-button button {
    display: flex;
    width: 280px;
    height: 60px;
    padding: 10px 20px;
    margin-bottom: 10px;
    justify-content: center;
    text-align: center;
    align-items: center;
    border-radius: 40px;
    font-size: 16px;
    font-family: "Zen Maru Gothic";
    color: white;
    transition: .3s cubic-bezier(0.5, 1, 0.89, 1);
}

.link-button button:hover {
    background: #fff;
    transform: scale(1.1);
    cursor: pointer;
}

.link-button button p {
    margin: auto;
}

.link-button button img {
    width: 24px;
    height: auto;
    margin: auto;
}

.taiken {
    background-color: #9B30FF;
    border: 2px solid #9B30FF;
}

.taiken:hover {
    color: #9B30FF;
}

.taiken svg path {
    fill: #fff;
}

.taiken:hover svg path {
    fill: #9B30FF;
}

.insta {
    background-color: #FFA500;
    border: 2px solid #FFA500;
}

.insta:hover {
    color: #FFA500;
}

#hero {
    display: flex;
    position: relative;
}

#hero img {
    width: 100%;
    margin: 50px auto 0;
}

.main-copy {
    position: absolute;
    top: calc(10% + 100px);
    left: 50%;
    -ms-transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    color: #9B30FF;
    text-align: center;
    width: 60%;
    max-width: 640px;
    white-space: nowrap;
}

.item-m {
    position: absolute;
    top: 50px;
    left: 5%;
}

.item-r {
    position: absolute;
    top: 50px;
    right: 5%;
}

.item-t {
    position: absolute;
    bottom: 50px;
    left: 5%;
}

.item-k {
    position: absolute;
    bottom: -20px;
    right: 5%;
}


#luxy {
    align-items: center;
    margin: auto;
    overflow: hidden !important;
}

.container{
    position: relative;
    z-index: 10;
}

.balloon-purple {
    position: absolute;
    top: 300px;
    left: 80%;
    z-index: 5;
}

.balloon-red {
    position: absolute;
    bottom: -30%;
    right: 80%;
    z-index: 5;
}

.balloon-green {
    position: absolute;
    top: 500px;
    left: 90%;
    z-index: -1;
}

.balloon-yellow {
    position: absolute;
    top: 600px;
    right: 90%;
    z-index: 5;
}

.balloon-orange {
    position: absolute;
    top: 650px;
    left: 85%;
}

.back-item {
    display: inline-block;
    position: absolute;
    z-index: 5;
}

.circle-01 {
    position: absolute;
    width: 50px; 
    height: 50px;
    overflow: hidden !important;
    background-image: url('../img/circle-01.png');
    background-size: contain;
    background-repeat: no-repeat;
    top: 14%;
    right: 80%;
    z-index: -1;
}

.circle-02 {
    position: absolute;
    width: 60px; 
    height: 60px;
    overflow: hidden !important;
    background-image: url('../img/circle-02.png');
    background-size: contain;
    background-repeat: no-repeat;
    top: 45%;
    left: 80%;
    z-index: -1;
}

.circle-03 {
    position: absolute;
    width: 80px; 
    height: 80px;
    overflow: hidden !important;
    background-image: url('../img/circle-03.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-size: contain;
    background-repeat: no-repeat;
    top: 50%;
    right: 80%;
    z-index: -1;
}

.circle-04 {
    position: absolute;
    width: 45px; 
    height: 45px;
    overflow: hidden !important;
    background-image: url('../img/circle-04.png');
    background-size: contain;
    background-repeat: no-repeat;
    top: 70%;
    right: 80%;
    z-index: -1;
}

.circle-05 {
    position: absolute;
    width: 26px; 
    height: 26px;
    overflow: hidden !important;
    background-image: url('../img/circle-05.png');
    background-size: contain;
    background-repeat: no-repeat;
    top: 800px;
    left: 85%;
    z-index: 1;
}

.circle-06 {
    position: absolute;
    width: 80px; 
    height: 80px;
    overflow: hidden !important;
    background-image: url('../img/circle-06.png');
    background-size: contain;
    background-repeat: no-repeat;
    top: 900px;
    left: 85%;
    z-index: 1;
}

.circle-07 {
    position: absolute;
    width: 120px; 
    height: 120px;
    overflow: hidden !important;
    background-image: url('../img/circle-07.png');
    background-size: contain;
    background-repeat: no-repeat;
    top: 940px;
    right: 88%;
    z-index: 1;
}

.circle-08 {
    position: absolute;
    width: 70px; 
    height: 70px;
    overflow: hidden !important;
    background-image: url('../img/circle-08.png');
    background-size: contain;
    background-repeat: no-repeat;
    top: 1200px;
    right: 85%;
    z-index: 1;
}

.circle-09 {
    position: absolute;
    width: 130px; 
    height: 130px;
    overflow: hidden !important;
    background-image: url('../img/circle-09.png');
    background-size: contain;
    background-repeat: no-repeat;
    top: 800px;
    left: 85%;
    z-index: -1;
}

.circle-10 {
    position: absolute;
    width: 70px; 
    height: 70px;
    overflow: hidden !important;
    background-image: url('../img/circle-10.png');
    background-size: contain;
    background-repeat: no-repeat;
    top: 500px;
    right: 90%;
    z-index: -1;
}

.circle-11 {
    position: absolute;
    width: 60px; 
    height: 60px;
    overflow: hidden !important;
    background-image: url('../img/circle-11.png');
    background-size: contain;
    background-repeat: no-repeat;
    top: 600px;
    right: 85%;
    z-index: -1;
}

.circle-12 {
    position: absolute;
    width: 60px; 
    height: 60px;
    overflow: hidden !important;
    background-image: url('../img/circle-12.png');
    background-size: contain;
    background-repeat: no-repeat;
    top: 800px;
    left: 86%;
    z-index: 1;
}

.circle-13 {
    position: absolute;
    width: 50px; 
    height: 50px;
    overflow: hidden !important;
    background-image: url('../img/circle-13.png');
    background-size: contain;
    background-repeat: no-repeat;
    top: 1000px;
    right: 90%;
    z-index: 1;
}

.circle-14 {
    position: absolute;
    width: 68px; 
    height: 68px;
    overflow: hidden !important;
    background-image: url('../img/circle-14.png');
    background-size: contain;
    background-repeat: no-repeat;
    top: 1100px;
    right: 90%;
    z-index: 1;
}

.circle-15 {
    position: absolute;
    width: 36px; 
    height: 36px;
    overflow: hidden !important;
    background-image: url('../img/circle-15.png');
    background-size: contain;
    background-repeat: no-repeat;
    top: 1200px;
    right: 85%;
    z-index: 1;
}


#about {
    position: relative;
    overflow-x: hidden;
    z-index: -1;
    padding-top: 0;
}

#about .about-text {
    width: min(80%,550px);
    margin: auto;
}

#about .about-text h1 {
    font-size: 36px;
    text-align: left;
}

#about .about-text h2 {
    font-size: 20px;
    font-weight: 700;
    text-align: left;
    margin: auto auto 20px;
}

#about .about-text p {
    text-align: left;
}

.video-container {
    position: relative; 
    width: 640px;
    aspect-ratio: 16 / 9;
    margin: 50px auto;
    z-index: 100000 !important;
    pointer-events: auto !important;
    overflow: hidden;
    background-color: #DCE3E6;
    border-radius: 20px;
}

.video-container video {
    width: 100%;
    height: 100%;
    transition: 0.3s;
    object-fit: cover;
}

.video-controls-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 5px 10px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    box-sizing: border-box;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.video-container.is-playing:hover .video-controls-bar {
    opacity: 1;
    visibility: visible;
}

.video-container.is-playing .custom-play-button {
    opacity: 0;
    visibility: hidden; 
    pointer-events: none;
}

#seekBar {
    width: 100%;
}

.time-display {
    font-size: 0.8em;
    text-align: right;
}

.custom-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    transition: 0.3s;
    opacity: 1;
}

.video-container:hover {
    cursor: pointer;
    color: #000;
}

.video-container:hover .custom-play-button {
    transform: translate(-50%, -50%) scale(1.2);
}

.custom-play-button img {
    display: block;
    width: 80px;
    height: auto;
    pointer-events: none;
}

.video-container.is-playing .custom-play-button {
    opacity: 0;
    visibility: hidden; 
    pointer-events: none;
}

.back-img-01 {
    position: absolute;
    top: 180px;
    right: 80%;
    z-index: -1;
}

.back-img-02 {
    position: absolute;
    top: 140px;
    left: 80%;
    z-index: -1;
}

.back-img-03 {
    position: absolute;
    top: 600px;
    left: 80%;
    z-index: -1;
}

.title-decoration-container {
    display: block;
    width: 100%;
    text-align: center;
    justify-content: center;
    z-index: 50;
}

.title-decoration-container img {
    height: auto;
    max-height: 60px;
    margin: 0 auto;
}

section {
    padding: 100px 0;
}

.section-title-text{
    margin-top: -5px;
    margin-bottom: 60px;
}

.custom-shape-divider-top-1761455195 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
}

.custom-shape-divider-top-1761455195 svg {
    background-color: #FAF0E6;
    display: block;
    width: calc(100% + 1.3px);
    height: auto;
    
}

.custom-shape-divider-top-1761455195 .shape-fill {
    fill: #AEEEEE;
    width: calc(100% + 1.3px);
}

.custom-shape-divider-bottom-1761455195 {
    position: absolute;
    bottom: -100;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
    background-color: #FAF0E6;
    z-index: 1;
}

.custom-shape-divider-bottom-1761455195 svg {
    background-color: #AEEEEE;
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: auto;
    transform: rotate(180deg);
}

.custom-shape-divider-bottom-1761455195 .shape-fill {
    fill: #FAF0E6;
}


#flow {
    position: relative;
    background-color: #AEEEEE;
    margin-top: -100px;
}

#flow .section-decoration-container {
    position: absolute;
}

#flow .title-decoration-container {
    width: 40%;
    justify-content: left;
    text-align: left;
    color: #1E90FF;
    margin-top: 100px;
    margin-right: 0;
    margin-left: auto;
}

.flow-list {
    display: flex;
    flex-wrap: wrap;
    margin: -100px auto 80px;
    width: min(90%,840px);
    position: relative;
    row-gap: 40px;
    z-index: 10;
}

.flow-item {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50%;
    height: 222px;
    background-size: 100% 100%;
    margin: 20px auto;
}

.flow-item img {
    width: 100%; 
    height: auto;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.flow-content {
    padding: 0 12%;
}

.flow-item:nth-child(even) {
    transform: translateY(65%);
}

.flow-item h4{
    text-align: left;
    color: #1E90FF;
    transform: translateY(-5px);
}

.flow-item p{
    text-align: left;
    box-sizing: border-box;
    transform: translateY(-5px);    
}

.flow-item::after {
    content: '';
    position: absolute;
    background-color: #5CE1E6; 
    bottom: -70px;
    left: 50%; 
    width: 60px; 
    height: 150px; 
    transform-origin: top center; 
    opacity: 0;
    visibility: hidden;
    z-index: -1;
}

.flow-item:nth-child(odd)::after {
    opacity: 1;
    visibility: visible;
    transform: rotate(-50deg);
    left: calc(50% + 30%);
}

.flow-item:nth-child(even)::after {
    opacity: 1;
    visibility: visible;
    transform: rotate(50deg);
    left: calc(50% - 40%);
}

.flow-item:last-child::after {
    opacity: 0;
    visibility: hidden;
}


#details {
    position: relative;
}

#details h2{
    color: #D61B5D;
}


.class-category {
    display: flex;
    justify-content: center;
}

.class-category.is-infan {
    margin-bottom: 100px;
}

.class-name {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 300px;
    height: 300px;
    background-size: cover;
    background-position: center;
    container-type: inline-size;
}

.class-category.is-infan .class-name {
    background-image: url('../img/class-infan.png');
    background-size: 100% auto;
    background-repeat: no-repeat;
}

.class-category.is-ess .class-name {
    background-image: url('../img/class-ess.png');
    background-size: 100% auto;
     background-repeat: no-repeat;
}

.class-name h3 {
    font-size: 2rem;
    margin: 0;
    padding: 0;
    transform: translate(20%, -20%);
}

.detail-item {
    width: 560px;
    margin-left: 10%;
    margin-bottom: 20px;
}

.is-infan h3,
.is-infan h4 {
    color: #FF6F91;
}

.is-ess h3,
.is-ess h4 {
    color: #9B30FF;
}

.detail-item h4{
    font-size: 20px;
}

.detail-item ul {
    list-style: none;
    padding-left: 0;
}

.detail-item ul li {
    position: relative;
    padding-left: 1.5em; 
    font-family: "M PLUS 1", sans-serif;
}

.detail-item ul li::before {
  content: '';
  display: inline-block;
  position: absolute;
  top: 8px;
  left: 5px;
  width: 10px;
  height: 10px;
  background-color: #FF6F91;
  border-radius: 5px;
}


#textbooks {
    position: relative;
    padding: 60px 0;
}

#textbooks h2{
    color: #FF3B30;
}

.textbooks-list {
    width: min(90%, 980px);
    display: flex;
    flex-wrap: wrap;
    margin: auto;
    position: relative;
    justify-content: space-between;
    text-align: center;
    align-items: flex-start;
}

.textbooks-item {
    width: 454px;
    margin: 0 auto;
    margin-bottom: 20px;
}

.textbooks-item h4{
    color: #FF3B30;
    text-align: left;
}

.textbooks-item p{
    text-align: left;
    margin-bottom: 20px;
}

#gallery {
    padding: 40px 0 140px;
    overflow: hidden;
    .gallery-wrapper {
        display: grid;
        grid-auto-columns: 460px;
        grid-auto-flow: column;
        animation: scroll-loop 50s linear infinite;
        img {
            max-width: 400px;
            height: auto;
        }
        img:nth-child(even) {
            transform: translateY(40px); 
        }
    }
}

@keyframes scroll-loop {
    from {
        transform: calc(460px * -7); 
    }
    to {
        translate: calc(calc(460px * -7) - calc(460px * 7));
    }
}


#schedule {
    position: relative;
    padding: 100px 0;
    background-color: #98FB98;
}

.schedule-button {
    text-align: center;
    margin: auto;
}

.schedule-button a {
    display: inline-block;
    width: fit-content;
    text-decoration: none;
}

.schedule-button button {
    display: flex;
    width: 320px;
    height: 60px;
    padding: 0 10px;
    margin-bottom: 10px;
    justify-content: center;
    text-align: center;
    align-items: center;
    border-radius: 40px;
    font-size: 16px;
    font-family: "Zen Maru Gothic";
    color: white;
    transition: .3s cubic-bezier(0.5, 1, 0.89, 1);
    background-color: #32CD32;
    border: 2px solid #32CD32;
    margin: auto;
}

.schedule-button button:hover {
    background: #fff;
    transform: scale(1.1);
    cursor: pointer;
    color: #32CD32;
}

.schedule-button button p {
    margin: auto;
}

.schedule-button button svg {
    margin-right: 10px;
}

.schedule-button button svg path {
    fill: #fff;
}

.schedule-button button:hover svg path {
    fill: #32CD32;
}

#schedule h2{
    color: #32CD32;
}

table{
    table-layout: fixed;
    border-collapse:separate;
    border-spacing: 5px;
    width: min(60% 640px);
    font-family: "Zen Maru Gothic";
    font-weight: 900;
    margin: 30px auto 20px;
    z-index: 10;
}

table th:nth-child(1) {
    background: none;
    max-width: 160px;
}

table th:nth-child(n+2) {
    text-align: center;
    background-color: #32CD32;
    border-radius: 20px 20px 0 0;
    padding: 20px 10px;
    width: 200px;
    font-size: 1rem;
}

table th h4 img{
    width: 60%;
    margin-top: 10px;
}

table td:nth-child(1) {
    background: none;
    font-size: 1.3rem;
    text-align: left;
    padding-right: 10px;
}

table td:nth-child(n+2) {
    text-align: center;
    padding: 20px 0;
    border-radius: 10px;
    background-color: #fff;
    font-size: 1.2rem;
}

#schedule {
    position: relative;
}

#schedule .annotation {
    width: min(90%,580px);
    margin: auto;
}

#schedule .annotation p{
    text-align: left;
    font-size: 0.8rem;
}

#schedule .infan {
    color: #FF6F91;
}

#schedule .ess {
    color: #9B30FF;
}

#instructor {
    position: relative;
}

#instructor h2{
    color: #FF4EC2;
}

#instructor .instructor-item{
    display: flex;
    width: min(90%, 1000px);
    margin: auto;
}

#instructor p{
    width: min(90%, 640px);
    margin: auto;
    margin-left: 40px;
}


#qa {
    position: relative;
    padding: 60px 0;
    background-color: #FFF500;
}

#qa h2{
    color: #FF9100;
}

.qa-lists {
    position: relative;
    width: min(90%, 1000px);
    margin: auto;
    z-index: 10;
}

.qa-item {
    display: flex;
    background-color: #fff;
    padding: 24px 50px;
    margin: 0 auto 10px;
    border-radius: 20px;
    text-align: left;
    align-self: flex-start;
    flex-grow: 1;
    z-index: 10;
}

.qa-text {
}

.qa-text h4 {
}

.qa-text p {
    margin-top: 10px;
}

.q-icon {
    flex-shrink: 0;
    width: 18px;
    height: 23px;
    fill: #1E90FF;
    margin-right: 10px;
    transform: translateY(4px);
}

#voices {
    position: relative;
}

#voices .title-decoration-container {
    text-align: left;
    max-width: 960px;
    margin: auto;
}

#voices .title-decoration-container img {
    margin: 0;
}

#voices h2{
    color: #FF6F91;
}

.voice-list {
    display: grid;
    direction: rtl;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 30px;
    align-items: start; 
    max-width: 1000px;
    margin: -200px auto 50px;
    padding: 50px 20px;
}


.voice-item {
    aspect-ratio: 317 / 304;
    padding: 50px;
    background-image: url('../img/voice-back.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: transform 0.5s ease-out;
    z-index: 10;
}

.voice-list p,
.voice-list h4,
.voice-item {
    direction: ltr;
}

.voice-list .voice-item:nth-child(3n + 1) {
    transform: translateY(0px); 
}

.voice-list .voice-item:nth-child(3n + 2) {
    transform: translateY(100px); 
}

.voice-list .voice-item:nth-child(3n) {
    transform: translateY(200px); 
}

.voice-item p{
    text-align: left;
    
}

#footer {
    text-align: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 40px 20px;
    width: 90%;
    margin: auto auto 150px;
    box-sizing: border-box;
    background-color: #fff;
    border-radius: 40px;
}

#footer .container {
    padding: 0;
}

.mirateko-eng {
    display: flex;
    justify-content: space-between;
    width: min(100%, 900px);
    margin: auto;
    align-items: center;
}

.mirateko-eng h4,
.mirateko-eng p {
    text-align: left;
    width: auto;
    margin: 0;
}

.mirateko-eng h4{
    color: #984989;
}

.mirateko-eng .addres {
    display: flex;
    p {
        margin-right: 10px;
    }
}

.mirateko-eng a {
    display: block;
    width: 40px;
    height: 40px;
    margin-right: 0;
    transition: .3s cubic-bezier(0.5, 1, 0.89, 1);
}

.mirateko-eng a:hover {
    transform: scale(1.1);
}

.mirateko-eng a img {
    max-width: 100%;
    margin: auto;
}

.mirateko {
    display: flex;
    text-align: center;
    align-items: center;
    flex-direction: row;
    width: min(100%, 900px);
    margin: auto;
    margin-top: 20px;
    justify-content: space-between;
}

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

.mirateko p {
    color: #984989;
    font-size: 0.9rem;
    margin-left: 10px;
    line-height: 1rem;
    text-align: left;
}

.mirateko ul {
    display: flex;
    list-style: none;
}

.mirateko ul li {
    margin-left: 40px;
}

.mirateko ul a{
    font-size: 0.8rem;
    text-decoration: none;
    color: #000;
}

.mirateko ul a:hover {
    color: #984989;
}

.copyright {
    color: #888;
    font-size: 0.8rem;
    margin-top: 30px;
}


@media (max-width: 1040px) {
    
    .balloon-purple {
        top: 100px;
        left: 90%;
    }

    .balloon-red {
        bottom: -30%;
        right: 86%;
    }

    .balloon-green {
        top: 500px;
        left: 90%;
    }

    .balloon-yellow {
        top: 600px;
        right: 90%;
    }

    .balloon-orange {
        top: 650px;
        left: 85%;
    }

    .back-item {
        display: inline-block;
        position: absolute;
        z-index: 5;
    }

    .circle-01 {
        width: 50px; 
        height: 50px;
        top: 10%;
        right: 85%;
    }

    .circle-02 {
        width: 60px; 
        height: 60px;
        top: 45%;
        left: 90%;
    }

    .circle-03 {
        width: 80px; 
        height: 80px;
        top: 50%;
        right: 90%;
    }

    .circle-04 {
        width: 45px; 
        height: 45px;
        top: 70%;
        right: 90%;
    }

    .circle-05 {
        width: 26px; 
        height: 26px;
        top: 800px;
        left: 90%;
    }

    .circle-06 {
        width: 80px; 
        height: 80px;
        top: 900px;
        left: 90%;
    }

    .circle-07 {
        width: 120px; 
        height: 120px;
        top: 940px;
        right: 88%;
    }

    .circle-08 {
        width: 70px; 
        height: 70px;
        top: 1200px;
        right: 85%;
    }

    .circle-09 {
        width: 130px; 
        height: 130px;
        top: 800px;
        left: 90%;
    }

    .circle-10 {
        width: 70px; 
        height: 70px;
        top: 500px;
        right: 90%;
    }

    .circle-11 {
        width: 60px; 
        height: 60px;
        top: 600px;
        right: 85%;
    }

    .circle-12 {
        width: 60px; 
        height: 60px;
        top: 800px;
        left: 86%;
    }

    .circle-13 {
        width: 50px; 
        height: 50px;
        top: 1000px;
        right: 90%;
    }

    .circle-14 {
        width: 68px; 
        height: 68px;
        top: 1100px;
        right: 90%;
    }

    .circle-15 {
        width: 36px; 
        height: 36px;
        top: 1200px;
        right: 85%;
    }

    .item-m,
    .item-r,
    .item-t,
    .item-k {
        width: 70px;
    }

    .item-m {
        position: absolute;
        top: 0;
        left: 5%;
    }

    .item-r {
        position: absolute;
        top: 0;
        right: 5%;
    }

    .item-t {
        position: absolute;
        bottom: 0;
        left: 5%;
    }

    .item-k {
        position: absolute;
        bottom: -30px;
        right: 5%;
    }

    .balloon-green {
        z-index: -1;
        top: -60px;
    }


    .back-img-01 {
        left: 10px;
    }

    .back-img-02 {
        top: 120px;
    }

    .back-img-03 {
        top: 400px;
        left: 87%;
    }
    
    .back-img-01 img,
    .back-img-02 img,
    .back-img-03 img {
        width: 120px;
    }

    .about-text {
        margin: auto;
        text-align: center;
    }
    
    .flow-content {
        width: 344px;
        padding-left: 40px;
    }

    .flow-item h4{
        text-align: left;
        color: #1E90FF;
        transform: translateY(-5px);
    }

    .class-category {
        width: min(80%, 800px);
        flex-direction: column;
        align-items: flex-start;
        padding: 0 20px;
        margin: auto;
    }
    
    .class-category.is-infan {
        margin-bottom: 50px;
    }

    
    .class-name {
        width: 100px; 
        height: 100px;
        background-size: 100% auto;
        background-repeat: no-repeat;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        margin-bottom: 20px;
    }

    .class-name h3 {
        transform: none; 
        margin-left: 150px;
        align-self: center;
        transform: none;
        white-space: nowrap;
    }
    
    .detail-text-area {
        margin: 0;
    }

    .detail-item {
        width: 100%;
        box-sizing: border-box;
        margin-left: 0; 
        margin-right: 0;
    }

    #instructor .instructor-item{
        display: block;
        text-align: center;
    }
    
    .instructor_pic{
        margin: auto;
    }
        
    #instructor p{
        text-align: left;
        width: 100%;
        margin-left: 0;
        margin-top: 40px;
    }

    #voices {
        padding-bottom: 50px;
    }
    
    #voices .title-decoration-container {
        text-align: center;
    }

    .voice-list,
    .voice-item,
    .voice-list p,
    .voice-list h4,
    .voice-item {
        direction: ltr !important;
    }

    .voice-list {
        max-width: 600px;
        margin: -50px auto auto;
        grid-template-columns: 1fr 1fr;
    }

    .voice-list .voice-item:nth-child(3n + 1),
    .voice-list .voice-item:nth-child(3n + 2),
    .voice-list .voice-item:nth-child(3n) {
        transform: translateY(0) !important;
    }
    
    .voice-list .voice-item:nth-child(odd) {
        transform: translateY(100px); 
    }
    
    .voice-list .voice-item:nth-child(even) {
        transform: translateY(0); 
    }

    
    .mirateko {
        display: block;
        width: 100%;
        margin: 40px auto auto;
        text-align: center;
    }

    .mirateko .logo-info {
        flex-flow: row;
        justify-content: center;
    }
    
    .mirateko ul {
        margin-top: 10px;
    }

    
    .mirateko ul li {
        margin-left: 0;
        margin: auto;
    }

}


@media (max-width: 680px) {

    .section-title-text{
        margin-bottom: 30px;
    }

    #logo img {
        width: 140px;
    }

    #hero img {
        width: 120%;
        margin: 150px auto 0;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
    }

    p, li {
        font-size: 14px;
    }

    .link-button button {
        width: 100%;
        margin: auto;
        padding: 10px;
    }

    .taiken-button {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 90%;
        z-index: 100;
        margin: 10px auto;
    }

    .taiken-button p {
        font-size: 1rem;
    }

    .taiken svg {
        margin-right: 10px;
    }

    .instagram-button {
        width: 90%;
        margin: auto 20px;
        margin-top: -5px;
    }

    .instagram-button p {
        width: 60%;
        line-height: 1.3;
    }

    .instagram-button img {
        margin: auto;
    }

    .main-copy {
        top: 5px;
    }

    .balloon-purple {
        top: 200px;
        left: 85%;
    }

    .balloon-red {
        bottom: -30%;
        right: 85%;
    }

    .balloon-green {
        top: 500px;
        left: 85%;
    }

    .balloon-yellow {
        top: 110%;
        right: 85%;
    }

    .balloon-orange {
        top: 60%;
        left: 85%;
    }

    .circle-01 {
        top: 14%;
        right: 88%;
    }

    .circle-02 {
        top: 45%;
        left: 85%;
    }

    .circle-03 {
        top: 50%;
        right: 80%;
    }

    .circle-04 {
        top: 70%;
        right: 80%;
    }

    .circle-05 {
        top: 800px;
        left: 86%;
    }

    .circle-06 {
        top: 900px;
        left: 80%;
    }

    .circle-07 {
        top: 1200px;
        right: 88%;
    }

    .circle-08 {
        top: 1500px;
        right: 85%;
    }

    .circle-09 {
        top: 800px;
        left: 80%;
    }

    .circle-10 {
        top: 70%;
        right: 90%;
    }

    .circle-11 {
        top: 90%;
        right: 85%;
    }

    .circle-12 {
        top: 800px;
        left: 86%;
    }

    .circle-13 {
        top: 1000px;
        right: 90%;
    }

    .circle-14 {
        top: 1100px;
        right: 90%;
    }

    .circle-15 {
        top: 1200px;
        right: 85%;
    }

    .item-m,
    .item-r,
    .item-t,
    .item-k {
        width: 50px;
    }

    .back-item img {
        width: 60px;
    }

    #about {
        flex-wrap: wrap;
        justify-content: center;
        align-items: center; 
        overflow-x: hidden;
        position: relative;
    }

    .about-text {
        position: relative;
        z-index: 10;
    }

    .back-imgs {
        display: flex;
        justify-content: space-between;
        padding: 0;
        width: 100%;
        height: 100px;
        margin: 100px auto;
    }

    .back-img-01,
    .back-img-02,
    .back-img-03 {
        position: static;
        top: 100%;
        height: 100%;
        margin: 80px auto;
        z-index: -1;
    }
    
    .decoration-circle-1::before {
        width: 30px;
        height: 30px;
        top: -80px;
        left: 0;
    }

    .decoration-circle-1::after {
        width: 60px;
        height: 60px;
        top: 150%;
        right: -5%;
    }

    .title-decoration-container {
        width: 100%;
        margin: auto;
    }

    .title-decoration-container img{
        height: 35px;
    }

    .video-container {
        width: 90%;
    }

    .video-container:hover .custom-play-button {
        transform: translate(-50%, -50%) scale(1);
    }

    #customControls {
        opacity: 0;
    }

    #flow .title-decoration-container {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .flow-list {
        flex-direction: column;
        width: auto;
        margin: 40px 20px;
        gap: 20px;
    }

    .flow-item {
        width: 100%;
        margin: auto;
    }

    .flow-item:nth-child(even) {
        transform: translateY(0) !important; 
    }

    .flow-item::after {
        opacity: 0 !important;
        visibility: hidden !important;
    }
    
    .flow-content {
        width: 100%;
    }
    
    .flow-item h4 {
        text-align: center;
    }

    .flow-item p {
        width: 100%;
        text-align: left;
        margin-top: 10px;
    }
    
    .custom-shape-divider-bottom-1761455195 {
        bottom: 0;
        left: 0;
    }

    .class-category {
        width: 90%;
        padding: 0;

    }

    .detail-item {
        width: 100%;
        margin: auto;
        margin-bottom: 40px;
        width: 100%;
    }

    #textbooks {
        padding: 0;
    }

    #gallery {
        padding: 40px 0 140px;
        overflow: hidden;
        .gallery-wrapper {
            display: grid;
            grid-auto-columns: 220px;
            grid-auto-flow: column;
            animation: scroll-loop 50s linear infinite;
            img {
                max-width: 200px;
                height: auto;
            }
            img:nth-child(even) {
                transform: translateY(40px); 
            }
        }
    }

    @keyframes scroll-loop {
        from {
            transform: calc(220px * -7); 
        }
        to {
            translate: calc(calc(220px * -7) - calc(220px * 7));
        }
    }
 
    .schedule-button button p {
        font-size: 1rem;
    }

    #schedule .annotation {
        width: 100%;
    }

    .qa-item {
        display: flex;
        background-color: #fff;
        padding: 24px;
        margin: 0 auto 10px;
        border-radius: 20px;
        text-align: left;
        align-self: flex-start;
        flex-grow: 1;
    }

    .voice-list {
        width: 80%;
        grid-template-columns: 1fr;
        margin: 0 auto;
        padding: 0;
    }
    
    .voice-list .voice-item:nth-child(odd),
    .voice-list .voice-item:nth-child(even) {
        transform: translateY(0);
    }

    .voice-item {
        margin: auto;
    }

    #footer {
        text-align: center;
        padding: 40px 0;
        margin-bottom: 200px;
    }

    #footer .container {
        text-align: center;
        margin: auto;
    }

    .mirateko-eng {
        display: block;
        text-align: center;
        padding: 0;
        gap: 0;
    }

    .mirateko-eng h4,
    .mirateko-eng p {
        text-align: center;
        margin: auto;
    }

    .info-text {
        margin-bottom: 20px;
    }

    .mirateko-eng a img {
        text-align: center;
        max-width: 100%;
        height: auto;
    }

    .mirateko-eng h4{
        color: #984989;
    }
    
    .mirateko-eng .addres {
        display: block;
        p {
            margin-right: 0;
        }
    }

    .mirateko-eng a {
        display: block;
        width: 40px;
        height: 40px;
        margin: auto;
    }
    
    .mirateko {
        display: block;
        width: 100%;
        margin: 40px auto auto;
    }

    .mirateko .logo-info {
        display: flex;
        flex-flow: row;
        align-items: center;
        margin: 0 auto 20px;
        justify-content: center;
    }

    .mirateko p {
        font-size: 0.9rem;
    }

    .mirateko ul {
        display: block;
        margin: auto;
        padding: 0;
    }

    .mirateko ul li {
        margin: 0 auto 10px;
    }

    .mirateko li a {
        display: block;
    }

    .copyright {
        margin-top: 0;
    }

}
