@charset "UTF-8";
/* header */
#header {
    background: #FFF;
    height: 100px;
    letter-spacing:0.05em;
    line-height: 1.3;
    margin: auto;
    text-align: center;
}
.header {
    font-size: 14px;
    margin: 0 auto;
    max-width: 1200px;
}
.header-left {
    display: inline-block;
    float: left;
    text-align: left;
    vertical-align: middle;
}
.header-left img {
    height: 100px;
    margin-left: 10px;
}
.header-left .header_description {
    display: inline-block;
    line-height: 20px;
    margin: 40px 0 0 20px;
    text-align: left;
    vertical-align: top;
}
.header-right {
    float: right;
    text-align: right;
}
.header-right div {
    align-content: center;
    display: inline-block;
    height: 100px;
    vertical-align: top;
    text-align: center;
}
.header-regist {
    text-align: center;
    text-decoration: none;
}
.header-regist a {
    align-content: center;
    background: linear-gradient(150deg, #d5b783 0%, #9f7547 50%);
    color: #FFF;
    display: block;
    line-height: 22px;
    padding: 28px 25px;
}
.header-mypage {
    position: relative;
}
.header-mypage a {
    align-content: center;
    background: linear-gradient(150deg, #d5b783 0%, #9f7547 50%);
    color: #FFF;
    display: block;
    line-height: 22px;
    padding: 22px 25px 21px;
}
.header-mypage span.new_messages_count {
    width: 20px;
    height: 20px;
    border-radius: 20px;
    background-color: #f44545;
    position: absolute;
    top: 15px;
    right: 25px;
}
.header-stock,
.header-search,
.header-login,
.header-logout {
    margin-right: 20px;
}
.header-stock img,
.header-search img,
.header-mypage img,
.header-login img {
    height: 25px;
    margin-bottom: 10px;
}
.header-stock span,
.header-search span,
.header-mypage span,
.header-login span {
    display: block;
    font-size: 12px;
}
.header-search ul.header-dropmenu a.dropmenu-head {
    text-align: center;
}
.header-search ul.header-dropmenu > li {
    position: relative;
}
.header-search ul.header-dropmenu li ul.search-items {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.header-search ul.header-dropmenu li ul.search-items a {
    display: block;
    line-height: 40px;
    padding-left: 10px;
    text-align: left;
    text-decoration: none;
}
.header-search ul.header-dropmenu li ul {
    visibility: hidden;
    width: 265px;
    list-style: none;
    position: absolute;
    top: 150%;
    z-index: 1001;
}
.header-search ul.header-dropmenu li:hover ul {
    visibility: visible;
}
.header-search ul.header-dropmenu li ul li {
    background: #fff;
    transition: all .2s ease;
}
.header-search ul.header-dropmenu > li:hover {
    border-bottom: none;
}
.header-search ul.header-dropmenu li:hover ul li:hover {
    background: lightblue;
}

/* footer */
#footer {
    background-image: linear-gradient(180deg, rgba(65, 65, 65, 1) 30%, rgba(1, 1, 1, 1) 100%);
    color: #FFF;
    font-size: 14px;
    height: 100px;
    line-height: 1.5em;
    margin: 0 auto;
    padding: 10px 0;
    position: absolute;
    bottom: 0;
    text-align: center;
    width: 100%;
    z-index: 1001;
}
#footer a {
    color: #FFF;
    text-decoration: none;
}
#footer a:hover {
    opacity: 0.7;
    filter: alpha(opacity=70);
    -ms-filter: "alpha(opacity=80)";
    text-decoration: none;
}
#footer div.footer_company {
    gap: 10px;
    text-align: center;
}
#footer div.footer_company div {
    width: 80px;
    height: 80px;
}
.footer_menu li {
    display: inline-block;
    margin: 10px 20px;
}
nav {
    display: none;
}
@media screen and (max-width: 1200px) {
    .header-left .header_description {
        display: none;
    }
}
@media screen and (max-width: 768px) {
    /* header */
    #header {
        height: 50px;
    }
    .header {
        width: inherit;
        margin: 0 0 0 10px;
    }
    .logo {
        float: left;
        padding-left: 0;
        padding-top: 8px;
    }
    .header-left img {
        height: 50px;
        margin: 0;
    }
    .header-left .header_description {
        display: inline-block;
        font-size: 10px;
        line-height: 14px;
        margin: 20px 0 0 0;
    }
    .header-right {
        display: none;
    }

    /* スライドメニュー */
    nav {
        display: block;
    }
    .smp_menu {
        background: #FFF;
        box-sizing: border-box;
        position: fixed;
        top: 0;
        right: -100%; /* 画面外に隠す */
        width: 300px;
        height: 100%;
        transition: right 0.3s ease;
        z-index: 1002;
    }
    .smp_menu.open {
        right: 0;
    }
    .hamburger {
        position: fixed;
        top: 8px;
        right: 20px;
        width: 30px;
        cursor: pointer;
        z-index: 20;
    }
    .hamburger span {
        display: block;
        height: 2px;
        width: 100%;
        background-color: #333;
        margin: 7px 0;
    }
    .hamburger.active span {
        background-color: #FFF;
        transform: translate(-290px);
    }
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }
    .smp_menu_cover.open {
        position: fixed;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        z-index: 1001;
        background: rgba(3,3,3,.5);
        display: block;
    }
    .smp_menu .smp_login {
        background-image: linear-gradient(150deg, rgba(65, 65, 65, 1) 50%, rgba(1, 1, 1, 1) 100%);
        color: #FFF;
        padding: 40px 20px 20px;
    }
    .smp_menu .smp_login p {
        line-height: 20px;
    }
    .smp_menu .smp_login a.regist div {
        background: linear-gradient(150deg, #d5b783 0%, #9f7547 50%);
        border-radius: 5px;
        color: #FFF;
        margin: 20px auto 10px;
        padding: 15px;
    }
    .smp_menu .smp_login a.login div,
    .smp_menu .smp_login a.logout div {
        background: linear-gradient(150deg, #ffffff 0%, #f5f5f5 50%);
        border-radius: 5px;
        color: #202020;
        margin: 20px auto 10px;
        padding: 15px;
    }
    .smp_menu .smp_login a.mypage div {
        background: linear-gradient(150deg, #d5b783 0%, #9f7547 50%);
        border-radius: 5px;
        color: #FFF;
        margin: 20px auto 10px;
        padding: 15px;
    }
    .smp_menu .smp_login a.mypage .smp_mypage {
        position: relative;
    }
    .smp_menu .smp_login a.mypage .smp_mypage span.new_messages_count {
        width: 20px;
        height: 20px;
        border-radius: 20px;
        background-color: #f44545;
        position: absolute;
        right: 25px;
    }
    .smp_menu li {
        border-bottom: 1px solid #d3d3d3;
        text-align: left;
    }
    .smp_menu li a {
        color: #333;
        display: block;
        padding: 20px;
        text-decoration: none;
    }
    .smp_menu li a img {
        padding-right: 10px;
        vertical-align: text-bottom;
        width: 16px;
    }

    /* footer */
    #footer {
        height: fit-content;
    }
    #footer ul {
        margin: 0 auto;
        width: 90%;
    }
    #footer li {
        margin: 5px 10px;
    }
    #footer .footer_company {
        margin-top: 10px;
    }
}
