:root {
    --primary-color: #006fb9;
    --primary-dark: #005a9c;
    --primary-dark: #004f87;
    --primary-light: #4a90e2;
    --secondary-color: #007136;
    --secondary-dark: #005a28;
    --accent-color: #bf0707;
    --dark-color: #002249;
    --light-color: #ebf3fd;
    --text-color: #333;
    --border-color: #d8eaff;
    --white: #fff;
    --black: #000;
    --gray-light: #f5f5f5;
    --gray: #888;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 基本スタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

html[lang="zh"],
html[lang="zh-CN"] {
    font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
}

body {
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);

}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: 60px 0;
}

.section-subtitle {
    color: var(--dark-color);
}

.section h2 {
    text-align: center;
    position: relative;
    margin-bottom: 40px;
    color: var(--dark-color);
    font-size: 2.2rem;
}

.section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    margin: 15px auto 0;
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-weight: 500;
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn.primary {
    background: var(--accent-color);
}

.btn.primary:hover {
    /* background: var(--secondary-dark); */
    /* opacity: 0.8; */
    color: var(--accent-color);
    border: 1px solid #bf0707 ;
    background-color: var(--white);
}

.btn.secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn.secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}


/* ヘッダー */
header.transparent-header {
    background: transparent;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: background 0.3s ease;
    padding: 15px 0;
}

header.transparent-header.scrolled {
    background: var(--dark-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header.transparent-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}

.header-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

header.transparent-header h1 {
    font-size: 1.6rem;
    color: var(--white);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    margin: 0;
    transition: color 0.3s;
}

.logo-link:hover h1 {
    color: var(--primary-light);
}

header.transparent-header nav ul {
    display: flex;
    list-style: none;
    gap: 10px;
    align-items: center;
    margin: 0;
    padding: 0;
}

header.transparent-header nav ul li a {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    margin: 0 8px;
    transition: all 0.3s;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

header.transparent-header nav ul li a:hover {
    color: var(--primary-light);
}

/* 言語切り替えボタン */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0 10px;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--white);
    padding: 5px 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    border-radius: 3px;
}

.lang-btn.active {
    /* background: var(--primary-color); */
    color: var(--white);
    border: 1px solid #fff;
}

.lang-btn:not(.active):hover {
    background: rgba(255, 255, 255, 0.1);
}

.language-switcher span {
    color: var(--white);
    opacity: 0.7;
}

/* 予約ボタン */
.reservation-btn {
    background: var(--accent-color) !important;
    color: var(--white) !important;
    padding: 12px 20px !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    text-shadow: none !important;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
    transition: all 0.3s !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    border: 2px solid #bf0707;
}

.reservation-btn:hover {
    /* background: #ff8533 !important; */
    background: transparent !important;
    border: 2px solid #bf0707;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4) !important;
    color: var(--white) !important;
}

.reservation-btn i {
    font-size: 0.9rem;
}
/* このスタイルを追加 */
.hamburger-menu {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 1001;
}

.hamburger-menu span {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* レスポンシブデザイン */
@media (max-width: 1024px) {
    header.transparent-header nav ul {
        gap: 10px;
    }
    
    header.transparent-header nav ul li a {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    .reservation-btn {
        padding: 10px 16px !important;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    header.transparent-header .container {
        /* flex-direction: column; */
        flex-direction: row;
        justify-content: center;
        gap: 15px;
    }
    
    header.transparent-header nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    
    .language-switcher {
        order: -1;
        margin: 0 5px;
    }
    
    .header-logo {
        width: 35px;
        height: 35px;
    }
    
    header.transparent-header h1 {
        font-size: 1.4rem;
    }
    .hamburger-menu {
        display: flex; /* スマホ時のみ表示 */
    }    
    /* 予約ボタンは非表示にするか、メニュー内に移動 */
    .reservation-btn {
        display: none !important;
    }
    
    /* ナビゲーション全体を非表示に */
    header.transparent-header nav {
        display: none;
    }
}

@media (max-width: 480px) {
    header.transparent-header {
        padding: 20px 0;
    }
    
    header.transparent-header nav ul {
        gap: 5px;
    }
    
    header.transparent-header nav ul li a {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
    
    .reservation-btn {
        padding: 8px 14px !important;
        font-size: 0.8rem;
    }
    
    .lang-btn {
        padding: 4px 8px;
        font-size: 0.8rem;
    }

    .logo-link img {
        width: 25px;
    }

}



/* ヒーローセクション */
#hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 43, 91, 0.3);
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide .container {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.hero-slide h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    animation: fadeInUp 1s ease;
}

.hero-slide p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-slide .btn {
    animation: fadeInUp 1s ease 0.4s both;
    background: var(--primary-dark);
    border: 2px solid var(--primary-dark);
}

.hero-slide .btn:hover {
    background: transparent;
    color: var(--white);
}

.hero-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 3;
    left: 20px;
    /* padding: 0 20px; */
}

.hero-prev, .hero-next {
    /* background: rgba(255, 255, 255, 0.2); */
    border: none;
    width: 50px;
    height: 50px;
    /* border-radius: 50%; */
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    color: transparent;
}

.hero-prev:hover, .hero-next:hover {
    /* background: var(--accent-color); */
    transform: scale(1.1);
}

.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--dark-color);
    transform: scale(1.2);
}

.dot:hover {
    background: var(--white);
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .hero-slide h2 {
        font-size: 2.5rem;
    }
    
    .hero-slide p {
        font-size: 1.2rem;
    }
    
    .hero-nav {
        padding: 0 10px;
    }
    
    .hero-prev, .hero-next {
        width: 40px;
        height: 40px;
    }
    
    header.transparent-header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    header.transparent-header nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .hero-slide h2 {
        font-size: 2rem;
    }
    
    .hero-slide p {
        font-size: 1rem;
    }
    
    .hero-dots {
        bottom: 20px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
}



/* 強みセクション */
#strengths {
    background: linear-gradient(rgba(0, 3, 11, 0.9),rgba(1, 78, 134, 0.85)), url('../images/hero6.webp') center/cover fixed no-repeat;
    color: var(--white);
    position: relative;
    padding: 100px 0;
}

#strengths h2{
    color:var(--white);
}


