@charset "UTF-8";

/* ----------------------------------------------------------------------------------------------------
*  基本情報
* --------------------------------------------------------------------------------------------------*/

html,body{	height:100%;position: relative;}
html{
    font-size: 62.5%;
}
body{
    min-width: 1150px;
}
body, h1, h2, h3, h4, h5, h6, p, address,
ul, ol, li, dl, dt, dd,
table, th, td, img, form {
	margin: 0;
	padding: 0;
	border: none;
	line-height: 100%;
	list-style-type: none;
	font-style: normal;
	font-weight: normal;
	font-family:"メイリオ",Meiryo,"Hiragino Kaku Gothic Pro","ヒラギノ角ゴ Pro W3","ＭＳ Ｐゴシック",Arial,Verdana,sans-serif;
	text-align: left;
	color:#282828;
    box-sizing: border-box;
    font-size: 1.6rem;
}
a{
    text-decoration: none;
    color: #282828;
}
a:hover{
    text-decoration: underline;
}
a:focus,
span:focus,
div:focus,
button:focus{
    outline: none;
}
a,
a img ,
button,
input[type="submit"]{
    transition: opacity 0.3s ease-out;
}
a:hover,
a:hover img,
button:hover,
input[type="submit"]:hover{
    opacity: 0.7;
    cursor: pointer;
}
p{
    line-height: 1.8;
}
.box{
    display: flex;
    box-sizing: border-box;
}
figure{
    margin: 0;
}
.sp{
    display: none !important;
}
.sp_nav{
    display: none;
}
img{
    -webkit-backface-visibility: hidden;
    vertical-align: bottom;
}
.fadein{
    visibility: hidden;
}
main{
    padding-top: 100px;
    display: block;
}
@media screen and (max-width: 768px) {
    html {
        font-size: 2vw; 
    } 
}

/* ----------------------------------------------------------------------------------------------------
*  header
* --------------------------------------------------------------------------------------------------*/
header{
    border-bottom: 1px solid #d1d4d3;
    position: fixed;
    width: 100%;
    z-index: 100;
    background: #fff;
}
header .inner{
    max-width: 1120px;
    margin: 0 auto;
    align-items: center;
    height: 100px;
}
header .inner #logo{
    margin-right: auto;
}
header .inner #h_nav_area{
    width: 77%;
}
header .inner #h_nav_area nav ul li{
    width: 18.75%;
    text-align: center;
}
header .inner #h_nav_area nav ul li:last-child{
    width: 25%;
}
header .inner #h_nav_area nav ul li:first-child.act a{
    color: #000;
}
header .inner #h_nav_area nav ul li a{
    padding: 1rem;
    font-family: "Noto Sans JP";
    transition: 0.5s ease-out;
    font-size: 1.7rem;
    text-align: center;
    letter-spacing: 0;
    font-weight: bold;
}
header .inner #h_nav_area nav ul li a:hover,
header .inner #h_nav_area nav ul li.act a:hover{
    color: #d1112a;
    text-decoration: none;
    opacity: 1;
}
header .inner #h_nav_area nav ul li.act a{
    color: #d1112a;
}
#index header .inner #logo .logo{
    display: none;
}
body:not(#index) header .inner #logo h1{
    display: none;
}

/* ----------------------------------------------------------------------------------------------------
*  footer
* --------------------------------------------------------------------------------------------------*/
footer{
    position: relative;
    border-top: 5px solid #d1112a;
}
#pagetop{
    position: fixed;
    right: 6%;
    bottom:50px;
    width: 78px;
    height: 78px;
    z-index: 100;
    display: none;
}

