@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
ul, ol {
    list-style: none;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}
a {
    color: inherit;
    text-decoration: none;
}
html {
    font-size: 100%;
    scroll-behavior: smooth;
}
body {
    font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
    font-size: 1rem;
    line-height: 1.4;
    color: #222;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
.pc-none {
    display: none;
}
@media (width < 500px) {
    .pc-none {
        display: block;
    }
    .sp-display-none {
        display: none;
    }
}

/* bg-fixed */
.bg-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: url(../img/index-bg.webp) no-repeat center/cover;
}
.bg-fixed::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.4) 1px, transparent 1px);
    background-size: 4px 4px;
    pointer-events: none;
}

/* container */
.container {
    width: 500px;
    margin: 0 auto;
    min-height: 100vh;
    background-color: #fff;
}
@media (width < 500px) {
    .container {
        width: 100%;
    }
}

/* header */
header {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 10px;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    width: 500px;
    height: 80px;
    padding: 10px 30px;
    background-color: #fff;
    box-shadow: 0 0 4px rgba(0, 0, 0, .2);
}
.logo-header {
    width: 120px;
}
.cta-btn {
    background-color: #04b790;
    color: #fff;
    border-radius: 10px;
    padding: 10px 20px;
    margin-top: 12px;
}
.cta-btn:hover {
    background-color: #0ec9a1;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1);
}
.cta-btn p {
    font-size: 1.1rem;
    font-weight: 500;
    font-family: "Zen Maru Gothic", sans-serif;
    line-height: 1.2;
    text-align: center;
}
@media (width < 500px) {
    header {
        width: 100%;
        padding: 10px 20px;
    }
    .cta-btn {
        padding: 10px 12px;
    }
    .cta-btn p {
        letter-spacing: 0;
    }
}

/* main */
main {
    position: relative;
    top: 80px;
    background-color: #fff;
}

/* sec-keyvisual, sec-catch */
.sec-keyvisual {
    height: 360px;
    position: relative;
    background: url(../img/index-keyvisual.webp) no-repeat center/cover;
    padding: 0 30px;
    scroll-margin-top: 80px;
}
.sec-keyvisual .title {
    width: 400px;
    position: absolute;
    top: 74px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 3rem;
    font-weight: 700;
    font-family: "Zen Maru Gothic", sans-serif;
    line-height: 1.2;
    text-align: center;
    text-shadow: 0 0 50px #fff;
}
.sec-keyvisual .title span {
    color: #ff8f20;
}
.sec-keyvisual .subtitle {
    width: 400px;
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.4rem;
    font-weight: 500;
    font-family: "Zen Maru Gothic", sans-serif;
    line-height: 1.2;
    background-color: #04b790;
    color: #fff;
    text-align: center;
    padding: 4px 30px 8px;
    box-shadow: 0 0 4px rgba(0, 0, 0, .2);
}
.sec-keyvisual .subtitle span {
    font-size: 1rem;
    font-weight: 400;
    white-space: nowrap;
}
.sec-catch {
    width: 400px;
    margin: 80px auto 40px;
    background-color: #fff;
    position: relative;
}
.sec-catch .character01 {
    position: absolute;
    top: -30px;
    left: -90px;
    width: 120px;
    transform: rotate(-12deg);
}
.sec-catch .character02 {
    position: absolute;
    top: -18px;
    right: -90px;
    width: 120px;
    transform: rotate(12deg);
}
.sec-catch .balloon {
    position: relative;
    background-color: #d4f3c1;
    max-width: 320px;
    margin: 0 auto 16px;
    padding: 14px 20px;
    border-radius: 16px;
    text-align: center;
}
.sec-catch .balloon::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 20px 20px 0;
    border-style: solid;
    border-color: #d4f3c1 transparent;
    display: block;
    width: 0;
}
.sec-catch .text {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.4;
    text-align: justify;
    padding: 0 20px;
}
@media (width < 500px) {
    .sec-keyvisual {
        padding: 0 20px;
    }
    .sec-keyvisual .title {
        width: 100%;
        font-size: 2.6rem;
    }
    .sec-keyvisual .subtitle {
        width: calc(100% - 40px);
        padding: 4px 20px 8px;
    }
    .sec-catch {
        width: 100%;
        padding: 0 20px;
    }
    .sec-catch .character01 {
        display: none;
    }
    .sec-catch .character02 {
        display: none;
    }
}


