/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基本設定 */
:root {
    --primary-color: #006837;
    --primary-dark: #004225;
    --primary-light: #4a9b6f;
    --accent-color: #c9302c;
    --gold: #d4af37;
    --gold-light: #f4e4bc;
    --gold-dark: #b8941f;
    --text-dark: #1a1a1a;
    --text-gray: #555555;
    --text-light: #888888;
    --bg-light: #fafafa;
    --bg-section: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 4px 15px rgba(0,0,0,0.1);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.15);
    --shadow-luxury: 0 10px 40px rgba(0,0,0,0.2);
}

body {
    font-family: 'Noto Serif JP', 'Noto Sans JP', serif;
    line-height: 1.8;
    color: var(--text-dark);
    font-size: 16px;
    font-weight: 400;
    background: var(--bg-light);
    overflow-x: hidden;
    letter-spacing: 0.05em;
}

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

/* 固定電話ボタン */
.fixed-phone {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: var(--shadow-hover);
    z-index: 999;
    transition: all 0.3s ease;
}

.fixed-phone:hover {
    transform: scale(1.1);
    background: #a02622;
}

.fixed-phone i {
    font-size: 24px;
}

/* ヘッダー */
.main-nav {
    background: linear-gradient(to bottom, #ffffff, #f8f8f8);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.header-top {
    background: linear-gradient(to right, #fafafa, #ffffff, #fafafa);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    border-bottom: 2px solid var(--gold);
    padding: 8px 0;
}

.header-info {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    font-size: 14px;
}

.header-tel {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.header-tel:hover {
    opacity: 0.8;
}

.header-address {
    color: var(--text-gray);
}

.nav-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    height: 80px;
}

.logo {
    width: 200px;
    height: 70px;
    overflow: hidden;
    margin-right: 30px;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 15px;
    flex: 1;
    justify-content: flex-end;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.nav-menu a:hover {
    color: var(--gold-dark);
    text-shadow: 0 0 1px rgba(212, 175, 55, 0.5);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--gold), var(--gold-light));
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-contact {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white !important;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-size: 13px;
    box-shadow: 0 4px 15px rgba(0, 104, 55, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.nav-contact:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 104, 55, 0.4);
}

.nav-contact::after {
    display: none !important;
}

.nav-official {
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    color: var(--gold-light) !important;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-size: 13px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.nav-official:hover {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    color: var(--gold) !important;
}

.nav-official::after {
    display: none !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--text-dark);
    transition: 0.3s;
}

/* ヒーローセクション */
.hero {
    margin-top: 117px;
    position: relative;
}

.hero-image {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.5));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.hero-title {
    text-align: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-subtitle {
    display: block;
    font-size: 28px;
    font-weight: 300;
    margin-bottom: 30px;
    letter-spacing: 0.2em;
    color: var(--gold-light);
    text-transform: uppercase;
}

.hero-maintitle {
    display: block;
    font-size: 56px;
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1.2;
}

/* 残り口数バッチ */
.limited-badge {
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 20;
    animation: badge-pulse 3s ease-in-out infinite;
}

.badge-content {
    background: linear-gradient(135deg, #ffffff, #f5f5f5);
    color: var(--primary-color);
    width: 180px;
    height: 180px;
    padding: 20px;
    border-radius: 50%;
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.3);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 6px solid var(--gold);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.badge-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: rotate(45deg);
    animation: badge-shine 3s ease-in-out infinite;
}

.badge-text {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 3px;
    letter-spacing: 0.08em;
    color: var(--gold-dark);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.badge-highlight {
    display: block;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: var(--gold-dark);
    line-height: 1.2;
    margin-bottom: -5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.badge-number {
    font-size: 52px;
    font-weight: 900;
    display: block;
    margin: 0;
    color: var(--gold-dark);
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.15);
    line-height: 1;
}

.badge-unit {
    font-size: 26px;
    font-weight: 700;
    margin-left: 2px;
    color: var(--gold-dark);
}

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

@keyframes badge-shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    50%, 100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}


/* セクション共通 */
.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-dark);
    line-height: 1.5;
    letter-spacing: 0.1em;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--gold-dark), var(--gold-light), var(--gold-dark));
    margin: 0 auto 60px;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(212, 175, 55, 0.3);
}

/* 会員募集セクション */
.membership-section {
    padding: 80px 0;
    background: white;
}

