/* ========================================
   サブページ共通スタイル
   recruit.html / recruit_b.html / recruit_c.html
   と統一感を持たせたデザイン
======================================== */

/* ========================================
   ページヒーロー（パララックス）
======================================== */
.page-hero {
    position: relative;
    width: 100%;
    height: 50vh;
    min-height: 380px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-hero--parallax {
    height: 60vh;
    min-height: 450px;
}

.page-hero-bg {
    position: absolute;
    top: -20%;
    left: 0;
    width: 100%;
    height: 140%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    will-change: transform;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
    z-index: 2;
}

.page-hero-inner {
    text-align: center;
    position: relative;
    z-index: 3;
}

.page-hero-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    color: #d61518;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.page-hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 7rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.04em;
    line-height: 1.1;
    margin-bottom: 12px;
    text-shadow: 2px 4px 30px rgba(0,0,0,0.4);
}

.page-hero-sub {
    font-size: 1.5rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.2em;
}

/* スクロールインジケータ */
.page-hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.5);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 0.15em;
}

.page-hero-scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ========================================
   パンくずリスト
======================================== */
.breadcrumb {
    padding: 16px 0;
    background: #f8f8f8;
    border-bottom: 1px solid #eee;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    color: #999;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
}

.breadcrumb-list li::after {
    content: '>';
    margin: 0 10px;
    color: #ccc;
    font-size: 1rem;
}

.breadcrumb-list li:last-child::after {
    display: none;
}

.breadcrumb-list li a {
    color: #666;
    transition: color 0.3s ease;
}

.breadcrumb-list li a:hover {
    color: #d61518;
    opacity: 1;
}

.breadcrumb-list li:last-child {
    color: #333;
    font-weight: 500;
}

/* ========================================
   セクションナビゲーション
======================================== */
.section-nav {
    position: sticky;
    top: 0;
    z-index: 1300;
    background: #1a1a2e;
    border-bottom: none;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.section-nav-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
}

.section-nav-list li {
    position: relative;
}

.section-nav-list li + li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.12);
}

.section-nav-list li a {
    display: block;
    padding: 14px 20px;
    font-size: 1.2rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.05em;
    position: relative;
    transition: color 0.3s ease, background 0.3s ease;
    white-space: nowrap;
}

.section-nav-list li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #d61518;
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.section-nav-list li a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    opacity: 1;
}

.section-nav-list li a:hover::after,
.section-nav-list li a.is-active::after {
    transform: scaleX(1);
}

.section-nav-list li a.is-active {
    color: #fff;
    font-weight: 600;
}

/* ========================================
   サブセクション共通
======================================== */
.sub-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    background: #fff;
}

.sub-section--gray {
    background: #f7f8fa;
}

.sub-section--parallax {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.sub-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

/* パララックス背景 */
.sub-parallax-bg {
    position: absolute;
    top: -20%;
    left: 0;
    width: 100%;
    height: 140%;
    background-size: cover;
    background-position: center;
    z-index: 0;
    will-change: transform;
}

.sub-parallax-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,10,18,0.75) 0%, rgba(10,10,18,0.55) 100%);
    z-index: 1;
}

/* 大きい背景番号（recruit_bスタイル） */
.sub-bg-num {
    font-family: 'Montserrat', sans-serif;
    font-size: 14rem;
    font-weight: 900;
    line-height: 1;
    position: absolute;
    color: rgba(0,0,0,0.03);
    top: -20px;
    right: 40px;
    z-index: 3;
    pointer-events: none;
    user-select: none;
}

.sub-bg-num--light {
    color: rgba(255,255,255,0.12);
}

.sub-bg-text--light {
    color: rgba(255,255,255,0.15) !important;
}

/* 大きい背景テキスト（recruit_cスタイル） */
.sub-bg-text {
    position: absolute;
    font-family: 'Montserrat', sans-serif;
    font-size: 14rem;
    font-weight: 800;
    color: rgba(0,0,0,0.02);
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    z-index: 3;
}

/* セクションタイトル */
.sub-section-header {
    margin-bottom: 50px;
}

.sub-title-en {
    font-family: 'Montserrat', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin-bottom: 4px;
}

.sub-title-ja {
    font-size: 1.5rem;
    font-weight: 400;
    color: #888;
    letter-spacing: 0.1em;
    margin-bottom: 0;
}

.sub-title-line {
    width: 60px;
    height: 3px;
    background: #d61518;
    margin-top: 20px;
}

