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

.contact-page {
    padding: 2rem 0 4rem;
}

.contact-page .container {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.contact-page h1 {
    font-family: "游明朝", "Yu Mincho", "YuMincho", "Hiragino Mincho Pro", serif;
    font-size: 2rem;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 1rem;
}

.contact-description {
    text-align: center;
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

/* ===========================
   カード共通
   =========================== */
.contact-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
}

.contact-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.contact-card-header h2 {
    font-family: "游明朝", "Yu Mincho", "YuMincho", "Hiragino Mincho Pro", serif;
    font-size: 1.3rem;
    color: var(--text-dark);
    margin: 0;
}

.contact-card-icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.contact-card-icon-text {
    font-size: 1.8rem;
    line-height: 1;
}

.contact-card-text {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* ===========================
   LINEカード
   =========================== */
.line-card {
    text-align: center;
    border: 1px solid #e0e0e0;
}

.line-card .contact-card-header {
    justify-content: center;
}

.btn-line {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #06C755;
    color: #ffffff;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-line:hover {
    background-color: #05b04c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(6, 199, 85, 0.3);
}

.btn-line-icon {
    width: 24px;
    height: 24px;
}

/* ===========================
   フォームカード
   =========================== */
.form-card {
    border: 1px solid #e0e0e0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group label .required {
    color: var(--error);
    font-size: 0.85rem;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--white);
    transition: border-color 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--dusty-lavender);
    box-shadow: 0 0 0 3px rgba(213, 213, 232, 0.3);
}

.form-group input.error,
.form-group textarea.error {
    border-color: var(--error);
}

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

.form-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.form-error {
    color: var(--error);
    font-size: 0.8rem;
    min-height: 1.2em;
}

.char-count {
    font-size: 0.8rem;
    color: var(--text-light);
    text-align: right;
    flex-shrink: 0;
}

.turnstile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.turnstile-error {
    color: var(--error);
    font-size: 0.85rem;
    text-align: center;
}

/* 送信ボタン */
.btn-submit {
    width: 100%;
    padding: 0.9rem;
    background: linear-gradient(135deg, var(--gold) 0%, #c4a030 100%);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ===========================
   送信完了
   =========================== */
.contact-success {
    text-align: center;
    padding: 2rem 0;
}

.success-icon {
    width: 60px;
    height: 60px;
    background: var(--success);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1rem;
}

.contact-success h3 {
    font-family: "游明朝", "Yu Mincho", "YuMincho", "Hiragino Mincho Pro", serif;
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.contact-success p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.btn-back {
    padding: 0.7rem 2rem;
    background: var(--white);
    color: var(--text-dark);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-back:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* ===========================
   レスポンシブ
   =========================== */
@media (max-width: 768px) {
    .contact-page {
        padding: 1.5rem 0 3rem;
    }

    .contact-page h1 {
        font-size: 1.5rem;
    }

    .contact-card {
        padding: 1.5rem;
    }

    .contact-card-header h2 {
        font-size: 1.1rem;
    }
}