.membership-header {
    text-align: center;
    margin-bottom: 60px;
}

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

.membership-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.membership-info h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.price-box {
    background: linear-gradient(145deg, #ffffff, var(--bg-light));
    padding: 50px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-luxury);
    border: 1px solid rgba(212, 175, 55, 0.2);
    position: relative;
}

.price-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, var(--gold-dark), var(--gold), var(--gold-dark));
    border-radius: 12px 12px 0 0;
}

.price-item {
    display: block;
    margin-bottom: 25px;
    text-align: center;
}

.price-item:last-child {
    margin-bottom: 0;
}

.price-label {
    display: block;
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.price-value {
    display: block;
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.price-unit {
    font-size: 24px;
    font-weight: 400;
    margin-left: 5px;
}

.price-tax {
    display: block;
    font-size: 14px;
    color: var(--text-gray);
    margin-top: 5px;
}

.price-note {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 18px 45px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
    box-shadow: 0 6px 20px rgba(0, 104, 55, 0.3);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 104, 55, 0.4);
}

.cta-button:hover::before {
    left: 100%;
}

/* コース紹介セクション */
.course-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.course-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.course-description p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--text-gray);
}

.course-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    position: relative;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(0, 104, 55, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-luxury);
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* 会員特典セクション */
.benefits-section {
    padding: 80px 0;
    background: white;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.benefit-item {
    background: linear-gradient(145deg, #ffffff, var(--bg-light));
    padding: 45px;
    border-radius: 12px;
    transition: all 0.4s ease;
    border: 1px solid rgba(212, 175, 55, 0.15);
    position: relative;
    overflow: hidden;
}

.benefit-item::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--gold-dark), var(--gold-light), var(--gold-dark));
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.benefit-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-luxury);
}

.benefit-item:hover::before {
    opacity: 0.3;
}

.benefit-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
}

.benefit-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.benefit-item h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.benefit-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.benefit-note {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.benefit-description {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.benefit-detail {
    background: white;
    padding: 20px;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-gray);
}

.benefit-sub {
    font-size: 14px;
    color: var(--text-gray);
    font-style: italic;
}

/* 視察プレー料金セクション */
.inspection-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.inspection-period {
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.inspection-note {
    text-align: center;
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 50px;
}

.price-table {
    max-width: 800px;
    margin: 0 auto 50px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-luxury);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.price-table-row {
    display: grid;
    grid-template-columns: 200px 1fr 1fr 1fr;
}

.price-table-row.header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.price-table-cell {
    padding: 20px;
    text-align: center;
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.price-table-cell:last-child {
    border-right: none;
}

.price-table-row:last-child .price-table-cell {
    border-bottom: none;
}

.price-table-cell.label {
    background: var(--bg-light);
    font-weight: 700;
    text-align: left;
}

.price-table-cell.price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

.inspection-section .cta-button {
    display: block;
    max-width: 400px;
    margin: 0 auto;
}

/* アクセスセクション */
.access-section {
    padding: 80px 0;
    background: white;
}

.access-info {
    max-width: 800px;
    margin: 0 auto 50px;
}

.access-table {
    width: 100%;
    background: var(--bg-light);
    border-radius: 8px;
    overflow: hidden;
}

.access-table th,
.access-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.access-table th {
    background: var(--primary-color);
    color: white;
    font-weight: 700;
    width: 150px;
}

.access-table td {
    background: white;
}

.access-table tr:last-child th,
.access-table tr:last-child td {
    border-bottom: none;
}

.access-table a {
    color: var(--primary-color);
    text-decoration: none;
}

.access-table a:hover {
    text-decoration: underline;
}

.access-map {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* お問い合わせセクション */
.contact-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

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

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

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    margin-bottom: 10px;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 15px;
}

.required {
    color: var(--accent-color);
    margin-left: 3px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 104, 55, 0.1);
}

.radio-group,
.checkbox-group {
    display: flex;
    gap: 20px;
    margin-top: 5px;
}

.radio-label,
.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 400;
}

.radio-label input,
.checkbox-label input {
    margin-right: 8px;
    cursor: pointer;
}

.form-note {
    font-size: 13px;
    color: var(--text-gray);
    margin-top: 5px;
}

.submit-button {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 40px auto 0;
    padding: 18px 35px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 104, 55, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    position: relative;
    overflow: hidden;
}

.submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.submit-button:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 104, 55, 0.4);
}