.sub-title-line--light {
    background: rgba(255,255,255,0.6);
}

.sub-section-header--light .sub-title-en {
    color: #fff;
}

.sub-section-header--light .sub-title-ja {
    color: rgba(255,255,255,0.5);
}

/* 2カラムレイアウト */
.sub-flex {
    display: flex;
    align-items: center;
    gap: 80px;
    position: relative;
    z-index: 1;
}

.sub-col {
    flex: 1;
    min-width: 0;
}

.sub-desc {
    font-size: 1.5rem;
    line-height: 2.2;
    color: #555;
}

/* ========================================
   アニメーション（recruit共通パターン）
======================================== */
.sub-anim-left {
    opacity: 0;
    transform: translateX(-70px);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.sub-anim-left.is-visible { opacity: 1; transform: translateX(0); }

.sub-anim-right {
    opacity: 0;
    transform: translateX(70px);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.sub-anim-right.is-visible { opacity: 1; transform: translateX(0); }

.sub-anim-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.sub-anim-up.is-visible { opacity: 1; transform: translateY(0); }

.sub-anim-fade {
    opacity: 0;
    transition: opacity 1.2s ease;
}
.sub-anim-fade.is-visible { opacity: 1; }

.sub-anim-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.sub-anim-scale.is-visible { opacity: 1; transform: scale(1); }

/* 遅延ユーティリティ */
.sub-delay-1 { transition-delay: 0.15s !important; }
.sub-delay-2 { transition-delay: 0.3s !important; }
.sub-delay-3 { transition-delay: 0.45s !important; }
.sub-delay-4 { transition-delay: 0.6s !important; }

/* ========================================
   ごあいさつページ
======================================== */
.greeting-flex {
    align-items: flex-start;
    gap: 60px;
}

.greeting-photo-col {
    flex: 0 0 380px;
}

.greeting-photo-wrap {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    position: relative;
}

/* 画像にアクセントバー（recruit_b共通） */
.greeting-photo-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #d61518, #e8453c);
    z-index: 2;
}

.greeting-photo-wrap img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: center 15%;
    display: block;
    transition: transform 0.8s ease;
}

.greeting-photo-wrap:hover img {
    transform: scale(1.03);
}

.greeting-sign {
    margin-top: 30px;
    text-align: center;
}

.greeting-sign-title {
    font-size: 1.2rem;
    color: #888;
    letter-spacing: 0.15em;
    margin-bottom: 6px;
}

.greeting-sign-name {
    font-size: 3rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.15em;
}

.greeting-text-col {
    flex: 1;
}

.greeting-body {
    font-size: 1.5rem;
    line-height: 2.2;
    color: #444;
}

.greeting-body p {
    margin-bottom: 24px;
}

.greeting-body p:last-child {
    margin-bottom: 0;
}

/* ========================================
   プロフィール - 経営理念
======================================== */
.philosophy-hero-text {
    text-align: center;
    padding: 30px 0 50px;
    position: relative;
}

.philosophy-hero-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 1px;
    background: #ddd;
}

.philosophy-main {
    font-size: 2.6rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.8;
    letter-spacing: 0.08em;
}

.philosophy-vision {
    text-align: center;
    padding-top: 50px;
}

.philosophy-vision-divider {
    font-size: 1.4rem;
    color: #d61518;
    margin-bottom: 16px;
}

.philosophy-vision-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}

.philosophy-vision-desc {
    font-size: 1.4rem;
    line-height: 2.2;
    color: #666;
}

/* 社長現場訓カード */
.kunrei-card {
    max-width: 700px;
    margin: 60px auto 0;
    padding: 50px 40px;
    background: #f7f8fa;
    border-radius: 16px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid #eee;
}

.kunrei-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #d61518, #e8453c);
}

.kunrei-card-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.1em;
    margin-bottom: 28px;
}

.kunrei-card-list {
    text-align: left;
    max-width: 520px;
    margin: 0 auto 24px;
}

.kunrei-card-list li {
    font-size: 1.5rem;
    line-height: 2.2;
    color: #333;
    letter-spacing: 0.03em;
    padding-left: 20px;
    position: relative;
}

.kunrei-card-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d61518;
}

