/* CSS変数定義 */
:root {
    --security-primary: #1D2A4A;
    --security-accent: #FFCC00;
    --security-white: #ffffff;
    --security-text: #333333;
    --security-light: #f9f9f9;
}

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

/* 基本スタイル */
html {
    scroll-behavior: smooth;
    height: 100%;
}

/* グローバル拡張設定 - レイアウト調整 */
.section {
    position: relative;
    z-index: 1;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    font-size: 18px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* 革新的レスポンシブコンテナ - 1240px以上大画面対応 */
.container {
    max-width: 1254px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 特定セクション用の最適化コンテナ */
.container-narrow {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

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

/* セクション共通スタイル */
.section {
    padding: 60px 0;
    min-height: auto;
    display: flex;
    align-items: center;
}

.section:not(.footer-section-new) {
    min-height: 100vh;
}

/* ヘッダースタイル */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #475569;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
    text-decoration: none;
}

.logo img {
    height: 26px;
    width: auto;
    display: block;
}

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

.nav-menu li a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 14px;
}

.nav-menu li a:hover {
    color: #e0e7ff;
}

/* ハンバーガーメニュー */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

/* ファーストビュー（FV） */

.fv {
    margin-top: 56px; /* ヘッダーの高さ分を調整 */
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9のアスペクト比 */
    background-image: url('assets/component/FV/FVpic');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}



.fv-content {
    display: none;
}

.fv-features {
    display: none;
}

.feature-item {
    text-align: center;
    color: #333;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 21%;
    max-width: 200px;
    min-width: 160px;
    aspect-ratio: 1;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    border-radius: 50%;
    z-index: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.feature-item img {
    width: 38%;
    height: auto;
    margin-bottom: 5%;
    position: relative;
    z-index: 1;
}

.feature-item img.icon-larger {
    width: 43%;
}

.feature-item img.icon-smaller {
    width: 28%;
}

.feature-item p {
    font-size: clamp(14px, 1.5vw, 18px);
    font-weight: bold;
    position: relative;
    z-index: 1;
    line-height: 1.4;
}

/* セクション2（特長） */
.features {
    background: #f9f9f9;
    padding: 60px 0;
    min-height: auto;
}

.features .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.features h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
}

.feature-card {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    background: #fff;
    border-radius: 12px;
    width: 95%;
    margin: 0 auto 40px auto;
    padding: 25px 40px 40px;
    border: 2px solid #2B3A55;
    margin-bottom: 30px;
    max-width: 1235px;
    margin-left: auto;
    margin-right: auto;
}

.feature-content {
    max-width: 57%;
    position: relative;
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

.icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-wrapper::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #f0f0f0;
    border-radius: 50%;
    z-index: 0;
}

.feature-icon {
    width: 50px;
    height: 50px;
    position: relative;
    z-index: 1;
}

.feature-icon.icon-smaller {
    width: 40px;
    height: 40px;
}

.feature-content h3 {
    font-size: 1.8rem;
    margin: 0;
    color: #2B3A55;
    position: relative;
    padding-bottom: 8px;
}

.feature-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10px;
    width: 600px;
    height: 2px;
    background-color: #2B3A55;
    z-index: 0;
}

.feature-content p {
    line-height: 1.8;
    color: #666;
    font-size: 1.4rem;
}

.feature-image img {
    max-width: 250px;
    border-radius: 8px;
    position: relative;
    z-index: 1;
    height: auto;
    object-fit: cover;
}

.cta-button {
    display: inline-block;
    margin: 40px auto 0;
    padding: 14px 28px;
    background: #ffcc00;
    border-radius: 24px;
    font-weight: bold;
    text-decoration: none;
    color: #333;
    text-align: center;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #ffd633;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 204, 0, 0.3);
}

/* セクション3（募集部門） */
.recruit {
    background: #1D2A4A;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.recruit h2 {
    color: #FFFFFF;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
    width: 100%;
}

.departments {
    display: flex !important;
    flex-direction: column !important;
    gap: 40px;
    width: 100%;
    max-width: 1254px;
    margin: 0 auto;
}

.department {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 40px;
    width: 95%;
    margin: 0 auto 40px auto;
}

.department h3 {
    color: #1D2A4A;
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 8px;
}

.department > p {
    color: #333333;
    text-align: center;
    margin-bottom: 24px;
}

/* カード群 */
.cards {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 24px;
    margin-bottom: 40px;
    max-width: 1045px;
    margin-left: auto;
    margin-right: auto;
}

.card {
    background: #FFFFFF;
    border-radius: 8px;
    padding: 20px;
    box-shadow: none;
    width: 95%;
    margin: 0 auto;
}

.card.image-card img {
    width: 105%;
    height: 300px;
    object-fit: contain;
    border-radius: 8px;
    margin-left: 5%;
    margin-bottom: -20px;
}

.card h4 {
    background: #1D2A4A;
    color: #FFFFFF;
    display: inline-block;
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 1.4rem;
    margin-bottom: 18px;
}

.card ul {
    color: #333333;
    line-height: 1.8;
    list-style: none;
    padding-left: 0;
    font-size: 1.4rem;
}

.card ul li {
    margin-bottom: 6px;
}

.card ul li:last-child {
    margin-bottom: 0;
}

/* タブ */
.timeline-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 24px;
}

.timeline-tabs button {
    flex: 1;
    padding: 12px 0;
    border: 1px solid #1D2A4A;
    border-radius: 0;
    background: #FFFFFF;
    color: #1D2A4A;
    cursor: pointer;
    border-right: none;
    font-size: 1.4rem;
    font-weight: bold;
}

.timeline-tabs button:first-child {
    border-radius: 8px 0 0 8px;
}

.timeline-tabs button:last-child {
    border-radius: 0 8px 8px 0;
    border-right: 1px solid #1D2A4A;
}

.timeline-tabs button.active {
    background: #1D2A4A;
    color: #FFFFFF;
}

/* タイムライン - Flexboxベースの新しいレイアウト */
.timeline {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    margin-top: 24px;
    width: 100%;
    align-items: start;
}

