@import url(./styles.css);

/* シングルページの固定ヘッダー用CSS */
@media screen and (min-width: 750px) {
    .ly_header_inner {
        height: 90px;
        background-color: var(--red);
        padding-top: 0;
        opacity: 1;
        z-index: 10000;

        animation: none;
    }

    .el_header_logo {
        opacity: 1;
    }
    
}

/* =========================================== */
/* メイン */

/* 包丁トップイメージ */
.el_content_image_wrapper {
    width: 100%;
    height: 40vh;
    margin-top: 50px;
    position: relative;
}

.el_content_image {
    background-image: url(../images/hocho_topimage.webp);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
}

.el_content_logo {
    height: 100%;
    width: 17vh;
}

.el_content_logo {
    background-image: url(../images/hocho_top_logo.svg);
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    top: 0;
    right: 0;
}

/* PCタブレット用メディアクエリ */
@media screen and (min-width: 750px){
    /* 包丁トップイメージ */
    .el_content_image_wrapper {
        width: 100%;
        height: 40vh;
        margin-top: 90px;
    }
}

/* =========================================== */
/* トップイメージ下のメニュー */
.el_topmenu {
    width: 100%;
    display: block;
}

.el_topmenu ul {
    width: 100%;
    display: flex;
}

.el_topmenu li {
    transition: all .3s;
    flex: 1;
}

.el_topmenu li a {
    display: block;
    font-weight: 500;
    font-size: 1em;
    width: 100%;
    height: 100px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid var(--bg-color-mid);
    border-left: 1px solid var(--bg-color-mid);
    box-sizing: border-box;
}

.el_topmenu li a:hover {
    background-color: var(--bg-color-right);
}

.el_topmenu ul li:hover {
    font-size: 1.2em;
}

.bottomline {
    border-bottom: 1px solid var(--bg-color-mid);
}

.menu_icon {
    display: flex;
    flex-direction: column;
}

.menu_icon::before {
    content: "";
    background-size: cover;
    background-repeat: no-repeat;
    width: 45px;
    height: 45px;
    margin-bottom: 5px;
}

.menu_icon.icon01::before {
    background-image: url(../images/item_hocho_icon.svg);
}

.menu_icon.icon02::before {
    background-image: url(../images/item_knife_icon.svg);
}

.menu_icon.icon03::before {
    background-image: url(../images/item_kuwa_icon.svg);
}

.menu_icon.icon04::before {
    background-image: url(../images/item_tresure_icon.svg);
}

/* PCタブレット用メディアクエリ */
@media screen and (min-width: 750px){
    /* 包丁トップイメージ */
    .el_topmenu {
        display: flex;
    }

    .el_topmenu li {
        flex: 1;
    }

    .el_topmenu li a {
        border-bottom: 1px solid var(--bg-color-mid);
    }

    .bottomline {
        border-bottom: none;
    }
    
}

/* =========================================== */
/* メインカラム */

.ly_main_wrapper {
    margin-top: 10vw;
}

.ly_itemsbox {
    padding: 5vw 2vw 85px;
}

.el_item_topname {
    font-weight: 900;
    color: var(--grey);
    font-size: 3em;
    margin-top: 50px;
}

/* グリッドデザイン */
.ly_itembox_wrapper {
    display: grid;
    justify-items: center;
    grid-template-columns: 1fr;
    row-gap: 3vw;
    margin-top: 40px;
}

@media screen and (min-width: 750px){
    /* グリッドデザイン */
    .ly_itembox_wrapper {
        display: grid;
        justify-items: center;
        grid-template-columns: 1fr 1fr;
        row-gap: 2vw;
        column-gap: 2vw;
        margin-top: 40px;
    }
}

/* ========================= */
/* ボックス単体のデザイン */

.bl_itembox {
    width: 95%;
    padding: 30px 20px;
    border: 1px solid var(--bg-color-mid);
}

.el_itembox_image img {
    width: 100%;
    height: auto;
}

.el_itemdescbox {
    text-align: center;
}

.el_item_name {
    line-height: 3em;
    font-size: 1.2em;
    font-weight: 500;
}

.el_item_desc {
    text-align: left;
}

.el_item_price {
    font-weight: 500;
    font-size: 1.2em;
    line-height: 3em;
}

.el_toshoppage {
    transform: scale(0.6);
}

@media screen and (min-width: 750px){
    .bl_itembox {
        width: 100%;
        padding: 15px;
    }
}
