/* pages/contact.css - お問い合わせページ専用 */

/* ページヘッダー（タイトル部分） */
.page-header {
    height: 25vh;  /* 既存の調整を維持 */
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 100px;  /* PC版でタイトルを下げる */
}

.page-header .container {
    margin-top: 100px;  /* 既存の調整を維持 */
    padding-bottom: 0;
}

.page-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
}

.page-subtitle {
    font-size: 1.5rem;
    color: var(--celadon-green);
    letter-spacing: 0.2em;
}

/* セクション共通 */
section {
    padding: 2rem 0;  /* 既存の調整値 */
    position: relative;
}

.section-subtitle {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

.section-subtitle::after {
    content: '';
    position: absolute;
    bottom: -0.8rem;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: var(--celadon-green);
}

.section-content {
    max-width: 1000px;
    margin: 0 auto;
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.section-description p {
    text-align: left;
}

/* ページヘッダーのcontainerの下余白を削除 */
.page-header .container {
    padding-bottom: 0 !important;
}

/* 参加申込み */
.registration-section {
    padding: 2rem 0 5rem;  /* 既存の調整値 */
}

.info-box {
    background: rgba(60, 60, 60, 0.3);
    border: 1px solid rgba(120, 120, 120, 0.3);
    border-radius: 12px;
    padding: 2.5rem;
    margin-bottom: 3rem;
}

.info-box h4 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--pure-white);
    font-weight: 700;
    text-align: center;
}

.info-box p {
    line-height: 1.8;
    margin-bottom: 1rem;
    text-align: left;
}

.info-box p strong {
    font-size: 1.3rem;
    color: var(--celadon-green);
    font-weight: 700;
}

.info-box ul {
    list-style: disc inside;
}

.info-box li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.registration-categories {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.category-item {
    background: rgba(26, 26, 26, 0.5);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.category-item h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--celadon-green);
}

.category-item p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    text-align: left;
}

.notice-box {
    background: rgba(191, 164, 111, 0.2);
    border-left: 3px solid var(--brown-gold);
    padding: 1.5rem;
    margin-top: 3rem;
}

.notice-box p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.notice-box p:last-child {
    margin-bottom: 0;
}

/* ボタン */
.button-primary {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
    background: var(--celadon-green);
    color: var(--base-black);
}

.button-primary:hover {
    background: #FF6B35;  /* 濃いオレンジ */
    color: var(--pure-white);  /* 白文字 */
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    /* ページヘッダーの高さを大幅に縮小 */
    .page-header {
        height: auto !important;
        min-height: auto !important;
        padding: 60px 20px 10px !important;
    }
    
    /* モバイルではcontainerのマージンを無効化 */
    .page-header .container {
        margin-top: 0 !important;
    }
    
    .page-title {
        font-size: 1.5rem;  /* 1.8rem → 1.5rem に縮小して改行を防ぐ */
        margin-bottom: 0.5rem !important;
        letter-spacing: 0.03em;  /* 文字間隔も少し狭める */
    }
    
    .page-subtitle {
        font-size: 1rem;
        letter-spacing: 0.1em;
        margin-bottom: 0 !important;
    }

    .section-subtitle {
        font-size: 1.5rem;
    }
    
    /* containerの下パディングだけを削除（左右は維持） */
    .page-header .container {
        padding-bottom: 0 !important;
    }
    
    .registration-section {
        padding-top: 1rem !important;
        padding-bottom: 1.5rem;
    }
    
    .registration-section .container {
        /* 左右のパディングは維持、上下は調整不要 */
    }
    
    .inquiry-section,
    .faq-section,
    .contact-details-section {
        padding: 1.5rem 0;
    }
    
    /* セクションタイトルの下余白も縮小 */
    .section-subtitle {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    /* 説明文の下余白を縮小 */
    .section-description {
        margin-bottom: 2rem;
    }

    .registration-categories,
    .inquiry-categories {
        grid-template-columns: 1fr;
    }

    .contact-card {
        padding: 1.5rem;
    }
}
