@charset "UTF-8";

/* ページ全体のスタイル
------------------------------------------ */

html {
    font-size: calc(max(16px, 2.66667vw));
}

@media (min-width: 768px) {
    html {
        font-size: max(16px, 1vw);
    }
}

body {
    font-family: "Noto Sans JP", sans-serif;
    line-height: 1.2;
    color: rgb(0, 0, 0);
    font-size: 16px;
    font-weight: 400;
}

a {
    text-decoration: none;
    color: rgb(0, 0, 0);
    cursor: pointer;
}

img {
    max-width: 100%;
    height: auto;
}

li {
    list-style: none;
}

.main {
    background-repeat: repeat;
    background-size: 100%;
}

picture.title_icon {
    width: 10%;
}

/* SP、PCの表示切り替え */
.no-sp {
    display: none;
}

@media (min-width: 768px) {
    .no-sp {
        display: inline;
    }
}

.no-pc {
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .no-pc {
        display: none;
    }
}

/* アニメーションリセット */
.fadeIn,
.fadeInUp,
.fadeInRight,
.fadeInLeft {
    opacity: 0;
    transition: opacity 1s;
}

.animate__fadeIn,
.animate__fadeInUp,
.animate__fadeInRight,
.animate__fadeInLeft {
    opacity: 1;
}

.fade-in1,
.fade-in2,
.fade-in3,
.fade-in4,
.fade-in5 {
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

/* タイトル共通 */
.contents-title {
    text-align: center;
    font-weight: 900;
    font-family: "Zen Maru Gothic";
    color: #333;
    font-size: clamp(16px, 1.5em + 1vw, 9999px);
    white-space: nowrap;
    text-shadow: 1px 1px 0 white, -1px 1px 0 white, 1px -1px 0 white, -1px -1px 0 white;
}

@media (min-width: 768px) {
    .contents-title {
        font-size: clamp(16px, 2em + 1vw, 9999px);
    }
}

.contents-subtitle {
    color: rgb(160, 82, 45);
    font-weight: 700;
    text-align: center;
    padding: 0 0 1rem;
    font-size: 1em;
}

@media (min-width: 768px) {
    .contents-subtitle {
        font-size: clamp(16px, 0.5em + 1vw, 9999px);

        padding: 0 0 3rem 0;
    }
}


/* topへ戻るCTAボタン */
.to-top-button {
    position: fixed;
    bottom: 76px;
    right: 20px;
    padding: 10px 20px;
    font-size: 14px;
    color: #fff;
    background-color: #DAEEDB;
    border-radius: 5px;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    opacity: .8;
}

.to-top-button:hover {
    background-color: #556b57;
}

@media (min-width: 768px) {
    .to-top-button {
        display: none;
    }
}

/* 部品
------------------------------------------ */
/* ヘッダーの体験授業ボタン */

.trial-button {
    display: inline-block;
    font-family: "Noto Sans Japanese";
    font-weight: bold;
    line-height: 1.5;
    transition: 0.3s;
    text-decoration: none;
    color: rgb(255, 255, 255);
    border-radius: 0.5rem;
    background: rgb(177, 126, 50);
    box-shadow: rgb(157, 104, 44) 0px 5px 0px;
    white-space: nowrap;
    margin-left: 1rem;
}

.trial-button p {
    margin: 0px;
}

.trial-button:hover {
    transform: translate(0px, 3px);
    background: rgb(197, 154, 107);
    box-shadow: rgb(157, 104, 44) 0px 2px 0px;
}

i.fas.fa-chevron-right {
    padding-left: 0.5rem;
}

.trial-button a {
    color: rgb(255, 255, 255);
    font-size: 14px;
}


/* カバー2枚目、ご予約はこちらからボタン */
.cover-slick__button {
    position: relative;
    display: inline-block;
    font-family: "Noto Sans Japanese";
    font-weight: bold;
    line-height: 1.5;
    padding: 1rem 4rem 1rem 4rem;
    transition: 0.3s;
    text-decoration: none;
    color: rgb(255, 255, 255);
    border-radius: 0.5rem;
    background: rgb(177, 126, 50);
    box-shadow: rgb(157, 104, 44) 0px 5px 0px;
    margin-bottom: 1rem;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .cover-slick__button {
        padding: 2rem 3rem 2rem 3.5rem;
    }
}

.cover-slick__button p {
    margin: 0px;
    font-size: 16px;
}

@media (min-width: 768px) {
    .cover-slick__button p {
        font-size: 2rem;
    }
}

.cover-slick__button .btn_balloon {
    position: absolute;
    display: inline-block;
    bottom: 4px;
    left: -31px;
    width: 5em;
    height: 5em;
    font-family: "Noto Sans Japanese";
    line-height: 5em;
    text-align: center;
    color: rgb(177, 126, 50);
    font-size: 77%;
    font-weight: bold;
    background: rgb(255, 255, 255);
    border: 3px solid rgb(177, 126, 50);
    border-radius: 50%;
    box-sizing: border-box;
    transform: rotate(-10deg);
}

@media (min-width: 768px) {
    .cover-slick__button .btn_balloon {
        bottom: 23%;
        left: calc(6% - 70px);
        width: 5em;
        height: 5em;
        font-size: 100%;
    }
}


.cover-slick__button .btn_balloon::before {
    position: absolute;
    content: "";
    bottom: -5px;
    right: -10px;
    border-width: 9px 9px 9px 15px;
    border-style: solid;
    border-color: transparent transparent transparent rgb(255, 255, 255);
    border-image: initial;
    z-index: 0;
    transform: rotate(45deg);
}

.cover-slick__button:hover {
    transform: translate(0px, 3px);
    background: rgb(197, 154, 107);
    box-shadow: rgb(157, 104, 44) 0px 2px 0px;
}

/* 体験授業セクション、お問合せボタン */
.contact-button {
    display: inline-block;
    font-family: "Noto Sans Japanese";
    font-weight: bold;
    line-height: 1.5;
    padding: 0.5rem 1.5rem;
    transition: 0.3s;
    text-decoration: none;
    color: rgb(255, 255, 255);
    border-radius: 0.5rem;
    background: rgb(177, 126, 50);
    box-shadow: rgb(157, 104, 44) 0px 5px 0px;
    white-space: nowrap;
    text-align: center;
    margin: 0px auto 1rem;
    cursor: pointer;
}

@media (min-width: 768px) {
    .contact-button {
        margin-bottom: 1.5rem;
    }
}

.contact-button p {
    margin: 0px;
}

.contact-button:hover {
    transform: translate(0px, 3px);
    background: rgb(197, 154, 107);
    box-shadow: rgb(157, 104, 44) 0px 2px 0px;
}

i.fas.fa-chevron-right {
    padding-left: 0.5rem;
}

.contact-button a {
    color: rgb(255, 255, 255);
    font-size: 1em;
}

/* ヘッダー
------------------------------------------ */

.header-block {
    width: 100%;
    padding: 0.5rem 1rem;
    position: sticky;
    top: 0px;
    background-color: rgba(255, 255, 250, 0.5);
    display: flex;
    justify-content: space-between;
    z-index: 1000;
}

@media (min-width: 768px) {
    .header-block {
        justify-content: center;
        background-color: rgba(255, 255, 255, 0.7);
        position: fixed;
        padding: 0.5rem;
    }
}

.header-logo-pc {
    display: none;
}

@media (min-width: 768px) {
    .header-logo-pc {
        display: block;
        padding-right: 1rem;
    }
}

.header-logo-sp {
    display: flex;
    align-items: center;
}

@media (min-width: 768px) {
    .header-logo-sp {
        display: none;
    }
}

.logo-img {
    max-width: 70%;
}


.header-menu-pc {
    display: none;
}

@media (min-width: 768px) {
    .header-menu-pc {
        display: flex;
        justify-content: right;
        width: 100%;
        align-items: center;
        padding-right: 1rem;
    }
}

.header-menu-pc ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}


