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

.contact-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.02)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.02)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.02)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.contact-hero .container {
    position: relative;
    z-index: 1;
}

.contact-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 25px;
    font-weight: 300;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.contact-hero p {
    font-size: 1.1rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 300;
}

.contact-info {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.contact-item {
    background: white;
    padding: 45px 35px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.05);
}

.contact-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: rgba(26, 26, 46, 0.1);
}

.contact-icon {
    font-size: 2.8rem;
    margin-bottom: 25px;
    display: inline-block;
    padding: 20px;
    border-radius: 50%;
    color: white;
}

.contact-item h3 {
    color: #1a1a2e;
    margin-bottom: 18px;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.contact-item .phone {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.contact-item .email {
    font-size: 1.1rem;
    color: #1a1a2e;
    margin-bottom: 8px;
    font-weight: 500;
}

.contact-item .address {
    line-height: 1.6;
    color: #666;
    font-size: 0.95rem;
}

.contact-item .hours,
.contact-item .response {
    color: #888;
    font-size: 0.9rem;
    font-weight: 400;
}

.contact-form {
    padding: 80px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.contact-form h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 25px;
    color: #1a1a2e;
    font-weight: 600;
    letter-spacing: 1px;
}

.form-description {
    text-align: center;
    color: #666;
    margin-bottom: 50px;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
}

form {
    max-width: 750px;
    margin: 0 auto;
    background: white;
    padding: 55px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0,0,0,0.05);
}

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

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #1a1a2e;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.required {
    color: #e74c3c;
    font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background: #fafbfc;
    color: #333;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a1a2e;
    box-shadow: 0 0 0 4px rgba(26, 26, 46, 0.1);
    background: white;
}

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

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 400;
    font-size: 0.9rem;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 12px;
    transform: scale(1.1);
}

.checkbox-label a {
    color: #1a1a2e;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.checkbox-label a:hover {
    border-bottom-color: #1a1a2e;
}

.submit-btn {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 16px 45px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 100%;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(26, 26, 46, 0.3);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(26, 26, 46, 0.4);
    background: linear-gradient(135deg, #16213e 0%, #0f3460 100%);
}

.submit-btn:active {
    transform: translateY(-1px);
}

.faq {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.faq h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: #1a1a2e;
    font-weight: 600;
    letter-spacing: 1px;
}

.faq-list {
    max-width: 750px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 25px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
}

.faq-item h3 {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 22px 35px;
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.faq-item p {
    padding: 25px 35px;
    margin: 0;
    line-height: 1.7;
    color: #555;
    font-size: 0.95rem;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .contact-hero {
        padding: 70px 0;
    }
    
    .contact-hero h1 {
        font-size: 2.2rem;
        letter-spacing: 1px;
    }
    
    .contact-hero p {
        font-size: 1rem;
        padding: 0 20px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 20px;
    }
    
    .contact-item {
        padding: 35px 25px;
    }
    
    .contact-icon {
        font-size: 2.4rem;
        padding: 15px;
    }
    
    form {
        padding: 35px 25px;
        margin: 0 20px;
        border-radius: 15px;
    }
    
    .contact-form h2,
    .faq h2 {
        font-size: 1.8rem;
        padding: 0 20px;
    }
    
    .form-description {
        padding: 0 20px;
    }
    
    .faq-item h3 {
        padding: 18px 25px;
        font-size: 0.95rem;
    }
    
    .faq-item p {
        padding: 20px 25px;
        font-size: 0.9rem;
    }
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-item,
.faq-item {
    animation: fadeInUp 0.7s ease forwards;
}

.contact-item:nth-child(2) {
    animation-delay: 0.2s;
}

.contact-item:nth-child(3) {
    animation-delay: 0.4s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
    font-style: italic;
}

/* フォーカス時のアニメーション */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    animation: pulse 0.3s ease;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
} 