/* sec-about */
.sec-about {
    height: 280px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: url(../img/index-about.webp) no-repeat center/cover;
    scroll-margin-top: 90px;

}
.sec-about .text {
    font-size: 1.6rem;
    font-weight: 500;
    font-family: "Zen Maru Gothic", sans-serif;
    color: #fff;
    text-shadow: 0 0 10px #000;
    margin-bottom: 12px;
}
.sec-about .text span {
    font-weight: 700;
    color: #04b790;
}
.sec-about .text-heading {
    font-size: 2rem;
    font-weight: 500;
    font-family: "Zen Maru Gothic", sans-serif;
    color: #fff;
    text-shadow: 0 0 10px #000;
    margin-bottom: 12px;
}
.sec-about .calendar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}
.sec-about .calendar img {
    width: 26px;
    box-shadow: 0 0 10px #000;
}
.sec-about .text-day {
    font-size: 1rem;
    font-weight: 600;
    font-family: "Zen Maru Gothic", sans-serif;
    color: #fff;
    padding: 6px;
    background-color: #ff4920;
    border-radius: 4px;
    box-shadow: 0 0 10px #000;
}
.sec-about .text-calendar {
    font-size: 1.2rem;
    font-weight: 500;
    font-family: "Zen Maru Gothic", sans-serif;
    color: #fff;
    text-shadow: 0 0 10px #000;
}
.sec-about .cta-text {
    font-size: 1.1rem;
    font-weight: 500;
    font-family: "Zen Maru Gothic", sans-serif;
    color: #fff;
    background-color: #04b790;
    border-radius: 12px;
    padding: 6px 0;
}

/* sec-message */
.sec-message {
    padding: 50px 30px;
    /* background-color: #fceed5; */
    background: url(../img/index-message-bg.webp) no-repeat top center/cover;
    scroll-margin-top: 90px;
}
.sec-message h2 {
    font-size: 2.2rem;
    font-weight: 600;
    font-family: "Zen Maru Gothic", sans-serif;
    text-align: center;
    margin-bottom: 30px;
}
.sec-message img {
    display: block;
    width: 400px;
    margin: 0 auto 20px;
}
.sec-message .text-first {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.4;
    text-align: justify;
    padding: 0 20px;
    margin-bottom: 20px;
}
.sec-message .message-detail {
    padding-bottom: 20px;
}
.sec-message .text {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.4;
    text-align: justify;
    padding: 0 20px;
    margin-bottom: 20px;
}
.sec-message .text span {
    font-weight: 600;
    color: #ff4920;
}
.sec-message .message-btn {
    display: flex;
    justify-content: center;
    align-items: center;
}
.sec-message .btn-text {
    padding: 12px 16px;
    border: 1px solid #222;
    background-color: rgba(255, 255, 255, .74);
    text-align: center;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 400;
}
@media (width < 500px) {
    .sec-message {
        padding: 50px 20px;
    }
    .sec-message img {
        width: 100%;
    }
}

/* sec-features */
.sec-features {
    padding: 50px 30px;
    background-color: #fff;
    scroll-margin-top: 90px;
}
.sec-features h2 {
    font-size: 2.2rem;
    font-weight: 600;
    font-family: "Zen Maru Gothic", sans-serif;
    text-align: center;
    margin-bottom: 30px;
}
.sec-features h2 p {
    font-size: 1.2rem;
    font-weight: 500;
    color: #222;
    margin-bottom: 8px;
}
.sec-features h2 p span {
    font-size: 1.8rem;
    font-weight: 700;
    color: #04b790;
}
.sec-features .card {
    position: relative;
    margin: 40px auto;
    border: 1px solid #04b790;
    background-color: #fff;
}
.sec-features .card .photo {
    width: 100%;
    padding: 30px 30px 10px;
}
.sec-features .card .number {
    position: absolute;
    top: 10px;
    left: 10px;
    border-radius: 50%;
    background-color: #04b790;
    color: #fff;
    padding: 16px;
    font-size: 1.2rem;
    z-index: 99;
}
.sec-features h3 {
    font-size: 1.3rem;
    font-weight: 500;
    font-family: "Zen Maru Gothic", sans-serif;
    line-height: 1.2;
    padding: 6px 12px;
    margin: 10px 30px;
    background-color: #04b790;
    color: #fff;
}
.sec-features .text {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.4;
    text-align: justify;
    padding: 0 30px;
    margin-bottom: 20px;
}
@media (width < 500px) {
    .sec-features {
        padding: 50px 20px;
    }
}