.kunrei-card-footer {
    font-size: 1.3rem;
    line-height: 2;
    color: #888;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

/* ========================================
   プロフィール - 経営方針（パララックス）
======================================== */
.policy-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.policy-content p {
    font-size: 1.8rem;
    line-height: 2.2;
    color: rgba(255,255,255,0.9);
    font-weight: 400;
    letter-spacing: 0.04em;
}

/* ========================================
   プロフィール - CSR
======================================== */
.csr-circles-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.csr-circle-row {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.csr-circle {
    position: relative;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
    cursor: default;
}

.csr-circle:hover {
    transform: scale(1.1) translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.csr-circle--teal {
    background: linear-gradient(135deg, #5ba4a4, #4a9090);
    --csr-stroke: #5ba4a4;
}

.csr-circle--green {
    background: linear-gradient(135deg, #7cb342, #689f38);
    --csr-stroke: #7cb342;
}

.csr-circle--purple {
    background: linear-gradient(135deg, #ab6fb5, #9c5fa6);
    --csr-stroke: #ab6fb5;
}

.csr-circle--orange {
    background: linear-gradient(135deg, #e8a735, #d4952a);
    --csr-stroke: #e8a735;
}

/* 4つのCSR方針 - 円を囲む罫線アニメーション */
.csr-circle-border {
    position: absolute;
    top: -6px;
    left: -6px;
    width: calc(100% + 12px);
    height: calc(100% + 12px);
    pointer-events: none;
    overflow: visible;
}

.csr-circle-border circle {
    fill: none;
    stroke: var(--csr-stroke, #5ba4a4);
    stroke-width: 3;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
    /* 円周 = 2 * π * 74 ≈ 465 */
    stroke-dasharray: 465;
    stroke-dashoffset: 465;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
    transition: stroke-dashoffset 1.6s cubic-bezier(0.22, 1, 0.36, 1);
    opacity: 0.85;
    filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.1));
}

.csr-circle.is-visible .csr-circle-border circle {
    stroke-dashoffset: 0;
}

/* 各円のディレイに合わせて線の描画もずらす */
.csr-circle.sub-delay-1.is-visible .csr-circle-border circle { transition-delay: 0.2s; }
.csr-circle.sub-delay-2.is-visible .csr-circle-border circle { transition-delay: 0.4s; }
.csr-circle.sub-delay-3.is-visible .csr-circle-border circle { transition-delay: 0.6s; }
.csr-circle.sub-delay-4.is-visible .csr-circle-border circle { transition-delay: 0.8s; }

.csr-center-label {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
    letter-spacing: 0.1em;
}

/* ========================================
   プロフィール - ISO情報
======================================== */
.iso-intro {
    text-align: center;
    margin-bottom: 60px;
}

.iso-intro p {
    font-size: 1.5rem;
    line-height: 2.2;
    color: #555;
}

.iso-quality {
    text-align: center;
    margin-bottom: 50px;
    padding: 40px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
}

.iso-quality-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.iso-quality-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: #d61518;
}

.iso-quality-text {
    font-size: 1.5rem;
    line-height: 2;
    color: #444;
    margin-top: 20px;
    margin-bottom: 12px;
}

.iso-quality-reg {
    font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
    font-size: 1.4rem;
    color: #888;
    letter-spacing: 0.1em;
}

/* 認証書カードグリッド */
.iso-certs-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 60px;
}

.iso-cert-card {
    text-align: center;
}

.iso-cert-card-img {
    width: 220px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    background: #fff;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.iso-cert-card-img:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.15);
}

.iso-cert-card-img img {
    width: 100%;
    height: auto;
    display: block;
}

/* ライトボックストリガー */
.lightbox-trigger {
    display: block;
    cursor: zoom-in;
    text-decoration: none;
}

.lightbox-trigger:hover {
    opacity: 1;
}

/* ========================================
   ライトボックス
======================================== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    cursor: zoom-out;
}

.lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
}

.lightbox-content img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 10px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.lightbox.is-open .lightbox-content img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: none;
    border: none;
    color: #fff;
    font-size: 3.6rem;
    font-weight: 300;
    cursor: pointer;
    z-index: 10001;
    line-height: 1;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.7;
}

.lightbox-close:hover {
    transform: rotate(90deg);
    opacity: 1;
}

/* 認証取得組織 */
.iso-org {
    margin-top: 20px;
}

.iso-org-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
    text-align: center;
}

.iso-table-wrapper {
    overflow-x: auto;
}

.iso-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.4rem;
    text-align: left;
    border-radius: 8px;
    overflow: hidden;
}

.iso-table thead th {
    background: #1a1a2e;
    color: #fff;
    font-weight: 500;
    padding: 16px 24px;
    white-space: nowrap;
    letter-spacing: 0.05em;
}

.iso-table tbody td {
    padding: 18px 24px;
    border-bottom: 1px solid #e0e0e0;
    color: #444;
    vertical-align: top;
    line-height: 1.7;
    background: #fff;
}

.iso-table tbody tr:hover td {
    background: #fafafa;
}

/* ========================================
   会社概要・アクセス 情報テーブル
======================================== */
.info-table-wrapper {
    overflow-x: auto;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.4rem;
}

.info-table th,
.info-table td {
    padding: 18px 24px;
    border-bottom: 1px solid #e0e0e0;
    vertical-align: top;
    line-height: 1.8;
    text-align: left;
}

.info-table th {
    width: 200px;
    font-weight: 600;
    color: #1a1a1a;
    background: #f7f8fa;
    white-space: nowrap;
}

.info-table td {
    color: #444;
}

.info-table tbody tr:hover td,
.info-table tbody tr:hover th {
    background: #f0f4ff;
}

/* 役員一覧（会社概要内のネストテーブル） */
.officer-table {
    width: 100%;
    border-collapse: collapse;
}

.officer-table tr + tr td {
    padding-top: 16px;
}

.officer-table td {
    padding: 0;
    border: none;
    font-size: 1.4rem;
    line-height: 1.8;
    color: #444;
    background: transparent;
    vertical-align: top;
}

.officer-table td:first-child {
    width: 240px;
    padding-right: 20px;
}

.info-table--compact th,
.info-table--compact td {
    padding: 12px 16px;
    text-align: center;
    font-size: 1.3rem;
}

.info-table--compact thead th {
    background: #1a1a2e;
    color: #fff;
    font-weight: 500;
}

/* ========================================
   組織図
======================================== */
.org-chart {
    text-align: center;
}

.org-chart img {
    max-width: 100%;
    height: auto;
}

.org-chart-sp {
    display: none;
}

/* ========================================
   有資格者数
======================================== */
.qual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 40px;
}

.qual-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #e0e0e0;
}

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