/* pcメニューのテキスト */
.menu-text-pc a {
    position: relative;
    overflow: hidden;
    border-radius: 0.3rem;
    display: block;
    max-width: 25rem;
    margin: auto;
    font-family: "Noto Sans Japanese";
    font-weight: 500;
    text-align: center;
    line-height: 1.8;
    text-decoration: none;
    outline: none;
    transition: 0.2s;
    font-size: 14px;
    font-size: clamp(16px, 0.5em + 1vw, 9999px);
}

.menu-text-pc a span {
    position: relative;
    z-index: 3;
    color: rgb(0, 0, 0);
    white-space: nowrap;
    padding: 0 0.2rem;
}

.menu-text-pc a:hover span {
    color: rgb(0, 0, 0);
    white-space: nowrap;
}


.header-menu-pc .fa-chevron-right {
    color: rgb(255, 255, 255);
    padding-left: 0.4rem;
}


/* ハンバーガーメニュー */
.hamburger-button {
    position: sticky;
    top: 0.4rem;
    right: 0rem;
    font-size: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgb(96, 96, 96);
}

@media (min-width: 768px) {
    .hamburger-button {
        display: none;
    }
}

.hamburger-menu {
    position: fixed;
    top: 64px;
    left: 0px;
    width: 100vw;
    background-color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    overflow: hidden;
    max-height: 0px;
    transition: max-height 0.6s ease;
}

@media (min-width: 768px) {
    .hamburger-menu {
        display: none;
    }
}

.hamburger-menu-active {
    z-index: 1000;
    max-height: 100vh;
    overflow-y: auto;
}


.hamburger-menu ul {
    display: block;
    height: auto;
}

.hamburger-menu ul li a {
    position: relative;
    display: block;
    padding: 10px 10px;
    text-align: center;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.7);
    width: 100vw;
}

.hamburger-menu ul li:nth-child(odd) a {
    background-color: #DAEEDB;
}

.hamburger-menu ul li:nth-child(even) a {
    background-color: rgb(244, 243, 238);
}

.hamburger-menu ul li:first-child a {
    border-top: 1px solid #333;
}

.hamburger-menu ul li:last-child a {
    border-bottom: 1px solid #333;
}

.hidden {
    display: none;
}

p.hamburger-button__text {
    font-size: 10px;
}


/* メニューテキストのホバー時に背景緑 */
.bgleft {
    position: relative;
    display: inline-block;
}

.bgleft::before {
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 1;
    background: rgb(218, 238, 219);
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.8, 0, 0.2, 1);
    transform: scale(0, 1);
    transform-origin: right top;
}

.bgleft:hover::before {
    transform-origin: left top;
    transform: scale(1, 1);
}

.bgleft span {
    position: relative;
    z-index: 2;
    color: rgb(0, 0, 0);
}