/* sec-teachers */
.sec-teachers {
    padding: 50px 30px;
    /* background-color: #8edafd; */
    background: url(../img/index-teachers-bg.webp) no-repeat center/cover;
    scroll-margin-top: 90px;
}
.sec-teachers h2 {
    font-size: 2.2rem;
    font-weight: 600;
    font-family: "Zen Maru Gothic", sans-serif;
    text-align: center;
    margin-bottom: 30px;
    color: #222;
}
.sec-teachers .card-header {
    display: grid;
    grid-template-columns: 90px auto;
    align-items: center;
    gap: 16px;
    padding: 0 30px;
    margin-bottom: 10px;
}
.sec-teachers .card-header img {
    border-radius: 50%;
}
.sec-teachers .card-header .catch {
    border-left: 4px solid #233999;
    padding-left: 6px;
    font-size: 1.2rem;
    font-weight: 600;
    font-family: "Zen Maru Gothic", sans-serif;
    line-height: 1.4;
    color: #233999;
    margin-bottom: 12px;
}
.sec-teachers .card-header .name {
    font-size: 1.1rem;
    font-weight: 600;
}
.sec-teachers .text {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.4;
    text-align: justify;
    padding: 0 30px;
    margin-bottom: 20px;
}
.sec-teachers .text:first-of-type {
    padding-bottom: 40px;
    border-bottom: 1px dashed #fff;
}
.sec-teachers .card-header:last-of-type {
    padding-top: 20px;
}
@media (width < 500px) {
    .sec-teachers {
        padding: 50px 20px;
    }
    .sec-teachers .text {
        padding: 0 20px;
    }
    .sec-teachers .card-header {
        padding: 0 20px;
    }
}

/* sec-classroom */
.sec-classroom {
    padding: 50px 30px;
    background-color: #bef0e5;
    scroll-margin-top: 90px;
}
.sec-classroom h2 {
    font-size: 2.2rem;
    font-weight: 600;
    font-family: "Zen Maru Gothic", sans-serif;
    text-align: center;
    margin-bottom: 30px;
    color: #222;
}
.sec-classroom .gallery {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}
.sec-classroom .gallery .item {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}
.sec-classroom .gallery img {
    width: 100%;
    height: 100%;
    border: 3px solid #fff;
    object-fit: cover;
}
@media (width < 500px) {
    .sec-classroom {
        padding: 50px 20px;
    }
}

/* sec-guidelines */
.sec-guidelines {
    padding: 50px 30px;
    background-color: #fff;
    scroll-margin-top: 90px;
}
.sec-guidelines h2 {
    font-size: 2.2rem;
    font-weight: 600;
    font-family: "Zen Maru Gothic", sans-serif;
    text-align: center;
    margin-bottom: 30px;
    color: #222;
}
.sec-guidelines h3 {
    font-size: 1.6rem;
    font-weight: 600;
    font-family: "Zen Maru Gothic", sans-serif;
    text-align: center;
    margin: 40px auto 20px;
    color: #04b790;
}
.sec-guidelines .card-fee {
    display: grid;
    grid-template-rows: 1fr auto;
    border: 1px solid #04b790;
    margin: 0 auto 30px;
}
.sec-guidelines .card-header {
    margin: 20px auto;
    font-size: 1.2rem;
    font-weight: 500;
    text-align: center;
    background-color: #fff;
}
.sec-guidelines .card-header span {
    font-size: 1.6rem;
}
.sec-guidelines .card-text {
    padding: 10px;
    background-color: #bef0e5;
    color: #666;
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1.2;
}
.sec-guidelines .card-tuitionfee {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    overflow: hidden;
    font-size: 0.9rem;
    margin: 0 auto 30px;
    border: 1px solid #04b790;
}
.sec-guidelines .card-tuitionfee th,
.sec-guidelines .card-tuitionfee td {
    padding: 16px 8px;
    text-align: center;
    border-bottom: 1px solid #04b790;
    border-right: 1px solid #04b790;
}
.sec-guidelines .card-tuitionfee th {
    background-color: #bef0e5;
    font-weight: 600;
}
.sec-guidelines .card-body {
    padding: 10px;
    background-color: #bef0e5;
    color: #666;
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1.2;
    text-align: center;
}
.sec-guidelines .fee-detail .title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 6px;
}
.sec-guidelines .fee-detail .text {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 20px;
}
.sec-guidelines .card-tuitionfee span {
    font-weight: 700;
    font-size: 1rem;
}
.sec-guidelines .fee-btn {
    display: flex;
    justify-content: center;
    align-items: center;
}
.sec-guidelines .btn-text {
    padding: 12px 16px;
    border: 1px solid #222;
    color: #222;
    background-color: rgba(255, 255, 255, .74);
    text-align: center;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 400;
}
@media (width < 500px) {
    .sec-guidelines {
        padding: 50px 20px;
    }
}

