/* ===================================
   トップページ専用デザインCSS
   - 構造・文章・リンク先は変更なし
   - デザイン・レイアウトのみ調整
   =================================== */

/* ===================================
   全体レイアウトの基本
   =================================== */
.container {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 20px;
}

/* セクション間の余白 */
section {
    padding: 70px 0;
}

/* セクションタイトル直後の余白調整 */
h2.section-title + * {
    margin-top: 32px;
}

/* 見出しの基本スタイル */
h1 {
    font-size: 2.5rem;
    line-height: 1.5;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 24px;
}

h2.section-title {
    font-size: 2rem;
    line-height: 1.4;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 16px;
    border-bottom: 3px solid var(--accent-color);
    display: inline-block;
    width: auto;
    min-width: 200px;
}

/* セクションタイトルを中央寄せするためのラッパー */
.container > h2.section-title {
    display: block;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

h3.subsection-title {
    font-size: 1.5rem;
    line-height: 1.4;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 32px 0 20px;
    text-align: left;
}

h4 {
    font-size: 1.2rem;
    line-height: 1.4;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

/* ===================================
   SECTION 1: ヒーローエリア（第一段階調整版）
   =================================== */
/* ===================================
   SECTION 1: ヒーローエリア（完全新規・2カラムレイアウト）
   =================================== */

/* ヒーロー全体 */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #0A2240 0%, #1e3a5f 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

/* 背景ドットパターン */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="3" fill="rgba(255,255,255,0.08)"/></svg>');
    background-size: 40px 40px;
    opacity: 0.5;
    pointer-events: none;
}

/* 中身のレイアウト（PC） - 1カラム中央配置 */
.hero-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 24px;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* テキストブロック */
.hero-content {
    width: 100%;
}

/* H1: メインキャッチコピー */
.hero .hero-title,
.hero-content .hero-title {
    font-size: 2.4rem !important;
    font-weight: 700 !important;
    line-height: 1.6 !important;
    margin-bottom: 32px !important;
    color: #FFFFFF !important;
    text-align: center !important;
    text-shadow: 
        0 0 20px rgba(0, 0, 0, 0.8),
        0 4px 15px rgba(0, 0, 0, 0.6),
        2px 2px 4px rgba(0, 0, 0, 0.5) !important;
}

/* H2: サブコピー */
.hero .hero-subtitle,
.hero-content .hero-subtitle {
    font-size: 1.3rem !important;
    font-weight: 600 !important;
    line-height: 1.7 !important;
    margin-bottom: 40px !important;
    color: #FFFFFF !important;
    text-align: center !important;
    text-shadow: 
        0 0 15px rgba(0, 0, 0, 0.7),
        0 3px 10px rgba(0, 0, 0, 0.5),
        2px 2px 3px rgba(0, 0, 0, 0.4) !important;
}

/* 本文エリア */
.hero-description {
    max-width: 700px;
    margin: 0 auto 40px;
    text-align: left;
}

.hero-description p {
    font-size: 1rem !important;
    line-height: 1.8 !important;
    margin-bottom: 20px !important;
    color: #FFFFFF !important;
    text-shadow: 
        0 0 10px rgba(0, 0, 0, 0.6),
        0 2px 8px rgba(0, 0, 0, 0.4) !important;
}

.hero-description p:last-child {
    margin-bottom: 0 !important;
}

/* CTAボタンブロック */
.hero-cta {
    margin-top: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

/* ボタンスタイル */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn.primary {
    background: #F59C00;
    color: #fff;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    border: 2px solid #F59C00;
}

.btn.primary:hover {
    background: #e08d00;
    border-color: #e08d00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 156, 0, 0.4);
}

.btn.secondary {
    background: #fff;
    color: #0A2240;
    padding: 14px 28px;
    border-radius: 8px;
    border: 2px solid #0A2240;
    font-weight: 700;
    font-size: 16px;
}

.btn.secondary:hover {
    background: #0A2240;
    color: #fff;
    border-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 34, 64, 0.4);
}

/* 右カラム：完全非表示 */
.hero-image {
    display: none;
}

/* ===================================
   SECTION 2: 当社が存在する理由
   =================================== */
.reason-section {
    background: var(--bg-light);
}

.reason-content {
    max-width: 750px;
    margin: 0 auto;
}

.reason-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 24px;
    text-align: left;
}

