/*
Theme Name: Theme　CHANCE
Theme URI: https://example.com/chance-theme-v4
Description: 高卒者向け就職支援サービスの完全版WordPressテーマ v4 - 全セクション対応
Version: 4.1.1
Author: CHANCE Co., Ltd.
Author URI: https://example.com
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: chance
Tags: responsive, custom-menu, featured-images, full-width-template, business, recruitment
*/

/* ========================================
   グローバルスタイル
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* メインコンテンツ */
main {
    min-height: 100vh;
}

/* レスポンシブ画像 */
img {
    max-width: 100%;
    height: auto;
}

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

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* ========================================
   カスタムボタンスタイル
   ======================================== */
.btn-primary {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.3);
}

/* ========================================
   カードホバーエフェクト
   ======================================== */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* ========================================
   WordPressデフォルトクラス
   ======================================== */
.alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* スクリーンリーダー用テキスト */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ========================================
   ヘッダー (header.phpからの統合)
   ======================================== */
.header {
    background: #ffffff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 25px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    border-bottom: none !important;
}

.logo img {
    display: block;
}

/* WordPress管理バーがある場合の調整 */
body.admin-bar .header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .header {
        top: 46px;
    }
}

/* ナビゲーション */
.header-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.main-nav {
    display: flex;
    gap: 8px;
    list-style: none;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center;
}

.main-nav li {
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
}

/* メニューリンク - ほぼ黒 */
.main-nav li a {
    color: #1a1a1a !important;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 28px;
    display: block;
    position: relative;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    border-radius: 30px;
    background: transparent;
}

/* ホバー - オレンジ文字＋グレー背景 */
.main-nav li a:hover {
    color: #ff6b35 !important;
    background: #f5f5f5;
    transform: translateY(-2px);
}

/* カレントメニュー - オレンジ文字＋グレー背景 */
.main-nav .current-menu-item a,
.main-nav .current_page_item a {
    color: #ff6b35 !important;
    font-weight: 700;
    background: #f5f5f5;
}

/* メニューボタン */
.menu-button {
    display: none;
    background: #1a1a1a;
    border: none;
    cursor: pointer;
    color: #fff;
    padding: 10px 12px;
    margin: 0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.menu-button:hover {
    background: #ff6b35;
    transform: translateY(-2px);
}

/* トップページ以外はヘッダーを固定してコンテンツに余白 */
body:not(.home) .header {
    position: fixed;
}

body:not(.home) {
    padding-top: 90px !important;
}

/* トップページのヒーローセクションは余白なし */
body.home .hero-section {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* スクロール時のヘッダー変化 */
.header.scrolled {
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.12);
}

/* レスポンシブ */
@media (max-width: 768px) {
    .header-container {
        padding: 20px;
    }

    .logo {
        font-size: 22px;
    }

    .header-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        display: none;
    }
    
    .header-nav.active {
        display: block;
        animation: slideDown 0.3s ease;
    }
    
    .main-nav {
        flex-direction: column;
        padding: 20px;
        gap: 8px;
    }

    .main-nav li {
        width: 100%;
    }

    .main-nav li a {
        padding: 15px 20px;
        text-align: left;
        border-radius: 10px;
    }

    .main-nav li a:hover {
        color: #ff6b35 !important;
        background: #f5f5f5;
    }
    
    .menu-button {
        display: block;
    }
}

/* ========================================
   ヒーローセクション
   ======================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    padding-top: 0;
}

.hero-background {
    position: absolute;
    inset: 0;
    background-image: url('https://hebbkx1anhila5yf.public.blob.vercel-storage.com/1.png-ksECNx50zPqP2DjJYLNDVDYNkSam85.jpeg');
    background-size: cover;
    background-position: center 20%;
    background-repeat: no-repeat;
    margin-top: 80px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(251, 146, 60, 0.3);
    margin-top: 80px;
}

.hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    padding: 1rem;
    padding-top: 5rem;
}

.hero-title {
    text-align: center;
    color: white;
    margin-bottom: 2rem;
}

.hero-title h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6), 0 0 20px rgba(0,0,0,0.3);
    -webkit-text-stroke: 1px rgba(0,0,0,0.3);
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-circle {
    background-color: rgba(251, 146, 60, 0.8);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    width: 14rem;
    height: 14rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    border: 4px solid white;
}

.stat-label {
    font-size: 1.125rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 3rem;
    font-weight: bold;
}

.cta-button {
    background-color: #f97316;
    color: white;
    padding: 2rem 5rem;
    font-size: 1.875rem;
    font-weight: 600;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #ea580c;
}

@media (max-width: 768px) {
    .stat-circle {
        width: 10rem;
        height: 10rem;
    }

    .stat-label {
        font-size: 0.875rem;
    }

    .stat-value {
        font-size: 2rem;
    }

    .cta-button {
        padding: 1.5rem 3rem;
        font-size: 1.25rem;
    }
}

/* ========================================
   共通セクションスタイル
   ======================================== */
