@charset "UTF-8";

/* CSS Document */
html {
    font-size: 62.5%;
    width: 100%;
}

@font-face {
    font-family: 'ZenKakuGothicNew';
    font-weight: 400;
    src: url("../font/Zen_Kaku_Gothic_New_Regular.woff") format('woff'), url("../font/Zen_Kaku_Gothic_New_Regular.woff2") format('woff2');
}

@font-face {
    font-family: 'ZenKakuGothicNew';
    font-weight: 500;
    src: url("../font/Zen_Kaku_Gothic_New_Medium.woff") format('woff'), url("../font/Zen_Kaku_Gothic_New_Medium.woff2") format('woff2');
}

@font-face {
    font-family: 'ZenKakuGothicNew';
    font-weight: 700;
    src: url("../font/Zen_Kaku_Gothic_New_bold.woff") format('woff'), url("../font/Zen_Kaku_Gothic_New_bold.woff2") format('woff2');
}

@font-face {
    font-family: 'ZenMaruGothic';
    font-weight: 700;
    src: url("../font/ZenMaruGothic-Bold.woff") format('woff'), url("../font/ZenMaruGothic-Bold.woff2") format('woff2');
}


body {
    color: #202020;
    /* RGB */
    font-family: "ZenKakuGothicNew", "Noto Sans", "Noto Sans JP", "NotoSansCJKjp-Jxck", 'メイリオ', 'Meiryo', 'ＭＳ Ｐゴシック', sans-serif;
    font-weight: 400;
    font-size: 1.6em;
    line-height: 1.5;
    text-align: center;
    background-color: #fff;
    width: 100%;
    margin: 0 auto;
}

.back_red {
    background-color: #9f2b2c;
}

.back_blue {
    background-color: #2F6EB4;
}

section {
    margin: 0 auto;
}

.white {
    background-color: #fff;
}

.next_btn {
    border-radius: 30px;
    padding: 10px 20px 10px 60px;
    width: fit-content;
    color: #fff;
    font-weight: 700;
    text-shadow: 1px 1px 3px #000;
}

/* top section */
header {
    display: flex;
    height: 90px;
    justify-content: space-between;
    width: 100%;
    margin: 0 auto;
    z-index: 999;
    background-color: #fff;
    font-weight: 700;
    position: fixed;
}

header h1 {
    margin: 5px 0 0 5px;
    width: 20%;
    max-width: 186px;
}


header nav {
    width: 80%;
    display: flex;
    align-items: center;
    max-width: 1000px;
    justify-content: flex-end;
}

header .hbg-btn {
    display: none;
}

header .banner {
    display: flex;
    align-items: center;
}

header .banner a {
    height: 80%;
    padding-left: 10px;
}

header ul {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    height: 80%;
    background-image: url("../images/nav_back2.png");
    background-position: right;
    background-size: contain;
    background-repeat: repeat;
}

header ul li {
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: min(1.82vw, 1.6rem);
    transition: all .3s;
    cursor: pointer;
}

@media (hover:hover){
header ul li:hover {
    background-color: #9f2b2c;
    transition: all .3s;
}
}

header .circle {
    background-color: #535353;
    border-radius: 50px;
    color: #fff;
    width: 125px;
    height: 42px;
}

header .circle div {
    line-height: 1;
}

header ul .nav_banner {
    width: 150px;
}

header .back_li1 {
    background-image: url(../images/nav_back_start.png);
    width: 6%;
    max-width: 50px;
    height: 72px;
    background-position: left;
    background-size: cover;
    background-repeat: no-repeat;
}

header .back_li2 {
    background-image: url(../images/nav_back_end.png);
    width: 4%;
    max-width: 30px;
    height: 72px;
    background-position: right;
    background-size: cover;
    background-repeat: no-repeat;
}

@media(max-width:768px) {

    header {
        height: 50px;
        background-color: unset;
    }

    header h1 {
        z-index: 99;
        width: 100px;
        height: 45px;
    }

    header h1 img{
        object-fit: contain;
    }

    header nav {
        height: 100vh;
        width: 100%;
        position: absolute;
        right: 0;
        transform: translateX(100%);
        transition: all .5s;
        background-color: rgba(255, 235, 205, 0.95);
    }

    header nav.active {
        transform: translateX(0);
        transition: all .5s;
    }

    header .back_li1,
    header .back_li2 {
        display: none;
    }

    header .banner {
        display: none;
    }

    header .hbg-btn {
        display: block;
        width: 45px;
        height: 45px;
        margin: 5px 5px 0 0;
        background-image: url("../images/hbg.webp");
        background-size: contain;
        transition: all .5s;
        z-index: 99;
    }

    header .hbg-btn.active {
        background-image: url("../images/clouse.png");
    }

    header ul {
        flex-direction: column;
        justify-content: flex-start;
        background-image: unset;
        height: 70%;
        width: 100%;
    }

    header .circle {
        background-color: #9f2b2c;
        transition: unset;
        margin-bottom: 50px;
        width: 300px;
        font-size: 1.6rem;
    }

    header ul .nav_banner {
        display: none;
    }

    header .br{
        display: none;
    }
}


/*footer*/
footer {
    background-image: linear-gradient(90deg, rgba(255, 235, 206, 1) 10%, rgba(255, 235, 206, 1) 30%, rgba(255, 255, 255, 1) 90%);
}

footer .footer_wrap {
    width: 100%;
    max-width: 1280px;
    background-image: url("../images/footer_bg.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left 28% top;
    margin: 0 auto;
}

footer .content_wrap {
    display: flex;
    position: relative;
    justify-content: flex-end;
    padding: 30px 0;
    width: 90%;
    margin: 0 auto;
}

footer small {
    position: absolute;
    left: 20px;
    ;
    bottom: 30px;
}

footer .footer_right {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    font-size: 1.4rem;
    font-weight: 500;
}

footer .organize {
    margin-left: 15px;
}

footer .organize div {
    display: flex;
    text-align: left;
}

footer .space {
    margin-right: 15px;
}

footer .organize span {
    display: inline-block;
    width: 20px;
}

footer .logo_wrap {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-top: 35px;
    width: 100%;
}

footer .op {
    width: 36%;
}

footer .act {
    width: 27%;
}



footer .footer_logo {
    position: absolute;
    top: 30px;
    left: 0;
    width: 13%;
}

@media(max-width:768px) {

    footer {
        margin-bottom: 80px;
    }

    footer .footer_right {
        justify-content: center;
        width: 100%;
        align-items: flex-end;

    }

    footer .logo_wrap {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        margin-top: 35px;
        width: 100%;
        margin-bottom: 35px;
        max-width: 500px;
    }

    footer .footer_logo {
        width: 35%;
        min-width: inherit;
        max-width: 150px;
    }

    footer .op {
        width: 25%;
        max-width: 110px;
        margin-right: 30px;
    }

    footer .act {
        width: 25%;
        max-width: 110px;
    }

    footer small {
        left: 50%;
        transform: translateX(-50%);
    }

    footer .organize {
        margin-left: 0;
    }

}