.reason-content p:last-child {
    margin-bottom: 0;
}

/* ===================================
   SECTION 3: 三位一体モデル
   =================================== */
.three-in-one-section {
    background: #ffffff;
}

.three-in-one-content {
    max-width: 750px;
    margin: 0 auto 50px;
}

.three-in-one-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: left;
}

.three-in-one-diagram {
    margin: 50px 0;
    display: flex;
    justify-content: center;
}

.diagram-container {
    max-width: 400px;
    width: 100%;
}

.triangle-diagram {
    width: 100%;
    height: auto;
}

.three-in-one-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: #ffffff;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.service-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.service-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.service-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.service-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-light);
}

/* ===================================
   SECTION 4: 研修の強み
   =================================== */
.training-strength-section {
    background: var(--bg-light);
}

.training-content {
    max-width: 900px;
    margin: 0 auto;
}

.training-content > p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: left;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.training-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin: 40px 0;
}

.feature-item {
    background: #ffffff;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 24px;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.feature-item:hover {
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 16px;
    display: block;
}

.feature-item h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.feature-item p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-light);
}

.training-cta {
    text-align: center;
    margin-top: 40px;
}

/* ===================================
   SECTION 4.5: UPシステム
   =================================== */
.up-system-section {
    background: #ffffff;
}

.up-system-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.up-system-image {
    text-align: center;
}

.up-system-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    object-fit: contain;
}

.up-system-placeholder {
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4f8 100%);
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    padding: 60px 40px;
    text-align: center;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.up-system-placeholder i {
    font-size: 4rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    opacity: 0.5;
}

.up-system-placeholder p {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-light);
    margin: 0;
}

.up-system-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.up-system-cta {
    margin-top: 30px;
}

/* ===================================
   SECTION 5: コンサルティング
   =================================== */
.consulting-section {
    background: var(--bg-light);
}

.consulting-content {
    max-width: 900px;
    margin: 0 auto;
}

.consulting-content > p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: left;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.support-theme-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 30px 0;
    padding: 0;
}

.support-theme-list li {
    background: #ffffff;
    border-left: 4px solid var(--accent-color);
    padding: 16px 20px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary-color);
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.consulting-cta {
    text-align: center;
    margin-top: 40px;
}

/* ===================================
   SECTION 6: エグゼクティブコーチング
   =================================== */
.coaching-section {
    background: #ffffff;
}

.coaching-content {
    max-width: 750px;
    margin: 0 auto;
}

.coaching-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: left;
}

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

/* ===================================
   SECTION 7: 導入実績
   =================================== */
.performance-section {
    background: var(--bg-light);
}

.performance-content {
    max-width: 750px;
    margin: 0 auto;
}

.performance-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 16px;
    text-align: left;
}