#strengths .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.strengths-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.strength-feature {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    padding: 40px 30px;
    width: 300px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.strength-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.3) 0%, rgba(0, 111, 185, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.strength-feature:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.strength-feature:hover::before {
    opacity: 1;
}

.strength-feature i {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.strength-feature h3 {
    margin-bottom: 15px;
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 600;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.strength-feature p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.strengths-buttons {
    text-align: center;
    margin-top: 30px;
}

.strengths-buttons .btn {
    background: var(--accent-color);
    border: 2px solid var(--accent-color);
    font-size: 1.1rem;
    padding: 15px 35px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(255, 107, 0, 0.3);
}

.strengths-buttons .btn:hover {
    background: transparent;
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 0, 0.4);
}

/* バッジスタイル（必要に応じて使用） */
.badge {
    background: var(--accent-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-left: 10px;
    display: inline-block;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    #strengths {
        background-attachment: scroll;
        padding: 80px 0;
    }
    
    .strengths-features {
        flex-direction: column;
        align-items: center;
    }
    
    .strength-feature {
        width: 100%;
        max-width: 350px;
        padding: 30px 25px;
    }
    
    .strength-feature i {
        font-size: 2.5rem;
    }
    
    .strength-feature h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    #strengths {
        padding: 60px 0;
    }
    
    .strength-feature {
        padding: 25px 20px;
    }
    
    .strength-feature i {
        font-size: 2.2rem;
    }
    
    .strengths-buttons .btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

/* 新しいCTAセクション */
#cta {
    background-color: var(--dark-color);
    color: var(--white);
    scroll-margin-top: 80px;
}

#cta h2 {
    color: var(--white);
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.cta-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--white);
}

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-benefits {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.cta-benefit {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: var(--dark-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.benefit-content h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--white);
}

.benefit-content p {
    opacity: 0.9;
    margin: 0;
}

.highlight {
    color: var(--accent-color);
    font-weight: bold;
}


.cta-action {
    margin-top: 30px;
}

.cta-image {
    position: relative;
}

.cta-img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}



.badge {
    background: var(--accent-color);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-left: 8px;
}


/* レスポンシブデザイン */
@media (max-width: 968px) {
    .cta-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .cta-benefit {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-info h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .strengths-features {
        flex-direction: column;
        align-items: center;
    }
    
    .strength-feature {
        width: 100%;
        max-width: 320px;
    }
    
    .cta-benefits {
        gap: 20px;
    }
    
    .cta-benefit {
        padding: 15px;
    }
    
    .benefit-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .cta-info h2 {
        font-size: 1.8rem;
    }
    
    .cta-subtitle {
        font-size: 1rem;
    }
    
    .benefit-content h3 {
        font-size: 1.1rem;
    }
    
    .cta-badge {
        font-size: 1rem;
        padding: 8px 15px;
    }
}


/* 事業紹介セクション */
#about {
    background-color: var(--light-color);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 30px;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.about-points {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.point {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.point i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 3px;
}

.point-content h3 {
    margin-bottom: 5px;
    color: var(--dark-color);
}

.point-content p {
    margin-bottom: 0;
    color: var(--text-color);
}

/* 車種一覧セクション */

#cars {
    background-color: var(--light-color);
}

#cars .container {
    max-width: 1000px;
}
.cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.car {
    border-radius: 10px;
    padding: 3%;
    overflow: hidden;
    transition: all 0.3s;
    background: var(--white);
    display: flex;
    flex-direction: column;
}

.car:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.car img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    object-fit: contain;
    padding: 5%;
}

.car h3 {
    padding: 15px 15px 10px;
    margin: 0;
    color: var(--dark-color);
    font-size: 1.2rem;
    text-align: center;
}

.car-details {
    padding: 0 15px 15px;
    flex: 1;
}

.car-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: var(--text-color);
}

.car-info i {
    color: var(--primary-dark);
    width: 20px;
    text-align: center;
}

.car-info span {
    font-size: 0.9rem;
}

.car-btn {
    margin: 0 15px 15px;
    padding: 10px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
    font-weight: 500;
}

.car-btn:hover {
    background: var(--primary-dark);
}

.cars-action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.cars-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
    min-width: 200px;
    justify-content: center;
}




/* 店舗アクセスセクション */
.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--dark-color);
    margin-bottom: 40px;
}

#stores .container {
    max-width: 800px;
}

.stores-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.store-card {
    background: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s;
    border-top: 4px solid var(--primary-color);
}

.store-card:hover {
    transform: translateY(-5px);
}

.store-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.store-header h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin: 0;
}



.store-address {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

#stores i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.store-address p {
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
}

.store-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.action-card {
    background: var(--white);
    border-radius: 10px;
    padding: 30px 25px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s;
}

.action-card:hover {
    transform: translateY(-5px);
}

.action-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.action-card h4 {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.action-card p {
    color: var(--gray);
    margin-bottom: 20px;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    width: 100%;
    border: 1px solid var(--border-color);
    background: var(--light-color);
    color: var(--text-color);
}

.action-btn i {
    margin-right: 8px;
}

.action-btn.primary {
    background: var(--primary-color);
    color: var(--white);
    border: none;
}

.action-btn:hover {
    background: var(--primary-light);
    color: var(--white);
}

.action-btn.primary:hover {
    background: var(--primary-dark);
}

.stores-notice {
    display: flex;
    background: var(--white);
    border-radius: 10px;
    padding: 25px;
    align-items: center;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.notice-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.notice-content h4 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.notice-content p {
    color: var(--text-color);
    line-height: 1.6;
    margin: 5px 0;
}

/* アクセス＆レビューセクション */
#access-reviews {
    background: linear-gradient(to bottom, var(--light-color), var(--white));
}

.access-review-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

#access-reviews .section-subtitle i {
    color: #ffc107;
}

.note {
    text-align: center;
    font-size: 10px;
    margin-top: -30px;
}

.map-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    overflow: hidden;
    padding: 20px;
}

.map-wrapper {
    flex: 1;
    min-width: 300px;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.map-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 90, 156, 0.3), rgba(0, 111, 185, 0.6));
    z-index: 2;
    pointer-events: none;
    mix-blend-mode: multiply;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
    /* filter: hue-rotate(200deg) saturate(1.2) contrast(0.9); */
    position: relative;
    z-index: 1;
}


