@charset "utf-8";
/*--------------------------------------------------------------
　枠
--------------------------------------------------------------*/
#container{
    margin: 100px auto 0;
}
@media (max-width:1000px) {
    #container{
        margin: 90px auto 0;
    }
}
@media (max-width:600px) {
    #container{
        margin: 80px auto 0;
    }
}
@media (max-width:480px) {
    #container{
        margin: 60px auto 0;
    }
}

/*--------------------------------------------------------------
　共通装飾
--------------------------------------------------------------*/
#h1{
    padding-top: 130px;
    text-align: center;
    font-size: 3em;
    font-weight: bold;
}
.h1{
    padding-top: 130px;
    text-align: center;
    font-size: 3em;
    font-weight: bold;
}
.title_e{
    text-align: center;
    color: #9C1F43;
    font-weight: bold;
    font-size: 1.4em;
    padding-bottom: 70px;
}
@media (max-width:600px){
    #h1{
        padding-top: 100px;
    }
    .h1{
        padding-top: 100px;
    }
    .title_e{
        padding-bottom: 50px;
    }
}
@media (max-width:480px){
    #h1{
        padding-top: 60px;
    }
    .h1{
        padding-top: 60px;
    }
    .title_e{
        padding-bottom: 40px;
    }
}

.h2{
    max-width: 1100px;
    width: 80%;
    border-left: solid 2em #162143;
    border-right: solid 2em #162143;
    margin: 20px auto 0;
    padding: 10px 0;
    text-align: center;
    box-sizing: border-box;
    color: white;
    font-weight: bold;
    font-size: 1.4em;
    background-color: #005CAC;
}
@media (max-width:480px){
    .h2{
        width: 90%;
    }
}

.txt_red{color: #9C1F43;}
.txt_blue{color: #005CAC;}
.bold{font-weight: bold;}
.size75{font-size: 0.75em;}
.mtauto{margin-top: 80px;}
@media (max-width:480px){
    .mtauto{margin-top: 30px;}
}
/*--------------------------------------------------------------
　ヘッダー
--------------------------------------------------------------*/
.header{
    position: fixed;
    top: 0;
    left: 0;
    margin: 0 auto;
    width: 100%;
    height: 150px;
    z-index: 9990;
}
#header_top{
    height: 100px;
    box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.25);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
}
#header_logo{
    display: block;
    height: 100px;
    width: 500px;
}
#header_logo:hover{
    opacity: 0.65;
    transition: 0.5s;
}
#header_logo a{
    display: flex;
    align-items: center;
    height: 100px;
    width: 500px;
    font-size: 30px;
    font-weight: bold;
    color: black;
}
#header_logo img{
    height: 60px;
    margin: 0 20px;
}
#header_contact{
    display: block;
    height: 100px;
    width: 250px;
    background-color: white;
    border-left: solid 1px #9C1F43;
}
#header_contact :hover{
    background-color: #F4EAEA;
    transition: 0.5s;
}
#header_contact a{
    height: 100px;
    width: 250px;
    color: #9C1F43;
    font-size: 1.1em;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
}
#header_contact img{
    height: 20px;
    margin-right: 10px;
}
#navi{
    z-index: 10;
    height: 50px;
    width: 100%;
    background-color: rgba(0, 92, 172, 0.5);
}
#navi ul{
    display: flex;
    justify-content: center;
}
#navi li{
    height: 50px;
    width: 180px;
    text-align: center;
    background-color: rgba(0, 92, 172, 0);
}
#navi li :hover{
    background-color: rgba(0, 92, 172, 1);
    transition: 0.5s;
}
#navi a{
    display: block;
    height: 50px;
    width: 180px;
    font-size: 1em;
    font-weight: bold;
    line-height: 50px;
    color: white;
}
.SMPnavi{
    display: none;
}
@media (max-width:1000px) {
    .header{
        height: 130px;
    }
    #header_top{
        height: 90px;
    }
    #header_logo{
        height: 90px;
        width: 430px;
    }
    #header_logo a{
        height: 90px;
        width: 430px;
        font-size: 25px;
    }
    #header_logo img{
        height: 50px;
        margin: 0 20px 0 10px;
    }
    #header_contact{
        height: 90px;
        width: 170px;
    }
    #header_contact a{
        height: 90px;
        width: 170px;
        color: #9C1F43;
        font-size: 1em;
    }
    #navi{
        height: 40px;
    }
    #navi li{
        height: 40px;
        width: 140px;
    }
    #navi a{
        height: 40px;
        width: 140px;
        line-height: 40px;
    }
}
@media (max-width:600px){
    .header{
        height: 110px;
    }
    #header_top{
        height: 80px;
    }
    #header_logo{
        height: 80px;
        width: 340px;
    }
    #header_logo a{
        height: 80px;
        width: 340px;
        font-size: 20px;
    }
    #header_logo img{
        height: 40px;
        margin: 0 10px;
    }
    #header_contact{
        height: 80px;
        width: 140px;
    }
    #header_contact a{
        height: 80px;
        width: 140px;
        color: #9C1F43;
        font-size: 1em;
    }
    #navi{
        height: 30px;
    }
    #navi li{
        height: 30px;
        width: 110px;
    }
    #navi a{
        height: 30px;
        width: 110px;
        line-height: 30px;
    }
}
@media (max-width:480px){
    .header{
        height: 60px;
    }
    #header_top{
        height: 60px;
    }
    #header_logo{
        height: 60px;
        width: 100%;
    }
    #header_logo a{
        height: 60px;
        width: 100%;
        font-size: 18px;
    }
    #header_logo img{
        height: 40px;
        margin: 0 10px;
    }
    #header_contact{
        display: none;
    }
    #navi{
        display: none;
    }
