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

/* ========================================
   ページヒーロー（パララックス）
======================================== */
/* ページヒーロー (コンパクト2カラム対応) */
.page-hero {
    position: relative;
    width: 100%;
    padding: 100px 40px 24px; /* コンパクト: 上は固定ヘッダー分のみ */
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    overflow: hidden;
}

.page-hero::before {
    /* 左下の赤いアクセント線 */
    content: '';
    position: absolute;
    bottom: 0;
    left: 40px;
    width: 60px;
    height: 3px;
    background: #e94829;
}

.page-hero--parallax {
    /* 旧パララックス用スタイルは無効化 */
}

.page-hero-bg,
.page-hero-overlay,
.page-hero-scroll {
    display: none;
}

.page-hero-inner {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 40px;
    position: relative;
    z-index: 1;
}

/* 左: 親カテゴリ (Recruit/Profile など) */
.page-hero-main {
    text-align: left;
    flex-shrink: 0;
}

/* ENショルダー (小・赤) */
.page-hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #e94829;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    line-height: 1;
    margin: 0 0 2px;
    text-shadow: none;
}

/* JPメインラベル (中・濃色) */
.page-hero-sub {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.08em;
    line-height: 1.1;
    text-shadow: none;
    margin: 0;
}

/* 右: 現在ページ (サブページのみ使用) */
.page-hero-current {
    text-align: right;
    flex-shrink: 0;
}
.page-hero-current-en {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.04em;
    line-height: 1.1;
    margin: 0 0 2px;
}
.page-hero-current-ja {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.4rem;
    font-weight: 500;
    color: #555;
    letter-spacing: 0.1em;
    margin: 0;
}

/* ========================================
   パンくずリスト
======================================== */
.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: #e94829;
    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: #e94829;
    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: #e94829;
    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, #e94829, #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: #e94829;
    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, #e94829, #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: #e94829;
}

.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: #e94829;
}

.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: #e94829;
}

.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: #e94829;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px #e94829;
    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: #e94829;
    font-weight: 600;
    margin-bottom: 30px;
    padding: 12px 20px;
    background: rgba(214, 21, 24, 0.06);
    border-left: 4px solid #e94829;
    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 #e94829;
    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: #e94829;
}

/* ========================================
   女性活躍行動計画
======================================== */
.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;
}

/* 目標と取組内容 — 箇条書きマーク + 目標1/2 の間隔 */
#womenplan .info-table td ul {
    list-style: disc;
    padding-left: 1.5em;
    margin: 0.5em 0 1em;
}
#womenplan .info-table td ul li {
    list-style: disc;
    line-height: 1.6;
    margin-bottom: 0.3em;
}
#womenplan .info-table td ul + p {
    margin-top: 1.5em;
}

/* ========================================
   決算公告リスト
======================================== */
.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: #e94829;
    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) {
    .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) {
    .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) {
    .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;
    }
}
/* ========================================
   拠点一覧（page-map.php）
   sub.css の末尾に追記
======================================== */

.branch-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.branch-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.branch-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.branch-card-header {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
        "name   toggle"
        "info   toggle";
    gap: 8px 24px;
    padding: 24px 28px;
    align-items: center;
}

.branch-name {
    grid-area: name;
    margin: 0;
    font-size: 1.6rem;
    font-weight: 700;
    color: #1b1b18;
    letter-spacing: 0.04em;
}

.branch-info {
    grid-area: info;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 32px;
    margin: 0;
    font-size: 1.3rem;
    line-height: 1.6;
    color: #444;
}

.branch-info-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 0;
}

.branch-info-row dt {
    flex-shrink: 0;
    min-width: 40px;
    font-weight: 600;
    color: #888;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
}

.branch-info-row dd {
    margin: 0;
    color: #333;
}

.branch-info-row dd a {
    color: inherit;
    text-decoration: none;
}

.branch-info-row dd a:hover {
    color: #e94829;
}

.branch-toggle {
    grid-area: toggle;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #e94829;
    border: 1px solid #e94829;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    white-space: nowrap;
}

.branch-toggle:hover {
    background: #4d4946;
    border-color: #4d4946;
}

.branch-toggle-icon {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translate(-2px, -2px);
    transition: transform 0.3s ease;
}

.branch-card.is-open .branch-toggle-icon {
    transform: rotate(-135deg) translate(-2px, -2px);
}

.branch-card.is-open .branch-toggle-label::after {
    content: attr(data-open-label);
}

.branch-detail {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    border-top: 1px solid transparent;
}

.branch-card.is-open .branch-detail {
    max-height: 1200px;
    border-top-color: #e5e5e5;
}

.branch-detail-inner {
    padding: 28px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 28px;
    background: #fafafa;
}

.branch-map {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #eee;
}

.branch-map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.branch-detail-block + .branch-detail-block {
    margin-top: 20px;
}

.branch-detail-title {
    margin: 0 0 8px;
    padding-bottom: 6px;
    border-bottom: 2px solid #1b1b18;
    font-size: 1.3rem;
    font-weight: 700;
    color: #1b1b18;
    letter-spacing: 0.05em;
}

.branch-detail-block p,
.branch-access {
    margin: 0;
    font-size: 1.3rem;
    line-height: 1.8;
    color: #333;
}

.branch-access p {
    margin: 0 0 0.5em;
}

.branch-access p:last-child {
    margin-bottom: 0;
}

/* レスポンシブ（768px以下） */
@media (max-width: 768px) {
    .branch-card-header {
        grid-template-columns: 1fr;
        grid-template-areas:
            "name"
            "info"
            "toggle";
        padding: 20px;
    }

    .branch-info {
        flex-direction: column;
        gap: 6px;
    }

    .branch-toggle {
        justify-self: start;
        margin-top: 8px;
    }

    .branch-detail-inner {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 20px;
    }
}

/* ========================================
   表彰実績一覧（page-awards.php）
======================================== */

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

.awards-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.awards-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

/* 画像エリア */
.awards-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f5f5f5;
}

.awards-card-image a {
    display: block;
    width: 100%;
    height: 100%;
    cursor: zoom-in;
}

.awards-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.awards-card-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #bbb;
    font-size: 1.3rem;
    letter-spacing: 0.1em;
    font-family: 'Montserrat', sans-serif;
}

