* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* root設定 */
/* ============================================ */
:root {
    --color-main: #FCFAF6;
    --color-bg: #EBF0EF;
    --color-logo: #D3F2F1;
    --color-accent: #EFEADD;
    --color-btn: #9DD4DE;
    --text-color: #4d4d4d;
    --white: #fff;
    --text-brown: #716C64;
    --font-title: "Edu NSW ACT Foundation", serif;
    --font-text: "Sawarabi Gothic", sans-serif;
    --font-KV: "Klee One", cursive;
    --boxshadow: 0px 2px 3px rgba(0, 0, 0, 0.25);
}


/* ベース */
/* ============================================ */
html {
    font-size: 16px;
    line-height: 1.75;
}

body {
    background-color: var(--color-main);
    color: var(--text-color);
    font-family: var(--font-text);
}

h2 {
    font-family: var(--font-title);
    font-size: 34px;
}

@media (max-width:640px) {
    p {
        font-size: 12px;
    }

    h2 {
        font-size: 16px;
    }
}




/* ============================================ */

/* ヘッダー */

/* ============================================ */

/* 中身はheader.cssに移動 */
/* ハンバーガーメニュー関連もheader.cssにある！！ */





/* ============================================= */

/* キービジュアル */

/* ============================================== */
.KV {
    max-width: 100%;
    width: 100%;
    height: 800px;
    display: block;
    object-fit: cover;
    max-height: 85vh;
}

figure {
    position: relative;
}

.logo {
    position: absolute;
    top: 30%;
    left: 18%;
    width: 180px;
    height: 180px;
}


/* ============================================= */

/* コンセプト */

/* ============================================= */
#concept {
    background: url(../img/con-bg3.jpg) no-repeat center/cover;
    position: relative;
    /* overflow: hidden; */
}

.concep-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 150px 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-direction: row-reverse;
    gap: 10px;

}

.concept-text {
    /* max-width: 500px;
    margin: 0 auto; */
    /* background-color: var(--color-accent); */
    padding: 20px;
    z-index: 3;
    width: 400px;
}

#concept h2 {
    font-size: 32px;
    margin-bottom: 20px;
    margin-top: 20px;
    text-align: center;
    font-family: var(--font-title);
}

p {
    line-height: 1.8;
}

#concept img {
    width: 60%;
    height: auto;
    z-index: 1;
    width: 700px;

    object-fit: cover;

}

/* .concept-deco {
    background: url(../img/concept-withe.jpg) no-repeat;
    z-index: 2;
    position: absolute;
    left: 180px;
    top: 270px;
    width: 500px;
    height: 300px;
} */



/* =============================================== */

/*  選ばれる理由 */

/* ================================================- */

/* ふわふわ背景 */
.float-shape-section {
    position: relative;
    overflow: hidden;
    min-height: 320px;
    padding: 80px 24px;
    background: #fcfaf6;
}

.float-shape {
    position: absolute;
    display: block;
    border-radius: 50%;
    background: rgba(195, 233, 234, 0.5);
    filter: blur(0px);
    animation-name: floatShape;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    pointer-events: none;
}

.float-shape-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

@keyframes floatShape {
    0% {
        transform: translateY(0) translateX(0) scale(1);
    }

    50% {
        transform: translateY(-40px) translateX(20px) scale(1.08);
    }

    100% {
        transform: translateY(0) translateX(0) scale(1);
    }
}

.float-shape-01 {
    width: 72px;
    height: 72px;
    left: 8%;
    top: 18%;
    animation-duration: 8s;
    animation-delay: 0s;
}

.float-shape-02 {
    width: 120px;
    height: 120px;
    left: 72%;
    top: 12%;
    animation-duration: 10s;
    animation-delay: -2s;
}

.float-shape-03 {
    width: 110px;
    height: 110px;
    left: 18%;
    top: 83%;
    animation-duration: 9s;
    animation-delay: -4s;
}