.timeline-container {
    position: relative;
    padding: 20px 0;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.timeline-entry {
    display: flex;
    align-items: flex-start;
    margin-bottom: 45px;
    min-height: 30px;
    position: relative;
}

.time-label {
    width: 80px;
    font-weight: bold;
    color: #333;
    font-size: 1.4rem;
    flex-shrink: 0;
    text-align: right;
    padding-right: 20px;
    padding-top: 0;
    box-sizing: border-box;
}

.timeline-content {
    display: flex;
    align-items: flex-start;
    flex: 1;
    min-height: 30px;
    margin-left: 0;
    padding-left: 45px;
    position: relative;
}

/* 縦線を各エントリーが持つように変更 */
.timeline-entry::before {
    content: '';
    position: absolute;
    left: 100px;
    top: 10px;
    bottom: -55px;
    width: 2px;
    background: #e2e8f0;
    z-index: 1;
}

/* 最後のエントリーの線を非表示 */
.timeline-entry:last-child::before {
    display: none;
}

.timeline-line {
    display: none;
}

.timeline-dot {
    position: absolute;
    left: 15px;
    top: 0.7rem;
    width: 10px;
    height: 10px;
    background: #FCD34D;
    border-radius: 50%;
    z-index: 2;
    flex-shrink: 0;
}

.description {
    flex: 1;
    line-height: 1.6;
    color: #333;
    font-size: 1.4rem;
    padding-left: 0;
}

.images {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.images img {
    width: 300px;
    border-radius: 8px;
    object-fit: cover;
}

/* CTA */
.cta-container {
    text-align: center;
    margin-top: 40px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.cta-button {
    display: inline-block;
    background: #FCD34D;
    color: #1D2A4A;
    padding: 14px 32px;
    border-radius: 24px;
    font-weight: bold;
    text-decoration: none;
}

.timeline[hidden] {
    display: none;
}

/* セクション4: AndSecurityについて */
.about-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 80px 0;
}

/* Revolutionary About Company Design Implementation */
.about-company {
    background: #FFFFFF;
    padding: 60px 20px;
    position: relative;
    overflow: visible;
    min-height: 80vh;
}

.about-company h2 {
    color: #1D2A4A;
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.company-content {
    display: flex;
    gap: 50px;
    align-items: center;
    max-width: 1235px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    height: 100%;
}

.column-text {
    flex: 4;
    padding: 0;
}

.column-text h3 {
    color: #1D2A4A;
    font-size: 2rem;
    margin-bottom: 24px;
    font-weight: 700;
}

.column-text p {
    color: #4a5568;
    font-size: 22px;
    line-height: 1.8;
    margin-bottom: 24px;
}

.column-image {
    flex: 6;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.column-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(29, 42, 74, 0.1);
}

.about-company::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: trust-wave 3s infinite;
    z-index: 1;
}

@keyframes trust-wave {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* レスポンシブ対応 - 1024px以下でハンバーガーメニュー */
@media (max-width: 1024px) {
    /* 1024pxの調整は一旦停止 */
}
    
    /* ヘッダーのレスポンシブ対応 */
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #1D2A4A;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    .nav-menu li a {
        color: #ffffff;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    /* スケール調整をモバイルでリセット */
    .scaled-mode .scaled-content-wrapper {
        zoom: 1 !important;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .fv-content {
        display: none;
    }
    
    /* ヘッダーのレスポンシブ対応 */
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* 特長セクションのレスポンシブ対応 - 768px以下専用 */
    section#section2.features h2 {
        font-size: 2rem !important;
        margin-bottom: 40px !important;
    }
    
    /* feature-cardのflexboxを縦並びに変更 */
    section#section2.features article.feature-card {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        padding: 25px 20px !important;
        margin-bottom: 25px !important;
    }
    
    /* 本文エリア - 上に配置 */
    section#section2.features article.feature-card div.feature-content {
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 20px !important;
        order: 1 !important;
    }
    
    /* 画像エリア - 下に配置 */
    section#section2.features article.feature-card div.feature-image {
        width: 100% !important;
        max-width: 300px !important;
        margin: 0 auto !important;
        order: 2 !important;
        text-align: center !important;
    }
    
    /* 画像自体のスタイル */
    section#section2.features article.feature-card div.feature-image img {
        width: 100% !important;
        height: auto !important;
        max-width: 250px !important;
        display: block !important;
        margin: 0 auto !important;
    }

    /* FVオブジェクトは無効化済み */
    .fv-features {
        display: none;
    }
    
    .feature-item img.icon-larger {
        width: 38%;
    }
    
    .feature-item img.icon-smaller {
        width: 25%;
    }
    
    .feature-item p {
        font-size: clamp(10px, 1.2vw, 18px);
    }
    
    /* 特長セクションのレスポンシブ対応 */
    .feature-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .feature-content {
        max-width: 100%;
        margin-bottom: 30px;
    }
    
    .feature-image {
        max-width: 100%;
    }
    
    .feature-image img {
        max-width: 180px;
        margin-top: 0;
    }
    
    .features h2 {
        font-size: 1.3rem;
    }
    
    .feature-content h3 {
        font-size: 1.2rem;
    }
    
    .feature-content p {
        font-size: 1.2rem;
    }
    
    .feature-content h3::after {
        width: 150px;
    }
    
    /* 募集部門のレスポンシブ対応 */
    .recruit {
        padding: 40px 15px;
    }
    
    .recruit h2 {
        font-size: 1.5rem;
    }
    
    .department {
        padding: 30px 20px;
    }
    
    .department h3 {
        font-size: 1.4rem;
    }
    
    .cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* 768px以下で画像カードを業務内容カードの上に配置 */
    .cards .card:first-child {
        order: 2;
    }
    
    .cards .card.image-card {
        order: 1;
        margin-bottom: 0;
    }
    
    /* 募集部門セクションの画像サイズ調整 */
    .card.image-card img {
        width: 90% !important;
        height: auto !important;
        max-width: 250px !important;
        margin-left: 5% !important;
    }
    
    .cards .card:nth-child(3) {
        order: 3;
    }
    
    .cards .card:nth-child(4) {
        order: 4;
    }
    
    .timeline {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* セクション4のレスポンシブ対応 */
    .company-intro {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .intro-text h3 {
        font-size: 1.5rem;
    }
    
    .intro-text p {
        font-size: 1rem;
    }
    
    .company-values {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }
    
    .value-card {
        padding: 25px 20px;
    }
    
    .card-icon {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .value-card h4 {
        font-size: 1.4rem;
    }
    
    .value-card p {
        font-size: 1.4rem;
    }
    
    .timeline-entry::before {
        left: 25px;
        top: 0px;
        height: calc(100% + 100px);
        z-index: 1;
    }
    
    .timeline-entry {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .time-label {
        width: auto;
        text-align: left;
        padding-right: 0;
        margin-bottom: 8px;
        margin-left: 2em;
    }
    
    .timeline-content {
        margin-left: 0;
        padding-left: 40px;
    }
    
    .timeline-dot {
        left: 26px;
        top: 8px;
        transform: translateX(-50%);
        z-index: 2;
    }
    
    /* モバイルでも最初のエントリーの上部線を短くする */
    .timeline-entry:first-child::before {
        top: 50px;
        height: calc(100% + 10px);
    }
    
    .timeline-tabs {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .timeline-tabs button {
        min-width: 80px;
        padding: 10px 0;
        font-size: 1.4rem;
    }
    
    .images {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .images img {
        width: 150px !important;
        max-width: 150px !important;
        height: auto !important;
    }
    
    /* About Company - Mobile Responsive Design */
    .about-company {
        padding: 40px 15px;
    }
    
    .about-company h2 {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .company-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .column-text {
        flex: 1;
        padding: 20px;
        order: 1;
    }
    
    .column-text h3 {
        font-size: 1.5rem;
        margin-bottom: 16px;
    }
    
    .column-text p {
        font-size: 1rem;
        margin-bottom: 12px;
    }
    
    .column-image {
        flex: 1;
        order: 2;
        margin-bottom: 20px;
    }
    
    /* エピソードセクションの吹き出し配置修正（768px以下にも適用） */
    .episode-card-mockup .episode-card-body {
        display: grid !important;
        grid-template-columns: 1fr 1fr 1fr !important;
        grid-template-rows: auto auto auto auto !important;
        gap: 8px 10px !important;
        padding: 15px !important;
        align-items: center !important;
        justify-items: center !important;
        justify-content: center !important;
        align-content: center !important;
    }
    
    .episode-card-mockup .episode-center-illustration {
        grid-column: 1 / 4 !important;
        grid-row: 4 !important;
        margin-top: 5px !important;
        margin-bottom: 5px !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    .episode-card-mockup .episode-center-illustration img {
        width: 80px !important;
        height: 80px !important;
    }
    
    /* 1行目: 2つの吹き出し */
    .episode-card-mockup .bubble-top-1 {
        grid-column: 1 / 2 !important;
        grid-row: 1 !important;
        width: 90% !important;
    }
    
    .episode-card-mockup .bubble-top-2 {
        grid-column: 3 / 4 !important;
        grid-row: 1 !important;
        width: 90% !important;
    }
    
    /* 2行目: 3つの吹き出し */
    .episode-card-mockup .bubble-top-3 {
        grid-column: 1 !important;
        grid-row: 2 !important;
        width: 95% !important;
    }
    
    .episode-card-mockup .bubble-top-4 {
        grid-column: 2 !important;
        grid-row: 2 !important;
        width: 95% !important;
    }
    
    .episode-card-mockup .bubble-top-5 {
        grid-column: 3 !important;
        grid-row: 2 !important;
        width: 95% !important;
    }
    
    /* 3行目: 2つの吹き出し */
    .episode-card-mockup .bubble-top-6 {
        grid-column: 1 / 2 !important;
        grid-row: 3 !important;
        width: 90% !important;
    }
    
    .episode-card-mockup .bubble-top-7 {
        grid-column: 3 / 4 !important;
        grid-row: 3 !important;
        width: 90% !important;
    }
    
    /* 吹き出しを静的配置に変更 */
    .episode-card-mockup .episode-bubble {
        position: relative !important;
        transform: none !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        margin: 0 !important;
        display: block !important;
    }
    
    /* 各吹き出しのtransformをリセット */
    .episode-card-mockup .bubble-top-1,
    .episode-card-mockup .bubble-top-2,
    .episode-card-mockup .bubble-top-3,
    .episode-card-mockup .bubble-top-4,
    .episode-card-mockup .bubble-top-5,
    .episode-card-mockup .bubble-top-6,
    .episode-card-mockup .bubble-top-7,
    .episode-card-mockup .bubble-bottom-1,
    .episode-card-mockup .bubble-bottom-2,
    .episode-card-mockup .bubble-bottom-3,
    .episode-card-mockup .bubble-bottom-4,
    .episode-card-mockup .bubble-bottom-5,
    .episode-card-mockup .bubble-bottom-6,
    .episode-card-mockup .bubble-bottom-7 {
        transform: none !important;
        position: relative !important;
        display: inline-block !important;
    }
    
    /* 吹き出しコンテンツの調整 */
    .episode-card-mockup .bubble-content-mockup {
        width: 100% !important;
        max-width: 200px !important;
        height: auto !important;
        min-height: 50px !important;
        padding: 8px 12px !important;
        font-size: clamp(0.8rem, 2.5vw, 1rem) !important;
        line-height: 1.3 !important;
        border-radius: 15px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        box-sizing: border-box !important;
        margin: 0 auto !important;
    }
    
    /* 特定の吹き出しを右に移動 - position: relativeで確実に調整 */
    .episode-card-mockup .bubble-top-5,
    .episode-card-mockup .bubble-top-7 {
        position: relative !important;
        left: 20px !important;
    }
    
    /* 特定の吹き出しを左に移動 - position: relativeで確実に調整 */
    .episode-card-mockup .bubble-top-2,
    .episode-card-mockup .bubble-top-4 {
        position: relative !important;
        left: -20px !important;
    }
}

/* 560px～768pxでエピソードセクションのテキストとバブルを大きく */
@media (min-width: 561px) and (max-width: 768px) {
    .episode-card-mockup .bubble-content-mockup {
        font-size: clamp(0.95rem, 2.5vw, 1.15rem) !important;
        padding: 12px 15px !important;
        width: 90% !important;
        max-width: 280px !important;
        min-width: 150px !important;
        height: auto !important;
        min-height: 70px !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    /* 各バブルの最小/最大幅を設定（高さは自動調整） */
    .episode-card-mockup .bubble-top-1 .bubble-content-mockup {
        min-width: 180px !important;
        max-width: 220px !important;
        width: 85% !important;
        height: auto !important;
        min-height: 80px !important;
    }
    
    .episode-card-mockup .bubble-top-2 .bubble-content-mockup {
        min-width: 200px !important;
        max-width: 260px !important;
        width: 90% !important;
        height: auto !important;
        min-height: 85px !important;
    }
    
    .episode-card-mockup .bubble-top-3 .bubble-content-mockup {
        min-width: 190px !important;
        max-width: 250px !important;
        width: 88% !important;
        height: auto !important;
        min-height: 85px !important;
    }
    
    .episode-card-mockup .bubble-top-4 .bubble-content-mockup {
        min-width: 210px !important;
        max-width: 280px !important;
        width: 92% !important;
        height: auto !important;
        min-height: 95px !important;
    }
    
    .episode-card-mockup .bubble-top-5 .bubble-content-mockup {
        min-width: 180px !important;
        max-width: 240px !important;
        width: 85% !important;
        height: auto !important;
        min-height: 85px !important;
    }
    
    .episode-card-mockup .bubble-top-6 .bubble-content-mockup {
        min-width: 200px !important;
        max-width: 270px !important;
        width: 90% !important;
        height: auto !important;
        min-height: 90px !important;
    }
    
    .episode-card-mockup .bubble-top-7 .bubble-content-mockup {
        min-width: 210px !important;
        max-width: 280px !important;
        width: 92% !important;
        height: auto !important;
        min-height: 85px !important;
    }
    
    /* STAFF.svgとSTAFF2.svgを1.8倍に拡大 */
    .episode-card-mockup .episode-center-illustration img[src*="STAFF.svg"],
    .episode-card-mockup .episode-center-illustration img[src*="STAFF2.svg"] {
        width: 144px !important;
        height: 144px !important;
    }
}

/* 560px未満でエピソードセクションを2-2-2-1配置に変更 */
@media (max-width: 560px) {
    .episode-card-mockup .episode-card-body {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        grid-template-rows: auto auto auto auto auto !important;
        gap: 10px 15px !important;
        padding: 15px !important;
        align-items: center !important;
        justify-items: center !important;
        justify-content: center !important;
        align-content: center !important;
        max-width: 400px !important;
        margin: 0 auto !important;
    }
    
    /* 2-2-2-1配置 */
    .episode-card-mockup .bubble-top-1 {
        grid-column: 1 !important;
        grid-row: 1 !important;
    }
    
    .episode-card-mockup .bubble-top-2 {
        grid-column: 2 !important;
        grid-row: 1 !important;
    }
    
    .episode-card-mockup .bubble-top-3 {
        grid-column: 1 !important;
        grid-row: 2 !important;
    }
    
    .episode-card-mockup .bubble-top-4 {
        grid-column: 2 !important;
        grid-row: 2 !important;
    }
    
    .episode-card-mockup .bubble-top-5 {
        grid-column: 1 !important;
        grid-row: 3 !important;
    }
    
    .episode-card-mockup .bubble-top-6 {
        grid-column: 2 !important;
        grid-row: 3 !important;
    }
    
    .episode-card-mockup .bubble-top-7 {
        grid-column: 1 / 3 !important;
        grid-row: 4 !important;
        justify-self: center !important;
        text-align: center !important;
    }
    
    /* 中央イラストを最下段に配置 */
    .episode-card-mockup .episode-center-illustration {
        grid-column: 1 / 3 !important;
        grid-row: 5 !important;
        justify-self: center !important;
        margin-top: 10px !important;
    }
    
    /* バブルコンテンツのサイズ調整 */
    .episode-card-mockup .bubble-content-mockup {
        max-width: 180px !important;
        min-height: 45px !important;
        font-size: clamp(0.7rem, 2.2vw, 0.85rem) !important;
        padding: 6px 10px !important;
    }
    
    /* bubble-top-7のコンテンツを中央配置 */
    .episode-card-mockup .bubble-top-7 .bubble-content-mockup {
        margin: 0 auto !important;
        width: auto !important;
        max-width: 250px !important;
    }
    
    /* 位置調整のリセット */
    .episode-card-mockup .bubble-top-2,
    .episode-card-mockup .bubble-top-4,
    .episode-card-mockup .bubble-top-5,
    .episode-card-mockup .bubble-top-7 {
        position: static !important;
        left: auto !important;
    }
}

@media (min-width: 1100px) {
    .feature-content h3::after {
        width: 700px;
    }
}

/* セクション6: 数字で見るAndSecurity - ⑥.pngモックアップ完全一致実装 */
.stats-mockup-section {
    background: #2A3B56;
    padding: 80px 0;
    min-height: auto;
}

.stats-mockup-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 60px;
}

/* ⑥.png準拠：上部6カード3×2、下部3カードは2×1+1×2レイアウト */
.stats-grid-mockup {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, auto);
    gap: 40px;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 特定カード配置設定 */
.stat-card-top-left {
    grid-column: 1;
    grid-row: 3;
}

.stat-card-bottom-left {
    grid-column: 2;
    grid-row: 3;
}

.stat-card-tall-right {
    grid-column: 3;
    grid-row: 3;
}

/* 統一されたカードスタイル */
.stat-card-mockup {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 95%;
    margin: 0 auto;
}

.stat-card-mockup:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border-color: #4A90A4;
}

/* ラベルスタイル - 最上部に配置 */
.stat-label-mockup {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2A3B56;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    order: 1;
    width: 100%;
}

/* 数字スタイル - 中央に配置 */
.stat-number-mockup {
    font-size: 5rem;
    font-weight: 900;
    color: #2A3B56;
    margin-bottom: 20px;
    line-height: 0.9;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    order: 2;
}

.stat-unit {
    font-size: 1.5rem;
    font-weight: 700;
    opacity: 0.8;
    margin-left: 5px;
}

/* アイコンスタイル - 最下部に配置 */
.stat-icon-mockup {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 240px !important;
    height: 240px !important;
    margin: 20px auto 0;
    background: transparent;
    border-radius: 50%;
    border: none;
    transition: transform 0.3s ease;
    order: 3;
}

.stat-card-mockup:hover .stat-icon-mockup {
    transform: scale(1.1) rotate(5deg);
}

.stat-icon-mockup img {
    width: 240px !important;
    height: 240px !important;
    transition: filter 0.3s ease;
}

/* 平均残業時間カードの文字間隔調整 */
.overtime-card .stat-number-mockup {
    letter-spacing: -0.05em;
}

.overtime-card .stat-unit {
    letter-spacing: -0.05em;
    margin-left: 2px;
}

/* レスポンシブ対応 - セクション6モックアップ */
@media (max-width: 1024px) {
    .stats-grid-mockup {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
}

/* 830px以下でもFVのリンクを維持 */
@media (max-width: 830px) {
    .fv {
        background-size: cover !important;
        padding-bottom: 56.25% !important;
        height: 0 !important;
        min-height: 0 !important;
        max-height: none !important;
        aspect-ratio: unset !important;
    }
}

@media (max-width: 768px) {
    .stats-mockup-section {
        padding: 60px 0;
    }
    
    .stats-mockup-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .stats-grid-mockup {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 15px;
    }
    
    .stat-card-mockup {
        padding: 30px 25px;
    }
    
    .stat-icon-mockup {
        width: 200px !important;
        height: 200px !important;
    }
    
    .stat-icon-mockup img {
        width: 200px !important;
        height: 200px !important;
    }
    
    .stat-number-mockup {
        font-size: 4rem;
    }
    
    .stat-unit {
        font-size: 1.2rem;
    }
    
    .stat-label-mockup {
        font-size: 1.4rem;
    }
}

/* 760px以下の追加レスポンシブ対応 - 上部6カード */
@media (max-width: 768px) {
    
    /* SVGサイズの強制的な上書き */
    #section6 .stats-grid-top img[src$=".svg"] {
        width: 75px !important;
        height: 75px !important;
        max-width: 75px !important;
        max-height: 75px !important;
    }
    
    .stats-mockup-section {
        padding: 40px 0;
        overflow-x: hidden;
    }
    
    .stats-mockup-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
        padding: 0 15px;
    }
    
    /* 上部6カードのグリッド */
    .stats-grid-top {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding: 0 10px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        margin: 0 !important;
    }
    
    /* カードサイズを画面幅に応じて変動 */
    .stats-grid-top .stat-card-mockup {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 20px 15px !important;
        box-sizing: border-box !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        min-height: auto !important;
    }
    
    /* アイコンサイズを大幅に縮小 */
    .stats-grid-top .stat-icon-mockup {
        width: 75px !important;
        height: 75px !important;
        margin: 10px auto 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .stats-grid-top .stat-icon-mockup img {
        width: 75px !important;
        height: 75px !important;
        max-width: 75px !important;
        max-height: 75px !important;
        object-fit: contain !important;
    }
    
    /* SVGのstyle属性を上書き */
    .stats-grid-top .stat-icon-mockup img[style] {
        width: 75px !important;
        height: 75px !important;
    }
    
    /* テキストサイズの調整 */
    .stats-grid-top .stat-number-mockup {
        font-size: 2.5rem !important;
        margin-bottom: 10px !important;
    }
    
    .stats-grid-top .stat-unit {
        font-size: 0.9rem !important;
        margin-left: 2px !important;
    }
    
    .stats-grid-top .stat-label-mockup {
        font-size: 1.2rem !important;
        margin-bottom: 8px !important;
        padding: 0 5px !important;
        line-height: 1.3 !important;
    }
    
    /* グリッド位置のリセット */
    .stats-grid-top .stat-card-mockup:nth-child(n) {
        grid-column: 1 !important;
        grid-row: auto !important;
    }
    
    /* 残業時間カードの特別調整 */
    .stats-grid-top .overtime-card .stat-number-mockup {
        letter-spacing: -0.03em !important;
    }
    
    .stats-grid-top .overtime-card .stat-unit {
        margin-left: 1px !important;
    }
    
    /* その他のグリッドも念のため調整 */
    .stats-grid-mockup {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
        width: 100%;
        box-sizing: border-box;
    }
}

/* 拡張グリッド */
.stats-extended-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 30px;
    max-width: 1140px;
    margin: 0 auto;
}

.stat-extended-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.stat-extended-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 20px -5px rgba(0, 0, 0, 0.12);
}

/* 左上・左下の2列カード */
.stat-extended-wide {
    grid-column: span 1;
}

/* 右列の2行カード */
.stat-extended-tall {
    grid-column: span 1;
    grid-row: span 2;
}

.stat-extended-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.stat-extended-header img {
    width: 48px;
    height: 48px;
}

.stat-extended-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1D2A4A;
}

/* 勤続年数・研修時間カードのデュアル表示 */
.stat-dual {
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.stat-item {
    text-align: center;
}

.stat-number-small {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1D2A4A;
    margin-bottom: 8px;
}

.stat-number-small small {
    font-size: 1.4rem;
    opacity: 0.8;
}

.stat-item p {
    font-size: 1rem;
    color: #4a5568;
    font-weight: 500;
}

/* 資格取得者数カードの縦リスト */
.qualification-lists {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.qualification-section h4 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1D2A4A;
    margin-bottom: 10px;
}

.qualification-section ul {
    list-style: none;
    padding: 0;
}

.qualification-section li {
    padding: 5px 0;
    font-size: 1rem;
    color: #4a5568;
    border-bottom: 1px solid #e2e8f0;
}

.qualification-section li:last-child {
    border-bottom: none;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .stats-main-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .stats-extended-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .stat-extended-wide,
    .stat-extended-tall {
        grid-column: span 1;
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    .stats-mockup-section {
        padding: 60px 0;
    }
    
    .stats-mockup-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .stats-grid-mockup {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 15px;
    }
    
    .stat-card-mockup {
        padding: 30px 25px;
    }
    
    .stat-icon-mockup {
        width: 200px !important;
        height: 200px !important;
    }
    
    .stat-icon-mockup img {
        width: 200px !important;
        height: 200px !important;
    }
    
    .stat-number-mockup {
        font-size: 4rem;
    }
    
    .stat-unit {
        font-size: 1.2rem;
    }
    
    .stat-label-mockup {
        font-size: 1.4rem;
    }
}

/* セクション7: 社風を知るアンケート - 革新的デザイン */
.survey-section {
    background: #FFFFFF;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.survey-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(29, 42, 74, 0.02) 0%, rgba(252, 211, 77, 0.02) 100%);
    z-index: 1;
}

.survey-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1D2A4A;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.survey-section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #1D2A4A, #FCD34D);
    border-radius: 2px;
}

/* アンケート結果グリッド */
.survey-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 40px;
    max-width: 1330px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* 社風カード群を右側に配置 */
.culture-cards {
    grid-column: 2;
    grid-row: 1 / 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    align-content: start;
}

/* 大きいサーベイカード（左側2行分） */
.survey-card-wide {
    grid-column: 1;
}

/* サーベイカード基本スタイル */
.survey-card {
    background: white;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 
        0 10px 25px -5px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(226, 232, 240, 0.5);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}


.survey-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}


/* サーベイヘッダー */
.survey-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.survey-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.survey-card:hover .survey-icon {
    transform: rotate(10deg) scale(1.1);
}

.survey-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1D2A4A;
    margin: 0;
}

/* チャートコンテナ */
.chart-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 2;
}

/* ドーナツチャート */
.donut-chart {
    position: relative;
    transition: transform 0.4s ease;
}

.survey-card:hover .donut-chart {
    transform: scale(1.05) rotate(5deg);
}

.donut-chart circle {
    transition: all 0.6s ease;
}

/* チャート凡例 */
.chart-legend {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.legend-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: rgba(248, 250, 252, 0.8);
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.legend-item:hover {
    background: rgba(252, 211, 77, 0.1);
    transform: translateX(5px);
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    margin-right: 10px;
    transition: transform 0.3s ease;
}

.legend-item:hover .legend-color {
    transform: scale(1.3);
}

.legend-value {
    font-weight: 600;
    color: #1D2A4A;
}

/* バーチャート */
.bar-chart {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.bar-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.bar-label {
    width: 120px;
    font-weight: 500;
    color: #4a5568;
    font-size: 1.4rem;
}

.bar-track {
    flex: 1;
    height: 12px;
    background: #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.bar-fill {
    height: 100%;
    border-radius: 6px;
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.bar-value {
    width: 50px;
    text-align: right;
    font-weight: 700;
    color: #1D2A4A;
}

/* 社風カード */
.culture-card {
    background: white;
    border-radius: 16px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(226, 232, 240, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    width: 95%;
    margin: 0 auto;
}

.culture-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(29, 42, 74, 0.02), rgba(252, 211, 77, 0.02));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.culture-card:hover {
    transform: translateY(-8px) rotateY(5deg) scale(1.05);
    box-shadow: 
        0 20px 40px -8px rgba(0, 0, 0, 0.25),
        0 0 0 2px rgba(252, 211, 77, 0.4);
    border-color: #FCD34D;
}

.culture-card:hover::before {
    opacity: 1;
}

.culture-card:active {
    transform: translateY(-5px) rotateY(2deg) scale(1.02);
}

.culture-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: 50%;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.culture-card:hover .culture-icon {
    background: linear-gradient(135deg, #FCD34D, #F59E0B);
    transform: scale(1.2) rotate(10deg);
}

.culture-card h4 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1D2A4A;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
}

.culture-card p {
    font-size: 1.4rem;
    color: #4a5568;
    line-height: 1.4;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.culture-rating {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    position: relative;
    z-index: 2;
}

.rating-score {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1D2A4A;
}

.rating-stars {
    color: #FCD34D;
    font-size: 1rem;
}

/* レスポンシブ対応: タブレット (1024px以下) */
@media (max-width: 1024px) {
    .survey-section {
        padding: 60px 0;
    }
    
    .survey-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .culture-cards {
        grid-column: 1;
        grid-row: auto;
        grid-template-columns: repeat(2, 1fr);
        margin-top: 30px;
    }
    
    .survey-card {
        padding: 30px 25px;
    }
    
    .chart-container {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .donut-chart {
        margin: 0 auto;
    }
    
    .chart-legend {
        max-width: 350px;
        margin: 0 auto;
    }
}

/* レスポンシブ対応: モバイル (768px以下) */
@media (max-width: 768px) {
    .survey-section {
        padding: 40px 0;
    }
    
    .survey-section h2 {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }
    
    .survey-section h2::after {
        width: 60px;
        height: 2px;
    }
    
    .survey-grid {
        gap: 20px;
        padding: 0 15px;
    }
    
    .culture-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .survey-card {
        padding: 20px 15px;
        border-radius: 12px;
    }
    
    .survey-header {
        gap: 10px;
        margin-bottom: 20px;
    }
    
    .survey-icon {
        width: 40px;
        height: 40px;
    }
    
    .survey-header h3 {
        font-size: 1.2rem;
    }
    
    .chart-container {
        gap: 25px;
    }
    
    .donut-chart svg {
        width: 120px;
        height: 120px;
    }
    
    .donut-chart text {
        font-size: 16px;
    }
    
    .legend-item {
        padding: 5px 8px;
        font-size: 1.1rem;
    }
    
    .bar-label {
        width: 100px;
        font-size: 1.4rem;
    }
    
    .bar-track {
        height: 10px;
    }
    
    .bar-value {
        width: 45px;
        font-size: 1.4rem;
    }
    
    .culture-card {
        padding: 20px 15px;
    }
    
    .culture-icon {
        width: 35px;
        height: 35px;
        margin-bottom: 10px;
    }
    
    .culture-card h4 {
        font-size: 1rem;
    }
    
    .culture-card p {
        font-size: 1.1rem;
    }
    
    .rating-score {
        font-size: 1.4rem;
    }
    
    .rating-stars {
        font-size: 1.4rem;
    }
}

/* アクセシビリティ: focus状態の改善 */
.survey-card:focus,
.culture-card:focus,
.legend-item:focus {
    outline: 3px solid #FCD34D;
    outline-offset: 2px;
}

.survey-card:focus-visible,
.culture-card:focus-visible,
.legend-item:focus-visible {
    outline: 3px solid #1D2A4A;
    outline-offset: 2px;
}

/* アニメーション: reduced-motion対応 */
@media (prefers-reduced-motion: reduce) {
    .survey-card,
    .culture-card,
    .survey-icon,
    .culture-icon,
    .donut-chart,
    .bar-fill,
    .legend-item,
    .legend-color {
        transition: none;
        animation: none;
    }
    
    .survey-card:hover,
    .culture-card:hover {
        transform: none;
    }
}

/* ハイコントラスト対応 */
@media (prefers-contrast: high) {
    .survey-card,
    .culture-card {
        border: 2px solid #1D2A4A;
    }
    
    .legend-item {
        border: 1px solid #4a5568;
    }
    
    .bar-track {
        border: 1px solid #1D2A4A;
    }
}

/* セクション7: 社風を知るアンケート - デザインカンプ準拠スタイル */
.survey-section-v2 {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.survey-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 40px;
}

/* カードセクション共通 */
.survey-card-section {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.card-section-title {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 25px;
}

/* 1. 入社時業界経験者 (90%未経験・10%経験者の2カード) */
.experience-cards {
    display: flex;
    justify-content: center;
    gap: 40px;
    max-width: 600px;
    margin: 0 auto;
}

.experience-card {
    text-align: center;
    padding: 25px;
    background: #f8fafc;
    border-radius: 12px;
    flex: 1;
    max-width: 200px;
    border: 2px solid #e2e8f0;
}

.experience-icon {
    margin-bottom: 15px;
}

.experience-label {
    font-size: 1.4rem;
    color: #4a5568;
    margin-bottom: 8px;
}

.experience-percentage {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a202c;
}

/* 2. 前職の仕事 (7種類のアイコン付きリスト) */
.job-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 700px;
    margin: 0 auto;
}

.job-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 15px;
    background: #f8fafc;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.job-item img {
    margin-bottom: 10px;
}

.job-name {
    font-size: 1.4rem;
    color: #4a5568;
    font-weight: 500;
}

/* 3. あなたは何色レンジャー？ (7体のレンジャーと割合) */
.ranger-section {
    position: relative;
}

.ranger-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 760px;
    margin: 0 auto;
    gap: 40px;
}

.ranger-figures {
    flex: 1;
    text-align: center;
}

.ranger-base {
    width: 200px;
    height: auto;
}

.ranger-stats {
    flex: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.ranger-stat {
    padding: 12px 15px;
    border-radius: 8px;
    border: 2px dotted #ddd;
    position: relative;
    background: #fafafa;
}

.ranger-stat.green {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.05);
}

.ranger-stat.pink {
    border-color: #ec4899;
    background: rgba(236, 72, 153, 0.05);
}

.ranger-stat.red {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.05);
}

.ranger-stat.blue {
    border-color: #3b82f6;
    background: rgba(59, 130, 246, 0.05);
}

.ranger-stat.yellow {
    border-color: #f59e0b;
    background: rgba(245, 158, 11, 0.05);
}

.ranger-stat.purple {
    border-color: #8b5cf6;
    background: rgba(139, 92, 246, 0.05);
}

.ranger-stat.black {
    border-color: #6b7280;
    background: rgba(107, 114, 128, 0.05);
}

.ranger-color-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a202c;
    display: block;
    margin-bottom: 4px;
}

.ranger-desc {
    font-size: 1.4rem;
    color: #4a5568;
    display: block;
    line-height: 1.3;
    margin-bottom: 6px;
}

.ranger-percent {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1a202c;
    display: block;
}

/* 4. 2カラムセクション共通 */
.two-column-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.column h3 {
    font-size: 1.4rem !important;
    font-weight: 600;
    color: #333;
    text-align: center !important;
    margin-bottom: 20px !important;
}

/* 入社理由 */
.reason-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.reason-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid #e2e8f0;
}

.reason-rank {
    background: #1a202c;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    min-width: 35px;
    text-align: center;
}

.reason-text {
    flex: 1;
    font-size: 1.4rem;
    color: #4a5568;
}

/* 出身地 */
.origin-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.origin-rank {
    flex: 1;
}

.rank-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #e2e8f0;
}

