/* 採用ページ専用CSS */

body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.8;
    color: #2c3e50;
    background: #fafafa;
}

/* コンテンツエリア用のコンテナ（ヘッダー・フッターには影響しない） */
section .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 30px;
}

/* ヒーローセクション */
.hero {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    color: white;
    padding: 80px 30px 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-label {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9em;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.hero h1 {
    font-size: 2.8em;
    margin-bottom: 25px;
    font-weight: 300;
    line-height: 1.3;
    letter-spacing: 0.02em;
}

.hero h1 strong {
    font-weight: 600;
}

.hero p {
    font-size: 1.15em;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 10px;
}

/* ボタンスタイル */
.btn {
    display: inline-block;
    padding: 18px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: 500;
    transition: all 0.3s;
    border: 2px solid transparent;
    margin: 0;
}

.btn-primary {
    background: white;
    color: #2c3e50;
}

.btn-primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
}

.btn-small {
    padding: 12px 30px;
    font-size: 1em;
}

/* セクション共通スタイル */
section {
    padding: 100px 30px;
    background: white;
}

section:nth-child(even) {
    background: #fafafa;
}

.section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 300;
    color: #2c3e50;
    line-height: 1.5;
}

.section-subtitle {
    text-align: center;
    font-size: 1.15em;
    color: #7f8c8d;
    margin-bottom: 60px;
    line-height: 1.8;
}

/* 会社紹介 */
.company-intro {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.15em;
    line-height: 2;
    color: #34495e;
    text-align: center;
}

.company-intro p {
    margin-bottom: 25px;
}

/* 代表メッセージ */
.message-box {
    background: #f8f9fa;
    padding: 50px;
    border-radius: 15px;
    max-width: 800px;
    margin: 0 auto;
    border-left: 5px solid #34495e;
}

.message-box h3 {
    font-size: 2em;
    margin-bottom: 30px;
    font-weight: 300;
    color: #2c3e50;
}

.message-box p {
    font-size: 1.15em;
    line-height: 2;
    margin-bottom: 20px;
}

.read-more-btn {
    margin-top: 30px;
    text-align: center;
}

/* 募集概要 */
.job-section {
    max-width: 900px;
    margin: 0 auto;
}

.job-item {
    margin-bottom: 50px;
}

.job-item h3 {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #2c3e50;
    padding-bottom: 15px;
    border-bottom: 2px solid #34495e;
}

.job-item ul {
    list-style: none;
    padding-left: 0;
}

.job-item ul li {
    padding: 12px 0 12px 30px;
    position: relative;
    font-size: 1.05em;
}

.job-item ul li:before {
    content: "●";
    position: absolute;
    left: 0;
    color: #34495e;
}

.highlight-box {
    background: #ecf0f1;
    padding: 25px;
    border-radius: 10px;
    margin-top: 20px;
    font-size: 1.05em;
    line-height: 1.8;
}

/* テーブル */
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.info-table th {
    background: #34495e;
    color: white;
    padding: 20px;
    text-align: left;
    font-size: 1.1em;
    width: 30%;
}

.info-table td {
    padding: 25px 20px;
    border-bottom: 1px solid #ecf0f1;
    font-size: 1.05em;
}

.info-table tr:last-child td {
    border-bottom: none;
}

/* ロードマップ */
.roadmap {
    max-width: 900px;
    margin: 50px auto;
    position: relative;
}

.roadmap-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    position: relative;
    align-items: flex-start;
}

.roadmap-item::before {
    content: "";
    position: absolute;
    left: 40px;
    top: 100px;
    height: calc(100% + 40px);
    width: 2px;
    background: #bdc3c7;
}

.roadmap-item:last-child::before {
    display: none;
}

.roadmap-year {
    flex-shrink: 0;
    width: 80px;
    text-align: center;
}

.year-badge {
    background: #34495e;
    color: white;
    padding: 0;
    border-radius: 50%;
    font-size: 1.3em;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
}

.roadmap-content h4 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #2c3e50;
}

.roadmap-content p {
    font-size: 1.05em;
    line-height: 1.8;
    color: #555;
    margin-bottom: 10px;
}