.section {
    padding: 5rem 1rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: clamp(1.875rem, 4vw, 2.25rem);
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #111827;
}

.section-divider,
.title-underline {
    width: 4rem;
    height: 2px;
    background-color: #d1d5db;
    margin: 0 auto 0.75rem;
}

.title-underline {
    width: 128px;
    height: 6px;
    background: linear-gradient(to right, #3b82f6, #1d4ed8);
    margin: 0 auto 24px;
    border-radius: 9999px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    font-weight: 300;
}

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

/* ========================================
   どんな人材を紹介してくれるのセクション
   ======================================== */
.personnel-stats-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #f0f9ff, #ffffff);
}

.personnel-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Grid Layouts */
.three-col-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 64px;
}

.two-col-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 768px) {
    .three-col-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .two-col-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Card Styles */
.stat-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    padding: 32px;
    transition: box-shadow 0.3s ease;
}

.stat-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.card-title {
    font-size: 24px;
    font-weight: bold;
    color: #111827;
    margin-bottom: 32px;
    text-align: center;
    border-bottom: 2px solid #bfdbfe;
    padding-bottom: 16px;
}

/* Donut Chart Container */
.chart-container {
    position: relative;
    width: 224px;
    height: 224px;
    margin: 0 auto 24px;
}

.chart-svg {
    width: 224px;
    height: 224px;
    transform: rotate(-90deg);
}

