/* リセット */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 変数定義 */
:root {
    --primary-color: #0f766e;
    --secondary-color: #14b8a6;
    --accent-color: #06b6d4;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f0fdfa;
    --bg-white: #ffffff;
    --bg-dark: #0f172a;
    --border-color: #e5e7eb;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* ベース */
body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ヘッダー */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.cta-button {
    background: var(--primary-color);
    color: white !important;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: all 0.3s ease;
}

/* ヒーローセクション */
.hero {
    margin-top: 70px;
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f172a 0%, #134e4a 100%);
    position: relative;
    overflow: hidden;
    padding: 60px 0;
}



.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.subtitle {
    display: block;
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    color: white;
    font-weight: 500;
    margin-bottom: 10px;
}

.hero-description {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn {
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    animation: fadeInUp 1s ease;
}

.hero-text {
    text-align: left;
    color: white;
}

.hero-terminal {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ターミナルウィンドウ */
.terminal-window {
    background: #2d3748;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    margin-bottom: 30px;
    overflow: hidden;
    font-family: 'Courier New', monospace;
    width: 100%;
    min-width: 360px;
    max-width: 600px;
    margin: 0 auto;
    transform: scale(1.1);
}

.terminal-header {
    background: #1a202c;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.terminal-buttons {
    display: flex;
    gap: 8px;
}

.terminal-button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.terminal-button.close {
    background: #ff5f56;
}

.terminal-button.minimize {
    background: #ffbd2e;
}

.terminal-button.maximize {
    background: #27ca3f;
}

.terminal-title {
    color: #a0aec0;
    font-size: 12px;
    font-weight: 500;
}

.terminal-body {
    padding: 30px;
    background: #2d3748;
    font-size: 16px;
    line-height: 1.6;
    min-height: 200px;
}

.terminal-line {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.terminal-prompt {
    color: var(--accent-color);
    font-weight: bold;
}

.terminal-command {
    color: #f7fafc;
}

.terminal-output {
    color: #f6e05e;
    margin-left: 20px;
}

.typing-career {
    overflow: hidden;
    border-right: 2px solid var(--accent-color);
    white-space: nowrap;
    width: 0;
    animation: typing-career 8s steps(23, end) infinite, blink-caret 1s step-end infinite;
}

.success-line {
    opacity: 0;
    animation: fadeInOutput 0.5s ease forwards 2s;
}

.success-output {
    color: var(--accent-color);
    font-weight: bold;
}

@keyframes typing-career {
    0% { width: 0 }
    25% { width: 24.5ch }
    100% { width: 24.5ch }
}

@keyframes fadeInOutput {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--accent-color) }
}

/* セクション共通 */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 50px;
}

/* 会社紹介 */
.about {
    background: #fefefe;
}

.about-content {
    text-align: left;
    max-width: 470px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-text {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.8;
    text-align: center;
}

.about-mission {
    font-size: 20px;
    color: var(--primary-color);
    line-height: 1.6;
    font-weight: 600;
    text-align: center;
}

.about-recruit {
    margin-top: 30px;
    text-align: center;
}

.recruit-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    padding: 10px 25px;
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    transition: all 0.3s ease;
    font-size: 16px;
}

.recruit-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* 事業内容 */
.services {
    background: #f0fdfa;
}

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

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.service-icon {
    width: 240px;
    height: 240px;
    margin: 0 auto 20px;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.8;
    text-align: left;
}

.service-link {
    margin-top: 25px;
    text-align: center;
}

.service-link .btn {
    padding: 12px 24px;
    font-size: 14px;
}

.new-badge {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 600;
    vertical-align: middle;
    margin-right: 5px;
}

/* 会社概要 */
.company {
    background: #fefefe;
}

.company-info {
    max-width: 1000px;
    margin: 0 auto;
}

.company-info table {
    width: 100%;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.company-info th,
.company-info td {
    padding: 20px;
    text-align: left;
}

.company-info th {
    background: var(--bg-light);
    font-weight: 500;
    width: 30%;
}

.company-info tr:not(:last-child) {
    border-bottom: 1px solid var(--border-color);
}

/* アクセス */
.access {
    background: white;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-top: 20px;
}

/* お問い合わせ */
.contact {
    background: white;
}

.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 20px;
}

.contact-content p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* フッター */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer h3,
.footer h4 {
    margin-bottom: 15px;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.6);
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* レスポンシブ */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: -100vh;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        justify-content: start;
        padding: 50px 20px;
        transition: top 0.5s ease;
        z-index: 999;
        visibility: hidden;
    }

    .nav-menu.active {
        top: 70px;
        visibility: visible;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 10px;
    }
    
    .hero-text {
        text-align: center;
        order: 2;
    }
    
    .hero-terminal {
        order: 1;
    }
    
    .terminal-window {
        max-width: 100%;
        margin: 0;
        transform: scale(1);
        min-width: 320px;
        width: 320px;
    }
    
    .terminal-body {
        padding: 15px;
        font-size: 13px;
        min-height: 150px;
        width: 100%;
        overflow: hidden;
    }
    
    .terminal-line {
        width: 100%;
        overflow: hidden;
    }
    
    .typing-career {
        max-width: 100%;
        width: auto;
    }
    
    .hero-text {
        text-align: center;
        order: 2;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

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

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

    .contact-content {
        padding: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .company-info {
        max-width: 100%;
        padding: 0;
    }

    .about-content {
        padding: 0;
    }
    .about-mission {
        font-size: 18px;
    }
    
    
}

/* IT研修ページ専用スタイル */
.training-hero {
    background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
}

.training-hero .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
}