footer .inner{
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 0 15px;
}
footer .inner > .box{
    margin-bottom: 20px;
}
footer .inner > .box:nth-child(2){
    margin-bottom: 10px;
}
footer .inner .box{
    align-items: center;
}
footer .inner .logo{
    margin-right: auto;
    align-items: baseline;
}
footer .inner .logo p{
    font-size: 1.4rem;
    color: #666;
    margin-left: 10px;
}
footer .inner nav ul li{
    padding: 10px;
    width: 14rem;
    position: relative;
    text-align: center;
}
footer .inner nav ul li a{
    font-family: "Noto Sans JP";
    font-size: 1.4rem;
    font-weight: bold;
    transition: 0.5s ease-out;
}
footer .inner nav ul li.act a{
    color: #d1112a;
}
footer .inner nav ul li:first-child.act a{
    color: #000;
}
footer .inner nav ul li a:hover,
footer .inner nav ul li.act a:hover{
    color: #d1112a;
    text-decoration: none;
    opacity: 1;
}
footer .inner nav ul li:after{
    border-left: 1px solid #999;
    width: 1px;
    height: 30px;
    content: "";
    position: absolute;
    transform: rotate(20deg);
    right: -2%;
    top:10%;
}
footer .inner .sub{
    margin-right: 20px;
}
footer .inner .sub li{
    padding: 0 10px;
    border-right: 1px solid #666;
}
footer .inner .sub li:first-child{
    padding-left: 0;
}
footer .inner .sub li:last-child{
    padding-right: 45px;
    background: url(../images/common/icon_infor.png) no-repeat 82% center;
}
footer .inner .sub li a{
    color: #666;
    font-size: 1.4rem;
}
footer .inner .sns li{
    margin-right: 15px;
}
footer .inner .address{
    font-size: 1.4rem;
    color: #666;  
}
footer .inner .address span{
    margin-right: 25px;
}
footer .inner .address a{
    color: #666;
}
footer .copy{
    background: #d1112a;
    color: #fff;
    font-size: 1.4rem;
    text-align: center;
}

@media (min-width: 767px) {
    a[href*="tel:"] {
        pointer-events: none;
        cursor: default;
        text-decoration: none;
    }
}

