#header {
    transition: .5s;
    background: #3e3a39;
    height: 130px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    width: 100%;
    -webkit-transition: all .5s linear;
    -o-transition: all .5s linear;
    transition: all .5s linear;
}

#header.hide {
    transform: translateY(-100%);
}

#header .hd_wrap {
    max-width: 1400px;
    margin: auto;
    height: 100%;
    position: relative;
}

#header .hd_wrap .hd_logo {
    width: 270px;
    position: absolute;
    top: 0;
    left: 0;
}

#header .hd_wrap .hd_logo a {
    display: block;
    background: #ff558f;
    text-align: center;
    padding: 47px 10px;
}

#header .hd_wrap .hd_logo a img {
    width: auto;
}

#header .hd_wrap .hd_page_changer {
    position: absolute;
    top: 0;
    left: 270px;
    padding: 20px 20px 0;
}

#header .hd_wrap .hd_page_changer .btns {
    display: table;
    border-left: 1px solid #fff;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    margin: 0;
}

#header .hd_wrap .hd_page_changer .btns li {
    display: table-cell;
    width: 150px;
    vertical-align: middle;
    text-align: center;
    border-right: 1px solid #fff;
}

#header .hd_wrap .hd_page_changer .btns li a {
    color: #fff;
    display: block;
    padding: 10px;
}

#header .hd_wrap .hd_page_changer .btns li a span {
    display: inline-block;
    line-height: 23px;
}

#header .hd_wrap .hd_page_changer .btns .mypage a {
    background: #3e3a39;
    font-size: 14px;
}

#header .hd_wrap .hd_page_changer .btns .regist a {
    background: #9ed400;
    font-size: 14px;
}

#header .hd_wrap .hd_page_changer .btns .mypage a span {
    background: url(../img/base/ui01.png) left center no-repeat;
    padding-left: 23px;
}

#header .hd_wrap .hd_page_changer .btns .regist a span {
    background: url(../img/base/ui02.png) left center no-repeat;
    padding-left: 30px;
}

#header .hd_wrap .hd_nav {
    position: absolute;
    left: 270px;
    bottom: 0;
    padding: 20px;
}

#header .hd_wrap .hd_nav ul {
    margin: 0;
}

#header .hd_wrap .hd_nav ul li {
    display: inline-block;
    margin-right: 20px;
    vertical-align: middle;
}

#header .hd_wrap .hd_nav ul li a {
    color: #fff;
    display: block;
    background: url(../img/base/ui03.png) left center no-repeat;
    padding-left: 15px;
}

#header .hd_wrap .hd_controls {
    position: absolute;
    top: 0;
    right: 0;
    padding-top: 20px;
    padding-right: 10px;
}

#header .hd_wrap .hd_controls .hd_tel {
    padding: 0 15px;
}

#header .hd_wrap .hd_controls .hd_tel,
#header .hd_wrap .hd_controls .hd_action {
    display: inline-block;
    vertical-align: middle;
}

#header .hd_wrap .hd_controls .hd_tel.hd_action a {
    background: #656565;
}

#header .hd_wrap .hd_controls .hd_action a {
    background: #ffb62d;
    color: #fff;
    text-align: center;
    display: block;
    border-radius: 10px;
    padding: 5px 10px;
    width: 270px;
}

#header .hd_wrap .hd_controls .hd_action a span {}

#header .hd_wrap .hd_controls .hd_action a .s {
    font-size: 13px;
}

#header .hd_wrap .hd_controls .hd_action a .m {
    font-size: 23px;
}

#header .hd_wrap #trigger {
    display: none;
}

#header .hd_wrap .sp_page_changer {
    display: none;
}

#loading.hide {
    opacity: 0;
}

#loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: #ff558f;
    background-size: cover;
    z-index: 10000;
    transition: 0.3s;
    opacity: 1;
}

#loading .realtime_bar #load_bar {
    width: 280px;
    margin: 5px auto;
    border: 1px solid #fff;
    border-radius: 30px;
}

#loading .realtime_bar #load_bar span {
    width: 0;
    display: block;
    height: 20px;
    border-radius: 30px;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#cedbe9+0,aac5de+17,6199c7+50,3a84c3+51,419ad6+59,4bb8f0+71,3a8bc2+84,26558b+100;Blue+Gloss */
    background: #cedbe9;
    /* Old browsers */
    background: -moz-linear-gradient(top, #cedbe9 0%, #aac5de 17%, #6199c7 50%, #3a84c3 51%, #419ad6 59%, #4bb8f0 71%, #3a8bc2 84%, #26558b 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #cedbe9 0%, #aac5de 17%, #6199c7 50%, #3a84c3 51%, #419ad6 59%, #4bb8f0 71%, #3a8bc2 84%, #26558b 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #cedbe9 0%, #aac5de 17%, #6199c7 50%, #3a84c3 51%, #419ad6 59%, #4bb8f0 71%, #3a8bc2 84%, #26558b 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#cedbe9', endColorstr='#26558b', GradientType=0);
    /* IE6-9 */
}