.training-hero .subtitle {
    color: white;
    opacity: 0.95;
}

.training-hero .hero-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 20px;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* 特徴セクション */
.features {
    background: #f0fdfa;
}

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

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: left;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid rgba(15, 118, 110, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.feature-icon {
    margin-bottom: 25px;
}

.icon-circle {
    width: 80px;
    height: 80px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* 研修スタイル */
.training-style {
    background: white;
}

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

.style-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--bg-light);
    border-radius: 10px;
    border: 2px solid var(--primary-color);
}

.style-item h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.style-item p {
    color: var(--text-light);
    font-size: 16px;
}

/* カリキュラム */
.curriculum {
    background: #f0fdfa;
}

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


.curriculum-table {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.curriculum-table table {
    width: 100%;
    border-collapse: collapse;
}

.curriculum-table th,
.curriculum-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.curriculum-table th {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
}

.curriculum-table td:first-child {
    font-weight: 500;
    color: var(--primary-color);
    width: 200px;
}

.curriculum-table td:last-child {
    color: var(--text-light);
}

.curriculum-note {
    padding: 20px;
    text-align: center;
    color: var(--text-light);
    font-style: italic;
    background: #f9fafb;
    margin: 0;
}

/* 導入事例 */
.case-studies {
    background: white;
}

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

.case-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.case-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.case-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.testimonials {
    margin-top: 50px;
    text-align: center;
}

.testimonials h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.testimonial-grid blockquote {
    background: var(--primary-color);
    color: white;
    padding: 20px;
    border-radius: 10px;
    font-style: italic;
    position: relative;
}

.testimonial-grid blockquote::before {
    content: '"';
    font-size: 2rem;
    position: absolute;
    top: 10px;
    left: 15px;
    opacity: 0.5;
}

/* FAQ */
.faq {
    background: white;
}

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

.faq-item {
    background: white;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: none;
}

.faq-item[open] {
    box-shadow: var(--shadow);
}

.faq-question {
    background: var(--bg-light);
    padding: 20px;
    margin: 0;
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    border-radius: 10px;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: "+";
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-question {
    background: var(--primary-color);
    color: white;
    border-radius: 10px 10px 0 0;
}

.faq-item[open] .faq-question::after {
    color: white;
    transform: rotate(45deg);
}

.faq-answer {
    padding: 20px;
    margin: 0;
    color: var(--text-light);
    line-height: 1.8;
}

/* お問い合わせボタン */
.contact-buttons {
    margin: 30px 0;
}

.contact-note {
    color: var(--text-light);
    font-size: 14px;
    margin-top: 15px;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .training-hero .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .features-grid,
    .style-grid,
    .cases-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .curriculum-table {
        margin: 0 10px;
    }
    
    .curriculum-table th,
    .curriculum-table td {
        padding: 15px 10px;
        font-size: 14px;
    }
    
    .curriculum-table td:first-child {
        width: auto;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}

/* 教材制作ページ専用スタイル */
.content-hero {
    background: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
}

.content-hero .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
}

.content-hero .subtitle {
    color: white;
    opacity: 0.95;
}

.content-hero .hero-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 20px;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* サービスの特徴 */
.content-features {
    background: #f0fdfa;
}

/* 制作可能な教材形式 */
.material-formats {
    background: white;
}

.formats-table {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.formats-table table {
    width: 100%;
    border-collapse: collapse;
}

.formats-table th,
.formats-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.formats-table th {
    background: var(--secondary-color);
    color: white;
    font-weight: 600;
}

.formats-table td:first-child {
    font-weight: 500;
    color: var(--primary-color);
    width: 200px;
}

.formats-table td:last-child {
    color: var(--text-light);
}

/* 対象と活用シーン */
.target-scene {
    background: #f0fdfa;
}

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

.target-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

.target-card h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.target-card ul {
    list-style: none;
    padding: 0;
}

.target-card li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-light);
    line-height: 1.8;
}

.target-card li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* 制作の流れ */
.creation-flow {
    background: white;
}

.flow-list {
    max-width: 800px;
    margin: 0 auto;
    margin-top: 40px;
}

.flow-item {
    display: flex;
    align-items: start;
    margin-bottom: 40px;
    position: relative;
}

.flow-item:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 25px;
    top: 60px;
    width: 2px;
    height: calc(100% + 20px);
    background: var(--border-color);
}

