@charset "utf-8";
body {
    overflow-x: hidden!important;
}
img.bgmaximage{
    position: fixed!important;
}
#maincontent {
    position: absolute;
    top: 10px;
    right: 62%;
    z-index: 50;
}
.logo{
    width:347px;
    height:400px;
    display:block;
    background-image:url(../images/logo.png);
    background-image:url(../images/logo8.jpg)\9;
    background-position:top;
    cursor:pointer;
    position:relative;
}
.logo span.hover{
    position: absolute;
    display: block;
    width:347px;
    height:400px;
    background-image:url(../images/logo.png);
    background-image:url(../images/logo8.jpg)\9;
    background-position:bottom;
}


@media screen and (max-width: 1280px) {
    body {
        width: 100%;
        -webkit-text-size-adjust: 100%!important;
        background: url(../images/bg.jpg) repeat top left;
        -webkit-background-size: 128px;
        background-size: 128px;
        overflow: hidden;
    }
    img.bgmaximage{
        position: absolute!important;
        width: 100%!important;
        height: auto!important;
        top: 10%!important;
        left: auto!important;
        right: 0;
    }
    #maincontent{
        position: relative;
        left: 10px;
        right: auto;
    }
    .logo{
        width: 17%;
        height: 0;
        padding-bottom: 20%;
        background-repeat: no-repeat;
        -webkit-background-size: 100% auto;
        background-size: 100% auto;
    }
    .logo span.hover{
        width: 100%;
        height: 98%;
        background-size: cover;
        -webkit-background-size: cover;
        cursor: pointer;
    }
}


/*--------------------------------------------------------
★レスポンシブ■スマホ表示切替ボタン
--------------------------------------------------------*/
@media screen and (min-width: 481px) {
    .pc_none{
        display: none;
    }
}
@media screen and (max-width: 480px) {
    li a#btnSP{
        display: none;
    }
    li a#btnPC{
        position: fixed;
        display: block;
        width: 30%;
        height: auto;
        z-index: 100;
        font-size: 12px;
        padding: 8px 2px;
        border-radius:8px;
        background: #ebebd8;
        box-shadow: 3px 3px 1px rgba(0,0,0,0.2);
        text-align: center;
        color: #a68043;
        text-decoration: none;
        bottom: 12px;
        left: 12px;
        z-index: 99999999!important;
        border: 1px solid #a68043;
    }
}
@media screen and (min-width: 481px) {
    #switch{
        display: none;
        height: 0;
    }
    li a#btnSP{
        display: none;
    }
    li a#btnPC{
        display: none;
    }
}

@media screen and (min-width:1021px) {
    #switch{
        display: block;
        height: auto;
    }
    li a#btnPC{
        display: none;
    }
    li a#btnSP{
        position: fixed;
        display: block!important;
        width: 300px;
        height: auto;
        z-index: 100;
        font-size: 24px;
        padding: 8px;
        text-align: center;
        border-radius: 22px;
        background: #a68043;
        box-shadow: 3px 3px 1px rgba(0,0,0,0.2);
        color: #ebebd8;
        text-decoration: none;
        bottom: 30px;
        right: 120px;
        z-index: 99999999!important;
    }
}
@media screen and (min-width: 1023px) {
    #switch{
        display: none;
        height: 0;
    }
    li a#btnSP{
        display: none;
    }
    li a#btnPC{
        display: none;
    }
}

@media screen and (max-width: 480px) {
    body{
        width: 100%;
        /*background: url(../images/sp_background.jpg) no-repeat right 33% bottom;
        -webkit-background-size: cover;
        background-size: cover;*/
    }
    #maincontent{
        position: relative;
        display: block;
        width: 92%;
        height: auto;
        left: auto;
        right: auto;
        margin: 0 auto;
        z-index: 1;
    }
    .logo{
        width: 44%;
        height: 0;
        padding-bottom: 50%;
        background-repeat: no-repeat;
        -webkit-background-size: 100% auto;
        background-size: 100% auto;
    }
    .logo span.hover{
        position: absolute;
        display: block;
        width: 40%;
        height: 0;
        padding-bottom: 49%;
    }
    img.bgmaximage{
        display: none!important;
    }
    img.sp_bg{
        position: absolute;
        display: block;
        width: 100%;
        height: auto;
        left: 0;
        right: 0;
        bottom: 0;
        margin: 0 auto;
        z-index: -1;
    }
}