.qual-num {
    font-size: 1.4rem;
    color: #555;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .qual-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* ========================================
   沿革タイムライン
======================================== */
.history-timeline {
    position: relative;
    padding-left: 180px;
}

.history-timeline::before {
    content: '';
    position: absolute;
    left: 156px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #d61518, #e8453c 30%, #e0e0e0 30%);
}

.history-item {
    display: flex;
    align-items: flex-start;
    padding: 20px 0;
    position: relative;
}

.history-item::before {
    content: '';
    position: absolute;
    left: -25px;
    top: 24px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d61518;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px #d61518;
    z-index: 1;
}

.history-year {
    position: absolute;
    left: -180px;
    width: 140px;
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    text-align: right;
    padding-right: 40px;
}

.history-text {
    font-size: 1.4rem;
    line-height: 1.9;
    color: #555;
    padding-left: 20px;
}

/* ========================================
   アクセス
======================================== */
.access-note {
    font-size: 1.3rem;
    color: #888;
    margin-bottom: 20px;
}

.access-map {
    margin-top: 40px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.access-map iframe {
    display: block;
    border-radius: 8px;
}

.access-transport {
    margin-top: 20px;
}

.access-transport p {
    font-size: 1.3rem;
    line-height: 2;
    color: #555;
}

/* ========================================
   労働者派遣法・女性活躍
======================================== */
.dispatch-block {
    max-width: 900px;
    margin: 0 auto;
}

.dispatch-period {
    font-size: 1.4rem;
    color: #d61518;
    font-weight: 600;
    margin-bottom: 30px;
    padding: 12px 20px;
    background: rgba(214, 21, 24, 0.06);
    border-left: 4px solid #d61518;
    border-radius: 0 4px 4px 0;
}

.dispatch-note {
    font-size: 1.4rem;
    color: #666;
    margin: 20px 0;
    padding: 12px 0;
    border-top: 1px solid #eee;
}

.dispatch-sub-section {
    margin-top: 40px;
}

.dispatch-sub-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.05em;
    padding-bottom: 10px;
    border-bottom: 2px solid #d61518;
    margin-bottom: 16px;
    display: inline-block;
}

.dispatch-sub-section p {
    font-size: 1.4rem;
    line-height: 2;
    color: #555;
}

.dispatch-list {
    padding-left: 0;
}

.dispatch-list li {
    font-size: 1.4rem;
    line-height: 2;
    color: #555;
    padding-left: 20px;
    position: relative;
}

.dispatch-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d61518;
}