.submit-button:hover::before {
    left: 100%;
}

/* フッター */
.footer {
    background: linear-gradient(to bottom, #2a2a2a, #1a1a1a);
    color: white;
    padding: 60px 0;
    border-top: 3px solid var(--gold);
}

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

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

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

.footer-links a:hover {
    opacity: 0.7;
}

.copyright {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

/* レスポンシブデザイン */
@media (max-width: 1024px) {
    .benefit-grid {
        grid-template-columns: 1fr;
    }
    
    .course-gallery {
        grid-template-columns: 1fr;
    }
    
    .membership-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* ヘッダー */
    .header-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .header-cta {
        display: none;
    }
    
    /* ナビゲーション */
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
        gap: 15px;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hamburger {
        display: flex;
    }
    
    /* ヒーロー */
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-maintitle {
        font-size: 32px;
    }
    
    .hero-image {
        height: 400px;
    }
    
    /* セクションタイトル */
    .section-title {
        font-size: 24px;
    }
    
    /* フォーム */
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    /* テーブル */
    .price-table-row {
        grid-template-columns: 120px 1fr 1fr 1fr;
        font-size: 14px;
    }
    
    .price-table-cell {
        padding: 15px 10px;
    }
    
    /* 固定電話ボタン */
    .fixed-phone {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .fixed-phone i {
        font-size: 20px;
    }
}

/* 離脱防止バナー */
.exit-intent-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.exit-intent-popup.show {
    opacity: 1;
}

.exit-intent-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    transition: all 0.4s ease;
}

.exit-intent-popup.show .exit-intent-overlay {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.exit-intent-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    background: white;
    width: 90%;
    max-width: 600px;
    padding: 60px 50px 50px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    text-align: center;
    border: 3px solid var(--gold);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.exit-intent-popup.show .exit-intent-content {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

@keyframes slideIn {
    from {
        transform: translate(-50%, -60%) scale(0.95);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

.exit-intent-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 36px;
    color: var(--text-gray);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.exit-intent-close:hover {
    background: var(--bg-light);
    color: var(--text-dark);
    transform: rotate(90deg);
}

.exit-intent-badge {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: white;
    padding: 8px 30px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.exit-intent-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.exit-intent-title .highlight {
    color: var(--primary-color);
    font-size: 32px;
    display: block;
    margin-bottom: 10px;
}

.exit-intent-title span {
    display: block;
    white-space: nowrap;
}

.exit-intent-title .remaining {
    color: var(--accent-color);
    border-bottom: 3px solid var(--accent-color);
    padding-bottom: 2px;
    display: inline;
}

.exit-intent-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.exit-intent-features .feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: linear-gradient(145deg, #ffffff, var(--bg-light));
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
}

.exit-intent-features .feature-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.exit-intent-features .feature-item i {
    color: var(--gold-dark);
    font-size: 20px;
    flex-shrink: 0;
}

.exit-intent-features .feature-item span {
    font-size: 16px;
    color: var(--text-gray);
}

.exit-intent-features .feature-item strong {
    color: var(--primary-color);
    font-weight: 700;
}

.exit-intent-message {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 35px;
    color: var(--text-gray);
}

.exit-intent-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.exit-intent-cta {
    padding: 16px 35px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.exit-intent-cta.primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    box-shadow: 0 6px 20px rgba(0, 104, 55, 0.3);
}

.exit-intent-cta.primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.exit-intent-cta.primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 104, 55, 0.4);
}

.exit-intent-cta.primary:hover::before {
    left: 100%;
}

.exit-intent-cta.secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.exit-intent-cta.secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 104, 55, 0.2);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .exit-intent-content {
        padding: 40px 30px 30px;
        width: 95%;
    }
    
    .exit-intent-title {
        font-size: 22px;
    }
    
    .exit-intent-title .highlight {
        font-size: 24px;
    }
    
    .exit-intent-features {
        gap: 10px;
    }
    
    .exit-intent-features .feature-item {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .exit-intent-message {
        font-size: 16px;
        margin-bottom: 25px;
    }
    
    .exit-intent-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .exit-intent-cta {
        width: 100%;
        padding: 14px 25px;
        font-size: 14px;
    }
}
