@charset "utf-8";
/* CSS Document */


/*ナビゲーションが開いた時スクロールを止める*/

.sp_menu_ov {
    overflow: hidden;
}

.sp_h_in {
    display: flex;
    align-items: center;
}


/*=============================================
ここからスマホ用のナビ
=============================================*/

/*ハンバーガーメニューのみのcss*/

/*.sp_menu{
    height: 45px;
    position: fixed;
    right: 20px;
    top: 12px;
    width: 45px;
    z-index: 150;
    background: #2270b2;
    border-radius: 5px;
    cursor: pointer;
}
.sp_menu.active{
    background: none;
}
.menu__line{
    background: #fff;
    display: block;
    height: 4px;
    position: absolute;
    left: 0;
    right: 0;
    transition:transform .3s;
    width: 90%;
    margin: 0 auto;
    border-radius: 2px;
}
.menu__line.active{
    background: #fff;
}
.menu__line--top{
    top: 18%;
}
.menu__line--center{
    top: 46%;
}
.menu__line--bottom{
    bottom: 15%;
}
.menu__line--top.active{
    top: 48%;
    transform: rotate(45deg);
}
.menu__line--center.active{
    transform:scaleX(0);
}
.menu__line--bottom.active{
    bottom: 42%;
    transform: rotate(135deg);
}
.gnav{
    background: rgba(255,255,255,0.95);
    display: none;
    height: 100%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 140;
    overflow-y: scroll;
}
.gnav_detail{
    height: 100%;
    width: 100%;
    overflow-y: scroll;
}
.gnav__menu{
    margin: 0 0 30px 0;
}
.gnav__menu li a{
    display: block;
    color: #000;
    padding: 9px 0;
    font-size: 1.6rem;
    text-decoration: none;
    transition: .5s;
    border-bottom: 1px dashed #2270b2;
    text-align: center;
}
.gnav__menu li img{
    display: block;
    margin: 0 auto;
}
.sp_nav_top{
    text-align: center;
    display: flex;
    align-items: center;
    height: 70px;
    background: #2270b2;
}
.sp_nav_logo{
    width: 60%;
    margin-right: 6%;
}
.sp_nav_logo img{
    width: 93%;
}
.sp_nav_ads img{
    width: 33px;
}
.sp_nav_ads a{
    display: flex;
    align-items: center;
}
.sp_nav_ads a:not(:last-child){
    margin: 0 15px 0 0;
}
.sp_sub_nav{
    margin-bottom: 10px;
}
.sub_nav_in li{
    width: 48%;
}
.sub_nav_in a{
    text-align: center;
    display: block;
    background: #114b7c;
    color: #fff;
    padding: 7px 0;
    margin: 0 0 10px 0;
    border-radius: 10px;
    font-size: 1.2rem;
}
.sp_nav_time{
    padding: 0 15px;
    font-size: 1.3rem;
    display: flex;
    align-items: baseline;
    line-height: 1.8;
    color: #000;
}
.sp_nav_time:last-child{
    margin-bottom: 30px;
}
.sp_nav_time dt{
    width: 30%;
    background: #114b7c;
    border-radius: 10px;
    color: #fff;
    margin: 0 10px 0 0;
    text-align: center;
}
.sp_nav_time dd{
    width: 70%;
}
.sp_nav_time:not(:last-child){
    margin-bottom: 7px;
}*/


/*フェードインありのヘッダーがついてくるCSS*/

/*=============================================
ここからスマホ用のナビ
=============================================*/

.sp_h_in {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    height: 55px;
    background: #fceced;
    box-shadow: 0 0 10px #000;
    z-index: 5000;
}

.sp_logo {
    flex: 1;
    padding-left: 20px;
}
.sp_logo img{
    height: 35px;
}

.fa-phone-volume {
    font-size: 2.2em;
    color: #56362a;
    transform: rotate(-27deg);
    transition: .5s;
}

.menu_in {
    position: relative;
    width: 62px;
    height: 55px;
    z-index: 100;
    margin-left: 35px;
}


.sp_menu {
    position: absolute;
    width: 35px !important;
    height: 25px !important;
    display: block;
    transition: all .4s;
    box-sizing: border-box;
    z-index: 200;
    top: 15px;
    right: 15px;
}

.sp_menu.active {
    background: none;
    height: 25px;
}

.menu_txt {
    position: absolute;
    top: 85%;
    right: -3px;
}

.menu__line {
    display: inline-block;
    transition: all .4s;
    box-sizing: border-box;
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #56362a;
    border-radius: 4px;
}

