.content-wrapper {
    background: url("../../images/pc/service_post_pc/wave.svg") no-repeat center top;
}

.close-btn {
    font-size: 40px;
    background: none;
    border: none;
    cursor: pointer;
    float: right;
    color: #e2e2e2;
}

.menu-content {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
}

.menu-content a {
    padding: 10px 0;
    text-decoration: none;
    color: #747474;
    font-size: 12px;
    font-weight: bold;
}

.card-large {
    background: white;
    margin: 10px 0px;
    overflow: hidden;
    text-align: center;
    border-radius: 20px;
}

.card-large img {
    width: 100%;
    height: 50%;
    object-fit: cover;
    margin: 10px 0;
    max-height: 600px;
}

.pay-group img {
    margin: 0;
}

.pay-group .card-left {
    width: 40%;
}

.card-container {
    text-align: center;
    padding: 8px 18px 45px 18px;
}

.card-content {
    font-size: 12px;
    margin-top: 10px 0;
}

.card-content p {
    margin: 15px 0;
    text-align: left;
}

.card-last-wrapper {
    display: flex;
    flex-direction: row;
    gap: 32px;
    margin: 20px auto;
    justify-content: center;
    width: 100%;
}

.card-left-title {
    display: flex;
    flex-direction: column; /* 横並び→縦並びに変更 */
    align-items: flex-start;
    width: 100%;
    gap: 10px;
    /* justify-content: space-between; */
}