/* sec-consultation */
.sec-consultation {
    padding: 50px 30px;
    background: url(../img/index-consultation.webp) no-repeat center/cover;
    scroll-margin-top: 90px;
}
.sec-consultation h2 {
    font-size: 1.6rem;
    font-weight: 500;
    font-family: "Zen Maru Gothic", sans-serif;
    line-height: 1.4;
    text-align: center;
    margin-bottom: 30px;
    color: #fff;
    text-shadow: 0 0 10px #000;
}
.sec-consultation h2 span {
    font-weight: 700;
    color: #04b790;
}
.sec-consultation .card-consultation {
    width: 100%;
    padding: 20px;
    background-color: rgba(255, 255, 255, .9);
    border-radius: 10px;
    display: grid;
    grid-template-columns: 100px auto;
    gap: 20px;
    margin-bottom: 20px;
}
.sec-consultation .card-consultation:last-of-type {
    margin-bottom: 0;
}
.sec-consultation .card-consultation img {
    border-radius: 50%;
}
.sec-consultation .card-consultation h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #04b790;
    margin-bottom: 12px;
}
.sec-consultation .card-consultation .text {
    font-size: .9rem;
    font-weight: 400;
    line-height: 1.4;
    text-align: justify;
}
@media (width < 500px) {
    .sec-consultation {
        padding: 50px 20px;
    }
    .sec-consultation h2 {
        font-size: 1.5rem;
    }
}

/* sec-access */
.sec-access {
    padding: 50px 30px;
    background: url(../img/index-message-bg.webp) no-repeat top center/cover;
    scroll-margin-top: 90px;
}
.sec-access h2 {
    font-size: 2.2rem;
    font-weight: 600;
    font-family: "Zen Maru Gothic", sans-serif;
    text-align: center;
    margin-bottom: 30px;
    color: #222;
}
.sec-access .card-access {
    display: grid;
    grid-template-columns: 24px auto;
    align-items: center;
    gap: 12px 10px;
    margin-bottom: 20px;
}
.sec-access .card-access img {
    width: 24px;
}
.sec-access .card-access .text {
    font-size: 1rem;
    font-weight: 400;
}
.sec-access .card-access .tel {
    font-size: 1.3rem;
    font-weight: 600;
    color: #04b790;
}
.sec-access .card-access .tel-hours {
    font-size: .8rem;
    font-weight: 600;
    color: #fff;
    padding: 4px 8px;
    background-color: #ff8f20;
    border-radius: 16px;
    vertical-align: 2px;
    margin: 0 10px 0 20px;
}
.sec-access .access-map {
    width: 100%;
    aspect-ratio: 4 / 3;
}
@media (width < 500px) {
    .sec-access {
        padding: 50px 20px;
    }
    .sec-access .card-access .text {
        line-height: 1.8;
    }
    .sec-access .card-access .tel-hours {
        margin: 30px 8px 0 0;
    }
}