.rank-item:last-child {
    border-bottom: none;
}

.rank-number {
    background: #1a202c;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    min-width: 35px;
    text-align: center;
}

.rank-place {
    font-size: 1.4rem;
    color: #4a5568;
}

.japan-map {
    flex-shrink: 0;
}

/* 転職してよかったこと */
.benefit-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    background: #f8fafc;
    border-radius: 8px;
}

.benefit-rank {
    background: #1a202c;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    min-width: 35px;
    text-align: center;
}

.benefit-text {
    flex: 1;
    font-size: 1.4rem;
    color: #4a5568;
}

.benefit-note, .motivation-note, .hobby-note {
    background: #fff5cd;
    border: 2px solid #f59e0b;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
}

.benefit-note p, .motivation-note p, .hobby-note p {
    margin: 0;
    font-size: 1.4rem;
    color: #92400e;
}

.benefit-note p:first-child, .motivation-note p:first-child, .hobby-note p:first-child {
    margin-bottom: 5px;
}

/* 働くモチベーション */
.motivation-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.motivation-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    background: #f8fafc;
    border-radius: 8px;
}

.motivation-rank {
    background: #1a202c;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    min-width: 35px;
    text-align: center;
}

.motivation-text {
    flex: 1;
    font-size: 1.4rem;
    color: #4a5568;
}

