@charset "utf-8";

header .top_erea .top_box {
    background-color: transparent;
}

header .top_erea .menu_list button span {
    color: var(--brand-color01);
}

header .top_erea .menu_list a {
    color: var(--brand-color01);
}

.wrapper {
    width: 100%;
}

.wrapper h1 {
    font-size: clamp(40px, 7vw, 53px);
}

.wrapper h2 {
    font-size: clamp(26px, 4.5vw, 30px);
    letter-spacing: 0.03em;
}

.wrapper h3 {
    font-size: clamp(14px, 1.8vw, 19px);
    letter-spacing: 0.12em;
    line-height: 1.4;
}


.wrapper p,
.wrapper li {
    font-size: clamp(13px, 1.7vw, 15px);
    line-height: 1.7;
}

:root {
    --section_margin: 160px;
    --title_margin: 50px;
    --block_margin: 100px;
    --list_margin: 30px;
    --brand-color01: #1C1C1C;
    --brand-color02: #B0B2AF;
    --brand-color03: #EEF0F2;
    --brand-color04: #ECEBE4;
}

@media screen and (max-width: 768px) {
    :root {
        --section_margin: 80px;
        --title_margin: 35px;
        --block_margin: 50px;
        --list_margin: 20px;
    }
}

.wrapper img {
    width: 100%;
    height: auto;
    object-position: center;
    object-fit: cover;
}

main {
    margin-top: 0;
}

