﻿body {
    font-family: "Noto Serif JP", "Noto Sans JP", serif;
    margin: 0;
    padding: 0;
    background: #fff;
    margin: 0 auto;
}

.main {
    display: flex;
    flex-direction: column;
    gap: 20rem;
    margin: 0 auto;
    font-family: "Noto Serif JP", "Noto Sans JP", serif;
    max-width: 900px;
}

.promo-wrap {
    margin: 0 auto 5rem;
}

.promo-wrap-info {
    text-align: center;
    color: #fff;
    background-color: darkred;
    width: 100%;
    margin-bottom: 5rem;
    padding: 3rem;
}

.promo-title {
    position: relative;
    display: inline-block;
    margin-bottom: 0.5rem;
    padding: 6px 22px;
    font-weight: 700;
    font-size: 4.8rem;
    /* レスポンシブ */
    line-height: 1.05;
    color: #6b3f25;
    letter-spacing: 0.02em;
}

.promo-title::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 85%;
    transform: translate(-50%, -50%);
    width: 92%;
    height: 15px;
    background: #e8d4bf;
    border-radius: 4px;
    z-index: 0;
}

.promo-title span {
    position: relative;
    z-index: 1;
    padding: 0 6px;
    background: transparent;
}

.promo-sub {
    font-size: clamp(14px, 1.6vw, 18px);
    color: #5b5b5b;
    letter-spacing: 0.02em;
}

.member-benefit-con section {
    display: flex;
    flex-direction: column;
    margin-bottom: 8rem;
}

.member-benefit-con section:last-child {
    margin-bottom: 0rem;
}

/* ----------------------------------------------------------------------------------------- */
.member-registration-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 1rem;
    grid-row-gap: 2rem;
}

/* ----------------------------------------------------------------------------------------- */


article:nth-child(2) section div {
    display: flex;
    flex-direction: column;
    gap: 8rem;
}

h2 {
    font-size: 4.6rem;
}

h3 {
    text-align: center;
    font-size: 2rem;
}

h4 {
    font-size: 4.4rem;
    font-weight: bold;
}

.item-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 1fr);
    grid-column-gap: 1rem;
    grid-row-gap: 2rem;
    background-color: blanchedalmond;
    padding: 20px;
}

.item-list-con {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: #000;
    text-decoration: none;
}

.item-list-con:hover {
    opacity: 0.6;
}

.item-list-con img {
    aspect-ratio: 1/1;
    border: 1px solid #808080;
}

.item-list-con p {
    font-size: 1.4rem;
}

/* ----------------------------------------------------------------------------------------- */
.regular-purchase-list {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 1rem;
    grid-row-gap: 2rem;
}

/* ----------------------------------------------------------------------------------------- */
.application-list-con {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.application-list-con div p,
.application-list-con p {
    font-size: 2rem;
    text-align: start;
    font-weight: bold;
    color: #6b3f25
}

.application-list-con div p:nth-child(2) {
    font-size: 1.4rem;
    margin-top: 1rem;
}

/* ----------------------------------------------------------------------------------------- */
.last-phrase-deco {
    display: flex;
    justify-content: center;
    margin-top: 5rem;
    height: 11rem;
}

.last-phrase {
    text-align: center;
    font-size: 5rem;
    font-weight: bold;
    color: #6b3f25;
    position: relative;
    margin: 2rem 1rem;
}

.sp-on {
    display: none;
}

@media screen and (max-width: 767px) {
    .main {
        gap: 5rem;
    }

    .promo-wrap {
        margin:0 auto 1rem;
    }

    .promo-wrap-info {
        margin-bottom: 2rem;
        padding: 1rem;
    }

    .promo-wrap-info p {
        font-size: 1.1rem;
    }

    .promo-title {
        font-size: 1.6rem;
    }

    .member-benefit-con section {
        margin-bottom: 3rem;
    }

    .member-benefit-con section:last-child {
        margin-bottom: 0rem;
    }

    h2 {
        margin-bottom: 1rem;
        font-size: 2.6rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    h4 {
        font-size: 2.4rem;
    }

    article:nth-child(2) section div {
        gap: 2rem;
    }

    .application-list-con {
        flex-direction: column;
    }

    .application-list-con div p, .application-list-con p {
        font-size: 1.3rem;
    }

    .application-list-con img {
        width: 90%;
        margin: 1rem auto 0;
    }

    .last-phrase-deco {
        height: 3rem;
        margin-top: 2rem;
    }

    .last-phrase {
        font-size: 2rem;
        margin: 0 1rem;
    }

    .sp-on {
        display: block;
    }
}