.roadmap-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.tag {
    background: #ecf0f1;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.9em;
    color: #555;
}

/* ロードマップゴール */
.roadmap-goal {
    text-align: center;
    margin-top: 50px;
}

.roadmap-goal-box {
    background: #d5f4e6;
    display: inline-block;
    padding: 30px 60px;
    border-radius: 50px;
    border: 3px solid #27ae60;
    max-width: 800px;
}

.roadmap-goal-box p {
    font-size: 1.3em;
    color: #27ae60;
    font-weight: 500;
    margin: 0;
    line-height: 1.6;
}

/* オンボーディング */
.onboarding-timeline {
    max-width: 900px;
    margin: 50px auto;
}

.timeline-item {
    margin-bottom: 40px;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-left: 5px solid #34495e;
}

.timeline-item h4 {
    font-size: 1.5em;
    margin-bottom: 20px;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 10px;
}

.timeline-item ul {
    list-style: none;
    padding-left: 0;
}

.timeline-item ul li {
    padding: 10px 0 10px 30px;
    position: relative;
    font-size: 1.05em;
}

.timeline-item ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #34495e;
    font-weight: bold;
}

.goal-box {
    background: #d5f4e6;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    border-left: 4px solid #27ae60;
}

.goal-box p {
    font-size: 1.1em;
    color: #27ae60;
    font-weight: 500;
    margin: 0;
}

/* 選考プロセス */
.process-steps {
    max-width: 800px;
    margin: 50px auto;
}

.process-step {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 30px;
    padding: 25px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: #34495e;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
}

.step-content h4 {
    font-size: 1.3em;
    margin-bottom: 8px;
    color: #2c3e50;
}

.step-content p {
    font-size: 1.05em;
    color: #555;
    margin: 0;
}

/* 環境カード */
.environment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 50px auto;
}

.env-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-top: 4px solid #34495e;
}

.env-card h4 {
    font-size: 1.3em;
    margin-bottom: 15px;
    color: #2c3e50;
}

.env-card p {
    font-size: 1.05em;
    line-height: 1.8;
    color: #555;
}

/* クロージング */
.closing {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%) !important;
    color: white;
    text-align: center;
    padding: 100px 30px;
}

.closing h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
    font-weight: 300;
    color: white;
}

.closing-text {
    font-size: 1.2em;
    line-height: 2;
    max-width: 800px;
    margin: 0 auto 50px;
    opacity: 0.95;
}

.closing-text p {
    margin-bottom: 20px;
}

.closing-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 50px;
}

/* モーダル */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    overflow: auto;
}

.modal-content {
    background: white;
    margin: 5% auto;
    padding: 50px;
    border-radius: 15px;
    max-width: 800px;
    position: relative;
}

.close-modal {
    position: absolute;
    right: 25px;
    top: 25px;
    font-size: 2em;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}

.close-modal:hover {
    color: #000;
}

/* 書類選考モーダル */
.application-info {
    line-height: 1.8;
}

.document-list {
    margin: 30px 0;
}

.document-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 15px;
    align-items: flex-start;
}

.document-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #34495e;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2em;
}

.document-info h4 {
    font-size: 1.2em;
    margin-bottom: 8px;
    color: #2c3e50;
}

.document-info p {
    color: #666;
    margin-bottom: 10px;
    font-size: 0.95em;
}

.download-btn {
    display: inline-block;
    padding: 8px 20px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9em;
    transition: all 0.3s;
}

.download-btn:hover {
    background: #0056b3;
}

.download-btn i {
    margin-right: 5px;
}

.info-box {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #007bff;
}

.info-box p {
    margin-bottom: 0;
    line-height: 1.8;
}

/* 質問フォーム */
.question-form {
    margin-top: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2c3e50;
    font-size: 1.05em;
}

.required {
    color: #e74c3c;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    font-family: inherit;
    transition: border-color 0.3s;
}

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

.form-group textarea {
    resize: vertical;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
}

.form-actions .btn {
    padding: 12px 30px;
    font-size: 1em;
    cursor: pointer;
}

.form-actions .btn-primary {
    background: #34495e;
    color: white;
    border: 2px solid #34495e;
}

.form-actions .btn-primary:hover {
    background: #2c3e50;
    border-color: #2c3e50;
}