.menu__line.active {
    background: #56362a;
}

.menu__line--top {
    top: 0;
}

.menu__line--center {
    top: 44%;
}

.menu__line--bottom {
    bottom: 0;
}

.menu__line--top.active {
    -webkit-transform: translateY(20px) rotate(-315deg);
    transform: translateY(11px) rotate(-315deg);
}

.menu__line--center.active {
    opacity: 0;
}

.menu__line--bottom.active {
    -webkit-transform: translateY(-20px) rotate(315deg);
    transform: translateY(-13px) rotate(315deg);
}

/*.menu__line--top.active{
    -webkit-transform: rotate(-315deg);
    transform: rotate(-315deg);
    top: 11px;
}
.menu__line--center.active{
    opacity: 0;
}
.menu__line--bottom.active{
    -webkit-transform: rotate(315deg);
    transform: rotate(315deg);
    bottom: 12px;
}*/

.gnav {
    background-color: #fceced;
    display: none;
    height: 100%;
    position: fixed;
    top: 55px;
    width: 100%;
    z-index: 140;
    overflow-y: scroll;
    padding-bottom: 40%;
    box-shadow: 0 0 7px;
}

.gnav__boxs {
    height: 100%;
    width: 100%;
    overflow-y: scroll;
}

.gnav__menu {
    margin: 0 0 30px 0;
    padding: 20px 15px 0;
}

.gnav__menu li {
    position: relative;
    border-bottom: 1px solid;
}

.gnav__menu li::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 20px;
    width: 5px;
    height: 5px;
    border-bottom: 1px solid;
    border-right: 1px solid;
    transform: translateY(-50%) rotate(-45deg);
}

.gnav__menu li a {
    display: block;
    color: inherit;
    padding: 13px 0 10px 20px;
    font-size: 1.5rem;
    text-decoration: none;
    transition: .5s;
}

.gnav__menu li a span {
    display: block;
    text-align: center;
    font-size: 1.2rem;
}

/*.sp_sub_nav {
    margin-bottom: 10px;
}

.sub_nav_in li {
    width: 100%;
}

.sub_nav_in a {
    position: relative;
    display: block;
    color: inherit;
    padding: 5px 0 5px 20px;
    margin: 0 0 5px 0;
    border-radius: 5px;
    font-size: 1.5rem;
}

.sub_nav_in a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #56362a;
}

.sp_nav_sns {
    width: 70%;
    margin: 20px auto 0;
}

.sp_nav_sns .fa-facebook-square,
.sp_nav_sns .fa-instagram,
.sp_nav_sns .fa-line,
.sp_nav_sns .fa-youtube {
    font-size: 2.3em;
    color: #56362a;
}*/

.sns_link_sp li:first-child{
    margin-bottom: 10px;
}
.sns_link_sp .sns_btn{
    margin: 0;
    width: 100%;
    font-size: 1.3rem;
    height: 30px;
}

/*=====================================================
追加CSS
=====================================================*/

/*
@keyframes fade_in {
    0% {
        opacity: 0;
        transform: translateX(-100%);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.gnav__menu a {
    transform: translateX(-100%);
    animation-name: fade_in;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}

.gnav__menu li:nth-child(1) a {
    animation-delay: 0.2s;
}

.gnav__menu li:nth-child(2) a {
    animation-delay: .3s;
}

.gnav__menu li:nth-child(3) a {
    animation-delay: .4s;
}

.gnav__menu li:nth-child(4) a {
    animation-delay: .5s;
}

.gnav__menu li:nth-child(5) a {
    animation-delay: .6s;
}

.gnav__menu li:nth-child(6) a {
    animation-delay: .7s;
}

.gnav__menu li:nth-child(7) a {
    animation-delay: .8s;
}

.gnav__menu li:nth-child(8) a {
    animation-delay: .9s;
}
*/

/*=========================
下スライドでヘッダーを隠す
===========================*/

.sp_h_in {
    transition: .5s;
}

header .scrollDown {
    transform: translateY(-110%);
}

header .scrollTop {
    transform: translateY(0);
}



/*=========================
横から開け閉めの場合コメントを消す
===========================*/


.gnav {
    display: block;
    position: fixed;
    top: 55px;
    left: 0;
    width: 250px;
    height: 100%;
    transition: all 0.6s;
    transform: translate(-300px);
    z-index: 1000;
    border-top: none;
    box-shadow: 0 0 7px;
}

.gnav_open {
    transform: translate(0);
}