/*-------------スマホ用ナビ-------------*/
    .SMPnavi{
        display: block;
    }
    .menu-btn {
        position: fixed;
        top: 60px;
        right: 0px;
        display: flex;
        height: 40px;
        width: 50px;
        border-bottom-left-radius: 15px;
        justify-content: center;
        align-items: center;
        z-index: 9999;
        background-color: #005CAC;
        box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.25);
    }
    .menu-btn span,
    .menu-btn span:before,
    .menu-btn span:after {
        content: '';
        display: block;
        height: 3px;
        width: 25px;
        border-radius: 3px;
        background-color: #ffffff;
        position: absolute;
    }
    .menu-btn span:before {
        bottom: 8px;
    }
    .menu-btn span:after {
        top: 8px;
    }
    #menu-btn-check:checked ~ .menu-btn span {
        background-color: rgba(255, 255, 255, 0);/*メニューオープン時は真ん中の線を透明にする*/
    }
    #menu-btn-check:checked ~ .menu-btn span::before {
        bottom: 0;
        transform: rotate(45deg);
    }
    #menu-btn-check:checked ~ .menu-btn span::after {
        top: 0;
        transform: rotate(-45deg);
    }
    #menu-btn-check {
        display: none;/*元のチェックボックスを消す*/
    }
    .menu-content {
        width: 100%;
        height: 270px;
        position: fixed;
        top: 60;
        left: 100%;/*leftの値を変更してメニューを画面外へ*/
        z-index: 9990;
        background-color: rgba(0, 92, 172, 0.85);
        transition: all 0.5s;/*アニメーション設定*/
    }
    #menu-btn-check:checked ~ .menu-content {
        left: 0;/*メニューを画面内へ*/
    }
    .menu-content ul {
        padding: 50px 10px 0;
    }
    .menu-content ul li {
        border-bottom: solid 1px #ffffff;
    }
    .menu-content ul li a {
        display: block;
        width: 100%;
        font-size: 14px;
        box-sizing: border-box;
        color:#ffffff;
        padding: 8px 15px 8px 0;
        position: relative;
    }
    .menu-content ul li a::before {
        content: "";
        width: 7px;
        height: 7px;
        border-top: solid 2px #ffffff;
        border-right: solid 2px #ffffff;
        transform: rotate(45deg);
        position: absolute;
        right: 11px;
        top: 16px;
    }
}


/*--------------------------------------------------------------
　フッター
--------------------------------------------------------------*/
#footer{
    width: 100%;
    margin: 0 auto;
    position: relative;
    border-top: #707070 1px solid;
}
.contact_BTN{
    position: absolute;
    right: 30px;
    top: 30px;
    background-color: white;
    box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.25);
}
.contact_BTN :hover{
    background-color: #F4EAEA;
    transition: 0.5s;
}
.contact_BTN a{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    width: 250px;
    color: #9C1F43;
    font-weight: bold;
}
.contact_BTN img{
    height: 20px;
    margin-right: 10px;
}
#footer_left{
    margin: 30px 70px;
    padding-right: 40px;
    float: left;
    border-right: 1px solid #707070;
}
a.f_link{
    display: inline-block;
    color: #1c2956;
    font-size: 12px;
    line-height: 1.3;
    padding-left: 1.1em;
    margin-top: 2px;
    position: relative;
}
a.f_link::before{
    content: "";
    position: absolute;
    top: 4px;
    left: 3px;
    width: 4px;
    height: 4px;
    border-top: 2px solid #1c2956;
    border-right: 2px solid #1c2956;
    transform: rotate(45deg);
}
a.f_link:hover{
    text-decoration: underline;
}
.f_logo_warp{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}
.f_logo_warp img{
    height: 90px;
}
.f_logo_warp .recaco{
    width: 45%;
    max-width: 173px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}
