@charset "UTF-8";

/*-------default--------*/
html {
    margin: 0;
    padding: 0;
    font-size: 62.5%;
}

/*=========All========*/
body {
    margin: 0;
    padding: 0;
    color: #4d5156;
    font-family: '游明朝', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', serif;
    font-size: 1.6rem;
    text-align: left;
    line-height: 2;
    -webkit-text-size-adjust: 100%;
}

p {
    margin: 0;
    padding: 0;
}

a {
    color: #4d5156;
    text-decoration: none;
}

a:hover {
    cursor: pointer;
}


h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    padding: 0;
    font-weight: normal;
}

img {
    width: 100%;
    height: auto;
}

section {
    position: relative;
    background: #fff;
}

ul {
    margin: 0;
    padding: 0;
}

ul li {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

dl,
dt,
dd {
    margin: 0;
    padding: 0;
}

main {
    padding: 160px 0 0;
}

.inner {
    max-width: 1024px;
    margin: 0 auto;
}

.logo::before {
    content: url(../images/content/logo.svg);
}

.sp {
    display: none;
}

/*-------ヘッダ------*/

#page-header {
    box-sizing: border-box;
    height: 160px;
    width: 100%;
    height: 60px;
    background: #fff;
    position: fixed;
    top: 0;
    z-index: 10;
}

#page-header .header-bottom {
    position: absolute;
    width: 100%;
    top: 100px;
    /* 初期位置 */
    height: 60px;
    transition: top 0.3s ease;
    background-color: #fff;
    box-shadow: 0 6px 3px -3px rgba(0, 0, 0, 0.1);
}

#page-header .inner {
    height: 60px;
}

#page-header .header-top {
    background-color: #323B60;
    height: 100px;
    display: flex;
    justify-content: center;
}

#page-header .logo {
    box-sizing: border-box;
    width: 300px;
    height: 80px;
    padding-top: 23px;
}

#page-header .header-bottom .inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


#page-header .header-nav {
    display: flex;
    align-items: center;
    width: 100%;
    height: 60px;
}

#page-header .header-nav ul {
    display: flex;
    align-items: center;
    white-space: nowrap;
    padding: 0;
    margin: 0;
}

#page-header .header-nav ul li {
    font-size: 1.8rem;
    padding-right: 65px;
}

#page-header .header-bottom p {
    box-sizing: border-box;
    min-width: 180px;
    height: 50px;
    border: 1px solid #4d5156;
    border-radius: 25px;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease 0s;
}

#page-header .header-bottom p:hover {
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.25);
    transform: translateY(-0.1875em);
}



/*------フッター------*/

footer {
    height: 350px;
    background-color: #323B60;
    position: relative;
}

footer .inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

footer .logo {
    box-sizing: border-box;
    width: 200px;
    height: 60px;
    margin-top: 30px;
}


footer .footer-blk ul li {
    color: #F6F7EC;
}


footer .sns ul {
    display: flex;
}

footer .sns ul li {
    height: 25px;
    margin: 20px 20px;
}

footer .sns ul li a {
    display: flex;
    width: 25px;
    height: 25px;
    background: #323B60;
    justify-content: center;
    align-items: center;
}

footer p {
    color: #F6F7EC;
}

footer .copyright {
    margin: 0 0 20px 0;
}

/*-----トップに戻るボタン-----*/

.button_top-blk {
    margin: 20px 0;
}

.button_top-blk .inner {
    display: flex;
    justify-content: flex-end;
}

.button_top {
    width: 70px;
    height: 70px;
    background-color: #808080;
    border: 1.5px solid #ad833c;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.button_top a {
    color: #ffffff;
    font-size: 25px;
}

/*--------------------------------------
スマホ
--------------------------------------*/

@media screen and (max-width: 960px) {

    .sp {
        display: block;
    }

    .inner {
        width: 100%;
    }


    /* ----------ヘッダー------- */

    header .inner {
        width: 94%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #page-header .logo {
        width: 60%;
        max-width: 250px;
    }

    #nav-toggle {
        position: fixed;
        top: 35px;
        right: 25px;
        height: 32px;
        cursor: pointer;
        z-index: 1000;
    }

    #nav-toggle>div {
        position: relative;
        width: 36px;
    }

    #nav-toggle>div span {
        width: 100%;
        height: 2px;
        left: 0;
        display: block;
        background: #fff;
        position: absolute;
        transition: transform .3s ease, top .5s ease;
    }

    #nav-toggle>div span:nth-child(1) {
        top: 0;
    }

    #nav-toggle>div span:nth-child(2) {
        top: 14px;
    }

    #nav-toggle>div span:nth-child(3) {
        top: 28px;
    }

    .open #nav-toggle>div span:nth-child(1) {
        top: 15px;
        transform: rotate(45deg);
    }

    .open #nav-toggle>div span:nth-child(2) {
        width: 0;
    }

    .open #nav-toggle>div span:nth-child(3) {
        top: 15px;
        transform: rotate(-45deg);
    }

    #page-header .header-bottom {
        display: flex;
        justify-content: center;
    }

    #page-header .header-nav {
        background-color: #323B60;
        color: #fff;
        position: fixed;
        width: 100%;
        height: 100%;
        top: 0;
        right: 0;
        bottom: 0;
        margin: 0;
        z-index: 990;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding-left: 100px;
        transform: translateX(-100%);
        transition: transform 1s ease;
    }

    .open #page-header .header-nav {
        transform: translateX(0) !important;
    }

    #page-header .header-nav ul {
        display: block;
        /*  transition-delay: .15s; */
    }

    #page-header .header-nav li {
        position: relative;
        margin: 0 !important;
        text-align: left;
        transform: translateX(-200px);
        transition: transform 1.3s ease;
    }

    .open #page-header .header-nav li {
        transform: translateX(0);
    }

    #page-header .header-nav li a {
        display: inline-block;
        color: #fff;
        text-decoration: none;
        padding: 10px 0;
        font-size: 2.8rem;
    }

    #page-header .header-bottom p {
        width: 100%;
        display: flex;
        align-items: center;
    }

}