/* お問い合わせページのスタイル */
.contact-main {
    margin-top: 80px;
    padding: 0;
}

.contact-section {
    max-width: 800px;
    margin: 0 auto 4rem;
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.contact-section h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
    text-align: center;
}

.contact-description {
    text-align: center;
    color: #34495e;
    margin-bottom: 2rem;
}

.contact-form {
    display: grid;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.form-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
}

/* Email Contact Section */
.email-contact h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    text-align: center;
}

.email-info-box {
    background-color: #f5f7fa;
    border: 2px solid #007bff;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.email-address {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.email-address a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.email-address a:hover {
    text-decoration: underline;
}

.email-subject {
    font-size: 1.1rem;
    color: #666;
}

/* Inquiry Types */
.inquiry-types {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.inquiry-types h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.inquiry-types ul {
    list-style: none;
    padding: 0;
}

.inquiry-types li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    font-size: 1.1rem;
}

.inquiry-types li:last-child {
    border-bottom: none;
}

/* Required Info */
.required-info {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.required-info h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.info-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.info-list li {
    background-color: #fff;
    padding: 1rem;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
}

.info-list li:before {
    content: '✓';
    color: #007bff;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Email Template */
.email-template {
    margin-bottom: 2rem;
}

.email-template h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.template-box {
    background-color: #fff;
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 2rem;
    font-family: monospace;
    font-size: 0.95rem;
    line-height: 1.6;
    white-space: pre-wrap;
    overflow-x: auto;
}

.template-box p {
    margin: 0;
}

/* Action Buttons */
.action-buttons {
    text-align: center;
    margin: 3rem 0;
}

.action-buttons .btn {
    font-size: 1.2rem;
    padding: 1rem 3rem;
    display: inline-block;
}

/* Privacy Notice */
.privacy-notice {
    background-color: #e8f4fd;
    border-left: 4px solid #007bff;
    padding: 1rem 1.5rem;
    margin-top: 2rem;
}

.privacy-notice p {
    margin: 0;
    color: #555;
    font-size: 0.95rem;
}

.privacy-notice a {
    color: #007bff;
    text-decoration: underline;
}

.privacy-notice i {
    color: #007bff;
    margin-right: 0.5rem;
}

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

.form-group label {
    margin-bottom: 0.5rem;
    color: #34495e;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    width: 100%;
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52,152,219,0.2);
}

.privacy-policy {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.privacy-policy input {
    width: auto;
}

.btn.primary {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.contact-info {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-info h3 {
    color: #2c3e50;
    margin-bottom: 2rem;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-method {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.contact-method h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.phone-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #3498db;
    margin-bottom: 0.5rem;
}

.business-hours {
    color: #7f8c8d;
}

.email-address {
    font-size: 1.2rem;
    color: #3498db;
}

.contact-method .email-address {
    color: #3498db;
    font-weight: bold;
}

/* お問い合わせヒーロー */
.contact-hero {
    background-color: #3498db;
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.contact-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-hero p {
    font-size: 1.2rem;
}

/* FAQ セクション */
.faq-section {
    padding: 4rem 2rem;
    background-color: #f8f9fa;
}

.faq-section h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 3rem;
}

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

.faq-item {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.faq-question {
    color: #3498db;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.faq-answer {
    color: #495057;
    line-height: 1.8;
}

/* 営業所情報 */
.office-info {
    padding: 4rem 2rem;
    background-color: white;
}

.office-info h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 3rem;
}

.office-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.office-card {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.office-card h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.office-address {
    color: #495057;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.office-tel, .office-fax {
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.office-hours {
    color: #28a745;
    font-weight: bold;
    margin-top: 1rem;
}

/* お問い合わせフロー */
.contact-flow {
    padding: 4rem 2rem;
    background-color: #f8f9fa;
}

.contact-flow h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 3rem;
}

.flow-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.flow-step {
    flex: 0 1 250px;
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: #3498db;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.flow-step h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.flow-step p {
    color: #6c757d;
    line-height: 1.6;
}

.flow-arrow {
    font-size: 2rem;
    color: #3498db;
    margin: 0 1rem;
}

@media (max-width: 768px) {
    .contact-main {
        padding: 1rem;
    }

    .contact-section,
    .contact-method {
        padding: 1.5rem;
    }

    .contact-methods {
        grid-template-columns: 1fr;
    }

    .flow-arrow {
        transform: rotate(90deg);
        margin: 1rem 0;
    }
}