.flow-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-right: 30px;
}

.flow-content h3 {
    color: var(--text-dark);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.flow-content p {
    color: var(--text-light);
    line-height: 1.8;
}

/* 制作実績 */
.achievements {
    background: #f0fdfa;
}

.achievement-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

.achievement-content h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.achievement-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.achievement-list li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-light);
    line-height: 1.8;
}

.achievement-list li::before {
    content: "•";
    position: absolute;
    left: 10px;
    color: var(--secondary-color);
    font-weight: bold;
}

.achievement-note {
    color: var(--text-light);
    font-style: italic;
    text-align: center;
    margin-top: 20px;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .content-hero .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .target-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .formats-table {
        margin: 0 10px;
    }
    
    .formats-table th,
    .formats-table td {
        padding: 15px 10px;
        font-size: 14px;
    }
    
    .formats-table td:first-child {
        width: auto;
    }
    
    .flow-item {
        margin-bottom: 30px;
    }
    
    .flow-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-right: 20px;
    }
    
    .flow-item:not(:last-child)::after {
        left: 20px;
        top: 50px;
        height: calc(100% + 10px);
    }
}

/* コーチングページ専用スタイル */
.coaching-hero {
    background: linear-gradient(135deg, #38bdf8 0%, #60a5fa 100%);
}

.coaching-hero .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
}

.coaching-hero .subtitle {
    color: white;
    opacity: 0.95;
}

.coaching-hero .hero-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 20px;
    margin-bottom: 40px;
    line-height: 1.6;
}

.coaching-hero .btn-primary {
    background: rgba(255, 255, 255, 0.95);
    color: #0ea5e9;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.coaching-hero .btn-primary:hover {
    background: white;
    color: #0284c7;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* コーチングの特徴 */
.coaching-features {
    background: #f0fdfa;
}

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

/* 3つのマインドポジション */
.mind-positions {
    background: white;
}

.section-description {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.position-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid;
}

.position-card.minus {
    border-top-color: #ef4444;
}

.position-card.zero {
    border-top-color: #f59e0b;
}

.position-card.plus {
    border-top-color: #10b981;
}

.position-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.position-detail {
    margin-bottom: 20px;
}

.position-detail:last-child {
    margin-bottom: 0;
}

.position-detail h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.position-detail p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 14px;
}

.position-note {
    background: #f0fdfa;
    padding: 20px;
    text-align: center;
    margin: 0;
}

.position-note p {
    margin: 0;
    color: var(--primary-color);
    font-weight: 500;
}

/* こんな課題に応えます */
.challenges {
    background: white;
}

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

.challenge-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

.challenge-card h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.challenge-card ul {
    list-style: none;
    padding: 0;
}

.challenge-card li {
    padding: 12px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-light);
    line-height: 1.8;
}

.challenge-card li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* コーチングプログラムの流れ */
.program-flow {
    background: white;
}

.program-timeline {
    max-width: 900px;
    margin: 0 auto;
}

