* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* PC版 */

/* 全体適応 */
.body {
    height: auto;
    font-family: 'Noto Serif JP', serif;
    font-weight: 400;
    background-color: #000000;
    /* 背景色消すかは要確認 */
}

/* ページトップ */
.service_top {
    color: #fff;
    padding-top: 6rem;
    padding-bottom: 10.5rem;
    background-color: black;
}

.service_top h2 {
    font-size: 4rem;
    color: #fff;
    max-width: 128rem;
    margin: 0 auto;
    padding-left: 5rem;
}


.service_top .service_top {
    display: flex;
    flex-direction: column;
    align-items: center;
}


/* ページトップ_動画 */

.video-container {
    width: 118rem;
    height: 66.4rem;
    margin: 0 auto;
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
}


/* ページトップ_pタグテキスト */

.service_top .service_top p {
    text-align: justify;
    line-height: 1.8;
    max-width: 80rem;
    margin-top: 4rem;
    padding: 0 4rem;
    font-size: 1.3rem;
}


/* 背景画像 */

.background {
    height: 211.3rem;
    background-image: url(../img/33628327_m.jpg);
    /* background-image: url(../img/1280x2113_dark\ blue.png); */
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
    z-index: 0;
}

.background::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: .7;
    background-color: #000;
}

/* セクション_長岡 */

.service_nagaoka {
    padding-top: 9.9rem;
    color: white;
}


/* セクション_アメリカ・ホノルル */

.service_america,
.service_honolulu {
    padding-top: 8.8rem;
    color: white;
}


/* セクション_イタリア */

.service_italy {
    padding-top: 8.8rem;
    padding-bottom: 15rem;
    color: white;
}


/* 各アイテム_セクション */

.service_item {
    display: flex;
    justify-content: space-between;
    max-width: 128rem;
    padding: 0 5rem;
    flex-direction: row;
    margin: 0 auto;
}

.service_item .text_content {
    width: 40.5rem;
    height: auto;
    order: 1;
    position: relative;
}

.service_item .image_container {
    display: flex;
    height: auto;
    width: 75rem;
    height: 40rem;
    order: 2;
    justify-content: flex-end;
}

.service_item .text_content h3 {
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

.service_item .text_content p {
    line-height: 1.8;
    max-width: 40.5rem;
    margin: 0;
    font-size: 1.6rem;
}


/* 各画像_セクション */

.image_container {
    position: relative;
    width: 75rem;
    height: 40rem;
}

.image_container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* 各縦書き_セクション */

.vertical_title {
    position: absolute;
    top: -6rem;
    right: -3.1rem;
    writing-mode: vertical-rl;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 2rem;
    color: white;
    font-size: 2.4rem;
    font-weight: bold;
    line-height: 1.5;
    z-index: auto;
}

.vertical_title span:first-child {
    margin-right: 1rem;
    font-size: 3rem;
    font-weight: normal;
}

.vertical_title .am1,
.vertical_title .ho1,
.vertical_title .it1 {
    font-size: 3rem;
    font-weight: normal;
}

.vertical_title .jp,
.vertical_title .am2,
.vertical_title .ho2,
.vertical_title .it2 {
    font-size: 4rem;
    letter-spacing: 0.1em;
}



/* 尺玉_セクション(グリッド設定) */

.product_section {
    /* background-color: black; */
    padding-bottom: 10rem;
}

.product_section h2 {
    font-size: 4rem;
    font-weight: normal;
    color: #fff;
    width: auto;
    padding: 6rem 5rem 4.5rem 5rem;
    max-width: 128rem;
    margin: 0 auto;
}

.product_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5rem;
    /* background-color: black; */
    color: #fff;
    max-width: 128rem;
    margin: 0 auto;
    padding: 0 5rem;
}

.product_card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.product_image_container {
    width: 100%;
    padding-top: 100%;
    position: relative;
    overflow: hidden;
}

.product_image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.product_card:hover .product_image {
    transform: scale(1.2);
}

.product_card:hover {
    cursor: pointer;
}

.product_name {
    width: 36rem;
    color: #fff;
    font-size: 1.6rem;
    padding: 0.5rem 0;
    text-align: left;
    margin-right: auto;
    margin-left: 0;
    /* background-color: black; */
}

.body:has(.page-numbers) .product_section {
    padding-bottom: 0;
}

/* ページナンバー_セクション */

/* .page_numbers_pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    padding: 3.5rem 0 10rem 0;
    max-width: 120rem;
    margin: 0 auto;
}

.page_numbers {
    color: #fff;
    text-decoration: none;
    background-color: black;
    width: 5rem;
    height: 5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 2rem;
    border: 1px solid #fff;
}

.page_numbers.current {
    background-color: #fff;
    color: black;
    font-weight: bold;
} */

