﻿/** font **/

@import url('https://fonts.googleapis.com/css2?family=East+Sea+Dokdo&family=Lexend+Deca:wght@300&family=M+PLUS+1p:wght@700&display=swap');

:root{
    --font-jp: 'Lexend Deca', "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif;
    --font-jp2: 'M PLUS 1p', "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif;
    --font-en: 'East Sea Dokdo', 'Lexend Deca', "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif;
}
body, .font_sans-serif, .hannari, .didot, .pop300, .pop400{
    font-family: var(--font-jp);
}
.font_jp{
    font-family: var(--font-jp2);
}
.font_en{
    font-family: var(--font-en);
}


/** color **/

:root{
    --color1: #003491;
    --color2: #f7f7f5;
    --color3: #d8b819;
    --color4: #e8e7e3;
    --black: #333333;
}

/**** cursor ****/

.cursor{
    position: fixed;
    width: 80px;
    height: 80px;
    z-index: 10001;
    transition: 0.3s;
    transform: scale(0.8);
    transition-property: opacity, transform;
    pointer-events: none;
}
.cursor.active{
    opacity: 1!important;
    transform: scale(1);
}

/** other **/

.back1:before, .back2:before{
    display: none;
}

html, body, #wrap{
    line-height: 2;
    letter-spacing: 1px;
}

#loader{
    top: 0;
    left: 0;
    z-index: 10;
}
#loader .loader_logo2{
    top: 0;
    left: 0;
    transition-duration: 1s;
    transition-property: transform;
    transition-timing-function: cubic-bezier(1,0,.88,.48);
}
#loader .loader_logo2.active{
    transform: translateX(calc(50vw + 200px));
}

#wrap{
    position: relative;
}
#wrap::before{
    position: fixed;
    content: "";
    width: 100px;
    height: 100px;
    bottom: 0;
    z-index: 2;
    pointer-events: none;
    background-image: url('./Dup/img/bg_img3.png');
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
    animation: anime1 20s linear infinite, anime2 0.2s linear infinite
}

@keyframes anime1 {
    0% {
        left: -30%;
    }
    100% {
        left: 130%;
    }
}
@keyframes anime2 {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
    100% {
        transform: translateY(0);
    }
}

.overlay{
    background: rgba(51,51,51,0.8)!important;
}
.nav_menu_more:last-of-type a .icon:before{
    display: none;
}
#overlay .left li{
    max-width: inherit;
}

#pc_nav li, #top_pc_nav li, #footer_nav li{
    max-width: inherit;
    margin-right: 30px;
    font-size: 12px;
}
#pc_nav li a::after, #top_pc_nav li a::after, #footer_nav li a::after{
    background-color: currentColor;
    height: 1px;
}

.more_btn{
    background-color: var(--color2);
    transition-delay: 0s!important;
}
.more_btn:before{
    border-color: var(--color1);
}
.more_btn:hover{
    color: var(--color1);
}
.more_btn:after{
    display: none;
}

#fakeloader{
    background-color: #fff;
}

header.scr_header {
    background-color: rgba(0,52,145,0.9)!important;
}
header #logo, header.scr_header #logo {
    max-width: 250px;
}

#main_img:before{
    display: none;
}
#main_img .menu .bg_white{
    background-color: var(--color1);
}
#main_img .menu .bg_white a{
    max-width: 100%;
}

#top_pc_nav{
    display: none;
}

.back1.pd_t-5per{
    padding-top: 0;
}

#intro{
    padding-top: 100px;
    padding-bottom: 150px;
    background-image: url('./Dup/img/bg_img2.png');
    background-size: 1200px;
    background-repeat: no-repeat;
    background-position: bottom 30px center;
    margin-bottom: 0;
}
#intro #intro_wrap{
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
    background-color: transparent;
}
#intro h3{
    font-family: var(--font-jp2);
}
.intro_img{
    height: 400px;
}

#con2{
    margin-top: -100px;
    position: relative;
    /*background-image: url('./Dup/img/bg_img.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;*/
}
#con2 .con2_title{
    font-family: var(--font-jp2);
    background-image: linear-gradient(to bottom, var(--color1), var(--color1));
    background-size: 30px 3px;
    background-repeat: no-repeat;
    background-position: left bottom;
}
#con2 .con2_box{
    position: relative;
    z-index: 1;
}
#con2 .con2_box::before{
    position: absolute;
    content: "";
    width: 40%;
    height: 500px;
    background-image: url(./Dup/img/bg_img.jpg);
    background-size: cover;
    background-position: center;
    z-index: -1;
    bottom: -50px;
}
#con2 .con2_box:not(.flex_row-re)::before{
    left: -30px;
}
#con2 .con2_box.flex_row-re::before{
    right: -30px;
}

#contents1 #contents1_wrap{
    margin-top: -100px;
}