.program-phase {
    margin-bottom: 40px;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.program-phase:last-child {
    margin-bottom: 0;
}

.phase-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.phase-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.phase-period {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.phase-content {
    padding: 25px 30px;
}

.phase-content ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.phase-content li {
    position: relative;
    padding: 8px 0 8px 25px;
    color: var(--text-light);
    line-height: 1.6;
}

.phase-content li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.program-note {
    text-align: center;
    margin-top: 30px;
    color: var(--text-light);
    font-size: 14px;
}

/* プログラム内容 */
.programs {
    background: #f0fdfa;
}

.programs-table {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.programs-table table {
    width: 100%;
    border-collapse: collapse;
}

.programs-table th,
.programs-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.programs-table th {
    background: var(--secondary-color);
    color: white;
    font-weight: 600;
}

.programs-table td:first-child {
    font-weight: 500;
    color: var(--primary-color);
    width: 250px;
}

.programs-table td:last-child {
    color: var(--text-light);
    line-height: 1.8;
}

/* セッションの流れ */
.session-flow {
    background: #f0fdfa;
}

.flow-timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding: 40px 0;
}

.flow-timeline::before {
    content: "";
    position: absolute;
    left: 120px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
    opacity: 0.3;
}

.flow-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
}

.flow-item:last-child {
    margin-bottom: 0;
}

.flow-time {
    width: 100px;
    text-align: right;
    font-weight: 600;
    color: var(--primary-color);
    flex-shrink: 0;
}

.flow-content {
    flex: 1;
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.flow-content::before {
    content: "";
    position: absolute;
    left: -48px;
    top: 30px;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 0 4px white;
}

.flow-content h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.flow-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.flow-note {
    text-align: center;
    margin-top: 30px;
    color: var(--text-light);
    font-size: 14px;
}

/* セッション形式 */
.session-style {
    background: white;
}

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

.session-style .style-item {
    text-align: center;
    padding: 25px 15px;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

.session-style .style-item h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.session-style .style-item p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

/* 導入事例 */
.case-examples {
    background: white;
}

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

.example-card {
    background: #f0fdfa;
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.example-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 600;
}

.example-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .coaching-hero .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .challenges-grid,
    .examples-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .positions-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .programs-table {
        margin: 0 10px;
    }
    
    .programs-table th,
    .programs-table td {
        padding: 15px 10px;
        font-size: 14px;
    }
    
    .programs-table td:first-child {
        width: auto;
        min-width: 120px;
    }
    
    .session-style .style-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .flow-timeline::before {
        left: 20px;
    }
    
    .flow-item {
        flex-direction: column;
        gap: 10px;
    }
    
    .flow-time {
        text-align: left;
        padding-left: 40px;
    }
    
    .flow-content {
        margin-left: 40px;
    }
    
    .flow-content::before {
        left: -52px;
        top: -30px;
    }
    
    .phase-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .phase-header h3 {
        font-size: 1.1rem;
    }
    
    .phase-content {
        padding: 20px;
    }
}

/* 採用ページ専用スタイル */
.recruit-hero {
    background: linear-gradient(135deg, #0f766e 0%, #0d9488 100%);
}

.recruit-hero .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
}

.recruit-hero .subtitle {
    color: white;
    opacity: 0.95;
}

.recruit-hero .hero-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 20px;
    margin-bottom: 40px;
    line-height: 1.6;
}

.recruit-hero .btn-primary {
    background: rgba(255, 255, 255, 0.95);
    color: #0f766e;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.recruit-hero .btn-primary:hover {
    background: white;
    color: #0d9488;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.recruit-hero .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

.recruit-hero .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* 採用ページの特徴 */
.features {
    background: #f0fdfa;
}

/* 業務内容 */
.jobs {
    background: white;
}

.jobs-table {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.jobs-table table {
    width: 100%;
    border-collapse: collapse;
}

.jobs-table th,
.jobs-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.jobs-table th {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
}

.jobs-table td:first-child {
    font-weight: 500;
    color: var(--primary-color);
    width: 200px;
}

.jobs-table td:last-child {
    color: var(--text-light);
    line-height: 1.8;
}

.jobs-note {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 14px;
}

/* 働き方 */
.work-style {
    background: #f0fdfa;
}

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

.recruit .style-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.recruit .style-item h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.recruit .style-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* 応募の流れ */
.flow {
    background: white;
}

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

.step {
    text-align: center;
    position: relative;
}

.step:not(:last-child)::after {
    content: "→";
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.step p {
    color: var(--text-light);
    line-height: 1.6;
}

/* 採用ページモバイル対応 */
@media (max-width: 768px) {
    .recruit-hero .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .recruit .style-grid,
    .flow-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .jobs-table {
        margin: 0 10px;
    }
    
    .jobs-table th,
    .jobs-table td {
        padding: 15px 10px;
        font-size: 14px;
    }
    
    .jobs-table td:first-child {
        width: auto;
        min-width: 120px;
    }
    
    .step:not(:last-child)::after {
        display: none;
    }
    
    .step::after {
        content: "↓";
        position: absolute;
        bottom: -15px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 1.5rem;
        font-weight: bold;
        color: var(--primary-color);
    }
    
    .step:last-child::after {
        display: none;
    }
}