.float-shape-04 {
    width: 64px;
    height: 64px;
    left: 91%;
    top: 86%;
    animation-duration: 11s;
    animation-delay: -1s;
}

.float-shape-05 {
    width: 64px;
    height: 64px;
    left: 44%;
    top: 22%;
    animation-duration: 9.5s;
    animation-delay: -3s;
}

.float-shape-06 {
    width: 82px;
    height: 82px;
    left: 58%;
    top: 74%;
    animation-duration: 10.5s;
    animation-delay: -5s;
}

.float-shape-07 {
    width: 100px;
    height: 100px;
    left: 30%;
    top: 42%;
    animation-duration: 12s;
    animation-delay: -2.5s;
}

@media (prefers-reduced-motion: reduce) {
    .float-shape {
        animation: none;
    }
}

/* テキスト部分 */
#reason {
    padding: 80px 150px;
}

#reason h2 {
    font-size: 24px;
    text-align: left;
    z-index: 50;
    margin-bottom: 40px;
    position: relative;
}

#reason h3 {
    font-size: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
}

/* #reason p {
    font-size: 13px;
} */

.reason-title {
    color: #939090;
}

.reason-set {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, 1fr);
    list-style: none;
}

#reason-item {
    z-index: 50;
    background-image: linear-gradient(90deg, #e1f5f7, #ffffff 52%);
    border-radius: 8px;
    padding: 20px 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}



/* ============================================== */

/* スタイルギャラリー */

/* ============================================== */
#style {
    background-color: var(--color-bg);
}

.style-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 0;
}

.style-title {
    text-align: center;
    /* font-size: 32px; */
    margin-bottom: 30px;
}

.style-img {
    width: 1200px;
    height: auto;
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(4, 1fr);
    list-style: none;
}


/* ============================================== */

/* メニュー表 */

/* ============================================== */
#menu {
    background-color: #f5f5f5;
    padding-bottom: 90px;
}

.menu-inner {
    max-width: 500px;
    margin: 0 auto;
    padding: 60px 0;
}

.menu-title {
    text-align: center;
    /* font-size: 32px; */
    margin-bottom: 30px;
}

.menu-item {
    text-align: center;
}

.menu-img {
    display: flex;
    justify-content: center;
    /* width: 1200px;
    height: 400px; */
}

.menu-item {
    margin-bottom: 50px;
}

.menu-item h3 {
    font-size: 1.2rem;
    border-bottom: 1px solid #939090;
    width: 100px;
    /* margin: 0 auto; */
    margin-bottom: 30px;
    text-align: left;
}

.menu-item dl {
    display: grid;
    grid-template-columns: 1fr auto;
    row-gap: 10px;
    column-gap: 20px;
    font-size: 1.1rem;
}

.menu-item dd {

    font-weight: 500;
}

.menu-item dt {
    text-align: left;
}


.menu-item dl::after {
    content: "";
    grid-column: 1 / -1;
    height: 1px;
    background: #e5e2dd;
    margin-top: 15px;
}



/* ==================================== */

/* スタッフ紹介 */

/* ==================================== */
#stuff {
    background-color: var(--color-bg);
}

.stuff-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 100px;
    padding-bottom: 130px;
}


/* 紹介カード */
.stuff-card {
    display: flex;
    justify-content: center;
    gap: 50px;
}

