@charset "utf-8";

.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(21px, 3.5vw, 26px);
    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;
}

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

.wrapper section {
    margin-bottom: var(--section_margin, 80px);
}

.wrapper .container {
    width: 93%;
    max-width: 1200px;
    margin: 0 auto;
}

@media screen and (max-width: 768px) {
    .wrapper .title h2 {
        margin-bottom: 8px;
    }
}

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

.TOP .headcolor {
    width: 100%;
    background-color: #F3F4EF;
    padding-top: 15px;
}

.TOP .headline {
    width: 100%;
    position: relative;
    z-index: 0;
}

.TOP .headline::after {
    position: absolute;
    content: '';
    display: block;
    width: auto;
    height: 100%;
    aspect-ratio: 1/1;
    background: url(../images/icon_sofamagazin.png) no-repeat center/contain;
    top: 0;
    right: 0;
    z-index: -1;
}

.headline .title {
    width: fit-content;
    padding: var(--list_margin) 0;
}

.headline .title h1 {
    color: #DADDD8;
}

.headline .title h2 {
    line-height: 1;
    margin-top: -19px;
}

.TOP .slide {
    margin-bottom: var(--block_margin);
}

.slide li {
    width: auto;
    height: calc(100vh - 242px);
    aspect-ratio: 75/49;
    position: relative;
    z-index: 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;
}

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

    .slide li {
        width: 97%;
        height: auto;
        aspect-ratio: 1/1;
    }
}

/* ------------------------------------------ */
p.introduction {
    text-align: center;
    margin-bottom: var(--block_margin);
}

.TOP .popular {
    display: flex;
    justify-content: space-between;
}

.TOP .popular ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 15px;
    grid-row-gap: 0px;
}
.popular .title {
    margin-right: var(--title_margin);
}
.popular .title h2 {
    color: #B0B2AF;
}
.popular li {
    width: 100%;
}
.popular li a{
    width: 100%;
    display: flex;
    align-items: center;
}

.popular li .img_box {
    width: 30%;
    position: relative;
}

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

.popular li:nth-of-type(1) .img_box::after {
    content: '1';
}
.popular li:nth-of-type(2) .img_box::after {
    content: '2';
}
.popular li:nth-of-type(3) .img_box::after {
    content: '3';
}
.popular li .text_box {
    width: 70%;
    padding: 0 15px;
}
.popular li img {
    aspect-ratio: 1/1;
}
@media screen and (min-width: 769px) and (max-width: 1000px) {
    .TOP .popular ul {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat( 2, 1fr);
        grid-row-gap: 20px;
    }
}
@media screen and (max-width: 768px) {
    .TOP .popular ul {
        grid-template-columns: 1fr;
        grid-template-rows: repeat( 3, 1fr);
        grid-column-gap: 0px;
        grid-row-gap: 20px;
    }
    .popular .title h2 {
       writing-mode: vertical-rl;
    }
    .popular .title p{
        writing-mode: vertical-rl;
    }
}

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

.page_nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--list_margin);
}

.page_nav .num {
    width: fit-content;
}

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

.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: var(--title_margin);
    text-wrap: nowrap;
}

.page_nav .search input {
    width: 211px;
    height: 35px;
    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: 35px;
    border: #B0B2AF solid 1px;
    border-left: transparent;
    padding: 6px 10px 6px 10px;
    border-radius: 0 3px 3px 0;
    margin-left: -5px;
}

.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 {
        flex-direction: column;
        justify-content: center;
    }

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

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

    .page_nav .num {
        margin-bottom: var(--title_margin);
    }

    .page_nav .search input {
        width: 175px;
    }
}

/* ------------------------------------------ */
.view .vw_body {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 1fr;
    grid-column-gap: 20px;
    grid-row-gap: 30px;
    margin: 0 auto var(--list_margin);
}

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

.vw_body li {
    width: 100%;
    margin-bottom: var(--list_margin);
}

.vw_body li a {
    width: 100%;
    display: block;
}

.vw_body li img {
    margin-bottom: 7px;
    width: 100%;
    aspect-ratio: 301/199;
}

.vw_body li span {
    display: block;
    font-size: clamp(9px, 1.5vw, 11px);
}

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

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

@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);
        grid-column-gap: 13px;
        grid-row-gap: 20px;
    }
}


/* ------------------------------------------ */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
}

.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: 20px;
    height: 35px;
    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;
    }

}


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