@charset "UTF-8";
body {
    background-color: #f9ffff;
}

body .container {
    max-width: 1220px;
    margin: 0 auto;
}

.header {
    display: flex;
    justify-content: space-between;
    height: auto;
    z-index: 100;
    width: 100%;
    align-items: center;
    background-color: #0B1227;
}

.header-logo {
    display: flex;
    margin: 25px;
    margin-right: 0;
}

.header-logo img {
    display: block;
    width: 200px;
    height: auto;
}

.header-logo h1 a {
    text-decoration: none;
    color: #1c1c1c;
}

.header h1 {
    margin: 0;
    white-space: nowrap;
    font-family: '游明朝', 'Yu Mincho', 'YuMincho', 'Hiragino Mincho Pro', serif;
}

.header-menu ul {
    display: flex;
    justify-content: space-around;
}

.header-menu li {
    list-style: none;
    margin-right: 1em;
    display: flex;
    align-items: center;
}

.header-menu li:hover {
    opacity: 0.7;
}

.header-menu li:last-child {
    background-color: #3658BF;
    border-radius: 30px;
    padding: 20px 40px;
}

.header-menu ul li a {
    font-size: 0.9rem;
    color: #f5f5f5;
    text-decoration: none;
    font-family: '游明朝', 'Yu Mincho', 'YuMincho', 'Hiragino Mincho Pro', serif;
}

.open-btn {
    display: none;
}

#g-nav {
    display: none;
}

.header-button a {
    text-decoration: none;
    color: #ffffff;
    font-family: '游明朝', 'Yu Mincho', 'YuMincho', 'Hiragino Mincho Pro', serif;
}

.footer-button {
    display: none;
}


/* bunner */

.bunner img {
    width: 50%;
    display: block;
    margin: 0 auto 200px;
}


/* footer */

.footer-img img {
    max-width: 100%;
    width: 100%;
    object-fit: cover;
    object-position: top;
    height: 220px;
}

.footer-contents {
    background-color: #0B1227;
    padding: 3% 5%;
}

footer nav {
    margin: 0 auto;
    width: 50%;
    border-bottom: 2px solid #ffffff;
}

.footer-link {
    display: flex;
    justify-content: space-around;
    margin: 0;
    font-family: '游明朝', 'Yu Mincho', 'YuMincho', 'Hiragino Mincho Pro', serif;
}

.footer-link li {
    margin-bottom: 15px;
}

.footer-link li a {
    color: #f8f8f8;
    text-decoration: none;
}

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

.footer-information img {
    width: 80px;
    height: auto;
    display: block;
    margin: 50px auto 20px;
}

.footer-information span {
    color: #f8f8f8;
    font-size: 1rem;
    font-family: '游明朝', 'Yu Mincho', 'YuMincho', 'Hiragino Mincho Pro', serif;
}

.footer-information p {
    color: #f8f8f8;
    font-size: 0.8rem;
    font-family: '游明朝', 'Yu Mincho', 'YuMincho', 'Hiragino Mincho Pro', serif;
}

