/* =================================
main
================================== */
.rentalspace-wrapper{
    margin-top: 5rem;
    margin-bottom: 10rem;
}

/* =================================
rental-usage
================================== */
.rs-titleLine{
    margin-bottom: 0.6rem;
}

.rs-mainImgbox__sp{
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.rs-mainImg__sp{
    display: block;
    margin: 0 auto;
    width: 90%;
    max-width: 100%; /* はみ出し防止 */
}

.rs-main-visual-pc{
    display: none;
}

.rs-proposal{
    font-family: 'Noto Serif JP';
    font-size: 2.4rem;
    color: var(--primary-darkbrown,#5A4739);
    font-weight: 700;
    text-shadow: 0 0.4rem 0.4rem rgba(0, 0, 0, 0.25);
    text-align: center;
    margin-top: 5rem;
    line-height: 1.5;
}

.rs-proposal__txt{
    margin-top: 1.2rem;
    line-height: 1.8;
    text-align: center;
}

/* rental-usage 1024PX以上 */
@media (min-width: 1024px) {
    .mugendaiImg img {
        max-width: 80%;
        height: auto;
        display: block;
        margin: 0 auto;
    }

    .rs-mainImgbox__sp{
        display: none;
    }

    .rs-main-visual-pc{
        display: block;
        margin:0;
    }

    .rs-main-visual-pc__images {
        display: flex;
        gap: 1rem;
        justify-content: center;
        background-color: #f5f5f5;
        max-width: 100%; /* 横幅超え防止 */
    }

    .rs-main-visual-pc__images img {
        width: 32%;
        height: auto;
        border-radius: 0.5rem;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        transition: transform 0.3s ease;
    }

    .rs-main-visual-pc__images img:hover {
        transform: translateY(-4px);
    }
}

/* 768px〜1023px */
@media (min-width: 768px) and (max-width: 1023px) {
    .rs-mainImgbox__sp {
        text-align: center;
        width: 100%;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .rs-mainImg__sp {
        display: inline-block;
        width: 80%;
        height: auto;
        margin: 0 auto;
    }
}

/* 〜767px（スマホ） */
@media (max-width: 767px) {
    .rs-mainImgbox__sp,
    .usage-history-list,
    .usage-history__text,
    .mugendaiImg {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .rs-mainImg__sp {
        width: 100%; /* 画面幅いっぱい */
    }

    .usage-history_img img {
        width: 100%; /* はみ出し防止 */
    }
}

/* =================================
usage-history
================================== */
.section--usage-history{
    margin-top: 10rem !important;    
}

.usage-history_box{
    margin-top: 0.6rem;
}

.usage-history_img picture img {
    width: 80%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.usage-history-list {
    padding: 0 2rem;
    list-style: none;
    margin: 0;
}

.usage-history__item {
    margin-bottom: 5rem;
}

.usage-history__item:last-child {
    margin-bottom: 0;
}

.usage-history__text {
    max-width: 800px;
    padding: 0 2rem;
    text-align: left;
}

.usage-history_title {
    font-size: 2rem;
    font-weight: bold;
    margin-top: 1rem;
    text-align: center;
}

.usage-history__text data {
    display: block;
    font-size: 1.4rem;
    color: #666;
    margin-top: 1rem;
}

.usage-history__text-contents {
    line-height: 1.6;
    margin-top: 1rem;
}

.usage-history_img img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

@media (min-width: 1024px) {
    .usage-history__item {
        display: flex;
        gap: 2rem;
        align-items: flex-start;
    }

    .usage-history_img {
        flex: 0 0 40%;
    }

    .usage-history__text {
        flex: 1;
    }

    .usage-history_title {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .usage-history__text-contents {
        font-size: 1.4rem;
        line-height: 1.6;
    }

    data {
        display: block;
        margin-bottom: 0.5rem;
        font-size: 1.2rem;
        color: #666;
    }
}

/* =================================
usage-example
================================== */
.section--usage-example{
    text-align: center;
}

.topic--rentalspace-example {
    display: inline-block;
    padding: 0.3em 0.3em;
    border: 0.3rem solid #782B4D;
    border-radius: 0.8rem;
    position: relative;
    font-weight: bold;
    background-color: #fff;
    margin-bottom: 1rem;
}

.mugendaiImg{
    padding: 2rem;
}

.mugendaiImg img{
    width: 100%;
    height: auto;
    display: block;
}

.rental-intro{
    font-weight: 700;
}

.rental-highlight{
    font-size: 2.4rem;
    color:#86491A;
    letter-spacing: 0.08;
    background-color: #f2f2f2;
    margin-left: 0.5rem;
}

.rs-mugendai{
    font-size: 3.2rem;
    text-shadow: 0 0.4rem 0.4rem rgba(0, 0, 0, 0.25);
    margin-top: 1rem;
}

.rental-intro-sub{
    margin-top: 1rem;
}

@media (min-width: 1024px) {
    .mugendai-text {
        display: flex;
        align-items: center;
        gap: 2rem;
        justify-content: center;
        flex-wrap: wrap;
    }

    .rental-intro,
    .rs-mugendai {
        margin: 0; 
    }
}