/* 休日の過ごし方 */
.hobby-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.hobby-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    background: #f8fafc;
    border-radius: 8px;
}

.hobby-rank {
    background: #1a202c;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    min-width: 35px;
    text-align: center;
}

.hobby-text {
    flex: 1;
    font-size: 1.4rem;
    color: #4a5568;
}

/* 好きなお酒 */
.alcohol-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 15px;
}

.alcohol-category {
    text-align: center;
    flex: 1;
}

.alcohol-name {
    display: block;
    font-size: 1rem;
    color: #4a5568;
    margin-bottom: 5px;
}

.alcohol-percent {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
}

.alcohol-details {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}

.alcohol-detail {
    text-align: center;
    padding: 8px;
    background: #f8fafc;
    border-radius: 6px;
}

.alcohol-detail .alcohol-name {
    font-size: 1.4rem;
    margin-bottom: 3px;
}

.alcohol-detail .alcohol-percent {
    font-size: 1rem;
}

/* 7. 今すぐ応募CTA */
.cta-section {
    text-align: center;
    margin-top: 40px;
}

.cta-button-v2 {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1a202c;
    padding: 16px 50px;
    border-radius: 25px;
    font-size: 1.4rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.cta-button-v2:hover {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

/* レスポンシブ対応 - セクション7 */
@media (max-width: 768px) {
    .survey-section-v2 {
        padding: 40px 0;
    }
    
    .survey-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .survey-card-section {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .card-section-title {
        font-size: 1.2rem !important;
        margin-bottom: 15px;
    }
    
    .experience-cards {
        flex-direction: column;
        gap: 20px;
        max-width: 300px;
    }
    
    .job-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        max-width: 400px;
    }
    
    .job-item {
        padding: 15px 10px;
    }
    
    .ranger-container {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .ranger-base {
        width: 150px;
    }
    
    .ranger-stats {
        grid-template-columns: 1fr;
        max-width: 350px;
        margin: 0 auto;
    }
    
    /* レンジャーセクション全体のスケール調整でレイアウト保持 */
    .rangers-layout-new {
        transform: scale(0.75) translateX(-50%) !important;
        transform-origin: left top !important;
        width: 133% !important; /* スケールダウン分の幅調整 */
        margin-left: 50% !important;
        max-width: none !important;
        height: 320px !important; /* 青カード用に高さを拡張 */
        overflow: visible !important;
        position: relative !important;
    }
    
    /* レンジャー中央画像を確実に中央に配置 */
    .ranger-center-image {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        z-index: 10 !important;
    }
    
    .ranger-center-image img {
        max-width: 180px !important;
        height: auto !important;
    }
    
    /* 各レンジャーカードのサイズも調整 */
    .ranger-card {
        padding: 10px !important;
        min-width: 80px !important;
        font-size: 0.9rem !important;
    }
    
    /* 青、黒、白のカードをtopベースで下端に配置 */
    .bottom-left-shifted {
        top: 295px !important;
        bottom: auto !important;
        left: 20px !important;
    }
    
    .bottom-center {
        top: 260px !important;
        bottom: auto !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
    
    .bottom-right-shifted {
        top: 270px !important;
        bottom: auto !important;
        right: 20px !important;
    }
    
    /* 赤、青、黄色、白のカードをさらに下に移動 */
    .middle-left {
        top: 220px !important;
        bottom: auto !important;
    }
    
    .middle-right {
        top: 200px !important;
        bottom: auto !important;
        right: 10px !important;
    }
}

/* 440px以下でレンジャーセクションをさらに縮小 */
@media (max-width: 440px) {
    
    /* レンジャーセクション全体をさらに縮小 */
    .rangers-layout-new {
        transform: scale(0.68) translateX(-50%) !important;
        height: 420px !important;
    }
    
    /* レンジャー中央画像をさらに小さく */
    .ranger-center-image img {
        max-width: 160px !important;
    }
    
    /* レンジャーカードのテキストとサイズをさらに縮小 */
    .ranger-card {
        padding: 5px !important;
        min-width: 55px !important;
        font-size: 0.65rem !important;
    }
    
    .ranger-color-name {
        font-size: 0.75rem !important;
    }
    
    .ranger-description {
        font-size: 0.6rem !important;
        line-height: 1.1 !important;
    }
    
    .ranger-percentage {
        font-size: 0.7rem !important;
    }
    
    /* 入社時業界経験者カードを横幅に合わせて可変サイズに */
    .experience-stats-card {
        flex-direction: column !important;
        gap: 15px !important;
        width: 100% !important;
    }
    
    .stat-item {
        max-width: none !important;
        min-width: 0 !important;
        width: calc(100% - 20px) !important;
        flex: 1 1 auto !important;
        margin: 0 auto !important;
    }
    
    .novice-card,
    .experienced-card {
        max-width: none !important;
        min-width: 0 !important;
        width: 100% !important;
    }
    
    .two-column-section {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 20px;
    }
    
    .origin-section {
        flex-direction: column;
        gap: 20px;
        text-align: left;
    }
    
    .alcohol-stats {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .alcohol-details {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .cta-button-v2 {
        padding: 14px 40px;
        font-size: 1.4rem;
    }
    
    /* アンケート回答のフォントサイズを小さく */
    .survey-card-title {
        font-size: 1.4rem !important;
    }
    
    .percentage-large {
        font-size: 3rem !important;
    }
    
    .stat-content-large h4 {
        font-size: 1.2rem !important;
    }
    
    .job-label {
        font-size: 1.1rem !important;
    }
    
    .ranger-color-name {
        font-size: 1.4rem !important;
    }
    
    .ranger-description {
        font-size: 1.1rem !important;
    }
    
    .ranger-percentage {
        font-size: 1.2rem !important;
    }
    
    /* グリッドカード内のh3タイトルを小さく */
    .grid-card h3 {
        font-size: 1.3rem !important;
    }
    
    /* グリッドカード内のテキストを小さく */
    .reason-text,
    .origin-text,
    .benefit-item-comp,
    .motivation-item-comp,
    .hobby-item-comp,
    .alcohol-item-comp,
    .benefit-text,
    .motivation-text,
    .hobby-text,
    .alcohol-type,
    .alcohol-percentage {
        font-size: 1.1rem !important;
    }
    
    /* その他のグリッドカード内要素も調整 */
    .grid-card p,
    .grid-card li,
    .grid-card span {
        font-size: 1.1rem !important;
    }
    
    /* グリッドカード内のSVG画像サイズ調整 */
    .grid-card img {
        width: 70% !important;
        height: auto !important;
        max-width: 90px !important;
    }
    
    /* 出身地の日本地図SVGだけ更に大きく */
    .japan-map-comp img {
        width: 120px !important;
        max-width: 120px !important;
    }
    
    /* 入社理由と出身地のカードを相対位置に */
    .grid-card.compact-card {
        position: relative !important;
    }
    
    /* 入社理由の画像を絶対位置で右に配置 */
    .reason-image {
        position: absolute !important;
        top: 50% !important;
        right: 15px !important;
        transform: translateY(-50%) !important;
    }
    
    /* 出身地の日本地図を絶対位置で右に配置 */
    .japan-map-comp {
        position: absolute !important;
        top: 50% !important;
        right: 15px !important;
        transform: translateY(-50%) !important;
        width: auto !important;
        flex: none !important;
        display: block !important;
        margin: 0 !important;
    }
    
    /* テキスト部分の右側にスペースを確保 */
    .reason-list-comp,
    .origin-rank-list {
        padding-right: 140px !important;
    }
    
    /* 金融業のSVGだけ少し大きく */
    .finance img {
        width: 80% !important;
        max-width: 100px !important;
    }
    
    /* グリッドカード内の行間をさらに縮める */
    .reason-item-comp,
    .origin-item-comp,
    .benefit-item-comp,
    .motivation-item-comp,
    .hobby-item-comp {
        line-height: 1.1 !important;
        margin-bottom: 4px !important;
    }
    
    .reason-list-comp,
    .origin-rank-list,
    .benefit-list-comp,
    .motivation-list-comp,
    .hobby-list-comp {
        gap: 4px !important;
    }
    
    /* 440px以下で青、白カードを下に配置 */
    .bottom-left-shifted {
        top: 320px !important;
        left: 5px !important;
    }
    
    .bottom-right-shifted {
        top: 320px !important;
        right: 5px !important;
    }
    
    /* 黒カード（戦略家・一匹狼）を一番下に配置 */
    .bottom-center {
        top: 440px !important;
    }
}

/* 441px～768pxでオブジェクト調整 */
@media (min-width: 441px) and (max-width: 768px) {
    /* レンジャー中央画像を大きくする */
    .ranger-center-image img {
        max-width: 220px !important;
        height: auto !important;
    }
    
    /* FVオブジェクト調整 - 531px～768px範囲で小さすぎる問題を解決 */
    .fv-features {
        padding: 0 clamp(20px, 5vw, 80px);
        gap: clamp(15px, 2.5vw, 30px);
    }
    
    .feature-item {
        width: clamp(80px, 12vw, 240px);
        max-width: clamp(80px, 12vw, 240px);
        min-width: clamp(80px, 12vw, 200px);
    }
    
    .feature-item img {
        width: 40%;
    }
    
    .feature-item img.icon-larger {
        width: 45%;
    }
    
    .feature-item img.icon-smaller {
        width: 30%;
    }
    
    .feature-item p {
        font-size: clamp(12px, 1.5vw, 20px);
        line-height: 1.3;
    }
    
    /* グリッドカード内のSVG画像サイズ調整 */
    .grid-card img {
        width: 70% !important;
        height: auto !important;
        max-width: 90px !important;
    }
    
    /* 出身地の日本地図SVGだけ更に大きく・右寄せ */
    .origin-layout-comp {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 20px !important;
        text-align: left !important;
    }
    
    .origin-rank-list {
        width: auto !important;
        flex: 1 1 auto !important;
        flex-shrink: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .japan-map-comp {
        width: auto !important;
        flex: 0 0 auto !important;
        display: block !important;
        margin-left: auto !important;
        margin-right: 0 !important;
        text-align: right !important;
    }
    
    .japan-map-comp img {
        width: 150px !important;
        max-width: 150px !important;
        display: block !important;
        margin-left: auto !important;
        margin-right: 0 !important;
    }
    
    /* 金融業のSVGだけ少し大きく */
    .finance img {
        width: 80% !important;
        max-width: 100px !important;
    }
    
    /* グリッドカード内のフォントサイズを小さく */
    .grid-card h3 {
        font-size: 1.4rem !important;
    }
    
    .grid-card p,
    .grid-card li,
    .grid-card span {
        font-size: 1.2rem !important;
    }
    
    .reason-text,
    .origin-text,
    .benefit-item-comp,
    .motivation-item-comp,
    .hobby-item-comp,
    .alcohol-item-comp,
    .benefit-text,
    .motivation-text,
    .hobby-text,
    .alcohol-type,
    .alcohol-percentage {
        font-size: 1.2rem !important;
    }
    
    /* 入社理由と出身地のカードを相対位置に */
    .grid-card.compact-card {
        position: relative !important;
    }
    
    /* 入社理由の画像を絶対位置で右に配置 */
    .reason-image {
        position: absolute !important;
        top: 50% !important;
        right: 20px !important;
        transform: translateY(-50%) !important;
    }
    
    /* 出身地の日本地図を絶対位置で右に配置 */
    .japan-map-comp {
        position: absolute !important;
        top: 50% !important;
        right: 20px !important;
        transform: translateY(-50%) !important;
        width: auto !important;
        flex: none !important;
        display: block !important;
        margin: 0 !important;
    }
    
    /* テキスト部分の右側にスペースを確保 */
    .reason-list-comp,
    .origin-rank-list {
        padding-right: 160px !important;
    }
    
    /* 特長セクションの531px～768px調整 */
    .features {
        padding: 50px 0;
    }
    
    .feature-card {
        padding: 20px 30px 30px;
        width: 90%;
    }
    
    .feature-content {
        max-width: 60%;
    }
    
    .feature-content h3 {
        font-size: 1.6rem;
    }
    
    .feature-content h3::after {
        width: 400px;
    }
    
    .feature-image img {
        max-width: 220px;
    }
    
    /* 募集部門セクションの531px～768px調整 */
    .recruit {
        padding: 50px 15px;
    }
    
    .department {
        padding: 35px 30px;
        width: 90%;
    }
    
    .department h3 {
        font-size: 1.5rem;
    }
    
    .cards {
        gap: 20px;
        max-width: 900px;
    }
}

/* セクション8: エピソード吹き出し形式デザイン */
.episode-bubble-section {
    background: #2A3B56;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.episode-bubble-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    z-index: 1;
}

.episode-subsection {
    background: #FFFFFF;
    border-radius: 8px;
    padding: 40px;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    width: 95%;
    margin-left: auto;
    margin-right: auto;
}

.episode-subsection:last-child {
    margin-bottom: 0;
}

.episode-subsection h2 {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: #2A3B56;
    margin-bottom: 40px;
    position: relative;
}

.episode-subsection h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #2A3B56, #4A90A4);
    border-radius: 2px;
}

/* 吹き出しコンテナ */
.bubble-container {
    position: relative;
    width: 100%;
    height: 500px;
    margin: 0 auto;
    max-width: 600px;
}

/* 中央のイラスト */
.center-illustration {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    background: #FFFFFF;
    border-radius: 50%;
    padding: 20px;
    box-shadow: 0 8px 25px rgba(42, 59, 86, 0.2);
    border: 4px solid #F0F4F8;
}

.center-illustration img {
    display: block;
    border-radius: 50%;
}

/* 吹き出しアイテム */
.bubble-item {
    position: absolute;
    z-index: 5;
}

.bubble-content {
    background: #F0F4F8;
    color: #2A3B56;
    padding: 12px 18px;
    border-radius: 9999px;
    font-size: 1.4rem;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(42, 59, 86, 0.15);
    border: 2px solid #FFFFFF;
    transition: all 0.3s ease;
    cursor: pointer;
    line-height: 1.3;
}

.bubble-content:hover {
    background: #FFFFFF;
    color: #2A3B56;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(42, 59, 86, 0.25);
    border-color: #4A90A4;
}

/* 円形配置のポジション設定 */
.bubble-1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.bubble-2 {
    top: 15%;
    right: 0;
    transform: translateX(25%);
}

.bubble-3 {
    top: 40%;
    right: -5%;
    transform: translateX(50%);
}

.bubble-4 {
    bottom: 40%;
    right: -5%;
    transform: translateX(50%);
}

.bubble-5 {
    bottom: 15%;
    right: 0;
    transform: translateX(25%);
}

.bubble-6 {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.bubble-7 {
    top: 40%;
    left: -5%;
    transform: translateX(-50%);
}

/* レスポンシブ対応: タブレット (1024px以下) */
@media (max-width: 1024px) {
    .episode-bubble-section {
        padding: 60px 0;
    }
    
    .episode-subsection {
        padding: 30px;
        margin-bottom: 50px;
    }
    
    .episode-subsection h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .bubble-container {
        height: 450px;
        max-width: 500px;
    }
    
    .center-illustration {
        padding: 15px;
    }
    
    .center-illustration img {
        width: 120px;
        height: 120px;
    }
    
    .bubble-content {
        font-size: 1.4rem;
        padding: 10px 14px;
    }
}

/* レスポンシブ対応: モバイル (768px以下) */
@media (max-width: 768px) {
    .episode-bubble-section {
        padding: 50px 0;
    }
    
    .episode-subsection {
        padding: 25px 20px;
        margin-bottom: 40px;
        border-radius: 12px;
    }
    
    .episode-subsection h2 {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }
    
    .episode-subsection h2::after {
        width: 60px;
        height: 2px;
    }
    
    .bubble-container {
        height: 350px;
        max-width: 320px;
    }
    
    .center-illustration {
        padding: 10px;
        border-width: 2px;
    }
    
    .center-illustration img {
        width: 80px;
        height: 80px;
    }
    
    .bubble-content {
        font-size: 1.4rem;
        padding: 8px 12px;
        line-height: 1.2;
        max-width: 120px;
        white-space: normal;
        word-wrap: break-word;
    }
    
    .bubble-content:hover {
        transform: scale(1.02);
    }
    
    /* モバイル用の吹き出し配置調整 */
    .bubble-1 {
        top: -5%;
    }
    
    .bubble-2 {
        top: 10%;
        right: -10%;
        transform: translateX(50%);
    }
    
    .bubble-3 {
        top: 35%;
        right: -15%;
        transform: translateX(60%);
    }
    
    .bubble-4 {
        bottom: 35%;
        right: -15%;
        transform: translateX(60%);
    }
    
    .bubble-5 {
        bottom: 10%;
        right: -10%;
        transform: translateX(50%);
    }
    
    .bubble-6 {
        bottom: -5%;
    }
    
    .bubble-7 {
        top: 35%;
        left: -15%;
        transform: translateX(-60%);
    }
}

/* アニメーション効果とアクセシビリティ */
@keyframes bubble-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.bubble-content {
    animation: bubble-float 3s ease-in-out infinite;
}

.bubble-item:nth-child(2n) .bubble-content {
    animation-delay: 0.5s;
}

.bubble-item:nth-child(3n) .bubble-content {
    animation-delay: 1s;
}

.bubble-item:nth-child(4n) .bubble-content {
    animation-delay: 1.5s;
}

/* アクセシビリティ: focus状態 */
.bubble-content:focus {
    outline: 3px solid #4A90A4;
    outline-offset: 2px;
}

.bubble-content:focus-visible {
    outline: 3px solid #2A3B56;
    outline-offset: 2px;
}

/* reduced-motion対応 */
@media (prefers-reduced-motion: reduce) {
    .bubble-content {
        animation: none;
    }
    
    .bubble-content:hover {
        transform: none;
    }
}

/* ハイコントラスト対応 */
@media (prefers-contrast: high) {
    .bubble-content {
        border: 3px solid #2A3B56;
        background: #FFFFFF;
    }
    
    .center-illustration {
        border: 6px solid #2A3B56;
    }
}

/* ===========================================
   セクション7 - デザインカンプ完全一致スタイル
   =========================================== */

/* セクション7メインコンテナ - 参考デザイン完全準拠 */
.survey-section-comp {
    background: #ffffff;
    padding: 100px 0 120px;
    position: relative;
}

/* 社風セクションの幅を他セクションと合わせる */
.episode-width-match .container {
    max-width: 1320px !important;
    width: 100% !important;
    padding: 0 20px !important;
}

.episode-width-match .survey-card {
    background: #e9ecef;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    padding: 50px 45px;
    margin-bottom: 50px;
    border: 2px solid #dee2e6;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: visible;
    max-width: 1235px !important;
    width: 95%;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.survey-section-comp::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, #ffffff 0%, #ffffff 100%);
    z-index: 0;
}


.survey-main-title {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 80px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    position: relative;
}

.survey-main-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, #3498db 0%, #2ecc71 100%);
    border-radius: 2px;
}

/* 統一された参考デザイン準拠カード */

.survey-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18);
}

.survey-card-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 40px;
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 3px solid #e2e8f0;
    position: relative;
}

.survey-card-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #3498db;
    border-radius: 1px;
}

/* 1. 入社時業界経験者カード - 90%/10% 大きく表示 */
.experience-stats-card {
    display: flex;
    justify-content: center;
    gap: 80px;
    align-items: center;
    padding: 20px 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 80px;
    background: #ffffff;
    border-radius: 20px;
    border: none;
    transition: all 0.3s ease;
    min-width: 450px;
    position: relative;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}


.stat-content-large h4 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.percentage-large {
    font-size: 10rem;
    font-weight: 900;
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.percent-sign {
    font-size: 0.5em;
    vertical-align: super;
}

.novice-card {
    background: #ffffff;
}

.novice-card .percentage-large {
    color: #000000;
}

.experienced-card {
    background: #ffffff;
}

.experienced-card .percentage-large {
    color: #000000;
}

/* カード右上にアイコンを配置（未経験者用） */
.novice-card::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 120px;
    height: 120px;
    background-image: url('assets/component/staff_qestion/beginner2.svg');
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 10;
}

/* カード左上にアイコンを配置（経験者用） */
.experienced-card::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    width: 120px;
    height: 120px;
    background-image: url('assets/component/staff_qestion/police.svg');
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 10;
}


/* 2. 前職の仕事カード - 7種最適化レイアウト */
.previous-jobs-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 855px;
    margin: 0 auto;
}