#loading .realtime_bar #percent {
    color: #fff;
}

#loading .realtime_bar {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    margin-top: 80px;
    text-align: center;
}

#loading .rotate {
    position: fixed;
    top: 50%;
    left: 0;
    right: 0;
    margin-top: -40px;
    margin: auto;
    width: 80px;
    height: 80px;
    animation: discSpin 1.5s linear infinite;
}

#loaded_contents {
    visibility: hidden;
    height: 0;
    overflow: hidden;
}

#loaded_contents.loaded {
    visibility: visible;
    height: 100%;
}

.hd_logo .hd_sp {
    display: none;
}

@keyframes discSpin {
    0% {
        transform: rotateZ(0deg);
    }
    100% {
        transform: rotateZ(360deg);
    }
}

@media(min-width: 1px) and (max-width: 1100px) {
    #header .hd_wrap .hd_controls .hd_action a {
        width: auto;
    }
}

@media(min-width: 1px) and (max-width: 1000px) {
    .hd_logo {
        display: flex;
    }
    .hd_logo .hd_sp {
        display: block;
    }
    #header .hd_wrap .hd_logo .hd_sp a {
        background: #656565;
        color: #FFF;
        font-weight: bold;
    }
    #header .hd_wrap .hd_logo .hd_sp.pur a {
        background: #ffb62d;
        padding: 16px 10px 24.5px 10px;
    }
    #header .hd_wrap .hd_logo .hd_sp.pur a p {
        font-size: 12px;
    }
    #header .hd_wrap .hd_logo .hd_sp.pur a .big {
        font-size: 20px;
    }
    #header .hd_wrap .hd_logo a,
    #header {
        height: 70px;
    }
    #header .hd_wrap .hd_page_changer {
        display: none;
    }
    #header .hd_wrap .hd_controls {
        display: none;
    }
    #header .hd_wrap .hd_nav {
        position: fixed;
        left: 0;
        right: 0;
        top: 70px;
        width: 100%;
        padding: 20px;
        z-index: 9999;
        background: rgba(0, 0, 0, 0.8);
        bottom: auto;
        display: none;
    }
    #header .hd_wrap .hd_nav ul {
        border-top: 1px solid #fff;
    }
    #header .hd_wrap .hd_nav ul li {
        display: block;
        margin: 0;
        border-bottom: 1px solid #fff;
    }
    #header .hd_wrap .hd_nav ul li a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    #header .hd_wrap .hd_logo {
        width: 100%;
    }
    #header .hd_wrap .hd_logo a {
        padding: 24.5px 10px;
    }
    #header .hd_wrap .hd_logo a img {
        width: 100%;
        max-width: 85px;
    }
    #header .hd_wrap #trigger {
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        padding: 15px;
    }
    #header .hd_wrap #trigger a {
        display: block;
        width: 36px;
    }
    #header .hd_wrap #trigger a img {
        display: none;
    }
    #header .hd_wrap #trigger a img.current {
        display: block;
    }
    #header .hd_wrap .sp_page_changer {
        display: block;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        z-index: 8888;
    }
    #header .hd_wrap .sp_page_changer .btns li {
        float: left;
        width: 50%;
        background: #000;
        border-top: 4px solid #000;
        border-bottom: 4px solid #000;
    }
    #header .hd_wrap .sp_page_changer .btns .mypage {
        border-right: 2px solid #000;
        border-left: 4px solid #000;
    }
    #header .hd_wrap .sp_page_changer .btns .regist {
        border-left: 2px solid #000;
        border-right: 4px solid #000;
    }
    #header .hd_wrap .sp_page_changer .btns .mypage a {
        background: #ffe200;
        display: block;
    }
    #header .hd_wrap .sp_page_changer .btns .regist a {
        background: #9ed400;
        display: block;
    }
    #header .hd_wrap .sp_page_changer .btns li a {
        padding: 10px 0;
    }
    #header .hd_wrap .sp_page_changer .btns li a img {
        display: block;
        max-width: 125px;
        margin: auto;
    }
}

@media (min-width: 1px) and (max-width: 640px) {}