/* sec-freetrial */
#success_message {
    display: none;
}
.sec-freetrial {
    padding: 50px 30px;
    background-color: #fff;
    scroll-margin-top: 90px;
}
.sec-freetrial h2 {
    font-size: 2.2rem;
    font-weight: 600;
    font-family: "Zen Maru Gothic", sans-serif;
    text-align: center;
    margin-bottom: 30px;
    color: #ff8f20;
}
.sec-freetrial .text {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.4;
    text-align: justify;
    padding: 0 30px;
    margin-bottom: 20px;
}
.sec-freetrial .card-freetrial {
    display: grid;
    grid-template-columns: 36px auto;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 0 auto 10px;
}
.sec-freetrial .card-freetrial img {
    width: 36px;
}
.sec-freetrial .card-freetrial .phone-number {
    font-size: 2rem;
    font-weight: 600;
    color: #04b790;
}
.sec-freetrial .tel-hours {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.4;
    margin: 0 auto 30px;
    text-align: center;
}
.sec-freetrial .tel-hours span {
    font-size: .8rem;
    font-weight: 600;
    color: #fff;
    padding: 4px 8px;
    background-color: #ff8f20;
    border-radius: 16px;
    vertical-align: 1px;
    margin: 0 10px 0 0;
}
.form-label {
    font-size: 1rem;
    font-weight: 400;
    padding: 12px 16px 10px;
    background-color: #ececec;
    margin: 16px auto 6px;
}
.form-label .required {
    font-size: 0.7rem;
    font-weight: 500;
    color: #fff;
    background-color: #ff4920;
    padding: 2px 6px 2px;
    border-radius: 2px;
    vertical-align: 1px;
    margin-left: 16px;
}
input[type="text"],
input[type="email"],
input[type=tel],
select, textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    background-color: #f9fafb;
    border: 1px solid #d1d5db;
    outline: none;
    transition: all .2s ease;
}
select {
    cursor: pointer;
    appearance: none;
}
.form-select {
    position: relative;
}
.form-select::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 16px;
    width: 8px;
    height: 8px;
    border-right: 2px solid #666;
    border-bottom: 2px solid #666;
    transform: translateY(-50%) rotate(45deg);
    pointer-events: none;
}
textarea {
    min-height: 120px;
    resize: vertical;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type=tel]:focus,
select:focus, textarea:focus {
    background-color: #fff;
    border-color: #04b790;
    box-shadow: 0 0 0 3px rgba(4, 183, 144, 0.15);
}
input[type="submit"] {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 400;
    background-color: #233999;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all .2s ease;
    text-align: center;
    width: 100%;
    margin: 20px 0 30px;
}
input[type="submit"]:hover {
    background-color: #4561dc;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1);
}
input[type="submit"]:active {
    transform: translateY(-1px);
    background-color: #4561dc;
}
@media (width < 500px) {
    .sec-freetrial {
        padding: 50px 20px;
    }
}

/* footer */
footer {
    position: relative;
    bottom: 0;
    margin-top: 60px;
    font-size: .9rem;
    font-weight: 400;
    text-align: center;
    background-color: #04b790;
    color: #fff;
}
footer .character03 {
    position: absolute;
    top: -20px;
    left: -90px;
    width: 180px;
    transform: rotate(-12deg);
}
footer .character04 {
    position: absolute;
    top: 0px;
    right: -40px;
    width: 120px;
    transform: rotate(12deg);
}
footer .card-freetrial {
    display: grid;
    grid-template-columns: 36px auto;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 0 auto 10px;
    padding: 30px 0 0;
}
footer .card-freetrial img {
    width: 36px;
}
footer .card-freetrial .phone-number {
    font-size: 2rem;
    font-weight: 600;
    color: #fff;
}
footer .tel-hours {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.4;
    margin: 0 auto 30px;
    text-align: center;
}
footer .tel-hours span {
    font-size: .8rem;
    font-weight: 600;
    color: #fff;
    padding: 4px 8px;
    background-color: #ff8f20;
    border-radius: 16px;
    vertical-align: 1px;
    margin: 0 10px 0 0;
}
footer ul {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
    border-top: 1px solid #fff;
}
footer li {

    border-bottom: 1px solid #fff;
    width: 50%;
}
footer li a {
    display: block;
    width: 100%;
    height: 100%;
    padding: 16px 30px;
    background-color: #04b790;
}
footer li a:hover {
    background-color: #4cceb2;
}
footer li:nth-child(odd) {
    border-right: 1px solid #fff;
}
footer .copyright {
    padding: 0 0 20px;
}

@media (width < 500px) {
    footer {
        font-size: 0.9rem;
    }
    footer ul {
        margin-bottom: 60px;
    }
    footer .character03 {
        display: none;
    }
    footer .character04 {
        display: none;
    }
}