.performance-list {
    margin: 40px 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.performance-item {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 16px 20px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    text-align: left;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.performance-item:hover {
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.logos-note {
    font-size: 0.95rem;
    color: var(--text-light);
    font-style: italic;
}

.performance-cta {
    margin-top: 30px;
}

/* ===================================
   SECTION 8: お客様の声
   =================================== */
.voice-section {
    background: #ffffff;
}

.voice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.voice-card {
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 30px 24px;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    position: relative;
}

.voice-card::before {
    content: '"';
    font-size: 4rem;
    color: var(--accent-color);
    opacity: 0.2;
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: Georgia, serif;
}

.voice-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.voice-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.voice-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.voice-cta {
    text-align: center;
}

/* ===================================
   SECTION 9: 比較表
   =================================== */
.comparison-section {
    background: var(--bg-light);
}

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

.comparison-table-wrapper {
    overflow-x: auto;
    margin: 0 auto;
    max-width: 1000px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.comparison-table thead th {
    background: var(--primary-color);
    color: #ffffff;
    font-weight: 700;
    padding: 20px;
    text-align: center;
    font-size: 1.1rem;
}

.comparison-table tbody td {
    padding: 20px;
    border: 1px solid var(--border-color);
    font-size: 1rem;
    line-height: 1.7;
}

.comparison-table tbody tr:nth-child(odd) {
    background: #ffffff;
}

.comparison-table tbody tr:nth-child(even) {
    background: #f8f9fa;
}

.comparison-table tbody td:first-child {
    font-weight: 700;
    color: var(--primary-color);
    background: #e8f4f8;
}

.comparison-table tbody td:last-child {
    color: var(--accent-hover);
    font-weight: 600;
}

/* ===================================
   SECTION 10: 総合CTA
   =================================== */
.contact-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #ffffff;
    text-align: center;
}

.contact-section .section-title {
    color: #ffffff;
    border-bottom-color: var(--accent-color);
}

.contact-content {
    max-width: 750px;
    margin: 0 auto;
}

.contact-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #ffffff;
    text-align: left;
}

.contact-cta {
    margin-top: 40px;
}

.contact-section .btn-primary {
    background: var(--accent-color);
    border-color: var(--accent-color);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.contact-section .btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* ===================================
   SECTION 11: サービス一覧
   =================================== */
.services-list-section {
    background: #ffffff;
}

.services-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.service-list-card {
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 30px 24px;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.service-list-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.service-list-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-list-card h3 i {
    color: var(--accent-color);
}

.service-list-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 16px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--accent-hover);
    gap: 12px;
}

.services-list-footer {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    background: var(--bg-light);
    border-radius: 8px;
}

.services-list-footer p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ffffff;
}

.services-list-footer div {
    color: #ffffff;
}

.services-list-footer a {
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: underline;
}

.services-list-footer a:hover {
    color: var(--accent-hover);
}

/* ===================================
   フッター
   =================================== */
.footer {
    background: var(--secondary-color);
    color: #ffffff;
    padding: 60px 0 30px;
}

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

.footer-info h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: #ffffff;
}

.footer-info p {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.9);
}

.footer-description {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
}

.footer-links h4 {
    font-size: 1.2rem;
    margin-bottom: 16px;
    color: #ffffff;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 8px;
}

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

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

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

.footer-bottom p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ===================================
   レスポンシブデザイン
   =================================== */

/* タブレット（768px〜1024px） */
@media (max-width: 1024px) {
    .hero-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-image {
        width: 100%;
        margin-top: 32px;
        justify-content: center;
    }
    
    .three-in-one-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .training-features {
        grid-template-columns: 1fr;
    }
    
    .up-system-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .support-theme-list {
        grid-template-columns: 1fr;
    }
    
    .voice-grid {
        grid-template-columns: 1fr;
    }
    
    .services-cards {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* スマートフォン（〜767px） */
@media (max-width: 767px) {
    section {
        padding: 50px 0;
    }
    
    .hero {
        padding: 56px 0;
    }
    
    .hero-inner {
        padding: 40px 20px;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        width: 100%;
    }
    
    /* H1: スマホ用 */
    .hero .hero-title,
    .hero-content .hero-title {
        font-size: 1.4rem !important;
        line-height: 1.65 !important;
        margin-bottom: 24px !important;
        word-break: normal !important;
        overflow-wrap: break-word !important;
        text-align: center !important;
    }
    
    .hero-title br {
        display: inline !important;
    }
    
    /* H2: スマホ用 */
    .hero .hero-subtitle,
    .hero-content .hero-subtitle {
        font-size: 1.05rem !important;
        line-height: 1.7 !important;
        margin-bottom: 28px !important;
        text-align: center !important;
    }
    
    /* 本文エリア: スマホ用 */
    .hero-description {
        max-width: 100%;
        margin-bottom: 32px;
        text-align: left;
    }
    
    .hero-description p {
        font-size: 0.9rem !important;
        line-height: 1.75 !important;
        margin-bottom: 16px !important;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    
    .hero-cta .btn.primary,
    .hero-cta .btn.secondary {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 16px 24px;
    }
    
    .hero-image {
        display: none;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    h2.section-title {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }
    
    h3.subsection-title {
        font-size: 1.25rem;
    }
    
    .comparison-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .comparison-table {
        font-size: 0.9rem;
    }
    
    .comparison-table thead th,
    .comparison-table tbody td {
        padding: 12px 10px;
        font-size: 0.85rem;
    }
}

/* 極小スマートフォン（〜374px） */
@media (max-width: 374px) {
    .hero-h1 {
        font-size: 1.5rem;
    }
    
    h2.section-title {
        font-size: 1.3rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .btn-large {
        padding: 14px 28px;
        font-size: 1.05rem;
    }
}
