* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans JP', sans-serif;
}

p {
    margin-bottom: 0;
}

ol,
ul,
dl {
    margin-bottom: 0;
}

#onebox {
    color: #333333;
    line-height: 1.6;
    background-color: #f9f9f9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero {
    height: 80vh;
    position: relative;
    color: white;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

.hero-content {
    max-width: 1000px;
    padding: 0 20px;
    position: absolute;
    z-index: 2;
    text-align: center;
    margin: 0 auto;
    top: 50%;
    left: 50%;
    width: 80%;
    transform: translate(-50%, -50%);
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #ff9900;
    color: #ffffff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn:hover {
    background-color: #ff6600;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: #ff6600;
}

.features {
    background-color: #ffffff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: #f5f5f5;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}


.feature-icon {
    font-size: 40px;
    color: #ff6600;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.feature-description {
    color: #666;
}

.car-models {
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

.car-models::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.web-rentacar.com/img/b2c/campaign/okinawa_onebox/car-models_bg.jpg') center/cover;
    opacity: 0.5;
    z-index: 0;
}

.car-models-content {
    position: relative;
    z-index: 1;
}

.car-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.car-card {
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.car-image {
    height: 160px;
    overflow: hidden;
}

.car-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom;
    display: block;
}

.car-content {
    padding: 20px;
}

.car-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.car-specs {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.car-spec {
    display: flex;
    align-items: center;
}

.car-spec-icon {
    margin-right: 5px;
    color: #0066cc;
}

.helpfull {
    background: linear-gradient(135deg, #00a0e9 0%, #3498db 100%);
    color: #ffffff;
}

.helpfull-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
}

.helpfull-card {
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.helpfull-card:hover {
    transform: translateY(-10px);
}

.helpfull-card a {
    text-decoration: none;
    color: #ffffff;
}

.helpfull-card a:hover {
    opacity: 0.9;
}

.helpfull-image {
    height: 100px;
    overflow: hidden;
}

.helpfull-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.helpfull-content {
    padding: 15px;
    font-size: 0.8em;
}

.helpfull-title {
    font-size: 1.0rem;
    margin-bottom: 5px;
}


.booking-steps {
    background-color: #f5f5f5;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.step-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.step-number {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 40px;
    height: 40px;
    background-color: #ff6600;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.step-icon {
    font-size: 40px;
    color: #0066cc;
    margin-bottom: 20px;
}


.testimonials {
    background-color: #f2e6d9;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 60px;
    color: #ddd;
    z-index: 0;
}

.testimonial-content {
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    background-color: #ddd;
    overflow: hidden;
    flex-shrink: 0;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.author-info h4 {
    margin-bottom: 5px;
}

.author-info p {
    color: #666;
    font-size: 0.9rem;
}

.spots {
    background-color: #ffffff;
}

.spots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.spot-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.spot-image {
    height: 200px;
    overflow: hidden;
}

.spot-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.spot-content {
    padding: 20px;
    background-color: #ffffff;
}

.spot-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.spots h3.section-subtitle {
    text-align: center;
    margin-bottom: 30px;
}

.faq {
    background-color: #f5f5f5;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.faq-item {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
}

.faq-answer {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.hidden {
    display: none;
}

.faq-more-btn {
    display: block;
    margin: 30px auto 0;
    padding: 12px 30px;
    background-color: #0066cc;
    color: #ffffff;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.faq-more-btn:hover {
    background-color: #ff6600;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.faq-more-btn.hidden {
    display: none;
}

.faq-question p:before {
    content: "Q.";
    margin-right: 5px;
    color: #0066cc;
}

p.answer {
    font-weight: 600;
}

p.answer:before {
    content: "A.";
    margin-right: 5px;
    color: #F44336;
}

.faq-answer p {
    white-space: pre-line;
}

.cta {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://www.web-rentacar.com/img/b2c/campaign/okinawa_onebox/slide02.jpg') center/cover;
    text-align: center;
    color: #ffffff;
}

.cta-content {
    max-width: 1000px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

@media screen and (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .price-amount {
        font-size: 2rem;
    }
}


/* Intro text section */
.intro-text {
    background-color: #ffffff;
    padding: 60px 0;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.8;
    font-size: 1.1rem;
}

.intro-content p:first-child {
    margin-bottom: 20px;
}

.intro-content p:last-child {
    color: #666;
}

/* Search form */
.search-section {
    background: linear-gradient(135deg, #f2e6d9 0%, #fff 100%);
    padding: 60px 0;
}

.search-form {
    max-width: 900px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.search-form-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.5rem;
    color: #333333;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr auto;
    gap: 15px;
    align-items: end;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #333333;
    font-size: 14px;
}

.form-group input,
.form-group select {
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #0066cc;
}

.search-btn {
    padding: 12px 25px;
    background-color: #ff6600;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    height: 48px;
}

.search-btn:hover {
    background-color: #ff9900;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.note {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    width: fit-content;
    margin: 40px auto 0;
}

.note h3 {
    text-align: center;
    margin-bottom: 20px;
}

.note ul {
    list-style-type: none;
    padding-left: 20px;
}

.note ul .li {
    margin-bottom: 10px;
}

.note ul .li:last-child {
    margin-bottom: 0;
}

.spot-info {
    text-align: center;
    margin-top: 40px;
}

.spot-info p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.pc-only {
    display: block;
}

.sp-only {
    display: none;
}

.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    z-index: 100;
    padding: 12px 30px;
    background-color: #ff9900;
    color: #ffffff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.floating-cta:hover {
    background-color: #ff6600;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    color: #212529;
    text-decoration: none;
}

@media screen and (max-width: 768px) {
    .pc-only {
        display: none;
    }

    .sp-only {
        display: block;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .search-form {
        padding: 30px 20px;
    }

    .car-grid {
        gap: 20px;
    }

    .car-card {
        display: flex;
    }

    .car-image img {
        object-fit: contain;
        object-position: 0 30%;
    }

    .hero-slider img {
        width: auto;
    }

    .step-number {
        top: -10px;
        left: -10px;
    }

    footer .container {
        padding: 0;
    }

    .cta h2 {
        font-size: 1.4rem;
    }

    .spots-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
    }

    /* プレースホルダーの色指定 */
    input::placeholder {
        color: #aaa !important;
        opacity: 1;
    }

    /* iOSのデフォルトスタイルを無効化 */
    .form-group input,
    .form-group select {
        -webkit-appearance: none;
        appearance: none;
        padding: 12px 15px;
        border: 2px solid #ddd;
        border-radius: 8px;
        font-size: 16px;
        transition: border-color 0.3s;
        background-color: #fff;
        width: 100%;
        box-sizing: border-box;
    }

    /* selectの矢印をカスタマイズ */
    .form-group select {
        background-image: url('data:image/svg+xml;utf8,<svg fill="%23333" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
        background-repeat: no-repeat;
        background-position: right 10px center;
        background-size: 12px;
        padding-right: 30px;
    }

    input[type="text"] {
        -webkit-appearance: none;
        appearance: none;
    }
}

@media (min-width: 992px) {
    .f-bg {
        margin-top: 0;
    }
}