/* ============================================
   基本設定
============================================ */
:root {
    /* カラーパレット - 和のテーマ */
    --primary-color: #c41e3a; /* 紅色 */
    --primary-dark: #8b1428;
    --secondary-color: #6b4423; /* 茶色 */
    --accent-gold: #d4af37; /* 金色 */
    --accent-purple: #674196; /* 紫 */
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-light: #ffffff;
    --bg-white: #ffffff;
    --bg-light: #faf9f7;
    --bg-cream: #f5f0e8;
    --border-color: #e0d5c7;
    
    /* タイポグラフィ */
    --font-serif: 'Noto Serif JP', serif;
    --font-sans: 'Noto Sans JP', sans-serif;
    
    /* スペーシング */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    
    /* ブレイクポイント */
    --mobile: 768px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    line-height: 1.8;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

/* コンテナ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   イントロセクション
============================================ */
.intro-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #faf9f7 0%, #f5f0e8 100%);
    padding: 120px 20px 60px;
    overflow: hidden;
}

.intro-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(196, 30, 58, 0.02) 35px, rgba(196, 30, 58, 0.02) 70px),
        repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(212, 175, 55, 0.02) 35px, rgba(212, 175, 55, 0.02) 70px);
    z-index: 0;
}

.intro-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.intro-text-wrapper {
    text-align: center;
}

.intro-line {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    line-height: 2.2;
    color: var(--text-primary);
    margin: 1.5rem 0;
    opacity: 0;
    transform: translateY(30px);
    font-weight: 500;
}

.intro-line-1 {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 600;
    animation: fadeInUp 1.2s ease forwards;
}

.intro-line-2 {
    animation: fadeInUp 1.2s ease 0.8s forwards;
}

.intro-line-3 {
    animation: fadeInUp 1.2s ease 1.6s forwards;
}

.intro-scroll-indicator {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    opacity: 0;
    animation: fadeIn 1s ease 2.8s forwards, bounce 2s ease 3.5s infinite;
    cursor: pointer;
    margin-top: 3rem;
    padding-bottom: 1rem;
}

.intro-scroll-indicator i {
    display: block;
    margin-top: 0.5rem;
    font-size: 1.2rem;
    color: var(--primary-color);
}

/* ============================================
   ヘッダー
============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.05em;
}

.nav ul {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav a {
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav a:hover {
    color: var(--primary-color);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

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

.nav-cta {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
}

.nav-cta:hover {
    background: var(--primary-dark);
    color: var(--text-light);
}

.nav-cta::after {
    display: none;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* モバイルナビゲーション */
.mobile-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--bg-white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 999;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.mobile-nav.active {
    transform: translateY(0);
}

.mobile-nav ul {
    padding: 1rem 0;
}

