/**
 * お問い合わせページ用スタイル
 */

/* お問い合わせページコンテナ（1カラム） */
.contact-page-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* メインコンテンツエリア */
.contact-main-content {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

/* ページヘッダー */
.page-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 3px solid #f0f0f0;
}

.page-title {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.page-title i {
    color: var(--primary-color, #DC2626);
    font-size: 36px;
}

.page-subtitle {
    font-size: 16px;
    color: #666;
    margin: 0;
}

/* コンタクトフォーム */
.contact-form {
    background: #fafafa;
    padding: 35px;
    border-radius: 10px;
    margin-bottom: 40px;
    border: 1px solid #f0f0f0;
}

/* フォームグループ */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 15px;
}

/* 必須マーク */
.required {
    display: inline-block;
    background: var(--primary-color, #DC2626);
    color: white;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 6px;
    font-weight: normal;
}

/* フォーム入力要素 */
.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s;
    background: white;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: #d1d5db;
}

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

/* テキストエリア */
.form-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

/* プライバシー同意 */
.privacy-agree {
    background: #FEF2F2;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #FECACA;
}

.privacy-agree label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-weight: 600;
}

.privacy-agree input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 3px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.privacy-note {
    margin-top: 12px;
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    padding-left: 28px;
}

.privacy-note a {
    color: var(--primary-color, #DC2626);
    text-decoration: none;
    font-weight: 600;
}

.privacy-note a:hover {
    text-decoration: underline;
}

/* 送信ボタン */
.form-submit {
    text-align: center;
    margin-top: 35px;
}

.submit-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-color, #DC2626);
    color: white;
    border: none;
    padding: 16px 45px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.submit-button:hover {
    background: #B91C1C;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

.submit-button i {
    font-size: 18px;
}

/* お問い合わせ情報 */
.contact-info {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    padding: 35px;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-30px, -30px) rotate(180deg); }
}

.info-section {
    position: relative;
    z-index: 1;
}

.info-section h2 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-section h2 i {
    color: var(--primary-color, #DC2626);
}

.contact-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    color: #555;
    line-height: 1.8;
}

.contact-info li i {
    position: absolute;
    left: 0;
    top: 3px;
    color: #6b7280;
    font-size: 16px;
}

.contact-info a {
    color: var(--primary-color, #DC2626);
    text-decoration: none;
    font-weight: 600;
}

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

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .contact-page-container {
        padding: 20px 15px;
    }

    .contact-main-content {
        padding: 25px 20px;
        border-radius: 8px;
    }

    .page-header {
        margin-bottom: 30px;
        padding-bottom: 25px;
    }

    .page-title {
        font-size: 24px;
        flex-direction: column;
        gap: 8px;
    }

    .page-title i {
        font-size: 28px;
    }

    .page-subtitle {
        font-size: 14px;
    }

    .contact-form {
        padding: 25px 20px;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group select,
    .form-group textarea {
        padding: 10px 14px;
        font-size: 14px;
    }

    .privacy-agree {
        padding: 15px;
    }

    .privacy-note {
        font-size: 13px;
    }

    .form-submit {
        margin-top: 25px;
    }

    .submit-button {
        width: 100%;
        padding: 14px 30px;
        font-size: 15px;
        border-radius: 8px;
        justify-content: center;
    }

    .contact-info {
        padding: 25px 20px;
    }

    .info-section h2 {
        font-size: 18px;
    }

    .contact-info li {
        font-size: 14px;
        margin-bottom: 12px;
    }
}