@charset "UTF-8";

/* ==========================================================================
   1. Base & SP Layout (Default)
   ========================================================================== */

html {
    scroll-behavior: smooth;
}

.rentacar-body {
    background-color: #fff;
    margin: 0;
}

.rentacar-lp {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    font-family: "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #fff;
    padding-bottom: 3rem;
    box-shadow: none;
}

.rentacar-lp img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

/* ==========================================================================
   2. Components (Common)
   ========================================================================== */

.breadcrumb {
    padding: 10px 15px;
    background-color: #fff;
    border-bottom: 1px solid #e5e5e5;
}
.breadcrumb ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.breadcrumb li {
    display: flex;
    align-items: center;
    font-size: 0.75rem;
    color: #666;
    line-height: 1.2;
}
.breadcrumb li a {
    color: #666;
    text-decoration: none;
}
.breadcrumb li a:hover {
    text-decoration: underline;
    opacity: 0.8;
}

.breadcrumb li:not(:last-child)::after {
    content: "＞";
    margin: 0 0.5em;
    color: #999;
    font-size: 0.7rem;
}

.rentacar-nav {
    background-color: #fff;
    width: 100%;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #eee;
}

.rentacar-nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.rentacar-nav li {
    flex: 1;
    width: 33.333%;
}

.rentacar-nav li a {
    display: block;
    line-height: 0;
}

.rentacar-cv {
    text-align: center;
    margin: 2rem 0;
    padding: 0 10px;
}

.rentacar-cv.-bottom {
    margin-bottom: 2.5rem;
}

.rentacar-cv a {
    display: inline-block;
    transition: opacity 0.3s;
    width: 100%;
    max-width: 100%;
}

.rentacar-cv a:hover {
    opacity: 0.8;
}

.cv-note {
    font-size: 0.75rem;
    color: #666;
    margin-top: -1.4rem;
    text-align: center;
    line-height: 1.4;
}

.rentacar-section {
    padding: 2rem 1rem;
    text-align: center;
}

#service,
#campaign,
#period {
    scroll-margin-top: 100px;
}


#campaign {
    background-image: url("../img/bg_campaign_area.png");
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: top center;
    padding-bottom: 4rem;
}

@media screen and (max-width: 767px) {
    .rentacar-section {
        padding: 1.5rem 1rem;
    }

.breadcrumb {
        padding: 8px 10px;
    }
    .breadcrumb li {
        font-size: 0.75rem;
    }
    .breadcrumb li:not(:last-child)::after {
        margin: 0 0.3em;
    }

    #campaign {
        padding-bottom: 25vw;
    }

    /* SPではナビが少し小さくなる可能性があるため調整（任意） */
    #service,
    #campaign,
    #period {
        scroll-margin-top: 90px;
    }
}

.section-title-img {
    text-align: center;
    margin: 0 auto 1.5rem auto;
    line-height: 1;
}

.section-title-img img {
    max-width: 90%;
    height: auto;
}

@media screen and (max-width: 767px) {
    .section-title-img img {
        max-width: 95%;
    }
}

.section-title-img.-overlap {
    margin-bottom: -1.8rem;
    position: relative;
    z-index: 5;
}

.campaign-box {
    background-color: #fff;
    border: 2px solid #00559f;
    border-radius: 10px;
    padding: 2.5rem 1rem 1.5rem 1rem;
    text-align: left;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.campaign-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.campaign-list li {
    position: relative;
    padding-left: 1em;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

.campaign-list li::before {
    content: "●";
    color: #00559f;
    position: absolute;
    left: 0;
    top: 0.1em;
    font-size: 0.8em;
}

.campaign-list .note {
    display: block;
    font-size: 0.8rem;
    margin-top: 0.4rem;
    color: #666;
    line-height: 1.4;
}

.campaign-note {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: #333;
    line-height: 1.5;
}

.service-content,
.period-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.contact-area {
    padding: 1rem 1.5rem;
    margin-top: 1rem;
    text-align: left;
    font-size: 0.85rem;
    background-color: #fff;
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-text {
    margin: 0 0 0.4rem 0;
    font-weight: normal;
    color: #333;
}

.contact-link {
    color: #00559f;
    text-decoration: underline;
    font-weight: bold;
    word-break: break-all;
    line-height: 1.5;
    display: inline-block;
}

.contact-link:hover {
    text-decoration: none;
    opacity: 0.8;
}

@media screen and (max-width: 767px) {
    .campaign-list li {
        font-size: 1.4rem;
    }
    .campaign-list .note {
        font-size: 1.2rem;
    }
    .campaign-note {
        font-size: 1.4rem;
    }

    .cv-note {
        font-size: 1.1rem;
    }

    .contact-area {
        font-size: 1.5rem;
    }
}

/* ==========================================================================
   3. PC Layout (min-width: 768px)
   ========================================================================== */
@media screen and (min-width: 768px) {

    /* PC用背景画像を設定 */
    .rentacar-body {
        background-image: url("../img/bg_pc.png");
        background-position: center top;
        background-repeat: repeat-y;
        background-size: 100% auto;
        background-attachment: fixed;
        background-color: #f0f8ff;
    }

    .rentacar-lp {
        max-width: 500px;
        box-shadow: 0 0 15px rgba(0,0,0,0.1);
    }

}