/* =========================================
   CNPトレカ交流会 in 名古屋 - イベント告知ページ
   ========================================= */

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

/* CSS変数（カラーパレット） */
:root {
    /* メインカラー（元のピンク・緑系） */
    --primary-color: #ff9a9e;
    --secondary-color: #fecfef;
    --accent-color: #81c784;
    --accent-dark: #2e7d32;
    
    /* 背景色 */
    --bg-primary: #f8f6f3;
    --bg-secondary: #fff8f0;
    --bg-tertiary: #f0f8ff;
    --bg-card: rgba(255, 255, 255, 0.9);
    
    /* テキストカラー */
    --text-primary: #2c2c2c;
    --text-secondary: #4e342e;
    --text-muted: #666666;
    --text-highlight: #c62828;
    
    /* その他 */
    --border-color: rgba(255, 182, 193, 0.3);
    --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.15);
    --border-radius: 8px;
    --border-radius-large: 16px;
}

/* ベーススタイル */
body {
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-tertiary) 100%);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

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

/* ヒーローセクション */
.hero-section {
    text-align: center;
    padding: 40px 0 60px;
    margin-bottom: 40px;
}

.hero-image {
    max-width: 100%;
    width: 600px;
    height: auto;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-medium);
    margin-bottom: 30px;
}

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

.hero-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    background: linear-gradient(45deg, #e91e63, #d81b60, #388e3c, #2e7d32);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 4s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.hero-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.hero-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    padding: 12px 20px;
    border-radius: 25px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-light);
    font-weight: 500;
}

.hero-info-item .icon {
    font-size: 1.2rem;
}

.price-free {
    color: var(--text-highlight);
    font-weight: bold;
}

/* セクション共通スタイル */
section {
    margin-bottom: 60px;
}

.section-title {
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent-dark);
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--accent-color);
    display: inline-block;
    width: 100%;
}

/* 開催概要セクション */
.overview-section {
    background: var(--bg-card);
    border-radius: var(--border-radius-large);
    padding: 40px;
    box-shadow: var(--shadow-medium);
}

.overview-table {
    max-width: 800px;
    margin: 0 auto;
}

.overview-row {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.overview-row:last-child {
    border-bottom: none;
}

.overview-label {
    font-weight: bold;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
}

.overview-value {
    color: var(--text-primary);
    line-height: 1.6;
}

.price-highlight {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-weight: bold;
    display: inline-block;
}

/* イベント内容セクション */
.content-section {
    background: var(--bg-card);
    border-radius: var(--border-radius-large);
    padding: 40px;
    box-shadow: var(--shadow-medium);
}

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

.content-item {
    display: flex;
    gap: 20px;
    align-items: center;
    background: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.content-image {
    flex: 0 0 80px;
}

.content-image img {
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius);
    object-fit: cover;
}

.content-text h3 {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--accent-dark);
    margin-bottom: 8px;
}

.content-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* プログラムセクション */
.program-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #eee;
}

.program-section h3 {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--accent-dark);
    margin-bottom: 20px;
    text-align: center;
}

.program-timeline {
    max-width: 600px;
    margin: 0 auto;
}

.program-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

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

.program-time {
    font-weight: bold;
    color: var(--text-highlight);
    font-size: 0.95rem;
}

.program-content {
    color: var(--text-primary);
}

/* 参加についてセクション */
.participation-section {
    background: var(--bg-card);
    border-radius: var(--border-radius-large);
    padding: 40px;
    box-shadow: var(--shadow-medium);
}

.participation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.participation-item {
    background: white;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.participation-item h3 {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--accent-dark);
    margin-bottom: 15px;
}

.participation-item ul {
    list-style: none;
    padding: 0;
}

.participation-item li {
    color: var(--text-muted);
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
}

.participation-item li::before {
    content: "•";
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* アクセスセクション */
.access-section {
    background: var(--bg-card);
    border-radius: var(--border-radius-large);
    padding: 40px;
    box-shadow: var(--shadow-medium);
}

.access-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.access-info h3 {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--accent-dark);
    margin-bottom: 20px;
}

.access-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.access-item strong {
    color: var(--text-secondary);
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.access-item p {
    color: var(--text-muted);
    line-height: 1.5;
}

.access-map iframe {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

/* CTAセクション */
.cta-section {
    background: linear-gradient(135deg, rgba(255, 154, 158, 0.1) 0%, rgba(129, 199, 132, 0.1) 100%);
    border-radius: var(--border-radius-large);
    padding: 50px 40px;
    text-align: center;
    box-shadow: var(--shadow-medium);
}

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

.cta-title {
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent-dark);
    margin-bottom: 20px;
}

.cta-description {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.cta-buttons {
    margin-bottom: 40px;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    text-decoration: none;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(255, 154, 158, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 154, 158, 0.4);
}

.contact-info {
    background: white;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.contact-info h3 {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--accent-dark);
    margin-bottom: 15px;
}

.contact-details p {
    color: var(--text-muted);
    margin-bottom: 5px;
}

.contact-details a {
    color: var(--accent-color);
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

/* 公式情報セクション */
.official-section {
    text-align: center;
    background: var(--bg-card);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.official-section h3 {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--accent-dark);
    margin-bottom: 15px;
}

.official-section p {
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.official-link {
    display: inline-block;
    color: var(--accent-color);
    text-decoration: none;
    padding: 12px 24px;
    border: 2px solid var(--accent-color);
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.official-link:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-1px);
}

/* フッター */
.footer {
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    margin-top: 60px;
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-text small {
    font-size: 0.8rem;
    color: #999;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-info {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-info-item {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .overview-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .overview-label {
        font-weight: bold;
        color: var(--accent-dark);
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .content-item {
        flex-direction: column;
        text-align: center;
    }
    
    .content-image {
        flex: none;
        align-self: center;
    }
    
    .participation-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .access-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .program-item {
        grid-template-columns: 1fr;
        gap: 5px;
    }
    
    .program-time {
        font-size: 0.9rem;
    }
    
    .cta-section {
        padding: 40px 20px;
    }
    
    .cta-title {
        font-size: 1.6rem;
    }
    
    .cta-button {
        padding: 14px 30px;
        font-size: 1.1rem;
    }
    
    .hero-image {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .overview-section,
    .content-section,
    .participation-section,
    .access-section {
        padding: 25px 20px;
    }
    
    .cta-section {
        padding: 30px 16px;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
}

/* アクセシビリティ対応 */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}