.reviews-container {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
}

.reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.review-card {
    background: var(--light-color);
    border-radius: 10px;
    padding: 20px;
    transition: transform 0.3s;
    border-left: 4px solid var(--dark-color);
}

.review-card:hover {
    transform: translateY(-5px);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.reviewer {
    display: flex;
    align-items: center;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 12px;
}

.reviewer-info h4 {
    margin: 0 0 5px 0;
    font-size: 1rem;
    color: var(--dark-color);
}

.stars {
    color: var(--dark-color);
}

.review-date {
    font-size: 0.8rem;
    color: var(--gray);
}

.review-text {
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
}

.google-review-link {
    margin-top: auto;
}

.map-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-color);
    color: var(--white);
    padding: 12px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    width: 100%;
    text-align: center;
}

.map-btn i {
    margin-right: 8px;
    font-size: 1.2rem;
}

.map-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.highlight {
    color: var(--primary-color);
    font-weight: bold;
}

/* FAQセクション */
#faq {
    background-color: var(--light-color);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 5px;
    margin-bottom: 15px;
    overflow: hidden;
    background: var(--white);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: var(--light-color);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--dark-color);
    font-weight: 600;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: var(--white);
}

.faq-answer p {
    padding: 20px;
    margin: 0;
    line-height: 1.6;
    color: var(--text-color);

}

/* アクティブ状態 */
.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* WeChatフローティングボタン */
.wechat-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.wechat-float-btn {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.wechat-float-btn:hover {
    background: var(--accent-color);
    transform: scale(1.1);
}



.wechat-float-content {
    position: absolute;
    bottom: 70px;
    right: 0;
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    width: 200px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
}

.wechat-float-content::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid var(--white);
}

.wechat-float:hover .wechat-float-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.wechat-float .wechat-qr {
    width: 150px;
    height: 150px;
    margin-bottom: 10px;
}

.wechat-float-content p {
    margin: 5px 0;
    font-size: 0.9rem;
    color: var(--text-color);
}

.wechat-float-content strong {
    color: var(--dark-color);
}


/* フッター */
footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.footer-logo h3 {
    color: var(--white);
    margin: 0;
    font-size: 1.4rem;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}


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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-info p {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-info i {
    color: var(--primary-dark);
    margin-top: 3px;
    min-width: 16px;
}

.footer-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.footer-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.footer-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.external-icon {
    font-size: 0.8rem;
    opacity: 0.7;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.footer-bottom-content {
    text-align: center;
}

/* 追加 */
/* ソーシャルアイコン画像用スタイル */
.social-icon-img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: brightness(0) invert(1); /* アイコンを白くする */
}

/* 画像アイコンのホバー時の調整 */
.social-link:hover .social-icon-img {
    filter: brightness(0) invert(1); /* ホバー時も白いまま */
}

/* 既存のスタイルに追加 */
.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .footer-logo {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .container {
        width: 95%;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section h2 {
        font-size: 1.8rem;
    }
    
    header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    #hero {
        padding: 100px 0;
    }
    
    #hero h2 {
        font-size: 2rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .cta-features {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .pr-points {
        flex-direction: column;
        align-items: center;
    }
    
    .cars-grid {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        flex-direction: column;
    }
    
    .map-wrapper {
        height: 300px;
    }
    
    .stores-container {
        grid-template-columns: 1fr;
    }
    
    .store-actions {
        grid-template-columns: 1fr;
    }
    
    .stores-notice {
        flex-direction: column;
        text-align: center;
    }
    
    .wechat-float {
        bottom: 20px;
        right: 20px;
    }
    
    .wechat-float-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .section h2 {
        font-size: 1.6rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .cta-feature {
        width: 100%;
    }
    
    .car-info {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
    
    .action-card {
        padding: 20px 15px;
    }
    
    .wechat-float-content {
        width: 180px;
        padding: 15px;
    }
    
    .wechat-float .wechat-qr {
        width: 130px;
        height: 130px;
    }
}

/* アクションセクション */
#actions {
    background: linear-gradient(rgba(0, 19, 32, 0.85), rgba(0, 74, 128, 0.9)), url('../images/hero6.webp') center/cover fixed no-repeat;
    color: var(--white);
    position: relative;
    padding: 100px 0;
}

#actions .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

#actions h2 {
    color: var(--white);
}

#actions .container {
    max-width: 800px;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.action-item {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.action-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 90, 156, 0.4) 0%, rgba(0, 74, 128, 0.4) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.action-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.18);
}

.action-item:hover::before {
    opacity: 1;
}

.action-icon {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 20px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.action-item h3 {
    font-size: 16px;
    color: var(--white);
    font-weight: 600;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.action-item p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    flex-grow: 1;
    font-size: 14px;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    width: 100%;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
}

.action-btn i {
    margin-right: 8px;
}

.action-btn.primary {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.action-btn.primary:hover {
    background-color: transparent;
    color: var(--white);
    border: 1px solid var(--white);
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    #actions {
        background-attachment: scroll;
        padding: 80px 0;
    }
    
    .actions-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .action-item {
        padding: 30px 25px;
    }
}

@media (max-width: 480px) {
    #actions {
        padding: 60px 0;
    }
    
    /* .actions-grid {
        grid-template-columns: 1fr;
        
    } */
     .actions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .action-item {
        padding: 10px;
    }
    
    .action-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .action-item  {
        font-size: 12px;
    }
}

/* 予約までの流れセクション */
#reservation-process {
    background: var(--white);
    text-align: center;
}


.process-steps {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 50px;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 220px;
}

.step-icon {
    position: relative;
    margin-bottom: 20px;
}

.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--dark-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    position: relative;
    z-index: 2;
}

.step-number {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    border: 2px solid var(--white);
}

