/* NC Connect お問い合わせページ カスタムスタイル */

html, body { overflow-x: hidden; }

/* ページ全体のスタイル */
.contact-page {
    font-family: 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.consultation-title {
    font-size: 1.25rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
}

/* ヒーローセクション */
.hero-section {
    background-color: #ffffff;
    padding: 40px 0;
    text-align: center;
}

.concierge-badge {
    display: inline-flex;
    align-items: center;
    background-color: #007cba;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.concierge-icon {
    margin-right: 8px;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

/* 企業ロゴセクション */
.company-logos-section {
    background-color: #ffffff;
    padding: 80px 0;
}

.company-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.logo-placeholder {
    background-color: #ffffff;
    border: 2px dashed #ddd;
    padding: 40px;
    text-align: center;
    border-radius: 8px;
    color: #666;
    font-weight: bold;
}

/* 3つの理由セクション */
.reasons-section {
    background-color: #ffffff;
    padding: 40px 0;
}

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

.reason-card {
    text-align: center;
    background-color: white;
    padding: 40px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.reason-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #007cba;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 32px;
    margin: 0 auto 20px;
}

.reason-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.reason-description {
    color: #666;
    line-height: 1.6;
}

/* インタビューセクション */
.interview-section {
    background-color: #ffffff;
    padding: 80px 0;
}

.interview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.image-placeholder {
    background-color: #ffffff;
    border: 2px dashed #ddd;
    padding: 60px;
    text-align: center;
    border-radius: 8px;
    color: #666;
    font-weight: bold;
}

.interview-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
}

/* 相談例セクション */
.consultation-examples-section {
    background-color: #ffffff;
    padding: 40px 0;
}

.consultation-examples {
    margin-top: 40px;
}

.consultation-item {
    background-color: #ffffff;
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 8px;
    border-left: 4px solid #007cba;
}

.consultation-item h3 {
    color: #007cba;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.consultation-item p {
    color: #666;
    line-height: 1.6;
}

/* 支援サービスの流れセクション */
.service-flow-section {
    background-color: #ffffff;
    padding: 40px 0;
}

/* ステップフローのスタイル */
.contact-flow-step {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    position: relative;
    max-width: 200px;
    min-width: 150px;
    margin: 0 10px;
}

.flow-step:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #007cba;
    z-index: 1;
}

.step-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 8px;
}

.flow-step h3 {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.3;
}

.flow-step p {
    font-size: 1rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.step-1 { background-color: #e74c3c; }
.step-2 { background-color: #f39c12; }
.step-3 { background-color: #27ae60; }
.step-4 { background-color: #3498db; }
.step-5 { background-color: #9b59b6; }


/* お問い合わせフォームのスタイル */
.contact-form-section {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-progress {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.progress-step {
    padding: 10px 20px;
    margin: 0 10px;
    border-radius: 20px;
    background-color: #f0f0f0;
    color: #666;
}

.progress-step.active {
    background-color: #007cba;
    color: white;
}

/* 企業ロゴセクション */
.company-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.logo-placeholder {
    background-color: #ffffff;
    border: 2px dashed #ddd;
    padding: 40px;
    text-align: center;
    border-radius: 8px;
    color: #666;
}

/* フォームメッセージのスタイル */
.form-message {
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 8px;
    font-weight: bold;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.error-message ul {
    margin: 0;
    padding-left: 20px;
}

.error-message li {
    margin-bottom: 5px;
}

/* フォームのスタイル */
.contact-form {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-top: 30px;
}

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

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.required {
    color: #e74c3c;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007cba;
}

.checkbox-group {
    margin: 20px 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

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

.submit-button {
    background-color: #e74c3c;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.submit-button:hover {
    background-color: #c0392b;
}

.form-note {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-top: 15px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .reason-title {
        font-size: 1.2rem;
    }

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

    .reason-card {
        padding: 24px 16px;
    }

    .interview-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-flow-step {
        flex-direction: column;
        gap: 30px;
    }

    .flow-step {
        max-width: none;
        min-width: auto;
    }

    .flow-step:not(:last-child)::after {
        content: '↓';
        right: auto;
        top: auto;
        bottom: -15px;
        transform: none;
        font-size: 18px;
    }

    .flow-step h3 {
        font-size: 1.1rem;
    }

    .flow-step p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .company-logos {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 20px;
    }

    .consultation-item {
        padding: 20px;
    }
}


/* 支援実績企業セクション */
.company-logos-section {
    padding: 30px 0;
    background-color: #ffffff;
}

.company-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.logo-placeholder {
    background-color: #e9ecef;
    border: 2px dashed #adb5bd;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    color: #6c757d;
    font-weight: bold;
    font-size: 1.1rem;
}

/* 支援実績企業セクションのレスポンシブ対応 */
@media (max-width: 768px) {
    .company-logos {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .company-logos {
        grid-template-columns: 1fr;
    }
}

/* 支援実績（インタビュー）セクション */
.interview-section {
    padding: 30px 0;
    background-color: #ffffff;
}

.interview-question {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 30px;
    text-align: left;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.interview-content {
    max-width: 1000px;
    margin: 0 auto;
    background-color: #FFFFFF;
    border: 2px solid #E0E0E0;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.interview-image {
    flex-shrink: 0;
}

.image-placeholder {
    width: 200px;
    height: 150px;
    background-color: #EBEBEB;
    border: 2px dashed #CCCCCC;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6B7280;
    font-size: 0.875rem;
    text-align: center;
}

.interview-text {
    flex: 1;
}

.interview-text p {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

/* 支援実績（インタビュー）セクションのレスポンシブ対応 */
@media (max-width: 768px) {
    .interview-section {
        padding: 20px 0;
    }
    
    .interview-question {
        font-size: 1.2rem;
        text-align: left;
        max-width: 1000px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .interview-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .image-placeholder {
        width: 100%;
        height: 120px;
    }
}

/* FAQセクション */
.faq-section {
    background-color: #ffffff;
    padding: 40px 0;
}

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

.faq-item {
    background-color: #ffffff !important;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.faq-item:hover .faq-question {
    color: #333 !important;
    background: #ffffff !important;
}

.faq-item.active {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.faq-question {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333 !important;
    padding: 20px 52px 20px 20px;
    margin: 0;
    border: none;
    background: #ffffff !important;
    width: 100%;
    text-align: left;
    cursor: pointer;
    display: block;
    position: relative;
    box-sizing: border-box;
    white-space: normal !important;
    word-break: break-word;
    overflow-wrap: break-word;
    line-height: 1.5;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: #333 !important;
    background: #ffffff !important;
}

.faq-icon {
    font-size: 1.2rem;
    font-weight: bold;
    color: #007cba;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: translateY(-50%) rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
    margin: 0;
    padding: 0 0 20px 0;
}