.hover-card__body {
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.hover-card {
    max-width: 320px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #b5b5b5;
    border-radius: 2px;
    box-shadow: 0 6px 18px rgba(23, 35, 58, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.stuff-title {
    text-align: center;
    padding-bottom: 50px;
}

.hover-card__body h3 {
    margin: 20px 10px 0px;
    color: #939090;
    font-size: 10px;
    text-align: center;
}

.hover-card p {
    font-size: 20px;
    font-weight: 300;
    margin-top: 0;
    text-align: center;
    color: #656565;
    font-family: var(--font-KV);
}


.hover-card--lift:hover {
    transform: translateY(-8px);
}


/* ========================================== */

/* リクルート */

/* ========================================== */
#recruit {
    background: url(../img/rec.jpg) no-repeat center/cover;
    text-align: center;
    padding: 0 2rem;
}


.recruit-inner {
    background-color: var(--color-accent);
    max-width: 500px;
    margin: auto;
}

.recruit-text {
    padding: 100px 0 100px;
    margin: auto;
    text-align: center;
    background: url(../img/rec-4.png) no-repeat center;
}

.recruit-title {
    font-family: var(--font-title);
    margin-bottom: 30px;
    text-align: center;
}

.recruit-inner p {
    max-width: 300px;
    margin: 0 auto;
    text-align: left;
}

.recruit-text span {
    display: block;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 10px;
    font-size: 13px;
}



/* ========================================= */

/* アクセス */

/* ========================================= */
#access {
    background-color: var(--color-main);
    margin-bottom: 50px;

}

.access-inner {
    display: flex;
    justify-content: center;
    gap: 150px;
    max-width: 1200px;
    margin: 130px auto 100px;
}

/* グーグルマップ */
iframe {
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 600px;
    height: 400px;
}

address {
    text-align: left;
    font-style: normal;
}

.access-tiile {
    /* font-size: 24px; */
    margin-bottom: 30px;
    margin-top: 20px;
    text-align: center;
    font-family: var(--font-title);
}

.access-text {
    margin-bottom: 50px;
    line-height: 1.5;
}

.access-text dl {
    margin-top: 15px;
}



/* ====================================== */

/* フッター */

/* ====================================== */
.footer {
    background-color: #d0c9c9;
    color: #fff;
    position: relative;
    padding: 25px 0;
}

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

/* ロゴ */
footer img {
    width: 270px;
    height: auto;
    display: block;
    margin: 10px auto;
}

.footer-text {
    text-align: center;
}

footer p {
    font-size: 13px;
    line-height: 1.5;
}

.footer-copyright {
    font-size: 0.75rem;
    margin-top: 1rem;
}


/* 上に戻るボタン */
.backtoTop {
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s ease;
}

.backtoTop a {
    position: fixed;
    right: 0.5rem;
    bottom: 1rem;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 48px;
    color: #F5F3EF;
    background-color: #81d0e8;
    text-decoration: none;
    border-radius: 50vh;
    font-size: 1.5rem;

}

.backtoTop.show {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 640px) {
    .backtoTop a {
        right: 0.2rem;
        bottom: 1rem;
    }
}

.backtoTop a:hover {
    background-color: #314b7d;
    transition: all 0.4s ease;
}




/* =================================== */

/* レスポンシブ対応 */

/* =================================== */
@media (max-width:640px) {
    body {
        max-width: 90%;
        font-size: 14px;
        line-height: 1.5;
    }

    /* ヘッダー */
    /* haeder.cssに記述 */

    /* キービジュアル */
    .keyvisual img {
        height: 530px;
        object-position: 80% 100%;
    }

    .logo {
        display: none;
    }

    /* コンセプト */
    .concep-inner {
        flex-direction: column;
        padding: 70px 0;
    }

    .concept-text {
        font-size: 12px;
        width: 300px;
    }


    /* 選ばれる理由 */
    #reason {
        padding: 0;
    }

    .reason-set {
        grid-template-columns: repeat(1, 1fr);
    }

    #reason h2 {
        font-size: 18px;
    }

    #reason h3 {
        font-size: 14px;
    }


    /* スタイルギャラリー */
    .style-inner {
        padding: 50px 0;
    }

    .style-img {
        grid-template-columns: repeat(2, 1fr);
        width: 280px;
    }


    /* メニュー */
    .menu-img {
        flex-direction: column;
    }


    /* アクセス */
    .access-inner {
        flex-direction: column-reverse;
    }
}