/* ========================================
   女性活躍行動計画
======================================== */
.womenplan-intro {
    text-align: center;
    font-size: 1.4rem;
    line-height: 2;
    color: #555;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
}

/* ========================================
   決算公告リスト
======================================== */
.financial-list {
    max-width: 900px;
    margin: 0 auto;
}

.financial-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
}

.financial-label {
    font-size: 1.4rem;
    color: #333;
}

.financial-link {
    font-size: 1.3rem;
    font-weight: 600;
    color: #d61518;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: opacity 0.3s ease;
}

.financial-link:hover {
    opacity: 0.7;
}

/* ========================================
   レスポンシブ
======================================== */
@media (max-width: 1024px) {
    .page-hero-title {
        font-size: 5.4rem;
    }

    .sub-flex {
        flex-direction: column;
        gap: 50px;
    }

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

    .greeting-photo-col {
        flex: none;
        width: 100%;
        max-width: 400px;
    }

    .sub-bg-num {
        font-size: 10rem;
    }

    .sub-bg-text {
        font-size: 10rem;
    }
}

@media (max-width: 768px) {
    .page-hero--parallax {
        height: 50vh;
        min-height: 350px;
    }

    .page-hero-title {
        font-size: 4.2rem;
    }

    .page-hero-label {
        font-size: 1.1rem;
    }

    .section-nav {
        top: 0;
    }

    .section-nav-list li a {
        padding: 12px 14px;
        font-size: 1.1rem;
    }

    .sub-section {
        padding: 80px 0;
    }

    .sub-container {
        padding: 0 20px;
    }

    .sub-title-en {
        font-size: 3rem;
    }

    .sub-bg-num {
        font-size: 8rem;
        right: 20px;
    }

    .sub-bg-text {
        font-size: 6rem;
    }

    .greeting-photo-col {
        max-width: 320px;
    }

    .greeting-photo-wrap img {
        height: 400px;
    }

    .greeting-sign-name {
        font-size: 2.4rem;
    }

    .philosophy-main {
        font-size: 2rem;
    }

    .philosophy-main br,
    .philosophy-vision-desc br,
    .policy-content p br,
    .iso-intro p br {
        display: none;
    }

    .policy-content p {
        font-size: 1.5rem;
    }

    .kunrei-card {
        padding: 36px 24px;
    }

    .csr-circle {
        width: 120px;
        height: 120px;
        font-size: 1.3rem;
    }

    .iso-certs-grid {
        gap: 20px;
    }

    .iso-cert-card-img {
        width: 160px;
    }

    .iso-table thead th,
    .iso-table tbody td {
        padding: 12px 14px;
        font-size: 1.2rem;
    }

    /* 会社概要テーブル */
    .info-table th {
        width: 120px;
        padding: 12px 14px;
        font-size: 1.2rem;
    }

    .info-table td {
        padding: 12px 14px;
        font-size: 1.2rem;
    }

    /* 組織図 */
    .org-chart-pc {
        display: none;
    }

    .org-chart-sp {
        display: block;
    }


    /* 沿革 */
    .history-timeline {
        padding-left: 100px;
    }

    .history-timeline::before {
        left: 80px;
    }

    .history-year {
        left: -100px;
        width: 70px;
        font-size: 1.5rem;
        padding-right: 20px;
    }

    .history-item::before {
        left: -21px;
        width: 8px;
        height: 8px;
    }

    .history-text {
        font-size: 1.3rem;
        padding-left: 14px;
    }

    /* モバイルでスクロールバー非表示 */
    .section-nav-list {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .section-nav-list::-webkit-scrollbar {
        display: none;
    }
}

@media (max-width: 480px) {
    .page-hero--parallax {
        height: 40vh;
        min-height: 280px;
    }

    .page-hero-title {
        font-size: 3.4rem;
    }

    .page-hero-scroll {
        display: none;
    }

    .sub-section {
        padding: 60px 0;
    }

    .philosophy-main {
        font-size: 1.7rem;
    }

    .csr-circle {
        width: 100px;
        height: 100px;
        font-size: 1.1rem;
    }

    .iso-cert-card-img {
        width: 130px;
    }

    .sub-bg-num {
        font-size: 6rem;
    }
}
