/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

div#outer {
    max-width: unset;
}

html {
    scroll-behavior: smooth;
}

/* 基本設定 */
body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: #7c181c;
    line-height: 1.8;
    overflow-x: hidden;
}

img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contents {
    width: 100vw;
    overflow-x: hidden;
    color: white;
}

.pc {
    display: block;
}

.sp {
    display: none;
}

/* セクション共通 */
section {
    width: 100%;
    overflow-x: hidden;
}

/* ヒーローセクション */
.hero {
    background-image: url('../images/fv.jpg');
    background-size: cover;
    background-position: center;
    width: 100vw;
    height: 48.611vw;
    position: relative;
    padding-top: 24.306vw;
    padding-left: 40.486vw;
}

.hero__title {
    color: white;
    font-size: 2.222vw;
    font-weight: bold;
    line-height: 1.6;
    letter-spacing: 0.1em;
    width: fit-content;
    padding: 0;
}

/* アバウトセクション */
.about {
    background-color: #221815;
    width: 100vw;
    padding: 8.333vw 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.778vw;
    position: relative;
}

.about__row {
    width: 77.986vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.about__text-wrap {
    width: 40.972vw;
    display: flex;
    flex-direction: column;
    gap: 2.778vw;
}

.about__title {
    font-size: 2.5vw;
    font-weight: bold;
    line-height: 1.8;
    letter-spacing: 0.1em;
    padding: 0;
}

.about__text {
    font-size: 1.25vw;
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: 0.22em;
}

.about__image-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2.778vw;
}

.about__image {
    width: 29.167vw;
    height: 12.778vw;
}

.about__image:nth-child(2) {
    margin-left: 5.486vw;
}

.o_btn {
    width: 22.222vw;
    height: 5.694vw;
    color: white;
    border: 2px solid white;;
    background-color: transparent;
    display: inline-block;
    font-size: 1.667vw;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0.08em;
    position: relative;
    text-decoration: none;
    border-radius: 1.111vw;
    padding: 1.667vw 7.431vw 1.667vw 5.556vw;
    position: relative;
    margin: 0 auto;
}

.o_btn::after {
    content: '';
    width: 1.667vw;
    height: 1.667vw;
    position: absolute;
    top: 2.014vw;
    right: 5.556vw;
    background-image: url('../images/arrow-white.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.feature {
    width: 100vw;
    padding: 8.333vw 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5.556vw;
    position: relative;
    background-color: #7c181c;
}

.feature__title {
    font-size: 1.667vw;
    font-weight: 600;
    line-height: 1.8;
    letter-spacing: 0.15em;
    text-align: center;
    padding: 0;
}

.feature__row {
    width: 77.778vw;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 5.556vw;
}

.feature__item {
    background-color: white; 
    padding: 2.778vw 5.556vw;
    display: flex;
    flex-direction: column;
    gap: 5.556vw;
}

.feature__item-product {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.feature__item-product-image {
    width: 32.083vw;
    height: 34.722vw;
}

.feature__item-product-text-wrap {
    width: 32.083vw;
    display: flex;
    flex-direction: column;
    gap: 1.667vw;
}

.feature__item-product-title {
    color: black;
    font-family: "Noto Sans JP",sans-serif;
    font-size: 1.944vw;
    font-weight: bold;;
    line-height: 1.8;
    letter-spacing: 0.128em;
    padding: 0;
}

.feature__item-product-text {
    color: black;
    font-size: 1.25vw;
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: 0.22em;
}

.feature__item-image {
    width: 69vw;
    height: 30.278vw;
}

.other {
    width: 100vw;
    padding: 0 0 8.333vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5.556vw;
    background-color: #7c181c;
}

.other__row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 11.111vw;
}

.other__row--reverse {
    flex-direction: row-reverse;
    padding-right: 0;
    padding-left: 11.111vw;
}

.other__image {
    width: 40.556vw;
    height: 31.319vw;
}

.other__text-wrap {
    width: 42.778vw;
    display: flex;
    flex-direction: column;
    gap: 1.667vw;
}

.other__title {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 1.944vw;
    font-weight: bold;
    line-height: 1.8;
    letter-spacing: 0.128em;
    padding: 0;
}

.other__text {
    font-size: 1.389vw;
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: 0.2em;
}

.product {
    width: 100vw;
    padding: 8.333vw 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5.556vw;
    background-color: #024E34;
}

.product__title {
    font-size: 1.667vw;
    font-weight: bold;
    line-height: 1.8;
    letter-spacing: 0.15em;
    text-align: center;
    padding: 0;
}

.product__row {
    width: 66.667vw;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 5.556vw;
}

.product__item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.product__item--reverse {
    flex-direction: row-reverse;
}

.product__image {
    width: 29.514vw;
    height: 31.944vw;
}

.product__info {
    width: 33.819vw;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2.778vw;
}

.product__info-row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product__price-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.556vw;
}