#top_cms{
    background-color: var(--color2);
}
#top_cms .top_cms_box:first-of-type {
    padding-top: 100px;
}
#top_cms .cms_title{
    position: relative;
    background-image: linear-gradient(to bottom, currentColor, currentColor);
    background-size: 100% 1px;
    background-repeat: no-repeat;
    background-position: center;
}
#top_cms .cms_title h3{
    display: inline-block;
    position: relative;
    padding-right: 20px;
    background-color: var(--color2);
    font-family: var(--font-jp2);
    font-size: 36px;
    letter-spacing: 3px;
}
#top_cms .cms_title p{
    padding-left: 20px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background-color: var(--color2);
    font-size: 30px;
    letter-spacing: 3px;
    color: var(--black);
}
#top_cms .more_btn{
    background-color: #fff;
}

#info_contact .con_img:before, #page_title:before{
    background-color: var(--black);
    opacity: 0.4;
}
#info_contact .hannari{
    font-family: var(--font-jp2);
}

main.back1 > section > div{
    padding-top: 0;
    padding-bottom: 0;
}
main.back1 > section > div > .con_box{
    margin-top: -100px;
    margin-bottom: 50px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

#page_title h2{
    font-family: var(--font-jp2);
}

.pager li{
    margin: 0 10px!important;
}
.pager li a{
    background-color: var(--color3);
}
.pager li a:hover{
    background-color: var(--color1);
}

.cate_list li a{
    background-color: var(--color2);
    text-align: left;
}
.cate_list li a:hover{
    background-color: var(--color4);
}

.cate_title, .cate_title_h{
    font-family: var(--font-jp2);
}
.cate_title span, .cate_title_h span{
    font-family: var(--font-jp);
}

#cms_2-f .cate_box:last-of-type{
    padding-bottom: 0;
    border-bottom: none;
}

#cms_2-g.cms_2-g_h .cate_title_wrap::before{
    display: none;
}
#cms_2-g.cms_2-g_h .cate_box{
    position: relative;
}
#cms_2-g.cms_2-g_h .cate_box::before, #cms_2-g.cms_2-g_h .cate_box::after{
    position: absolute;
    content: "";
    width: 50px;
    height: 50px;
    pointer-events: none;
}
#cms_2-g.cms_2-g_h .cate_box::before{
    border-top: solid 1px var(--color1);
    border-left: solid 1px var(--color1);
    top: -1px;
    left: -1px;
}
#cms_2-g.cms_2-g_h .cate_box::after{
    border-bottom: solid 1px var(--color1);
    border-right: solid 1px var(--color1);
    bottom: -1px;
    right: -1px;
}

footer{
    background-color: transparent!important;
    border-top: solid 1px var(--color4);
}
#footer{
    background-color: transparent;
}
footer .con_box h2{
    display: none;
}

#copyright{
    padding-bottom: 100px;
}


/** tablet 780 **/
@media screen and (max-width: 768px){
header #logo, header.scr_header #logo{
    max-width: 200px;
}
#main_img .menu .bg_white{
    max-width: 300px;
}
#intro {
    background-size: 800px;
}
#con2 {
    background-image: none;
    margin-top: 0;
}
#con2 .con2_box::before {
    height: 40vw;
    top: -50px;
    bottom: auto;
}
#con2 .con2_box:not(.flex_row-re)::before {
    left: auto;
    right: 0;
}
#con2 .con2_box.flex_row-re::before {
    right: auto;
    left: 0;
}
#con2 .con2_img{
    height: 50vw;
    width: 95%!important;
}
#top_cms .top_cms_box{
    padding-top: 40px;
}
#top_cms .cms_title p {
    transform: none;
    font-size: 20px;
    top: -40px;
    left: 0;
    padding-left: 0;
}
#page_title h2{
    font-size: 26px;
}
}

/** mobile 750 **/
@media screen and (max-width: 667px){
#loader .loader_logo{
    width: 250px;
}
#wrap::before{
    width: 80px;
    height: 80px;
    animation: anime1 10s linear infinite, anime2 0.2s linear infinite
}
main.back1 > section > div > .con_box {
    margin-top: -50px;
}
#main_img .menu .bg_white{
    max-width: 250px;
}
#con2 .con2_box::before {
    top: -20px;
    width: 60%;
}
#top_cms .cms_title p {
    font-size: 16px;
    top: -30px;
}
#top_cms .cms_title{
    padding-left: 0;
}
#top_cms .cms_title h3{
    padding-right: 10px;
    font-size: 24px;
    letter-spacing: 1px;
}
#page_title .page_title_box {
    padding-left: 0;
    padding-right: 0;
    width: 90%;
}
#page_title h2{
    font-size: 24px;
}
#copyright{
    padding-bottom: 80px;
}
}