@charset "utf-8";

.top_store_sec {
    position: relative;
    padding: 70px 0;
    color: #fff;
    background: #fafafa;
}

.top_store_sec>* {
    position: relative;
    z-index: 1;
}

.top_store_sec .bg_img {
    position: absolute !important;
    inset: 0;
    z-index: 0 !important;
}

.top_store_sec .bg_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.top_store_sec::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    pointer-events: none;
    z-index: 1;
}

.top_store_sec .sec_ttl_box {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.top_store_sec .sec_ttl_box:after {
    content: "";
    display: block;
    width: 30px;
    height: 1px;
    background: #080058;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
}

.top_store_sec .sec_ttl_box .en_ttl {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: .4em;
}

.top_store_sec .sec_ttl_box .sec_ttl {
    font-size: 25px;
    letter-spacing: 0.1em;
}

.top_store_sec .sec_main_text {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.5;
    color: #fff;
    position: relative;
}

.top_store_sec .store_btn {
    display: block;
    font-size: 15px;
    color: #fff;
    text-align: center;
    padding: 1em;
    border: 1px solid #fff;
    margin: 40px auto 0;
    width: 300px;
    transition: .3s;
    background: rgba(255, 255, 255, 0);
    letter-spacing: .02em;
}

.top_store_sec .store_btn:hover {
    background: rgba(255, 255, 255, 1);
    color: #080058;
}

.top_store_sec::before {
    content: none;
}

.top_store_sec {
    color: #080058;
}

.top_store_sec .column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2%;
}