.product__price-date {
    font-size: 1.389vw;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0.18em;
    border: 1px solid white;
    border-radius: 0.278vw;
    width: fit-content;
    padding: 0.278vw 1.111vw;
}

.product__price-title {
    font-size: 1.25vw;
    font-weight: 300;
    line-height: 1.6;
    letter-spacing: 0;
}

.product__price-title span {
    font-size: 1.944vw;
    font-weight: bold;
}

.product__price-text {
    font-size: 4.167vw;
    font-weight: bold;
    line-height: 1;
    letter-spacing: 0;
}

.product__price-text span {
    font-size: 1.667vw;
    font-weight: 400;
    display: inline-block;
    margin-left: 0.556vw;
}

.product__quantity {
   background-color:#7C181C;
   padding: 1.389vw;
}

.product__quantity p {
    font-size:1.111vw;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0;
    text-align: center;
}

.product__quantity p span {
    font-size: 4.167vw;
    font-weight: bold;
    letter-spacing: 0;
}

.product__info-text {
    width: 31.111vw;
    font-size: 1.389vw;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0.18em;
}

.product__info-text span {
    font-size: 1.25vw;
}

.product__button-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.556vw;
}

.product__button-text {
    font-size: 1.528vw;
    font-weight: bold;
    line-height: 1.4;
    letter-spacing: 0.163em;
}

.product__button {
    width: 32.361vw;
    background-color: white;
    color: black;
    padding: 1.667vw 12.5vw 1.667vw 10.625vw;
}

.product__button::after {
    right: 10.625vw;
    background-image: url('../images/arrow.png');
}