.form-actions .btn-secondary {
    background: transparent;
    color: #34495e;
    border: 2px solid #34495e;
}

.form-actions .btn-secondary:hover {
    background: #f8f9fa;
}

/* ファイルアップロードスタイル */
.file-upload-group {
    margin-bottom: 25px;
}

.file-upload-wrapper {
    position: relative;
    margin-top: 8px;
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    border: 2px dashed #cbd5e0;
    border-radius: 8px;
    background: #f8f9fa;
    transition: all 0.3s ease;
    text-align: center;
}

.file-upload-label i {
    font-size: 2.5em;
    color: #34495e;
    margin-bottom: 10px;
}

.file-upload-label span {
    color: #4a5568;
    font-size: 0.95em;
}

.file-upload-wrapper:hover .file-upload-label {
    border-color: #34495e;
    background: #e8eaed;
}

.file-name {
    margin-top: 10px;
    padding: 10px;
    background: #e8f5e9;
    border-radius: 6px;
    color: #2e7d32;
    font-size: 0.9em;
    display: none;
}

.file-name.active {
    display: block;
}

.file-name i {
    margin-right: 8px;
}

.file-note {
    margin-top: 8px;
    font-size: 0.85em;
    color: #718096;
}

/* テンプレートダウンロードボタン */
.template-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #4caf50;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 500;
    transition: all 0.3s ease;
}

.template-download-btn:hover {
    background: #c8e6c9;
    border-color: #388e3c;
    transform: translateY(-1px);
}

.template-download-btn i {
    font-size: 1.1em;
}

/* Notionボタン専用スタイル */
.template-download-btn.notion-btn {
    background: #f7f6f3;
    color: #37352f;
    border: 1px solid #e3e2df;
    position: relative;
    padding-left: 45px;
}

.template-download-btn.notion-btn::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000000'%3E%3Cpath d='M4.459 4.208c.746.606 1.026.56 2.428.466l13.215-.793c.28 0 .047-.28-.046-.326L17.86 1.968c-.42-.326-.981-.7-2.055-.607L3.01 2.295c-.466.046-.56.28-.374.466zm.793 3.08v13.904c0 .747.373 1.027 1.214.98l14.523-.84c.841-.046.935-.56.935-1.167V6.354c0-.606-.233-.933-.748-.887l-15.177.887c-.56.047-.747.327-.747.933zm14.337.745c.093.42 0 .84-.42.888l-.7.14v10.264c-.608.327-1.168.514-1.635.514-.748 0-.935-.234-1.495-.933l-4.577-7.186v6.952L12.21 19s0 .84-1.168.84l-3.222.186c-.093-.186 0-.653.327-.746l.84-.233V9.854L7.822 9.76c-.094-.42.14-1.026.793-1.073l3.456-.233 4.764 7.279v-6.44l-1.215-.139c-.093-.514.28-.887.747-.933zM1.936 1.035l13.31-.98c1.634-.14 2.055-.047 3.082.7l4.249 2.986c.7.513.934.653.934 1.213v16.378c0 1.026-.373 1.634-1.68 1.726l-15.458.934c-.98.047-1.448-.093-1.962-.747l-3.129-4.06c-.56-.747-.793-1.306-.793-1.96V2.667c0-.839.374-1.54 1.447-1.632z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.template-download-btn.notion-btn:hover {
    background: #e8e7e4;
    border-color: #d3d2ce;
    transform: translateY(-1px);
}

/* テンプレート情報ボックス */
.template-info-box ol li {
    margin-bottom: 6px;
}

.template-info-box ol li:last-child {
    margin-bottom: 0;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2em;
    }

    .hero p {
        font-size: 1.1em;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .section-title {
        font-size: 2em;
    }

    .environment-grid {
        grid-template-columns: 1fr;
    }

    .roadmap-item {
        flex-direction: column;
        text-align: center;
    }

    .roadmap-item::before {
        display: none;
    }

    .info-table th,
    .info-table td {
        display: block;
        width: 100%;
    }

    .info-table th {
        border-bottom: none;
    }

    .message-box,
    .modal-content {
        padding: 30px;
    }
}