.step-content h3 {
    font-size: 1.2rem;
    color: var(--dark-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.step-content p {
    color: var(--gray);
    line-height: 1.5;
    font-size: 0.95rem;
    margin: 0;
}

.step-connector {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100px;
    padding: 0 15px;
}

.connector-dot {
    width: 6px;
    height: 6px;
    background: var(--primary-light);
    border-radius: 50%;
    margin: 6px 0;
}

.connector-dot:nth-child(2) {
    background: var(--primary-color);
}

.process-cta {
    margin-top: 40px;
}

/* レスポンシブデザイン */
@media (max-width: 968px) {
    .process-steps {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    
    .step-connector {
        flex-direction: row;
        height: auto;
        width: 100px;
        padding: 15px 0;
    }
    
    .connector-dot {
        margin: 0 6px;
    }
    
    .process-step {
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .process-steps {
        gap: 30px;
    }
    
    .icon-circle {
        width: 70px;
        height: 70px;
        font-size: 1.6rem;
    }
    
    .step-content h3 {
        font-size: 1.1rem;
    }
    
    .step-content p {
        font-size: 0.9rem;
    }
}


/* 子ページヒーローセクション */

/* 子ページの場合 */
body.subpage header.transparent-header {
    background: var(--dark-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.subpage-hero {
    background: linear-gradient(rgba(0, 43, 91, 0.7), rgba(0, 43, 91, 0.5)), url('../images/hero6.webp') center/cover no-repeat;
    color: var(--white);
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    margin-top: 80px;
}

.subpage-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 43, 91, 0.5);
    z-index: 1;
}

.subpage-hero .container {
    position: relative;
    z-index: 2;
}

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



/* レスポンシブデザイン */
@media (max-width: 768px) {
    .subpage-hero {
        padding: 60px 0 40px;
        margin-top: 70px;
    }
    
    .subpage-hero h1 {
        font-size: 2rem;
    }
    
    .breadcrumb {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .subpage-hero {
        padding: 50px 0 30px;
        margin-top: 60px;
    }
    
    .subpage-hero h1 {
        font-size: 1.8rem;
    }
    
    .breadcrumb {
        font-size: 0.9rem;
    }
}


/* アクセスページ用スタイル */
.access-maps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

.store-map-section {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.store-map-section h3 {
    color: var(--dark-color);
    font-size: 1.4rem;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.store-map-section h3 i {
    color: var(--primary-color);
}

.store-info {
    margin-bottom: 25px;
}

.store-address p {
    margin-bottom: 8px;
    color: var(--text-color);
    line-height: 1.6;
    font-size: 0.95rem;
}

.store-address strong {
    color: var(--dark-color);
}

.map-wrapper.large {
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    flex-grow: 1;
}

.map-wrapper.large::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 90, 156, 0.3), rgba(0, 111, 185, 0.4));
    z-index: 2;
    pointer-events: none;
    mix-blend-mode: multiply;
}

.map-wrapper.large iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: hue-rotate(200deg) saturate(1.2) contrast(0.9);
    position: relative;
    z-index: 1;
}

/* レスポンシブデザイン */
@media (max-width: 968px) {
    .access-maps {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .map-wrapper.large {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .access-maps {
        gap: 30px;
    }
    
    .store-map-section {
        padding: 25px;
    }
    
    .map-wrapper.large {
        height: 300px;
    }
    
    .store-map-section h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .store-map-section {
        padding: 20px;
    }
    
    .map-wrapper.large {
        height: 250px;
    }
    
    .store-map-section h3 {
        font-size: 1.2rem;
    }
    
    .store-address p {
        font-size: 0.9rem;
    }
}



/* セクションごとの背景色バリエーション */
.section:nth-child(even) {
     background: var(--white);
}

.section:nth-child(odd) {
   
    background: var(--light-color);
}

/* イントロダクションセクション */
.intro-section {
    text-align: center;
    padding: 60px 0;
}

.section-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.intro-section h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 20px;
}

/* 便利な理由セクション */
.reason-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin-top: 40px;
}

.reason-image {
    position: relative;
}

.reason-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.reason-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.reason-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 20px;
}



.reason-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.reason-content h4 {
    color: var(--dark-color);
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.reason-content p {
    color: var(--gray);
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
}

/* 季節の魅力セクション */
.season-section {
    text-align: center;
}


.season-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}
@media (max-width: 480px) {
    .season-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

.season-card {
    background: var(--white);
    padding: 10px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    border-top: 4px solid var(--primary-color);
    transition: transform 0.3s ease;
}

.season-card:hover {
    transform: translateY(-8px);
}

.season-card.summer {
    border-top-color: #FF6B6B;
    border-top-color: #ff0000;
}

.season-card.winter {
    border-top-color: #4ECDC4;
    border-top-color: #00433e;
}

.season-card.spring {
    border-top-color: #45B7D1;
    border-top-color: #0087a5;
}

.season-card.autumn {
    border-top-color: #F9A826;
    border-top-color: #ff9d00;
}

.season-icon {
    font-size: 2.5rem;
    /* margin-bottom: 20px; */
}

.season-card.summer .season-icon {
    color: #FF6B6B;
    color: #ff0000;
}

.season-card.winter .season-icon {
    color: #4ECDC4;
    color: #00433e;
}

.season-card.spring .season-icon {
    color: #45B7D1;
    color: #0087a5;
}

.season-card.autumn .season-icon {
    color: #F9A826;
    color: #ff9d00;
}

.season-card h4 {
    color: var(--dark-color);
    font-size: 1.3rem;
}

.season-card p {
    color: var(--gray);
    font-size: 12px;
}

/* ドライブルートセクション */
.route-section {
    text-align: center;
}

.route-cards {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
    max-width: 900px;
    margin: 40px auto 0;
}

.route-card {
    background: var(--white);
    padding: 35px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
    transition: transform 0.3s ease;
}

.route-card:hover {
    transform: translateY(-5px);
}

.route-card h4 {
    color: var(--dark-color);
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.route-path {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.route-point {
    background: var(--light-color);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 1rem;
    color: var(--dark-color);
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.route-path i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* ポイントセクション */
.tips-section {
    text-align: center;
}

.tips-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.tip-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.tip-item:hover {
    transform: translateY(-5px);
}

.tip-icon {
    width: 50px;
    height: 50px;
    background: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.tip-content h4 {
    color: var(--dark-color);
    margin-bottom: 8px;
    font-size: 1.2rem;
    text-align: left;
}

.tip-content p {
    color: var(--gray);
    font-size: 1rem;
    margin: 0;
    text-align: left;
}

/* レスポンシブデザイン */
@media (max-width: 968px) {
    .reason-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .reason-img {
        height: 400px;
    }
    
    .season-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .intro-section h2 {
        font-size: 2rem;
    }
    
    .section-icon {
        font-size: 3rem;
    }
    
    .reason-item {
        flex-direction: column;
        text-align: center;
        padding: 25px;
        gap: 15px;
    }
    
    .reason-icon {
        margin: 0 auto;
    }
    
    .route-path {
        flex-direction: column;
        gap: 10px;
    }
    
    .route-path i {
        transform: rotate(90deg);
    }
    
    .tip-item {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .tip-content h4,
    .tip-content p {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .season-grid {
        grid-template-columns: 1fr;
    }
    
    .reason-img {
        height: 300px;
    }
    
    .route-card {
        padding: 20px 15px;
    }
    
    .route-point {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
}

/* 会社情報セクション */
.company-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin-top: 40px;
}

.company-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 25px;
    background-color: var(--dark-color);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.company-logo-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.company-title h3 {
    color: var(--white);
    margin-bottom: 5px;
    font-size: 1.5rem;
    font-weight: 600;
}

.company-subtitle {
    color: var(--gray);
    color: var(--white);
    font-size: 0.9rem;
    margin: 0;
    font-style: italic;
}

.info-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 15px;
    padding: 20px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    align-items: start;
}

.info-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark-color);
    font-weight: 600;
}

.info-label i {
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

.info-value p {
    color: var(--gray);
    margin: 0;
    line-height: 1.5;
    font-size: 0.95rem;
}

.company-map {
    position: relative;
}

.company-map .map-wrapper {
    height: 600px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.company-map .map-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 90, 156, 0.2), rgba(0, 111, 185, 0.3));
    z-index: 2;
    pointer-events: none;
    mix-blend-mode: multiply;
}

.company-map iframe {
    filter: hue-rotate(200deg) saturate(1.1) contrast(0.95);
}

/* レスポンシブデザイン */
@media (max-width: 968px) {
    .company-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .company-map .map-wrapper {
        height: 400px;
    }
    
    .info-row {
        grid-template-columns: 1fr;
        gap: 10px;
        text-align: center;
    }
    
    .company-header {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .company-header {
        padding: 20px;
    }
    
    .company-logo-img {
        width: 60px;
        height: 60px;
    }
    
    .info-row {
        padding: 15px;
    }
    
    .company-map .map-wrapper {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .company-title h3 {
        font-size: 1.3rem;
    }
    
    .info-label {
        justify-content: center;
    }
    
    .company-map .map-wrapper {
        height: 300px;
    }
    
    .info-row {
        padding: 12px;
    }
}


/* レスポンシブデザイン */
@media (max-width: 968px) {
    .company-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .company-map .map-wrapper {
        height: 400px;
    }
    
    /* .sns-grid {
        grid-template-columns: repeat(2, 1fr);
    } */
}

@media (max-width: 768px) {
    .info-item {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
        gap: 15px;
    }
    
    .info-icon {
        margin: 0 auto;
    }
    
    /* .sns-grid {
        grid-template-columns: 1fr;
    }
    
    .sns-item {
        padding: 20px;
    } */
    
    .company-map .map-wrapper {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .info-item {
        padding: 20px 15px;
    }
    
    /* .sns-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .sns-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    } */
    
    .company-map .map-wrapper {
        height: 250px;
    }
}

/* SNSセクション */
/* SNSセクション */
#sns {
    scroll-margin-top: 80px;
}
.sns-section {
    margin-bottom: 40px;
}

.sns-section-title {
    text-align: center;
    color: var(--dark-color);
    margin-bottom: 25px;
    font-size: 1.5rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

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

.sns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.sns-grid.no-qr {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    max-width: 600px;
    margin: 0 auto;
}

.sns-item {
    display: block;
    background: var(--dark-color);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    overflow: hidden;
    text-decoration: none;
    padding: 20px;
}

.sns-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.sns-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    width: 100%;
}

.sns-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    background-color: var(--white);
}

.custom-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.sns-info {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.sns-info h4 {
    color: var(--white);
    margin-bottom: 5px;
    font-size: 1.1rem;
    font-weight: 600;
}

.sns-info p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 0.9rem;
}

.sns-qr {
    text-align: center;
    flex-shrink: 0;
}

.qr-code {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 5px;
    background: var(--white);
    /* padding: 5px; */
    border-radius: 5px;

}

.qr-label {
    display: block;
    color: var(--white);
    font-size: 0.8rem;
    opacity: 0.9;
}

/* SNSごとの色設定 */
.sns-item.wechat .sns-icon {
    color: #07C160;
}

.sns-item.whatsapp .sns-icon {
    color: #25D366;
}

.sns-item.line .sns-icon {
    color: #00B900;
}

.sns-item.xiaohongshu .sns-icon {
    background: linear-gradient(135deg, #ff2442, #ff2e74);
}

.sns-item.xiaohongshu .custom-icon {
    filter: brightness(0) invert(1);
}

.sns-item.instagram .sns-icon {
    color: #E4405F;
}

.sns-item.facebook .sns-icon {
    color: #1877F2;
}

.sns-item.google .sns-icon {
    color: #EA4335;
}

/* レスポンシブデザイン */
@media (max-width: 968px) {
    .sns-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sns-grid.no-qr {
        grid-template-columns: repeat(2, 1fr);
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .sns-grid {
        grid-template-columns: 1fr;
    }
    
    .sns-grid.no-qr {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .sns-item {
        padding: 15px;
    }
    
    .sns-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .custom-icon {
        width: 25px;
        height: 25px;
    }
    
    .qr-code {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .sns-row {
        gap: 10px;
    }
    
    .sns-item {
        padding: 12px;
    }
    
    .sns-info h4 {
        font-size: 1rem;
    }
    
    .sns-info p {
        font-size: 0.85rem;
    }
    
    .sns-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .qr-code {
        width: 45px;
        height: 45px;
    }
    
    .qr-label {
        font-size: 0.75rem;
    }
}

/* ダークモード対応 */
@media (prefers-color-scheme: dark) {
    .sns-item {
        background: var(--darker-color);
    }
    
    .sns-section-title {
        color: var(--white);
    }
    
    .qr-code {
        background: var(--dark-color);
    }
}


/* 車種ごとの価格ページ */
/* 車種料金表セクション */

/* 車種料金表セクション */
#cars-price .container {
    max-width: 800px;
    overflow-x: visible;
}

.price-table-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 40px;
}

.car-price-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 20px;
    background: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
    align-items: start;
}

.car-image img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    padding: 10%;
}

.car-price-info h3 {
    color: var(--dark-color);
    margin-bottom: 20px;
}

.price-table {
    display: grid;
    grid-template-columns: 120px repeat(4, 1fr);
    gap: 1px;
    background: var(--border-color);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.price-header,
.price-row {
    display: contents;
    font-size: 12px;
}

.price-header span,
.price-row span {
    background: var(--white);
    padding: 15px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.price-header span {
    background: var(--dark-color);
    color: var(--white);
}

.price-row span:first-child {
    justify-content: flex-start;
    padding-left: 20px;
    background: var(--light-color);
}

.price-row span:not(:first-child) {
    font-family: 'Arial', sans-serif;
}

/* 車種番号バッジ */
.car-image {
    position: relative;
}

.car-number-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 35px;
    height: 35px;
    background: var(--dark-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

/* レスポンシブデザイン */
@media (max-width: 968px) {
    .car-price-item {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    
    .car-image img {
        height: 180px;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .car-number-badge {
        width: 25px;
        height: 25px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .car-price-item {
        padding: 20px 15px;
        overflow: visible;
    }
    
    .car-price-info {
        overflow-x: auto;
        width: 100%;
        -webkit-overflow-scrolling: touch;
    }
    
    .price-table {
        min-width: 600px; /* テーブルの最小幅を設定 */
        overflow-x: visible;
    }
    
    .price-header span,
    .price-row span {
        padding: 12px 8px;
        font-size: 0.9rem;
        white-space: nowrap;
    }
    
    .car-number-badge {
        width: 22px;
        height: 22px;
        font-size: 12px;
        top: 8px;
        left: 8px;
    }
}

@media (max-width: 480px) {
    .car-price-item {
        padding: 15px 10px;
    }
    
    .car-image img {
        height: 150px;
    }
    
    .price-table {
        min-width: 500px; /* 小さな画面用に最小幅を調整 */
    }
    
    .price-header span,
    .price-row span {
        padding: 10px 5px;
        font-size: 0.8rem;
    }
}



/* シーズン説明 */
.season-info {
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    margin-top: 30px;
    border-left: 4px solid var(--primary-color);
}

.season-info h4 {
    color: var(--dark-color);
    margin-bottom: 10px;
}

.season-info ul {
    color: var(--text-color);
    padding-left: 20px;
}

.season-info li {
    margin-bottom: 5px;
}


/* 予約フォームセクション------------------------------------ */

#reservation-form {
    scroll-margin-top: 80px;
}

 #reservation-form .container {
            max-width: 800px;
        }

/* 予約フォームスタイル */
.reservation-form {
    background: var(--white);
    padding: 40px;
    box-shadow: var(--shadow);
    margin-top: 40px;
}

.form-section {
    padding-bottom: 30px;
    /* border-bottom: 2px solid var(--light-color); */
}

.form-section h3{
    text-align: center;
    margin-bottom: 5px;
    font-weight: 300;
}


.form-section:last-child {
    border-bottom: none;
    margin-bottom: 30px;
}


.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-group label {
    font-weight: 300;
    margin-bottom: 8px;
    color: var(--dark-color);
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-section h3 {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 20px;
}



/* 車種選択グリッド */
.car-selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.car-option {
    border: 2px solid var(--border-color);
    padding: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}
.car-option h4 {
    font-size: 14px;
}

.car-option p {
    font-size: 12px;
}




.car-option:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.car-option.selected {
    border-color: var(--primary-color);
    background: var(--light-color);
}

.car-image-small {
    position: relative;
    height: 120px;
}

.car-image-small img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#reservation-form .car-number-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 30px;
    height: 30px;
    background: var(--dark-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}


.car-info {
    display: block;
    text-align: center;
}

.car-option input[type="radio"] {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
}

/* オプション選択 */
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.option-checkbox {
    display: flex;
    align-items: center;
    padding: 12px;
    border: 2px solid var(--border-color);
    /* border-radius: 8px; */
    cursor: pointer;
    transition: all 0.3s ease;
}

.option-checkbox:hover {
    border-color: var(--primary-color);
}

.option-checkbox input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
}

/* 見積もりボックス */
.estimate-section {
    padding: 25px;
    margin: 20px 0;

}

.estimate-section h3 {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 0;
}

.estimate-section p {
    text-align: center;
    font-size: 10px;
    margin-top: 0;
    margin-bottom: 10px;
}

.estimate-box {
    background: var(--light-color);
    padding: 20px;
    /* border: 2px solid var(--primary-color); */
    max-width: 500px;
    margin: 0 auto;
}

.estimate-detail {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.estimate-detail:last-child {
    border-bottom: none;
}

.estimate-detail.total {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
    padding-top: 15px;
    margin-top: 10px;
    border-top: 2px solid var(--primary-color);
}

/* 終了時間表示 */
.end-time-display {
    background: var(--light-color);
    padding: 15px;
    margin-top: 20px;
    text-align: center;
}

.end-time-display strong {
    color: var(--dark-color);
    margin-right: 10px;
}

#end-time {
    font-weight: 600;
    color: var(--accent-color);
    font-size: 20px;
}

/* ボタン */
.btn-primary {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 20px;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

/* オプショングループ */
.option-group {
    margin-bottom: 25px;
    padding: 20px;
    border: 2px solid var(--border-color);
}

.option-group h4 {
    margin: 0 0 15px 0;
    color:var(--dark-color);
    font-size: 16px;
    padding-bottom: 10px;
    text-align: center;
    font-weight: 300;
}

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

/* ラジオボタンスタイル */
.option-radio {
    display: flex;
    align-items: center;
    padding: 12px;
    background: white;
    border: 2px solid #e9ecef;
    cursor: pointer;
    transition: all 0.2s ease;
}

.option-radio:hover {
    border-color: #007bff;
    background: #f8f9ff;
}

.option-radio input[type="radio"]:checked + .radiomark {
    border-color: #007bff;
    background: #007bff;
}

.option-radio input[type="radio"]:checked + .radiomark::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

.radiomark {
    position: relative;
    width: 18px;
    height: 18px;
    border: 2px solid #ccc;
    border-radius: 50%;
    margin-right: 12px;
    flex-shrink: 0;
}

/* チェックボックススタイル */
.option-checkbox {
    display: flex;
    align-items: center;
    padding: 12px;
    background: white;
    border: 2px solid #e9ecef;
    cursor: pointer;
    transition: all 0.2s ease;
}

.option-checkbox:hover {
    border-color: #007bff;
    background: #f8f9ff;
}

.option-checkbox input[type="checkbox"]:checked + .checkmark {
    border-color: #007bff;
    background: #007bff;
}

.option-checkbox input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.checkmark {
    position: relative;
    width: 18px;
    height: 18px;
    border: 2px solid #ccc;
    border-radius: 3px;
    margin-right: 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .reservation-form {
        padding: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .car-selection-grid {
        /* grid-template-columns: 1fr; */
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .options-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .reservation-form {
        padding: 15px;
    }
    
    .form-section {
        margin-bottom: 30px;
        padding-bottom: 20px;
    }
    
    .estimate-section {
        padding: 15px;
    }
}

/* エラーメッセージ用スタイル */
.breakdown-item.error {
    color: #dc2626 !important;
    font-weight: bold;
    padding: 10px;
    text-align: center;
}

/* 合計行のスタイル */
.breakdown-total {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 2px solid #e5e7eb;
    font-weight: 600;
    font-size: 1rem;
    color: var(--dark-color);
}

.checkbox-group {
    margin: 15px 0;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    font-size: 14px;
    cursor: pointer;
}

.checkbox-group a {
    color: #0066cc;
    text-decoration: underline;
    margin: 0 5px;
}

.checkbox-group a:hover {
    color: #004499;
}

.breakdown-item.sub-item {
    padding-left: 20px;
    font-size: 0.9em;
    color: #666;
}



/* オプション詳細表示 */
.option-details {
    margin-top: 10px;
    padding: 10px;
    font-size: 0.9em;
}

.option-details ul {
    margin: 5px 0;
    padding-left: 20px;
}

.option-details li {
    margin-bottom: 3px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .options-grid {
        grid-template-columns: 1fr;
    }
    
    .option-group {
        padding: 15px;
    }
}

/* 見積もり変更 */
/* 見積もり内訳のスタイル追加 */
.breakdown-header {
    margin: 15px 0 10px 0;
    padding: 10px 0;
    border-top: 2px solid #eee;
    font-weight: bold;
    color: #2c5282;
}

.breakdown-item.option {
    color: #28a745;
    font-size: 0.95em;
}

.breakdown-item.option span:first-child {
    color: #555;
}

.breakdown-total {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 2px solid #eee;
    font-weight: bold;
    font-size: 1.1em;
}

/* オプション詳細表示用 */
.option-info {
    font-size: 0.85em;
    color: #666;
    margin-top: 5px;
    padding-left: 30px;
}


/* 見積もり表示のスタイル */
.estimate-breakdown {
    margin: 15px 0;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
}

.breakdown-item:last-child {
    border-bottom: none;
}

.breakdown-item.main {
    font-weight: bold;
    font-size: 16px;
}

.breakdown-item.sub {
    padding-left: 20px;
    font-size: 12px;
    color: #9b9b9b;
    border-bottom: none;
}

/* 基本料金合計 */
.breakdown-item.total {
    /* font-weight: bold; */
    border: 1px solid var(--primary-color);
    padding: 10px;
    margin-top: 5px;
}
/* 全ての合計金額 */
.breakdown-item.grand-total {
    font-size: 1.2em;
    padding: 12px;
    margin-top: 10px;
    background-color: var(--dark-color);
    color: var(--white);
}

.breakdown-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #ddd, transparent);
    margin: 10px 0;
}

.breakdown-label {
    font-weight: 500;
}

.breakdown-value {
    text-align: right;
}

.breakdown-item.error {
    color: #d32f2f;
    text-align: center;
    padding: 20px 0;
}


/* フォームのバリテーション */
#form-message {
    display: none;
    margin-top: 20px;
    padding: 15px;
    background-color: #d4edda;
    color: #155724;
    border-radius: 5px;
    text-align: center;
    border: 1px solid #c3e6cb;
    font-weight: bold;
}

/* 送信ボタンのローディング状態用スタイル */
button[disabled] {
    opacity: 0.7;
    cursor: not-allowed;
}


/* 規約ページーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */
.narrow-container {
    max-width: 470px;
    margin: 80px auto;
    padding: 0 20px;
}

        .policy-content {
            font-size: 12px;
            line-height: 1;
            color: #666;
            font-weight: 100;
        }
        
        .policy-update-date {
            text-align: right;
            font-size: 12px;
            color: #999;
            margin-bottom: 30px;
            padding-bottom: 15px;
            border-bottom: 1px solid #eee;
        }
        
        .policy-article {
            margin-bottom: 25px;
            padding-bottom: 15px;
            border-bottom: 1px solid #eee;
        }
        
        .policy-article:last-child {
            border-bottom: none;
        }
        
        .policy-article h3 {
            font-size: 16px;
            color: #2d3748;
            margin-bottom: 10px;
            font-weight: 600;
        }
        
        .policy-article p {
            margin-bottom: 10px;
        }
        
        .policy-article ul {
            margin: 10px 0;
            padding-left: 20px;
        }
        
        .policy-article li {
            margin-bottom: 5px;
        }
        
        .policy-contact {
            background-color: #f0f8ff;
            padding: 20px;
            border-radius: 8px;
            margin-top: 30px;
            border-left: 4px solid #4299e1;
        }
        
        .policy-contact p {
            margin-bottom: 8px;
        }
        
        .policy-note {
            font-size: 12px;
            color: #888;
            font-style: italic;
            margin-top: 30px;
            text-align: center;
            padding-top: 15px;
            border-top: 1px solid #eee;
        }
        
        .back-link {
            display: inline-block;
            margin-top: 30px;
            color: #4299e1;
            text-decoration: none;
            font-weight: 500;
        }
        
        .back-link:hover {
            text-decoration: underline;
        }
        
        @media (max-width: 768px) {
            .narrow-container {
                padding: 30px 20px;
                margin: 0 10px;
            }

            .policy-content {
                font-size: 13px;
            }
            
            .policy-article h3 {
                font-size: 15px;
            }
        }
        
        @media (max-width: 480px) {

            
            .narrow-container {
                padding: 20px 15px;
            }
            
            
            .policy-content {
                font-size: 12px;
            }
            
            .policy-article h3 {
                font-size: 14px;
            }
        }


/* 規約 */
/* ポップアップオーバーレイ */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
}

.popup-overlay.active {
    display: flex;
}

.popup-content {
    background: white;
    /* border-radius: 12px; */
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
    background: #f8f9fa;
    /* border-radius: 12px 12px 0 0; */
}

.popup-header h3 {
    margin: 0;
    color: #2c5282;
    font-size: 1.3rem;
}

.popup-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-close:hover {
    color: #333;
}

.popup-body {
    flex: 1;
    padding: 0;
    overflow: hidden;
    /* 以下のプロパティを追加 */
    display: flex;
    justify-content: center;
    background: #f0f0f0;
}


/* .popup-body iframe {
    width: 100%;
    height: 60vh;
    min-height: 400px;
    border: none;
} */

/* .popup-body iframe {
    width: 100%;
    height: 60vh;
    min-height: 400px;
    border: none;
    -webkit-overflow-scrolling: touch;
    overflow: auto;
} */

.popup-body iframe {
    width: 100%;
    height: 60vh;
    min-height: 400px;
    border: none;
    /* 以下のプロパティを修正 */
    -webkit-overflow-scrolling: touch;
    overflow: auto;
    /* 追加プロパティ */
    max-width: 100%;
    object-fit: contain;
}

.popup-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 20px;
    border-top: 1px solid #eee;
    background: #f8f9fa;
    /* border-radius: 0 0 12px 12px; */
}

/* ボタンスタイル */
.btn-primary {
    background:var(--dark-color);
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    border-radius: 0px;
    text-align: center;
}

.btn-primary:hover {
    background: #0056b3;
}

.btn-secondary {
    background: #6c757d;
    color: white;
    border: none;
    padding: 20px;
    cursor: pointer;
    font-size: 10px;
    border-radius: 0px;

}

.btn-secondary:hover {
    background: #545b62;
}

/* 予約ボタン送付前 */
.attention {
    font-size: 12px;
    color: var(--accent-color);

}
/* レスポンシブ対応 */
@media (max-width: 768px) {
    
    .popup-header {
        padding: 15px;
    }
    
    .popup-footer {
        padding: 15px;
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
}



/* スマホ用のスタイルを強化 */
@media (max-width: 768px) {
    /* .popup-content {
        width: 95%;
        height: 90vh;
        margin: 0;
        padding: 0;
    } */
    
    /* .popup-body {
        padding: 10px;
        align-items: flex-start;
    }
    
    .popup-body iframe {
        height: 70vh;
        min-height: 300px;
        width: 100%;

        zoom: 0.8;
        transform: scale(0.8);
        transform-origin: top center;
    }
     */
    .popup-header,
    .popup-footer {
        flex-shrink: 0;
        padding: 15px;
    }
}

/* スマホ用スタイルを強化 */
@media (max-width: 768px) {
    .popup-body iframe {
        height: 65vh !important;
        min-height: 50vh !important;
        width: 100% !important;
        /* スマホでの表示を最適化 */
        zoom: 1;
        transform: none;
    }
    
    .popup-content {
        height: 80vh;
        display: flex;
        flex-direction: column;
    }
    
    .popup-body {
        flex: 1;
        overflow: auto;
    }
}

/* スクロール禁止用のスタイル */
.no-scroll {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* オーバーレイ */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

.nav-overlay.active {
    display: block;
}




/* ハンバーガーメニューボタン */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-menu span {
    width: 100%;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ハンバーガーメニューがアクティブ時のスタイル */
.hamburger-menu.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* モバイルナビゲーション */
@media (max-width: 768px) {

    .logo-link h1{
        font-size: 12px;
    }

    header.transparent-header {
    background: var(--dark-color);
    }
    .hamburger-menu {
        display: flex;
        font-size: 12px;
    }
    
    header.transparent-header nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100vw;
        /* max-width: 300px; */
        height: 100vh;
        background: var(--dark-color);
        transition: right 0.3s ease;
        padding: 80px 20px 20px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        overflow-y: auto;
        text-align: center;
    }
    
    header.transparent-header nav.active {
        right: 0;
    }
    
    header.transparent-header nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }
    
    header.transparent-header nav ul li {
        width: 100%;
        margin-bottom: 10px;
    }
    
    header.transparent-header nav ul li a {
        display: block;
        padding: 12px 15px;
        margin: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
        box-sizing: border-box;
    }
    
    .language-switcher {
        justify-content: flex-start;
        margin: 15px 0;
        padding: 0 15px;
    }
    
    .reservation-btn {
        margin-top: 20px;
        justify-content: center;
        width: 100%;
    }
    
    /* オーバーレイ */
    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }
    
    .nav-overlay.active {
        display: block;
    }

    .hero-slide {
        height: 100vh;
        margin-top: -70px;
    }
}




/* エラーページ */
        .error-section {
            text-align: center;
            padding: 80px 0;
            min-height: 60vh;
            display: flex;
            align-items: center;
            margin-top: 80px;
        }
        
        .error-content {
            max-width: 600px;
            margin: 0 auto;
        }
        
        .error-code {
            font-size: 6rem;
            font-weight: bold;
            color: var(--primary-color);
            margin-bottom: 20px;
            line-height: 1;
        }
        
        .error-title {
            font-size: 2rem;
            margin-bottom: 20px;
            color: var(--dark-color);
        }
        
        .error-message {
            margin-bottom: 40px;
            font-size: 1.1rem;
            color: var(--text-color);
        }
        
        .error-actions {
            display: flex;
            flex-direction: column;
            gap: 15px;
            max-width: 300px;
            margin: 0 auto;
        }
        
        @media (min-width: 768px) {
            .error-actions {
                flex-direction: row;
                justify-content: center;
                max-width: 100%;
            }
            
            .error-actions .btn {
                min-width: 200px;
            }
        }
