@charset "UTF-8";

/* 共通 */

:root {
    --primary-white: #fff;
    --primary-black: #333;
    --primary-red: #FA5953;
    --primary-yellow: #ffc587;
    --section-padding: 70px 5.3%;
    scroll-padding: 214px;
    scroll-behavior: smooth;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family:
        "M PLUS 1p",
        Arial,
        sans-serif;
    font-style: normal;
    line-height: 1.5;
}

.font-size-L {
    font-size: clamp(3.5rem, 3.296rem + 3vw, 5rem);
}

.font-size-M {
    font-size: clamp(2.4rem, 1.977rem + 1.8vw, 3.6rem);
}

.font-size-fv {
    font-size: clamp(2.6rem, 2.142rem + 1.95vw, 3.9rem);
}

.font-size-s {
    font-size: clamp(1.6rem, 1.648rem + 1.5vw, 2.4rem);
}

.yellow {
    color: var(--primary-yellow, #ffc587);
}

.red {
    color: var(--primary-red, #FA5953);
}

.white {
    color: var(--primary-white);
}

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

a {
    text-decoration: none;
    display: inline-block;
}

a.anchor {
    display: block;
    padding-top: 150px;
    margin-top: -150px;
}

.SpBr {
    display: inline-block;
}

.TABBr {
    display: inline-block;
}

.pcBr {
    display: none;
}

/* 共通 pc */

@media screen and (min-width: 768px) {
    .SpBr {
        display: none;
    }
}

@media screen and (min-width: 1024px) {
    .TABBr {
        display: none;
    }

    .pcBr {
        display: inline-block;
    }

    :root {
        --section-padding: 100px 5.3%;
    }
}

/* ハンバーガーキット */

.c-hamburger {
    position: relative;
    width: 60px;
    height: auto;
    aspect-ratio: 1/1;
    margin: 0;
    border: transparent;
    background-color: var(--primary-red, #FA5953);
    cursor: pointer;
    z-index: 1;
}

.c-hamburger span {
    display: block;
    position: relative;
    left: 50%;
    width: 24px;
    height: 2px;
    transform: translateX(-50%);
    background: var(--primary-white);
    transition: all 1s;
}

.c-hamburger span:nth-of-type(1) {
    top: -4px;
}

.c-hamburger span:nth-of-type(2) {
    top: 1px;
    transform: translateX(-0.45deg);
}

.c-hamburger span:nth-of-type(3) {
    top: 6px;
    transform: translateX(-0.45deg);
}

.c-hamburger.is-active span:nth-of-type(1) {
    top: 0;
    transform: translateX(-50%) rotate(225deg);
}

.c-hamburger.is-active span:nth-of-type(2) {
    opacity: 0;
}

.c-hamburger.is-active span:nth-of-type(3) {
    top: -4px;
    transform: translateX(-50%) rotate(-225deg);
}

/* ハンバーガーキット pc */

@media screen and (min-width:1024px) {
    .c-hamburger {
        width: 90px;
    }

    .c-hamburger span {
        width: 36px;
    }

    .c-hamburger span:nth-of-type(1) {
        top: -7px;
    }

    .c-hamburger span:nth-of-type(2) {
        top: 1px;
        transform: translateX(-0.45deg);
    }

    .c-hamburger span:nth-of-type(3) {
        top: 9px;
        transform: translateX(-0.45deg);
    }
}

/* ヘッダー */

.p-header__nav {
    display: flex;
    z-index: 10;
    position: absolute;
    top: -100%;
    right: 0;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
    background: transparent;
    opacity: 0;
    transition: top 0.6s, right 0.6s, opacity 0.6s;
}

.p-header__inner {
    background: url(../images/backgroundImg.jpg), var(--primary-white, #fff);
    background-blend-mode: lighten, normal;
    background-size: cover, cover;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    transition: all 0.2s;
    z-index: 100;
}

.p-header__inner.hide {
    transform: translateY(-60px);
}

.p-header__title {
    display: flex;
    gap: 2.6%;
    align-items: center;
}

.p-header__titleTxt a {
    text-decoration: none;
}

.p-header__titleImg {
    width: 60px;
    aspect-ratio: 1/1;
    object-fit: contain;
}

.p-header__hamburger {
    z-index: 100;
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 100%;
}

.p-header__nav.is-active {
    position: fixed;
    top: 0;
    right: 0;
    opacity: 1;
    background-color: rgba(255, 197, 135, 1);
    flex-direction: column;
    display: flex;
}

.p-nav__inner {
    height: 100%;
    width: 100%;
    overflow: auto;
    display: flex;
    flex-direction: column;
}

.p-nav__list {
    display: block;
    padding-top: 60px;
}

.p-nav__item {
    position: relative;
    width: 100%;
    text-align: center;
    display: block;
    transition: all 0.2s;
}

.p-nav__item::after {
    content: '';
    width: 100%;
    height: 1px;
    background-color: var(--primary-white, #fff);
    position: absolute;
    top: 65px;
    left: 0;
}

.p-nav__item:hover {
    background-color: var(--primary-red, #FA5953);
}

.p-nav__link {
    color: var(--primary-black, #333);
    padding: 20px 0;
    display: block;
    text-align: center;
    font-family: "M plus 1p";
    font-size: 2rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.3;
    text-decoration: none;
    transition-duration: 0.2s;
}

/* ヘッダー　pc */

@media screen and (min-width:1024px) {
    .p-header__inner {
        height: 90px;
    }

    .p-header__inner.hide {
        transform: translateY(-90px);
    }

    .p-header__titleImg {
        width: 90px;
    }

    .p-nav__list {
        padding-top: 90px;
    }

    .p-header__hamburger {
        width: 90px;
        height: 100%;
    }
}

/* 求人 */

.section--recruit {
    padding: var(--section-padding);
    background: url(../images/backgroundImg.jpg), var(--primary-white, #fff);
    background-blend-mode: screen, normal;
    background-size: cover, cover;
}

.recruit__title {
    color: var(--primary-black, #333);
    font-family: "M PLUS 1p";
    font-style: normal;
    font-weight: 500;
    line-height: 1.3;
    display: inline-block;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.recruit__title::after {
    content: '';
    display: inline-block;
    background-image: url(../images/ranndoseru.png);
    background-size: contain;
    width: 70px;
    height: 70px;
    position: absolute;
    top: -3px;
    right: -10%;
    z-index: -1;
}

.recruitImg {
    width: 50%;
    height: auto;
    aspect-ratio: 1/1;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    margin-top: 50px;
    object-fit: cover;
}

.recruit__txt {
    color: var(--primary-black, #333);
    text-align: left;
    display: inline-block;
    font-family: "M PLUS 1p";
    font-style: normal;
    font-weight: 400;
    line-height: 1.8;
    margin-top: 30px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.recruit__btnContent {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* 求人 TAB */

@media screen and (min-width:768px){
    .recruitImg{
        margin-top: 70px;
    }

    .recruit__txt{
        margin-top: 50px;
    }

    .recruit__btnContent{
        margin-top: 70px;
        gap: 50px;
    }
}

/* 求人 pc */

@media screen and (min-width:1024px) {
    .recruit__content {
        display: flex;
        margin-top: 70px;
        align-items: center;
    }

    .recruitImg {
        width: 46%;
        margin-top: 0px;
        position: static;
        left: 0;
        transform: none;
        margin-right: 4%;
    }

    .recruit__txt {
        margin-top: 0px;
        text-align: left;
    }

    .recruit__btnContent {
        margin-top: 70px;
        gap: 50px;
    }

    .recruit__detail {
        margin-left: 4%;
        width: 46%;
    }
}


/* フッター */

.footer {
    padding: 50px 5.3% 20px;
    background: url(../images/backgroundImg.jpg), var(--primary-red, #FA5953);
    background-blend-mode: screen, normal;
    background-size: cover, cover;
}

.footer__titleImg {
    width: 26.6%;
    height: auto;
    aspect-ratio: 50/33;
    object-fit: contain;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.footer__titleTxt {
    color: var(--primary-white, #fff);
    font-family: "M PLUS 1p";
    font-style: normal;
    font-weight: 500;
    line-height: 1.3;
    text-align: center;
    margin-top: 20px;
}

.footer__subTitle {
    color: var(--primary-yellow, #ffc587);
    text-align: center;
    font-family: "M PLUS 1p";
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1.8;
    padding-top: 20px;
}

.footer__item{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer__txt {
    color: var(--primary-white, #fff);
    text-align: center;
    font-family: "M PLUS 1p";
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.8;
    padding-top: 10px;
}

.copy {
    color: var(--primary-white, #fff);
    font-family: "M PLUS 1p";
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
    padding-top: 30px;
    text-align: center;
}

.p-footer__inner {
    display: none;
}

/* フッター pc */
@media screen and (min-width:1024px) {
    .footer {
        padding: 70px 5.3% 20px;
    }

    .footer__titleTxt {
        margin-top: 30px;
    }

    .footer__detail {
        display: flex;
        justify-content: center;
        gap: 4%;
        margin-top: 50px;
    }

    .footer__item {
        flex-direction: row;
        gap: 2%;
    }

    .footer__subTitle {
        padding-top: 0;
        white-space: nowrap;
    }

    .footer__txt {
        padding-top: 0;
        white-space: nowrap;
    }

    .p-footer__inner {
        display: block;
        padding-top: 50px;
    }

    .p-footer__list {
        display: flex;
        gap: 4%;
        justify-content: center;
        flex-wrap: wrap;
        width: 60%;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
    }

    .p-nav__footerLink {
        color: var(--primary-white, #fff);
        text-align: center;
        font-family: "M PLUS 1p";
        font-size: 1.6rem;
        font-style: normal;
        font-weight: 400;
        line-height: 1.8;
        white-space: nowrap;
        transition: all 0.2s;
        margin: 10px;
        text-decoration: none;
    }

    .p-nav__footerLink:hover {
        color: var(--primary-yellow);
    }
}


/* 求人ボタン */

.recruitBtn {
    position: relative;
    width: 95.5%;
    max-width: 360px;
    text-align: center;
    display: inline-block;
    transition: all 0.2s;
    background-color: var(--primary-yellow, #ffc587);
    cursor: pointer;
    z-index: 1;
    overflow: hidden;
    border-radius: 50px;
    left: 50%;
    transform: translateX(-50%);
}

.recruitBtn:after {
    background-color: var(--primary-red, #FA5953);
    position: absolute;
    top: 0;
    left: 0;
    content: '';
    width: 100%;
    height: 100%;
    transform: scale(0, 1);
    transform-origin: left top;
    transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
    z-index: -1;
    border-radius: 50px;
}

.recruitBtn:hover::after {
    transform: scale(1, 1);
}

.recruitBtn a{
    display: block;
    border-radius: 50px;
    text-decoration: none;
}

.recruitBtn p {
    color: var(--primary-black, #333);
    font-family: "M PLUS 1p";
    font-size: 2rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.8;
    padding: 20px;
    text-decoration: none;
}

/* 求人　ボタン pc */

@media screen and (min-width:1024px) {
    .recruitBtn {
        width: 360px;
    }
}

/* コーポレートサイトボタン */

.corporateSiteBtn {
    position: relative;
    width: 95.5%;
    max-width: 360px;
    text-align: center;
    display: inline-block;
    transition: all 0.2s;
    left: 50%;
    transform: translateX(-50%);
    margin: 50px 0 30px;
    background-color: var(--primary-white, #fff);
    border-radius: 50px;
}

.corporateSiteBtn:hover {
    background-color: var(--primary-red, #FA5953);
}

.corporateSiteBtn a{
    display: block;
    border-radius: 50px;
    text-decoration: none;
}

.corporateSiteBtn p {
    color: var(--primary-black, #333);
    font-family: "M PLUS 1p";
    font-size: 2rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.8;
    padding: 20px;
}

/* 保護者の方へボタン */

.messageBtn {
    position: relative;
    width: 95.5%;
    max-width: 360px;
    text-align: center;
    display: inline-block;
    transition: all 0.2s;
    margin-top: 50px;
    background-color: var(--primary-yellow, #ffc587);
    cursor: pointer;
    z-index: 1;
    overflow: hidden;
    border-radius: 50px;
    left: 50%;
    transform: translateX(-50%);
}

.messageBtn:after {
    background-color: var(--primary-red, #FA5953);
    position: absolute;
    top: 0;
    left: 0;
    content: '';
    width: 100%;
    height: 100%;
    transform: scale(0, 1);
    transform-origin: left top;
    transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
    z-index: -1;
    border-radius: 50px;
}

.messageBtn:hover::after {
    transform: scale(1, 1);
}

.messageBtn a{
    display: block;
    border-radius: 50px;
}

.messageBtn p {
    color: var(--primary-black, #333);
    font-family: "M PLUS 1p";
    font-size: 2rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.8;
    padding: 20px;
}

/* 保護者の方へボタン pc*/
@media screen and (min-width:768px) {
    .messageBtn {
        margin-top: 70px;
    }
}

/* コーポレートサイトボタン */

.corporateSiteBtn {
    position: relative;
    width: 95.5%;
    max-width: 360px;
    text-align: center;
    display: inline-block;
    transition: all 0.2s;
    left: 50%;
    transform: translateX(-50%);
    margin: 50px 0 30px;
    background-color: var(--primary-white, #fff);
    border-radius: 50px;
}

.corporateSiteBtn:hover {
    background-color: var(--primary-red, #FA5953);
}

.corporateSiteBtn p {
    color: var(--primary-black, #333);
    font-family: "M PLUS 1p";
    font-size: 2rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.8;
    padding: 20px;
}

/* お問い合わせボタン データ*/

.contactBtn {
    position: relative;
    width: 95.5%;
    max-width: 480px;
    text-align: center;
    display: inline-block;
    transition: all 0.2s;
    margin-top: 70px;
    background-color: var(--primary-yellow, #ffc587);
    cursor: pointer;
    z-index: 1;
    overflow: hidden;
    border-radius: 50px;
    left: 50%;
    transform: translateX(-50%);
}


.contactBtn:after {
    background-color: var(--primary-red, #FA5953);
    position: absolute;
    top: 0;
    left: 0;
    content: '';
    width: 100%;
    height: 100%;
    transform: scale(0, 1);
    transform-origin: left top;
    transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
    z-index: -1;
    border-radius: 50px;
}

.contactBtn:hover::after {
    transform: scale(1, 1);
}

.contactBtn a{
    display: block;
    border-radius: 50px;
}

.contactBtn p {
    color: var(--primary-black, #333);
    font-family: "M PLUS 1p";
    font-size: 2rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.8;
    padding: 20px;
}

/* お問い合わせボタン TAB */

@media screen and (min-width:768px) {
    .contactBtn {
        margin-top: 70px;
    }
}

/* お問い合わせボタン pc*/

@media screen and (min-width:1024px) {
    .contactBtn {
        margin-top: 100px;
    }
}

/* ==============================
トップに戻るボタン
========================================*/

#page-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 14px;
    line-height: 1;
    z-index: 1;
}

#page-top a {
    background: var(--primary-yellow, #ffc587);
    text-decoration: none;
    color: var(--primary-black, #333);
    width: 60px;
    height: 60px;
    padding: 22px 5px;
    text-align: center;
    display: inline-block;
    border-radius: 90px;
    opacity: 0.9;
    transition: all .3s;
}

#page-top a:hover {
    text-decoration: none;
    background-color: var(--primary-red, #FA5953)
}

/* ============================================
スクロールアニメーション
=============================================== */

/*----------------------------
scroll_up ｜下から上へ出現
----------------------------*/
.scroll_up {
    transition: 0.8s ease-in-out;
    transform: translateY(30px);
    opacity: 0;
}

.scroll_up.on {
    transform: translateY(0);
    opacity: 1.0;
}

/*----------------------------
scroll_left ｜左から出現
----------------------------*/
.scroll_left {
    transition: 0.8s ease-in-out;
    transform: translateX(-30px);
    opacity: 0;
    filter: alpha(opacity=0);
    -moz-opacity: 0;
}

.scroll_left.on {
    opacity: 1.0;
    filter: alpha(opacity=100);
    transform: translateX(0);
}

/*----------------------------
scroll_right ｜右から出現
----------------------------*/
.scroll_right {
    transition: 0.8s ease-in-out;
    transform: translateX(30px);
    opacity: 0;
    filter: alpha(opacity=0);
    -moz-opacity: 0;
}

.scroll_right.on {
    opacity: 1.0;
    filter: alpha(opacity=100);
    transform: translateX(0);
}

.timing02 {
    transition-delay: .3s;
}

.timing03 {
    transition-delay: .6s;
}

.timing04 {
    transition-delay: .9s;
}

.timing05 {
    transition-delay: 1.2s;
}

.timing06 {
    transition-delay: 1.5s;
}

/* ハンバーガーメニュー　スクロール阻止 */

.scroll-prevent {
    /*動き固定*/
    position: fixed;
    /*奥行きを管理*/
    z-index: -1;
    /*下2つで背景を元のサイズのまま表示することができる*/
    width: 100%;
    height: 100%;
}

/* アクセス */

.section--access {
    padding: 0;
}

.gmap__iframe {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

/* アクセス pc */

@media screen and (min-width:768px) {
    .gmap__iframe {
        height: 400px;
    }
}

/* 電話　pc */

@media screen and (min-width:1024px){
    a[href*="tel:"]{
        pointer-events: none;
    }
}

/* ローディング */

#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    text-align: center;
}

#loading img {
    width: 200px;
    margin: 0 auto;
}

#content {
    opacity: 0;
    transition: opacity 0.5s ease;
}