.card-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.card-right {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.card-left-title h2 {
    width: 100%;
    text-align: left;
    font-size: 26px;
}

.card-right-title {
    padding-bottom: 20px;
    text-align: left;
    font-size: 24px;
}

.card-left div {
    display: flex;
    align-items: center;
    font-size: 10px;
    width: 100%;
    gap: 5px;
    margin-bottom: 5px;
}

.card-left img {
    border-radius: 20px;
}

.card-left>div img {
    width: 50%;
    height: 100%;
    flex-shrink: 0;
    margin: 0px;
    border-radius: 20px;
}

.card-left span {
    font-size: 10px;
}

.card-left button {
    float: right;
}

.card-left h3,
.card-left span {
    width: 100%;
    text-align: left;
}

.card-right p {
    width: 100%;
    text-align: left;
    font-size: 16px;
    /* font-weight: bold; */
    line-height: 1.8;
    padding-bottom: 15px;
}

.p-menu-title {
    font-weight: bold;
}

.card-right .p-title {
    font-size: 18px;
    font-weight: bold;
}

.card-right img {
    width: 100% !important;
    height: 100% !important;
}

.card-right {
    /* display: flex; */
}

.card-right-pay {
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-right-pay p {
    margin: 0;
}
.card-right-pay .p-title {
    color: #484848;
}
.card-container-last {
    overflow: hidden;
    display: flex;
    border: 1px solid #00000029;
    border-radius: 20px;
    background-color: #F8F7F7;
    margin-bottom: 20px;
    width: 100%;
}

.card-last-img {
    width: 45% !important;
    height: 100% !important;
    margin: 0 !important;
}

.card-last-content {
    flex: 1;
    padding: 10px;
    /* margin: 0; */
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    justify-content: left;
    align-items: flex-start;
    line-height: 1.2;
}

.card-right>div {
    display: flex;
}

.div-button {
    align-content: center;

}

.button_style {
    background-color: #73E191;
    border-radius: 17px;
    border: #73E191 solid 1px;
    text-align: center;
    color: white;
    padding: 5px 30px;
    font-weight: bold;
}

.mobile-social-link img {
    width: 20px !important;
    height: 20px !important;
    margin-right: 10px !important;
}

.card-last-wrapper-text {
    display: flex;
    flex-direction: row;
    gap: 32px;
    align-items: center;
    padding: 20px 0;
    border-bottom: 2px solid #00000029;
}

.text-div {
    max-width: 85%;
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    margin: 20px auto;
    gap: 32px;
    justify-content: center;
}

.first-text {
    width: 60%;
    background-color: #E2F8E8;
    padding: 10px 0;
    opacity: 1;
    color: #73E191;
    font-size: 24px;
    font-weight: bold;
}

.img-content {
    margin-top: 20px;
}

.map-img {
    width: 60% !important;
    height: 60% !important;
    opacity: 1;
}

.button-div {
    margin: 20px 0 50px 0;
}

.button-div>button {
    background-color: #ACA9A9;
    color: #FFFFFF;
    border-radius: 17px;
    border: #ACA9A9 solid 1px;
}

.card-left-text p {
    width: 100%;
    text-align: left;
    font-size: 18px;
    font-weight: bold;
    color: #484848;
}

hr {
    width: 550px;
}

.pay-group {
    width: 65%;
    margin: 0 auto;
    margin-top: 20px;
}

.card-right-mobile {
    display: none;
}

@media (max-width: 768px) {
    .content-wrapper {
        background: url("../../images/pc/service_post_pc/wave.svg") no-repeat center top;
    }
    .card,
    .card-container,
    .card-last-wrapper,
    .card-left-title,
    .card-last-wrapper-text {
        display: block !important;
    }

    .card-left-text p {
        align-items: start;
        text-align: start;
        font-size: 14px;
    }

    .card-right img {
        margin: 0px;
    }

    .div-button-group {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 10px;
    }

    .card-left button {
        float: left;
        margin-bottom: 10px;
    }

    .card-left-title h2 {
        width: 100%;
        padding-bottom: 15px;
        font-size: 20px;
    }

    .card-right-title {
        font-size: 18px;
    }

    .text-div {
        width: 100%;
    }

    .first-text {
        width: 70%;
        font-size: 18px;
        padding: 10px 20px;
    }

    .map-img {
        width: 100% !important;
    }
    .section {
        max-width: 100% !important;
    }
    .card {
        width: 100%;
        display: flex;
        flex-direction: row !important;
        align-items: stretch;
    }

    .card-title {
        display: block;
        white-space: normal;
        text-align: left;
        word-break: break-word;
        margin: 0;
    }

    .card img {
        width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 10px;
    }

    .card-container {
        display: flex;
        flex: 1;
    }

    .card-content p,
    .card-content div {
        margin-bottom: 0;
    }

    .card-content {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        margin-top: 8px;
        padding: 10px;
    }

    .card-content br {
        display: none;
    }

    .card-desc {
        display: none;
    }

    .btn-link {
        width: -webkit-fill-available;
        border-radius: 50px;
        padding: 5px 30px;
    }

    .btn-link-group img {
        width: 13%;
    }

    .btn-text {
        font-size: 20px;
    }

    .pay-group {
        width: 90%;
        margin: 0 auto;
        margin-top: 20px;
    }

    .card-right-mobile {
        width: 100%;
        display: block;
    }

    .card-right-pc {
        display: none;
    }

    .pay-group .card-left {
        width: 100%;
    }

    .pay-group .card-right {
        width: 88%;
        margin: 0 auto;
    }

    .card-right-pay {
        width: 100%;
    }

    .card-right-pay p {
        /* text-align: center; */
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .card-large {
        margin: 20px auto;
    }

    .card-last-wrapper {
        gap: 20px;
        width: 90%;
    }

    .card-left-title {
        font-size: 18px;
    }

    .button_style {
        font-size: 11px;
        padding: 5px 10px;
    }

    .menu-content a {
        font-size: 13px;
    }

    .card-right p {
        font-size: 15px;
    }

    .btn-text {
        font-size: 22px;
    }

    .card-left-title h2 {
        font-size: 20px;
    }

    .card-right-title {
        font-size: 16px;
    }

    .first-text {
        font-size: 20px;
    }

    .btn-link {
        width: 70%;
        margin: 15px auto;
    }

    .btn-text {
        font-size: 22px;
    }

    .first-text {
        font-size: 20px;
        padding: 10px 60px;
    }

    .map-img {
        width: 80% !important;
    }

    .pay-group {
        width: 80%;
    }

    .card-left-text p,
    .card-right-pay .p-title {
        font-size: 13px;
    }
}

p.p-pickup {
    background: #E2F8E8;
    border-radius: 20px;
    padding: 10px 15px;
    font-size: 20px;
    /* font-weight: bold; */
    width: 90%;
    margin: 15px 0;
}

p.p-parking {
    text-align: center;
    letter-spacing: 0px;
    color: #73E191;
    border: solid;
    border-radius: 20px;
    padding: 0px;
    margin-bottom: 10px;
}

/* クレジットカードロゴのコンテナ */
.credit-card-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

/* 個別のロゴ画像 */
.credit-card-logo {
    width: calc((100% - 50px) / 6); /* 6個横並び用（ギャップを考慮） */
    min-width: 60px;
    max-width: 70px;
    height: auto;
    object-fit: contain;
}

/* スマホ表示用メディアクエリ */
@media screen and (max-width: 768px) {
    .credit-card-logo {
        width: calc((100% - 30px) / 4); /* 4個横並び用（ギャップを考慮） */
        min-width: 45px;
        max-width: 60px;
    }
}

.card-right img {
    object-fit: contain;
}

.card-right-pay p.p-title {
    padding-top: 10px;
}