.f_logo_warp .recaco img{
    max-width: 100%;
    height: auto;
}
.f_company{
    font-size: 2em;
    font-weight: bold;
    white-space: nowrap;
}
.f_address{
    font-size: 0.8em;
    font-style: normal;
}
.f_address a.f_link{
    padding-left: 2px;
}
.f_address a.f_link::before{
    display: none;
}
.f_tel{
    font-size: 2.4em;
    font-weight: bold;
    color: #005CAC;
    white-space: nowrap;
}
#footer_right{
    padding: 50px 0 0;
}
#footer_right li{
    padding: 0.2em 0;
}
#footer_right li :hover{
    opacity: 0.6;
    transition: 0.5s;
}
#footer_right a{
    color: black;
    font-weight: bold;
    font-size: 1em;
}
.footer_bnr{
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 3em;
    transform: translateX(-1em);
}
.footer_bnr .bnr{
    display: inline-block;
}
.footer_bnr .bnr img{
    height: 40px;
    object-fit: contain;
}
.mark{
    display: inline-block;
    vertical-align: middle;
    color: #9C1F43;
    line-height: 1;
    width: 0.6em;
    height: 0.6em;
    border: 0.2em solid currentColor;
    border-left: 0;
    border-bottom: 0;
    box-sizing: border-box;
    transform: translateX(-150%) rotate(45deg);
}
#footer_copyright{
    clear: both;
    widows: 100%;
    padding: 5px;
    color: white;
    background-color: #9C1F43;
    text-align: center;
    font-size: 0.6em;
    font-weight: 300;
}

/*--TOPへ--*/
#pagetop{
    z-index: 9999;
    position: fixed;
    display: block;
    right: 30px;
    bottom: 50px;
}
#pagetop a{
    display: inline-block;
    height: 80px;
    width: 80px;
    border-radius: 40px;
    background-color: #9C1F43;
    text-align: center;
}
#pagetop :hover{
    opacity: 0.85;
    transition: 0.5s;
}
#pagetop span{
    display: inline-block;
    vertical-align: middle;
    color: white;
    line-height: 1;
    width: 1em;
    height: 1em;
    border: 0.1em solid currentColor;
    border-left: 0;
    border-bottom: 0;
    box-sizing: border-box;
    transform: translateY(25%) rotate(-45deg);
    margin: 15px 0 5px;
}
#pagetop p{
    color: white;
    font-weight: bold;
    font-size: 16px;
}

@media (max-width:1000px) {
    .contact_BTN{
        position: absolute;
        right: 30px;
        top: 20px;
    }
    #footer_left{
        margin: 30px 40px;
        padding-right: 0;
        padding-bottom: 30px;
        float: none;
        border-right: none;
        border-bottom: 1px solid #707070;
    }
    .f_logo_warp{
        width: 400px;
    }
    #footer_right{
        padding: 0 ;
        margin: 0 0 40px 100px;
    }
    #footer_right ul{
        display: flex;
    }
    #footer_right li{
        margin-right: 3em;
        white-space: normal;
    }
    .footer_bnr{
        margin-top: 2em;
    }
}
@media screen and (max-width:730px) {
    .contact_BTN{
        position: absolute;
        margin: 0 auto;
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
        height: 40px;
        width: 90%;
        background-color: #F4EAEA;
    }
    .contact_BTN a{
        margin: 0 auto;
        height: 40px;
        width: 100%;
    }
    #footer_left{
        text-align: center;
        margin: 20px;
        padding-top: 60px;
    }
    .f_logo_warp{
        margin: 0 auto 10px;
    }
}
@media (max-width:600px){
    /*.contact_BTN a{
        height: 40px;
        width: 180px;
    }*/
    /*#footer_left{
        margin: 20px 30px;
        padding-bottom: 20px;
    }*/
    .f_logo_warp img{
        height: 80px;
    }
    .f_logo_warp .recaco a{
        font-size: 11px;
        word-break: break-all;
    }
    .f_logo_warp .recaco a::before{
        top: 4px;
    }
    #footer_right{
        padding: 0 ;
        margin: 0 0 30px 30px;
    }
    .footer_bnr .bnr img{
        height: 30px;
    }
    #pagetop{
        right: 20px;
        bottom: 40px;
    }
    #pagetop a{
        height: 60px;
        width: 60px;
        border-radius: 30px;
    }
    #pagetop span{
        margin: 10px 0 3px;
    }
    #pagetop p{
        font-size: 14px;
    }
}
@media (max-width:480px){
    .f_logo_warp{
        width: auto;
    }
    #footer_right ul{
        flex-flow: column;
    }
    #footer_right li {
        width: 90%;
        padding: 0.5em 0;
        border-bottom: dashed 1px #B9B9B9;
    }
    #footer_right li a{
        display: block;
        width: 100%;
    }
    .f_tel{
        font-size: 2.0em;
    }
}

