@charset "utf-8";

@import url("base.css");

/***************************************************************************
 *
 * COMMON STYLE
 *
 ***************************************************************************/
@font-face {
    font-family: 'Helvetica';
    font-style: normal;
    font-weight: normal;
    src: local('Helvetica'), url('../fonts/HelveticaNeue.ttf') format('ttf');
}

@font-face {
    font-family: 'Baskerville-Bold';
    font-style: normal;
    font-weight: normal;
    src: local('Baskerville-Bold'), url('../fonts/Baskerville-Bold.ttf') format('ttf');
}


@font-face {
    font-family: 'hirakakupro-w6';
    font-style: normal;
    font-weight: normal;
    src: local('hirakakupro-w6'), url('../fonts/hirakakupro-w6.otf') format('otf');
}
body {
    background-color: #FFFFFF;
    font-size: 14px;
    line-height: 150%;
    color: #000000;
    /*max-width: 1600px;*/
    /*margin: 0 auto;*/
    position: relative;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: top;
}
ul {
    list-style: none;
}
.helvetica{
    font-family: 'Helvetica';
}
.baskerville{
    font-family: 'Baskerville-Bold';
}

.clearfix:after{
    display: table;
    content: "";
    clear: both;
}
.inner {
    width: 962px;
    margin: 0 auto;
}

#header{
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    z-index: 999999;
    margin: 0 auto;
    padding: 24px 45px 32px 26px;
    transition: all 0.25s;
}
#header.background{
    background: rgba(0, 0, 0, 0.8);
}
#header .logo{
    float: left;
    margin: -5px 0 0;
}
#header .logo .logo_img{
    display: inline-block;
    vertical-align: middle;
    width: 128px;
}
#header .logo .logo_text{
    display: inline-block;
    vertical-align: middle;
    font-size: 10px;
    color: #fff;
    letter-spacing: 1px;
    margin-left: 21px;
    font-weight: normal;
}

#header .mainMenu{
    float: right;
}
#header .mainMenu ul{
    width: 100%;
    margin-top: 7px;
}
#header .mainMenu ul li{
    float: left;
    margin-left: 30px;
    font-size: 11px;
}
#header .mainMenu ul li a{
    color: #fff;
    text-decoration: none;
    letter-spacing: 1.7px;
    display: block;
    position: relative;
}
#header .mainMenu ul li a:after,
#header .mainMenu ul li.active a:after{
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    border-bottom: 1px solid #fff;
    transition: all 0.25s;
}
#header .mainMenu ul li a:hover:after,
#header .mainMenu ul li.active a:hover:after{
    width: 100%;
}

#footer{
    background: #272727;
    padding: 23px 0 79px;
}
#footer .inner{
    position: relative;
}
#footer .scrolltotop{
    position: absolute;
    right: 0;
    top: -65px;
    width: 85px;
}
#footer .logo .logo_img{
    width: 142px;
    margin-left: 8px;
}
#footer .logo .logo_img,
#footer .logo .copy_right{
    display: inline-block;
    vertical-align: middle;
    color: rgb(255, 255, 255, 0.5);
}
#footer .logo .copy_right{
    font-size: 16px;
    margin-left: 20px;
    margin-top: 4px;
    display: inline-block;
    vertical-align: middle;
}
#footer .logo .copy_right span{
    font-size: 12px;
    display: inline-block;
    vertical-align: top;
    margin-top: 2px;
    margin-left: 5px;
    letter-spacing: 0.8px;
    font-weight: normal;
}
.sp{
    display: none;
}



.areaTitle{
    text-align: center;
    margin-bottom: 100px;
}

.areaTitle span{
    display: inline-block;
    text-align: center;
    font-size: 24px;
    padding-bottom: 10px;
    color: #323232;
    position: relative;
    /*font-family: 'hirakakupro-w6'; */ 
}
.areaTitle span:after{
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: #bb0000;
}

@media(max-width: 768px){
    .pc{
        display: none;
    }
    .sp{
        display: block;
    }
    .inner{
        width: 100%;
        padding: 0 3%;
    }
    body.lock{
        position: fixed;
        overflow: hidden;
        width: 100%;
        height: 100%;
    }
    #header{
        padding: 3%;
        transform: none;
        left: 0;
    }
    #header .logo{
        width: 60%;
        margin: 0;
    }
    #header .logo .logo_img{
        width: 100px;
    }
    #header .logo .logo_text{
        display: none;
    }
    #header .mainMenu{
        float: none;
        width: 70%;
        height: 100%;
        background: rgba(152, 35, 35, 0.8);
        position: fixed;
        top: 0;
        right: -70%;
        z-index: 9991;
        transition: all 0.3s;
        /*display: none;*/
    }
    #header .mainMenu.active{
        right: 0;
    }
    #header .mainMenu ul{
        padding: 50px 0;
    }
    #header .mainMenu ul li{
        float: none;
        display: block;
        text-align: center;
        width: 100%;
        margin: 0 0 10px;
    }
    #header .mainMenu ul li a{
        padding: 10px 0;
    }
    #header .mainMenu ul li a:after, 
    #header .mainMenu ul li.active a:after{
        left: 50%;
        transform: translateX(-50%);
    }
    #header .mainMenu ul li a:hover:after, 
    #header .mainMenu ul li.active a:hover:after{
        width: 100px;
    }


    #nav-icon1 {
        width: 27px;
        position: relative;
        margin: 0 auto;
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        -o-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
        cursor: pointer;
        /*background: #009347;*/
        /* padding: 18px 0; */
        height: 24px;
        z-index: 9992;
        float: right;
    }
    #nav-icon1 span {
        display: block;
        position: absolute;
        height: 1px;
        width: 100%;
        background: #fff;
        opacity: 1;
        left: 0px;
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: .25s ease-in-out;
        -moz-transition: .25s ease-in-out;
        -o-transition: .25s ease-in-out;
        transition: .25s ease-in-out;
    }
    #nav-icon1 span:nth-child(1) {
        top: 7px;
    }
    #nav-icon1 span:nth-child(2) {
        top: 16px;
    }
    #nav-icon1 span:nth-child(3) {
        top: 25px;
    }
    #nav-icon1.open span:nth-child(1) {
        top: 10px;
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        transform: rotate(45deg);
    }
    #nav-icon1.open span:nth-child(2) {
        opacity: 0;
        left: 0px;
    }
    #nav-icon1.open span:nth-child(3) {
        top: 10px;
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }

    

    .areaTitle{
        margin-bottom: 30px;
    }
    .areaTitle span{
        font-size: 20px;
        padding-bottom: 0;
    }


    
    #footer{
        padding: 25px 0;
        text-align: center;
    }
    #footer .logo .logo_img{
        margin-left: 0;
        display: block;
        width: 100%;
    }
    #footer .logo .logo_img img{
        width: 120px;
    }
    #footer .scrolltotop{
        width: 50px;
        top: -50px;
    }
    #footer .logo .copy_right,
    #footer .logo .copy_right span{
        color: rgba(255, 255, 255, 0.5);
    }
    #footer .logo .copy_right span{
        margin-top: 3px;
    }
}