.top_store_sec .sell {
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.top_store_sec .sell.esaka .link {
    background-image: url(/penguin/resources/image/ys-style/esaka/esaka_store.jpg);
}

.top_store_sec .sell.sinosaka .link {
    background-image: url(/penguin/resources/image/ys-style/shinosaka/shinosaka_store.jpg);
}

.top_store_sec .sell .link {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    padding: 16vw 5% 2vw;
    text-decoration: none;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.top_store_sec .sell .link .bg_hover {
    position: absolute;
    width: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.3);
    transition: .5s;
}

.top_store_sec .sell .link:hover .bg_hover {
    left: 100%;
}

.top_store_sec .sell .link .bg {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 100%;
    background: rgb(0, 0, 0);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
    transition: .5s;
}

.top_store_sec .sell .link:hover .bg {
    top: 50%;
}

.top_store_sec .in_txt+.in_txt {
    margin-top: 1em;
}

.top_store_sec .in_txt.access {
    font-size: 14px;
}

.top_store_sec .min_txt_ex {
    font-size: 14px;
    margin-left: 1em;
}

.top_butken_sec .tab_box ul {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1em;
    font-size: 15px;
    margin-bottom: 1em;
}

.top_butken_sec .tab_box ul li {
    border: 1px solid #fff;
    text-align: center;
    padding: 1em;
    color: #fff;
    background-color: #080058;
    cursor: pointer;
    transition: .3s;
}

.top_butken_sec .tab_box ul li.active,
.top_butken_sec .tab_box ul li:hover {
    background-color: #fff;
    color: #080058;
}

.top_butken_sec .panel_box .butken_box .count_text {
    color: #fff;
    font-size: 15px;
    margin-bottom: 1em;
}

.top_butken_sec .panel_box .butken_box .count_text .count {
    font-size: 1.1em;
    color: #FFF3D6;
    line-height: 1;
    margin: 0 .2em;
}

.top_butken_sec .panel_box .butken_box ul {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.top_butken_sec .panel_box .butken_box ul li .link {
    background-color: #fff;
    height: 100%;
    display: block;
    position: relative;
}

.top_butken_sec .panel_box .butken_box ul li .link .new_ab {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #fff;
    color: #080058;
    font-size: 14px;
    width: fit-content;
    padding: .3em;
}

.top_butken_sec .panel_box .butken_box ul li .link .img {
    height: 180px;
}

.top_butken_sec .panel_box .butken_box ul li .link .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.top_butken_sec .panel_box .butken_box ul li .link .text_area {
    padding: 15px;
}

.top_butken_sec .panel_box .butken_box ul li .link .butken_ttl {
    color: #080058;
    font-size: 15px;
    letter-spacing: .02em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    margin-bottom: 1em;
}

.top_butken_sec .panel_box .butken_box ul li .link .size_box .box {
    display: flex;
    font-size: 15px;
    margin-bottom: .5em;
    gap: .5em;
    align-items: flex-start;
}

.top_butken_sec .panel_box .butken_box ul li .link .size_box .box .tag {
    width: fit-content;
    flex-shrink: 0;
    color: #fff;
    background-color: #080058;
    padding: .3em;
}

.top_butken_sec .panel_box .butken_box ul li .link .size_box .box .number {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    margin-top: .3em;
    color: #080058;
}

.top_butken_sec .panel_box .butken_box ul li .link .distance_box {
    font-size: 14px;
    display: flex;
    gap: .5em;
    color: #080058;
    align-items: center;
}

.top_butken_sec .panel_box .butken_box ul li .link .distance_box .train_icon {
    flex-shrink: 0;
    width: 1.2em;
    height: 1.2em;
}

.top_butken_sec .panel_box .butken_box ul li .link .distance_box .train {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.top_butken_sec .top_butken_btn {
    display: block;
    background-color: #fff;
    color: #080058;
    border: 1px solid #fff;
    text-align: center;
    font-size: 15px;
    text-align: center;
    padding: 1em;
    width: 300px;
    margin: 2em auto 0;
    transition: .3s;
}

.top_butken_sec .top_butken_btn:hover {
    color: #fff;
    background-color: #080058;
}

@media screen and (max-width: 750px) {
    .top_store_sec {
        padding: 12vw 0;
    }

    .top_store_sec .sec_ttl_box {
        margin-bottom: 6vw;
        padding-bottom: 4vw;
    }

    .top_store_sec .sec_ttl_box:after {
        width: 8vw;
    }

    .top_store_sec .sec_ttl_box .en_ttl {
        font-size: 6.5vw;
    }

    .top_store_sec .sec_ttl_box .sec_ttl {
        font-size: 5vw;
    }

    .top_store_sec .sec_main_text {
        font-size: 3.5vw;
    }

    .top_store_sec .store_btn {
        font-size: 3.5vw;
        margin: 6vw auto 0;
        width: 100%;
        background: rgba(255, 255, 255, 1);
        color: #080058;
    }

    .top_store_sec .column {
        grid-template-columns: 1fr;
        gap: 6vw;
    }

    .top_store_sec .sell .link {
        padding: 30vw 3% 3vw;
    }

    .top_store_sec .sell .link:hover .bg {
        top: 80%;
    }

    .top_store_sec .sell .link .bg_hover {
        display: none;
    }

    .top_store_sec .min_txt_ex {
        display: none;
    }

    .top_store_sec .sell .link .bg {
        top: 0;
    }

    .top_store_sec .sell .link:hover .bg {
        top: 0;
    }

    .top_store_sec .in_txt.access {
        font-size: 3vw;
        margin-top: 0.8em;
    }

    .top_butken_sec .tab_box ul {
        grid-template-columns: repeat(3, 1fr);
        gap: 2vw;
        font-size: 3.2vw;
        margin-bottom: 1em;
    }

    .top_butken_sec .tab_box ul li {
        padding: 0.7em;
    }

    .top_butken_sec .panel_box .butken_box .count_text {
        font-size: 3.5vw;
    }

    .top_butken_sec .panel_box .butken_box ul {
        grid-template-columns: repeat(8, 40vw);
        gap: 4vw;
        overflow: scroll;
    }

    .top_butken_sec .panel_box .butken_box ul li .link .new_ab {
        top: 2vw;
        left: 2vw;
        font-size: 2.8vw;
    }

    .top_butken_sec .panel_box .butken_box ul li .link .img {
        height: 30vw;
    }

    .top_butken_sec .panel_box .butken_box ul li .link .text_area {
        padding: 3vw;
    }

    .top_butken_sec .panel_box .butken_box ul li .link .butken_ttl {
        font-size: 3.2vw;
    }

    .top_butken_sec .panel_box .butken_box ul li .link .size_box .box {
        font-size: 3vw;
    }

    .top_butken_sec .panel_box .butken_box ul li .link .distance_box {
        font-size: 2.8vw;
    }

    .top_butken_sec .top_butken_btn {
        font-size: 3.5vw;
        padding: 1em;
        width: 80vw;
        margin: 2em auto 0;
    }

}