@charset "UTF-8";

/* ブレークポイント
SP:～519px
Tab:520px～959px
PC:960px～ */

/* 変数宣言 */
:root {
    --main-color: #B1AECB;
    --sub-color: #d6d3f0;
    --text-color: #605f5f;
    --size-sm: 1.2rem;
    --size-md: 1.6rem;
    --size-lg: 2.6rem;
    --size-xl: 3.2rem;
    --size-2xl: 4.2rem;
    --size-3xl: 6.6rem;
    --font-biz: "BIZ UDPMincho", serif;
    --font-zen: "Zen Kaku Gothic Antique", sans-serif;
    --font-sans: "Open Sans", sans-serif;
    --gutter-base: 8px;
    --side-gutter: calc(var(--gutter-base)*2);
    --contents-gutter: calc(var(--gutter-base)*5);
    --contents-gutter-pc: calc(var(--gutter-base)*10);
    --section-gutter: calc(var(--gutter-base)*10);
    --section-gutter-pc: calc(var(--gutter-base)*20);
    --footer-gutter: calc(var(--gutter-base)*40);
}


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

html {
    font-size: 62.5%;
    overflow-x: hidden;
    box-sizing: border-box;
}


body {
    margin: 0;
    padding: 0;
    font-family: var(--font-zen);
    font-size: 1.5rem;
    letter-spacing: .05em;
    color: var(--text-color);
    overflow-x: hidden;
    box-sizing: border-box;
    word-break: keep-all;
}

a {
    transition: opacity .3s;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
    border-style: none;
}


.btn {
    color: var(--text-color);
    border: 1px solid var(--text-color);
    padding: 20px;
    width: 200px;
    display: inline-block;
    background-color: #Fff;
    border-radius: 25px;
}



/*media Queries 767
----------------------------------------------------*/
@media screen and (max-width: 767px) {
    body {
        font-size: 14px;
    }

    .pc-only {
        display: none;
    }

    .sp-only {
        display: block;
    }

    /* 見出し */
    .title {
        font-size: 26px;
        margin-bottom: 20px;
    }

    .lead {
        font-size: 14px;
        line-height: 1.7;
        margin-bottom: 20px;
    }

    .btn {
        padding: 10px;
    }


    /* レイアウト */
    .wrapper {
        padding-top: 57px;
    }

    .section {
        padding: 60px 0;
    }

    .container {
        padding: 0 20px;
    }

}







/*--------------------------------
 見出し(h2)
---------------------------------*/
.title {
    font-family: var(--font-zen);
    color: var(--text-color);
    font-size: var(--size-2xl);
    font-weight: normal;
    line-height: 1;
    border-bottom: 1px solid var(--text-color);
    padding: 1rem 0rem;
    display: inline-block;
    margin-bottom: 40px;
    text-align: center;
    letter-spacing: .1em;
}


.title span {
    font-size: var(--size-lg);
}



.lead {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}


/*--------------------------------
ヘッダー
---------------------------------*/

.header_sp,
.menu {
    display: none;
}

.header {
    position: fixed;
    top: 0;
    z-index: 1;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 5px 10px -6px rgba(0, 0, 0, .1);

}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
    font-family: var(--font-zen);
}

.header-logo {
    font-family: var(--font-zen);
    font-size: 24px;
    font-weight: normal;
    line-height: 1.5;
    margin-right: 20px;
    letter-spacing: .1em;
}

.header-logo a {
    color: #333;
}

.gnav-list {
    display: flex;
    justify-content: space-between;
    list-style: none;
}

.gnav-item:not(:last-child) {
    margin-right: 20px;
}

.gnav-item a {
    font-family: var(--font-zen);
    position: relative;
    font-size: 20px;
    font-weight: normal;
    display: inline-block;
    padding: 5px 0;
    transition: .3s;
    letter-spacing: .1.2em;
    color: #333;
}

.gnav-item a:after {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    content: "";
    transition: .3s;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    background-color: #333;
}

.gnav-item a:hover:after {
    width: 100%;
}

.gnav-item span.material-symbols-outlined {
    padding-left: 1rem;
    vertical-align: sub;
}


/*--------------------------------
SPヘッダー(ハンバーガー）
---------------------------------*/