/* レスポンシブデザイン */
@media (max-width: 780px) {
       
    .pc {
        display: none;
    }

    .sp {
        display: block;
    }

    .contents {
        width: 100vw;
    }

    /* セクション共通 */
    section {
        width: 100%;
        overflow-x: hidden;
    }

    /* ヒーローセクション */
    .hero {
        background-image: url('../images/sp-fv.jpg');
        background-size: cover;
        background-position: center;
        width: 100vw;
        height: 172.133vw;
        padding-top: 83.2vw;
        padding-left: 23.2vw;
    }

    .hero__title {
        font-size: 6.4vw;
    }

    /* アバウトセクション */
    .about {
        width: 100vw;
        padding: 16vw 0;
        display: flex;
        flex-direction: column;
        gap: 16vw;
    }

    .about__row {
        width: 93.333vw;
        display: flex;
        flex-direction: column;
        gap: 10.667vw;
        align-items: center;
    }

    .about__text-wrap {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 10.667vw;
    }

    .about__title {
        font-size: 6.933vw;
    }

    .about__text {
        font-size: 4.267vw;
    }

    .about__image-wrap {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 6.4vw;
    }

    .about__image {
        width: 112vw;
        height: 49.067vw;

        width: 93.333vw;
        height: 40.889vw;
    }

    .about__image:nth-child(2) {
        margin-left: 0;
    }

    .o_btn {
        width: 85.333vw;
        height: 21.867vw;
        display: inline-block;
        font-size: 6.4vw;
        position: relative;
        border-radius: 4.267vw;
        padding: 6.4vw 28.533vw 6.4vw 21.333vw;
        position: relative;
        margin: 0 auto;
    }

    .o_btn::after {
        content: '';
        width: 6.4vw;
        height: 6.4vw;
        position: absolute;
        top: 7.733vw;
        right: 21.333vw;
    }

    .feature {
        width: 100vw;
        padding: 16vw 0;
        display: flex;
        flex-direction: column;
        gap: 16vw;
    }

    .feature__title {
        font-size: 5.333vw;
    }

    .feature__row {
        width: 93.333vw;
    }

    .feature__item {
        padding: 6.4vw 5.333vw 10vw;
        gap: 6.4vw;
    }

    .feature__item-product {
        flex-direction: column;
        gap: 10.667vw;
    }

    .feature__item-product-image {
        width: 82.667vw;
        height: 89.467vw;
    }

    .feature__item-product-text-wrap {
        width: 82.667vw;
    }

    .feature__item-product-text-wrap {
        width: 100%;
    }

    .feature__item-product-title {
        font-size: 6.4vw;
    }

    .feature__item-product-text {
        font-size: 4.267vw;
    }

    .feature__item-image {
        width: 84vw;
        height: 37.547vw;
    }

    .other {
        margin: 0 auto;
        width: 93.333vw;
        gap: 16vw;
    }

    .other__row {
        width: 93.333vw;
        flex-direction: column;
        padding-right: 0;
        gap: 10.667vw;
    }

    .other__row--reverse {
        flex-direction: column;
        padding-left: 0;
        padding-right: 0;
        gap: 10.667vw;
    }

    .other__image {
        width: 93.333vw;
        height: 71.68vw;
    }

    .other__text-wrap {
        width: 93.333vw;
    }

    .other__title {
        font-size: 6.4vw;
    }

    .other__text {
        font-size: 4.267vw;
    }
        
    .product {
        width: 100vw;
        padding: 16vw 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 13.333vw;
    }

    .product__title {
        font-size: 5.333vw;
    }

    .product__row {
        width: 93.333vw;
    }

    .product__item {
        width: 100%;
        flex-direction: column;
        gap: 10.667vw;
    }

    .product__item--reverse {
        flex-direction: column;
        gap: 10.667vw;
    }

    .product__image {
        width: 93.333vw;
        height: 101.013vw;
    }

    .product__info {
        width: 100%;
        gap: 10.667vw;
    }

    .product__info-row {
        align-items: flex-start;
    }

    .product__price-wrap {
        gap: 2.133vw;
    }

    .product__price-date {
        font-size: 4.267vw;
        padding: 1.067vw 4.267vw;
    }

    .product__price-title {
        font-size: 3.733vw;
    }

    .product__price-title span {
        font-size: 6.4vw;
    }

    .product__price-text {
        font-size: 10.667vw;
    }

    .product__price-text span {
        font-size: 4.267vw;
    }

    .product__quantity {
        padding: 2.667vw;
    }

    .product__quantity p {
        font-size: 4.267vw;
    }

    .product__quantity p span {
        font-size: 9.067vw;
    }

    .product__info-text {
        width: 100%;
        font-size: 4.267vw;
    }

    .product__info-text span {
        font-size: 3.733vw;
    }

    .product__button-wrap {
        gap: 2.133vw;
    }

    .product__button-text {
        font-size: 3.733vw;
    }

    .product__button {
        width: 85.333vw;
        padding: 6.4vw 28.533vw 6.4vw 21.333vw;
    }

    .product__button::after {
        right: 21.333vw;
    }
}



/* モーダル */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal__close {
    position: absolute;
    top: 2.778vw;
    right: 4.167vw;
    color: #333;
    font-size: 4.167vw;
    font-weight: 300;
    cursor: pointer;
    z-index: 10000;
    transition: color 0.3s ease;
    line-height: 1;
}

.modal__close:hover {
    color: #666;
}

.modal__content {
    max-width: 90%;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
    border-radius: 0.556vw;
}

@keyframes zoomIn {
    from {
        transform: scale(0.7);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal__caption {
    position: absolute;
    bottom: 2.778vw;
    left: 50%;
    transform: translateX(-50%);
    color: #333;
    font-size: 1.389vw;
    text-align: center;
    padding: 1.111vw 2.778vw;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 0.556vw;
    max-width: 80%;
}

/* レスポンシブ対応 */
@media (max-width: 780px) {
    /* SP表示時の.feature__item-image画像をクリック可能に */
    .feature__item-image {
        position: relative;
    }

    .feature__item-image img {
        cursor: pointer;
    }

    /* 虫眼鏡アイコン */
    .feature__item-image::after {
        content: '\f002';
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        color: #333;
        position: absolute;
        bottom: -8vw;
        right: 2.667vw;
        font-size: 6vw;
        display: flex;
        align-items: center;
        justify-content: center;
        pointer-events: none;
    }

    .modal__close {
        top: 5.333vw;
        right: 8vw;
        font-size: 10.667vw;
    }

    .modal__content {
        max-width: 95%;
        max-height: 80vh;
        border-radius: 2.133vw;
    }

    .modal__caption {
        bottom: 5.333vw;
        font-size: 4.267vw;
        padding: 2.667vw 5.333vw;
        border-radius: 2.133vw;
    }
}
