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

/* ヒーローセクション */
.contact-hero {
    background: linear-gradient(135deg, #2c4f8d 0%, #1a3a6b 100%);
    padding: 120px 0 80px;
    margin-top: 0;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/images/business/warehouse.jpg') center/cover;
    opacity: 0.15;
    z-index: 0;
}

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

.contact-hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 4px;
    opacity: 0.9;
}

/* お問い合わせフォームセクション */
.contact-form-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.contact-intro {
    text-align: center;
    margin-bottom: 60px;
}

.contact-intro h2 {
    font-size: 32px;
    font-weight: 700;
    color: #2c4f8d;
    margin-bottom: 20px;
}

.contact-intro p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

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

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.required {
    color: #dc3545;
    font-size: 12px;
    margin-left: 5px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    transition: all 0.3s;
    box-sizing: border-box;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #2c4f8d;
    box-shadow: 0 0 0 3px rgba(44, 79, 141, 0.1);
}

.form-textarea {
    resize: vertical;
    font-family: inherit;
}

.form-privacy {
    margin-top: 10px;
}

.privacy-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
}

.privacy-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.privacy-checkbox a {
    color: #2c4f8d;
    text-decoration: underline;
}

.form-submit {
    margin-top: 20px;
}

.submit-button {
    width: 100%;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background-color: #2c4f8d;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-button:hover {
    background-color: #1a3a6b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 79, 141, 0.3);
}

.submit-button:active {
    transform: translateY(0);
}

.submit-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
}

.form-message {
    margin-top: 20px;
    display: none;
}

.success-message {
    padding: 15px;
    background-color: #d1e7dd;
    border: 1px solid #badbcc;
    border-radius: 6px;
    color: #0f5132;
    font-size: 15px;
}

.error-message {
    padding: 15px;
    background-color: #f8d7da;
    border: 1px solid #f5c2c7;
    border-radius: 6px;
    color: #842029;
    font-size: 15px;
}

/* 会社情報セクション */
.company-info-section {
    padding: 80px 0;
    background-color: #fff;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: #2c4f8d;
    text-align: center;
    margin-bottom: 50px;
}

.info-access-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.info-left {
    display: flex;
    flex-direction: column;
}

.info-grid {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 40px;
    height: 100%;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    padding: 25px 0;
    border-bottom: 2px solid #e0e0e0;
}

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

.info-icon {
    font-size: 36px;
    flex-shrink: 0;
    width: 50px;
    text-align: center;
}

.info-content {
    flex: 1;
}

.info-card h3 {
    font-size: 13px;
    font-weight: 700;
    color: #2c4f8d;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-card p {
    font-size: 15px;
    color: #333;
    line-height: 1.8;
    margin: 0;
}

.info-card a {
    color: #2c4f8d;
    text-decoration: none;
    font-weight: 600;
}

.info-card a:hover {
    text-decoration: underline;
}

.info-note {
    font-size: 13px;
    color: #666;
    margin-top: 5px;
}

.info-right {
    display: flex;
    flex-direction: column;
}

.access-title {
    font-size: 20px;
    font-weight: 700;
    color: #2c4f8d;
    margin-bottom: 20px;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
    flex: 1;
    min-height: 400px;
}

.access-note {
    font-size: 14px;
    color: #666;
    text-align: center;
}

/* レスポンシブ */
@media (max-width: 1200px) {
    .contact-hero {
        padding: 180px 0 80px;
    }
}

@media (max-width: 767px) {
    .contact-hero {
        padding: 160px 20px 60px;
    }

    .contact-hero-content h1 {
        font-size: 32px;
        letter-spacing: 1px;
    }

    .hero-subtitle {
        font-size: 15px;
        letter-spacing: 2px;
    }

    .contact-form-section {
        padding: 50px 0;
    }

    .contact-intro h2 {
        font-size: 24px;
    }

    .contact-intro p {
        font-size: 15px;
    }

    .contact-form-container {
        padding: 30px 20px;
        margin: 0 16px;
    }

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

    .company-info-section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .info-access-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .info-grid {
        padding: 30px 20px;
    }

    .info-card {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 20px 0;
        text-align: center;
    }

    .info-icon {
        width: 100%;
    }

    .info-content {
        width: 100%;
        text-align: center;
    }

    .access-title {
        font-size: 18px;
        text-align: center;
    }

    .map-container {
        min-height: 300px;
    }
}