@media(max-width:1024px) {
    .header h1 {
        margin-left: 10px;
    }
    .header-logo {
        margin: 15px;
    }
    .header-menu {
        display: none;
    }
    #g-nav {
        /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
        position: fixed;
        z-index: 999;
        /*ナビのスタート位置と形状*/
        top: 0;
        right: -120%;
        width: 100%;
        height: 100vh;
        /*ナビの高さ*/
        background-color: #3658BF;
        /*動き*/
        transition: all 0.6s;
        display: block;
    }
    /*アクティブクラスがついたら位置を0に*/
    #g-nav.panelactive {
        right: 0;
    }
    /*ナビゲーションの縦スクロール*/
    #g-nav.panelactive #g-nav-list {
        /*ナビの数が増えた場合縦スクロール*/
        position: fixed;
        z-index: 999;
        width: 100%;
        height: 100vh;
        /*表示する高さ*/
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }
    /*ナビゲーション*/
    #g-nav ul {
        /*ナビゲーション天地中央揃え*/
        position: absolute;
        z-index: 999;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        display: block;
    }
    /*リストのレイアウト設定*/
    #g-nav li {
        list-style: none;
        text-align: center;
    }
    #g-nav li a {
        color: #f5f5f5;
        text-decoration: none;
        padding: 10px;
        display: block;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        font-weight: bold;
        font-family: '游明朝', 'Yu Mincho', 'YuMincho', 'Hiragino Mincho Pro', serif;
    }
    /* 左から右へ線が伸びる */
    /*========= ボタンのためのCSS ===============*/
    .open-btn {
        display: block;
        position: fixed;
        z-index: 9999;
        /*ボタンを最前面に*/
        top: 10px;
        right: 30px;
        cursor: pointer;
        width: 50px;
        height: 50px;
    }
    .open-btn {
        position: absolute;
        /*ボタン内側の基点となるためrelativeを指定*/
        cursor: pointer;
        border-radius: 5px;
        height: auto;
    }
    /*ボタン内側*/
    .open-btn span {
        display: inline-block;
        transition: all .4s;
        /*アニメーションの設定*/
        position: absolute;
        left: 14px;
        height: 3px;
        border-radius: 2px;
        background: #ffffff;
        width: 45%;
    }
    .open-btn span:nth-of-type(1) {
        top: 15px;
    }
    .open-btn span:nth-of-type(2) {
        top: 23px;
    }
    .open-btn span:nth-of-type(3) {
        top: 31px;
    }
    .open-btn.active {
        position: fixed;
    }
    /*activeクラスが付与されると線が回転して×に*/
    .open-btn.active span:nth-of-type(1) {
        top: 18px;
        left: 18px;
        transform: translateY(6px) rotate(-45deg);
        width: 50%;
        background: #ffffff;
    }
    .open-btn.active span:nth-of-type(2) {
        opacity: 0;
        /*真ん中の線は透過*/
    }
    .open-btn.active span:nth-of-type(3) {
        top: 30px;
        left: 18px;
        transform: translateY(-6px) rotate(45deg);
        width: 50%;
        background: #ffffff;
    }
    /* headerボタン */
    .header-button {
        display: none;
    }
    /* bunner */
    .bunner img {
        width: 90%;
    }
    /* footerボタン */
    .footer-button {
        margin: 0;
        padding: 0;
        list-style: none;
        display: flex;
        position: fixed;
        top: auto;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 10;
        width: 100%;
        height: auto;
    }
    .footer-button li {
        width: 50%;
    }
    .footer-button p {
        color: #FFFFFF;
        text-align: center;
        margin: 0;
        white-space: nowrap;
        font-size: 1em;
    }
    .footer-inquiry {
        background-color: #3658BF;
        list-style: none;
    }
    .footer-phone {
        background-color: #0B1227;
    }
    .footer-inquiry,
    .footer-phone {
        list-style: none;
        padding: 1.4em;
        height: auto;
    }
    .footer-phone:hover,
    .footer-inquiry:hover {
        opacity: 0.7;
    }
    .footer-inquiry a,
    .footer-phone a {
        color: #FFFFFF;
        text-decoration: none;
        font-family: '游明朝', 'Yu Mincho', 'YuMincho', 'Hiragino Mincho Pro', serif;
    }
    .footer-phone i,
    .footer-inquiry i {
        margin-right: 0.5em;
    }
    /* footer */
    .footer-contents nav {
        display: none;
    }
    .footer-information {
        text-align: center;
    }
    .footer-information img {
        margin: 0 auto;
    }
}

@media(max-width:600px) {
    .header-logo {
        margin-left: 0;
    }
    .header-logo img {
        width: 120px;
    }
    .footer-information img {
        width: 25%;
    }
    .footer-img img {
        height: 140px;
    }
    .bunner img {
        margin-bottom: 100px;
    }
}