@charset "utf-8";
/* =================================================================================
 Reset
================================================================================= */
html{overflow-y:scroll;}body,h1,h2,h3,h4,h5,h6,p,ul,ol,li,dl,dt,dd,form,figure{margin:0; padding:0;}h1,h2,h3,h4,h5,h6{font-size:100%;}ul,li{list-style:none;}img{border:none; vertical-align:bottom;}
a{color:#16b0e1; text-decoration:none; transition:color .2s;}
a:hover{color:#c6a549;text-decoration:none;}
input[type="text"],input[type="password"],textarea,input[type="email"],input[type="number"],input[type="tel"]{-webkit-appearance:none;height:35px;box-sizing:border-box;padding:5px;border:1px solid #d2ceca;font-size:100%;box-shadow:none;}
select{height:30px;padding:5px;border:1px solid #d2ceca;font-size:100%;box-shadow:none; background-color:#fff !important;}
textarea{resize:vertical;min-height:140px;}
input[type="submit"]{-webkit-appearance:none;}input[type="button"]{border:none; cursor:pointer;}
table{border-collapse:collapse;}th{text-align:left;}
input[type="submit"]{border:none; cursor:pointer; font-size:14px;}input[type="radio"], input[type="checkbox"]{margin:0 5px 0 0; vertical-align:-1px;}
input[type="text"]:focus,textarea:focus,input[type="email"]:focus,input[type="password"]:focus,input[type="number"]:focus,input[type="tel"]:focus{border:1px solid #d00 !important;background-color:#fff;}
input:-ms-input-placeholder{color:#999;}
/* ------- HTML5 ------ */
address,article,aside,figure,footer,header,menu,nav,section,main{display:block;}[hidden], command, datalist, menu[type=context], rp, source{display:none;}

/* =================================================================================
 Layout
================================================================================= */
body{
    min-width:980px;
    font-size:16px;
    font-family: 'Noto Sans JP', sans-serif;
    line-height:1.6;
    background-color:#fff;
    color:#333;
    text-align:left;
    -webkit-text-size-adjust:100%;/*iPhone自動フォント調整機能解除*/
    overflow:hidden;
}

body::after{
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color:#fff; 
    z-index: 9999;
    pointer-events: none;
    opacity: 1;
    transition: opacity .8s ease;
    backface-visibility:hidden;
}

body.fadeout::after{opacity:0;}

body.fadeoutFinish::after{display:none;}

.wrapper{
    width:980px;
    padding:0 10px;
    margin:0 auto;
    box-sizing: border-box;
}

.wrapper::after{
    content:"";
    display:block;
    clear:both;
    height:0;
}


@media only screen and (max-width:640px){
body{
    min-width:360px;
    font-size: 14px;
}

    .wrapper{width: 100%;}
}


/* header
------------------------------------------------------- */
header{
    display: none;
    z-index:50;
    position:fixed;
    top:0;
    width:100%;
    min-width: 980px;
    height:80px;
    background: rgba(255,255,255,0.9);
    box-shadow: 0 0 5px #ccc;
}

header.shrink{
    display: block;
}

.headCnt{
    position:relative;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width:980px;
    margin:0 auto;
    padding: 0 10px;
    box-sizing: border-box;
}

header #logo{
    margin-top: 13px;
}

header #logo > a{
    position: relative;
    display: inline-block;
    height: 54px;
    transition: opacity .2s;
}

header #logo > a:hover{opacity: .8;}

header #logo > a img{height:100%;}

@media only screen and (max-width:640px){
    header{
        min-width: 320px;
        height:60px;
    }

    .headCnt{
        width:100%;
    }

    header #logo{
        margin-top: 12px;
    }

    header #logo > a{
        height: 36px;
    }
}

/* nav ---- */

#mainNav{
    position: relative;
    width: 300px;
    margin-top: -400px;
    padding: 10px 5px;
    background-color: rgba(255,255,255,0.9);
    will-change: transform;
    border-radius: 0 0 10px 10px;
    border: 1px solid #ccc;
    border-top: none;
    box-sizing: border-box;
    box-shadow: 1px 0px 3px -3px #ddd, -3px 0px 3px -3px #ddd, 0px 3px 3px -3px #ddd;
    z-index: 100;
    pointer-events: none;
    opacity: 0;
    transition: opacity .4s linear;
}

.menuActive #mainNav{
    display: block;
    margin-top: 80px;
    pointer-events: auto;
    opacity: 1;
}