.fv {
    height: 100vh;
    width: 100%;

    .fv_wrapper {
        position: relative;
        height: 100%;

        &::after {
            content: "";
            position: absolute;
            background: url(../img/situation_sofa_fv_line.png) center / contain no-repeat;
            z-index: 0;
            top: 0;
            left: 0;
            width: 100vw;
            max-width: 1200px;
            height: 100%;
            opacity: 0.5;
        }

        &::before {
            content: "";
            position: absolute;
            background: url(../img/situation_sofa_fv.png) center / cover no-repeat;
            z-index: 1;
            top: 50px;
            right: 0;
            width: 100%;
            max-width: 1400px;
            height: 90%;
            aspect-ratio: 16 / 9;
        }
    }


    .heading-title {
        position: absolute;
        top: 60%;
        right: 45%;
        transform: translate(0%, -50%);
        max-width: 560px;
        width: 45vw;
        height: auto;
        z-index: 2;

        img {
            width: 100%;
            min-width: 420px;
        }

        .fv-text-pc {
            text-align: center;
            margin-top: 70px;
            letter-spacing: 0.1em;
            font-size: clamp(16px, 2.0vw, 18px);
            line-height: 2;
        }
    }

    .fv-text-sp {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .fv {
        height: 65vh;

        .fv_wrapper {
            position: relative;
            height: 100%;
            overflow-x: hidden;

            &::after {
                content: "";
                position: absolute;
                background: url(../img/situation_sofa_fv_line.png) center / contain no-repeat;
                z-index: 0;
                bottom: 7%;
                display: block;
                left: 0;
                transform: scale(1.1);
                width: 72%;
                max-width: 570px;
                min-width: 380px;
                height: auto;
                aspect-ratio: 1811 / 960;
                opacity: 0.8;
                margin: auto 0 0;
            }

            &::before {
                content: "";
                position: absolute;
                background: url(../img/situation_sofa_fv_sp.png) center / cover no-repeat;
                z-index: 1;
                bottom: 0;
                right: 0;
                min-width: unset;
                width: auto;
                max-width: unset;
                max-height: 80%;
                min-height: 65%;
                height: 64vw;
                aspect-ratio: 315 / 350;
                margin: auto 0 0;
            }
        }


        .heading-title {
            position: absolute;
            top: 100px;
            left: 50%;
            transform: translate(-50%, 0);
            max-width: 400px;
            width: 85%;
            min-width: 280px;
            height: auto;
            z-index: 2;

            img {
                width: 100%;
                min-width: unset;
            }

            .fv-text-pc {
                display: none;
            }
        }

        .fv-text-sp {
            display: block;
            text-align: center;
            margin-top: 20px;
        }
    }
}

@media screen and (max-width: 425px) {
    .fv {

        .fv_wrapper {

            &::after {
                content: "";
                position: absolute;
                background: url(../img/situation_sofa_fv_line.png) center / contain no-repeat;
                z-index: 0;
                bottom: 12%;
                display: block;
                left: 0;
                transform: scale(1.1);
                width: auto;
                max-width: 570px;
                min-width: 380px;
                height: 50%;
                aspect-ratio: 1811 / 960;
                opacity: 0.8;
                margin: auto 0 0;
            }
        }
    }
}

.top {

    margin-top: 30px;

    .top-container {
        position: relative;
        height: 100%;
        aspect-ratio: 1366 / 365;
        width: 100%;
    }

    .slide {
        height: 100%;
    }

    .magazine_top_slider {
        height: 100%;
    }

    .slide-date {
        font-size: clamp(10px, 1.3vw, 13px);
        margin-top: 5px;
    }
}

@media screen and (max-width: 768px) {
    .top {
        /* height: calc(40vh - 100px); */
        /* margin-top: 70px; */
        /* height: 190px; */
        height: 18vh;
        margin-top: 80px;

        .top-container {
            height: 100%;
            width: 100%;
        }
    }

    .slide {
        height: 88%;
    }

    .magazine_top_slider {
        height: 100%;
    }
}

.top-swiper-wrapper {
    height: 100%;
    transition-timing-function: linear;
}

.slide li {
    width: 100%;
    /* height: calc(100vh - 242px); */
    /* aspect-ratio: 602/365; */
    position: relative;
    z-index: 0;
    height: auto;
}

.slide li::after {
    content: "";
    position: absolute;
    background: linear-gradient(0deg, rgb(49 48 48 / 67%)7%, rgba(255, 255, 255, 0))0%;
    width: 100%;
    height: 100%;
    border: none;
    z-index: -1;
    bottom: 0;
    left: 0;
}

.slide li a {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.slide li img {
    position: absolute;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

.slide .text_box {
    width: 100%;
    padding: calc(var(--list_margin) - 5px) 15px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.4) 70%, rgba(0, 0, 0, 0) 100%);
}

.slide .text_box h3,
.slide .text_box p {
    color: #fff;

}

.slide .text_box p {
    line-height: 1.2;
}

.slide .swiper-nav .swiper-pagination-bullet {
    border: #B0B2AF 1px solid;
    margin: 0 7.5px;
}

.slide .swiper-nav .swiper-pagination-bullet-active {
    border: #1c1c1c 1px solid;
    background: #1c1c1c;
}


/* ---------- everloving sofa slider ---------- */
.everloving-sofa-swiper-wrapper {
    transition-timing-function: linear;

    .swiper-slide {
        width: 100%;
        white-space: nowrap;
    }
}

@media screen and (max-width: 768px) {
    .top .headcolor {
        padding: 50px 0 5px;
    }

    .slide li {
        width: 97%;
        height: auto;
    }
}

/* ------------------------------------------ */

.popular {
    display: flex;
    justify-content: space-between;
    max-width: 1100px;
    width: 95%;
    margin: 200px auto 100px;

    ul {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: 1fr;
        grid-column-gap: 15px;
        grid-row-gap: 0px;
        max-width: 900px;
        width: 100%;
    }

    .title {
        margin-right: var(--title_margin);
    }

    .title h2 {
        color: #B0B2AF;
    }

    li {
        width: 100%;
        display: flex;
    }

    li a {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    li .img_box {
        width: 100%;
        position: relative;
    }

    li .img_box::after {
        position: absolute;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #1c1c1c;
        width: 33px;
        height: 33px;
        left: 0;
        top: 0;
        line-height: 1;
        color: #fff;
        font-family: "游ゴシック体 Pr6N B", "Yu Gothic Pr6N B", "游ゴシック体 Bold", YuGothic, "游ゴシック Bold", "Yu Gothic Bold", "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
    }

    li:nth-of-type(1) .img_box::after {
        content: '1';
    }

    li:nth-of-type(2) .img_box::after {
        content: '2';
    }

    li:nth-of-type(3) .img_box::after {
        content: '3';
    }

    li .text_box {
        width: 100%;
        padding: 0;
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;

        .popular-title {
            font-size: clamp(13px, 1.7vw, 15px);
            line-height: 1.3;
            font-weight: normal;
            padding: 0 0 10px 0;
            flex-grow: 1;
            position: relative;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 3;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .popular-title::before {
            content: "";
            position: absolute;
            border-bottom: dashed 0.8px #B0B2AF;
            width: 100%;
            height: auto;
            display: block;
            bottom: 0;
            left: 0;
        }

        .honorific-title {
            font-size: 10px;
            font-weight: bold;
            display: inline;
        }

        .popular-name {
            font-size: 11px;
            font-weight: bold;
            margin: 5px 0 0;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .popular-belong {
            font-size: 10px;
        }

        .popular-date {
            font-size: 10px;
            margin-bottom: 2px;
        }
    }

    li img {
        aspect-ratio: 90 / 73;
    }
}

@media screen and (max-width: 768px) {
    .popular {
        justify-content: center;
        flex-direction: column;
        margin: 150px auto 80px;

        ul {
            grid-template-columns: 1fr;
            grid-template-rows: repeat(3, 1fr);
            grid-column-gap: 0px;
            grid-row-gap: 20px;
        }

        .title {
            margin-bottom: 20px;
        }

        li a {
            flex-direction: row;
            gap: 5%;
        }

        li .img_box {
            width: 40%;
        }

        li .text_box {
            width: 50%;
        }

    }
}

@media screen and (min-width: 769px) and (max-width: 1000px) {
    .popular ul {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        grid-row-gap: 20px;
    }
}

/* ------------------------------------------ */

.all {
    max-width: 1100px;
    width: 95%;
    margin: 0 auto 30px;

    .title h2 {
        color: #B0B2AF;
    }
}


.page_nav {
    width: 95%;
    margin: 0 auto 20px;
    max-width: 1100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page_nav .num {
    width: fit-content;
    display: flex;
    align-items: baseline;
}

.page_nav .num h3 {
    display: inline-block;
}

.page_nav .num p {
    display: inline-block;
    padding-left: 5px;
}

.page_nav .sort_box,
.page_nav .selecter {
    display: flex;
    justify-content: center;
    align-items: center;
}

.page_nav .sort_box {
    z-index: 5;
}

@media screen and (max-width: 768px) {
    .page_nav .sort_box {
        width: 100%;
        justify-content: right;
        gap: 5px;
    }
}

.selecter .drop_down select {
    font-size: clamp(13px, 1.7vw, 15px);
    padding: 5px 17px 11px 17px;
    text-align: center;
}

.selecter .drop_down {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: #B0B2AF 1px solid;
    margin-left: 15px;
    z-index: 0;
}

.selecter .drop_down::after {
    position: absolute;
    content: '';
    display: inline-block;
    width: 9px;
    height: 9px;
    background: url(/images/common/down.png) no-repeat center/contain;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: -1;
}

.page_nav .search {
    margin-right: 10px;
    text-wrap: nowrap;
}

@media screen and (max-width: 768px) {
    .page_nav .search {
        margin-right: 0;
    }
}

.page_nav .search input {
    width: 211px;
    height: 25px;
    border: #B0B2AF solid 1px;
    border-right: transparent;
    padding: 6px 0px 6px 10px;
    border-radius: 3px 0 0 3px;

}

.page_nav .search button {
    width: auto;
    height: 25px;
    border: #B0B2AF solid 1px;
    border-left: transparent;
    padding: 6px 10px 6px 10px;
    border-radius: 0 3px 3px 0;
    margin-left: -10px;
}

.page_nav .search button img {
    width: 13px;
    height: 13px;
    object-fit: contain;
    object-position: center;
}

@media screen and (max-width: 768px) {

    .page_nav,
    .page_nav .selecter {
        justify-content: center;
    }

    .selecter .drop_down {
        margin-left: 0;
    }

    .selecter p {
        margin-bottom: 3px;
        color: #B0B2AF;
    }

    .page_nav .num {
        white-space: nowrap;
    }

    .page_nav .search input {
        width: 30vw;
        max-width: 180px;
    }
}

/* ------------------------------------------ */

.view .vw_body {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;
    margin: 0 auto var(--list_margin);
    border-top: solid 1.5px #DADDD8;
}

.view #noneItem {
    width: 100%;
    text-align: center;
}

.vw_body li {
    width: 100%;
    display: flex;
    border-bottom: solid 1.5px #DADDD8;
}

.vw_body li a {
    width: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.vw_body li:not(:nth-child(3n)) {
    border-right: solid 1.5px #DADDD8;
}

@media screen and (max-width: 768px) {
    .vw_body li:not(:nth-child(3n)) {
        border-right: none;
    }

    .vw_body li:nth-child(2n-1) {
        border-right: solid 1.5px #DADDD8;
    }
}

.article-published-date {
    display: inline;
    position: absolute;
    transform: rotate(90deg);
    top: 50px;
    font-size: clamp(9px, 1.5vw, 11px);
}

@media screen and (max-width: 768px) {
    .article-published-date {
        left: -18px;
    }

}

.vw_body li img {
    margin: 30px auto 25px;
    max-width: 291px;
    width: 22vw;
    aspect-ratio: 97 / 73;
}

@media screen and (max-width: 768px) {
    .vw_body li img {
        margin: 30px auto 25px;
        max-width: 291px;
        width: 41vw;
        aspect-ratio: 97 / 73;
    }
}

.vw_body a p,
.vw_body a span {
    transition: color .35s;
}

.vw_body a:hover p,
.vw_body a:hover span {
    color: #B0B2AF;
}

.article-text-wrap {
    display: flex;
    flex-direction: column;
    max-width: 450px;
    width: 92%;
    margin: 0 auto;
    flex: 1 1 auto;

}

.article-title {
    margin-bottom: 17px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sofa-name {
    border-top: dashed 0.8px #DADDD8;
    padding-top: 17px;
    width: 100%;
    margin-bottom: 12px;
    min-height: 74px;


    p {
        font-size: clamp(11px, 1.4vw, 13px);
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

.article-tag-name {
    color: #fff;
    font-size: 13px;
    line-height: 1;
    padding: 3px 6px;
    border: dashed 0.8px #fff;
    display: inline-block;
}

@media screen and (min-width: 769px) and (max-width: 1000px) {
    .view .vw_body {
        grid-template-columns: repeat(3, 1fr);

    }
}

@media screen and (max-width: 768px) {
    .page_nav .num p {
        padding-left: 3px;
    }

    .view .vw_body {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ------------------------------------------ */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 63px 0 0;
    padding-bottom: 63px;
}

.pagination li {
    font-size: clamp(14px, 1.7vw, 16px);
    margin-right: 5px;
    padding: 5px 10px;
    cursor: pointer;
    transition: color .35s;
}

.pagination li:hover,
.pagination .number.active {
    color: #B0B2AF;
}

.pagination .next {
    margin-right: 0;
    margin-left: var(--block_margin);
}

.pagination .prev {
    margin-right: var(--block_margin);
}

.pagination .next::after,
.pagination .prev::after {
    display: block;
    content: '';
    width: 10px;
    height: 25px;
    transition: opacity .35s;
    background: url(/images/common/arrow_right.png) no-repeat center/contain;

}

.pagination .prev::after {
    background: url(/images/common/arrow_left.png) no-repeat center/contain;
}

.pagination .next:hover:after,
.pagination .prev:hover:after {
    opacity: 0.7;
}

@media screen and (max-width: 768px) {
    .pagination .next {
        margin-right: 0;
        margin-left: auto;
    }

    .pagination .prev {
        margin-left: 0;
        margin-right: auto;
    }

}


/* ------------------------------------------ */

.everloving-sofa-slide {
    padding: 20px 0;
    width: 100%;
    height: 75px;
    border-bottom: solid 1px var(--brand-color01);
    display: flex;
    align-items: center;

    li {
        color: var(--brand-color01);
        letter-spacing: 0.1em;
        line-height: 1.5;
    }
}

.swiper-button-next,
.swiper-button-prev {
    width: 30px;
    height: 30px;
    border: solid 1px var(--brand-color01);
    border-radius: 50%;
    position: relative;
}

.swiper-button-next::after,
.swiper-rtl .swiper-button-prev::after {
    border-right: 1px solid var(--brand-color01);
    transform: scale(0.6) rotate(45deg);
    position: absolute;
    right: 31%;
    top: 24%;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    border-top: 1px solid var(--brand-color01);
}

.swiper-button-prev::after,
.swiper-rtl .swiper-button-next::after {
    border-left: 1px solid var(--brand-color01);
    transform: scale(0.6) rotate(-45deg);
    position: absolute;
    left: 31%;
    top: 24%;
}

.swiper-button-wrap {
    display: flex;
    position: absolute;
    right: 0;
    bottom: -70px;
    height: 67px;
    z-index: 2;
    width: 10%;
    min-width: 150px;
    justify-content: space-between;
    padding: 20px 35px 20px 25px;
    background: #ffffff;
}

@media screen and (max-width: 768px) {
    .swiper-button-wrap {
        min-width: 120px;
        justify-content: center;
        gap: min(20px, 25%);
        padding: 20px 15px 20px 15px;
    }
}

/* ------------------------------------------ */