/* ヘッダーのお問合せボタン */
.header_text {
    margin: 1rem;
    display: inline-block;
    font-family: "Noto Sans Japanese";
    font-weight: bold;
    line-height: 1.5;
    padding: .5rem;
    transition: 0.3s;
    text-decoration: none;
    color: rgb(255, 255, 255);
    border-radius: 0.5rem;
    background: rgb(177, 126, 50);
    box-shadow: rgb(157, 104, 44) 0px 5px 0px;
    white-space: nowrap;
    text-align: center;
    cursor: pointer;
}

.header_text:hover {
    transform: translate(0px, 3px);
    background: rgb(197, 154, 107);
    box-shadow: rgb(157, 104, 44) 0px 2px 0px;
}

.header_text_color {
    color: #fff;
}

@media (min-width: 768px) {
    .header_text {
        display: none;
    }
}

/* ファーストビュー
------------------------------------------ */

:root {
    --brand-brown: #A0522D;
    --badge-bg: #fff;
    --text-dark: #3a3a3a;
    --shadow: 0 6px 18px rgba(0, 0, 0, .15);
}

/* セクション全体 */
.fv {
    position: relative;
    min-height: 70svh;
    display: grid;
    place-items: center;
    overflow: hidden;
    padding-bottom: 60px;
}

/* 背景写真（全面） */
.fv__bg,
.fv__bg>img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.fv__bg>img {
    object-fit: cover;
}

.fv__left {
    position: absolute;
    inset: 0;
    background: url("/images/fv-left.jpg") center/cover no-repeat;
    clip-path: polygon(0 0, 52% 0, 39% 100%, 0 100%);
    opacity: .95;
}

.fv__content {
    position: relative;
    width: min(92%, 1080px);
    margin-inline: auto;
    display: grid;
    row-gap: clamp(90px, 2.2vw, 28px);
}

.fv__catch {
    margin: 0;
    line-height: 1.35;
    color: #2f3b2e;
    font-size: clamp(16px, 4.6vw, 40px);
    text-shadow: 0 2px 0 rgba(255, 255, 255, .6);
}

.fv__catch span {
    display: block;
}

.fv__catch-img {
    width: 55%;
    height: auto;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .2));
}

.fv__badges {
    display: grid;
    gap: 12px;
    max-width: 200px;
}

.fv__badge {
    display: inline-block;
    background: var(--badge-bg);
    color: var(--text-dark);
    padding: .2em .2em;
    border-radius: .6em;
    box-shadow: var(--shadow);
    font-weight: 600;
    font-size: clamp(16px, 1em + 1vw, 9999px);
    border-left: .6em solid var(--brand-brown);
}

.fv__badge--em {
    border-left: .6em solid var(--brand-brown);
    font-size: clamp(16px, 1em + 1vw, 9999px);
}

/* 下部バー */
.fv__bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: .8em 1rem;
    box-shadow: 0 -3px 10px rgba(0, 0, 0, .1);
    border-top: 1px solid rgba(255, 255, 255, 0.4);
}

.fv__notice {
    font-weight: 800;
    letter-spacing: .04em;
    font-size: clamp(16px, 2.6vw, 20px);
}

.fv__cta {
    display: inline-block;
    padding: .6em 1.2em;
    border-radius: 999px;
    background: rgb(177, 126, 50);
    box-shadow: rgb(157, 104, 44) 0px 5px 0px;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    font-size: clamp(16px, 2.6vw, 18px);
    transition: 0.3s;
    text-align: center;
    cursor: pointer;
}

.fv__cta:hover {
    transform: translate(0px, 3px);
    background: rgb(197, 154, 107);
    box-shadow: rgb(157, 104, 44) 0px 2px 0px;
}

.fv__cta--poyopoyo {
    animation: poyopoyo 2s ease-out infinite;
    opacity: 1;
}

@keyframes poyopoyo {

    0%,
    40%,
    60%,
    80% {
        transform: scale(1.0);
    }

    50%,
    70% {
        transform: scale(0.95);
    }
}


/* ===== PC（768px〜） ===== */
@media (min-width: 768px) {
    .fv {
        min-height: 90vh;
    }

    .fv__left {
        clip-path: polygon(0 0, 54% 0, 39% 100%, 0 100%);
    }

    .fv__content {

        place-items: start;
        row-gap: clamp(16px, 1.8vw, 28px);
    }

    .fv__catch {
        font-size: clamp(16px, 3.4vw, 48px);
    }

    .fv__badges {
        gap: 14px;
        max-width: 760px;
    }

    .fv__bar {
        align-self: end;
    }
}



/*当塾について
------------------------------------------ */
.about {
    position: relative;
}

.about-area {
    padding: 0px 0 3rem;
}

@media (min-width: 768px) {
    .about-area {
        padding: 0px 0 70px;
        margin: 2rem;
    }
}

.about_title_container {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 2rem 0;
}

@media (min-width: 768px) {
    .about_title_container {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 4rem 0 0;
        padding-bottom: 2rem;
    }
}

.about__title {
    font-family: "Zen Maru Gothic";
    color: #333;
    text-shadow: 1px 1px 0 white,
        -1px 1px 0 white,
        1px -1px 0 white,
        -1px -1px 0 white;
    font-size: calc(1.5em + 1vw);
    white-space: nowrap;
}

@media (min-width: 768px) {
    .about__title {
        font-size: clamp(16px, 2em + 1vw, 9999px);
        padding: 0;
    }
}

.about__slider {
    height: 65vh;
    display: grid;
    place-items: center;
    overflow: hidden;
}


@media (min-width: 768px) {
    .about__slider {
        height: 90vh;
        min-height: 60vh;
        display: grid;
        place-items: center;
        overflow: hidden;
    }
}

