/* お問い合わせページ専用CSS */

/* お問い合わせヒーローセクション */
.contact-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 120px 0 80px;
    color: white;
    text-align: center;
    margin-top: -80px;
    padding-top: 160px;
}

.contact-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
    color: white;
}

.contact-hero p {
    font-size: 20px;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
    color: white;
}

/* お問い合わせ方法 */
.contact-methods {
    padding: 80px 0;
    background: #f8f9fa;
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.method-card {
    background: white;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.method-card:hover {
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}

.method-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
}

.method-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #333;
}

.method-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 24px;
}

.method-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.method-info strong {
    color: #333;
    font-size: 16px;
}

.method-btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: transform 0.3s;
}

.method-btn:hover {
    transform: translateY(-2px);
    color: white;
}

/* お問い合わせフォーム */
.contact-form-section {
    padding: 80px 0;
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    background: white;
    border-radius: 16px;
    padding: 50px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

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

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

.form-label.required::after {
    content: '*';
    color: #e74c3c;
    margin-left: 4px;
}

.form-control {
    width: 100%;
    padding: 16px 20px;
    font-size: 16px;
    border: 2px solid #eee;
    border-radius: 12px;
    transition: border-color 0.3s;
    background: #fafafa;
}

.form-control:focus {
    outline: none;
    border-color: #667eea;
    background: white;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.form-select {
    width: 100%;
    padding: 16px 20px;
    font-size: 16px;
    border: 2px solid #eee;
    border-radius: 12px;
    background: #fafafa;
    cursor: pointer;
    transition: border-color 0.3s;
}

.form-select:focus {
    outline: none;
    border-color: #667eea;
    background: white;
}

.form-submit {
    text-align: center;
    margin-top: 40px;
}

.submit-btn {
    padding: 18px 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s;
}

.submit-btn:hover {
    transform: translateY(-2px);
}

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

/* お問い合わせ内容別セクション */
.contact-types {
    padding: 80px 0;
    background: #f8f9fa;
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.type-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.type-card:hover {
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}

.type-icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: #667eea;
}

.type-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
}

.type-card p {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

/* よくある質問 */
.contact-faq {
    padding: 80px 0;
}

.faq-grid {
    display: grid;
    gap: 20px;
    margin-top: 50px;
}

.faq-item {
    background: white;
    border-radius: 12px;
    border: 1px solid #eee;
    overflow: hidden;
}

.faq-question {
    padding: 24px 30px;
    background: #f8f9fa;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #f0f4ff;
    color: #667eea;
}

.faq-toggle {
    font-size: 20px;
    transition: transform 0.3s;
}

.faq-answer {
    padding: 0 30px 24px;
    color: #666;
    line-height: 1.6;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

/* 会社情報 */
.contact-info {
    padding: 80px 0;
    background: #f8f9fa;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 50px;
}

.info-section h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
    color: #333;
}

.info-list {
    list-style: none;
}

.info-list li {
    display: flex;
    padding: 16px 0;
    border-bottom: 1px solid #eee;
}

.info-list li:last-child {
    border-bottom: none;
}

.info-label {
    width: 120px;
    font-weight: 500;
    color: #666;
    font-size: 15px;
}

.info-value {
    flex: 1;
    color: #333;
    font-size: 15px;
}

.map-container {
    background: #ddd;
    height: 300px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 18px;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .contact-hero h1 {
        font-size: 32px;
    }
    
    .contact-hero p {
        font-size: 16px;
    }
    
    .methods-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .types-grid {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .faq-question {
        padding: 20px;
        font-size: 15px;
    }
    
    .faq-answer {
        padding: 0 20px 20px;
    }
    
    .submit-btn {
        padding: 16px 40px;
        font-size: 16px;
    }
}