/* ==================== */
/* CSS変数定義
/* ==================== */
:root {
    /* メインカラー（白と緑） */
    --primary-color: #ffffff;
    --secondary-color: #2E8B57; /* シーグリーン（緑系） */
    --accent-color: #3CB371; /* ミディアムシーグリーン */
    --light-green: #98FB98; /* 薄い緑 */
    --dark-green: #228B22; /* 濃い緑 */
    
    /* テキストカラー */
    --text-color: #333333;
    --light-text: #666666;
    --white-text: #ffffff;
    
    /* 背景色 */
    --background-light: #f8f9fa;
    --background-white: #ffffff;
    --background-green: #f0fff0; /* ごく薄い緑 */
    
    /* ボーダー */
    --border-light: #e0e0e0;
    --border-medium: #cccccc;
    --border-green: #c8e6c9;
    
    /* ホバー */
    --hover-light: #f5f5f5;
    --hover-green: #e8f5e9;
    
    /* シャドウ */
    --shadow-light: rgba(46, 139, 87, 0.1);
    --shadow-medium: rgba(46, 139, 87, 0.2);
    
    /* オーバーレイ */
    --overlay-dark: rgba(0, 110, 42, 0.3);
    
    /* ステータス */
    --success-bg: #d4edda;
    --success-text: #155724;
    --error-bg: #f8d7da;
    --error-text: #721c24;
}

/* ==================== */
/* リセット & ベーススタイル
/* ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
    background: transparent;
    border: none;
    outline: none;
    text-decoration: none;
    list-style: none;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--primary-color);
}

h1, h2, h3, h4, h5 {
    font-weight: 700;
    color: var(--secondary-color);
}

a {
    transition: all 0.3s ease;
    text-decoration: none;
}

a:hover {
    transform: translateY(-3px);
    opacity: 0.7;
}

html {
    scroll-padding-top: 80px; 
    scroll-behavior: smooth;
}

img {
    max-width: 100%;
    height: auto;
}

img[loading="lazy"] {
    background-color: var(--hover-light);
}

/* ==================== */
/* レイアウト & コンテナ
/* ==================== */
.container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}

.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    position: relative;
}

.section-subtitle {
    text-align: center;
    font-size: 1rem;
    color: var(--light-text);
    margin-bottom: 40px;
    font-weight: 400;
}

/* ==================== */
/* ヘッダー（2段構成）
/* ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    z-index: 1000;
    box-shadow: 0 2px 10px var(--shadow-light);
}

/* ヘッダー上段（白背景） */
.header-top {
    background-color: var(--primary-color);
    padding: 15px 0;
    border-bottom: 2px solid var(--border-green);
}

.header-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.clinic-name {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 0 0 auto;
}

.logo-img {
    height: 50px;
    width: 50px;
    object-fit: cover;
    border-radius: 50%;
}

.clinic-name-text {
    display: flex;
    flex-direction: column;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin: 0;
    line-height: 1.2;
}

.clinic-subtitle {
    font-size: 0.8rem;
    color: var(--light-text);
    margin-top: 2px;
    font-weight: 500;
}

/* 連絡先情報セクション */
.header-contact {
    display: flex;
    align-items: center;
    gap: 30px;
    flex: 1;
    justify-content: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    text-align: center;
}

.station-info, .hours-info {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-color);
    white-space: nowrap;
}

.station-info i, .hours-info i {
    color: var(--secondary-color);
    font-size: 0.9rem;
    width: 16px;
    text-align: center;
}

.phone-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.phone-info i {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.phone-link {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.phone-link:hover {
    color: var(--accent-color);
    transform: scale(1.05);
}

.phone-note {
    display: none !important;
}

/* 予約ボタン */
.reserve-btn {
    background-color: var(--secondary-color);
    color: var(--white-text);
    padding: 8px 15px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 0.9rem;
    box-shadow: 0 4px 6px var(--shadow-light);
}

.reserve-btn:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px var(--shadow-medium);
}

.reserve-btn i {
    font-size: 0.9rem;
}

/* 新しく追加したコンテナのスタイル */
.phone-reserve-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* ヘッダー下段（緑背景・メニュー） */
.header-bottom {
    background-color: var(--secondary-color);
    padding: 12px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header-bottom .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ナビゲーション（常に表示） */
.nav ul {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.nav ul li a {
    color: var(--white-text);
    font-weight: 600;
    font-size: 1rem;
    padding: 5px 10px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    border-radius: 4px;
}

.nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light-green);
    transform: translateY(-1px);
}


/* ==================== */
/* メインビジュアル（スライダー）
/* ==================== */
.image-slider {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.image-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    background-size: cover;
    background-position: center;
}

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

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--primary-color);
    background-color: var(--overlay-dark);
    padding: 20px 30px;
    max-width: 600px;
}