/* ----------------------------------------------------------------------------------------------------
*  sp
* --------------------------------------------------------------------------------------------------*/
@media only screen and (max-width: 768px) {
    body{
        min-width:auto;
        width: 100%;
    -webkit-text-size-adjust: 100%;
    }
    .pc{
        display: none !important;
    }
    .sp{
        display: block !important;
    }
    img{
        width: 100%;
    }
    .fixed {
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
    }
    main{
        padding-top: 10vw;
    }
    header{
        border: none;
        top:0;
    }
    header .inner{
        height: inherit;
        width: 90%;
        margin: 0 auto;
        padding: 5% 0;
    }
    header .inner #logo{
        width: 25%;
    }
    header #h_nav_area{
        width: 100%;
        opacity: 0;
        padding: 0;
        position: fixed;
        top:7.5rem;
        left: 0;
        z-index: 998;
        display: none;
        margin-bottom: 3rem;
        height: 100%;
        overflow-y: auto;
    }
    header.navOpen #h_nav_area {
        opacity: 1;
        display: block;
        width: 100%;
    }
    header. nav{
        width: 100%;
        height: 100%;
    }
    header #h_btn{
        width: 100%;
        height: 100%;
        opacity: 0;
        padding: 3rem 0 5rem;
        position: relative;
        left: 0;
    }
    header.navOpen{
    }
    header.navOpen #h_btn {
        opacity: 1;
        transform: translateY(0);
        transition: transform .3s, opacity 0s;
        display: block;
    }
    header #menu_area {
        position: absolute;
        right: 4%;
        top:15.5%;
        width: 8vw;
        height: 8vw;
        z-index: 999;
    }
    header #menu_area ul{
        width: 100%;
        height: 100%;
    }
    header #menu_area ul li{
        display: inline-block;
        position: relative;
        top:0.8rem;
    }
    header #menu_area ul li,
    header #menu_area ul li:before,
    header #menu_area ul li:after{
        position: absolute;
        height: 2px;/*線の太さ*/
        width: 8vw;/*長さ*/
        border-radius: 3px;
        background: #000;
        display: block;
        content: '';
        cursor: pointer;
        text-indent: -9999px;
        transition: all .4s;
    }
    header #menu_area ul li:before {
        bottom: -1.5rem;
    }
    header #menu_area ul li:after {
        bottom: -3rem;
    }
    header.navOpen #menu_area{
        top:1.3rem;
    }
    header.navOpen #menu_area ul li{
        transform:rotate(-45deg);
        background: #000;
        top:2.2rem;
    }
    header.navOpen #menu_area ul li:before{
        display: none;
    }
    header.navOpen #menu_area ul li:after{
        transform:rotate(-90deg);
        background: #000;
        top:0;
    }
    #cover{
        display: block;
        position: fixed;
        left: 0;
        top: 8%;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 1);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
        z-index: 1;
    }
    #cover.active {
        opacity: 1;
        pointer-events: auto;
    }
    header nav ul.box{
        display: block;
        border-top: 1px dotted #ccc;
    }
    header nav ul li{
        display: block;
        width: 100% !important;
        padding: 0 !important;
    }
    header nav ul li a{
        display: block;
        font-size: 1.6rem;
        font-weight: normal;
        border-bottom: 1px dotted #ccc;
        padding: 3rem 1rem !important;
        text-align: left !important;
    }
    header .sub{
        padding: 5% 1rem;
    }
    header .sub li{
        margin-bottom: 1rem;
    }
    header .sub li a{
        font-size: 1.2rem;
    }
    header .sub li:last-child a{
        padding-right: 1.5rem;
        background: url(../images/common/icon_infor.png) no-repeat 100% center / 15%;
    }
    header .menu_footer{
        border-top: 3px solid #d1112a;
        position: relative;
    }
    .android header .menu_footer{
        padding-bottom: 15%;
    }
    header .menu_footer .inner{
        padding-bottom: 1%;
    }
    header .menu_footer .inner .box{
        align-items: center;
        margin-bottom: 1%;
        align-items: baseline;
    }
    header .menu_footer .inner .box .logo{
        width: 50%;
        margin: 0 22% 5%;
    }
    header .menu_footer .inner .box .logo img{
        width: 40%;
    }
    header .menu_footer .inner .box .logo p{
        color: #666;
        font-size: 1rem;
        margin-left: 5%;
    }
    header .menu_footer .inner .box .sns{
        width: 30%;
        position: absolute;
        right: 2%;
        top:3%;
    }
    header .menu_footer .inner .box .sns li{
        width: 33.33%;
        padding:3%;
    }
    header .menu_footer .inner .address{
        text-align: center;
        color: #666;
        font-size: 1.2rem;
        line-height: 1.2;
    }
    header .menu_footer .inner .address a{
        color: #666;
    }
    header .menu_footer .copy{
        background: #d1112a;
        color: #fff;
        font-size: 1.4rem;
        text-align: center;
    }
    #pagetop{
        bottom:3%;
        right: 3%;
        opacity: 1;
    }
    #pagetop a,
    #pagetop a img{
        opacity: 1;
    }
    #pagetop.none{
        transition: opacity 0.3s ease;
        opacity: 0;
    }
    footer{
        border-top: 3px solid #d1112a;
        margin-top: 15vw;
        position: relative;
        z-index: 0;
    }
    footer .inner{
        padding: 5% 0 2%;
        width: 90%;
        margin: 0 auto;
    }
    footer .inner .box{
        flex-wrap: wrap;
    }
    footer .inner .logo{
        width: 50%;
        margin: 0 22% 5%;
    }
    footer .inner .logo img{
        width: 40%;
    }
    footer .inner .logo p{
        font-size: 1rem;
    }
    footer .inner nav ul li{
        width: 9rem;
        padding: 0.5rem;
    }
    footer .inner nav ul li a{
        font-size: 1rem;
        font-weight: normal;
    }
    footer .inner nav ul li::after {
        height: 15px;
        top:22%;
    }
    footer .inner nav ul li:last-child::after {
        border: none;
    }
    footer .inner .sub{
        margin: 0 auto;
        flex-wrap: nowrap;
    }
    footer .inner .sub li a{
        font-size: 1.2rem;
        width: 100%;
    }
    footer .inner .sub li:last-child{
        padding-right: 8%;
        background-size: 12%;
        width: 11rem;
        background-position: 83% center;
    }
    .ipad footer .inner .sub li:last-child{
        width: 10rem;
    }
    footer .inner .sns{
        position: absolute;
        top:3%;
        right: 2%;
        width: 30%;
    }
    footer .inner .sns li{
        margin-right: 0;
        padding: 4%;
        width: 33.33%;
    }
    footer .inner .address{
        font-size: 1.2rem;
        text-align: center;
        line-height: 1.2;
    }
    footer .copy{
        font-size: 1.2rem;
    }

    @media screen and (orientation: landscape) {
        header #menu_area{
            top:18%;
        }
        #cover{
            top:25%;
        }
        header .menu_footer{
            padding-bottom: 15%;
       }
        footer .inner .sub li:last-child{
            width: 10rem;    
        }
    }
}

/* ----------------------------------------------------------------------------------------------------
    clearfix
------------------------------ */

.cf:after{
  content: ".";
  display: block;
  height: 0;
  font-size:0;
  clear: both;
  visibility:hidden;
}

.cf {display: inline-block;}

/* Hides from IE Mac */
* html .cf {height: 1%;}
.cf {display:block;}
/* End Hack */