/* 種別ラベル (画像右上オーバーレイ) */
.awards-label {
    position: absolute;
    top: 14px;
    right: 14px;
    display: inline-block;
    padding: 6px 14px;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #fff;
    background: #1bb8ce;
    border-radius: 2px;
    white-space: nowrap;
    z-index: 2;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.awards-label--commendation { background: #e94829; } /* TODA RED — 表彰状 */
.awards-label--syojo        { background: #1bb8ce; } /* TODA BLUE — 賞状 */
.awards-label--kansyajo     { background: #4d4946; } /* TODA GRAY — 感謝状 */

/* 拡大アイコン (ホバーで表示) */
.awards-card-zoom {
    position: absolute;
    bottom: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #333;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 2;
    pointer-events: none;
}

.awards-card:hover .awards-card-zoom {
    opacity: 1;
    transform: scale(1);
}

/* カード本体 */
.awards-card-body {
    padding: 22px 22px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.awards-card-date {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    color: #4d4946;
    line-height: 1;
    letter-spacing: 0.02em;
}

.awards-card-date-year {
    font-size: 2.4rem;
    font-weight: 700;
}

.awards-card-date-sub {
    font-size: 1.3rem;
    font-weight: 500;
    color: #888;
    margin-left: 4px;
}

.awards-card-commendator {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.4;
}

.awards-card-title {
    margin: 0;
    padding-top: 10px;
    border-top: 1px dashed #ddd;
    font-size: 1.3rem;
    font-weight: 400;
    color: #555;
    line-height: 1.6;
    margin-top: auto;
}

/* レスポンシブ */
@media (max-width: 960px) {
    .awards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .awards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .awards-card-body {
        padding: 18px 18px 20px;
    }
}

/* ========================================
   動画バナーギャラリー (採用TOP 先輩インタビュー下)
   カルーセル .rec-story-card と揃えた角丸10px + ドロップシャドウ
======================================== */
.rec-video-gallery {
    padding: 30px 20px 0;
}
.rec-video-gallery .container {
    max-width: 1240px;
    margin: 0 auto;
}
.rec-video-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.rec-video-item {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.rec-video-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}
.rec-video-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.rec-video-item:hover img {
    transform: scale(1.04);
}

/* 動画バナーのシャッター色: RED / BLUE / RED の交互パターン */
.rec-video-gallery-grid > .rec-video-item:nth-child(odd).anim-shutter::before {
    background: #e94829; /* TODA RED (1, 3番目) */
}
.rec-video-gallery-grid > .rec-video-item:nth-child(even).anim-shutter::before {
    background: #1bb8ce; /* TODA BLUE (2番目) */
}

/* シャッターアニメーションに delay を適用 */
.rec-video-item.anim-shutter.delay-1.is-visible::before {
    animation-delay: 0.15s, 0.95s;
}
.rec-video-item.anim-shutter.delay-2.is-visible::before {
    animation-delay: 0.3s, 1.1s;
}

@media (max-width: 768px) {
    .rec-video-gallery-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

/* ライトボックス動画モード用 */
.lightbox-content--video {
    width: min(92vw, 1100px) !important;
    max-width: none !important;
    max-height: none !important;
}
.lightbox-video-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}
.lightbox-video-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ========================================
   各種人材育成制度 (page-education.php)
======================================== */

/* 導入セクション (ロードマップ含む) */
.edu-intro-section {
    padding: 70px 40px;
    background: linear-gradient(135deg, #f7f8fa 0%, #fff 100%);
}
.edu-intro-wrap {
    max-width: 1100px;
    margin: 0 auto;
}
.edu-intro-lead {
    font-size: 1.55rem;
    line-height: 2;
    color: #444;
    margin-bottom: 50px;
}

/* 共通見出し (左にアクセントバー) */
.edu-heading {
    font-size: 2.4rem;
    font-weight: 700;
    color: #1a1a1a;
    padding: 0 0 14px 18px;
    margin: 0 0 28px;
    border-bottom: 2px solid #e5e5e5;
    position: relative;
    letter-spacing: 0.04em;
}
.edu-heading::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 24px;
    background: #e94829;
    border-radius: 2px;
}

/* 研修ロードマップ カード */
.training-chart {
    position: relative;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 40px 36px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
}
.training-chart-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #1bb8ce;
    letter-spacing: 0.15em;
    margin-bottom: 6px;
}
.training-chart-subtitle {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 32px;
}

/* ガントチャート */
.timeline {
    --label-col: 180px;
    --track-col: 1fr;
    display: block;
}
.timeline-row {
    display: grid;
    grid-template-columns: var(--label-col) var(--track-col);
    align-items: center;
    gap: 16px;
    min-height: 44px;
    padding: 4px 0;
}
.timeline-row + .timeline-row {
    border-top: 1px dashed #eee;
}

.timeline-label {
    font-size: 1.35rem;
    font-weight: 600;
    color: #1a1a1a;
    padding-right: 8px;
}
.timeline-label small {
    display: block;
    font-size: 1.05rem;
    font-weight: 400;
    color: #888;
    margin-top: 2px;
}

.timeline-track {
    position: relative;
    height: 32px;
    background: #fafafa;
    border-radius: 4px;
}

.timeline-axis {
    border-top: none !important;
    padding-bottom: 10px;
    align-items: flex-end;
}
.timeline-axis .timeline-track {
    height: auto;
    background: none;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #888;
    text-align: center;
}
.timeline-axis .timeline-track span {
    border-left: 1px solid #eee;
    padding: 4px 2px;
}
.timeline-axis .timeline-track span:first-child {
    border-left: none;
}

.timeline-grid-bg {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    pointer-events: none;
}
.timeline-grid-bg span {
    border-left: 1px dashed #f0f0f0;
}
.timeline-grid-bg span:first-child {
    border-left: none;
}

.timeline-bar {
    position: absolute;
    top: 4px;
    bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    border-radius: 4px;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}
.timeline-bar--lv1 { background: linear-gradient(90deg, #fbc4b7, #f59580); }
.timeline-bar--lv2 { background: linear-gradient(90deg, #f59580, #ee6a4d); }
.timeline-bar--lv3 { background: linear-gradient(90deg, #ee6a4d, #e94829); }
.timeline-bar--lv4 { background: linear-gradient(90deg, #e94829, #c93b21); }
.timeline-bar--continuous { background: linear-gradient(90deg, #1bb8ce, #17a5b8); opacity: 0.9; }

.timeline-note {
    margin-top: 16px;
    font-size: 1.2rem;
    color: #888;
    line-height: 1.6;
}

/* 各研修セクションの詳細 */
.edu-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 40px;
}
.edu-section {
    margin-bottom: 90px;
}
.edu-section:last-child {
    margin-bottom: 0;
}
.edu-section p {
    margin-bottom: 1em;
    font-size: 1.5rem;
    line-height: 1.9;
    color: #444;
}

.edu-flex {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}
.edu-flex p {
    flex: 1;
    margin-bottom: 0;
}
.edu-flex .edu-imgs {
    flex-shrink: 0;
    width: 40%;
    display: flex;
    gap: 10px;
}
.edu-flex .edu-imgs img {
    flex: 1 1 0;
    min-width: 0;
    max-width: 100%;
    width: auto;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    object-fit: cover;
}
.edu-flex.single .edu-imgs {
    width: 30%;
}

/* その他の育成制度カード */
.edu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.edu-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 26px 28px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.edu-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}
.edu-card h3 {
    font-size: 1.7rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e94829;
    display: inline-block;
}
.edu-card p {
    margin: 0;
    font-size: 1.4rem;
    line-height: 1.85;
    color: #555;
}

/* レスポンシブ */
@media (max-width: 1024px) {
    .edu-wrap { padding: 60px 28px; }
    .edu-intro-section { padding: 50px 28px; }
    .training-chart { padding: 32px 24px; }
    .timeline { --label-col: 150px; }
    .timeline-label { font-size: 1.25rem; }
    .timeline-label small { font-size: 1rem; }
    .timeline-bar { font-size: 1.05rem; padding: 0 6px; }
}

@media (max-width: 768px) {
    .edu-wrap { padding: 50px 20px; }
    .edu-intro-section { padding: 40px 20px; }
    .edu-section { margin-bottom: 60px; }
    .edu-heading { font-size: 2rem; }
    .edu-flex { flex-direction: column; }
    .edu-flex .edu-imgs { width: 100%; max-width: 400px; }
    .edu-grid { grid-template-columns: 1fr; }
    .training-chart { padding: 24px 16px; }
    .training-chart-subtitle { font-size: 1.5rem; }
    .timeline {
        --label-col: 110px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .timeline-row { min-width: 520px; gap: 12px; }
    .timeline-label { font-size: 1.1rem; white-space: normal; }
    .timeline-label small { font-size: 0.95rem; }
    .timeline-bar { font-size: 0.95rem; padding: 0 4px; }
    .timeline-axis .timeline-track { font-size: 0.95rem; }
    .timeline-note { font-size: 1.1rem; line-height: 1.5; }
}

@media (max-width: 480px) {
    .edu-heading { font-size: 1.8rem; padding-left: 14px; }
    .edu-heading::before { height: 20px; }
    .training-chart-subtitle { font-size: 1.35rem; }
    .timeline { --label-col: 95px; }
    .timeline-row { min-width: 480px; }
}

/* ========================================
   新卒 / キャリア採用情報 共通スタイル
   (page-new_graduate.php / page-career.php)
======================================== */

/* 共通見出し */
.ng-heading {
    font-size: 2.4rem;
    font-weight: 700;
    color: #1a1a1a;
    padding: 0 0 14px 18px;
    margin: 0 0 28px;
    border-bottom: 2px solid #e5e5e5;
    position: relative;
    letter-spacing: 0.04em;
}
.ng-heading::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 24px;
    background: #e94829;
    border-radius: 2px;
}

/* エントリーセクション */
.ng-entry {
    background: linear-gradient(135deg, #f7f8fa 0%, #fff 100%);
    padding: 70px 40px;
}
.ng-entry-wrap {
    max-width: 1100px;
    margin: 0 auto;
}
.ng-entry-lead {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 500;
    color: #444;
    margin-bottom: 36px;
}
.ng-entry-lead strong {
    color: #e94829;
    font-weight: 700;
}

/* 新卒: 2バナーグリッド */
.ng-entry-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.ng-entry-banner {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #e5e5e5;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ng-entry-banner:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
.ng-banner-img-wrap {
    width: 100%;
    aspect-ratio: 5 / 2;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 40px;
}
.ng-banner-img-wrap img {
    max-width: 70%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}
.ng-entry-banner-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: #4d4946;
    font-size: 1.35rem;
    font-weight: 600;
    color: #fff;
}
.ng-entry-banner-label-main {
    display: flex;
    align-items: center;
}
.ng-entry-banner-label-tag {
    display: inline-block;
    padding: 3px 10px;
    background: #e94829;
    color: #fff;
    font-size: 1.1rem;
    border-radius: 3px;
    margin-right: 12px;
    font-weight: 500;
}
.ng-entry-banner-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e94829;
    color: #fff;
    font-size: 1.3rem;
    transition: background 0.3s ease, transform 0.3s ease;
}
.ng-entry-banner:hover .ng-entry-banner-arrow {
    background: #1bb8ce;
    transform: translateX(3px);
}

/* キャリア: 単一ボタン */
.ng-entry-btn-wrap {
    display: flex;
    justify-content: center;
}
.ng-entry-btn {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    padding: 22px 56px;
    background: #e94829;
    color: #fff;
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(233, 72, 41, 0.3);
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 380px;
    justify-content: center;
    text-decoration: none;
}
.ng-entry-btn:hover {
    background: #4d4946;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    opacity: 1;
}
.ng-entry-btn-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    font-size: 1.4rem;
    transition: transform 0.3s ease;
}
.ng-entry-btn:hover .ng-entry-btn-arrow {
    transform: translateX(5px);
}

/* 募集要項テーブル */
.ng-requirements {
    padding: 80px 40px;
    background: #fff;
}
.ng-requirements-wrap {
    max-width: 1100px;
    margin: 0 auto;
}
.ng-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
}
.ng-table tr + tr {
    border-top: 1px solid #eee;
}
.ng-table th,
.ng-table td {
    padding: 18px 24px;
    text-align: left;
    vertical-align: top;
    font-size: 1.4rem;
    line-height: 1.8;
}
.ng-table th {
    width: 220px;
    font-weight: 600;
    background: #fafafa;
    color: #1a1a1a;
    border-right: 1px solid #eee;
    font-size: 1.35rem;
}
.ng-table td {
    color: #444;
}
.ng-table td strong {
    color: #e94829;
    font-weight: 600;
}
.ng-table a.inline-link {
    color: #1bb8ce;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.ng-table a.inline-link:hover {
    color: #e94829;
}
.ng-table .emphasis {
    display: inline-block;
    margin: 4px 0;
    padding: 2px 10px;
    background: #fff2ef;
    color: #e94829;
    border-left: 3px solid #e94829;
    font-size: 1.3rem;
}

/* キャリア用: テーブル内サブ見出し */
.td-subhead {
    display: block;
    margin: 16px 0 8px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    padding-left: 12px;
    border-left: 3px solid #1bb8ce;
    line-height: 1.4;
}
.td-subhead:first-child {
    margin-top: 0;
}
.td-subhead--red {
    border-left-color: #e94829;
    color: #e94829;
}

/* 経験者/未経験者タグ */
.td-tag {
    display: inline-block;
    padding: 3px 10px;
    background: #e94829;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 500;
    border-radius: 3px;
    margin-bottom: 8px;
}
.td-tag--blue {
    background: #1bb8ce;
}

/* モデル年収リスト */
.salary-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 10px;
    margin: 8px 0 12px;
}
.salary-list li {
    list-style: none;
    padding: 12px 16px;
    background: #fafafa;
    border-left: 3px solid #e94829;
    border-radius: 4px;
    font-size: 1.35rem;
}
.salary-list .age {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #1a1a1a;
    font-size: 1.5rem;
    margin-right: 8px;
}
.salary-list .amt {
    color: #e94829;
    font-weight: 600;
}
.salary-list .note {
    display: block;
    font-size: 1.1rem;
    color: #888;
    margin-top: 3px;
}
.salary-note {
    font-size: 1.2rem;
    color: #888;
    line-height: 1.6;
}

/* 採用フロー */
.flow-list {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 8px;
    margin-top: 4px;
    padding-left: 0;
}
.flow-list li {
    list-style: none;
    padding: 10px 16px;
    background: #fafafa;
    border: 1px solid #e5e5e5;
    border-radius: 20px;
    font-size: 1.3rem;
    font-weight: 500;
    color: #1a1a1a;
    position: relative;
    margin: 0;
}
.flow-list li:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -18px;
    top: 50%;
    transform: translateY(-50%);
    color: #e94829;
    font-weight: 700;
}

/* レスポンシブ */
@media (max-width: 1024px) {
    .ng-entry,
    .ng-requirements {
        padding-left: 28px;
        padding-right: 28px;
    }
}
@media (max-width: 768px) {
    .ng-entry,
    .ng-requirements {
        padding: 50px 20px;
    }
    .ng-entry-grid {
        grid-template-columns: 1fr;
    }
    .ng-heading {
        font-size: 2rem;
    }
    .ng-table th,
    .ng-table td {
        display: block;
        padding: 12px 16px;
    }
    .ng-table th {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #eee;
    }
    .ng-entry-btn {
        min-width: unset;
        width: 100%;
        padding: 18px 24px;
        font-size: 1.5rem;
    }
    .flow-list {
        flex-direction: column;
    }
    .flow-list li:not(:last-child)::after {
        display: none;
    }
}

/* ========================================
   トップメッセージ (page-message.php)
   エディトリアル風レイアウト
======================================== */

/* ヒーロー */
.ma-hero {
    padding: 100px 60px 80px;
    background: #fff;
    position: relative;
}
.ma-hero-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.ma-hero-text {
    position: relative;
}
.ma-hero-kicker {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #e94829;
    letter-spacing: 0.3em;
    margin-bottom: 24px;
}
.ma-hero-title {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(3.2rem, 4.5vw, 5.2rem);
    font-weight: 500;
    line-height: 1.55;
    color: #1a1a1a;
    letter-spacing: 0.04em;
    margin-bottom: 40px;
}
.ma-hero-title strong {
    color: #e94829;
    font-weight: 700;
}
.ma-hero-lead {
    font-size: 1.6rem;
    line-height: 2;
    color: #444;
    margin-bottom: 32px;
    max-width: 540px;
}
.ma-hero-signature {
    display: flex;
    align-items: baseline;
    gap: 20px;
    padding-top: 30px;
    border-top: 1px solid #e5e5e5;
}
.ma-hero-signature-role {
    font-size: 1.3rem;
    color: #888;
    letter-spacing: 0.1em;
}
.ma-hero-signature-name {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.1em;
}
/* ヒーロー画像: 左右トリミング無し、自然比率 */
.ma-hero-photo {
    position: relative;
    border-radius: 4px;
    overflow: visible;
}
.ma-hero-photo img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}
.ma-hero-photo::before {
    content: 'MESSAGE';
    position: absolute;
    top: -30px;
    left: -40px;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(5rem, 8vw, 10rem);
    font-weight: 900;
    color: rgba(233, 72, 41, 0.12);
    line-height: 1;
    white-space: nowrap;
    z-index: 2;
    pointer-events: none;
}

/* Q&A セクション */
.ma-qa-section {
    padding: 100px 60px;
    background: #fff;
}
.ma-qa-section:nth-child(even) {
    background: #fafafa;
}
.ma-qa-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 50px;
    align-items: start;
}
.ma-qa-num-col {
    position: sticky;
    top: 100px;
}
.ma-qa-num-big {
    font-family: 'Montserrat', sans-serif;
    font-size: 6rem;
    font-weight: 200;
    color: #e94829;
    line-height: 0.9;
    letter-spacing: -0.05em;
}
.ma-qa-num-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #888;
    letter-spacing: 0.15em;
    margin-top: 8px;
}
.ma-qa-title-ed {
    font-family: 'Noto Serif JP', serif;
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.5;
    color: #1a1a1a;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
}
.ma-qa-body-ed {
    font-size: 1.55rem;
    line-height: 2.1;
    color: #333;
    font-weight: 400;
    max-width: 720px;
}
.ma-qa-body-ed p + p {
    margin-top: 1.3em;
}
/* サブ画像: 左右トリミング無し、ヒーローより小 */
.ma-qa-photo {
    margin-top: 40px;
    max-width: 520px;
}
.ma-qa-photo img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}
.ma-qa-photo--right {
    margin-left: auto;
}

/* レスポンシブ */
@media (max-width: 960px) {
    .ma-hero,
    .ma-qa-section {
        padding: 60px 24px;
    }
    .ma-hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .ma-qa-inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .ma-qa-num-col {
        position: static;
        display: flex;
        align-items: baseline;
        gap: 14px;
    }
    .ma-qa-title-ed {
        font-size: 2.2rem;
    }
}

/* ========================================
   ページヒーロー レスポンシブ
======================================== */
@media (max-width: 768px) {
    .page-hero { padding: 90px 24px 20px; }
    .page-hero::before { left: 24px; }
    .page-hero-inner { flex-direction: column; align-items: stretch; gap: 14px; }
    .page-hero-sub { font-size: 2rem; }
    .page-hero-current { text-align: left; border-top: 1px solid #eee; padding-top: 14px; }
    .page-hero-current-en { font-size: 1.5rem; }
    .page-hero-current-ja { font-size: 1.25rem; }
}

/* ========================================
   協力会社の皆様へ (page-partners.php)
======================================== */
.pt-section { padding: 110px 40px; position: relative; }
.pt-section-head { text-align: center; margin-bottom: 60px; }
.pt-section-head-left { text-align: left; }
.pt-kicker {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem; font-weight: 600;
    color: #e94829; letter-spacing: 0.35em;
    margin-bottom: 14px;
}
.pt-heading {
    font-size: 2.6rem; font-weight: 700;
    letter-spacing: 0.08em; line-height: 1.4;
}
.pt-heading small {
    display: block;
    font-size: 1.3rem; color: #888;
    font-weight: 500; margin-top: 8px;
    letter-spacing: 0.1em;
}

/* ----- ① 代表メッセージ ----- */
.pt-message { background: #fff; position: relative; overflow: hidden; }
.pt-message::before {
    content: 'Partners';
    position: absolute;
    top: 40px; right: -20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12rem; font-weight: 700;
    color: #f4f5f7; letter-spacing: 0.05em;
    line-height: 1; pointer-events: none; user-select: none;
}
.pt-message-inner { max-width: 880px; margin: 0 auto; position: relative; z-index: 1; }
.pt-message-body {
    font-size: 1.6rem; line-height: 2.3;
    color: #333; letter-spacing: 0.04em;
    margin-top: 10px;
}
.pt-message-sign {
    display: flex; justify-content: flex-end;
    align-items: baseline; gap: 14px;
    margin-top: 40px; padding-right: 10px;
}
.pt-message-sign-role { font-size: 1.2rem; color: #666; letter-spacing: 0.1em; }
.pt-message-sign-name { font-size: 2rem; font-weight: 700; letter-spacing: 0.2em; }

/* ----- ② ダウンロード ----- */
.pt-download { background: #f4f5f7; position: relative; }
.pt-download::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent 0%, #e94829 50%, transparent 100%);
    opacity: 0.3;
}
.pt-download-inner { max-width: 1100px; margin: 0 auto; }
.pt-intro {
    max-width: 860px;
    margin: 0 auto 70px;
    text-align: center;
    font-size: 1.55rem;
    line-height: 2.1;
    color: #444;
}
.pt-block { margin-bottom: 60px; }
.pt-block:last-child { margin-bottom: 0; }
.pt-block-head {
    display: flex; align-items: center;
    gap: 18px; margin-bottom: 30px;
}
.pt-block-head-num {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.4rem; font-weight: 700;
    color: #e94829; line-height: 1;
    letter-spacing: 0.02em;
}
.pt-block-head-text {
    flex: 1;
    border-bottom: 2px solid #1a1a1a;
    padding-bottom: 8px;
}
.pt-block-head-en {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.15rem; font-weight: 600;
    color: #e94829; letter-spacing: 0.3em;
    margin-bottom: 2px;
}
.pt-block-head-ja {
    font-size: 2rem; font-weight: 700;
    letter-spacing: 0.1em;
}

.pt-dl-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
.pt-dl-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    padding: 24px 26px;
    display: flex; align-items: center;
    gap: 20px;
    transition: all .25s ease;
    text-decoration: none;
    color: inherit;
}
.pt-dl-card:hover {
    border-color: #e94829;
    box-shadow: 0 6px 22px rgba(233,72,41,0.12);
    transform: translateY(-2px);
}
.pt-dl-card:hover .pt-dl-arrow { transform: translateX(6px); color: #e94829; }
.pt-dl-icon {
    width: 54px; height: 54px;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700; font-size: 1.1rem;
    color: #fff; letter-spacing: 0.02em;
    border-radius: 3px;
    position: relative;
}
.pt-dl-icon.pdf { background: #d64545; }
.pt-dl-icon.xls { background: #1e7b3e; }
.pt-dl-icon::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    border-style: solid;
    border-width: 0 10px 10px 0;
    border-color: transparent rgba(255,255,255,0.3) transparent transparent;
}
.pt-dl-body { flex: 1; min-width: 0; }
.pt-dl-name {
    font-size: 1.5rem; font-weight: 500;
    line-height: 1.5; margin-bottom: 4px;
    color: #1a1a1a;
}
.pt-dl-format {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem; color: #999;
    letter-spacing: 0.1em;
}
.pt-dl-format span { color: #e94829; margin-left: 6px; }
.pt-dl-arrow {
    font-size: 1.8rem; color: #ccc;
    transition: all .25s ease; flex-shrink: 0;
}

.pt-notice {
    background: #fff;
    border-left: 4px solid #e94829;
    padding: 26px 30px;
    margin-top: 30px;
    display: flex; gap: 16px; align-items: flex-start;
}
.pt-notice-label {
    font-weight: 700;
    color: #e94829;
    font-size: 1.4rem;
    letter-spacing: 0.1em;
    flex-shrink: 0;
    white-space: nowrap;
}
.pt-notice-text {
    font-size: 1.4rem;
    line-height: 1.9;
    color: #444;
}

/* ----- ③ ヘルプライン ----- */
.pt-helpline { background: #fff; }
.pt-helpline-inner { max-width: 1040px; margin: 0 auto; }
.pt-helpline-lead {
    text-align: center;
    font-size: 1.5rem;
    line-height: 2.1;
    color: #444;
    margin-bottom: 50px;
    max-width: 780px;
    margin-left: auto; margin-right: auto;
}

.pt-help-panel {
    background: #f4f5f7;
    padding: 44px 50px;
    margin-bottom: 30px;
    border-radius: 2px;
}
.pt-help-panel-title {
    display: flex; align-items: center;
    gap: 14px;
    font-size: 1.6rem; font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.1em;
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid #ddd;
}
.pt-help-panel-title::before {
    content: '';
    display: inline-block;
    width: 4px; height: 20px;
    background: #e94829;
}

.pt-help-list { list-style: none; padding: 0; margin: 0; }
.pt-help-list li {
    position: relative;
    padding: 14px 0 14px 60px;
    font-size: 1.4rem;
    line-height: 1.9;
    color: #333;
    border-bottom: 1px dashed #d5d8dc;
}
.pt-help-list li:last-child { border-bottom: none; }
.pt-help-list-num {
    position: absolute;
    left: 0; top: 16px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700; font-size: 1.2rem;
    color: #e94829; letter-spacing: 0.05em;
    padding-right: 10px;
    border-right: 1px solid #e94829;
    line-height: 1;
    min-width: 38px;
    text-align: right;
}
.pt-help-sub {
    list-style: none;
    margin: 10px 0 0; padding: 0;
}
.pt-help-sub li {
    position: relative;
    padding: 6px 0 6px 20px;
    border-bottom: none;
    font-size: 1.3rem;
    color: #555;
    line-height: 1.8;
}
.pt-help-sub li::before {
    content: '';
    position: absolute;
    left: 4px; top: 15px;
    width: 6px; height: 6px;
    background: #1bb8ce;
    border-radius: 50%;
}

/* 連絡先ボックス (クリーム系・明るい配色) */
.pt-contact {
    background: #fff8f3;
    color: #1a1a1a;
    padding: 56px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid #f3ddd0;
}
.pt-contact::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 80px; height: 4px;
    background: #e94829;
    border-radius: 0 0 4px 4px;
}
.pt-contact::after {
    content: 'CONTACT';
    position: absolute;
    top: 30px; right: 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 7rem; font-weight: 700;
    color: rgba(233,72,41,0.06);
    letter-spacing: 0.05em;
    line-height: 1;
    pointer-events: none;
}
.pt-contact-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem; font-weight: 600;
    color: #e94829; letter-spacing: 0.35em;
    margin-bottom: 16px;
    position: relative; z-index: 1;
}
.pt-contact h3 {
    font-size: 1.9rem; font-weight: 700;
    letter-spacing: 0.1em;
    color: #1a1a1a;
    margin-bottom: 8px;
    position: relative; z-index: 1;
}
.pt-contact-dept {
    font-size: 1.3rem; color: #555;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
    position: relative; z-index: 1;
}
.pt-contact-addr {
    font-size: 1.3rem; color: #777;
    line-height: 1.9;
    margin-bottom: 30px;
    position: relative; z-index: 1;
}
.pt-contact-btn {
    display: inline-flex;
    align-items: center; gap: 10px;
    padding: 16px 44px;
    background: #e94829;
    color: #fff; font-weight: 700;
    font-size: 1.4rem; letter-spacing: 0.12em;
    border-radius: 4px;
    transition: all .25s;
    position: relative; z-index: 1;
    box-shadow: 0 4px 14px rgba(233,72,41,0.22);
    text-decoration: none;
}
.pt-contact-btn:hover {
    background: #d63d22;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(233,72,41,0.35);
    color: #fff;
}

/* ----- レスポンシブ ----- */
@media (max-width: 1024px) {
    .pt-section { padding: 80px 30px; }
    .pt-dl-grid { grid-template-columns: 1fr; }
    .pt-message::before { font-size: 8rem; }
}
@media (max-width: 768px) {
    .pt-section { padding: 70px 20px; }
    .pt-heading { font-size: 2rem; }
    .pt-block-head-num { font-size: 2.6rem; }
    .pt-block-head-ja { font-size: 1.5rem; }
    .pt-help-panel { padding: 28px 22px; }
    .pt-notice { flex-direction: column; gap: 8px; padding: 20px 22px; }
    .pt-contact { padding: 38px 22px; }
    .pt-contact::after { font-size: 5rem; top: 14px; right: 16px; }
    .pt-message-sign { flex-direction: column; align-items: flex-end; gap: 4px; }
}

/* ========================================
   施工実績 (page-work.php)
======================================== */
html { scroll-padding-top: 80px; }

/* カテゴリーインデックス */
.wk-index {
    padding: 90px 40px 60px;
    background: #fff;
}
.wk-index-inner { max-width: 1100px; margin: 0 auto; }
.wk-index-head { text-align: center; margin-bottom: 50px; }
.wk-index-en {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.4rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.2em;
    margin-bottom: 10px;
}
.wk-index-en::after {
    content: '';
    display: block;
    width: 40px; height: 3px;
    background: #e94829;
    margin: 20px auto 0;
}
.wk-index-ja {
    font-size: 1.3rem;
    color: #888;
    letter-spacing: 0.2em;
}

.wk-cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.wk-cat-card {
    background: #fff;
    border: 2px solid #e8eef2;
    padding: 34px 16px 28px;
    text-align: center;
    transition: all .28s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
}
.wk-cat-card::before {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 0; height: 3px;
    background: #e94829;
    transition: width .3s ease;
}
.wk-cat-card:hover {
    border-color: #1bb8ce;
    box-shadow: 0 8px 24px rgba(27,184,206,0.12);
    transform: translateY(-4px);
}
.wk-cat-card:hover::before { width: 60%; }
.wk-cat-card:hover .wk-cat-icon {
    background: #1bb8ce;
    color: #fff;
}
.wk-cat-card:hover .wk-cat-arrow {
    opacity: 1;
    transform: translate(-50%, 0);
}
.wk-cat-icon {
    width: 84px; height: 84px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #e6f3f7;
    color: #1bb8ce;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .28s ease;
}
.wk-cat-icon svg {
    width: 40px; height: 40px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
}
.wk-cat-label {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1bb8ce;
    letter-spacing: 0.12em;
    line-height: 1.4;
}
.wk-cat-arrow {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translate(-50%, 10px);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: #e94829;
    opacity: 0;
    transition: all .3s ease;
    letter-spacing: 0.1em;
}

/* カテゴリーセクション */
.wk-section {
    padding: 70px 40px 90px;
    background: #fafafa;
    scroll-margin-top: 80px;
}
.wk-section:nth-of-type(even) { background: #fff; }

.wk-section-head {
    max-width: 1100px;
    margin: 0 auto 40px;
    text-align: center;
    display: flex;
    align-items: center;
    gap: 24px;
}
.wk-section-head-line {
    flex: 1;
    height: 1px;
    background: #ccc;
}
.wk-section-head-text { flex-shrink: 0; }
.wk-section-head-en {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #e94829;
    letter-spacing: 0.3em;
    margin-bottom: 2px;
}
.wk-section-head-ja {
    font-size: 1.9rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #1a1a1a;
}

/* 施工実績リスト */
.wk-list {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
.wk-empty {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px;
    text-align: center;
    color: #999;
    background: #fff;
    border: 1px dashed #ddd;
}
.wk-item {
    background: #fff;
    border: 1px solid #e5e5e5;
    padding: 26px 30px 30px;
    transition: all .25s ease;
}
.wk-item:hover {
    box-shadow: 0 6px 22px rgba(0,0,0,0.06);
    border-color: #d5d5d5;
}
.wk-item-head {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px 14px;
    padding-bottom: 18px;
    margin-bottom: 22px;
    border-bottom: 1px solid #eee;
}
.wk-item-name {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.04em;
    line-height: 1.5;
    flex: 1;
    min-width: 60%;
}
.wk-item-area {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    background: #f3f5f7;
    color: #555;
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    border-radius: 2px;
    flex-shrink: 0;
}
.wk-item-area::before {
    content: '';
    display: inline-block;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #e94829;
}

/* Before / After 並列 */
.wk-ba {
    display: grid;
    grid-template-columns: 1fr 44px 1fr;
    align-items: center;
    gap: 0;
}
.wk-ba-col { position: relative; }
.wk-ba-col img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 2px;
    background: #eee;
    display: block;
}
.wk-ba-label {
    position: absolute;
    top: 12px; left: 12px;
    padding: 5px 14px;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    border-radius: 2px;
    backdrop-filter: blur(2px);
}
.wk-ba-label.before {
    background: rgba(27,184,206,0.90); /* TODA BLUE */
}
.wk-ba-label.after {
    background: rgba(233,72,41,0.88); /* TODA RED */
}
.wk-ba-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #e94829;
}
.wk-ba-arrow svg {
    width: 24px; height: 24px;
    fill: currentColor;
}

/* After のみ */
.wk-single { position: relative; }
.wk-single img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 2px;
    background: #eee;
    max-height: 480px;
    display: block;
}
.wk-single .wk-ba-label {
    top: 14px; left: 14px;
}

/* 施工実績 レスポンシブ */
@media (max-width: 1024px) {
    .wk-cat-grid { grid-template-columns: repeat(2, 1fr); }
    .wk-index { padding: 70px 24px 50px; }
    .wk-section { padding: 60px 24px 70px; }
}
@media (max-width: 768px) {
    .wk-index-en { font-size: 2.6rem; }
    .wk-cat-icon { width: 72px; height: 72px; }
    .wk-cat-icon svg { width: 34px; height: 34px; }
    .wk-cat-label { font-size: 1.35rem; }
    .wk-section-head { gap: 14px; }
    .wk-section-head-ja { font-size: 1.55rem; }
    .wk-item { padding: 20px 20px 24px; }
    .wk-item-name { font-size: 1.45rem; min-width: 100%; }
    .wk-ba { grid-template-columns: 1fr; gap: 10px; }
    .wk-ba-arrow { height: 40px; transform: rotate(90deg); }
}
@media (max-width: 480px) {
    .wk-cat-grid { grid-template-columns: 1fr; gap: 14px; }
}

/* ========================================
   数字で見る戸田道路 (page-numbers.php)
======================================== */
.fig-intro {
    padding: 100px 40px 70px;
    text-align: center;
    background: #fff;
    position: relative;
    overflow: hidden;
}
.fig-intro::before {
    content: 'Facts & Figures';
    position: absolute;
    top: 60px; left: 50%;
    transform: translateX(-50%);
    font-family: 'Montserrat', sans-serif;
    font-size: 12rem; font-weight: 800;
    color: #f4f6f8;
    letter-spacing: 0.02em;
    white-space: nowrap;
    z-index: 0;
    pointer-events: none;
}
.fig-intro-inner { max-width: 860px; margin: 0 auto; position: relative; z-index: 1; }
.fig-intro-en {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem; font-weight: 600;
    color: #e94829; letter-spacing: 0.4em;
    margin-bottom: 16px;
}
.fig-intro-ja {
    font-size: 3.2rem; font-weight: 700;
    letter-spacing: 0.12em; line-height: 1.4;
    margin-bottom: 28px;
}
.fig-intro-ja::after {
    content: '';
    display: block;
    width: 40px; height: 3px;
    background: #e94829;
    margin: 24px auto 0;
}
.fig-intro-lead {
    font-size: 1.5rem; line-height: 2.1;
    color: #555; letter-spacing: 0.04em;
}

.fig-grid-wrap {
    padding: 60px 40px 120px;
    max-width: 1240px;
    margin: 0 auto;
    background: #f7f9fb;
}
.fig-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}
.fig-card {
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: 4px;
    padding: 30px 28px;
    text-align: center;
    position: relative;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease;
    overflow: hidden;
}
.fig-card.in-view {
    opacity: 1;
    transform: translateY(0);
}
.fig-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 40px; height: 3px;
    background: #e94829;
}
.fig-card.blue::before { background: #1bb8ce; }
.fig-card.gray::before { background: #4d4946; }

.fig-card.col-3  { grid-column: span 3; }
.fig-card.col-4  { grid-column: span 4; }
.fig-card.col-6  { grid-column: span 6; }
.fig-card.col-12 { grid-column: span 12; }

.fig-label-en {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem; font-weight: 600;
    color: #888; letter-spacing: 0.25em;
    margin-bottom: 8px;
    text-transform: uppercase;
}
.fig-label-ja {
    font-size: 1.35rem; font-weight: 700;
    color: #1a1a1a; letter-spacing: 0.08em;
    line-height: 1.4;
    margin-bottom: 18px;
}
.fig-label-ja-sub {
    font-size: 1.1rem;
    font-weight: 500;
    color: #888;
    letter-spacing: 0.06em;
}

.fig-num {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
    color: #1a1a1a;
    margin: 20px 0 10px;
}
.fig-num-value {
    font-family: 'Montserrat', sans-serif;
    font-size: 6rem; font-weight: 800;
    line-height: 1;
    color: #e94829;
    letter-spacing: -0.02em;
}
.fig-num-value.blue { color: #1bb8ce; }
.fig-num-unit {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.6rem; font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.04em;
}
.fig-note {
    font-size: 1.15rem; color: #888;
    margin-top: 12px;
    letter-spacing: 0.05em;
}

/* SVGプログレスサークル */
.fig-donut {
    width: 180px; height: 180px;
    margin: 10px auto 14px;
    position: relative;
}
.fig-donut svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.fig-donut-bg {
    fill: none; stroke: #eef0f3; stroke-width: 16;
}
.fig-donut-fg {
    fill: none; stroke-width: 16;
    stroke-linecap: butt;
    stroke-dasharray: 377;
    stroke-dashoffset: 377;
    transition: stroke-dashoffset 1.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.fig-donut.red .fig-donut-fg  { stroke: #e94829; }
.fig-donut.blue .fig-donut-fg { stroke: #1bb8ce; }
.fig-donut-label {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}
.fig-donut-label-percent {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem; font-weight: 700;
    color: #1a1a1a; line-height: 1;
}
.fig-donut-label-percent .sign { font-size: 1.8rem; color: #666; margin-left: 2px; }
.fig-donut-label-sub {
    font-size: 1.1rem; color: #666;
    margin-top: 4px; letter-spacing: 0.08em;
}

/* 2値比率ドーナツ */
.fig-ratio {
    width: 180px; height: 180px;
    margin: 10px auto 14px;
    border-radius: 50%;
    background: conic-gradient(#eef0f3 0% 100%);
    position: relative;
}
.fig-ratio::after {
    content: '';
    position: absolute;
    inset: 20px;
    background: #fff;
    border-radius: 50%;
}
.fig-ratio-legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}
.fig-ratio-legend-item {
    display: flex; align-items: center;
    gap: 6px; font-size: 1.2rem;
}
.fig-ratio-legend-item::before {
    content: '';
    width: 14px; height: 14px;
    border-radius: 2px;
    background: #ccc;
}
.fig-ratio-legend-item.male::before   { background: #1bb8ce; }
.fig-ratio-legend-item.female::before { background: #e94829; }
.fig-ratio-legend-item.stem::before   { background: #1bb8ce; }
.fig-ratio-legend-item.hum::before    { background: #e94829; }
.fig-ratio-legend-item.univ::before   { background: #1bb8ce; }
.fig-ratio-legend-item.high::before   { background: #e94829; }
.fig-ratio-legend-item.other::before  { background: #bbb; }
.fig-ratio-legend-item b {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-left: 4px;
}

/* 水平バー */
.fig-bars {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 20px 0 6px;
    text-align: left;
}
.fig-bar-row {
    display: grid;
    grid-template-columns: 80px 1fr 60px;
    align-items: center;
    gap: 14px;
}
.fig-bar-row .label {
    font-size: 1.25rem;
    font-weight: 500;
    color: #555;
}
.fig-bar-row .track {
    height: 10px;
    background: #eef0f3;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}
.fig-bar-row .fill {
    position: absolute;
    top: 0; left: 0; height: 100%;
    width: 0;
    background: linear-gradient(90deg, #e94829 0%, #f58b73 100%);
    border-radius: 6px;
    transition: width 1.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.fig-bar-row .fill.blue {
    background: linear-gradient(90deg, #1bb8ce 0%, #72d6e3 100%);
}
.fig-bar-row .fill.gray {
    background: linear-gradient(90deg, #4d4946 0%, #7a7572 100%);
}
.fig-bar-row .val {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem; font-weight: 700;
    text-align: right; color: #1a1a1a;
}

/* 積み上げバー */
.fig-stack {
    width: 100%;
    height: 36px;
    border-radius: 6px;
    overflow: hidden;
    background: #eef0f3;
    display: flex;
    margin: 20px 0 16px;
}
.fig-stack-seg {
    width: 0;
    transition: width 1.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    white-space: nowrap;
    overflow: hidden;
}
.fig-stack-seg.s1 { background: #e94829; }
.fig-stack-seg.s2 { background: #f58b73; }
.fig-stack-seg.s3 { background: #1bb8ce; }
.fig-stack-seg.s4 { background: #4d4946; }

.fig-stack-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 22px;
    margin-top: 10px;
}
.fig-stack-legend-item {
    display: flex; align-items: center;
    gap: 6px; font-size: 1.25rem;
}
.fig-stack-legend-item::before {
    content: '';
    width: 14px; height: 14px;
    border-radius: 2px;
    background: #ccc;
}
.fig-stack-legend-item.s1::before { background: #e94829; }
.fig-stack-legend-item.s2::before { background: #f58b73; }
.fig-stack-legend-item.s3::before { background: #1bb8ce; }
.fig-stack-legend-item.s4::before { background: #4d4946; }

/* CTA */
.fig-cta {
    background: #1a1a1a;
    padding: 80px 40px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.fig-cta::before {
    content: 'JOIN US';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Montserrat', sans-serif;
    font-size: 14rem; font-weight: 800;
    color: rgba(255,255,255,0.04);
    letter-spacing: 0.05em;
    white-space: nowrap;
}
.fig-cta-inner { position: relative; z-index: 1; }
.fig-cta-title {
    font-size: 2.2rem;
    letter-spacing: 0.15em;
    margin-bottom: 28px;
    font-weight: 700;
}
.fig-cta-btn {
    display: inline-flex;
    align-items: center; gap: 10px;
    padding: 18px 52px;
    background: #e94829;
    color: #fff;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 0.15em;
    border-radius: 4px;
    transition: all .25s;
    box-shadow: 0 6px 20px rgba(233,72,41,0.3);
    text-decoration: none;
}
.fig-cta-btn:hover {
    background: #fff; color: #e94829;
    transform: translateY(-2px);
}
.fig-br-sp { display: none; }

/* Numbers レスポンシブ */
@media (max-width: 1024px) {
    .fig-grid { grid-template-columns: repeat(6, 1fr); }
    .fig-card.col-3  { grid-column: span 3; }
    .fig-card.col-4  { grid-column: span 6; }
    .fig-card.col-6  { grid-column: span 6; }
    .fig-card.col-12 { grid-column: span 6; }
    .fig-num-value { font-size: 5rem; }
    .fig-intro::before { font-size: 8rem; }
}
@media (max-width: 768px) {
    .fig-intro { padding: 70px 20px 50px; }
    .fig-intro-ja { font-size: 2.2rem; }
    .fig-intro::before { font-size: 5rem; top: 40px; }
    .fig-grid-wrap { padding: 40px 20px 80px; }
    .fig-grid { grid-template-columns: 1fr; gap: 16px; }
    .fig-card.col-3, .fig-card.col-4, .fig-card.col-6, .fig-card.col-12 { grid-column: span 1; }
    .fig-num-value { font-size: 4.4rem; }
    .fig-donut, .fig-ratio { width: 140px; height: 140px; }
    .fig-ratio::after { inset: 16px; }
    .fig-cta { padding: 60px 24px; }
    .fig-cta::before { font-size: 8rem; }
    .fig-br-sp { display: inline; }
}

/* ========================================
   お問い合わせ / エントリーフォーム (page-contact.php, page-entryform.php)
======================================== */
.fm-section { padding: 90px 40px 120px; background: #fff; }
.fm-container { max-width: 860px; margin: 0 auto; }
.fm-head { text-align: center; margin-bottom: 50px; }
.fm-head-en {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem; font-weight: 600;
    color: #e94829; letter-spacing: 0.35em;
    margin-bottom: 14px;
}
.fm-head-ja {
    font-size: 2.6rem; font-weight: 700;
    letter-spacing: 0.08em; line-height: 1.4;
}
.fm-head-ja::after {
    content: '';
    display: block;
    width: 40px; height: 3px;
    background: #e94829;
    margin: 20px auto 0;
}
.fm-intro {
    font-size: 1.5rem;
    line-height: 2.1;
    color: #555;
    text-align: center;
    margin-bottom: 40px;
}

/* プライバシーノート */
.fm-privacy-note {
    background: #f4f5f7;
    border-left: 3px solid #1bb8ce;
    padding: 18px 22px;
    font-size: 1.35rem;
    line-height: 1.9;
    color: #444;
    margin-bottom: 50px;
}
.fm-privacy-note a { color: #1bb8ce; text-decoration: underline; }

/* セクション見出し (entry form) */
.fm-group-head {
    display: flex; align-items: center;
    gap: 14px;
    margin: 40px 0 20px;
}
.fm-group-num {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem; font-weight: 700;
    color: #e94829; line-height: 1;
}
.fm-group-text {
    flex: 1;
    border-bottom: 2px solid #1a1a1a;
    padding-bottom: 6px;
}
.fm-group-en {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem; font-weight: 600;
    color: #e94829; letter-spacing: 0.25em;
    margin-bottom: 2px;
}
.fm-group-ja {
    font-size: 1.6rem; font-weight: 700;
    letter-spacing: 0.08em;
}

/* フォームロウ */
.fm-row {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #eef0f3;
    align-items: flex-start;
}
.fm-row:first-of-type { padding-top: 10px; }
.fm-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.45rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.06em;
    padding-top: 14px;
    line-height: 1.5;
}
.fm-tag {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 2px;
    letter-spacing: 0.1em;
    display: inline-block;
}
.fm-tag.req { background: #e94829; color: #fff; }
.fm-tag.opt { background: #eef0f3; color: #888; }
.fm-field { display: flex; flex-direction: column; gap: 10px; }
.fm-hint {
    font-size: 1.2rem;
    color: #888;
    letter-spacing: 0.05em;
}

/* CF7 の出力を統一スタイルに */
.fm-form-wrap input[type="text"],
.fm-form-wrap input[type="email"],
.fm-form-wrap input[type="tel"],
.fm-form-wrap textarea,
.fm-form-wrap select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 1.5rem;
    font-family: inherit;
    background: #fff;
    color: #1a1a1a;
    transition: all .2s;
    box-sizing: border-box;
}
.fm-form-wrap input:focus,
.fm-form-wrap textarea:focus,
.fm-form-wrap select:focus {
    outline: none;
    border-color: #e94829;
    box-shadow: 0 0 0 3px rgba(233,72,41,0.1);
}
.fm-form-wrap input::placeholder,
.fm-form-wrap textarea::placeholder { color: #bbb; }
.fm-form-wrap textarea {
    min-height: 140px;
    resize: vertical;
    line-height: 1.8;
}
.fm-form-wrap select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

/* 2段組 */
.fm-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.fm-split-item label {
    display: block;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 6px;
    letter-spacing: 0.08em;
}
.fm-split-item .wpcf7-form-control-wrap { display: block; }

/* 郵便番号 */
.fm-zip {
    display: grid;
    grid-template-columns: 180px auto 1fr;
    gap: 10px;
    align-items: center;
}
.fm-zip-btn {
    padding: 12px 18px;
    background: #1bb8ce;
    color: #fff;
    border: none;
    border-radius: 3px;
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.08em;
    transition: all .2s;
    white-space: nowrap;
}
.fm-zip-btn:hover { background: #159aaf; }

/* 個人情報同意 */
.fm-consent {
    background: #f4f5f7;
    border: 1px solid #e5e8ed;
    border-radius: 4px;
    padding: 30px;
    margin-top: 50px;
    text-align: center;
}
.fm-consent-policy {
    max-height: 120px;
    overflow-y: auto;
    text-align: left;
    padding: 16px;
    background: #fff;
    border: 1px solid #e5e8ed;
    font-size: 1.2rem;
    line-height: 1.9;
    color: #555;
    margin-bottom: 18px;
}
.fm-consent-policy a { color: #1bb8ce; text-decoration: underline; }
.fm-consent-check {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 700;
    cursor: pointer;
    user-select: none;
}
.fm-consent-check input[type="checkbox"] {
    width: 20px; height: 20px;
    accent-color: #e94829;
    cursor: pointer;
    margin: 0;
}
/* CF7のacceptance wrapperのインライン調整 */
.fm-consent-check .wpcf7-form-control-wrap,
.fm-consent-check .wpcf7-acceptance {
    display: inline-flex; align-items: center; gap: 10px;
}
.fm-consent-check .wpcf7-list-item-label { font-weight: 700; }
.fm-consent-check .wpcf7-list-item { margin: 0 !important; }

/* アクション (ボタン群) */
.fm-actions {
    text-align: center;
    margin-top: 40px;
}
.fm-next-btn,
.fm-send-btn,
.fm-back-btn,
.fm-complete-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 20px 60px;
    border: none;
    border-radius: 4px;
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: all .25s;
    font-family: inherit;
    text-decoration: none;
}
.fm-next-btn,
.fm-send-btn,
.fm-complete-btn {
    background: #e94829;
    color: #fff;
    box-shadow: 0 6px 18px rgba(233,72,41,0.28);
}
.fm-next-btn:hover,
.fm-send-btn:hover:not(:disabled),
.fm-complete-btn:hover {
    background: #d63d22;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(233,72,41,0.4);
    color: #fff;
}
.fm-send-btn:disabled {
    background: #bbb;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}
.fm-back-btn {
    background: transparent;
    color: #1a1a1a;
    border: 1px solid #1a1a1a;
}
.fm-back-btn:hover:not(:disabled) {
    background: #1a1a1a;
    color: #fff;
}
.fm-actions-confirm {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
/* CF7の本来の送信ボタンは非表示 */
.fm-submit-hidden,
.wpcf7 .fm-submit-hidden {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* CF7のエラーメッセージ */
.wpcf7-not-valid-tip {
    color: #e94829;
    font-size: 1.2rem;
    margin-top: 4px;
    display: block;
}
.wpcf7-response-output {
    margin: 30px 0 0 !important;
    padding: 14px 18px !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 3px;
    font-size: 1.3rem;
    line-height: 1.8;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
    border-color: #e94829 !important;
    color: #e94829;
    background: #fff5f3;
}
.wpcf7 form.sent .wpcf7-response-output {
    border-color: #1bb8ce !important;
    color: #1bb8ce;
    background: #f0faf c;
}
.wpcf7 input[aria-invalid="true"],
.wpcf7 textarea[aria-invalid="true"],
.wpcf7 select[aria-invalid="true"] {
    border-color: #e94829 !important;
}
/* スピナー */
.wpcf7-spinner {
    vertical-align: middle;
    margin-left: 10px;
}

/* 確認モード */
.fm-confirm-note {
    background: #fff8f3;
    border: 1px solid #f3ddd0;
    border-left: 4px solid #e94829;
    padding: 22px 26px;
    font-size: 1.4rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
    border-radius: 3px;
}
.fm-confirm-note strong { color: #1a1a1a; }

.fm-confirm-list {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 0;
    margin: 30px 0 10px;
}
.fm-confirm-list dt {
    padding: 22px 0;
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.06em;
    border-bottom: 1px solid #eef0f3;
    line-height: 1.5;
}
.fm-confirm-list dd {
    padding: 22px 0;
    font-size: 1.5rem;
    line-height: 1.9;
    color: #333;
    letter-spacing: 0.04em;
    border-bottom: 1px solid #eef0f3;
    word-break: break-word;
}
.fm-confirm-list dd.is-empty { color: #aaa; }
.fm-confirm-list dd.fm-confirm-message { white-space: pre-wrap; }

/* 完了モード */
.fm-complete-inner {
    text-align: center;
    padding: 40px 20px 20px;
}
.fm-complete-icon {
    width: 90px; height: 90px;
    margin: 0 auto 26px;
}
.fm-complete-icon svg { width: 100%; height: 100%; }
.fm-complete-title {
    font-size: 2.4rem; font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
    line-height: 1.4;
}
.fm-complete-body {
    font-size: 1.45rem;
    line-height: 2.0;
    color: #555;
    margin-bottom: 40px;
    letter-spacing: 0.04em;
}
.fm-complete-btn {
    padding: 16px 44px;
    font-size: 1.4rem;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .fm-section { padding: 60px 20px 80px; }
    .fm-head-ja { font-size: 2rem; }
    .fm-row,
    .fm-confirm-list { grid-template-columns: 1fr; gap: 10px; padding: 16px 0; }
    .fm-label { padding-top: 0; }
    .fm-confirm-list dt {
        padding: 16px 0 6px;
        border-bottom: none;
        font-size: 1.25rem;
        color: #888;
    }
    .fm-confirm-list dd {
        padding: 0 0 16px;
        border-bottom: 1px solid #eef0f3;
        font-size: 1.4rem;
    }
    .fm-split { grid-template-columns: 1fr; }
    .fm-zip { grid-template-columns: 1fr auto; }
    .fm-next-btn,
    .fm-send-btn,
    .fm-back-btn,
    .fm-complete-btn {
        width: 100%;
        padding: 18px 30px;
        font-size: 1.35rem;
    }
    .fm-actions-confirm { flex-direction: column-reverse; }
}

/* ========================================
   個人情報保護方針 (page-terms.php)
======================================== */
.tm-section { padding: 90px 40px 120px; background: #fff; }
.tm-container { max-width: 880px; margin: 0 auto; }

.tm-head { text-align: center; margin-bottom: 60px; }
.tm-head-en {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem; font-weight: 600;
    color: #e94829; letter-spacing: 0.35em;
    margin-bottom: 16px;
}
.tm-head-ja {
    font-size: 2.8rem; font-weight: 700;
    letter-spacing: 0.1em; line-height: 1.4;
}
.tm-head-ja::after {
    content: '';
    display: block;
    width: 40px; height: 3px;
    background: #e94829;
    margin: 22px auto 0;
}

.tm-preamble {
    font-size: 1.55rem;
    line-height: 2.1;
    color: #333;
    padding: 30px 34px;
    background: #f7f9fb;
    border-left: 4px solid #e94829;
    margin-bottom: 60px;
    letter-spacing: 0.04em;
}

.tm-list {
    list-style: none;
    counter-reset: policy;
    margin-bottom: 70px;
    padding: 0;
}
.tm-list-item {
    counter-increment: policy;
    position: relative;
    padding: 28px 0 28px 72px;
    border-bottom: 1px solid #eef0f3;
    font-size: 1.5rem;
    line-height: 2.0;
    color: #333;
    letter-spacing: 0.04em;
}
.tm-list-item:last-child { border-bottom: none; }
.tm-list-item::before {
    content: counter(policy, decimal-leading-zero);
    position: absolute;
    left: 0; top: 28px;
    font-family: 'Montserrat', sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: #e94829;
    line-height: 1;
    padding-right: 18px;
    border-right: 2px solid #e94829;
    min-width: 52px;
    text-align: right;
}

.tm-date {
    text-align: right;
    font-size: 1.35rem;
    color: #666;
    letter-spacing: 0.08em;
    margin-bottom: 50px;
}
.tm-date strong {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    color: #1a1a1a;
    font-weight: 700;
    margin-right: 8px;
}

.tm-contact {
    background: #f4f5f7;
    border: 1px solid #e5e8ed;
    border-radius: 4px;
    padding: 40px;
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 30px;
    align-items: start;
}
.tm-contact-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #e94829;
    letter-spacing: 0.3em;
    padding-top: 6px;
    border-right: 2px solid #e94829;
    padding-right: 16px;
    height: fit-content;
}
.tm-contact-body { line-height: 1.9; }
.tm-contact-company {
    font-size: 1.7rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    letter-spacing: 0.06em;
}
.tm-contact-addr,
.tm-contact-tel {
    font-size: 1.4rem;
    color: #555;
    letter-spacing: 0.05em;
}

.tm-back { text-align: center; margin-top: 60px; }
.tm-back a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    background: transparent;
    border: 1px solid #1a1a1a;
    color: #1a1a1a;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    border-radius: 3px;
    text-decoration: none;
    transition: all .2s;
}
.tm-back a:hover { background: #1a1a1a; color: #fff; }

@media (max-width: 768px) {
    .tm-section { padding: 60px 20px 80px; }
    .tm-head-ja { font-size: 2rem; }
    .tm-preamble { padding: 22px; font-size: 1.4rem; }
    .tm-list-item {
        padding: 22px 0 22px 52px;
        font-size: 1.4rem;
    }
    .tm-list-item::before {
        font-size: 1.8rem;
        top: 24px;
        min-width: 36px;
        padding-right: 10px;
    }
    .tm-contact {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 26px 22px;
    }
    .tm-contact-label {
        border-right: none;
        border-bottom: 2px solid #e94829;
        padding-right: 0;
        padding-bottom: 12px;
        padding-top: 0;
    }
}