.about__slider-items {
    position: relative;
    width: 100%;
    height: 100%;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 3px 10px;
}

.about__content {
    width: 200px;
    height: 300px;
    list-style-type: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    background-position: center center;
    background-size: cover;
    border-radius: 20px;
    box-shadow: rgba(255, 255, 255, 0.3) 0px 20px 30px inset;
    transition: transform 0.1s, left 0.75s, top 0.75s, width 0.75s, height 0.75s;
}

.about__content:nth-child(1),
.about__content:nth-child(2) {
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    transform: none;
    border-radius: 0px;
    box-shadow: none;
    opacity: 1;
}

.about__content:nth-child(3) {
    left: 80%;
    height: 100%;
}

.about__content:nth-child(4) {
    left: calc(44% + 220px);
    height: 100%;
}

.about__content:nth-child(5) {
    left: calc(50% + 440px);
}

.about__content:nth-child(6) {
    left: calc(50% + 660px);
    opacity: 0;
}

.about-text-content {
    width: min(47vw, 960px);
    position: absolute;
    top: 35%;
    left: 3%;
    transform: translateY(-50%);
    opacity: 0;
}

@media (min-width: 768px) {
    .about-text-content {
        width: min(27vw, 960px);
        top: 40%;
    }
}

.about-text-content .about__content-title {
    text-transform: uppercase;
    font-size: 1em;
}

.about-text-content .about__content-description {
    line-height: 1.4;
    margin: 15px 0px 1.5rem;
    font-size: 1em;
}

.about-text-content button {
    width: fit-content;
    background-color: rgba(0, 0, 0, 0.1);
    color: white;
    border: 2px solid white;
    border-radius: 0.25rem;
    padding: 0.75rem;
    cursor: pointer;
}

.about__content:nth-of-type(2) .about-text-content {
    display: flex;
    animation: 0.75s ease-in-out 0.3s 1 normal forwards running show;
    align-items: center;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 1rem;
    border-radius: 10px;
}

@keyframes show {
    0% {
        filter: blur(5px);
        transform: translateY(calc(-50% + 75px));
    }

    100% {
        opacity: 1;
        filter: blur(0px);
    }
}

.about__slider-nav {
    position: absolute;
    bottom: 1rem;
    left: 28%;
    transform: translateX(-50%);
    z-index: 5;
    user-select: none;
    display: flex;
    justify-content: space-between;
    gap: 2.5rem;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0) 100%);
    opacity: .8;
    padding: .5rem 4rem;
}

@media (min-width: 768px) {
    .about__slider-nav {
        left: 16.5%;
        bottom: 1rem;
    }
}

.about__slider-nav .about__slider-btn {
    background-color: rgba(255, 255, 255, 0.5);
    color: rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(0, 0, 0, 0.6);
    padding: 0.75rem;
    border-radius: 50%;
    cursor: pointer;
}

.about__slider-nav .about__slider-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

@media (min-width: 768px) {
    .about-text-content .about__content-title {
        font-size: clamp(16px, 0.5em + 1vw, 9999px);

        white-space: normal;
    }

    .about-text-content .about__content-description {
        font-size: clamp(16px, 0.3em + 1vw, 9999px);

    }

    .about-text-content button {
        font-size: 0.7rem;
    }

    .about__content {
        width: 160px;
        height: 270px;
    }

    .about__content:nth-child(3) {
        left: 93%;
    }

    .about__content:nth-child(4) {
        left: calc(64% + 170px);
        width: 20%;
    }

    .about__content:nth-child(5) {
        left: calc(50% + 340px);
    }

    .about__content:nth-child(6) {
        left: calc(50% + 510px);
        opacity: 0;
    }
}

/* 画像クリックボタン */