/* 上段4つのカード */
.jobs-top-row {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    overflow: visible;
    padding-top: 30px;
}

/* 下段3つのカード */
.jobs-bottom-row {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-left: 12.5%;
    margin-right: 12.5%;
}

.job-item-comp {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 25px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
    border-radius: 16px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    min-width: 150px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* 全職種カード共通スタイル（円形デザイン） */
.job-item-comp.civil-service,
.job-item-comp.office-worker,
.job-item-comp.student,
.job-item-comp.manufacturing,
.job-item-comp.convenience,
.job-item-comp.service,
.job-item-comp.finance {
    background: #ffffff;
    border-radius: 50%;
    width: 160px;
    height: 160px;
    padding: 0;
    justify-content: center;
    border: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    position: relative;
    overflow: visible;
}

/* 全職種カード共通イラストスタイル */
.job-item-comp.civil-service img,
.job-item-comp.office-worker img,
.job-item-comp.student img,
.job-item-comp.manufacturing img,
.job-item-comp.convenience img,
.job-item-comp.service img,
.job-item-comp.finance img {
    width: 100px;
    height: 100px;
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    z-index: 10;
}

/* 全職種カード共通テキストスタイル */
.job-item-comp.civil-service .job-label,
.job-item-comp.office-worker .job-label,
.job-item-comp.student .job-label,
.job-item-comp.manufacturing .job-label,
.job-item-comp.convenience .job-label,
.job-item-comp.service .job-label,
.job-item-comp.finance .job-label {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a202c;
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}

.job-item-comp:hover {
    transform: translateY(-8px) scale(1.05);
    border-color: #3498db;
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.2);
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
}

/* 全職種カード共通ホバースタイル */
.job-item-comp.civil-service:hover,
.job-item-comp.office-worker:hover,
.job-item-comp.student:hover,
.job-item-comp.manufacturing:hover,
.job-item-comp.convenience:hover,
.job-item-comp.service:hover,
.job-item-comp.finance:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    background: #ffffff;
}

.job-item-comp img {
    margin-bottom: 15px;
    padding: 10px;
    background: transparent;
    transition: transform 0.3s ease;
}

/* 公務員以外のイラストのスタイルをリセット */
.job-item-comp:not(.civil-service) img {
    margin-bottom: 15px;
    padding: 10px;
    background: transparent;
    transition: transform 0.3s ease;
}

.job-item-comp:hover img {
    transform: scale(1.1) rotate(5deg);
}

/* 全職種カード共通イラストホバースタイル */
.job-item-comp.civil-service:hover img,
.job-item-comp.office-worker:hover img,
.job-item-comp.student:hover img,
.job-item-comp.manufacturing:hover img,
.job-item-comp.convenience:hover img,
.job-item-comp.service:hover img,
.job-item-comp.finance:hover img {
    transform: translateX(-50%) scale(1.1);
}

