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

/* ユーティリティクラス */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* 基本スタイル */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Hiragino Sans", "Noto Sans CJK JP", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafc;
}

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

/* ヘッダー */
.header {
    background-color: #a2cef8;
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.logo-image {
    height: 3rem;
    width: auto;
    border-radius: 6px;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.nav {
    display: flex;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .nav {
        gap: 1rem;
    }
    
    .nav-link {
        font-size: 0.875rem;
    }
}

/* メインビジュアル */
.hero {
    background: linear-gradient(rgba(116, 173, 65, 0.4), rgba(116, 173, 65, 0.4)), url('sendai-bg.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.hero-text {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* アクションボタンセクション */
.action-buttons {
    background-color: white;
    padding: 3rem 0;
    text-align: center;
}

.buttons-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .buttons-grid {
        flex-direction: row;
        justify-content: center;
        gap: 2rem;
    }
}

.action-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem 2.5rem;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.125rem;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    min-width: 280px;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.action-btn::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;
}

.action-btn:hover::before {
    left: 100%;
}

.action-btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.primary-btn {
    background: linear-gradient(135deg, #729ec8 0%, #5a85b3 50%, #4a73a0 100%);
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.primary-btn:hover {
    background: linear-gradient(135deg, #5a85b3 0%, #4a73a0 50%, #3d5f8a 100%);
    border-color: rgba(255, 255, 255, 0.5);
}

.secondary-btn {
    background: linear-gradient(135deg, #74ad41 0%, #659337 50%, #56792d 100%);
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.secondary-btn:hover {
    background: linear-gradient(135deg, #659337 0%, #56792d 50%, #475f24 100%);
    border-color: rgba(255, 255, 255, 0.5);
}

/* カギカッコアイコン */
.quote-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: bold;
    height: 80px;
    position: relative;
    animation: quote-pulse 2s ease-in-out infinite;
}

.quote-left, .quote-right {
    font-size: 4rem;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.quote-content {
    font-size: 2rem;
    margin: 0 0.5rem;
    animation: quote-glow 2s ease-in-out infinite alternate;
}

.primary-btn:hover .quote-left {
    transform: translateX(-5px) scale(1.1);
}

.primary-btn:hover .quote-right {
    transform: translateX(5px) scale(1.1);
}

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

@keyframes quote-glow {
    0% { text-shadow: 0 0 5px rgba(255, 255, 255, 0.5); }
    100% { text-shadow: 0 0 15px rgba(255, 255, 255, 0.8), 0 0 25px rgba(255, 255, 255, 0.6); }
}

/* フキダシアイコン */
.speech-bubble {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    animation: bubble-float 3s ease-in-out infinite;
}

.bubble-main {
    width: 60px;
    height: 45px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.bubble-tail {
    position: absolute;
    bottom: -8px;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid rgba(255, 255, 255, 0.9);
}

.bubble-dot {
    width: 6px;
    height: 6px;
    background: #74ad41;
    border-radius: 50%;
    animation: bubble-dots 1.5s ease-in-out infinite;
}

.bubble-dot:nth-child(1) { animation-delay: 0s; }
.bubble-dot:nth-child(2) { animation-delay: 0.3s; }
.bubble-dot:nth-child(3) { animation-delay: 0.6s; }

.secondary-btn:hover .bubble-main {
    transform: scale(1.1);
}

@keyframes bubble-float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

@keyframes bubble-dots {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.3); opacity: 1; }
}

.btn-text {
    font-weight: 700;
    letter-spacing: 0.025em;
    font-size: 1.25rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.btn-subtext {
    font-size: 0.875rem;
    opacity: 0.9;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* セクション共通 */
section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #2d3748;
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    margin-bottom: 3rem;
    color: #718096;
}

/* 特徴セクション */
.features {
    background-color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background-color: #f7fafc;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.6s ease, box-shadow 0.6s ease, opacity 0.6s ease;
    opacity: 0;
    transform: translateY(20px);
}

.feature-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.feature-card.animate:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #2d3748;
}

.feature-text {
    color: #718096;
}

/* 参加方法 */
.how-to {
    background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
    color: white;
}

.how-to .section-title,
.how-to .section-subtitle {
    color: white;
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.method-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.6s ease, background-color 0.3s ease, opacity 0.6s ease;
    opacity: 0;
    transform: translateY(20px);
}

.method-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.method-card.animate:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
}

.method-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.method-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.method-text {
    opacity: 0.9;
}

/* 企画について */
.about {
    background-color: white;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.about-text {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    color: #4a5568;
}

/* FAQ */
.faq {
    background-color: #f7fafc;
}

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

.faq-item {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.faq-question {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #2d3748;
}

.faq-answer {
    color: #718096;
}

/* 投稿フォーム */
.submit {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.submit-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 2rem;
}

.form-label {
    display: block;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #2d3748;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* アンケート回答事例スライダー */
.examples {
    background-color: #f8fafc;
    padding: 4rem 0;
}

.slider-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.slider-track {
    display: flex;
    transition: transform 0.3s ease;
    gap: 1.5rem;
    padding: 0 1rem;
}

.idea-card {
    flex: 0 0 300px;
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 320px;
    transition: transform 0.6s ease, box-shadow 0.6s ease, opacity 0.6s ease;
    opacity: 0;
    transform: translateY(30px);
}

.idea-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.idea-card.animate:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.card-avatar {
    margin-bottom: 1rem;
}

.avatar-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e2e8f0;
}

.card-content {
    flex: 1;
}

.card-name {
    font-size: 1.125rem;
    font-weight: bold;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #4299e1;
    margin-bottom: 1rem;
}

.card-description {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #718096;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.slider-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.slider-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.slider-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #cbd5e0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #667eea;
}

/* アイデア公開予定の注釈 */
.ideas-notice {
    margin-top: 3rem;
    text-align: center;
}

.notice-text {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 2px solid #f39c12;
    border-radius: 12px;
    padding: 1.5rem 2rem;
    font-size: 1.3rem;
    color: #8b4513;
    display: block;
    text-align: center;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.2);
    max-width: 600px;
    margin: 0 auto 1rem auto;
    line-height: 1.6;
}

.notice-text strong {
    font-weight: bold;
    color: #d63031;
}

.notice-icon {
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

/* アイデア投稿セクション */
.submit {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    padding: 4rem 0;
}

.form-link-container {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.form-link-button {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 2rem 3rem;
    background: linear-gradient(135deg, #729ec8 0%, #5a85b3 50%, #4a73a0 100%);
    color: white;
    text-decoration: none;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(114, 158, 200, 0.3);
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.form-link-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(114, 158, 200, 0.4);
    background: linear-gradient(135deg, #5a85b3 0%, #4a73a0 50%, #3d5f8a 100%);
}

.form-link-button .btn-icon {
    font-size: 2rem;
}

.form-link-button .btn-text {
    font-size: 1.25rem;
    font-weight: bold;
}

.form-link-button .btn-subtitle {
    font-size: 0.875rem;
    opacity: 0.8;
}

.form-note {
    margin-top: 1rem;
    color: #718096;
}

/* 参加規約モーダル */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.modal-open {
    opacity: 1;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 90vw;
    max-height: 90vh;
    width: 600px;
    display: flex;
    flex-direction: column;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
}

.modal.modal-open .modal-content {
    transform: scale(1) translateY(0);
}

.modal-header {
    padding: 1.5rem 2rem 1rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2d3748;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #718096;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background-color: #f7fafc;
    color: #2d3748;
}

.modal-body {
    padding: 1rem 2rem;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.modal-intro {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: #e6fffa;
    border-left: 4px solid #38b2ac;
    border-radius: 8px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.modal-intro strong {
    color: #2c7a7b;
}

.terms-content {
    space-y: 0.5rem;
}

.terms-section {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.terms-toggle {
    width: 100%;
    padding: 1rem 1.5rem;
    background: #f8fafc;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: #2d3748;
    transition: background-color 0.2s ease;
}

.terms-toggle:hover {
    background-color: #edf2f7;
}

.terms-toggle:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
    background-color: #edf2f7;
}

.toggle-icon {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
    color: #667eea;
}

.toggle-text {
    flex: 1;
}

.terms-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: white;
}

.terms-details p {
    padding: 1rem 1.5rem;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #4a5568;
}

.modal-footer {
    padding: 1rem 2rem 1.5rem;
    border-top: 1px solid #e2e8f0;
    background-color: #f8fafc;
}

.consent-notice {
    background-color: #fed7d7;
    border: 1px solid #fc8181;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    text-align: center;
}

.consent-notice p {
    margin: 0;
    font-size: 0.9rem;
    color: #742a2a;
}

.consent-notice strong {
    color: #c53030;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.modal-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cancel-btn {
    background-color: #f7fafc;
    color: #4a5568;
    border: 1px solid #e2e8f0;
}

.cancel-btn:hover {
    background-color: #edf2f7;
    border-color: #cbd5e0;
}

.proceed-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.proceed-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* フッター */
.footer {
    background-color: #a2cef8;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: white;
}

.footer-text {
    opacity: 0.8;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav {
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .features-grid,
    .methods-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .submit-form {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .idea-card {
        flex: 0 0 280px;
        padding: 1.5rem;
        min-height: 300px;
    }
    
    .slider-track {
        padding: 0 0.5rem;
        gap: 1rem;
    }
    
    .form-link-button {
        padding: 1.5rem 2rem;
    }
    
    .form-link-button .btn-text {
        font-size: 1.125rem;
    }
    
    .notice-text {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        padding: 1.25rem 1.5rem;
    }
    
    .modal-content {
        width: 95vw;
        max-height: 95vh;
        margin: 1rem;
    }
    
    .modal-header {
        padding: 1rem 1.5rem 0.75rem;
    }
    
    .modal-body {
        padding: 0.75rem 1.5rem;
    }
    
    .modal-footer {
        padding: 0.75rem 1.5rem 1rem;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .modal-btn {
        width: 100%;
    }
    
    .terms-toggle {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .terms-details p {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .feature-card,
    .method-card {
        padding: 1.5rem;
    }
    
    .submit-form {
        padding: 1.5rem;
    }
}

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

.feature-card,
.method-card,
.faq-item {
    animation: fadeInUp 0.6s ease-out;
}

/* アクセシビリティ強化 */
@media (prefers-reduced-motion: reduce) {
    .modal,
    .modal-content,
    .toggle-icon,
    .terms-details {
        transition: none;
    }
}

/* ハイコントラストモード対応 */
@media (prefers-contrast: high) {
    .modal-overlay {
        background-color: rgba(0, 0, 0, 0.8);
    }
    
    .terms-toggle {
        border-bottom: 1px solid #2d3748;
    }
}

/* スクロールバーのスタイリング（WebKit系ブラウザ） */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #5a67d8;
}

/* SNS Links */
.sns-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0 0 0;
}

.sns-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.sns-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    background: rgba(255, 255, 255, 0.25);
}

.sns-link svg {
    width: 22px;
    height: 22px;
}

/* Footer SNS */
.footer-sns {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0 1rem 0;
}

.footer-sns .sns-link {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.footer-sns .sns-link:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .sns-links, .footer-sns {
        gap: 0.75rem;
    }
    
    .sns-link {
        width: 44px;
        height: 44px;
    }
    
    .sns-link svg {
        width: 20px;
        height: 20px;
    }
}


