@charset "utf-8";
/* ---------------------------------------------------------
Author's styles
---------------------------------------------------------*/
html{
    box-sizing: border-box;
}
html,body{
height:100%;
}
body{
    color: #333;
    font-family: Roboto,Arial,Helvetica,"メイリオ",sans-serif;
    font-size: 16px;
    /*    font-size: 1.2rem;*/
    line-height:1.6;
}
a:link,
a:visited{
text-decoration: none;
}
a img:hover, a:focus {
    text-decoration:none;
    filter:alpha(opacity=80)!important;
    -moz-opacity: 0.8!important;
    opacity: 0.8!important;
}

/* ---------------------------------------------------------
wrap
---------------------------------------------------------*/
#wrap{
    position: relative;
    height:auto !important; /* IE6対策 */
    height: 100%; /* IE6対策 */
    min-height: 100%;
    width:100%;
}
main{
    display: block;
    width:100%;
}
.contents{
    position: relative;
    display: block;
    max-width: 984px;
    width:94%;
    margin: 0 auto;
}

article{
    margin-top: 70px!important;
}
@media screen and (max-width: 1024px) {

}
@media screen and (max-width: 750px) {
    article{
        margin-top: 45px!important;
    }
}

/* ---------------------------------------------------------
header
---------------------------------------------------------*/
header{
    position: fixed;
    top: 0;
    background: #333;
    width: 100%;
/*    height: 97px;*/
/*    padding: 20px 0 25px;*/
    z-index: 10;
}
header:after{
    content: "";
    position: absolute;
    bottom: 5px;
    width: 100%;
    display: block;
    border-bottom: 1px solid #c6973b;
}
#headerInner{
    display: block;
    max-width: 984px;
    width:94%;
    margin: 0 auto;
}
#headerInner dl{
    display: block;
    width: 100%;
    font-size: 0;
    margin: 20px 0;
}
#headerInner dt,
#headerInner dd{
    display: inline-block;
    vertical-align: bottom;
}
#headerInner dt{
    width: 27.0%;
}
#headerInner dd{
    width: 73.0%;
}


/*-- logo --*/
#headerInner h1{
    z-index: 1000;
}
#headerInner h1 a img {
    width: 100%;
    max-width: 262px;
    z-index: 1000;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
}

/*-- fixed --*/
header.fixed,
.fixed #headerInner a img{
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
}
header.fixed{
/*    height: 73px;*/
/*    padding-top: 15px;*/
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
}




.fixed #headerInner dl{
    margin: 10px 0 15px;
}
.fixed #headerInner img{
    max-width: 170px;
/*    max-width: 196px;*/
}

/*-- スマホ --*/
#headerInner img.spView{
    display:none;
}

@media screen and (max-width:750px) {
    #headerInner dt,
    #headerInner dd{
        display: block;
        width: 100%;
        vertical-align: middle;
    }
    #headerInner h1{
        margin: auto;
        text-align: center;
        max-width: 196px;
    }

    #headerInner img.fView{
        display: none;
    }
    #headerInner img.spView{
        display: block;
    }

}

/*フェードイン*/
.fadein {
    opacity: 0;
    transform: translateY(40px);
}
.fadein.is-active {
    opacity: 1;
    transition-duration: 0.7s;
    transition-property: all;
    transform: translateY(0);
}


/* ---------------------------------------------------------
other title
---------------------------------------------------------*/
.titleBg{
    box-sizing: border-box;
    background: #fcf8f0;
/*    height: 270px;*/
    padding: 60px 0 65px;
    margin-top: 96px;
}
.titleBg h1,
#access h1,
#access h3{
    font-family :YuMincho,'Yu Mincho', serif;
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    line-height: 1.4;
}
.titleBg h1:after{
    content: "";
    display: block;
    border-bottom: 2px solid #c6973b;
    width: 100px;
    padding-bottom: 20px;
    margin: 0 auto 25px;
}
.titleBg h2,
#access h1{
    width: 94%;
    text-align: center;
    line-height: 2.0;
    margin: 0 auto;
}


/*-- googleMap --*/
.googleMap{
    position: relative;
    padding-bottom: 30%;
    height: 0;
    overflow: hidden;
}
.googleMap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

/*-- access --*/
#access{
    background: url(../images/accessBg.jpg);
    padding: 60px 0 75px;
}
.accessInner{
    max-width: 910px;
    width: 94%;
    margin: 0 auto;
}
#access h1{
    font-size: 30px;
}
#access h2{
    text-align: center;
    font-size: 18px;
    margin-bottom: 40px;
}
#access h3{
    text-align: left;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}
