/* お問い合わせフォームの追加スタイル - PHPMailer対応 */

/* お問い合わせ方法セクション */
.contact-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 40px auto;
}

.contact-method {
    flex: 1;
    min-width: 280px;
    padding: 25px;
    border-radius: 8px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contact-method h3 {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
}

.contact-method i {
    margin-right: 10px;
    width: 24px;
    height: 24px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.phone-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'%3E%3C/path%3E%3C/svg%3E");
}

.form-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'%3E%3C/path%3E%3Cpolyline points='22,6 12,13 2,6'%3E%3C/polyline%3E%3C/svg%3E");
}

.phone-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.phone-hours {
    font-size: 14px;
    color: #666;
}

/* エラーメッセージボックス */
.error-box {
    background-color: #ffebee;
    border-left: 4px solid #f44336;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 3px;
    color: #d32f2f;
}

.error-box p {
    margin-bottom: 5px;
}

.error-box .small {
    font-size: 0.8em;
    opacity: 0.8;
}

/* チェックボックスグループ */
.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
}

/* 確認画面の追加スタイル */
.confirm-table {
    background-color: #f9f9f9;
    border-radius: 3px;
    border-left: 3px solid var(--primary-color);
    margin-bottom: 30px;
}

.confirm-table .confirm-row {
    border-bottom: 1px solid #eee;
    margin: 0;
    display: flex;
}

.confirm-table dt {
    width: 30%;
    padding: 15px;
    font-weight: 600;
    background-color: rgba(0, 0, 0, 0.02);
}

.confirm-table dd {
    width: 70%;
    padding: 15px;
}

.confirm-message {
    white-space: pre-line;
}

/* フォームボタン */
.form-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-secondary {
    background-color: #f5f5f5;
    color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #111;
}

.btn-secondary:hover {
    background-color: #e0e0e0;
}

/* 送信完了メッセージ */
.message-sent {
    text-align: center;
    padding: 40px 0;
}

.message-sent-inner {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background-color: #f9f9f9;
    border-radius: 5px;
    border-left: 4px solid #4caf50;
}

.message-sent h2 {
    color: #2e7d32;
    margin-bottom: 20px;
}

.message-sent-action {
    margin-top: 30px;
}

/* Nike風フォーム */
.nike-form .form-control {
    border-radius: 0;
    border: 1px solid #ddd;
    padding: 12px 15px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.nike-form .form-control:focus {
    border-color: #000;
    box-shadow: none;
    outline: none;
}

.nike-form .form-control.error {
    border-color: #f44336;
}

.nike-form .error-message {
    color: #f44336;
    font-size: 0.85em;
    margin-top: 5px;
}

.nike-form .required {
    color: #f44336;
}

.nike-form .btn {
    background-color: #000;
    color: #fff;
    border-radius: 0;
    padding: 12px 30px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
}

.nike-form .btn:hover {
    background-color: #333;
}

/* レスポンシブ調整 */
@media (max-width: 768px) {
    .confirm-table .confirm-row {
        flex-direction: column;
    }
    
    .confirm-table dt,
    .confirm-table dd {
        width: 100%;
    }
    
    .confirm-table dt {
        padding-bottom: 5px;
    }
    
    .confirm-table dd {
        padding-top: 5px;
    }
    
    .contact-methods {
        flex-direction: column;
    }
}