@charset "UTF-8";
/*========================================
Re:vite
Date :
Style : principal CSS "header" "footer" "nav"
Filename : principal.css
========================================*/

/*========================================
Header Contents
========================================*/
body {
    --tb-h-height: 60px;
}

.global-header {
    display: flex;
    position: fixed;
    align-items: center;
    z-index: 9999;
    /* margin: 0 calc(50% - 50vw); */
    /* padding: 0 calc(50vw - 50%); */
    width: 100vw;
    background: #F6FBFC;
}
.global-header_b {
    display: flex;
    position: fixed;
    align-items: center;
    z-index: 9999;
    /* margin: 0 calc(50% - 50vw); */
    /* padding: 0 calc(50vw - 50%); */
    width: 100vw;
    background: #fff;
}
.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    width: 100%;
    height: 80px;
    max-width: 1250px;
    padding: 0 30px;
}
.header-icon {
    cursor: pointer;
}
.scroll-bar {
    padding: 0px;
    box-shadow: 0 0 1rem #D8D8D8;
    background: #FFFFFF;
}
.top_menu {
    display: flex;
    /* justify-content: right; */
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
    margin-left: auto;
    height: 80px;
}
.top_item {
    list-style: none;
    padding: 5px 20px 5px 0;
    font-size: clamp(13px, 1.2vw, 16px)
}
.top_link {
    position: relative;
    display: inline-block;
    padding: 20px 0;
    transition: .3s;
    color: #333;
    border-bottom: 3px solid #fff;
    font-family: 'メイリオ',sans-serif;
}
.current {
    box-sizing: border-box;
    border-bottom: 3px solid #1F99B2;
}
.top_link:after {
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 3px;
    content: '';
    transition: .3s;
    transform: translateX(-50%);
    background-color: #1F99B2;
    transform: scale(0);
}
.top_link:hover:after {
    width: 100%;
    transform: scale(1);
}
.top_btn {
    display: block;
    width: 142px;
    height: 44px;
    border: 1px solid #1F99B2;
    color: #fff;
    font-weight: bold;
    background: #1F99B2;
    border-radius: 30px;
    line-height: 44px;
    text-align: center;
    font-size: clamp(13px, 1.2vw, 16px)
}
.top_btn:hover {
    display: block;
    width: 142px;
    height: 44px;
    border: 1px solid #1F99B2;
    color: #1F99B2;
    font-weight: bold;
    background: #fff;
    border-radius: 30px;
    line-height: 44px;
    transition: .4s;
    text-align: center;
    cursor: pointer;
}
.menu_check {
    display: none;
}
.hamburger_btn {
    position: absolute;
    right: 12px;
    top: 50%;
    width: 42px;
    height: 42px;
    background: #1F99B2;
    border-radius: 50%;
    text-align: center;
    line-height: 52px;
    z-index: 999;
    transform: translateY(-50%);
    padding: 0;
}
.hamburger_btn > span {
    position: absolute;
    display: inline-block;
    top: 50%;
    left: 50%;
    width: 21px;
    height: 2px;
    background: #fff;
    transform: translate(-50%, -50%);
    transition: 0.5s all;
}
.hamburger_btn > span::before,
.hamburger_btn > span::after {
    position: absolute;
    content: '';
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 2px;
    background: #fff;
    transition: 0.5s all;
}
.hamburger_btn > span::before {
    top: calc(50% - 7px);
}
.hamburger_btn > span::after {
    top: calc(50% + 7px);
}
#menu_check:checked ~ .hamburger_btn{
    /* background: #fff; */
}
#menu_check:checked ~ .hamburger_btn > span {
    background: rgba(0, 0, 0, 0);
}
#menu_check:checked ~ .hamburger_btn > span::before {
    top: 0;
    /* background: #000; */
    transform: translate(-50%, -50%) rotate(-45deg)
}
#menu_check:checked ~ .hamburger_btn > span::after {
    top: 0;
    /* background: #000; */
    transform: translate(-50%, -50%) rotate(45deg)
}
.mail_btn, .hamburger_btn {
    display: none;
}

@media (max-width: 1200px){
    .global-header {
        display: flex;
        position: fixed;
        align-items: center;
        z-index: 9999;
        /* margin: 0 calc(50% - 50vw); */
        /* padding: 0 calc(50vw - 50%); */
        width: 100vw;
    }
    .header-wrapper {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin: 0 auto;
        width: 90%;
        height: var(--tb-h-height);
    }
    .top_btn {
        display: none!important;
    }
    .top_menu {
        position: fixed;
        top:  var(--tb-h-height);
        right: 0;
        background: #fff;
        height: calc(100vh - var(--tb-h-height));
        width: 100vw;
        flex-direction: column;
        transform: translateX(calc(100% + 10px));
        transition: transform 0.5s ease-out;
        /* box-shadow: -10px 0px 16px -10px #c7c7c7; */
    }
    .top_item {
        padding: 0;
        border-bottom: 1px solid #ccc;
        width: 80%;
        text-align: center;
        box-sizing: content-box;
    }
    .top_item:first-child {
        border-top: 1px solid #ccc;
    }
    .top_link {
        border-bottom: none;
        padding: 25px 0;
        width: 100%;
    }
    .top_link::after {
        display: none;
    }
    .mail_btn {
        display: block;
        width: 48px;
        height: 48px;
        background: #1F99B2;
        border-radius: 50%;
        text-align: center;
        line-height: 52px;
    }
    .mail_btn img {
        width: 22px;
        height: 17px;
    }
    .hamburger_btn {
        display: block;
    }
    #menu_check:checked ~ .top_menu {
        transform: translateX(0);
    }
}
@media (max-width: 767px) {
    .global-header {
        height: 60px;
    }
    .header-wrapper {
        display: flex;
        justify-content: space-between;
        margin: 0 auto;
        width: 90%;
        padding: 0 10px;
    }

    .header-icon {
        width: 150px;
        height: 36px;
        padding: 14px 12px 10px;
    }

}
@media (max-width: 374px) {

}

/*========================================
nav
========================================*/

@media (max-width: 959px){

}
@media (max-width: 767px) {

}
@media (max-width: 374px) {

}

/*========================================
Breadcrumb
========================================*/
@media (max-width: 959px){

}
@media (max-width: 767px) {

}
@media (max-width: 374px) {

}

/*========================================
Top Return
========================================*/
@media (max-width: 959px){

}
@media (max-width: 767px) {

}
@media (max-width: 374px) {

}


/*========================================
Footer Content
========================================*/
.global-footer {
    height: 45px;
    background: #DFF1F4;
    line-height: 45px;
    text-align: center;
    font-size: 0.875rem;
}
.pagetop {
    position: relative;
}
.topreturn {
    position: absolute;
    content: "";
    background-image: url(../images/content/pagetop.png);
    /* background-position: right 15% top 40%; */
    background-repeat: no-repeat;
    background-size: contain;
    width: 60px;
    height: 60px;
    top: -70px;
    right: 8%;
    cursor: pointer;
}
@media (max-width: 959px){

}
@media (max-width: 767px) {
	.global-footer {
        font-size: 0.75rem;
    }
}
@media (max-width: 374px) {

}

