/* ==================================================
   URARA CLINIC - 公式LP B14スタイル再現
   ================================================== */

/* Google Fonts読み込み */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@300;400;500;600;700&family=M+PLUS+Rounded+1c:wght@300;400;500;700&family=Zen+Maru+Gothic:wght@300;400;500&display=swap');

/* リセット & 基本設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* 全要素の横幅制限で横スクロール防止 */
    max-width: 100%;
}

/* 横スクロール完全防止のための全体設定 */
html, body, .official-container {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* 全てのセクションとコンテナ要素 */
section, div, img, .modal-content {
    max-width: 100% !important;
    box-sizing: border-box !important;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    /* 横スクロール完全防止 */
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: 'M PLUS Rounded 1c', 'Zen Maru Gothic', -apple-system, BlinkMacSystemFont, 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    /* 横スクロール完全防止 */
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

/* 美容クリニック向け上品なタイトルフォント */
h1, h2, h3, .elegant-title, .premium-text {
    font-family: 'Noto Serif JP', 'M PLUS Rounded 1c', serif;
    font-weight: 500;
    letter-spacing: 0.05em;
}

img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto;
    display: block;
    box-sizing: border-box !important;
}



/* ==================================================
   メインコンテナ
   ================================================== */
.official-container {
    max-width: 750px;
    width: 100%;
    margin: 0 auto;
    background: #fff;
    overflow-x: hidden;
    padding: 0;
    box-sizing: border-box;
}

/* ==================================================
   メインビジュアル
   ================================================== */
.hero-visual {
    position: relative;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: auto;
    animation: slideInUp 1.2s ease-out;
}

@keyframes slideInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ==================================================
   キャンペーンセクション
   ================================================== */
.campaign-lead,
.campaign-main,
.campaign-limited {
    position: relative;
    margin: 0;
}

.campaign-lead-image,
.campaign-main-image,
.campaign-limited-image {
    width: 100%;
    height: auto;
    transition: transform 0.6s ease;
}

.animated-banner {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

/* ==================================================
   CTAブロック
   ================================================== */
.cta-block {
    position: relative;
    background: linear-gradient(135deg, rgba(168, 213, 242, 0.9), rgba(232, 180, 245, 0.9)), url('images/pastel-background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 40px 20px;
    text-align: center;
}

.campaign-guarantee-image {
    width: 100%;
    max-width: 600px;
    margin: 0 auto 30px;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.cta-apply {
    display: block;
    text-decoration: none;
    transition: transform 0.4s ease;
}

.cta-apply:hover {
    transform: translateY(-5px);
}

.animated-cta {
    animation: bounce 2s infinite;
    max-width: 600px;
    margin: 0 auto;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.clinic-info-button {
    background: linear-gradient(135deg, #ff85a2, #ff6b9d);
    color: white;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    max-width: 600px;
    box-shadow: 0 6px 20px rgba(255, 133, 162, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.8);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.clinic-info-button:hover {
    background: linear-gradient(135deg, #ff6b9d, #ff5582);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 133, 162, 0.6);
}

.clinic-info-text {
    display: block;
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 0.02em;
    color: white;
}

.clinic-locations {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.location-item {
    flex: 1;
    padding: 18px;
    background: #ffffff;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(255, 133, 162, 0.15);
    border: 3px solid #ff85a2;
    transition: all 0.3s ease;
}

.location-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.2);
    border-color: #ff85a2;
}

.location-name {
    display: block;
    font-weight: bold;
    font-size: 17px;
    margin-bottom: 8px;
    font-family: 'M PLUS Rounded 1c', sans-serif;
    background: linear-gradient(135deg, #ff85a2, #ff6b9d);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    margin: -8px -8px 10px -8px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.location-tel {
    display: block;
    font-size: 20px;
    font-weight: bold;
    color: #ff6b9d;
    margin-bottom: 8px;
    text-shadow: none;
    font-family: 'M PLUS Rounded 1c', sans-serif;
}

.location-address {
    display: block;
    font-size: 13px;
    color: #495057;
    opacity: 1;
    line-height: 1.5;
    margin-bottom: 6px;
}

/* ==================================================
   追加キャンペーン
   ================================================== */
.campaigns-extra {
    background: linear-gradient(to bottom, #f8f9fa, #fff);
    padding: 40px 20px;
}

.campaign-extra-title {
    width: 100%;
    max-width: 600px;
    margin: 0 auto 30px;
}

.extra-campaigns-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.campaign-extra-item {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.campaign-extra-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* ==================================================
   実績・症例セクション
   ================================================== */
.results-premium {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.results-title h2 {
    font-family: 'Noto Serif JP', serif;
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.results-title p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 40px;
}

.real-cases {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 700px;
    margin: 0 auto;
}

.case-feature {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.case-image {
    position: relative;
}

.case-before {
    width: 100%;
    height: auto;
}

.case-result-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    padding: 30px 20px 20px;
    color: white;
}

.case-result-overlay h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.weight-result {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.before, .after {
    font-size: 18px;
    font-weight: bold;
    padding: 8px 15px;
    border-radius: 20px;
}

.before {
    background: rgba(255, 255, 255, 0.2);
}

.after {
    background: #4CAF50;
}

.arrow {
    font-size: 20px;
    color: #ffd700;
}

.achievement {
    font-size: 24px;
    font-weight: bold;
    color: #ffd700;
    margin-bottom: 15px;
}

.testimonial {
    font-style: italic;
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.9;
}

/* 症例カードのグリッドレイアウトを2列に調整 */

/* ==================================================
   医師紹介セクション
   ================================================== */
.doctor-premium {
    background: linear-gradient(to bottom, #f8f9fa, #e9ecef);
    padding: 60px 20px;
    text-align: center;
}

.doctor-header h2 {
    font-family: 'Noto Serif JP', serif;
    font-size: 18px;
    color: #666;
    margin-bottom: 5px;
    letter-spacing: 0.1em;
    font-weight: 400;
}

.doctor-header h3 {
    font-family: 'Noto Serif JP', serif;
    font-size: 32px;
    font-weight: 600;
    color: #333;
    margin-bottom: 40px;
    letter-spacing: 0.05em;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.05);
}

.doctor-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    max-width: 600px;
    margin: 0 auto;
}

.doctor-photo {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.doctor-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.doctor-credentials {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.doctor-credentials span {
    background: #f0f8ff;
    color: #4a90e2;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.doctor-message {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    font-style: italic;
    border-left: 4px solid #4a90e2;
    padding-left: 20px;
    margin-left: 20px;
    text-align: left;
}

/* ==================================================
   シンプルCTA
   ================================================== */
.simple-cta {
    background: #ffffff;
    padding: 40px 20px;
    text-align: center;
}

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

.simple-cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b9d, #c44569);
    color: white;
    padding: 20px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.4);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.simple-cta-button:hover {
    background: linear-gradient(135deg, #ff5582, #b33a5c);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 107, 157, 0.6);
}

.simple-cta-button .cta-main-text {
    display: block;
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.simple-cta-button .cta-sub-text {
    display: block;
    font-size: 16px;
    opacity: 0.9;
}

/* ==================================================
   最終CTA
   ================================================== */
.final-cta {
    background: linear-gradient(135deg, rgba(168, 213, 242, 0.95), rgba(232, 180, 245, 0.95)), url('images/pastel-background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.cta-urgent h2 {
    font-family: 'Noto Serif JP', serif;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 0.05em;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.3);
    animation: flash 2s infinite;
    color: #ff0066;
    border: 3px solid #fff;
    padding: 15px 30px;
    border-radius: 15px;
    display: inline-block;
    margin: 0 auto 20px;
    background-color: rgba(255, 255, 255, 0.9);
}

@keyframes flash {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

@keyframes glow {
    from {
        text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.5), 0 0 20px #ffd700;
    }
    to {
        text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.5), 0 0 30px #ffd700, 0 0 40px #ffd700;
    }
}

@keyframes blink {
    0%, 50% { opacity: 1; }
     51%, 100% { opacity: 0.7; }
}

.cta-highlight {
    font-size: 72px;
    font-weight: 900;
    color: #ffd700;
    margin-bottom: 15px;
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.5);
    animation: glow 2s ease-in-out infinite alternate;
    display: block;
    line-height: 1;
}

.cta-price {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 25px;
    border-radius: 12px;
    display: inline-block;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-note {
    font-size: 22px;
    font-weight: 600;
    opacity: 1;
    margin-bottom: 40px;
    color: #ffff99;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    animation: blink 3s infinite;
    background: rgba(255, 0, 0, 0.8);
    padding: 10px 20px;
    border-radius: 25px;
    display: inline-block;
    border: 2px solid #fff;
}

.note-reference {
    font-size: 14px;
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 6px;
    border-radius: 8px;
    margin-left: 5px;
    vertical-align: super;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.final-cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b9d, #c44569);
    color: white;
    padding: 20px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.4);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    animation: pulse 2s infinite;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.final-cta-button:hover {
    background: linear-gradient(135deg, #ff5582, #b33a5c);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 107, 157, 0.6);
}

.cta-main-text {
    display: block;
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.cta-sub-text {
    display: block;
    font-size: 16px;
    opacity: 0.9;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.feature {
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

/* ==================================================
   データで見るURARAクリニック - 公式ページ準拠版
   ================================================== */

/* トップ画像 */
.top-img-wrapper {
    width: 100%;
    margin-bottom: 40px;
}

.top-img {
    width: 100%;
    text-align: center;
}

.data-card-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 0;
}

/* データラッパー */
.data-wrapper {
    background: #ffffff;
    padding: 0;
}

/* 結果セクション */
.result-section {
    padding: 60px 0;
    background: #ffffff;
}

.result-section.visitor {
    background: #ffffff;
}

.result-section.result {
    background: #ffffff;
}

.result-section.about {
    background: #ffffff;
}

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

/* タイトル */
.result-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #2c2c2c;
    text-align: center;
    margin-bottom: 40px;
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.4;
}

/* タイトル改行用スタイル */
.title-break {
    display: inline;
}

/* データ画像表示 - PC/スマホ共通 */
.data-images-mobile {
    display: block;
    width: 100%;
    margin: 40px auto;
    text-align: center;
}

.data-image-mobile {
    width: 100%;
    margin: 0 auto 20px auto;
    text-align: center;
    display: block;
}

.data-img-full {
    width: 100%;
    max-width: 750px;
    height: auto;
    display: block;
    object-fit: cover;
    margin: 0 auto;
}

/* picture要素の中央配置 */
.data-image-mobile picture {
    width: 100%;
    display: block;
    text-align: center;
}

/* 追加の中央配置強化 */
.data-image-mobile img,
.data-image-mobile picture img {
    margin-left: auto !important;
    margin-right: auto !important;
}

/* PC表示時のスタイル調整 */
@media (min-width: 769px) {
    .data-images-mobile {
        max-width: 1200px;
        margin: 40px auto;
        padding: 0 20px;
    }
    
    .data-image-mobile {
        margin-bottom: 30px;
    }
}

/* データグリッド */
.data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

/* データカード */
.data-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.data-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.data-card-content {
    position: relative;
    overflow: hidden;
}

.data-card-content img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.data-card:hover .data-card-content img {
    transform: scale(1.02);
}

/* カードリンク */
.data-card-link__wrapper {
    padding: 20px;
    text-align: center;
    background: #f9f9f9;
}

.data-card-link {
    display: inline-block;
    color: #e8b4b8;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 24px;
    border: 2px solid #e8b4b8;
    border-radius: 25px;
    transition: all 0.3s ease;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(232, 180, 184, 0.2);
}

.data-card-link:hover {
    background: #e8b4b8;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(232, 180, 184, 0.4);
}

/* データカード内の医院情報ボタン統一 */
.data-card .cta-modal {
    display: block;
    text-decoration: none;
}

.data-card .clinic-info-button {
    background: #ffffff;
    border: 2px solid #e8b4b8;
    border-radius: 25px;
    padding: 16px 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(232, 180, 184, 0.2);
}

.data-card .clinic-info-button:hover {
    background: #e8b4b8;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(232, 180, 184, 0.4);
}

.data-card .clinic-info-text {
    display: block;
    color: #e8b4b8;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.data-card .clinic-info-button:hover .clinic-info-text {
    color: #ffffff;
}

.data-card .clinic-locations {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.data-card .location-item {
    text-align: left;
}

.data-card .location-name {
    display: block;
    font-weight: 600;
    font-size: 13px;
    color: #2c2c2c;
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.data-card .location-tel {
    display: block;
    font-size: 12px;
    color: #e8b4b8;
    font-weight: 500;
    margin-bottom: 2px;
    transition: color 0.3s ease;
}

.data-card .location-address {
    display: block;
    font-size: 11px;
    color: #666;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.data-card .clinic-info-button:hover .location-name,
.data-card .clinic-info-button:hover .location-tel,
.data-card .clinic-info-button:hover .location-address {
    color: #ffffff;
}

/* データ注記 */
.data-note {
    text-align: center;
    margin-top: 40px;
    color: #666666;
    font-size: 14px;
    line-height: 1.6;
    padding: 20px;
    background: #f8f8f8;
    border-radius: 8px;
    border-left: 4px solid #e8b4b8;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .result-section {
        padding: 40px 0;
    }
    
    .result-content {
        padding: 0 15px;
    }
    
    .data-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .result-title {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }
    
    .data-note {
        font-size: 12px;
        margin-top: 30px;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .result-section {
        padding: 30px 0;
    }
    
    .result-content {
        padding: 0 10px;
    }
    
    .data-grid {
        gap: 15px;
    }
    
    .result-title {
        font-size: 1.3rem;
        margin-bottom: 25px;
    }
}

/* ==================================================
   先着5名様限定キャンペーンセクション
   ================================================== */
.campaign-limited {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 60px 0;
}

.campaign-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/campaign-bg.jpg') center center / cover;
    filter: blur(0.5px);
    z-index: 1;
}

.campaign-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(232, 180, 184, 0.85) 0%,
        rgba(212, 165, 169, 0.75) 30%,
        rgba(164, 206, 221, 0.70) 60%,
        rgba(255, 255, 255, 0.80) 100%
    );
    z-index: 2;
}

.campaign-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 700px;
    padding: 70px 40px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 30px;
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.2),
        0 0 0 3px rgba(255, 204, 0, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(25px);
    border: 4px solid #ffcc00;
    animation: content-glow 3s ease-in-out infinite alternate;
}

@keyframes content-glow {
    0% {
        box-shadow: 
            0 25px 80px rgba(0, 0, 0, 0.2),
            0 0 0 3px rgba(255, 204, 0, 0.8),
            inset 0 1px 0 rgba(255, 255, 255, 0.9);
    }
    100% {
        box-shadow: 
            0 30px 100px rgba(0, 0, 0, 0.3),
            0 0 0 6px rgba(255, 102, 0, 0.9),
            inset 0 1px 0 rgba(255, 255, 255, 0.9);
    }
}

/* スクロール時のアテンションアニメーション */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.campaign-limited:hover .discount-percent {
    animation: shake 0.5s ease-in-out, flash-text 2s ease-in-out infinite;
}

.campaign-limited:hover .note-highlight {
    animation: shake 0.6s ease-in-out 0.2s, flash-highlight 2s ease-in-out infinite;
}

.campaign-limited:hover .campaign-badge {
    animation: shake 0.4s ease-in-out 0.1s, urgent-pulse 1.5s ease-in-out infinite alternate;
}

/* フォーカス時の強調表示 */
.campaign-limited:focus-within,
.campaign-limited.in-viewport {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

/* 緊急性を表す点滵アニメーション */
.campaign-badge::after {
    content: '';
    position: absolute;
    top: -5px;
    right: -5px;
    width: 12px;
    height: 12px;
    background: #ff0000;
    border-radius: 50%;
    animation: blink 1s ease-in-out infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.campaign-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff3333, #cc0000);
    color: white;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 900;
    font-size: 18px;
    margin-bottom: 25px;
    box-shadow: 0 8px 25px rgba(255, 51, 51, 0.5);
    animation: urgent-pulse 1.5s ease-in-out infinite alternate;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 3px solid #ffff00;
}

@keyframes urgent-pulse {
    0% {
        box-shadow: 0 8px 25px rgba(255, 51, 51, 0.5), 0 0 0 0 rgba(255, 255, 0, 0.7);
        transform: scale(1);
    }
    100% {
        box-shadow: 0 12px 35px rgba(255, 51, 51, 0.8), 0 0 0 8px rgba(255, 255, 0, 0.3);
        transform: scale(1.08);
    }
}

@keyframes flash-text {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes bounce-in {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

.campaign-main {
    margin: 30px 0;
}

.discount-label {
    margin-bottom: 20px;
}

.discount-text {
    font-size: 1.8rem;
    color: #ff0000;
    font-weight: 800;
    margin-right: 8px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    animation: bounce-in 1s ease-out 0.3s;
}

.discount-percent {
    font-size: 5.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #ff0000, #ff6600, #ffaa00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    animation: flash-text 2s ease-in-out infinite;
    position: relative;
    display: inline-block;
    filter: drop-shadow(0 0 10px rgba(255, 102, 0, 0.8));
}

.discount-percent::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: radial-gradient(circle, rgba(255, 102, 0, 0.2) 0%, transparent 70%);
    z-index: -1;
    border-radius: 50%;
    animation: rotate-glow 3s linear infinite;
}

@keyframes rotate-glow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.price-info {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin: 25px 0;
    gap: 8px;
}

.price-label {
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
}

.price-amount {
    font-size: 4.2rem;
    font-weight: 900;
    color: #006600;
    font-family: 'M PLUS Rounded 1c', sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 102, 0, 0.3);
    animation: bounce-in 1s ease-out;
    position: relative;
    display: inline-block;
}

.price-amount::after {
    content: '激安！';
    position: absolute;
    top: -25px;
    right: -40px;
    background: #ff0000;
    color: white;
    padding: 4px 8px;
    border-radius: 15px;
    font-size: 0.5em;
    font-weight: 700;
    animation: urgent-pulse 1.5s ease-in-out infinite alternate;
    transform: rotate(15deg);
}

.price-unit {
    font-size: 1.2rem;
    color: #666;
    font-weight: 500;
}

.campaign-note {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin: 20px 0;
}

.note-highlight {
    font-size: 2rem;
    font-weight: 900;
    color: #ff0000;
    background: linear-gradient(90deg, #ffff00, #ffcc00);
    padding: 12px 24px;
    border-radius: 25px;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(255, 204, 0, 0.5);
    animation: flash-highlight 2s ease-in-out infinite;
    border: 2px solid #ff0000;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    position: relative;
}

@keyframes flash-highlight {
    0%, 100% {
        background: linear-gradient(90deg, #ffff00, #ffcc00);
        transform: scale(1);
    }
    50% {
        background: linear-gradient(90deg, #ffcc00, #ff9900);
        transform: scale(1.05);
    }
}

.note-highlight::before {
    content: '🎉';
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    animation: bounce-in 2s ease-in-out infinite;
}

.note-highlight::after {
    content: '🎉';
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    animation: bounce-in 2s ease-in-out infinite 0.5s;
}

.note-text {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

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

.campaign-btn {
    background: linear-gradient(135deg, #ff3333, #cc0000);
    color: white;
    border: none;
    padding: 20px 50px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 51, 51, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 auto;
    min-width: 320px;
    animation: urgent-pulse 2s ease-in-out infinite alternate;
    border: 3px solid #ffff00;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.campaign-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 50px rgba(255, 51, 51, 0.8);
    background: linear-gradient(135deg, #cc0000, #990000);
}

.btn-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.campaign-btn:hover .btn-arrow {
    transform: translateX(5px);
}

/* レスポンシブ対応 - CTR最適化 */
@media (max-width: 768px) {
    .campaign-limited {
        min-height: 450px;
        margin: 30px 0;
    }
    
    .campaign-content {
        max-width: 95%;
        padding: 40px 20px;
        margin: 0 10px;
    }
    
    .campaign-badge {
        padding: 12px 30px;
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .discount-percent {
        font-size: 4rem;
    }
    
    .price-amount {
        font-size: 3.2rem;
    }
    
    .price-amount::after {
        top: -20px;
        right: -30px;
        font-size: 0.4em;
    }
    
    .note-highlight {
        font-size: 1.4rem;
        padding: 10px 20px;
        margin: 0 10px;
    }
    
    .note-highlight::before,
    .note-highlight::after {
        display: none;
    }
    
    .campaign-btn {
        width: 100%;
        max-width: 300px;
        padding: 16px 30px;
        font-size: 1rem;
    }
}
    
    .campaign-content {
        padding: 40px 20px;
        margin: 0 15px;
        border-radius: 20px;
    }
    
    .discount-percent {
        font-size: 2.8rem;
    }
    
    .price-amount {
        font-size: 2.2rem;
    }
    
    .campaign-btn {
        padding: 16px 30px;
        font-size: 1rem;
        min-width: 260px;
    }
}

@media (max-width: 480px) {
    .campaign-limited {
        min-height: 350px;
        margin: 30px 0;
    }
    
    .campaign-content {
        padding: 30px 15px;
        margin: 0 10px;
    }
    
    .discount-percent {
        font-size: 2.4rem;
    }
    
    .price-amount {
        font-size: 2rem;
    }
    
    .campaign-btn {
        padding: 14px 25px;
        font-size: 0.95rem;
        min-width: 240px;
    }
    
    .price-info {
        flex-wrap: wrap;
        gap: 5px;
    }
}



/* ==================================================
   モーダル
   ================================================== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    margin: 5% auto;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 15px;
}

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

.modal h2 {
    font-family: 'Noto Serif JP', serif;
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
    color: #333;
    font-weight: 500;
    letter-spacing: 0.05em;
}

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

.clinic-card {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
}

.clinic-card .clinic-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.clinic-card h3 {
    font-family: 'Noto Serif JP', serif;
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
    font-weight: 500;
    letter-spacing: 0.03em;
}

.clinic-card p {
    margin-bottom: 10px;
    line-height: 1.5;
}

.address {
    color: #666;
    font-size: 14px;
}

.access {
    color: #4a90e2;
    font-weight: bold;
}

.tel {
    font-size: 18px;
    font-weight: bold;
    color: #ff6b6b;
}

.hours {
    color: #666;
    font-size: 14px;
}

/* ==================================================
   レスポンシブデザイン
   ================================================== */
@media (max-width: 768px) {
    /* スマホでの横スクロール完全防止 */
    html, body {
        overflow-x: hidden !important;
        width: 100vw !important;
        max-width: 100vw !important;
    }
    
    * {
        max-width: 100vw !important;
        box-sizing: border-box !important;
    }
    
    .official-container {
        padding-top: 65px;
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin: 0 !important;
        overflow-x: hidden !important;
    }
    
    .official-header {
        padding: 8px 15px;
    }
    
    .header-logo img {
        height: 35px;
    }
    
    .header-modal-trigger {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    /* 全セクション横幅制御 */
    section, div, .cta-block, .final-cta, .campaigns-extra {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
    
    .clinic-locations {
        flex-direction: column;
        gap: 10px;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .location-item {
        text-align: left;
        background: #ffffff;
        padding: 15px !important;
        margin-bottom: 12px;
        border: 3px solid #ff85a2;
        box-shadow: 0 6px 25px rgba(255, 133, 162, 0.15);
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .doctor-content {
        text-align: center;
    }
    
    .cta-features {
        flex-direction: column;
        gap: 15px;
    }
    
    .simple-cta {
        padding: 30px 15px;
    }
    
    .simple-cta-button {
        font-size: 18px;
        padding: 18px 35px;
    }
    
    .simple-cta-button .cta-main-text {
        font-size: 20px;
    }
    
    .simple-cta-button .cta-sub-text {
        font-size: 14px;
    }
    
    /* スマホでタイトル改行 */
    .title-break {
        display: block;
    }
    
    /* スマホでデータ画像を中央配置 */
    .data-images-mobile {
        width: 100% !important;
        margin: 20px auto !important;
        padding: 0 !important;
        display: block !important;
    }
    
    .data-image-mobile {
        width: 100% !important;
        margin: 0 auto 15px auto !important;
        padding: 0 !important;
        text-align: center !important;
        display: block !important;
    }
    
    .data-img-full {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
        object-fit: cover !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }
    
    /* スマホでのpicture要素中央配置 */
    .data-image-mobile picture {
        width: 100% !important;
        display: block !important;
        text-align: center !important;
    }
    
    /* スマホで画像の完全中央配置 */
    .data-image-mobile img,
    .data-image-mobile picture img {
        margin-left: auto !important;
        margin-right: auto !important;
        display: block !important;
    }
    
    .extra-campaigns-grid {
        gap: 15px;
    }
    
    .final-cta-button {
        font-size: 18px;
        padding: 15px 30px;
    }
    
    .cta-highlight {
        font-size: 56px;
        margin-bottom: 20px;
    }
    
    .cta-urgent h2 {
        font-size: 36px;
        padding: 12px 25px;
        margin-bottom: 15px;
    }
    
    .cta-price {
        font-size: 36px;
        padding: 10px 20px;
        margin-bottom: 15px;
    }
    
    .cta-note {
        font-size: 18px;
        padding: 8px 16px;
        margin-bottom: 35px;
    }
    
    .note-reference {
        font-size: 12px;
        padding: 1px 4px;
        margin-left: 3px;
    }
    
    .modal-content {
        width: 95%;
        padding: 20px;
        margin: 10% auto;
    }
    
    .clinic-details {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
}

/* ==================================================
   注釈セクション
   ================================================== */
.disclaimers {
    background: #f8f9fa;
    padding: 30px 20px;
    border-top: 1px solid #e9ecef;
}

.disclaimers-content {
    max-width: 750px;
    margin: 0 auto;
}

.disclaimer {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
    line-height: 1.4;
    font-family: 'M PLUS Rounded 1c', sans-serif;
}

.disclaimer:last-child {
    margin-bottom: 0;
}

/* ==================================================
   フッター
   ================================================== */
.site-footer {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: #ecf0f1;
    padding: 30px 20px 20px;
}

.footer-bottom {
    text-align: center;
    max-width: 750px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 15px;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ff85a2;
}

.copyright {
    color: #7f8c8d;
    font-size: 12px;
    margin: 0;
}