/* ナビ部分 */
.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 3rem;
    margin-top: 3.5rem;
    padding-bottom: 10rem;
}


/* ページ数 */
.page-numbers {
    gap: 3rem;
    width: 5rem;
    height: 5rem;
    border: solid 0.1rem #FFFFFF;
    border-radius: 50%;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 2rem;
}

/* 選択中のページに色を付ける */
.current {
    background-color: #fff;
    color: #000000;
}

/* クラス名にdotsがついたときの...の仕様 */
.dots {
    border: none;
    align-items: center;
    width: 2.2rem;
    padding-top: 4.5rem;
    pointer-events: none;
}


/* SP版 */
@media screen and (max-width:699.98px) {

    /* 全体適応 */

    .body {
        width: 100%;
        height: auto;
        font-family: 'Noto Serif JP', serif;
        font-weight: 400;
        overflow-x: hidden;
    }


    /* ページトップ */

    .service_top {
        padding-top: 3rem;
        padding-bottom: 1rem;
    }

    .service_top h2 {
        font-size: 3rem;
        margin-bottom: 1rem;
        padding-left: 1rem;
        max-width: 100%;
        margin-right: auto;
    }

    /* ページトップ_動画 */

    .video-container {
        width: 33.5rem;
        height: 66.7rem;
        position: relative;
        overflow: hidden;
    }


    .video-container video {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        min-width: 100%;
        min-height: 100%;
        object-fit: cover;
        width: 100%;
        height: 100%;
    }


    /* ページトップ_pタグテキスト */

    .service_top .service_top p {
        width: 35.5rem;
        margin-top: 3rem;
        padding: 0 1rem;
        font-size: 1.6rem;
        padding-bottom: 8rem;
    }


    /* 背景_セクション */

    .background {
        width: 100%;
        height: 212.8rem;
        background-image: url(../img/33628327_m.jpg);
        background-repeat: no-repeat;
        background-position: center top;
        background-size: cover;
    }


    /* 各中央部分_セクション */

    .service_nagaoka,
    .service_america,
    .service_honolulu,
    .service_italy {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .service_nagaoka {
        padding-top: 3rem;
    }


    .service_america,
    .service_honolulu,
    .service_italy {
        padding-top: 4rem;
    }

    .service_italy {
        padding-bottom: 8rem;
    }

    .service_item {
        flex-direction: column;
        padding: 0 1rem;
    }

    .service_italy .image_container {
        margin-bottom: 8rem;
    }


    /* 各中央部分_テキスト_設定 */

    .service_item .text_content {
        width: 33.5rem;
        order: initial;
    }


    /* 各中央部分_画像_設定 */

    .service_item .image_container {
        width: 33.5rem;
        height: 19rem;
        order: initial;
        justify-content: flex-start;
        margin-top: 3rem;
    }

    /* 各中央部分_設定 */

    .image_container {
        width: 33.5rem;
        height: 19rem;
    }


    .service_item .text_content h3 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .service_item .text_content p {
        max-width: 33.5rem;
        font-size: 1.5rem;
    }



    /* 縦書きテキスト_設定 */

    .vertical_title {
        position: absolute;
        top: -4rem;
        right: -3.1rem;
        writing-mode: vertical-rl;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 2rem;
        color: white;
        font-size: 2.4rem;
        font-weight: bold;
        line-height: 1.5;
        z-index: auto;
    }


    .vertical_title span:first-child {
        margin-right: 1rem;
        font-size: 1.5rem;
        font-weight: normal;
    }

    .vertical_title .am1,
    .vertical_title .ho1,
    .vertical_title .it1 {
        font-size: 2rem;
        font-weight: normal;
    }

    .vertical_title .jp,
    .vertical_title .am2,
    .vertical_title .ho2,
    .vertical_title .it2 {
        font-size: 2rem;
        letter-spacing: 0.1em;
    }


    /* 尺玉_グリッド設定 */

    .product_section h2 {
        font-size: 3rem;
        width: auto;
        padding: 5rem 1rem 3rem 1rem;
        margin: 0 auto;
    }

    .product_grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 0 1rem;
        margin: 0 auto 3rem;
    }

    .product_card {
        width: 100%;
    }

    .product_name {
        width: 100%;
        font-size: 1.6rem;
    }


    /* ページナンバー部分_設定 */

    .page_numbers_pagination {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
        padding: 5.8rem 0 10rem 0;
        margin: 0 auto;
    }

    .page_numbers {
        color: #fff;
        text-decoration: none;
        background-color: black;
        width: 4.5rem;
        height: 4.5rem;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 50%;
        font-size: 2rem;
    }

    .page_numbers.current {
        background-color: #fff;
        color: black;
        font-weight: bold;
    }

    .product_section {
        padding-bottom: 0;
    }

}