#access dl{
    display: table;
    width: 100%;
    font-size: 0;
}
#access dt,
#access dd{
    display: table-cell;
    width: 50%;
    font-size: 16px;
}
.accessLine{
    box-sizing: border-box;
    border-left: 2px solid #ccc;
    padding-left: 17px;
    margin-bottom: 40px;
}
#contactTel .freeDial,
#access .freeDial,
#access .foot_freeDial{
    text-align: center;
    font-size: 54px;
    font-weight: bold;
}
#access .foot_freeDial{
    text-align: left;
    padding-left: 0;
    line-height: 0.9;
}
#contactTel .freeDial span:before,
#access .freeDial span:before,
#access .foot_freeDial span:before{
    content: "";
    position: relative;
    top: -3px;
    background: url(../../contact/images/icon_free.png) no-repeat;
    display: inline-block;
    width: 57px;
    height: 32px;
    margin-right: 10px;
}
#access .accessMail a:link,
#access .accessMail a:visited{
    font-family: "Yu Mincho",YuMincho,"Hiragino Mincho ProN",HGS明朝E,メイリオ,Meiryo,serif;
    display: block;
    width: 90%;
    background: #c6973b;
    color: #fff;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    padding: 15px 0;
}
#access .accessMail a:before{
    content: "";
    display: inline-block;
    position: relative;
    top: 3px;
    background: url(../images/icon_mail.png)no-repeat;
    width: 32px;
    height: 23px;
    margin-right: 10px;
}
#access .accessMail a:hover,
#access .accessMail a:active{
    opacity: 0.8;
}

@media screen and (max-width:750px) {
    .titleBg{
        margin-top: 80px;
        padding: 30px 0 10px;
    }
    .titleBg h1{
        font-size: 26px;
    }
    .titleBg h1:after{
        padding-bottom: 10px;
    }
    .titleBg h2{
        display: none;
    }
    #access h1{
        font-size: 26px;
    }
    #access h3{
        font-size: 20px;
    }
    
    #contactTel .freeDial .tel a:link,
    #access .freeDial .tel a:link,
    #access .foot_freeDial .tel a:link,
    #contactTel .freeDial .tel a:visited,
    #access .freeDial .tel a:visited,
    #access .foot_freeDial .tel a:visited{
        color: #333;
        font-size: 40px;
        display: inline-block;
        border: none;
        width: auto;
        line-height: 1.4;
    }
    .googleMap {
        padding-bottom: 84%;
    }
    #access dl{
        display: block;
    }
    #access dt,
    #access dd{
        display: block;
        width: 100%;
    }
}

/*-- footer --*/
footer{
    background: #333;
    padding: 40px 0 25px;
}
footer a:link,
footer a:visited{
    display: block;
    width: 200px;
    text-decoration: underline;
    text-align: center;
    font-size: 14px;
    line-height: 2.0;
    color: #999;
    margin: 0 auto 10px;
}
footer a:hover,
footer a:active{
    color: #c6973b;
}
footer img{
    display: block;
    max-width: 61px;
    width: auto;
    margin: 0 auto 40px;
}
.copy{
    text-align: center;
    color: #999;
    font-size: 14px;
}

/*-- 共通でつかうもの --*/
.mb40{
    margin-bottom: 40px;
}
.mb20{
    margin-bottom: 20px;
}
.mt10{
    margin-top: 10px;
}
.fontS{
    font-size: 14px;
}
.sp_img img{
    width: 100%;
    height: auto;
    display: block;
}
@media screen and (max-width:750px) {
#aboutMain .sp_img img,
.sp_img img{
    object-fit: cover;
    width: 100%;
/*    height: 360px;*/
}
    footer .tel a:link{
        color: #333;
    }
    #access .accessMail a:link,
    #access .accessMail a:visited{
        margin: 0 auto;
    }
}

/* 404error */
#errorBox{
    text-align: center;
    margin: 240px 0 180px;
}
#errorBox h1{
    font-size: 40px;
    font-weight: bold;
}
#errorBox h2{
    font-size: 20px;
}
#errorBox p{
    margin: 30px 0;
    font-size: 16px;
}
#errorBox p a:link,
#errorBox p a:visited{
    background: #333;
    color: #fff;
    padding: 0.7em 1.0em;
}
#errorBox p a:hover,
#errorBox p a:active{
    opacity: 0.8;
}
@media screen and (max-width:750px) {
    #errorBox{
        margin: 120px auto 100px;
        padding: 0 2.5%;
    }
    #errorBox h1{
        font-size: 36px;
    }
    #errorBox h2{
        font-size: 18px;
    }
}