.chart-center {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.chart-label {
    font-size: 16px;
    font-weight: 600;
    color: #4b5563;
}

.chart-value {
    font-size: 36px;
    font-weight: bold;
    color: #2563eb;
    margin-top: 4px;
}

.chart-value .unit {
    font-size: 20px;
}

.chart-center-text {
    font-size: 28px;
    font-weight: bold;
    color: #374151;
}

/* Legend Styles */
.legend-container {
    margin-top: 24px;
    background: #f0f9ff;
    border-radius: 12px;
    padding: 16px;
}

.legend-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

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

.legend-left {
    display: flex;
    align-items: center;
}

.legend-color {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    border-radius: 4px;
}

.legend-label {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

.legend-value {
    font-weight: bold;
    font-size: 18px;
}

/* Gender Icons Grid */
.gender-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
}

.gender-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.gender-icon {
    width: 40px;
    height: 56px;
    border-radius: 20px 20px 0 0;
    position: relative;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.gender-icon-head {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    position: absolute;
    top: -6px;
    left: 10px;
    border: 2px solid white;
}

.gender-male {
    background: #3b82f6;
}

.gender-male .gender-icon-head {
    background: #3b82f6;
}

.gender-female {
    background: #f472b6;
}

.gender-female .gender-icon-head {
    background: #f472b6;
}

/* Bar Chart Styles */
.bar-chart {
    display: flex;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin-bottom: 24px;
}

.bar-segment {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 16px;
    transition: filter 0.3s ease;
}

.bar-segment:hover {
    filter: brightness(1.1);
}

/* Color Classes */
.bg-orange { background: #3b82f6; }
.bg-teal { background: #60a5fa; }
.bg-yellow { background: #93c5fd; color: #1e3a8a; }
.bg-red { background: #1d4ed8; }
.bg-green { background: #2563eb; }
.bg-blue { background: #3b82f6; }
.bg-pink { background: #f472b6; }

.text-orange { color: #2563eb; }
.text-teal { color: #3b82f6; }
.text-yellow { color: #1d4ed8; }
.text-red { color: #1e40af; }
.text-green { color: #2563eb; }
.text-blue { color: #3b82f6; }
.text-pink { color: #f472b6; }

/* Distribution Legend */
.distribution-legend {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    font-size: 14px;
    background: #f0f9ff;
    border-radius: 12px;
    padding: 20px;
}

.distribution-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.distribution-item:hover {
    background: white;
}

.distribution-left {
    display: flex;
    align-items: center;
}

.distribution-color {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.distribution-label {
    font-weight: 500;
    color: #374151;
}

.distribution-value {
    font-weight: bold;
}

@media (max-width: 767px) {
    .gender-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 8px;
    }

    .gender-icon {
        width: 32px;
        height: 48px;
    }

    .gender-icon-head {
        width: 16px;
        height: 16px;
        left: 8px;
    }
}

/* ========================================
   若手セクション（トラブルシューティング）
   ======================================== */
.trouble-shooting-section {
    padding: 80px 20px;
    /*background-color: #96c2c9;*/
}

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

.trouble-header {
    text-align: center;
    margin-bottom: 64px;
}

.trouble-title {
    font-size: 2.25rem;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 16px;
}

.trouble-divider {
    width: 96px;
    height: 4px;
    background-color: #2563eb;
    margin: 0 auto 16px;
}

.trouble-subtitle {
    color: #1f2937;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
}

.trouble-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.trouble-card {
    background: white;
    border-radius: 20px;
    padding: 40px 32px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.trouble-problem-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 24px;
}

.trouble-icon-wrapper {
    background-color: #dbeafe;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 16px;
}

.trouble-icon {
    width: 28px;
    height: 28px;
    color: #1e40af;
}

.trouble-problem-content {
    flex: 1;
}

.trouble-problem-title {
    color: #1f2937;
    font-weight: bold;
    font-size: 1.125rem;
    margin-bottom: 12px;
}

.trouble-problem-text {
    color: #1f2937;
    line-height: 1.8;
    font-size: 1rem;
}

.trouble-separator {
    border: none;
    border-top: 2px dashed #d1d5db;
    margin: 32px 0;
}

.trouble-solution-box {
    background-color: #f0f9ff;
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
}

.solution-icon {
    width: 40px;
    height: 40px;
    color: #2563eb;
    margin: 0 auto 20px;
    display: block;
}

.trouble-solution-text {
    color: #1f2937;
    line-height: 1.8;
    font-size: 1rem;
}

.solution-highlight {
    color: #2563eb;
    font-weight: bold;
}

@media (min-width: 1024px) {
    .trouble-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }
}

/* ========================================
   メディアセクション
   ======================================== */
.media-coverage-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #f9fafb, #ffffff);
}

.media-container {
    max-width: 1152px;
    margin: 0 auto;
    padding: 0 16px;
}

.media-header {
    text-align: center;
    margin-bottom: 64px;
}

.media-title {
    font-size: 36px;
    font-weight: bold;
    color: #111827;
    margin-bottom: 16px;
}

@media (min-width: 1024px) {
    .media-title {
        font-size: 40px;
    }
}

.media-divider {
    width: 64px;
    height: 4px;
    background-color: #f97316;
    margin: 0 auto 16px;
}

.media-subtitle {
    color: #4b5563;
    font-size: 14px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (min-width: 768px) {
    .media-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .media-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.media-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 20px;
    min-height: 160px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid #f3f4f6;
    transition: all 0.3s ease;
}

.media-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: translateY(-4px);
}

.media-logo {
    width: 100%;
    height: auto;
    max-height: 120px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.media-card:hover .media-logo {
    transform: scale(1.1);
}


/* ========================================
   SNSセクション
   ======================================== */
.sns-section {
    padding: 48px 0;
    background-color: #f9fafb;
}
.sns-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}
.sns-content {
    display: flex;
    align-items: center;
    gap: 40px;
}
.sns-instagram-link {
    flex-shrink: 0;
    text-decoration: none;
    transition: transform 0.3s ease;
}
.sns-instagram-link:hover {
    transform: scale(1.05);
}
.sns-instagram-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    border-radius: 20px;
    background: linear-gradient(135deg, #c13584 0%, #e1306c 50%, #fd1d1d 100%);
    box-shadow: 0 10px 25px rgba(225, 48, 108, 0.3);
}
.sns-icon {
    width: 70px;
    height: 70px;
    fill: white;
}
.sns-description {
    flex: 1;
    text-align: left;
}
.sns-title {
    font-size: 28px;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 16px;
}
.sns-text {
    font-size: 16px;
    color: #4b5563;
    line-height: 1.75;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .sns-content {
        flex-direction: column;
        text-align: center;
    }
    .sns-description {
        text-align: center;
    }
    .sns-title {
        font-size: 24px;
    }
    .sns-text {
        font-size: 14px;
    }
}

/* ========================================
   SNSセクション

.sns-section {
    padding: 48px 0;
    background-color: #f9fafb;
}
.sns-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}
.sns-content {
    display: flex;
    align-items: center;
    gap: 40px;
}
.sns-instagram-link {
    flex-shrink: 0;
    text-decoration: none;
    transition: transform 0.3s ease;
}
.sns-instagram-link:hover {
    transform: scale(1.05);
}
.sns-instagram-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 300px;
    height: auto;
    overflow: hidden;
}
.sns-instagram-icon img {
    width: 100%;
    height: auto;
    object-fit: contain;
}
.sns-icon {
    width: 70px;
    height: 70px;
    fill: white;
}
.sns-description {
    flex: 1;
    text-align: left;
}
.sns-title {
    font-size: 28px;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 16px;
}
.sns-text {
    font-size: 16px;
    color: #4b5563;
    line-height: 1.75;
}

@media (max-width: 768px) {
    .sns-content {
        flex-direction: column;
        text-align: center;
    }
    .sns-instagram-icon {
        width: 250px;
        height: auto;
    }
    .sns-description {
        text-align: center;
    }
    .sns-title {
        font-size: 24px;
    }
    .sns-text {
        font-size: 14px;
    }
}
*/

/* ========================================
   SNSセクション

.sns-section {
    padding: 48px 0;
    background-color: #f9fafb;
}

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

.sns-content {
    text-align: center;
}

.sns-title {
    font-size: 24px;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 24px;
}

.sns-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.sns-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sns-link:hover {
    transform: scale(1.1);
}

.sns-link.instagram {
    background: linear-gradient(135deg, #c13584 0%, #e1306c 50%, #fd1d1d 100%);
}

.sns-link.twitter {
    background-color: #6EAFF5;
}

.sns-link.facebook {
    background-color: #3b5998;
}

.sns-link.youtube {
    background-color: #CD201F;
}

.sns-icon {
    width: 30px;
    height: 30px;
    fill: white;
}
*/

/* ========================================
   サービスセクション
   ======================================== */
.service-section {
    background-color: #f9fafb;
}
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}
.service-item {
    text-align: center;
}
.service-image {
    width: 100%;
    height: auto;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    background-color: white;
}
.service-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}
.service-item h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #111827;
}
.service-item p {
    color: #4b5563;
    line-height: 1.75;
}

/* ========================================
   フローセクション
   ======================================== */
.flow-section {
    background-color: #fdba74;
}

.flow-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    max-width: 100%;
}

.flow-item {
    position: relative;
    display: flex;
}

.flow-item:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: #2563eb;
    font-weight: bold;
    z-index: 1;
}

@media (max-width: 1024px) {
    .flow-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .flow-item:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 640px) {
    .flow-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .flow-item:not(:last-child)::after {
        content: '↓';
        display: block;
        position: absolute;
        left: 50%;
        bottom: -1.5rem;
        top: auto;
        right: auto;
        transform: translateX(-50%);
        font-size: 2rem;
        color: #2563eb;
        font-weight: bold;
        z-index: 1;
    }
}

.flow-card {
    background-color: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.flow-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.flow-icon {
    text-align: center;
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.flow-number {
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.flow-title {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.75rem;
}

.flow-description {
    color: #4b5563;
    font-size: 0.875rem;
    line-height: 1.75;
}

.flow-button {
    margin-top: 3rem;
    text-align: center;
}

.flow-button button {
    background-color: #2563eb;
    color: white;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    border: 2px solid #2563eb;
    cursor: pointer;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s;
}

.flow-button button:hover {
    background-color: #1d4ed8;
    border-color: #1d4ed8;
}

/* ========================================
   成功事例セクション
   ======================================== */
.success-section {
    background-color: #e5e7eb;
}
.success-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.success-card {
    background-color: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s;
}
.success-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}
.success-catchphrase {
    text-align: center;
    font-size: 1.25rem;
    font-weight: bold;
    color: #000000;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}
.success-profile {
    text-align: center;
    margin-bottom: 1.5rem;
}
.success-image {
    width: 10rem;
    height: 10rem;
    border-radius: 50%;
    margin: 0 auto 1rem;
    object-fit: cover;
}
.success-name {
    font-size: 1.25rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 0.25rem;
}
.success-company {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1rem;
}
.success-transition {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}
.success-before,
.success-after {
    text-align: center;
    flex: 1;
}
.success-label {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
}
.success-before-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: #000000;
}
.success-after-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: #ea580c;
}
.success-arrow {
    margin: 0 1rem;
}
.success-arrow svg {
    stroke: #000000;
}

/* ========================================
   企業の声セクション
   ======================================== */
.testimonials-section {
    background-color: #e5e7eb;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.testimonial-card {
    background-color: white;
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s;
}
.testimonial-profile {
    text-align: center;
}
.testimonial-image {
    width: 10rem;
    height: 10rem;
    border-radius: 0.5rem;
    object-fit: cover;
    margin: 0 auto 1.5rem;
}
.testimonial-company {
    font-weight: bold;
    color: #111827;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}
.testimonial-catch {
    font-size: 0.875rem;
    color: #4b5563;
    line-height: 1.6;
}

/* ========================================
   求人情報セクション
   ======================================== */
.jobs-section {
    background-color: white;
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 90rem;
    margin: 0 auto 2rem;
}

@media (max-width: 1400px) {
    .jobs-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .jobs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .jobs-grid {
        grid-template-columns: 1fr;
    }
}

.job-card {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.job-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.job-image {
    height: 12rem;
    overflow: hidden;
}

.job-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.job-content {
    padding: 1.5rem;
}

.job-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 0.5rem;
}

.job-company {
    display: flex;
    align-items: center;
    color: #4b5563;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.job-company svg {
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
}

.job-details {
    margin-bottom: 1rem;
}

.job-detail {
    display: flex;
    align-items: center;
    color: #4b5563;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.job-detail svg {
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
}

.job-description {
    color: #374151;
    font-size: 0.875rem;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.job-button {
    width: 100%;
    background-color: #2563eb;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s;
}

.job-button:hover {
    background-color: #1d4ed8;
}

.jobs-view-all {
    text-align: center;
}

.jobs-view-all button {
    background-color: #f97316;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 0.375rem;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s;
}

.jobs-view-all button:hover {
    background-color: #ea580c;
}

/* ========================================
   お役立ち情報セクション
   ======================================== */
.articles-section {
    background-color: #f9fafb;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1400px) {
    .articles-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }
}

.article-card {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.article-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.article-image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-content {
    padding: 1.5rem;
}

.article-category {
    background-color: #dbeafe;
    color: #1e40af;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.article-title {
    font-weight: bold;
    font-size: 1.125rem;
    color: #111827;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-excerpt {
    color: #4b5563;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.article-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #2563eb;
    font-weight: 500;
    font-size: 0.875rem;
    transition: color 0.3s;
}

.article-link:hover {
    color: #1e40af;
}

.articles-view-all {
    text-align: center;
    margin-top: 3rem;
}

.articles-view-all button {
    background-color: #2563eb;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s;
}

.articles-view-all button:hover {
    background-color: #1d4ed8;
}

/* ========================================
   人物紹介セクション
   ======================================== */
.people-section {
    background-color: #e5e7eb;
}

.ceo-card {
    background-color: white;
    border-radius: 0.5rem;
    padding: 2rem;
    max-width: 56rem;
    margin: 0 auto;
}

.ceo-grid {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    align-items: start;
}

.ceo-image {
    width: 200px;
    height: 200px;
    border-radius: 0.5rem;
    overflow: hidden;
}

.ceo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ceo-info h3 {
    font-size: 1rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 0.25rem;
}

.ceo-info h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #f97316;
    margin-bottom: 1rem;
}

.ceo-info p {
    color: #374151;
    line-height: 1.75;
    font-size: 0.9rem;
}

@media (max-width: 640px) {
    .ceo-grid {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .ceo-image {
        width: 150px;
        height: 150px;
    }
}

/* チームメンバー */
.team-section {
    background-color: white;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.team-card {
    background-color: #f9fafb;
    border-radius: 0.5rem;
    padding: 1.5rem;
    text-align: center;
    transition: box-shadow 0.3s;
}

.team-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.team-image {
    margin-bottom: 1.5rem;
}

.team-image img {
    width: 9.375rem;
    height: 9.375rem;
    border-radius: 50%;
    margin: 0 auto;
    object-fit: cover;
}

.team-name {
    font-size: 1.25rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 0.5rem;
}

.team-position {
    color: #2563eb;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.team-experience {
    font-size: 0.875rem;
    color: #f97316;
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-description {
    color: #4b5563;
    font-size: 0.875rem;
    line-height: 1.75;
}

/* ========================================
   会社概要セクション
   ======================================== */
.company-section {
    background-color: white;
}

.company-table {
    max-width: 56rem;
    margin: 0 auto 3rem;
}

.company-table table {
    width: 100%;
    background-color: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.company-table tr {
    border-bottom: 1px solid #e5e7eb;
}

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

.company-table td {
    padding: 1rem 1.5rem;
}

.company-table td:first-child {
    background-color: #f9fafb;
    font-weight: 600;
    color: #111827;
    width: 33.333%;
}

.company-table td:last-child {
    color: #374151;
}

.company-button {
    text-align: center;
}

.company-button button {
    background-color: #2563eb;
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 1.125rem;
    transition: background-color 0.3s;
}

.company-button button:hover {
    background-color: #1d4ed8;
}

/* ========================================
   FAQセクション
   ======================================== */
.faq-section {
    background-color: #f9fafb;
}

.faq-container {
    max-width: 56rem;
    margin: 0 auto;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.faq-question {
    width: 100%;
    padding: 1rem 1.5rem;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.faq-question:hover {
    background-color: #f9fafb;
}

.faq-question-text {
    font-weight: 500;
    color: #111827;
    padding-right: 1rem;
}

.faq-icon {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    color: #6b7280;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1.5rem;
}

.faq-answer.active {
    max-height: 500px;
    padding: 0 1.5rem 1rem;
}

.faq-answer p {
    color: #4b5563;
    line-height: 1.75;
    font-weight: bold;
}

/* ========================================
   相談CTAセクション（固定フッター）
   ======================================== */
.consultation-section {
    background-color: #4b5563;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.5rem 1.5rem;
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
}
.consultation-container {
    max-width: 56rem;
    margin: 0 auto;
    text-align: center;
}
.consultation-title {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: bold;
    margin-bottom: 1rem;
    color: white;
}
.consultation-buttons {
    display: flex;
    flex-direction: row; /* スマホでも横並びに */
    gap: 0.5rem; /* スマホ時は狭く */
    justify-content: center;
}
@media (min-width: 640px) {
    .consultation-buttons {
        gap: 0.75rem; /* PC時は元の間隔 */
    }
}
.consultation-button,
.consultation-button2 {
    color: white;
    padding: 0.75rem 1rem; /* スマホ時は小さく */
    font-size: 0.875rem; /* スマホ時は小さく */
    border: 2px solid;
    border-radius: 0.5rem;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    flex: 1; /* スマホ時に均等配置 */
}
@media (min-width: 640px) {
    .consultation-button,
    .consultation-button2 {
        padding: 0.75rem 2rem; /* PC時は元のサイズ */
        font-size: 1rem; /* PC時は元のサイズ */
        flex: initial; /* PC時はflexを解除 */
    }
}
.consultation-button {
    background-color: #2563eb;
    border-color: #2563eb;
}
.consultation-button2 {
    background-color: #0dc104;
    border-color: #0dc104;
}
.consultation-button:hover {
    background-color: #1d4ed8;
    border-color: #1d4ed8;
}
.consultation-button2:hover {
    background-color: #065f02;
    border-color: #065f02;
}
.consultation-note {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-top: 0.75rem;
}
/* フッターに下部余白を追加（固定CTAのため） */
footer {
    padding-bottom: 100px !important;
}
@media (max-width: 639px) {
    footer {
        padding-bottom: 120px !important;
    }
}

/* ========================================
   フッター
   ======================================== */
.footer {
    background-color: #FFB366;
    color: #333333;
    padding: 4rem 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 1rem;
}

.footer-logo-text {
    font-size: 1.875rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    background: linear-gradient(to right, #fdba74, #fde047);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-address {
    color: #333333;
    font-size: 0.875rem;
    line-height: 1.75;
}

.footer-section h4 {
    font-weight: bold;
    margin-bottom: 1rem;
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
color: #000000 !important;
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover,
.footer-links a:visited {
    color: #000000;
}

.footer-bottom {
    border-top: 1px solid #fb923c;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
    color: #333333;
}