.job-label {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1a202c;
    margin-top: 10px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* 3. レンジャーセクション - 参考デザイン完全一致 */
.ranger-main-card {
    background: #e9ecef;
    color: #2c3e50;
}

.ranger-main-card .survey-card-title {
    color: #2c3e50;
    border-bottom-color: #3498db;
}

/* 参考デザイン準拠レイアウト */
.rangers-layout-design-match {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

/* 上部セクション：左（緑）・中央（フィギュア）・右（ピンク） */
.ranger-top-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    width: 100%;
}

/* 中央フィギュア */
.ranger-center-figure {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

/* メイン表示ボックス（緑・ピンクのみ大きく点線枠） */
.ranger-main-left, .ranger-main-right {
    flex: 1;
    display: flex;
    justify-content: center;
}

.ranger-main-box {
    border: 3px dashed #3498db;
    border-radius: 20px;
    padding: 30px 25px;
    background: #f8fafb;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    min-width: 220px;
    box-shadow: 0 6px 25px rgba(52, 152, 219, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ranger-main-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(52, 152, 219, 0.25);
}

.green-box {
    border-color: #27ae60;
    background: linear-gradient(135deg, #d5f4e6 0%, #f0fdf4 100%);
}

.green-box:hover {
    box-shadow: 0 12px 35px rgba(39, 174, 96, 0.25);
}

.pink-box {
    border-color: #e91e63;
    background: linear-gradient(135deg, #fce7f3 0%, #fdf2f8 100%);
}

.pink-box:hover {
    box-shadow: 0 12px 35px rgba(233, 30, 99, 0.25);
}

.ranger-main-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ranger-color-name {
    font-size: 1.8rem;
    font-weight: bold;
    color: #2c3e50;
}

.ranger-description {
    font-size: 1.4rem;
    color: #5a6c7d;
    font-weight: 500;
}

.ranger-main-percentage {
    font-size: 3.2rem;
    font-weight: bold;
    color: #e74c3c;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.green-box .ranger-main-percentage {
    color: #27ae60;
}

.pink-box .ranger-main-percentage {
    color: #e91e63;
}

/* 下部セクション：他の色を点線枠ボックスで小さく横並び */
.ranger-bottom-section {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* 小さめボックス用のスタイル */
.ranger-main-box.small-box {
    min-width: 120px;
    padding: 20px 15px;
    border-width: 2px;
}

.small-box .ranger-color-name {
    font-size: 1.4rem;
}

.small-box .ranger-main-percentage {
    font-size: 2rem;
}

/* 各色のボーダー色設定 */
.red-box {
    border-color: #e74c3c;
    background: linear-gradient(135deg, #ffeaea 0%, #fdf2f2 100%);
}

.red-box:hover {
    box-shadow: 0 12px 35px rgba(231, 76, 60, 0.25);
}

.red-box .ranger-main-percentage {
    color: #e74c3c;
}

.yellow-box {
    border-color: #f39c12;
    background: linear-gradient(135deg, #fff8e1 0%, #fffbf0 100%);
}

.yellow-box:hover {
    box-shadow: 0 12px 35px rgba(243, 156, 18, 0.25);
}

.yellow-box .ranger-main-percentage {
    color: #f39c12;
}

.blue-box {
    border-color: #3498db;
    background: linear-gradient(135deg, #e3f2fd 0%, #f0f9ff 100%);
}

.blue-box:hover {
    box-shadow: 0 12px 35px rgba(52, 152, 219, 0.25);
}

.blue-box .ranger-main-percentage {
    color: #3498db;
}

.purple-box {
    border-color: #9b59b6;
    background: linear-gradient(135deg, #f3e5f5 0%, #faf4fb 100%);
}

.purple-box:hover {
    box-shadow: 0 12px 35px rgba(155, 89, 182, 0.25);
}

.purple-box .ranger-main-percentage {
    color: #9b59b6;
}

.black-box {
    border-color: #34495e;
    background: linear-gradient(135deg, #ecf0f1 0%, #f4f6f7 100%);
}

.black-box:hover {
    box-shadow: 0 12px 35px rgba(52, 73, 94, 0.25);
}

.black-box .ranger-main-percentage {
    color: #34495e;
}

/* 4-7. 2x2グリッドレイアウト - 入社理由・出身地・転職してよかったこと・働くモチベーション */
.four-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 30px;
    margin-top: 40px;
    align-items: start;
}

/* 8-9. 2列グリッドレイアウト - 休日の過ごし方・好きなお酒 */
.two-column-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

/* グリッド内の各カード */
.grid-card {
    background: #e9ecef;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    padding: 40px 35px;
    border: 2px solid #dee2e6;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.grid-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18);
}

/* コンパクトカード（入社理由・出身地用） */
.grid-card.compact-card {
    padding: 25px 35px 15px;
    height: auto;
}

.grid-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 30px;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 3px solid #e2e8f0;
    position: relative;
    flex-shrink: 0;
}

/* コンパクトカード内の見出し調整 */
.grid-card.compact-card h3 {
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.grid-card h3::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #3498db;
    border-radius: 1px;
}

/* 入社理由カードのコンテンツレイアウト */
.reason-card-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.reason-card-content .reason-list-comp {
    flex: 1;
}

.reason-card-content .reason-image {
    flex-shrink: 0;
}

/* 4-8. その他のカード - 視覚的階層強化 */
.reason-list-comp, .benefit-list-comp, .motivation-list-comp, .hobby-list-comp {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.reason-item-comp {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border: none;
    background: none;
    box-shadow: none;
}

.benefit-item-comp {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border: none;
    background: none;
    box-shadow: none;
}

.motivation-item-comp, .hobby-item-comp {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border: none;
    background: none;
    box-shadow: none;
}

/* hover効果を削除 */

.reason-rank, .benefit-rank, .motivation-rank, .hobby-rank {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    font-size: 1rem;
    font-weight: 700;
    padding: 10px 15px;
    border-radius: 25px;
    min-width: 60px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.reason-text {
    flex: 1;
    font-size: 1.4rem;
    color: #1a202c;
    font-weight: 500;
    line-height: 1.6;
}

/* 入社理由の順位テキストスタイル */
.reason-card-content .reason-item-comp:nth-child(1) .reason-text,
.reason-card-content .reason-item-comp:nth-child(2) .reason-text,
.reason-card-content .reason-item-comp:nth-child(3) .reason-text,
.reason-card-content .reason-item-comp:nth-child(4) .reason-text {
    font-size: 1.8rem;
    font-weight: 700;
}

.benefit-text {
    flex: 1;
    font-size: 1.8rem;
    color: #1a202c;
    font-weight: 700;
    line-height: 1.6;
}

.motivation-text, .hobby-text {
    flex: 1;
    font-size: 1.8rem;
    color: #1a202c;
    font-weight: 700;
    line-height: 1.6;
}

/* 出身地レイアウト */
.origin-layout-comp {
    display: flex;
    align-items: center;
    gap: 40px;
    justify-content: space-between;
}

.origin-rank-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex: 1;
}

/* 出身地の項目スタイル */
.origin-item-comp {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border: none;
    background: none;
    box-shadow: none;
}

.origin-text {
    flex: 1;
    font-size: 1.8rem;
    color: #1a202c;
    font-weight: 700;
    line-height: 1.6;
}

.rank-number {
    background: #e74c3c;
    color: white;
    font-size: 1.4rem;
    font-weight: bold;
    padding: 6px 10px;
    border-radius: 15px;
    min-width: 40px;
    text-align: center;
}

.rank-place {
    font-size: 1.4rem;
    color: #2c3e50;
    font-weight: 500;
}

.japan-map-comp {
    flex-shrink: 0;
}

/* 転職してよかったこと - ハイライト強化 */
.benefit-highlight {
    background: #ffffff;
    color: #1a202c;
    padding: 30px 25px;
    border-radius: 20px;
    text-align: center;
    margin-top: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 2px solid #e2e8f0;
    width: 100%;
    box-sizing: border-box;
}

.benefit-highlight p {
    margin: 8px 0;
    font-size: 1.4rem;
    font-weight: 500;
    color: #1a202c;
}

.benefit-highlight p:first-child strong {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1a202c;
}

.benefit-highlight p:last-child strong {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1a202c;
    text-shadow: none;
}

/* カードにアイコンを配置するスタイル */
.grid-card.with-icon {
    position: relative;
    overflow: visible;
}

.card-content-wrapper {
    position: relative;
}

.card-main-content {
    width: 100%;
}

.card-side-icon {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 120px;
    height: 120px;
    object-fit: contain;
}

/* games.svgを大きくする */
.grid-card.with-icon img[src*="games.svg"] {
    width: 180px;
    height: 180px;
    right: 15px;
    top: 15px;
}

/* benefit-highlightの幅を元のデザインに戻す */
.grid-card.with-icon .benefit-highlight {
    margin-right: 0;
    width: 100%;
}

/* アルコール統計のスタイル - 3×2グリッドレイアウト */

.alcohol-grid-comp {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
    padding: 10px;
    height: calc(100% - 80px);
}

.alcohol-grid-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 5px 15px;
    background: transparent;
    border-radius: 12px;
    min-height: 140px;
    overflow: hidden;
}

.alcohol-bg-icon {
    position: absolute;
    width: 120px;
    height: 120px;
    opacity: 1;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* batsu.svg以外のアイコンを大きく */
.alcohol-bg-icon[src*="bear.svg"],
.alcohol-bg-icon[src*="cocktail.svg"],
.alcohol-bg-icon[src*="sake.svg"],
.alcohol-bg-icon[src*="sake2.svg"] {
    width: 140px;
    height: 140px;
}

/* bottle.svgは特に大きく */
.alcohol-bg-icon[src*="bottle.svg"] {
    width: 180px;
    height: 180px;
}

/* batsu.svgは元のサイズのまま */
.alcohol-bg-icon[src*="batsu.svg"] {
    width: 100px;
    height: 100px;
}

.alcohol-grid-item .alcohol-name {
    font-size: 1.6rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
    z-index: 2;
    position: relative;
}

.alcohol-grid-item .alcohol-percent {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c3e50;
    z-index: 2;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* 旧スタイル（互換性のため残す） */
.alcohol-stats-comp {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.alcohol-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: white;
    border-radius: 12px;
    border-left: 5px solid #f39c12;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.alcohol-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(243, 156, 18, 0.2);
    border-left-color: #e67e22;
}

.alcohol-name {
    font-size: 1.4rem;
    color: #1a202c;
    font-weight: 600;
}

.alcohol-percent {
    font-size: 1.4rem;
    font-weight: 800;
    color: #e74c3c;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* 3. レンジャー診断 - 新しいレイアウト */
.rangers-layout-new {
    position: relative;
    width: 1000px;
    height: 450px;
    margin: 0 auto;
}

/* 中央のレンジャー画像 */
.ranger-center-image {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.ranger-center-image img {
    width: 300px;
    height: 300px;
    object-fit: contain;
}

/* レンジャーカード共通スタイル */
.ranger-card {
    position: absolute;
    border: 2px dashed;
    border-radius: 12px;
    padding: 8px 22px;
    background: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 200px;
    max-width: 260px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.ranger-color-name {
    font-size: 1.6rem;
    font-weight: bold;
    color: #2c3e50;
}

.ranger-description {
    font-size: 1.4rem;
    color: #5a6c7d;
    font-weight: bold;
    line-height: 1.3;
}

.ranger-percentage {
    font-size: 2rem;
    font-weight: bold;
    margin-top: 2px;
}

/* 配置位置 */
.top-left {
    top: 10px;
    left: 0px;
}

.top-right {
    top: 0px;
    right: 50px;
}

.middle-left {
    top: 65%;
    left: 0px;
    transform: translateY(-50%);
}

.middle-right {
    top: 50%;
    right: 50px;
    transform: translateY(-50%);
}

.bottom-left {
    bottom: 80px;
    left: 10px;
}

.bottom-right {
    bottom: 80px;
    right: 10px;
}

.bottom-center {
    bottom: 10px;
    left: 60%;
    transform: translateX(-50%);
}

.bottom-left-shifted {
    bottom: 50px;
    left: 220px;
    min-width: 260px;
    max-width: 330px;
}

.bottom-right-shifted {
    bottom: 0px;
    right: 50px;
}

/* 黄色・桃カードの縦幅を狭く */
.compact-yellow, .compact-pink {
    padding: 5px 22px;
    gap: 2px;
}

.compact-yellow .ranger-percentage, .compact-pink .ranger-percentage {
    margin-top: 0px;
}

/* 各色のスタイル */
.green-card {
    border-color: #27ae60;
    background: linear-gradient(135deg, #d5f4e6 0%, #f0fdf4 100%);
}

.green-card .ranger-color-name,
.green-card .ranger-description,
.green-card .ranger-percentage {
    color: #27ae60;
}

.pink-card {
    border-color: #e91e63;
    background: linear-gradient(135deg, #fce7f3 0%, #fdf2f8 100%);
}

.pink-card .ranger-color-name,
.pink-card .ranger-description,
.pink-card .ranger-percentage {
    color: #e91e63;
}

.red-card {
    border-color: #e74c3c;
    background: linear-gradient(135deg, #ffeaea 0%, #fdf2f2 100%);
}

.red-card .ranger-color-name,
.red-card .ranger-description,
.red-card .ranger-percentage {
    color: #e74c3c;
}

.yellow-card {
    border-color: #f39c12;
    background: linear-gradient(135deg, #fff8e1 0%, #fffbf0 100%);
}

.yellow-card .ranger-color-name,
.yellow-card .ranger-description,
.yellow-card .ranger-percentage {
    color: #f39c12;
}

.blue-card {
    border-color: #3498db;
    background: linear-gradient(135deg, #e3f2fd 0%, #f0f9ff 100%);
}

.blue-card .ranger-color-name,
.blue-card .ranger-description,
.blue-card .ranger-percentage {
    color: #3498db;
}

.black-card {
    border-color: #34495e;
    background: linear-gradient(135deg, #ecf0f1 0%, #f4f6f7 100%);
}

.black-card .ranger-color-name,
.black-card .ranger-description,
.black-card .ranger-percentage {
    color: #34495e;
}

.white-card {
    border-color: #95a5a6;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.white-card .ranger-color-name,
.white-card .ranger-description,
.white-card .ranger-percentage {
    color: #95a5a6;
}

/* ===========================================
   セクション8 - ⑧.pngモックアップ完全一致実装
   =========================================== */

.episode-section-mockup {
    background-color: #475569;
    padding: 80px 0;
    position: relative;
}

/* エピソードセクション専用の幅広コンテナ */
.episode-section-mockup .container {
    max-width: 1320px !important;
    width: 100% !important;
    padding: 0 20px !important;
}

/* 2つの独立したカード構成 - モックアップ完全準拠 */
.episode-card-mockup {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    max-width: 1235px !important;
    width: 95% !important;
    margin: 40px auto 60px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.episode-card-mockup:last-child {
    margin-bottom: 0;
}

/* タイトルを青い四角形で囲む */
.episode-card-header {
    position: relative;
    margin-top: 0px;
    text-align: center;
    z-index: 20;
    padding-top: 20px;
}

.episode-card-header h2 {
    display: inline-block;
    background-color: #475569;
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    padding: 15px 100px;
    border-radius: 10px;
    letter-spacing: 1px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    min-width: 500px;
    text-align: center;
}

/* 白背景カードボディ - モックアップ準拠サイズ */
.episode-card-body {
    background: #ffffff;
    padding: 80px 80px 100px;
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

/* 中央人物イラスト配置 - モックアップ準拠 */
.episode-center-illustration {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.episode-center-illustration img {
    width: 200px;
    height: auto;
}

/* 円形配置の吹き出しエピソード */
.episode-bubble {
    position: absolute;
    z-index: 5;
}

.bubble-content-mockup {
    background: #E8EBF5;
    padding: 20px 30px;
    font-size: 1.5rem;
    font-weight: 500;
    color: #333333;
    text-align: center;
    line-height: 1.4;
    position: relative;
    white-space: normal;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease-in-out;
}

.bubble-content-mockup:hover {
    background: #d0d2e8;
    transform: scale(1.05);
}

/* 各吹き出しに異なる有機的な形状を適用 */
/* 上部カード用の吹き出し */
.bubble-top-1 .bubble-content-mockup {
    width: 320px;
    height: 140px;
    border-radius: 55% 45% 42% 58% / 60% 58% 42% 40%;
}

.bubble-top-2 .bubble-content-mockup {
    width: 380px;
    height: 130px;
    border-radius: 42% 58% 55% 45% / 50% 48% 52% 50%;
}

.bubble-top-3 .bubble-content-mockup {
    width: 360px;
    height: 150px;
    border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%;
}

.bubble-top-4 .bubble-content-mockup {
    width: 400px;
    height: 160px;
    border-radius: 40% 60% 45% 55% / 65% 50% 55% 40%;
}

.bubble-top-5 .bubble-content-mockup {
    width: 300px;
    height: 145px;
    border-radius: 48% 52% 48% 52% / 55% 45% 55% 45%;
}

.bubble-top-6 .bubble-content-mockup {
    width: 390px;
    height: 155px;
    border-radius: 58% 42% 60% 40% / 45% 55% 45% 55%;
}

.bubble-top-7 .bubble-content-mockup {
    width: 420px;
    height: 120px;
    border-radius: 45% 55% 50% 50% / 48% 52% 48% 52%;
}

/* 下部カード用の吹き出し */
.bubble-bottom-1 .bubble-content-mockup {
    width: 390px;
    height: 130px;
    border-radius: 52% 48% 58% 42% / 55% 45% 60% 40%;
}

.bubble-bottom-2 .bubble-content-mockup {
    width: 350px;
    height: 140px;
    border-radius: 45% 55% 42% 58% / 50% 50% 45% 55%;
}

.bubble-bottom-3 .bubble-content-mockup {
    width: 370px;
    height: 135px;
    border-radius: 60% 40% 55% 45% / 48% 52% 50% 50%;
}

.bubble-bottom-4 .bubble-content-mockup {
    width: 460px;
    height: 115px;
    border-radius: 48% 52% 45% 55% / 58% 42% 55% 45%;
}

.bubble-bottom-5 .bubble-content-mockup {
    width: 420px;
    height: 125px;
    border-radius: 55% 45% 60% 40% / 45% 55% 48% 52%;
}

.bubble-bottom-6 .bubble-content-mockup {
    width: 440px;
    height: 120px;
    border-radius: 42% 58% 48% 52% / 60% 40% 58% 42%;
}

.bubble-bottom-7 .bubble-content-mockup {
    width: 390px;
    height: 130px;
    border-radius: 58% 42% 55% 45% / 52% 48% 45% 55%;
}

.bubble-tail {
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
}

/* 上部カードの円形配置 - カード内に収まる配置 */
.bubble-top-1 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.bubble-top-2 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg) translateY(-350px) rotate(-45deg);
}

.bubble-top-3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(80deg) translateY(-350px) rotate(-80deg);
}

.bubble-top-4 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(120deg) translateY(-350px) rotate(-120deg);
}

.bubble-top-5 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(240deg) translateY(-350px) rotate(-240deg);
}

.bubble-top-6 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(280deg) translateY(-350px) rotate(-280deg);
}

.bubble-top-7 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(315deg) translateY(-350px) rotate(-315deg);
}

/* 下部カードの円形配置 - カード内に収まる配置 */
.bubble-bottom-1 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(25deg) translateY(-350px) rotate(-25deg);
}

.bubble-bottom-2 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(70deg) translateY(-350px) rotate(-70deg);
}

.bubble-bottom-3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(120deg) translateY(-350px) rotate(-120deg);
}

.bubble-bottom-4 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(170deg) translateY(-350px) rotate(-170deg);
}

.bubble-bottom-5 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(240deg) translateY(-350px) rotate(-240deg);
}

.bubble-bottom-6 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(290deg) translateY(-350px) rotate(-290deg);
}

.bubble-bottom-7 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(340deg) translateY(-350px) rotate(-340deg);
}

/* 吹き出しの尻尾を削除（添付デザインには尻尾がない） */
.bubble-tail {
    display: none;
}

/* レスポンシブ対応 - グリッドレイアウト */
@media (max-width: 768px) {
    .four-grid-layout {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 20px;
    }
    
    .two-column-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .grid-card {
        padding: 30px 25px;
    }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .survey-main-title {
        font-size: 1.6rem;
        margin-bottom: 40px;
    }
    
    .survey-card {
        padding: 30px 20px;
        margin-bottom: 30px;
    }
    
    .experience-stats-card {
        flex-direction: column;
        gap: 40px;
    }
    
    .previous-jobs-grid {
        gap: 20px;
    }
    
    .jobs-top-row {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        padding-top: 20px;
    }
    
    .jobs-bottom-row {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        margin-left: 0;
        margin-right: 0;
    }
    
    /* 全職種カード共通モバイルスタイル */
    .job-item-comp.civil-service,
    .job-item-comp.office-worker,
    .job-item-comp.student,
    .job-item-comp.manufacturing,
    .job-item-comp.convenience,
    .job-item-comp.service,
    .job-item-comp.finance {
        width: 120px;
        height: 120px;
    }
    
    .job-item-comp.civil-service img,
    .job-item-comp.office-worker img,
    .job-item-comp.student img,
    .job-item-comp.manufacturing img,
    .job-item-comp.convenience img,
    .job-item-comp.service img,
    .job-item-comp.finance img {
        width: 70px;
        height: 70px;
        top: -18px;
    }
    
    .job-item-comp.civil-service .job-label,
    .job-item-comp.office-worker .job-label,
    .job-item-comp.student .job-label,
    .job-item-comp.manufacturing .job-label,
    .job-item-comp.convenience .job-label,
    .job-item-comp.service .job-label,
    .job-item-comp.finance .job-label {
        font-size: 1.4rem;
        bottom: 20px;
    }
    
    .ranger-top-section {
        flex-direction: column;
        gap: 30px;
    }
    
    .ranger-center-figure img {
        width: 100px;
        height: 100px;
    }
    
    /* stat-content-largeのサイズ調整 */
    .stat-content-large h4 {
        font-size: 1.2rem !important;
    }
    
    /* ranger-cardのサイズ調整 */
    .ranger-card {
        min-width: 120px !important;
        max-width: 160px !important;
        padding: 5px 12px !important;
        font-size: 0.9rem !important;
    }
    
    .ranger-color-name {
        font-size: 1.1rem !important;
    }
    
    .ranger-percentage {
        font-size: 1.2rem !important;
    }
    
    /* 出身地カードのテキストを左寄せ */
    .origin-rank-list {
        align-items: flex-start !important;
        text-align: left !important;
        width: 60% !important;
        padding-left: 0 !important;
        margin-left: 0 !important;
        flex-shrink: 0 !important;
    }
    
    .origin-item-comp {
        align-items: flex-start !important;
        justify-content: flex-start !important;
        text-align: left !important;
        width: 100% !important;
        padding-left: 0 !important;
        margin-left: 0 !important;
    }
    
    .origin-text {
        text-align: left !important;
        display: block !important;
        margin-left: 0 !important;
        padding-left: 0 !important;
    }
    
    /* 出身地カード全体にも左寄せを適用 */
    .grid-card.compact-card {
        align-items: flex-start !important;
    }
    
    /* カードタイトルは中央揃えを維持 */
    .grid-card.compact-card h3 {
        text-align: center !important;
        width: 100% !important;
    }
    
    .origin-layout-comp {
        text-align: left !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
    }
    
    .ranger-main-box {
        min-width: 180px;
        padding: 25px 20px;
    }
    
    .ranger-main-percentage {
        font-size: 2.8rem;
    }
    
    .ranger-bottom-section {
        gap: 15px;
    }
    
    .ranger-small-item {
        min-width: 85px;
        padding: 15px 12px;
    }
    
    .origin-layout-comp {
        flex-direction: row !important;
        gap: 20px;
        align-items: flex-start !important;
        justify-content: space-between !important;
    }
    
    /* 日本地図を右寄せ */
    .japan-map-comp {
        display: flex !important;
        justify-content: flex-end !important;
        align-items: flex-start !important;
        margin-left: auto !important;
        flex-shrink: 0 !important;
    }
    
    .japan-map-comp img {
        margin-left: auto !important;
    }
    
    .hobby-alcohol-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .episode-card-mockup {
        margin-bottom: 40px;
    }
    
    .episode-card-header {
        padding: 15px 10px;
    }
    
    .episode-card-header h2 {
        font-size: 1.4rem;
        padding: 12px 20px; /* 100pxから20pxに縮小 */
        width: calc(100% - 20px); /* 横幅に合わせて調整 */
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* エピソードセクション - モバイル対応 */
    .episode-section-mockup {
        padding: 40px 0;
    }
    
    .episode-card-body {
        position: relative;
        padding: 20px 15px;
        min-height: auto;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: auto auto auto auto;
        gap: 10px 8px;
        align-items: start;
        justify-items: center;
    }
    
    /* SVGを最下段中央に配置 */
    .episode-center-illustration {
        grid-column: 1 / 4 !important;
        grid-row: 4 !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        margin: 10px 0 !important;
        display: flex !important;
        justify-content: center !important;
    }
    
    .episode-center-illustration img {
        width: 80px !important;
        height: 80px !important;
    }
    
    /* 2-3-2配置 */
    .bubble-top-1 { grid-column: 1; grid-row: 1; }
    .bubble-top-2 { grid-column: 3; grid-row: 1; }
    .bubble-top-3 { grid-column: 1; grid-row: 2; }
    .bubble-top-4 { grid-column: 2; grid-row: 2; }
    .bubble-top-5 { grid-column: 3; grid-row: 2; }
    .bubble-top-6 { grid-column: 1; grid-row: 3; }
    .bubble-top-7 { grid-column: 3; grid-row: 3; }
    
    /* 吹き出しを静的配置に変更 */
    .episode-bubble {
        position: relative !important;
        transform: none !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        width: 95%;
        margin: 0;
    }
    
    /* デスクトップ版のスタイルをそのまま使用（50%スケール） */
    .bubble-content-mockup {
        background: #E8EBF5;
        padding: 10px 15px;
        font-size: 0.75rem; /* デスクトップ1.5rem の50% */
        font-weight: 500;
        color: #333333;
        text-align: center;
        line-height: 1.4;
        position: relative;
        white-space: normal;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.3s ease-in-out;
    }
    
    .bubble-content-mockup:hover {
        background: #d0d2e8;
        transform: scale(1.05);
    }
    
    /* デスクトップ版の形状をそのまま使用（50%スケール） */
    .bubble-top-1 .bubble-content-mockup {
        width: 160px; /* 320px の50% */
        height: 70px; /* 140px の50% */
        border-radius: 55% 45% 42% 58% / 60% 58% 42% 40%;
    }
    
    .bubble-top-2 .bubble-content-mockup {
        width: 190px; /* 380px の50% */
        height: 65px; /* 130px の50% */
        border-radius: 42% 58% 55% 45% / 50% 48% 52% 50%;
    }
    
    .bubble-top-3 .bubble-content-mockup {
        width: 180px; /* 360px の50% */
        height: 75px; /* 150px の50% */
        border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%;
    }
    
    .bubble-top-4 .bubble-content-mockup {
        width: 200px; /* 400px の50% */
        height: 80px; /* 160px の50% */
        border-radius: 40% 60% 45% 55% / 65% 50% 55% 40%;
    }
    
    .bubble-top-5 .bubble-content-mockup {
        width: 150px; /* 300px の50% */
        height: 72px; /* 145px の50% */
        border-radius: 48% 52% 48% 52% / 55% 45% 55% 45%;
    }
    
    .bubble-top-6 .bubble-content-mockup {
        width: 195px; /* 390px の50% */
        height: 77px; /* 155px の50% */
        border-radius: 58% 42% 60% 40% / 45% 55% 45% 55%;
    }
    
    .bubble-top-7 .bubble-content-mockup {
        width: 210px; /* 420px の50% */
        height: 60px; /* 120px の50% */
        border-radius: 45% 55% 50% 50% / 48% 52% 48% 52%;
    }
}

/* 590px以下でエピソードタイトルカードの調整 */
@media (max-width: 590px) {
    .episode-card-header h2 {
        min-width: auto !important;
        width: calc(100% - 20px) !important;
        padding: 12px 20px !important;
        font-size: 1.2rem !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 480px) {
    .survey-card-title {
        font-size: 1.5rem;
    }
    
    .percentage-large {
        font-size: 4rem;
    }
    
    .novice-card::before,
    .experienced-card::before {
        width: 80px;
        height: 80px;
        top: -5px;
    }
    
    .novice-card::before {
        right: -5px;
    }
    
    .experienced-card::before {
        left: -5px;
    }
    
    .ranger-percentage-main {
        font-size: 2rem;
    }
    
    .previous-jobs-grid {
        grid-template-columns: 1fr;
    }
    
    .ranger-figures-center {
        gap: 15px;
        padding: 20px;
    }
}


/* ===========================================
   セクション10 - 社内コミュニケーション（⑩.png準拠）
   =========================================== */

.communication-events {
    background: #f8f9fa;
    padding: 80px 0;
    position: relative;
}

.communication-events .container {
    max-width: 1254px;
}

.communication-events h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2a3b56;
    margin-bottom: 60px;
}

.event-section {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 2px solid #e8e9f3;
}

.event-section:last-child {
    margin-bottom: 0;
}

.event-section h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2a3b56;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8e9f3;
}

.event-description {
    color: #4a5568;
    font-size: 1.4rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.event-images {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin-top: 30px;
}

.event-image {
    flex: 1;
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    object-fit: cover;
}

.event-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .communication-events {
        padding: 60px 0;
    }
    
    .communication-events h2 {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .event-section {
        padding: 30px 20px;
        margin-bottom: 40px;
    }
    
    .event-section h3 {
        font-size: 1.5rem;
    }
    
    .event-description {
        font-size: 1.4rem;
    }
    
    .event-images {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 15px;
        justify-items: center;
        align-items: center;
    }
    
    .event-image:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }
    
    .event-image:nth-child(2) {
        grid-column: 2;
        grid-row: 1;
    }
    
    .event-image:nth-child(3) {
        grid-column: 1 / 3;
        grid-row: 2;
        justify-self: center;
    }
    
    .event-image {
        width: 90%;
        max-width: 200px;
        height: auto;
    }
}

/* ===========================================
   セクション11 - 採用フロー（⑪.png準拠）
   =========================================== */

.recruitment-flow-new {
    background: #ffffff;
    padding: 80px 0;
    position: relative;
    margin-bottom: 0 !important;
}

.recruitment-flow-new .container {
    max-width: 950px;
    margin: 0 auto;
}

.recruitment-flow-new h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2a3b56;
    margin-bottom: 40px;
}

.flow-subtitle {
    text-align: center;
    margin-bottom: 60px;
}

.flow-subtitle p {
    color: #4a5568;
    font-size: 1.4rem;
    line-height: 1.6;
    margin-bottom: 8px;
}

.flow-timeline {
    position: relative;
    margin-bottom: 60px;
}

.timeline-step {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

.timeline-step:last-child .timeline-line {
    display: none;
}

.step-left {
    flex-shrink: 0;
    width: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.step-label {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2a3b56;
    margin-bottom: 20px;
    font-style: italic;
}

.step-image-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 3px solid #ffffff;
    position: relative;
    z-index: 2;
}

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

.timeline-line {
    width: 3px;
    height: 80px;
    background: #cbd5e0;
    margin: 0 auto;
    border-radius: 2px;
}

.step-right {
    flex: 1;
    margin-left: 40px;
    padding-top: 20px;
}

.step-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2a3b56;
    margin-bottom: 20px;
}

.step-content-box {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    padding: 25px 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.step-content-box p {
    color: #4a5568;
    font-size: 1.4rem;
    line-height: 1.8;
    margin-bottom: 8px;
}

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

.recruitment-cta-new {
    text-align: center;
    margin-top: 60px;
}

.cta-button-yellow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fbbf24;
    color: #000000;
    font-size: 1.4rem;
    font-weight: 700;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
    min-width: 200px;
}

.cta-button-yellow:hover {
    background: #f59e0b;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.4);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .recruitment-flow-new {
        padding: 60px 0;
    }
    
    .recruitment-flow-new h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .flow-subtitle {
        margin-bottom: 40px;
        padding: 0 20px;
    }
    
    .flow-subtitle p {
        font-size: 14px;
    }
    
    .timeline-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 50px;
    }
    
    .step-left {
        width: auto;
        margin-bottom: 20px;
    }
    
    .step-right {
        margin-left: 0;
        padding-top: 0;
        width: 100%;
    }
    
    .step-image-circle {
        width: 120px;
        height: 120px;
    }
    
    .step-title {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .step-content-box {
        padding: 20px;
        text-align: left;
    }
    
    .timeline-line {
        display: none;
    }
    
    .cta-button-yellow {
        font-size: 1.4rem;
        padding: 16px 35px;
        min-width: 180px;
    }
}

/* ===========================================
   セクション12 - フッター（⑫.png準拠）
   =========================================== */

.footer-section-new {
    background: #2a3b56;
    padding: 0;
    min-height: auto !important;
    display: block;
    margin-top: auto;
    margin-bottom: 0;
    height: auto;
    flex-shrink: 0;
}

.footer-section-new.section {
    min-height: auto !important;
    padding: 0 !important;
    display: block;
    align-items: stretch;
    margin-top: auto !important;
    margin-bottom: 0 !important;
    flex: none;
}

.footer-new {
    color: #ffffff;
    padding: 60px 0 30px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 80px;
    align-items: start;
    position: relative;
    margin-bottom: 60px;
}

.footer-column h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 30px;
    line-height: 1.4;
}

.footer-column p {
    color: #e2e8f0;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 8px;
}

.footer-column p:last-child {
    margin-bottom: 0;
}

.company-details p,
.contact-details p,
.company-info p {
    color: #e2e8f0;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 8px;
}

.footer-link {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-logo-area {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    height: 100%;
}

.footer-logo-new {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
}

.logo-text {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1px;
}

.footer-copyright {
    border-top: 1px solid #475569;
    padding: 30px 0;
    text-align: center;
    margin-bottom: 0;
}

.footer-copyright p {
    color: #cbd5e0;
    font-size: 14px;
    margin: 0;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-logo-area {
        grid-column: 1 / -1;
        justify-content: center;
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .footer-new {
        padding: 40px 0 0;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-column h3 {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }
    
    .footer-column p,
    .company-details p,
    .contact-details p,
    .company-info p {
        font-size: 14px;
    }
    
    .footer-logo-area {
        justify-content: center;
        margin-top: 30px;
    }
    
    .logo-text {
        font-size: 1.6rem;
    }
    
    .footer-copyright {
        padding: 20px 0;
    }
}

/* ===========================================
   セクション6 - ⑥.pngモックアップ完全一致スタイル
   =========================================== */

/* セクション6メインコンテナ - 暗いネイビー背景 */
.stats-mockup-section {
    background: #334155;
    padding: 80px 0;
    min-height: auto;
    position: relative;
}

.stats-mockup-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
    z-index: 0;
}

.stats-mockup-section .container {
    position: relative;
    z-index: 1;
}

.stats-mockup-title {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 60px;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* 2×2+1変則グリッドレイアウト - ⑥.pngモックアップ準拠 */
.stats-grid-mockup {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 30px;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 統計カード - ⑥.pngデザイン完全一致 */
.stat-card-mockup {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* 2×2+1配置のグリッド位置指定 */
.stat-card-mockup:nth-child(1) { grid-column: 1; grid-row: 1; }
.stat-card-mockup:nth-child(2) { grid-column: 2; grid-row: 1; }
.stat-card-mockup:nth-child(3) { grid-column: 3; grid-row: 1; }
.stat-card-mockup:nth-child(4) { grid-column: 1; grid-row: 2; }
.stat-card-mockup:nth-child(5) { grid-column: 2; grid-row: 2; }
.stat-card-mockup:nth-child(6) { grid-column: 3; grid-row: 2; }
.stat-card-mockup:nth-child(7) { grid-column: 1; grid-row: 3; }
.stat-card-mockup:nth-child(8) { grid-column: 3; grid-row: 3; }
.stat-card-mockup:nth-child(9) { grid-column: 2; grid-row: 3; }

/* 右側カード（資格取得者数）を2倍高さに */
.certification-card {
    grid-row: 2 / 4 !important;
    min-height: 600px !important;
    grid-column: 3 !important;
}

.stat-card-mockup:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

/* アイコン部分 */
.stat-icon-mockup {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.stat-icon-mockup img {
    width: 80px;
    height: 80px;
}

/* 数字部分 - 120px大きなフォント */
.stat-number-mockup {
    font-size: 90px;
    font-weight: 900;
    color: #1a202c;
    line-height: 1;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.stat-unit {
    font-size: 45px;
    font-weight: 700;
    color: #4a5568;
}

/* ラベル部分 */
.stat-label-mockup {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2d3748;
    margin-top: 10px;
}

/* レスポンシブ対応 - セクション6 */
@media (max-width: 1024px) {
    .stats-grid-mockup {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .stat-number-mockup {
        font-size: 75px;
    }
    
    .stat-unit {
        font-size: 35px;
    }
}

@media (max-width: 768px) {
    .stats-mockup-section {
        padding: 60px 0;
    }
    
    .stats-mockup-title {
        font-size: 2.2rem;
        margin-bottom: 40px;
    }
    
    .stats-grid-mockup {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    
    .stat-card-mockup {
        padding: 30px 25px;
        min-height: 240px;
    }
    
    .stat-number-mockup {
        font-size: 60px;
    }
    
    .stat-unit {
        font-size: 30px;
    }
    
    .stat-icon-mockup img {
        width: 60px;
        height: 60px;
    }
    
    .stat-label-mockup {
        font-size: 1.4rem;
    }
}

/* 平均残業時間カードの文字間隔調整（重複定義用） */
.overtime-card .stat-number-mockup {
    letter-spacing: -0.05em !important;
}

.overtime-card .stat-unit {
    letter-spacing: -0.05em !important;
    margin-left: 2px !important;
}

/* 上段6カード用グリッド（既存と同じ） */
.stats-grid-top {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

/* 下段3カード用2×2グリッド */
.stats-grid-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 30px;
    max-width: 760px;
    margin: 0 auto;
}

/* 下段カード基本スタイル */
.stat-card-bottom {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(52, 65, 85, 0.1);
}

.stat-card-bottom:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

/* 勤続年数カード（左上） */
.stat-card-bottom.tenure-card {
    grid-column: 1;
    grid-row: 1;
}

/* 研修時間カード（左下） */
.stat-card-bottom.training-card {
    grid-column: 1;
    grid-row: 2;
}

/* 資格取得者数カード（右側2倍高） */
.stat-card-bottom.certification-card {
    grid-column: 2;
    grid-row: 1 / 3;
    min-height: 500px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .stats-grid-top {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
    }
    
    .stats-grid-bottom {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        max-width: 100%;
    }
    
    .stat-card-bottom.tenure-card {
        grid-column: 1;
        grid-row: 1;
    }
    
    .stat-card-bottom.training-card {
        grid-column: 1;
        grid-row: 2;
    }
    
    .stat-card-bottom.certification-card {
        grid-column: 1;
        grid-row: 3;
        min-height: auto;
    }
}

/* 従業員の声セクション - ⑩.pngレイアウト対応 */
.testimonial-section {
    background-color: var(--security-light);
    padding: 80px 0;
}

/* testimonialセクション拡張版の専用スタイル */
.testimonial-wide .container {
    max-width: 1320px !important;
    width: 100% !important;
    padding: 0 20px !important;
}

.testimonial-wide .testimonial-cards {
    max-width: 1300px !important;
    width: 100% !important;
    gap: 60px !important;
}

.testimonial-wide .testimonial-card {
    padding: 60px 80px !important;
    min-height: 250px !important;
}

.testimonial-wide .testimonial-content {
    gap: 60px !important;
}

.testimonial-wide .testimonial-avatar {
    width: 160px !important;
    height: 160px !important;
}

.testimonial-wide .testimonial-profile {
    font-size: 1.6rem !important;
    margin-bottom: 25px !important;
}

.testimonial-wide .testimonial-quote p {
    font-size: 1.4rem !important;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .testimonial-wide .testimonial-card {
        padding: 40px 30px !important;
        min-height: auto !important;
    }
    
    .testimonial-wide .testimonial-content {
        gap: 30px !important;
    }
    
    .testimonial-wide .testimonial-avatar {
        width: 120px !important;
        height: 120px !important;
    }
    
    .testimonial-wide .testimonial-profile {
        font-size: 1.4rem !important;
    }
    
    .testimonial-wide .testimonial-quote p {
        font-size: 1.4rem !important;
    }
    
    .testimonial-wide .testimonial-cards {
        gap: 40px !important;
    }
}

.testimonial-main-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--security-primary);
    margin-bottom: 60px;
}

.testimonial-cards {
    display: flex;
    flex-direction: column;
    gap: 60px;
    max-width: 1300px !important;
    width: 100% !important;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--security-white);
    border-radius: 20px;
    padding: 60px 80px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    min-height: 250px;
}

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

.testimonial-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

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

.testimonial-avatar {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--security-accent);
}

.testimonial-text {
    flex: 1;
}

.testimonial-profile {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--security-primary);
    margin-bottom: 25px;
}

.testimonial-quote {
    margin: 0;
    padding: 0;
    border: none;
}

.testimonial-quote p {
    font-size: 1.4rem;
    line-height: 1.8;
    color: var(--security-text);
    margin: 0;
    text-align: left;
}

@media (max-width: 768px) {
    .testimonial-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .testimonial-avatar {
        width: 120px;
        height: 120px;
    }
    
    .testimonial-main-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .testimonial-card {
        padding: 40px 30px;
        min-height: auto;
    }
    
    .testimonial-cards {
        gap: 40px;
    }
    
    .testimonial-profile {
        font-size: 1.4rem;
    }
    
    .testimonial-quote p {
        font-size: 1.4rem;
    }
}

/* =================================================
   特長セクション（section2）768px以下 - 最終上書き
   ================================================= */

@media (max-width: 768px) {
    /* Gemini推奨：最高詳細度での確実な上書き */
    body section#section2.section.features article.feature-card {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        gap: 20px !important;
        padding: 20px 15px !important;
        margin-bottom: 25px !important;
    }
    
    /* 本文を上に固定 */
    body section#section2.section.features article.feature-card div.feature-content {
        order: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 0 !important;
        flex-shrink: 0 !important;
    }
    
    /* 画像を下に固定 */  
    body section#section2.section.features article.feature-card div.feature-image {
        order: 2 !important;
        width: 100% !important;
        max-width: 300px !important;
        margin: 0 auto !important;
        text-align: center !important;
        flex-shrink: 0 !important;
    }
    
    /* 画像サイズ調整 */
    body section#section2.section.features article.feature-card div.feature-image img {
        width: 100% !important;
        max-width: 250px !important;
        height: auto !important;
        display: block !important;
        margin: 0 auto !important;
    }
}

/* 530px以下で特長セクションの棒線を短く調整 */
@media (max-width: 530px) {
    .feature-content h3::after {
        width: 120px !important;
    }
}

/* 768px以下で募集部門の画像を見出しと本文の間に配置 */
@media (max-width: 768px) {
    /* departmentをflexboxに変更 */
    .department {
        display: flex !important;
        flex-direction: column !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding: 0 15px !important;
    }
    
    /* 見出しを最上位に */
    .department h3 {
        order: 1 !important;
        margin-bottom: 15px !important;
    }
    
    /* 説明文を2番目に */
    .department > p {
        order: 2 !important;
        margin-bottom: 20px !important;
    }
    
    /* 画像用の専用エリアを3番目に作成 */
    .department .cards {
        order: 3 !important;
        display: flex !important;
        flex-direction: column !important;
        margin-bottom: 30px !important;
        gap: 20px !important;
    }
    
    /* 画像カードを最初に表示 */
    .department .cards .card.image-card {
        order: 1 !important;
        align-self: center !important;
        margin: 0 auto 30px auto !important;
        width: auto !important;
        background: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
    }
    
    /* 画像サイズ調整 */
    .department .cards .card.image-card img {
        max-width: 300px !important;
        width: 100% !important;
        height: auto !important;
        border-radius: 8px !important;
    }
    
    /* 他のカードを画像の下に配置 */
    .department .cards .card:not(.image-card) {
        order: 2 !important;
        margin-bottom: 20px !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 20px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    
    /* カード内のテキストの改行を自然にする */
    .department .cards .card ul li {
        word-break: break-word !important;
        line-height: 1.6 !important;
        white-space: normal !important;
        overflow-wrap: break-word !important;
        max-width: 100% !important;
    }
    
    /* タイムライン関連を最後に配置 */
    .department .timeline-tabs {
        order: 4 !important;
    }
    
    .department .timelines {
        order: 5 !important;
    }
    
    /* 募集部門のタイムラインを768px以下で縦並びに変更 */
    .department .timeline {
        grid-template-columns: 1fr !important;
        gap: 5px !important;
    }
    
    /* タイムライン画像を768px以下で本文下に3枚ずつ横並びに配置 */
    .department .timeline .images {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        gap: 10px !important;
        transform: translateY(-35px) !important;
        flex-wrap: nowrap !important;
    }
    
    .department .timeline .images img {
        width: calc(33.33% - 7px) !important;
        max-width: calc(33.33% - 7px) !important;
        height: auto !important;
        border-radius: 8px !important;
        object-fit: cover !important;
    }
    
    /* AndSecurityについてセクション - 768px以下で写真を本文の下に配置 */
    .about-company .company-content {
        flex-direction: column !important;
    }
    
    .about-company .column-text {
        order: 1 !important;
    }
    
    .about-company .column-image {
        order: 2 !important;
    }
    
    /* bottle.svgのサイズを75%に縮小 (180px → 135px) */
    .alcohol-bg-icon[src*="bottle.svg"] {
        width: 135px !important;
        height: 135px !important;
    }
}
