/* =================================================
    共通レスポンシブ
================================================= */

/* タブレット */
@media (min-width: 769px) and (max-width: 1024px) {
    html {
        font-size: 15.5px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    p {
        font-size: 1.05rem;
    }

    main {
        max-width: 90%;
        margin: 0 auto;
        gap: 60px;
        padding: 0 15px;
    }

    header nav ul {
        gap: 20px;
    }
}

/* スマホ */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    h1 {
        font-size: 1.6rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    p {
        font-size: 1rem;
    }

    main {
        gap: 40px;
        padding: 0 10px;
    }

    header nav ul {
        flex-direction: column;
        gap: 10px;
    }
}

/* =================================================
    ヘッダー
================================================= */

/* タブレット */
@media (min-width: 769px) and (max-width: 1024px) {

    .header-container {
        height: 60px;
        padding: 0 20px;
    }

    .logo img {
        width: 150px;
    }

    .header-nav ul {
        display: none;
    }

    .header-action {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .responsive-menu {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: calc(100vh - 60px);
        background: #fff;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        padding-top: 40px;
        transform: translateY(100%);
        opacity: 0;
        transition: 0.4s ease;
        z-index: 999;
    }

    .responsive-menu.open {
        transform: translateY(0);
        opacity: 1;
    }

    .responsive-menu ul {
        list-style: none;
        text-align: center;
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .responsive-menu ul li {
        margin-bottom: 26px;
        width: 100%;
    }

    .header-link {
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        width: 100%;
        padding: 14px 16px;
        text-decoration: none;
        font-size: 1.4rem;
        font-weight: 600;
        border-bottom: 1px solid #ddd;
        color: inherit;
    }

    .header-link span {
        text-align: center;
        width: 100%;
    }

    .header-link .header-icon {
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
        width: 20px;
        height: 20px;
    }
}

/* スマホ */
@media (max-width: 768px) {

    .header-container {
        height: 60px;
        padding: 0 16px;
    }

    .logo img {
        width: 130px;
    }

    .header-nav ul {
        display: none;
    }

    .header-action {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .responsive-menu {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: calc(100vh - 60px);
        background: #fff;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        padding-top: 40px;
        transform: translateY(100%);
        opacity: 0;
        transition: 0.4s ease;
        z-index: 999;
    }

    .responsive-menu.open {
        transform: translateY(0);
        opacity: 1;
    }

    .responsive-menu ul {
        list-style: none;
        text-align: center;
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .responsive-menu ul li {
        margin-bottom: 26px;
        width: 100%;
    }

    .header-link {
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        width: 100%;
        padding: 14px 16px;
        text-decoration: none;
        font-size: 1.4rem;
        font-weight: 600;
        border-bottom: 1px solid #ddd;
        color: inherit;
    }

    .header-link span {
        text-align: center;
        width: 100%;
    }

    .header-link .header-icon {
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
        width: 20px;
        height: 20px;
    }
}

/* =================================================
    フッター
================================================= */

/* タブレット */
@media (min-width: 769px) and (max-width: 1024px) {

    footer {
        margin-top: 60px;
        padding-top: 32px;
    }

    .footer-container {
        flex-direction: column;
        gap: 28px;
        padding: 0 20px 32px;
    }

    .footer-logo img {
        width: 160px;
    }

    .footer-nav ul li {
        margin-bottom: 14px;
        width: 100%;
    }

    .footer-link {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 14px 0;
        text-decoration: none;
        border-bottom: 1px solid #ddd;
        color: inherit;
    }

    .footer-icon {
        width: 20px;
        height: 20px;
        display: block;
        font-size: 1.05rem;
    }

    .footer-company address {
        font-size: 1rem;
    }
}

/* スマホ */
@media (max-width: 768px) {

    footer {
        margin-top: 60px;
        padding-top: 32px;
        padding-bottom: 80px;
    }

    .footer-container {
        flex-direction: column;
        gap: 28px;
        padding: 0 20px 32px;
    }

    .footer-logo img {
        width: 140px;
    }

    .footer-nav ul li {
        margin-bottom: 14px;
        width: 100%;
    }

    .footer-link {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 14px 0;
        text-decoration: none;
        border-bottom: 1px solid #ddd;
        color: inherit;
    }

    .footer-icon {
        width: 20px;
        height: 20px;
        display: block;
        font-size: 1.05rem;
    }

    .footer-company address {
        font-size: 1rem;
    }
}

/* =================================================
    ファーストビュー
================================================= */

/* タブレット */
@media (min-width: 769px) and (max-width: 1024px) {

    .fv {
        height: 80vh;
    }

    .fv-title {
        font-size: 2.4rem;
        margin-bottom: 12px;
    }

    .fv-sub {
        font-size: 1.1rem;
    }

    .fv-button {
        display: inline-block;
        margin-top: 20px;
        padding: 10px 24px;
        font-size: 1rem;
        background-color: #06c755;
        color: #fff;
        border-radius: 4px;
        text-decoration: none;
        font-weight: 600;
    }
}

/* スマホ */
@media (max-width: 768px) {

    .fv {
        height: 75vh;
    }

    .fv-video {
        width: 120%;
        height: 120%;
    }

    .fv-title {
        font-size: 1.6rem;
        line-height: 1.4;
        margin-bottom: 10px;
    }

    .fv-sub {
        font-size: 1rem;
        opacity: 0.85;
    }

    .fv-title-br {
        display: block;
        margin-top: 0.2em;
    }

    .fv-bottom-band {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 16px 0;
        background-color: #06c755;
        color: #fff;
        text-align: center;
        font-weight: 700;
        font-size: 1.2rem;
        text-decoration: none;
        z-index: 20;
        box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.15);
    }

    .fv-action .fv-bottom-band .icon-wrapper::before {
        content: '';
        display: inline-block;
        width: 1px;
        height: 24px;
        background-color: #fff;
        margin: 0 8px;
        vertical-align: middle;
    }

    .fv-action .fv-bottom-band .icon-wrapper img {
        display: inline-block;
        vertical-align: middle;
        width: 20px;
        height: 20px;
    }

    /* 画面下の安全マージン（iPhoneなどのノッチ対策） */
    @supports(padding: env(safe-area-inset-bottom)) {
        .fv-bottom-band {
            padding-bottom: calc(16px + env(safe-area-inset-bottom));
        }
    }
}

/* =================================================
    TripWell
================================================= */

/* タブレット */
@media (min-width: 769px) and (max-width: 1024px) {
    .tripwell-bg {
        height: 55vh;
    }

    .tripwell-title {
        font-size: 2rem;
    }

    .tripwell-main {
        font-size: 1.2rem;
    }

    .tripwell-items {
        gap: 32px;
        margin-top: -18.5vh;
    }

    .tripwell-item {
        width: 45%;
        max-width: none;
    }

    .tripwell-item img {
        height: 260px;
        max-width: 100%;
    }

    .tripwell-item h3 {
        font-size: 1.3rem;
    }
}

/* スマホ */
@media (max-width: 768px) {
    .tripwell-bg {
        height: 45vh;
    }

    .tripwell-text {
        padding: 0 10px;
    }

    .tripwell-title {
        font-size: 1.8rem;
    }

    .tripwell-main {
        font-size: 1.05rem;
    }

    .tripwell-sub {
        font-size: 0.9rem;
    }

    .tripwell-items {
        flex-direction: column;
        align-items: center;
        gap: 32px;
        margin-top: -12.5vh;
        padding: 0 10px;
    }

    .tripwell-item {
        width: 100%;
        max-width: 380px;
    }

    .tripwell-item img {
        width: 100%;
        height: 230px;
    }

    .tripwell-item h3 {
        font-size: 1.2rem;
    }

    .tripwell-item p {
        font-size: 0.9rem;
        padding: 16px 4px 20px;
    }

    .tripwell-action .tripwell-btn {
        padding: 10px 24px;
        font-size: 0.9rem;
    }
}

/* =================================================
    ドライバー紹介
================================================= */

/* タブレット  */
@media (min-width: 769px) and (max-width: 1024px) {
    .driver-content {
        max-width: 600px;
        padding: 0 20px;
    }

    .driver-title {
        font-size: 2.2rem;
        margin-bottom: 25px;
    }

    .driver-profile-vertical {
        gap: 18px;
    }

    .driver-face-large {
        width: 300px;
        height: 300px;
        border-radius: 20px;
    }

    .driver-name {
        font-size: 1.8rem;
    }

    .driver-intro {
        font-size: 0.95rem;
        max-width: 500px;
        line-height: 1.7;
    }
}

/* スマホ */
@media (max-width: 768px) {
    .driver-content {
        max-width: 90%;
        padding: 0 15px;
    }

    .driver-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .driver-profile-vertical {
        gap: 15px;
    }

    .driver-face-large {
        width: 220px;
        height: 220px;
        border-radius: 15px;
    }

    .driver-name {
        font-size: 1.5rem;
    }

    .driver-intro {
        font-size: 0.9rem;
        max-width: 100%;
        line-height: 1.6;
    }
}

/* =================================================
    お客様の声
================================================= */

/* タブレット  */
@media (min-width: 769px) and (max-width: 1024px) {
    .testimonials-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* スマホ */
@media (max-width: 768px) {
    .testimonials-cards {
        grid-template-columns: 1fr;
    }
}

/* =================================================
    サービス詳細
================================================= */

/* タブレット  */
@media (min-width: 769px) and (max-width: 1024px) {
    .service-details-container {
        width: 90%;
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .service-details-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .service-item {
        padding: 22px 24px;
    }

    .service-item-title {
        font-size: 1.2rem;
    }

    .service-item-desc {
        font-size: 0.92rem;
    }
}

@media (max-width: 768px) {
    .service-details-section {
        padding: 60px 0;
    }

    .service-details-container {
        width: 90%;
        grid-template-columns: 1fr;
        /* ← 1列表示 */
        gap: 20px;
    }

    .service-details-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .service-item {
        padding: 20px 22px;
        border-radius: 14px;
    }

    .service-item-title {
        font-size: 1.15rem;
    }

    .service-item-desc {
        font-size: 0.9rem;
        line-height: 1.55;
    }
}

/* =================================================
    お問い合わせフォーム
================================================= */

/* タブレット  */
@media (min-width: 769px) and (max-width: 1024px) {
    .booking-container {
        width: 90%;
        padding: 30px 25px;
    }

    .booking-title {
        font-size: 1.8rem;
    }

    .form-submit {
        font-size: 1rem;
        padding: 12px;
    }
}

/* スマホ */
@media (max-width: 768px) {
    .booking-container {
        width: 95%;
        padding: 20px 15px;
    }

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

    .booking-form {
        grid-template-columns: 1fr;
        /* 1列表示 */
        gap: 15px 0;
    }

    .booking-form input,
    .booking-form select,
    .booking-form textarea {
        font-size: 0.95rem;
        padding: 10px 12px;
    }

    .form-submit {
        grid-column: auto;
        font-size: 0.95rem;
        padding: 10px;
    }

    .booking-form h3 {
        grid-column: 1 / 1;
    }
}