@charset "utf-8";

/* 共通 */

body,
header div,
footer div,
header nav,
footer nav,
header ul,
footer ul,
header p,
footer p,
footer,
header {
    margin: 0;
    padding: 0;
}

header div,
header p,
header nav,
header ul,
header button,
footer div,
footer p,
footer nav,
footer ul,
footer button,
header a,
footer a,
header li,
footer li,
header,
footer {
    box-sizing: border-box;
}

body {
    /* font-family: var(--font-body-family), "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "メイリオ", sans-serif; */
    font-family: serif;
    color: #333;
    font-size: 14px;
    background-color: #fff;
    background: url(imgs/footer_bg02.png) bottom 400px right / contain no-repeat;
}

footer .flex,
header .flex {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

footer li,
header li {
    list-style: none;
}

footer a,
header a {
    text-decoration: none;
    color: #333;
}

header button,
footer button {
    border: 1px solid #333;
    padding: 10px 30px;
}

header button:hover,
footer button:hover {
    cursor: pointer;
    color: #fff;
    background-color: #333;
}

header .inner,
footer .inner {
    width: 100%;
    padding: 0 30px;
    margin: auto;
}


/* ヘッダー */

header {
    height: 160px;
    width: 100%;
    padding: 0 20px;
    background: #fff;
    position: fixed;
    z-index: 200;
}

header .inner {
    max-width: 1040px;
}

header nav {
    width: 78%;
    /* max-width: 680px; */
    margin-top: 80px;
    /* margin-right: 140px; */
    position: relative;
}

header nav a {
    color: #030432;
    /* position: relative; */
    display: block;
    height: 30px;
    line-height: 30px;
}

header nav a:hover {
    border-bottom: 2px solid #030432;
}

header .logo {
    padding-top: 46px;
}

header .nav07 {
    /* position: absolute; */
    margin-top: -14px;
    bottom: 14px;
    /* right: -140px; */
    color: transparent;
    font-size: 0;
    line-height: 0;
    background-color: #fefefe;
    border-radius: 50%;
    border: #030432 1px solid;
}

header .nav07 a {
    width: 56px;
    height: 56px;
    padding: 12px;
}

header .nav07 a img {
    width: 100%;
    padding-left: 2px;
}

header .nav07:hover {
    mix-blend-mode: difference;
}

header .nav07 a:hover {
    border: none;
}

main {
    padding-top: 160px;
}

/* フッター */
footer {
    width: 100%;
    padding: 0 0 0 20px;
    background-color: #030432;
    color: #fff;
}

.footer_wp {
    justify-content: right;
    margin: 0 auto;
}

footer .right {
    /* max-width: 360px; */
    width: 30%;
    background: url(imgs/footer_bg.jpg) center / cover no-repeat;
    position: relative;
    height: 500px;
    line-height: 40px;
    padding-top: 60px;
    padding-left: 40px;
}

/* footer li {
    height: 40px;
    line-height: 40px;
} */

footer .company {
    font-size: 30px;
}

footer address {
    font-style: normal;
    margin-top: 30px;
}

footer .left {
    height: 430px;
}

footer .tel {
    margin-top: 30px;
}

footer .note {
    position: absolute;
    bottom: 80px;
}

footer .copyright {
    position: absolute;
    bottom: 20px;
}

footer .blue {
    width: 70%;
    max-width: 700px;
    padding-top: 70px;
    padding-left: 3%;
    position: relative;
    margin: auto;
    /* justify-content: right; */

}

footer .footer_wp,
footer .blue {
    flex-wrap: wrap-reverse;
}

footer .middle {
    height: 430px;
    width: 300px;
    margin-right: 3%;
}

footer .newsletter {
    font-size: 20px;
    margin-bottom: 20px;
    margin-top: 5px;
}

footer button {
    margin: 30px 0;
    width: 100%;
    background: none;
    color: #fff;
    border: #fff 1px solid;
}

footer li a {
    color: #ccc;
    height: 100%;
    display: block;
}

footer a:hover {
    color: #333;
}


/* ハンバーガーメニュー */

.hum_menu {
    position: fixed;
    left: 8%;
    bottom: 50px;
    z-index: 200;
    display: none;
}

.MenuBtn.Style03 {
    position: relative;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #030432;
    border: 1px solid #ccc;
}

.MenuBtn.Style03:hover {
    cursor: pointer;
    background: #47638a;
}

.MenuBtn.Style03 .MenuBtn-BarFrame {
    position: relative;
    display: block;
    width: 26px;
    height: 4px;
    transition: all .15s ease-in;


}

.MenuBtn.Style03 .MenuBtn-BarFrame-FirstBar {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 9999px;
    background-color: #fff;
    transition: all .15s linear;


}

.MenuBtn.Style03 .MenuBtn-BarFrame-SecondBar {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 9999px;
    background-color: #fff;
    transition: all .15s linear;

    transform-origin: center left;
    transform: translateY(-9px) rotate(0deg);
}

.MenuBtn.Style03 .MenuBtn-BarFrame-ThirdBar {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 9999px;
    background-color: #fff;
    transition: all .15s linear;

    transform-origin: center left;
    transform: translateY(9px) rotate(0deg);
}

.MenuBtn.Style03.isClosed .MenuBtn-BarFrame-SecondBar {
    width: 16px;
    transform: translateY(1.414px) rotate(-45deg);
}

.MenuBtn.Style03.isClosed .MenuBtn-BarFrame-ThirdBar {
    width: 16px;
    transform: translateY(-1.414px) rotate(45deg);
}

@media screen and (max-width :930px) {

    footer {
        padding: 0;
    }

    footer .blue {
        width: 100%;
        padding: 0;
    }

    footer .left,
    footer .middle {
        height: auto;
        width: 100%;
        max-width: none;
        padding: 40px 20px 0;
        margin: 0 auto;
    }

    footer .middle {
        width: 400px;
    }

    footer .middle button {
        max-width: 400px;
        margin: 30px auto;
    }

    footer .left {
        height: 360px;
        text-align: center;
    }

    footer ul.right {
        padding: 20px 0 20px 10vw;
        height: auto;
        max-width: none;
        width: 100%;
        background-position: center top 60%;
    }

    footer .note {
        bottom: 54px;
    }
}

@media screen and (max-width :768px) {

    .hum_menu {
        display: block;
    }

    header {
        padding: 0;
    }

    header nav {
        position: absolute;
        margin: 0;
        transform-origin: top left;
        transform: rotateZ(-90deg);
        transition: all .3s ease;
        background-color: #030432;
        display: block;
        height: 100vh;
        width: 100%;
    }

    header ul.flex {
        display: block;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    header ul li {
        text-align: center;
        display: flex;
        align-items: center;
    }

    header .inner {
        padding: 0;
        max-width: 100%;
    }

    header nav li a {
        color: #fff;
        line-height: 2.2em;
        font-size: 1.6em;
        height: auto;
        margin: 4px 0;
    }

    header nav li.nav07 {
        display: block;
        bottom: -10%;
        right: -50%;
        position: absolute;
    }

    header nav li.nav07 a {
        margin: 0;
    }

    header nav a:hover {
        border-bottom: 1px solid #fff;
    }

    header .nav07:hover {
        background: #7fa3d4;
    }

    /* アニメーション後のメニューの状態 */
    header nav.is-active {
        transform: rotateZ(0deg);

    }

    header .logo {
        margin: auto;
    }

    body {
        background: url(imgs/footer_bg02.png) bottom 800px right / contain no-repeat, url(imgs/footer_bg01.png) bottom 900px right / contain no-repeat;
    }
}