.mobile-nav li {
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav a {
    display: block;
    padding: 1rem 2rem;
    font-weight: 500;
    transition: background 0.3s ease;
}

.mobile-nav a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

/* ============================================
   ヒーローセクション
============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 60px;
    background: linear-gradient(135deg, rgba(250, 249, 247, 0.75) 0%, rgba(245, 240, 232, 0.75) 100%), 
                url('../images/165A9514.jpeg') center/cover no-repeat;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.1;
}

.hero-pattern {
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, var(--primary-color) 35px, var(--primary-color) 70px),
        repeating-linear-gradient(-45deg, transparent, transparent 35px, var(--accent-gold) 35px, var(--accent-gold) 70px);
    opacity: 0.05;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    margin-bottom: 1.5rem;
    animation: fadeInDown 1s ease;
}

.badge-text {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-light);
    padding: 0.5rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3);
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    line-height: 1.3;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-date {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-venue {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-message {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--border-color);
    animation: fadeIn 1s ease 0.8s both;
}

.message-main {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.message-sub {
    font-size: 1.05rem;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    line-height: 1.8;
}

.hero-alert {
    background: linear-gradient(135deg, var(--accent-purple) 0%, #8b5ab8 100%);
    color: var(--text-light);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 2rem 0;
    box-shadow: 0 8px 20px rgba(103, 65, 150, 0.3);
    animation: fadeIn 1s ease 1s both;
}

.alert-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.alert-subtitle {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.alert-deadline {
    font-size: 1.05rem;
}

.deadline-date {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-left: 0.5rem;
}

.hero-cta {
    margin: 2.5rem 0;
    animation: fadeInUp 1s ease 1.2s both;
}

.hero-experience {
    font-size: 1.1rem;
    color: var(--text-primary);
    line-height: 2;
    animation: fadeIn 1s ease 1.4s both;
}

.hero-experience p {
    margin: 0.3rem 0;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    animation: bounce 2s infinite;
}

.hero-scroll i {
    display: block;
    margin-top: 0.5rem;
    font-size: 1.2rem;
}

/* ============================================
   ボタンスタイル
============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 30, 58, 0.4);
}

.btn-lg {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

/* ============================================
   応募条件セクション
============================================ */
.requirements {
    padding: var(--spacing-xl) 0;
    background: var(--bg-white);
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.requirement-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.requirement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.card-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.card-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.card-text.deadline {
    color: var(--accent-purple);
}

.card-note {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   出演方法セクション
============================================ */
.participation-methods {
    padding: var(--spacing-xl) 0;
    background: var(--bg-cream);
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.methods-grid .method-card:only-child {
    grid-column: 1 / -1;
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
}

.method-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 15px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
}

.method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.method-card.featured {
    border-color: var(--accent-gold);
    background: linear-gradient(135deg, #fffef8 0%, #faf9f7 100%);
}

.featured-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--accent-gold);
    color: var(--text-light);
    padding: 0.4rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.4);
}

.method-icon {
    font-size: 3rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1.5rem;
}

.method-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.method-description {
    text-align: center;
    font-size: 1.05rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.method-details {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.method-details p {
    margin: 0.8rem 0;
}

/* ============================================
   参加者特典セクション
============================================ */
.benefits {
    padding: var(--spacing-xl) 0;
    background: var(--bg-white);
}

.benefit-main {
    max-width: 900px;
    margin: 0 auto 3rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 3rem;
    border-radius: 20px;
    color: var(--text-light);
    box-shadow: 0 15px 40px rgba(196, 30, 58, 0.3);
}

.benefit-title {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.benefit-price {
    text-align: center;
}

.price-special {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    display: inline-block;
    margin: 0 0.5rem;
}

.price-note {
    font-size: 1rem;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.price-disclaimer {
    font-size: 0.9rem;
    opacity: 0.9;
}

.kimono-selection {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 15px;
    border: 2px solid var(--border-color);
}

.selection-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.selection-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
}

.selection-subtitle {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
}

.selection-types {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.type-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-white);
    border-radius: 10px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.type-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.kimono-image {
    width: 100%;
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.kimono-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.type-item:hover .kimono-image img {
    transform: scale(1.1);
}

.type-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.type-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.type-count {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.selection-message {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* ============================================
   Aboutセクション
============================================ */
.about {
    padding: var(--spacing-xl) 0;
    background: var(--bg-cream);
}

.about-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin: 3rem 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-serif);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.about-description {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-primary);
    max-width: 800px;
    margin: 2rem auto;
    line-height: 2;
}

.about-message {
    max-width: 900px;
    margin: 3rem auto 0;
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 15px;
    border: 2px solid var(--border-color);
}

.message-title {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1.5rem;
}

.message-text {
    font-size: 1.05rem;
    line-height: 2;
    color: var(--text-primary);
    text-align: center;
}

.message-text strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* ============================================
   ギャラリーセクション
============================================ */
.gallery {
    padding: var(--spacing-xl) 0;
    background: var(--bg-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item {
    aspect-ratio: 3 / 4;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    background: var(--bg-light);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* ============================================
   応募の流れセクション
============================================ */
.flow {
    padding: var(--spacing-xl) 0;
    background: var(--bg-cream);
}

.timeline {
    max-width: 900px;
    margin: 3rem auto 0;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--accent-gold) 100%);
}

.timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 3rem;
}

.timeline-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3);
    z-index: 1;
}

.marker-number {
    color: var(--text-light);
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-serif);
}

.timeline-content {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid var(--border-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.timeline-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.timeline-date {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent-purple);
    margin-bottom: 1rem;
}

.timeline-description {
    font-size: 1rem;
    color: var(--text-primary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.timeline-venue {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1.5rem 0;
}

.timeline-venue p {
    margin: 0.5rem 0;
    font-size: 1rem;
}

.venue-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 0.8rem;
    transition: color 0.3s ease;
}

.venue-link:hover {
    color: var(--primary-dark);
}

.timeline-venue-simple {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.timeline-details {
    margin-top: 1.5rem;
}

.timeline-details h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1.5rem 0 0.8rem;
}

.timeline-details p {
    margin: 0.8rem 0;
    line-height: 1.8;
}

.features-list {
    margin-top: 1.5rem;
    padding-left: 0;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin: 0.8rem 0;
    font-size: 1rem;
}

.features-list i {
    color: var(--accent-gold);
    margin-top: 0.3rem;
}

.timeline-note {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* ============================================
   FAQセクション
============================================ */
.faq {
    padding: var(--spacing-xl) 0;
    background: var(--bg-white);
}

.faq-list {
    max-width: 900px;
    margin: 3rem auto 0;
}

.faq-item {
    margin-bottom: 1.5rem;
    background: var(--bg-light);
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-color);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question i {
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    line-height: 1.8;
    color: var(--text-primary);
}

.answer-note {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 0.8rem;
}

/* ============================================
   フォームセクション
============================================ */
.form-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-cream);
}

.form-instructions {
    max-width: 800px;
    margin: 2rem auto;
    text-align: center;
}

.form-instructions p {
    margin: 0.8rem 0;
    font-size: 1rem;
    color: var(--text-primary);
}

.required-note {
    font-weight: 600;
    color: var(--primary-color);
}

.privacy-note {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.application-form {
    max-width: 800px;
    margin: 3rem auto;
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 15px;
    border: 2px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.required {
    color: var(--primary-color);
    font-weight: 700;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-sans);
    transition: all 0.3s ease;
    background: var(--bg-white);
}

.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(196, 30, 58, 0.1);
}

.radio-group {
    display: flex;
    gap: 2rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 400;
}

.radio-label input[type="radio"] {
    width: auto;
    cursor: pointer;
}

.mt-2 {
    margin-top: 0.8rem;
}

.date-preference {
    margin-bottom: 0.8rem;
}

.date-preference label {
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.privacy-policy {
    margin: 3rem 0;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 10px;
}

.privacy-policy h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.policy-content {
    max-height: 400px;
    overflow-y: auto;
    padding: 1.5rem;
    background: var(--bg-white);
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.policy-content h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 1.5rem 0 0.8rem;
}

.policy-content h4:first-child {
    margin-top: 0;
}

.policy-content p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin: 0.5rem 0;
}

.checkbox-group {
    margin-top: 1.5rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    cursor: pointer;
    font-weight: 500;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.2rem;
    width: auto;
    cursor: pointer;
}

.form-actions {
    text-align: center;
    margin-top: 2.5rem;
}

/* ============================================
   CTAセクション
============================================ */
.cta-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-light);
    text-align: center;
}

.cta-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-section .btn-primary {
    background: var(--bg-white);
    color: var(--primary-color);
}

.cta-section .btn-primary:hover {
    background: var(--bg-light);
}

/* ============================================
   フッター
============================================ */
.footer {
    background: var(--secondary-color);
    color: var(--text-light);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.contact-info {
    font-size: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-item i {
    font-size: 1.3rem;
}

.contact-time,
.contact-closed {
    font-size: 0.95rem;
    margin: 0.3rem 0;
    opacity: 0.9;
}

.org-name {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.org-address {
    font-size: 0.95rem;
    opacity: 0.9;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ============================================
   ページトップボタン
============================================ */
.page-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-light);
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.page-top.visible {
    opacity: 1;
    visibility: visible;
}

.page-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(196, 30, 58, 0.4);
}

/* ============================================
   アニメーション
============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ============================================
   レスポンシブ対応
============================================ */

/* タブレット（中サイズ画面） */
@media (max-width: 1024px) and (min-width: 769px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .selection-types {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .kimono-image {
        height: 220px;
    }
}

/* タブレット・モバイル */
@media (max-width: 768px) {
    /* イントロ */
    .intro-section {
        min-height: 80vh;
        padding: 100px 20px 40px;
    }
    
    .intro-line {
        font-size: 1.3rem;
        line-height: 2;
        margin: 1.2rem 0;
    }
    
    .intro-line-1 {
        font-size: 1.5rem;
    }
    
    /* ヘッダー */
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .mobile-nav {
        display: block;
    }
    
    /* ヒーロー */
    .hero {
        min-height: auto;
        padding: 100px 20px 40px;
        background-position: center center;
        background-size: cover;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-date {
        font-size: 1.1rem;
    }
    
    .hero-venue {
        font-size: 1rem;
    }
    
    .message-main {
        font-size: 1.1rem;
    }
    
    .message-sub {
        font-size: 1rem;
    }
    
    .alert-subtitle {
        font-size: 1.1rem;
    }
    
    .deadline-date {
        font-size: 1.3rem;
    }
    
    .hero-experience {
        font-size: 1rem;
    }
    
    .sp-only {
        display: block;
    }
    
    /* 応募条件 */
    .requirements-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* 出演方法 */
    .methods-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    /* 参加者特典 */
    .benefit-main {
        padding: 2rem 1.5rem;
    }
    
    .benefit-title {
        font-size: 1.4rem;
    }
    
    .price-special {
        font-size: 1.1rem;
    }
    
    .price-amount {
        font-size: 2rem;
    }
    
    .kimono-selection {
        padding: 2rem 1.5rem;
    }
    
    /* About */
    .about-stats {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .about-description {
        font-size: 1.05rem;
    }
    
    .about-message {
        padding: 2rem 1.5rem;
    }
    
    .message-title {
        font-size: 1.5rem;
    }
    
    .message-text {
        font-size: 1rem;
    }
    
    /* ギャラリー */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .gallery-item {
        aspect-ratio: 3 / 4;
    }
    
    /* 着物選択 */
    .selection-types {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .kimono-image {
        height: 220px;
    }
    
    /* タイムライン */
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        padding-left: 60px;
    }
    
    .timeline-marker {
        width: 40px;
        height: 40px;
    }
    
    .marker-number {
        font-size: 1.2rem;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
    
    .timeline-title {
        font-size: 1.2rem;
    }
    
    .timeline-date {
        font-size: 1.05rem;
    }
    
    /* FAQ */
    .faq-question {
        font-size: 1rem;
        padding: 1.2rem;
    }
    
    /* フォーム */
    .application-form {
        padding: 2rem 1.5rem;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 1rem;
    }
    
    /* CTA */
    .cta-title {
        font-size: 1.8rem;
    }
    
    .cta-text {
        font-size: 1.05rem;
    }
    
    /* フッター */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* ボタン */
    .btn-lg {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    /* ページトップ */
    .page-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .intro-line {
        font-size: 1.1rem;
        line-height: 1.8;
        margin: 1rem 0;
    }
    
    .intro-line-1 {
        font-size: 1.3rem;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item {
        aspect-ratio: 4 / 5;
    }
    
    .contact-item {
        font-size: 1.3rem;
    }
    
    .kimono-image {
        height: 180px;
    }
    
    .benefit-main {
        padding: 1.5rem 1rem;
    }
    
    .hero-message {
        padding: 1.5rem;
    }
}

.sp-only {
    display: none;
}