#mainNav li{border-bottom: 1px solid #ccc;}
#mainNav li:last-child{border-bottom: 0;}

#mainNav li > a{
    position: relative;
    display: block;
    padding: 5px;
    color: #333;
}

#mainNav li > a:hover{
    color: #16b0e1;
}

@media only screen and (max-width:640px){
    nav{
        display: none;
        position: absolute;
        top: 60px;
        right: 0;
    }

    .menuActive nav{display: block;}

    #mainNav{
        width: 290px;
        margin: 0;
        padding: 5px 10px;
        border-radius: 0 0 0 10px;
        border-right: none;
    }

    .menuActive #mainNav{
        margin-top: 0;
    }

    #mainNav li.long > a {
        letter-spacing: -0.8px;
    }
}

/* menuBtn ---- */
#menuBtn{
    display:block;
    position:absolute;
    top:17px;
    right:calc(50% - 480px);
    width:46px;
    height:46px;
    box-sizing:border-box;
    color:#333;
    cursor:pointer;
    z-index:1;
}

#menuBtn .btnIcon{
    display:block;
    position:absolute;
    top:21px;
    left:0;
    width:100%;
    height:3px;
    background:#333;
    color:#333;
    transition:.2s;
}

#menuBtn .btnIcon::before, #menuBtn .btnIcon::after{
    content:"";
    display:block;
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:3px;
    background:#333;
    transition:.3s;
}

#menuBtn .btnIcon::before{margin-top:-15px;}
#menuBtn .btnIcon::after{margin-top:15px;}
#menuBtn .close{background:transparent;}
#menuBtn .close::before,
#menuBtn .close::after{margin-top:0;}

#menuBtn .close::before{transform:rotate(-45deg);}
#menuBtn .close::after{transform:rotate(-135deg);}

@media only screen and (max-width:640px){
    #menuBtn{
        top:14px;
        right:10px;
        width:32px;
        height:32px;
        font-size:18px;
        letter-spacing: 0;
    }

    #menuBtn .btnIcon{
        top:15px;
    }

    #menuBtn .btnIcon::before{margin-top:-10px;}
    #menuBtn .btnIcon::after{margin-top:10px;}
    #menuBtn .close::before,
    #menuBtn .close::after{margin-top:0;}
}



/* mvArea
------------------------------------------------------- */
.mvArea{
    margin-bottom: 50px;
}

@media only screen and (max-width:640px){
    .mvArea{
        margin-bottom: 30px;
    }
}


/* footer
------------------------------------------------------- */
footer{
    position: relative;
    margin-top: 100px;
    padding: 50px 0 10px;
    background: #333;
    color: #fff;
    z-index: 30;
}

.copyrightTxt{
    margin-top: 40px;
    font-size: 14px;
    text-align: center;
}

@media only screen and (max-width:640px){
    footer{
        margin-top: 60px;
        padding-top: 30px;
    }
}

#scrollTop{
    position: fixed;
    right: 20px;
    bottom: 30px;
    z-index: 500;
    padding-top: 12px;
    color: #c6a549;
    font-size: 14px;
    transition :all ease-in-out .3s;
}

#scrollTop:hover{
    color: #16b0e1;
    cursor: pointer;
}

#scrollTop::before{
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: calc(50% - 8px);
    width: 16px;
    height: 16px;
    border-top: 2px solid #c6a549;
    border-right: 2px solid #c6a549;
    transform: rotate(-45deg);
    transition :all ease-in-out .3s;
}

#scrollTop:hover::before{
    border-color: #16b0e1;
}

@media only screen and (max-width:640px){
    #scrollTop{
        right: 20px;
        bottom: 15px;
    }
}
