/* ==============================
   Rakuten Hotel Card
============================== */

.rakuten-hotel-card {
    display: flex;
    width: 100%;
    margin: 32px 0;
    overflow: hidden;

    background: #fff;

    border: 1px solid #e4e4e4;
    border-radius: 10px;

    box-shadow:
        0 2px 10px rgba(0, 0, 0, 0.06);

    box-sizing: border-box;
}


/* ==============================
   Image
============================== */

.rakuten-hotel-card__image-wrap {
    flex: 0 0 260px;
    width: 260px;
}

.rakuten-hotel-card__image-wrap a {
    display: block;
    width: 100%;
    height: 100%;
}

.rakuten-hotel-card__image {
    display: block;

    width: 100%;
    height: 100%;
    min-height: 210px;

    object-fit: cover;
}


/* ==============================
   Body
============================== */

.rakuten-hotel-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;

    min-width: 0;

    padding: 22px 24px;
}


/* ==============================
   Hotel name
============================== */

.post_content .rakuten-hotel-card__name {
    margin: 0 0 12px;
    padding: 0;
    font-size: 1.1em;
    font-weight: 700;
    line-height: 1.5;
}
.post_content .rakuten-hotel-card__name::before{
    display:none;
}
.rakuten-hotel-card__name a {
    color: #222;

    text-decoration: none;

    transition:
        opacity 0.2s ease;
}

.rakuten-hotel-card__name a:hover {
    opacity: 0.7;
}


/* ==============================
   Review
============================== */

.rakuten-hotel-card__review {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    font-size: 15px;
    line-height: 1.5;
}

.rakuten-hotel-card__star {
    margin-right: 5px;
    color: #f5a623;
    font-size: 19px;
}

.rakuten-hotel-card__score {
    font-size: 17px;
    font-weight: 700;

    color: #333;
}

.rakuten-hotel-card__review-count {
    margin-left: 5px;

    color: #777;

    font-size: 13px;

    text-decoration: none;
}

a.rakuten-hotel-card__review-count:hover {
    text-decoration: underline;
}


/* ==============================
   Price
============================== */

.rakuten-hotel-card__price {
    display: flex;
    align-items: baseline;

    gap: 10px;

    margin-bottom: 7px;
}

.rakuten-hotel-card__price-label {
    color: #555;

    font-size: 13px;
}

.rakuten-hotel-card__price-value {
    color: #bf0000;

    font-size: 25px;
    font-weight: 700;
    line-height: 1.3;
}

.rakuten-hotel-card__yen {
    font-size: 14px;
    font-weight: 600;
}


/* ==============================
   Note
============================== */

.rakuten-hotel-card__note {
    margin: 0 0 18px !important;

    color: #888;

    font-size: 11px;
    line-height: 1.6;
}


/* ==============================
   CTA
============================== */

.rakuten-hotel-card__button {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    width: 100%;

    margin-top: auto;

    padding: 13px 20px;

    background: #bf0000;

    border-radius: 6px;

    box-sizing: border-box;

    color: #fff !important;

    font-size: 15px;
    font-weight: 700;

    line-height: 1.5;

    text-align: center;
    text-decoration: none !important;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.rakuten-hotel-card__button:hover {
    opacity: 0.86;

    transform: translateY(-1px);
}

.rakuten-hotel-card__button span {
    font-size: 22px;
    line-height: 1;
}


/* ==============================
   Error
============================== */

.rakuten-hotel-card__error {
    margin: 20px 0;
    padding: 15px;

    background: #fff4f4;

    border: 1px solid #e6b7b7;

    border-radius: 5px;

    color: #a00;

    font-size: 13px;
}


/* ==============================
   Tablet
============================== */

@media screen and (max-width: 768px) {

    .rakuten-hotel-card__image-wrap {
        flex-basis: 220px;
        width: 220px;
    }

    .rakuten-hotel-card__body {
        padding: 18px 20px;
    }

    .rakuten-hotel-card__name {
        font-size: 18px;
    }

}


/* ==============================
   Smartphone
============================== */

@media screen and (max-width: 600px) {

    .rakuten-hotel-card {
        display: block;

        margin: 24px 0;
    }

    .rakuten-hotel-card__image-wrap {
        width: 100%;
    }

    .rakuten-hotel-card__image {
        width: 100%;
        height: 210px;
        min-height: 0;
    }

    .rakuten-hotel-card__body {
        padding: 18px;
    }

    .rakuten-hotel-card__name {
        margin-bottom: 10px;

        font-size: 18px;
    }

    .rakuten-hotel-card__price-value {
        font-size: 24px;
    }

    .rakuten-hotel-card__button {
        padding: 13px 12px;

        font-size: 14px;
    }

}