@charset "utf-8";

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

.wrapper {
    width: 100%;
}

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

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

.wrapper h3 {
    font-size: clamp(15px, 1.9vw, 19px);
    letter-spacing: 0.12em;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
}


.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;
}

header .top_erea .menu_btn span {
    background-color: #ffffff;
}

.top-area {
    background: var(--brand-color03);
    padding-top: 270px;
    position: relative;

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

    .logo-title {
        max-width: 400px;
        width: 35vw;
        display: block;
        margin: 0 auto;
        position: absolute;
        z-index: 2;
        top: -60px;
        left: 50%;
        transform: translate(-50%, -50%);
    }


    .slide {
        height: 100%;
        padding-bottom: 50px;
    }

    .magazine_top_slider {
        height: 100%;
    }

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

@media screen and (max-width: 768px) {
    .top-area {
        height: auto;
        padding-top: 190px;

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

        .logo-title {
            min-width: 280px;
            top: -30px;
        }

        .slide {
            height: auto;
            padding-bottom: 0;
        }

        .magazine_top_slider {
            width: 100%;
            height: 60vh;
            aspect-ratio: 306 / 424;
        }
    }

}

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

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

.slide li::after {
    content: "";
    position: absolute;
    background: linear-gradient(0deg, #eef0f2 0%, #ffffff33 60% 30%, rgba(0, 0, 0, 0) 100%);
    width: 100%;
    height: 100%;
    border: none;
    z-index: -1;
    bottom: 0;
    left: 0;
}

.slide li a,
.slide li div {
    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: -2;
}

.slide .text_box {
    width: 100.1%;
    padding: 0 12px 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 5px;
    box-sizing: border-box;
    height: auto;

    .belong-and-date {
        height: auto;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        flex-shrink: 0;
        /* 縮小しない */
        flex-grow: 0;
        /* 成長しない */
    }

    .slider-name {
        font-size: 12px;
        flex-shrink: 0;
        /* 縮小しない */
        flex-grow: 0;
        /* 成長しない */
    }

    .slider-belong {
        font-size: 12px;
    }

    .slider-date {
        font-size: 10px;
    }

    h3 {
        line-height: 1.2;
        /* flex-grow: 1; */
        min-height: calc(1.2em * 2);
        /* 最低2行分の高さを確保 */
        max-height: calc(1.2em * 2);
        /* 最大2行に制限 */
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

.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;
    }
}

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

.main-content {
    background: var(--brand-color03);
}

@media screen and (max-width: 768px) {
    .main-content {
        padding-top: 0;
    }
}

.top-text {
    padding-top: 150px;
    text-align: center;
}

@media screen and (max-width: 768px) {
    .top-text {
        padding-top: 60px;
    }

}

.popular {
    display: flex;
    justify-content: space-between;
    max-width: 1100px;
    width: 95%;
    padding-top: 100px;
    margin: 0 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;
        margin-top: 20px;
        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;
            margin: 0 0 5px 0;
            flex-grow: 1;
            line-height: 1.5em;
            max-height: calc(1.5em * 3);
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 3;
            overflow: hidden;
            text-overflow: ellipsis;
        }

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

        .popular-name {
            font-size: 13px;
            font-weight: bold;
            padding: 5px 0 0;
            border-top: dashed 0.8px #B0B2AF;
        }

        .belong-and-date {
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
        }

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

        .popular-date {
            font-size: 9px;
        }
    }

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

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

        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%;
            margin-top: 0;

            .belong-and-date {
                flex-direction: column;
                align-items: start;
            }
        }

    }
}

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

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

    .title h2 {
        color: #B0B2AF;
    }
}


.wrapper .page_nav {
    width: 95%;
    margin: 0 auto;
    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, 14px);
    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;
    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;
    }
}

/* ------------------------------------------ */
.wrapper .tab-buttons {
    display: flex;
    gap: 10px;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;

    .tab-button {
        background: var(--brand-color02);
        border-radius: 10px 10px 0 0;
        max-width: 120px;
        width: 100%;
        aspect-ratio: 120 / 35;
        color: #ffffff;
        letter-spacing: 0.05em;
        text-align: center;
        font-size: clamp(13px, 1.69vw, 16px);
        line-height: 1;
    }

    .tab-button.is-active {
        background: var(--brand-color01);
    }
}

@media screen and (max-width: 768px) {
    .tab-buttons {
        gap: 6px;
        justify-content: center;

        .tab-button {
            max-width: unset;
            aspect-ratio: unset;
            line-height: 1;
            width: 100%;
            padding: 8px 0px;
        }
    }
}

.num_and_sort {
    bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 20px;
}

@media screen and (max-width: 768px) {
    .num_and_sort {
        flex-direction: row;
        bottom: 47px;
        width: 100%;
    }
}

/* ------------------------------------------ */
.view .vw_body {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;
    margin: 0 auto;
    border-top: solid 1px var(--brand-color02);
}

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

.vw_body li {
    width: 100%;
    display: flex;
    border-bottom: solid 1px var(--brand-color02);
}

.vw_body .card {
    transition: opacity 0.5s ease;
    /* 0.5秒かけてゆっくり変化 */
    opacity: 0;
    /* 最初は透明 */
    /* display: flex; や grid のまま維持 */
}

/* is-visible クラスが付与されたら不透明にする */
.vw_body .card.is-visible {
    opacity: 1;
    /* 不透明 */
}

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

.vw_body li:not(:nth-child(3n)) {
    border-right: solid 1px var(--brand-color02);
}

@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 1px var(--brand-color02);
    }
}

.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;
}

.article-interviewee {
    border-top: dashed 0.8px var(--brand-color01);
    padding-top: 17px;
    width: 100%;
    margin-bottom: 12px;
    min-height: 68px;
    display: none;

    p {
        font-size: clamp(11px, 1.4vw, 13px);
    }
}

.article-tag {
    background: #1c1c1c;
    padding: 8px 0 8px 4%;
    min-height: 41.5px;
    display: none;
}

@media screen and (max-width: 768px) {
    .article-tag {
        padding: 5px 0 5px 4%;
        min-height: 32px;
    }
}

.article-tag-name {
    color: #fff;
    font-size: clamp(10px, 1.3vw, 11px);
    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);
    }
}


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

.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: 40px 0;
    background: var(--brand-color03);
    width: 100%;
    height: 75px;
    border-top: solid 1px var(--brand-color01);
    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: -73px;
    height: 67px;
    z-index: 2;
    width: 10%;
    min-width: 150px;
    justify-content: space-between;
    padding: 20px 35px 20px 25px;
    background: var(--brand-color03);
}

@media screen and (max-width: 768px) {
    .everloving-sofa-slide {
        position: relative;
    }

    .swiper-button-wrap {
        min-width: 120px;
        justify-content: center;
        gap: min(20px, 25%);
        padding: 20px 15px 20px 15px;
        top: 2px;
    }
}

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