html,body{
    margin: 0;
    overflow-x : hidden;

}
header img{
    max-width: 100px;
}
a{
    transition: 0.4s;
}
a:hover{
    opacity: 0.7;
}
.sp{
    display: none;
}
.text-center{
    text-align: center;
}
.contents{
    width: 1100px;
    max-width: 100%;
    margin: auto;
}
.site-header{
    background : #d40000;
    color : #fff;
}
.header-inner{
    max-width : 1200px;
    margin : 0 auto;
    padding : 12px 20px;
    display : flex;
    align-items : center;
    justify-content : space-between;
}
.site-logo a{
    color : #fff;
    text-decoration : none;
    font-size : 24px;
    font-weight : bold;
    display : flex;
    align-items : center;
}

/* PCメニュー */
.nav-list{
    list-style : none;
    margin : 0;
    padding : 0;
    display : flex;
    align-items : center;
}
.nav-item{
    position : relative;
    margin-left : 40px;
}
.nav-item:first-child{
    margin-left : 0;
}
.nav-item + .nav-item::before{
    content : "";
    position : absolute;
    left : -27px;
    top : 50%;
    width : 18px;
    height : 18px;
    transform : translateY(-50%);
    background :
        /* 縦・上（白） */
        linear-gradient(#fff,#fff) center top / 2px 6px no-repeat,
        /* 縦・下（白） */
        linear-gradient(#fff,#fff) center bottom / 2px 6px no-repeat,
        /* 横・左（黒） */
        linear-gradient(#000,#000) left center / 6px 2px no-repeat,
        /* 横・右（黒） */
        linear-gradient(#000,#000) right center / 6px 2px no-repeat;
}


.nav-item > a{
    color : #fff;
    text-decoration : none;
    padding : 6px 0;
    display : inline-block;
    font-size: 0.9em;
}

/* 下層メニュー（PC） */
.sub-menu{
    position : absolute;
    top : 100%;
    left : 0;
    background : #b80000;
    min-width : 148px;
    list-style : none;
    margin : 0;
    padding: 0;
    opacity : 0;
    pointer-events : none;
    transition : opacity 0.2s ease;
    font-size: 0.9em;
    z-index : 20;
}
.nav-item:hover > .sub-menu{
    opacity : 1;
    pointer-events : auto;
}
.sub-menu li a{
    color: #fff;
    padding: 6px 10px;
    display: block;
    text-decoration: none;
    border-bottom: 1px solid #ccc;
}
.sub-menu li a:hover{
    background : rgba(255,255,255,0.1);
}

/* ハンバーガー */
.nav-toggle{
    display : none;
    width : 44px;
    height : 44px;
    border : 0;
    background : transparent;
    cursor : pointer;
    border: 1px solid #fff;
}
.nav-toggle-bar{
    width : 22px;
    height : 2px;
    background : #fff;
    margin : 4px auto;
    transition : 0.3s;
    display: block;
}

/* スマホメニュー */
@media (max-width : 768px){
    .sp{
        display: block;
    }
    .pc{
        display: none;
    }
    .site-header{
        width: 100%;
    }
    .site-header.is-fixed{
        position:fixed;
        top:0;
        left:0;
        width:100%;
        z-index:1000;
    }
    .nav-toggle{
        display : block;
    }
    .nav-list{
        position : fixed;
        top : 60px;         /* ヘッダーの下に固定 */
        left : 0;
        width : 100%;
        background : #d40000;
        flex-direction : column;
        max-height : 0;
        overflow : hidden;
        transition : max-height 0.35s ease;
        z-index: 10;
    }
    .global-nav.is-open .nav-list{
        max-height : 500px;
    }
    .nav-item{
        width : 100%;
        margin : 0;
        border-bottom : 1px solid rgba(255,255,255,0.2);
    }
    .nav-item + .nav-item::before{
        content : none;
    }
    .nav-item > a{
        padding : 14px 20px;
        display : block;
    }

    /* スマホ下層メニュー */
    .sub-menu{
        position : static;
        transform : none;
        opacity : 1;
        pointer-events : auto;
        max-height : 0;
        overflow : hidden;
        transition : max-height 0.3s ease;
    }
    .nav-item.is-open > .sub-menu{
        max-height : 300px;
    }
    .sub-menu li a{
        padding: 10px 30px;
        font-size: 0.85em;
        border-bottom: 0;
    }

    /* ハンバーガー × 変形 */
    .global-nav.is-open .nav-toggle-bar:nth-child(1){
        transform : translateY(6px) rotate(45deg);
    }
    .global-nav.is-open .nav-toggle-bar:nth-child(2){
        opacity : 0;
    }
    .global-nav.is-open .nav-toggle-bar:nth-child(3){
        transform : translateY(-6px) rotate(-45deg);
    }
}

/* footer */
footer{
    background-color: #6C6B6C;
    color: #fff;
    padding: 40px 0 15px;
    box-sizing: border-box;
}
footer #footer_contents{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    font-size: 0.9em;
}
.footer-logo img{
    width: 150px;
    max-width: 100%;
}
.footer-left{
    width: 40%;
}
.footer-logo{
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 10px;
}
.footer-company{
    margin-bottom: 8px;
}
.footer-address{
    margin-bottom: 20px;
}
.footer-sns{
    font-weight: bold;
}
.footer-right{
    width: 60%;
    display: flex;
    justify-content: flex-end;
}
.footer-col{
    width: 130px;
    text-align: left;
    margin-left: 20px;
}
.footer-title{
    font-weight: bold;
    margin: 0 0 10px;
    border-bottom: 1px solid #ccc;
}
.footer-col ul{
    margin: 0;
    padding: 0;
    list-style: none;
}
.footer-col ul li{
    margin-bottom: 8px;
}
footer #insta{
    width: 120px;
}
footer #flogo{
    display: block;
    margin: 15px auto 0;
    width: 1100px;
    max-width: 100%;
}
footer #fcopy{
    text-align: right;
    font-size: 0.8em;
    margin: 0 0 10px;
}
@media (max-width : 768px){
    footer{
        padding: 30px 10px 15px;
    }
    footer #footer_contents{
        display: block;
    }
    .footer-left,
    .footer-right{
        width: 100%;
    }
    .footer-col{
        width: 31%;
        margin: 0 1%;
        font-size: 0.8em;
    }
    .footer-company{
        margin-bottom: 0;
    }
    .footer-logo,
    .footer-detail{
        display: inline-block;
        width: 60%;
        vertical-align: top;
        font-size: 0.8em;
    }
    .footer-logo{
        width: 35%;
        margin-right: 2%;
    }
    footer #fcopy{
        font-size: 0.6em;
        margin: 5px 0 5px;
    }
}
}