.slide-content h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.slide-content p {
    font-size: 1.1rem;
    font-weight: 400;
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 20px;
}

.slider-controls button {
    color: var(--primary-color);
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    cursor: pointer;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 6px;
    cursor: pointer;
}

.slider-dots .dot.active {
    background-color: var(--secondary-color);
}

/* ==================== */
/* 強みセクション
/* ==================== */
.strengths-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.strength-item {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    opacity: 1;
    transform: translateY(0) scale(1);
}

.strength-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    margin-bottom: 15px;
}

.strength-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.strength-item p {
    color: var(--light-text);
}
/* ==================== */
/* 料金表セクション（シンプル版）
/* ==================== */
.pricing {
    background-color: var(--background-light);
}

.pricing-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

/* 特別オファー（リボン付き） */
.pricing-table:nth-child(1) {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    position: relative;
    overflow: hidden;
}

.pricing-table:nth-child(1)::before {
    content: "Special";
    position: absolute;
    top: 10px;
    right: -35px;
    background-color: #ff6b6b;
    color: var(--primary-color);
    padding: 8px 40px;
    font-size: 0.9rem;
    font-weight: 700;
    transform: rotate(40deg);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    letter-spacing: 1px;
    z-index: 1;
}

/* リボン付きテーブルの特別スタイル */
.pricing-table:nth-child(1) .pricing-header {
    background-color: transparent;
    padding: 25px 20px;
}

.pricing-table:nth-child(1) .pricing-header h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-weight: 800;
}

.pricing-table:nth-child(1) .pricing-header p {
    color: var(--primary-color);
    opacity: 0.95;
    font-size: 0.95rem;
    font-weight: 500;
}

.pricing-table:nth-child(1) .pricing-body {
    background-color: rgba(255, 255, 255, 0.95);
}

.pricing-table:nth-child(1) .service-name h4 {
    color: var(--secondary-color);
    font-weight: 700;
}

.pricing-table:nth-child(1) .price-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* 基本テーブルスタイル */
.pricing-table {
    background-color: var(--primary-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-light);
    display: flex;
    flex-direction: column;
}

.pricing-header {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 20px;
    text-align: center;
}

.pricing-header h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-weight: 600;
}

.pricing-header p {
    opacity: 0.9;
    font-size: 0.9rem;
    font-weight: 400;
}

.pricing-body {
    padding: 20px;
    flex-grow: 1;
}

/* 価格項目 - シンプルで確実な配置 */
.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center; /* 中央揃えで確実に揃える */
    padding: 18px 0; /* 上下パディングを統一 */
    border-bottom: 1px solid var(--border-light);
    min-height: 85px; /* 最低高さを設定して揃える */
}

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

/* サービス情報 - 簡素化 */
.service-name {
    flex: 1;
    margin-right: 15px;
}

.service-name h4 {
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 5px;
}

.service-name p {
    font-size: 0.9rem;
    color: var(--light-text);
    line-height: 1.5;
}

/* 価格表示 */
.service-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-align: right;
    flex-shrink: 0;
    min-width: 100px;
}

.service-price span {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--light-text);
    margin-left: 5px;
}

/* 注意事項 */
.pricing-notice {
    background-color: var(--primary-color);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--accent-color);
    margin-top: 20px;
    grid-column: 1 / -1;
}

.pricing-notice p {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    font-size: 0.95rem;
    font-weight: 400;
}

.pricing-notice i {
    color: var(--accent-color);
    margin-right: 10px;
    margin-top: 3px;
    font-size: 1rem;
}


/* ==================== */
/* 医院情報セクション
/* ==================== */
.clinic-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

.clinic-info {
    flex: 1;
    min-width: 300px;
}

.clinic-info-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-light);
}

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

.info-item h4 {
    font-size: 1.1rem;
    margin-right: 15px;
    color: var(--secondary-color);
    min-width: 100px;
    flex-shrink: 0;
}

.info-item p {
    color: var(--light-text);
    line-height: 1.6;
    margin: 0;
}

.info-item a {
    color: var(--secondary-color);
    text-decoration: none;
}

.info-item a:hover {
    text-decoration: underline;
}

.clinic-access {
    background-color: var(--background-light);
    padding: 20px;
    border-radius: 8px;
}

.clinic-access h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.clinic-access p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    font-size: 14px;
}