.about__modal {
    position: absolute;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.modal-inner {
    top: 20%;
    bottom: 10%;
    left: 0;
    right: 0;
    padding: 0;
    position: fixed;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .modal-inner {
        position: absolute;
        top: 10%;
        left: 0;
        right: 0;
        bottom: 10%;
        width: fit-content;
    }
}

.modal-inner-container {
    padding: 0;
    max-width: 500px;
    height: fit-content;
    max-height: 100%;
    box-sizing: border-box;
    height: 100%;
    margin: auto;
}

@media (min-width: 768px) {
    .modal-inner-container {
        max-width: 1000px;
    }
}

.modal-inner-container img {
    position: relative;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (min-width: 768px) {

    .modal-inner-container {
        position: relative;
        text-align: center;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
}

.modal-inner-text {
    color: #fff;
    padding: 1rem 2rem 0;
}

.about__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border-radius: 15px;
    font-size: 1em;
    background-color: rgba(255, 255, 255, 0.5);
    color: rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(0, 0, 0, 0.6);
    text-decoration: none;
    padding: 8px 16px;
    white-space: nowrap;
}

.about__btn:hover {
    opacity: 0.8;
    cursor: pointer;
}

.modal-span {
    cursor: pointer;
}

.modal-outer {
    position: fixed;
    top: 0px;
    left: 0;
    display: none;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
}

.show {
    display: block;
}

.modal-inner-header {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    padding: 0 2rem;
}

.close-btn-top {
    cursor: pointer;
    color: #fff;
    font-size: 2em;
    display: block;
}

.close-btn-bottom {
    margin-bottom: 0;
    width: 150px;
    margin: 0 auto;
    text-align: center;
}

.close-btn-bottom button {
    padding: 5px 10px;
    cursor: pointer;
}


/*プロフィール
------------------------------------------ */
.profile {
    background: rgb(218, 238, 219);
    padding-bottom: 1rem;
}


.profile__wrapper {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0px 1rem;
}

@media (min-width: 768px) {
    .profile__wrapper {
        max-width: 1200px;
        margin: 0px auto 5rem;
        padding: 0 5rem;
    }
}

.profile_title_container {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 2rem 0 0;
}

@media (min-width: 768px) {
    .profile_title_container {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 7rem 0 0;
    }
}

.profile-title {
    position: relative;
    font-size: 2rem;
    font-weight: 700;
    z-index: 1;
    text-align: center;
    padding: 3.5rem 0px 2rem;
}

@media (min-width: 768px) {
    .profile-title {
        font-size: 2rem;
        font-weight: 700;
        padding: 4rem 0px 2rem;
        text-align: left;
    }
}

@media (min-width: 768px) {
    .profile-title::before {
        font-size: 5rem;
        font-weight: 700;
    }
}

.profile__upper {
    display: flex;
    justify-content: center;
    margin: 2rem 0 1rem;
    align-items: flex-end;
    gap: 2rem;
}

@media (min-width: 768px) {
    .profile__upper {
        margin: 2rem auto;
        align-items: center;
    }
}

.profile__upper img {
    width: 36%;
    height: auto;
}

@media (min-width: 768px) {
    .profile__upper img {
        display: flex;
    }
}

.profile__upper-texts {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: center;
    gap: 1rem;
}


@media (min-width: 768px) {
    .profile__text :nth-of-type(1)::before {
        font-size: 1.5rem;
        top: -42%;
        left: 7%;
    }
}

.profile__text {
    text-align: center;
    background: #fff;
    font-weight: 700;
    border-radius: 20px;
    padding: 1rem;
    font-size: clamp(16px, 0.8em + 0.5vw, 1.5em);
}

@media (min-width: 768px) {
    .profile__text {
        font-size: clamp(16px, 0.3em + 1vw, 9999px);

        font-weight: 700;
        position: relative;
    }
}

.profile__lower {
    margin: auto;
    padding-bottom: 2rem;
}

@media (min-width: 768px) {
    .profile__lower {
        padding-bottom: 0rem;
        margin: auto;
    }
}

.profile__lower-text {
    background: #FFF;
    text-align: left;
    border-radius: 20px;
    padding: 2rem 1rem;
    font-size: 1em;
    position: relative;
}

@media (min-width: 768px) {
    .profile__lower-text {
        font-size: clamp(16px, 0.3em + 1vw, 9999px);
        padding: 2rem;
    }
}


/* 体験授業セクション
------------------------------------------ */

@media (min-width: 768px) {
    .trial .contents-title {
        width: 40rem;
    }
}

.trial_title_container {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 2rem 0 0;
}

@media (min-width: 768px) {
    .trial_title_container {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 5rem 0 0;
    }
}

.trial .contents-subtitle {
    padding: 0 0 3rem;
}

@media (min-width: 768px) {
    .trial .contents-subtitle {
        padding: 0 0 7rem 0;
    }
}

.trial {
    background-color: rgb(244, 243, 238);
}

.trial__wrapper {
    max-width: 1200px;
    margin: auto;
    padding: 0px 1rem;
}


.trial__steps {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 5rem;
}

@media (min-width: 768px) {
    .trial__steps {
        display: flex;
        flex-direction: unset;
        align-items: stretch;
        padding-bottom: 5rem;
        justify-content: center;
    }
}

.trial__wide-box img {
    max-width: 30%;
    margin: auto;
}

@media (min-width: 768px) {
    .trial__wide-box img {
        max-width: 50%;
        margin: 1rem auto;
    }
}

.trial__wide-box {
    display: flex;
    background-color: rgb(255, 255, 255);
    position: relative;
    padding: 1rem;
    gap: 1rem;
    border-radius: 15px;
    justify-content: center;
}

@media (min-width: 768px) {
    .trial__wide-box {
        flex-direction: column;
        padding: 1rem 2.9rem 2rem;
        border-radius: 20px;
        gap: 2rem;
    }
}

.trial__wide-box:nth-of-type(3) {
    padding: 2rem 1rem;
}

.trial__wide-box:nth-of-type(5) {
    padding: 1rem 1rem;
}

.trial__steps .trial__wide-box::before {
    content: "STEP1";
    color: rgb(160, 82, 45);
    font-size: 20px;
    position: absolute;
    top: -14%;
    left: 4%;
    white-space: nowrap;
    z-index: 2;
}

@media (min-width: 768px) {
    .trial .trial__wide-box::before {
        font-size: clamp(16px, 1em + 1vw, 9999px);
        font-weight: 500;
        top: -8%;
        left: 5%;
    }
}

.trial__steps .trial__wide-box:nth-of-type(3)::before {
    content: "STEP2";
    color: rgb(160, 82, 45);
    font-size: 20px;
    position: absolute;
    top: -11%;
    left: 4%;
    white-space: nowrap;
    z-index: 2;
}

@media (min-width: 768px) {
    .trial__steps .trial__wide-box:nth-of-type(3)::before {
        font-size: clamp(16px, 1em + 1vw, 9999px);
        top: -8%;
        left: 5%;
    }
}

.trial__steps .trial__wide-box:nth-of-type(5)::before {
    content: "STEP3";
    color: rgb(160, 82, 45);
    font-size: 20px;
    position: absolute;
    top: -12%;
    left: 4%;
    white-space: nowrap;
    z-index: 2;
}

@media (min-width: 768px) {
    .trial__steps .trial__wide-box:nth-of-type(5)::before {
        font-size: clamp(16px, 1em + 1vw, 9999px);
        top: -8%;
        left: 5%;
    }
}

.trial__text-wrapper {
    display: flex;
    flex-direction: column;
    font-size: 1em;
    justify-content: center;
    flex-grow: 2;
}

@media (min-width: 768px) {
    .trial__text-wrapper {
        font-size: clamp(16px, 0.3em + 1vw, 9999px);

    }
}

.trial__step-title {
    font-size: 1em;
    text-align: center;
    padding-bottom: 1rem;
}

@media (min-width: 768px) {
    .trial__step-title {
        font-size: clamp(16px, 0.3em + 1vw, 9999px);

        font-weight: 700;
        padding-bottom: 2rem;
    }
}

.trial__text {
    font-size: 1em;
    padding-bottom: 0.5rem;
    text-align: center;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .trial__text {
        padding-bottom: 1rem;
    }
}

.trial__narrow-box {
    width: 5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 4.5rem;
    flex-direction: row;
}

@media (min-width: 768px) {
    .trial__narrow-box {
        width: 5rem;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 22rem;
        padding: 0 1rem;
    }
}

.fa-angles-right {
    content: "";
    font-size: 3rem;
    color: rgb(160, 82, 45);
}

.fa-angles-down {
    position: absolute;
    content: "";
    font-size: 3rem;
    color: rgb(160, 82, 45);
    left: 50%;
}


/* 料金プラン
------------------------------------------ */
.plan {
    background-image: url("../images/price-bg.jpg");
    background-size: cover;
}

.plan__bg {
    background-color: rgba(255, 255, 255, 0.8);
}

@media (min-width: 768px) {
    .plan {
        margin: 5rem 0;
    }
}

.plan_title_container {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin: 2rem 0 0;
    text-align: center;
}

@media (min-width: 768px) {
    .plan_title_container {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 7rem 0 0;
    }
}



.plan__subtitle {
    font-size: 1em;
    color: rgb(160, 82, 45);
    text-align: center;
    font-weight: 500;
}

@media (min-width: 768px) {
    .plan__subtitle {
        font-size: clamp(16px, 0.5em + 1vw, 9999px);

        font-weight: 700;
    }
}

.plan__highlight {
    color: rgb(160, 82, 45);
    text-align: center;
    display: table;
    margin: 0 auto 2rem;
    font-weight: 500;
    text-shadow: none;
    font-family: "Noto Sans Japanese";
    font-size: 1em;
    padding: 0 0 1rem 0;
}

@media (min-width: 768px) {
    .plan__highlight {
        font-size: clamp(16px, 0.5em + 1vw, 9999px);
        font-weight: 700;
        padding: 0 0 2rem 0;
        margin: auto;
    }
}

.plan__text-container ul {
    background-color: rgba(255, 255, 255, 0.8);
    width: 90%;
    margin: 3rem auto;
    padding: 3rem 0;
    text-align: center;
}

.plan__text-container {
    padding-bottom: 1rem;
}

@media (min-width: 768px) {
    .plan__text-container {
        padding-bottom: 6rem;
    }
}

/* テキスト*/
.plan__price {
    margin: 2rem 0 0;
    font-size: 1em;
    font-weight: 700;
}

@media (min-width: 768px) {
    .plan__price {
        font-size: clamp(16px, 1em + 1vw, 9999px);
        margin: 2rem 0 0;
    }
}

.plan__price-red {
    font-size: 2.25em;
    font-weight: 700;
    color: red;
    padding-bottom: 4rem;
}

@media (min-width: 768px) {
    .plan__price-red {
        font-size: 68px;
    }
}

.plan__price-red span {
    color: #333;
    font-size: .5em;
    font-weight: 700;
}

@media (min-width: 768px) {
    .plan__price-red span {
        font-size: 24px;
    }
}

.plan__price-small {
    font-size: 1em;
    padding: 0 0 3rem;
}

@media (min-width: 768px) {
    .plan__price-small {
        font-size: clamp(16px, 0.3em + 1vw, 9999px);

    }
}

/* 音読法
------------------------------------------ */

.studying-style_title_container {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin: 1rem 0 0;
}

@media (min-width: 768px) {
    .studying-style_title_container {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0rem 0 0;
    }
}

.studying-style__subtitle {
    font-size: 1em;
    color: rgb(160, 82, 45);
    text-align: center;
    font-weight: 500;
    margin-bottom: 0rem;
}

@media (min-width: 768px) {
    .studying-style__subtitle {
        font-size: clamp(16px, 0.5em + 1vw, 9999px);
        font-weight: 700;
        margin: 0 auto 3rem;
    }
}

.studying-style__accordion {
    justify-content: flex-start;
    padding: 1rem 1.3rem;
}

@media (min-width: 768px) {
    .studying-style__accordion {
        padding: 2.5rem 5.1rem;
    }
}

.studying-style__accordion {
    display: flex;
    justify-content: center;
    padding: 1.7rem 1rem 1rem;
    background: rgb(255, 255, 255);
    border-bottom: 2px solid rgb(0, 0, 0);
    font-weight: 700;
    text-align: center;
    position: relative;
    font-size: 1em;
    line-height: 1;
    border-radius: 15px 15px 0px 0px;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .studying-style__accordion {
        padding: 2.5rem 5rem 1.5rem;
    }
}

.studying-style__accordion.active .plus-mark {
    position: absolute;
    display: inline;
    right: 1rem;
    top: 2rem;
    text-align: center;
    font-size: .8rem;
    background: rgb(177, 126, 50);
    padding: 2px 10px;
    border-radius: 15px;
    color: rgb(255, 255, 255);
    line-height: 1.8;
    cursor: pointer;
}

@media (min-width: 768px) {
    .studying-style__accordion.active .plus-mark {
        right: 2rem;
        top: 1.9rem;
        font-size: 1.5rem;
    }
}

.studying-style__accordion.active .minus-mark {
    display: none;
}

.studying-style__accordion .minus-mark {
    position: absolute;
    display: inline;
    right: 1rem;
    top: 2rem;
    text-align: center;
    font-size: .8em;
    background: rgb(177, 126, 50);
    padding: 5px;
    border-radius: 15px;
    color: rgb(255, 255, 255);
    cursor: pointer;
}

@media (min-width: 768px) {
    .studying-style__accordion .minus-mark {
        right: 2rem;
        top: 1.9rem;
        font-size: 1.5rem;
    }
}

.studying-style__accordion .plus-mark {
    display: none;
}

.studying-style__inner-title.active .minus-mark {
    display: inline;
    position: absolute;
    right: 1rem;
    top: 23%;
    text-align: center;
    font-size: 1rem;
    background: rgb(177, 126, 50);
    padding: 2px 10px;
    border-radius: 15px;
    color: rgb(255, 255, 255);
    line-height: 1.8;
    font-weight: 700;
    cursor: pointer;
}

@media (min-width: 768px) {
    .studying-style__inner-title.active .minus-mark {
        right: 0.8rem;
        top: 14%;
        font-size: 1.5rem;
    }
}

.studying-style__inner-title .plus-mark {
    display: inline;
    position: absolute;
    right: 1rem;
    top: 23%;
    text-align: center;
    font-size: .8em;
    background: rgb(177, 126, 50);
    padding: 5px 10px 10px;
    border-radius: 15px;
    color: rgb(255, 255, 255);
    font-weight: 700;
    cursor: pointer;
}

@media (min-width: 768px) {
    .studying-style__inner-title .plus-mark {
        right: 0.8rem;
        top: 14%;
        font-size: 1.5rem;
    }
}

.studying-style__inner-title.active .plus-mark {
    display: none;
}

.studying-style__inner-title .minus-mark {
    display: none;
}

.studying-style__heading {
    display: flex;
}

@media (min-width: 768px) {
    .studying-style__heading {
        justify-content: center;
    }
}

.A-text-container {
    background: rgb(255, 255, 255);
    display: flex;
    justify-content: flex-start;
    padding: 2rem 2rem 1rem;
}

@media (min-width: 768px) {
    .A-text-container {
        gap: 1rem;
        padding: 6.4rem 6.6rem 7rem;
    }
}

.studying-style__content {
    font-size: 16px;
    line-height: calc(1.4);
    font-weight: 500;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 768px) {
    .studying-style__content {
        font-size: 1.5rem;
    }
}

.studying-style__content ul {
    background: rgb(255, 255, 255);
    width: 22rem;
    text-align: center;
    margin: auto;
}

.studying-style__price {
    padding: 1rem 0px 0px;
    text-decoration: underline;
}



.studying-style__inner-title-container p {
    padding: 0;
    font-size: 1em;
    font-weight: 700;
    position: relative;
}

@media (min-width: 768px) {
    .studying-style__inner-title-container p {
        font-size: clamp(16px, 0.3em + 1vw, 9999px);

        text-align: center;
    }
}

.studying-style__inner-title-container {
    padding: 1rem;
    font-size: 1rem;
    font-weight: 700;
    position: relative;
}

@media (min-width: 768px) {
    .studying-style__inner-title-container {

        font-size: 1.8rem;
        text-align: center;
    }
}

.studying-style__container {
    max-width: 1200px;
    margin: 0px auto 5rem;
    padding: 0 1rem;
}


@media (min-width: 768px) {
    .studying-style__inner-title {
        max-width: 1200px;
        min-width: 337px;
    }
}

.studying-style__heading-title {
    width: auto;
    cursor: pointer;
}

@media (min-width: 768px) {
    .studying-style__heading-title {
        font-size: clamp(16px, 1em + 1vw, 9999px);
    }
}

.studying-style__detail-heading {
    border-radius: 1rem;
    background: rgb(218, 238, 219);
    flex: 1;
}

@media (min-width: 768px) {

    .studying-style__detail-heading {
        max-width: 1200px;
    }
}

.studying-style__details {
    background: rgb(255, 255, 255);
    display: flex;
    flex-direction: column;
    padding: 0rem 1rem 1rem;
}

@media (min-width: 768px) {
    .studying-style__details {
        background: rgb(255, 255, 255);
        display: flex;
        flex-direction: column;
        padding: 0;
    }
}

.studying-style__detail-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .studying-style__detail-wrapper {
        flex-direction: row;
        margin-bottom: 3rem;
        gap: 3rem;
        width: 100%;
        align-items: flex-start;
    }
}

.studying-style__detail-wrapper-teacher {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    @media (min-width: 768px) {
        .studying-style__detail-wrapper-teacher {
            align-items: flex-start;
            margin-bottom: 2rem;
            gap: 3rem;
            width: 100%;
        }
    }
}

.studying-style__note {
    font-size: 0.75rem;
    padding: 0rem 0px 0.5rem 16rem;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .studying-style__note {
        font-size: 1rem;
    }
}

.studying-style-text {
    font-size: 1em;
    padding-bottom: 2rem;
    line-height: 1.5;
    padding: 0 2rem 2rem;
}

@media (min-width: 768px) {
    .studying-style-text {
        font-size: clamp(16px, 0.3em + 1vw, 9999px);

    }
}

.studying-style__img {
    margin: auto;
    width: 35%;
}

.studying-style__text-mimi {
    padding: 1rem 1rem 3rem;
    font-weight: 400;
}

.studying-style__text-reading {
    padding: 1rem 1rem 0;
    font-size: 24px;
    font-weight: 400;
}

.studying-style__text-certificate {
    font-weight: 400;
    padding: 1rem;
    font-size: 1em;
}

@media (min-width: 768px) {
    .studying-style__text-certificate {
        padding: 0 12rem 0;
        font-size: clamp(16px, 0.3em + 1vw, 9999px);

    }
}


.studying-style__text-mimi,
.studying-style__text-reading {
    min-height: 100px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    font-size: 1em;
}

@media (min-width: 768px) {

    .studying-style__text-mimi,
    .studying-style__text-reading {
        min-height: 200px;
        font-size: clamp(16px, 0.3em + 1vw, 9999px);

    }
}

/*アクセス
------------------------------------------ */

.access_title_container {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin: 1rem 0 0;
    padding: 1rem 0;
}

@media (min-width: 768px) {
    .access_title_container {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 7rem 0 0;
        padding-bottom: 2rem;
    }
}

.google-map {
    height: 20rem;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.google-map iframe {
    height: 100%;
    width: 100%;
    border: 0px;
}

@media (min-width: 768px) {
    .google-map {
        height: 25rem;
    }

    .google-map iframe {
        height: 100%;
    }
}


@media (min-width: 768px) {
    .access__address {
        width: 100%;
    }
}

.access__address-wrapper {
    max-width: 100%;
    margin: auto;
}

@media (min-width: 768px) {
    .access__address-wrapper {
        max-width: 70%;
        margin: 0px auto;
    }
}

.access__table {
    width: 100%;
    font-size: 1em;
}

@media (min-width: 768px) {
    .access__table {
        font-size: clamp(16px, 0.3em + 1vw, 9999px);

        padding: 1rem 0;
    }
}

.access__table tr {
    border-bottom: 2px solid white;
}

.access__table tr:last-child {
    border-bottom: none;
}

.access__table th {
    position: relative;
    text-align: left;
    padding: 10px 0px;
    line-height: 1.8;
    background-color: rgb(218, 238, 219);
    white-space: nowrap;
}

.access__table td {
    text-align: left;
    padding: 10px;
    background-color: rgb(244, 243, 238);
}

@media (min-width: 768px) {
    .access__table td {
        padding: 20px 10px 20px 20px;
    }
}

.access__icon {
    padding-left: 1.2rem;
    font-size: 1.2rem;
    vertical-align: baseline;
}

@media (min-width: 768px) {
    .access__icon {
        font-size: 2.4rem;
        padding-left: 3rem;
    }

    .access__address-wrapper tr:nth-of-type(2) .access__icon {
        padding-left: 3.3rem;
    }

    .access__address-wrapper tr:nth-of-type(3) .access__icon {
        padding-left: 3.2rem;
    }
}

.access__label {
    padding: 0px 0px 0px 10px;
}

.access__address-wrapper tr:nth-of-type(2) .access__label {
    padding: 0px 0px 0px 17px;
}

.access__address-wrapper tr:nth-of-type(3) .access__label {
    padding: 0px 10px 0px 10px;
}


/*お問合せ
------------------------------------------ */
section.contact {
    margin-top: 3rem;
}

.contact_title_container {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin: 3rem 0 0;
    padding: 1rem 0 0;
}

@media (min-width: 768px) {
    .contact_title_container {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 7rem 0 0;
        padding: 3rem 7rem 0 0;
    }
}

.contact_title_bg {
    background: #F7F8F9;
    padding-right: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 7rem 0 0;
    padding: 3rem 4rem 0 0;
}



/*footer
------------------------------------------ */
.footer {
    display: flex;
    justify-content: center;
    padding: 1rem 0px;
    flex-direction: column;
    align-items: center;
}

.footer__logo {
    max-width: 80%;
}

.footer__links {
    padding: 10px 0;
}

.footer__link {
    color: #333;
    text-decoration: none;
    padding: 5px 10px;
    transition: all 0.3s ease;
    position: relative;
}

.footer__link:hover {
    color: #666;
}

.footer__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: #666;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.footer__link:hover::after {
    width: 80%;
}

@media (max-width: 767px) {
    .profile__upper {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin: 0;
    }

    .profile__upper img {
        width: 30%;
        height: auto;
    }

    .profile__lower {
        margin-top: 1rem;
    }
}

.comment-text {
    font-size: 1em;
    padding: 0 0 1rem;
    line-height: 1.5;
    font-weight: bold;
    color: rgb(160, 82, 45);
}


@media (max-width: 767px) {

    .profile {
        --profile-box-width: calc(100% - 3rem);
    }

    .profile__upper-texts {
        width: var(--profile-box-width);
        margin-inline: auto;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .profile__text {
        width: 100%;
        padding: 1.5rem;
        background: #fff;
        border-radius: 20px;
        box-sizing: border-box;
    }

    .profile__lower-text {
        width: var(--profile-box-width);
        margin-inline: auto;
        padding: 1.5rem;
        border-radius: 20px;
        box-sizing: border-box;
    }

}