/*media Queries 767
----------------------------------------------------*/
@media screen and (max-width: 767px) {
    .header {
        display: none;
    }

    .header_sp {
        display: block;
        width: 50px;
        height: 50px;
        position: fixed;
        top: 0;
        right: 0;
        transform: scale(0.8);
        padding: 0;
        cursor: pointer;
        z-index: 1001;
    }

    .menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 100vw;
        height: 60vh;
        display: flex;
        flex-wrap: wrap;
        transform: translateY(-100%);
        transition: transform 0.5s;
        z-index: 998;
    }

    .menu.on {
        transform: translateY(0);
    }

    .menu-bar {
        width: 50px;
        height: 5px;
        background: #767676;
        position: absolute;
        transition: all 0.3s;
        z-index: 999;
    }


    .menu-con.menu01 {
        background: var(--sub-color);
    }

    .menu-con.menu02 {
        background: rgb(190, 190, 203)
    }

    .menu-con.menu03 {
        background: var(--main-color);
    }

    .menu-con.menu04 {
        background: #fff;
    }

    .menu-bar1 {
        margin-top: 9px
    }

    .menu-bar2 {
        margin-top: 23px
    }

    .menu-bar3 {
        margin-top: 37px
    }

    .header_sp.on .menu-bar1 {
        -webkit-transform: rotate(45deg) scaleX(0.7);
        margin-top: 22px;
    }

    .header_sp.on .menu-bar2 {
        opacity: 0
    }

    .header_sp.on .menu-bar3 {
        -webkit-transform: rotate(-45deg) scaleX(0.7);
        margin-top: 22px;
    }


    .menu-con {
        flex-basis: 0;
        flex-grow: 1;
        display: flex;
        justify-content: space-around;
        position: relative;
        transition: all 0.5s
    }

    .menu-con a:before {
        content: "";
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
        width: 100%;
        height: 100%;
        opacity: 1;
        background: rgba(0, 0, 0, 0);
        -webkit-transition: all 0.5s;
        transition: all 0.5s;
    }

    .menu-con:hover a:before {
        background: rgba(0, 0, 0, 0.2)
    }

    .menu-con a {
        height: 20px;
        -webkit-align-self: center;
        color: var(--text-color);
        font-size: 25px;
        z-index: 2;
        cursor: pointer;
        display: block;
    }

    @media screen and (max-width: 600px) {
        .menu-con {
            min-width: 50%
        }
    }

    @media screen and (max-width: 350px) {
        .menu-con {
            min-width: 100%
        }
    }

}




/*--------------------------------
 フッター
---------------------------------*/
.footer {
    padding: 50px 40px;
    background-color: var(--sub-color);
}

.copyright {
    font-size: var(--size-sm);
    text-align: center;
    color: var(--text-color);
}




/*media Queries 767
----------------------------------------------------*/
@media screen and (max-width: 767px) {

    /* ヘッダー */

    /* .header .container {
        padding: 15px;
    }

    .header-logo {
        font-size: 15px;
        margin-right: 15px;
    }

    .gnav-item:not(:last-child) {
        margin-right: 10px;
    }

    .gnav-item a {
        font-size: 10px;
    }

    .gnav-item a:after {
        display: none;
    } */

    /* フッター */
    .footer {
        padding: 20px;
    }


}



/*--------------------------------
スクロールアニメーション
---------------------------------*/
/* セクション全体のスタイル */
.js-scroll-trigger {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
}

.js-scroll-trigger.is-animated {
    opacity: 1;
    transform: translateY(0);
}


/*--------------------------------
トップへボタン
---------------------------------*/
button {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    right: 50px;
    bottom: 20px;
    box-sizing: border-box;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    border: 0;
    background: none;
    transition: .2s;
    letter-spacing: 3px;
}

button span {
    position: relative;
}

button span:before {
    position: absolute;
    top: -29px;
    left: 16px;
    transform: rotate(-45deg);
    display: block;
    width: 14px;
    height: 14px;
    content: "";
    z-index: 2;
    border: 1px solid #fff;
    border-width: 1px 1px 0px 0px;
}

button span:after {
    position: absolute;
    width: 36px;
    height: 36px;
    background-color: #908e8e;
    content: "";
    border-radius: 100%;
    top: -43px;
    left: 5px;
    z-index: 1;
}



.is-active {
    opacity: 1;
    visibility: visible;
}