.clinic-access i {
    margin-right: 10px;
    color: var(--secondary-color);
    width: 20px;
}

.map-container {
    flex: 1;
    min-width: 300px;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-light);
}

/* ==================== */
/* CTAセクション
/* ==================== */
.cta-section {
    position: relative;
    padding: 60px 0;
    background: linear-gradient(135deg, 
        rgba(46, 139, 87, 0.95) 0%,
        rgba(60, 179, 113, 0.95) 100%
    );
    overflow: hidden;
    color: var(--white-text);
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.25;
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-text {
    padding: 30px;
    border-radius: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cta-title {
    font-size: 2rem;
    color: var(--white-text);
    margin-bottom: 15px;
    font-weight: 800;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 25px;
    font-weight: 400;
}

.cta-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
    font-size: 1.8rem;
    font-weight: 700;
}

.cta-phone i {
    color: var(--white-text);
    font-size: 2rem;
}

.cta-phone-link {
    color: var(--white-text);
    text-decoration: none;
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-phone-link:hover {
    color: var(--light-green);
    transform: scale(1.05);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    min-width: 200px;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.phone-btn {
    background-color: var(--white-text);
    color: var(--secondary-color);
    border: 2px solid var(--white-text);
}

.phone-btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
    border-color: var(--white-text);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.reservation-btn {
    background-color: transparent;
    color: var(--white-text);
    border: 2px solid var(--white-text);
}

.reservation-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white-text);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.cta-btn i {
    font-size: 1.3rem;
}

.cta-qr-codes {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.qr-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.qr-code {
    width: 140px;
    height: 140px;
    background-color: var(--white-text);
    border-radius: 10px;
    padding: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-image {
    width: 110px;
    height: 110px;
    object-fit: contain;
}

.qr-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white-text);
}

.qr-label i {
    font-size: 1.2rem;
    color: var(--white-text);
}

/* ==================== */
/* フッター
/* ==================== */
.footer {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 50px 0 20px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-logo-img {
    height: 40px;
    margin-right: 10px;
    filter: brightness(0) invert(1);
}

.footer-info h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.footer-info p {
    margin-bottom: 15px;
}

.footer-info address {
    margin-top: 20px;
}

.footer-info address p {
    margin-bottom: 8px;
    margin-left: 10px;
    display: flex;
    align-items: center;
}

.footer-info i {
    margin-right: 10px;
    color: var(--primary-color);
    width: 16px;
    text-align: center;
}

.footer-links h4 {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--primary-color);
}

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

.footer-links ul li a {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* ==================== */
/* プライバシーポリシー
/* ==================== */

.privacy .container {
    max-width: 500px;
    margin-top: 120px;
}

.privacy-content {
    margin-top: 40px;
}

.privacy-text h3 {
    font-size: 24px;
    margin-bottom: 20px;
    border-bottom: 2px solid #c60000;
    padding-bottom: 10px;
    margin-top: -20px;
}

.privacy-text p {
    line-height: 1;
    margin-bottom: 15px;
    font-size: 14px;
}

.privacy-text ul {
    margin: 15px 0;
    padding-left: 20px;
}

.privacy-text li {
    line-height: 1;
    font-size: 14px;
}

.policy-date {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-medium);
    font-style: italic;
    color: #777;
}

/* ==================== */
/* レスポンシブデザイン
/* ==================== */

/* iPadサイズ (max-width: 992px) */
@media (max-width: 992px) {
    .section {
        padding: 40px 0;
    }
    
    .header-top {
        padding: 12px 0;
    }
    
    .header-info {
        gap: 20px;
    }
    
    .logo-img {
        height: 45px;
        width: 45px;
    }
    
    .logo {
        font-size: 1.4rem;
    }
    
    .clinic-subtitle {
        font-size: 0.75rem;
    }
    
    .header-contact {
        gap: 20px;
    }
    
    .contact-info {
        font-size: 0.85rem;
    }
    
    .phone-link {
        font-size: 1.3rem;
    }
    
    .reserve-btn {
        padding: 7px 12px;
        font-size: 0.85rem;
    }
    
    .nav ul {
        gap: 15px;
    }
    
    .nav ul li a {
        font-size: 0.9rem;
    }
    
    .slide-content {
        width: 90%;
        padding: 15px;
    }
    
    .slide-content h2 {
        font-size: 1.6rem;
    }
    
    .pricing-content {
        gap: 25px;
    }
    
    .pricing-table:nth-child(1)::before {
        top: 15px;
        right: -30px;
        padding: 6px 35px;
        font-size: 0.85rem;
    }

    .clinic-info,
    .map-container {
        flex: 1 1 100%; /* 両方とも100%幅に */
        min-width: 100%;
    }
}

/* スマホサイズ (max-width: 768px) */
@media (max-width: 768px) {
    .header {
        position: static;
    }
    
    .header-info {
        flex-direction: column;
        gap: 15px;
    }
    
    .clinic-name {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
    
    .header-contact {
        width: 100%;
        flex-direction: column;
        gap: 10px;
    }
    
    .contact-info {
        flex-direction: row;
        justify-content: center;
        gap: 15px;
        font-size: 0.85rem;
        width: 100%;
        flex-wrap: wrap;
    }

    
    .phone-info {
        justify-content: center;
    }
    
    .phone-link {
        font-size: 1.4rem;
    }
    
    .reserve-btn {
        padding: 8px 15px;
        font-size: 0.85rem;
    }
    
    .nav ul {
        gap: 10px;
    }
    
    .nav ul li a {
        font-size: 0.85rem;
        padding: 4px 8px;
    }
    
    .slider-controls button {
        display: none;
    }

    .pricing-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pricing-table:nth-child(1)::before {
        top: 12px;
        right: -28px;
        padding: 5px 30px;
        font-size: 0.8rem;
    }
        
    .clinic-content {
        flex-direction: column;
    }
    
    .info-item {
        flex-direction: column;
        gap: 5px;
    }
    
    .info-item h4 {
        min-width: auto;
        margin-bottom: 5px;
    }
    
    .cta-section {
        padding: 50px 0;
    }
    
    .cta-title {
        font-size: 1.7rem;
    }
    
    .cta-subtitle {
        font-size: 1rem;
    }
    
    .cta-text {
        padding: 25px 15px;
    }
    
    .cta-phone {
        font-size: 1.4rem;
        gap: 8px;
    }
    
    .cta-phone i {
        font-size: 1.6rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 280px;
        padding: 12px 20px;
    }
    
    .cta-qr-codes {
        gap: 25px;
    }
    
    .qr-code {
        width: 120px;
        height: 120px;
    }
    
    .qr-image {
        width: 95px;
        height: 95px;
    }
}

/* 小さいスマホサイズ (max-width: 576px) */
@media (max-width: 576px) {
    .section-title {
        font-size: 1.6rem;
    }
    
    .logo {
        font-size: 1.4rem;
    }
    
    .clinic-subtitle {
        display: none;
    }
    
    .header-contact {
        gap: 12px;
    }
    
    .contact-info {
        gap: 10px;
        font-size: 0.8rem;
    }
    
    .phone-link {
        font-size: 1.3rem;
    }
    
    .reserve-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .nav ul {
        gap: 8px;
    }
    
    .nav ul li a {
        font-size: 0.8rem;
        padding: 3px 6px;
    }
    
    .slide-content h2 {
        font-size: 1.4rem;
    }

    .image-slider {
        height: 70vh; /* さらに小さな画面では80vhに */
    }

    .image-slider .image-slide:nth-child(1) {
        background-position: 30% center; 
    }
    
    .image-slider .image-slide:nth-child(2) {
        background-position: 30% center; 
    }
    
    .image-slider .image-slide:nth-child(3) {
        background-position: 30% center; 
    }
    .price-item {
        flex-direction: column;
        gap: 10px;
    }
    
    .service-price {
        margin-left: 0;
        text-align: left; 
        min-width: auto;
        align-self: flex-end; 
        width: 100%; 
        text-align: right; 
    }

    .service-name h4 {
        text-indent: 0; /* インデントをリセット */
        margin-left: 0; /* 左マージンをリセット */
        padding-left: 0; /* 左パディングをリセット */
    }

    .service-name h4:first-letter {
        margin-left: 0;
        padding-left: 0;
    }
    
    
    .map-container {
        height: 300px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .cta-section {
        padding: 40px 0;
    }
    
    .cta-title {
        font-size: 1.5rem;
    }
    
    .cta-subtitle {
        font-size: 0.95rem;
    }
    
    .cta-phone {
        font-size: 1.3rem;
    }
    
    .cta-btn {
        padding: 10px 18px;
        font-size: 1rem;
    }
    
    .qr-code {
        width: 110px;
        height: 110px;
    }
    
    .qr-image {
        width: 85px;
        height: 85px;
    }
    
    .qr-label {
        font-size: 0.9rem;
    }

    .cta-background {
        background-position: 35% center; /* 中央、70%の位置 */
    }

    .privacy .container {
    margin-top: 0px;
    }
}