/* =========================================
   Variables
========================================= */
:root {
    --white: #FFFFFF;
    --navy: #050548;
    --light-gray: #F2F4F7;
    --gold: #D4AF37;
    --pink: #c19bbd;
    --img-mask-radial: radial-gradient(ellipse at center, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.6) 40%, rgba(0,0,0,0) 85%);
}

/* =========================================
   Reset & Base
========================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--navy);
    background: linear-gradient(180deg, #ffffff 0%, #eef2f8 50%, #e4ebf3 100%);
    background-attachment: fixed;
    line-height: 1.6;
    letter-spacing: 0.05em;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.fw-bold { font-weight: 700; }
.fw-medium { font-weight: 500; }
.fw-regular { font-weight: 400; }
.en-text { font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', sans-serif; }
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* =========================================
   Section decorations (bubbles & dots)
========================================= */
.sec-deco {
    position: absolute;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: rgba(193,155,189,0.55);
    pointer-events: none;
    z-index: 0;
}
.sec-deco--gold { background: rgba(212,175,55,0.55); }
.sec-deco--navy { background: rgba(5,5,72,0.25); }
.sec-deco--xs { width: 8px;  height: 8px; }
.sec-deco--sm { width: 14px; height: 14px; }
.sec-deco--md { width: 22px; height: 22px; }
.sec-deco--lg { width: 36px; height: 36px; }
.sec-deco--pulse  { animation: bblPulse 7s ease-in-out infinite; }
.sec-deco--float  { animation: bblFloat 12s ease-in-out infinite; }
.sec-deco--float-2 { animation: bblFloat2 15s ease-in-out infinite; }
.sec-deco--fade   { animation: bblFade 6s ease-in-out infinite; }
@keyframes bblPulse {
    0%, 100% { scale: 1; opacity: 1; }
    50%      { scale: 1.4; opacity: 0.4; }
}
@keyframes bblFloat {
    0%, 100% { translate: 0 0; }
    33%      { translate: 18px -14px; }
    66%      { translate: -14px 16px; }
}
@keyframes bblFloat2 {
    0%, 100% { translate: 0 0; }
    50%      { translate: -16px 22px; }
}
@keyframes bblFade {
    0%, 100% { opacity: 0.3; }
    50%      { opacity: 1; }
}
.sec-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(193,155,189,0.28) 1px, transparent 1.5px);
    background-size: 48px 48px;
    opacity: 0.6;
    pointer-events: none;
    z-index: 0;
    animation: dotsDrift 80s linear infinite;
}
@keyframes dotsDrift {
    0%   { background-position: 0 0; }
    100% { background-position: 48px 48px; }
}

/* =========================================
   Components
========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 14px;
    transition: opacity 0.3s;
}
.btn:hover { opacity: 0.8; }
.btn-gold { background-color: var(--gold); color: var(--white); }
.btn-outline-gold { border: 1px solid var(--gold); color: var(--gold); background-color: transparent; }
.btn-outline-gold:hover { background-color: var(--gold); color: var(--white); }
.btn-outline-white { border: 1px solid var(--white); color: var(--white); background-color: transparent; }
.btn-outline-white:hover { background-color: var(--white); color: var(--navy); }

/* Contact Form 7 送信ボタンを .btn-outline-gold と同じデザインに統一 */
.wpcf7-submit,
.contact-form-card input[type="submit"],
.contact-form-card button[type="submit"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 36px;
    border-radius: 30px;
    border: 1px solid var(--gold);
    background-color: transparent;
    color: var(--gold);
    font-family: inherit;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, opacity 0.3s ease;
    box-shadow: none;
    text-shadow: none;
    line-height: 1.4;
}
.wpcf7-submit:hover,
.contact-form-card input[type="submit"]:hover,
.contact-form-card button[type="submit"]:hover {
    background-color: var(--gold);
    color: var(--white);
}
.wpcf7-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
/* CF7 spinner(送信中インジケータ)位置調整 */
.wpcf7-spinner { margin-left: 12px; vertical-align: middle; }
.btn-arrow::after {
    content: '→';
    margin-left: 10px;
    font-family: 'Hiragino Kaku Gothic ProN';
}
.section-label {
    color: var(--gold);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
    display: inline-block;
}

/* =========================================
   Header
========================================= */
header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    background-color: transparent;
    z-index: 100;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}
header.scrolled {
    background-color: rgba(255, 255, 255, 0.7);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    backdrop-filter: blur(16px) saturate(160%);
    box-shadow: 0 2px 14px rgba(5, 5, 72, 0.06);
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    max-width: 100%;
    margin: 0 auto;
}
.logo {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
}
.hamburger {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    z-index: 210;
    position: relative;
}

/* =========================================
   Drawer
========================================= */
.drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 380px;
    max-width: 85vw;
    height: 100vh;
    background-color: var(--white);
    z-index: 200;
    transition: right 0.35s ease;
    box-shadow: -10px 0 40px rgba(0,0,0,0.1);
    padding: 100px 50px 40px;
    overflow-y: auto;
}
.drawer.open { right: 0; }
.drawer-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 5, 72, 0.4);
    z-index: 150;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease;
}
.drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}
.drawer-close {
    position: absolute;
    top: 25px;
    right: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}
.drawer-links {
    display: flex;
    flex-direction: column;
    gap: 28px;
    font-size: 17px;
    font-weight: 500;
}
.drawer-links a { transition: color 0.3s; }
.drawer-links a:hover { color: var(--gold); }
.drawer-links li:last-child { margin-top: 10px; }

/* =========================================
   Global Nav
========================================= */
.global-nav {
    background-color: var(--white);
    border-bottom: 1px solid #eef0f4;
    padding: 25px 0;
    position: relative;
    z-index: 20;
}
.global-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.global-nav-logo {
    height: 40px;
    width: auto;
    display: block;
}
.global-nav-links {
    display: flex;
    gap: 50px;
    align-items: center;
    font-size: 15px;
    font-weight: 500;
}

/* =========================================
   Sub-page Hero (smaller than index hero)
========================================= */
.page-hero {
    padding: 160px 0 90px;
    position: relative;
    overflow: hidden;
    background-color: #eef2f8;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: 1px solid rgba(5,5,72,0.06);
}
.page-hero .container { position: relative; z-index: 4; }
.page-hero .page-hero-label {
    color: var(--gold);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.2em;
    margin-bottom: 18px;
    display: inline-block;
}
.page-hero h1 {
    font-size: 44px;
    line-height: 1.3;
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 16px;
}
.page-hero .page-hero-sub {
    font-size: 18px;
    color: #444;
    line-height: 1.8;
    max-width: 720px;
}

/* =========================================
   Generic content section
========================================= */
.content-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}
.content-section h2 {
    font-size: 36px;
    margin-bottom: 30px;
    line-height: 1.4;
    color: var(--navy);
}
.content-section h3 {
    font-size: 22px;
    margin-bottom: 18px;
    color: var(--navy);
}
.content-section p {
    font-size: 16px;
    line-height: 1.9;
    color: #444;
    margin-bottom: 18px;
}
.content-section ul:not(.global-nav-links):not(.drawer-links):not(.footer-nav):not(.footer-links) {
    margin: 18px 0 30px 1.4em;
    list-style: disc;
}
.content-section ul:not(.global-nav-links):not(.drawer-links):not(.footer-nav):not(.footer-links) li {
    margin-bottom: 8px;
    color: #444;
    line-height: 1.8;
}

/* =========================================
   Definition table (used for company info & job posting)
========================================= */
.def-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
}
.def-table th,
.def-table td {
    padding: 22px 24px;
    text-align: left;
    border-top: 1px solid rgba(5,5,72,0.1);
    vertical-align: top;
    line-height: 1.8;
    font-size: 15px;
}
.def-table tr:last-child th,
.def-table tr:last-child td {
    border-bottom: 1px solid rgba(5,5,72,0.1);
}
.def-table th {
    width: 220px;
    font-weight: 700;
    color: var(--navy);
    background: rgba(212,175,55,0.05);
}
.def-table td {
    color: #444;
}

/* =========================================
   Footer
========================================= */
footer {
    background: transparent;
    color: var(--navy);
    padding: 80px 0 40px;
    border-top: 1px solid rgba(5,5,72,0.18);
}
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(5,5,72,0.12);
    padding-bottom: 50px;
    margin-bottom: 40px;
}
.footer-logo {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
}
.footer-nav {
    display: flex;
    gap: 35px;
    font-size: 15px;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #888;
}
.footer-links {
    display: flex;
    gap: 25px;
}

/* =========================================
   Responsive — Tablet / narrow laptop (≤1199px)
========================================= */
@media (max-width: 1199px) {
    .container { padding: 0 20px; }
    .header-inner { padding: 15px 20px; }
    .global-nav { display: none; }

    .page-hero { padding: 110px 0 50px; }
    .page-hero h1 { font-size: 32px; }
    .page-hero .page-hero-sub { font-size: 15px; }

    .content-section { padding: 70px 0; }
    .content-section h2 { font-size: 28px; }
    .content-section h3 { font-size: 19px; }
    .content-section p { font-size: 15px; }

    .def-table th, .def-table td { font-size: 14px; padding: 18px 16px; }
    .def-table th { width: 130px; }

    .footer-top {
        flex-direction: column;
        gap: 30px;
        align-items: flex-start;
    }
    .footer-nav {
        flex-wrap: wrap;
        gap: 15px 25px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}

/* =========================================
   Responsive — Mobile (≤640px)
========================================= */
@media (max-width: 640px) {
    .container { padding: 0 16px; }
    .header-inner { padding: 12px 16px; }
    .logo { font-size: 11px; letter-spacing: 0.06em; }
    .hamburger { padding: 6px; }
    .hamburger svg { width: 38px; height: 38px; }

    .page-hero { padding: 90px 0 40px; }
    .page-hero h1 { font-size: 26px; }
    .page-hero .page-hero-sub { font-size: 14px; }

    .content-section { padding: 60px 0; }
    .content-section h2 { font-size: 22px; }
    .content-section h3 { font-size: 17px; }
    .content-section p { font-size: 14px; }

    .def-table th, .def-table td {
        display: block;
        width: 100%;
        padding: 14px 14px;
        border: none;
        border-top: 1px solid rgba(5,5,72,0.08);
    }
    .def-table th {
        background: transparent;
        font-size: 12px;
        color: var(--gold);
        padding-bottom: 4px;
        border-bottom: none;
    }
    .def-table td {
        padding-top: 4px;
        font-size: 14px;
    }
    .def-table tr:last-child td { border-bottom: 1px solid rgba(5,5,72,0.08); }

    footer { padding: 60px 0 30px; }
    .footer-top { padding-bottom: 35px; margin-bottom: 28px; }
    .footer-logo { font-size: 13px; }
    .footer-nav { font-size: 13px; gap: 12px 22px; }
    .footer-bottom { font-size: 12px; }
    .footer-links { gap: 15px; flex-wrap: wrap; }

    .drawer { padding: 80px 30px 30px; }
    .drawer-links { font-size: 16px; gap: 22px; }
    .sec-dots { display: none; }
}

/* =========================================
   ユーティリティ:汎用パディング / 空メッセージ
========================================= */
.section-default-padding { padding: 80px 0; }
.section-empty {
  text-align: center;
  padding: 60px 0;
  color: #888;
}
.text-gold-color { color: var(--gold); }
.text-navy-color { color: var(--navy); }
.text-inherit { color: inherit; }
.contact-phone-link {
  font-size: 22px;
  font-weight: 700;
}
.contact-hours-note {
  font-size: 13px;
  color: #888;
}
.cf7-missing-notice {
  color: #b00;
  padding: 20px;
  background: #fff4f4;
  border: 1px solid #ecc;
}
.section-news-fallback {
  text-align: center;
  padding: 40px 0;
  color: #888;
}
.section-h2 {
  font-size: 32px;
  margin: 8px 0 10px;
}
.section-lead {
  color: #555;
}
@media (max-width: 767px) {
  .section-h2 { font-size: 22px; }
  .section-lead { font-size: 14px; }
}
.section-404 { text-align: center; }
.section-404-text { margin-bottom: 32px; }
.contact-intro { margin-bottom: 60px; }

/* =========================================
   News(お知らせ)関連:トップと一覧の両方で使う
========================================= */
.news {
    padding: 110px 0;
    position: relative;
    overflow: hidden;
}
.news .sec-dots { opacity: 0.4; }

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}
.news-header h2 {
    font-size: 84px;
    font-family: 'Hiragino Kaku Gothic ProN', sans-serif;
    line-height: 0.95;
    letter-spacing: 0.04em;
    color: var(--navy);
    margin-top: 4px;
}
.news-header .head-sub {
    display: block;
    font-size: 20px;
    color: var(--navy);
    font-weight: 700;
    margin-top: 18px;
    letter-spacing: 0.03em;
}
.news-header .card-link {
    position: relative;
    transition: color 0.3s ease;
}
.news-header .card-link:hover { color: var(--gold); }
.news-header .card-link::after { transition: width 0.3s ease, background-color 0.3s ease; }
.news-header .card-link:hover::after { width: 55px; }

.news-list {
    border-top: 1px solid #ddd;
}
.news-item {
    display: flex;
    align-items: center;
    padding: 25px 20px 25px 0;
    border-bottom: 1px solid #ddd;
    position: relative;
    transition: padding 0.3s ease;
}
.news-item::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 0;
    height: 1px;
    background-color: var(--gold);
    transition: width 0.4s ease;
}
.news-item:hover {
    padding-left: 15px;
    padding-right: 5px;
}
.news-item:hover::before { width: 100%; }
.news-item:hover .news-title { color: var(--gold); }
.news-item:hover .news-arrow { transform: translateX(8px); }

.news-date {
    width: 150px;
    font-size: 15px;
    color: #666;
}
.news-badge {
    width: 110px;
    text-align: center;
    padding: 6px;
    border-radius: 5px;
    font-size: 13px;
    color: var(--white);
    margin-right: 40px;
}
.badge-gold   { background-color: var(--gold); }
.badge-purple { background-color: var(--pink); }
.news-title {
    flex: 1;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}
.news-arrow {
    color: var(--gold);
    font-size: 18px;
    transition: transform 0.3s ease;
}

/* ページネーション */
.news .pagination,
.news .nav-links,
.news-pagination {
    margin-top: 50px;
    text-align: center;
}
.news .pagination .page-numbers,
.news-pagination .page-numbers {
    display: inline-block;
    min-width: 40px;
    padding: 8px 14px;
    margin: 0 4px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: var(--navy);
    background: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}
.news .pagination .page-numbers:hover,
.news-pagination .page-numbers:hover {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
}
.news .pagination .page-numbers.current,
.news-pagination .page-numbers.current {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

@media (max-width: 1199px) {
    .news { padding: 80px 0; }
    .news-header h2 { font-size: 56px; }
    .news-header .head-sub { font-size: 17px; }
}
@media (max-width: 767px) {
    .news { padding: 60px 0; }
    .news-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        margin-bottom: 28px;
    }
    .news-header h2 { font-size: 42px; }
    .news-header .head-sub { font-size: 15px; }
    .news-item {
        flex-wrap: wrap;
        padding: 18px 0;
        row-gap: 8px;
    }
    .news-item:hover { padding-left: 0; padding-right: 0; }
    .news-date {
        width: auto;
        font-size: 13px;
        margin-right: 14px;
    }
    .news-badge {
        width: 90px;
        font-size: 11px;
        padding: 4px;
        margin-right: 0;
    }
    .news-title {
        flex: 0 0 100%;
        font-size: 14px;
        margin-top: 4px;
    }
    .news-item:hover .news-title { color: var(--navy); }
}

/* =========================================
   Single news(お知らせ詳細)
========================================= */
.single-news { padding: 80px 0; }

.single-news-article {
    max-width: 960px;
    margin: 0 auto;
}
.single-news-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e5e7eb;
}
.single-news-meta .news-date {
    width: auto;
    font-size: 14px;
    color: #666;
}
.single-news-meta .news-badge {
    width: auto;
    min-width: 90px;
    margin-right: 0;
    padding: 5px 14px;
    font-size: 12px;
}
.single-news-thumb {
    margin: 0 0 36px;
}
.single-news-thumb img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}
.single-news-body { margin-top: 20px; }
.single-news-body.page-content { line-height: 1.9; }

.single-news-nav {
    margin-top: 70px;
    padding-top: 30px;
    border-top: 1px solid #ddd;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 16px;
    align-items: center;
}
.single-news-nav__prev a,
.single-news-nav__next a {
    color: var(--navy);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}
.single-news-nav__prev a:hover,
.single-news-nav__next a:hover { color: var(--gold); }
.single-news-nav__next { text-align: right; }
.single-news-nav__back { text-align: center; }

@media (max-width: 767px) {
    .single-news { padding: 50px 0; }
    .single-news-meta { flex-wrap: wrap; }
    .single-news-nav {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 12px;
    }
    .single-news-nav__next { text-align: center; }
}

/* =========================================
   汎用 .biz-cta(全ページ共通の末尾CTAセクション)
========================================= */
.biz-cta {
    padding: 110px 0;
    background: linear-gradient(135deg, var(--navy) 0%, var(--pink) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.biz-cta h2 {
    font-size: 32px;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.5;
}
.biz-cta p {
    font-size: 15px;
    opacity: 0.95;
    margin-bottom: 36px;
}
.biz-cta .btn-group {
    display: inline-flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}
@media (max-width: 767px) {
    .biz-cta { padding: 70px 0; }
    .biz-cta h2 { font-size: 22px; }
    .biz-cta p { font-size: 14px; }
}

/* =========================================
   page-content:固定ページ本文(ブロックエディタ出力)用の基本スタイル
   親の .container(max-width:1300px)に任せるため、ここでは幅指定しない。
========================================= */
.page-content {
    width: 100%;
    color: var(--navy);
    line-height: 1.9;
    font-size: 16px;
}
.page-content h2 {
    font-size: 28px;
    line-height: 1.5;
    margin: 60px 0 20px;
    color: var(--navy);
}
.page-content h3 {
    font-size: 20px;
    line-height: 1.5;
    margin: 36px 0 14px;
    color: var(--navy);
}
.page-content p { margin: 0 0 1.2em; }
.page-content ul,
.page-content ol {
    margin: 0 0 1.6em 1.4em;
    padding: 0;
}
.page-content ul { list-style: disc; }
.page-content ol { list-style: decimal; }
.page-content ul li,
.page-content ol li {
    margin-bottom: 0.5em;
    line-height: 1.7;
}
.page-content blockquote {
    border-left: 4px solid var(--pink);
    background: rgba(193, 155, 189, 0.08);
    padding: 16px 22px;
    margin: 1.6em 0;
    color: var(--navy);
    font-style: normal;
}
.page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.6em 0;
    background: #fff;
    border: 1px solid #e5e7eb;
}
.page-content table th,
.page-content table td {
    border-bottom: 1px solid #e5e7eb;
    padding: 14px 18px;
    vertical-align: top;
    text-align: left;
}
.page-content table th {
    background: #f8fafc;
    font-weight: 700;
    width: 28%;
    color: var(--navy);
}
.page-content table tr:last-child th,
.page-content table tr:last-child td { border-bottom: none; }
.page-content a {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.page-content a.btn,
.page-content a.btn-gold,
.page-content a.btn-outline-gold {
    text-decoration: none;
}
/* `.page-content a` の color: var(--gold) が .btn-* の色指定 (詳細度負け) を上書きしてしまうため、
 * 同じスコープで明示的に色を再宣言してボタン文字色を正しく出す。
 * 特に .btn-gold は金色背景に金色文字で同化していた問題のフィックス。 */
.page-content a.btn-gold        { color: var(--white); }
.page-content a.btn-outline-gold { color: var(--gold);  }
.page-content a.btn-outline-white { color: var(--white); }
.page-content a.btn-outline-gold:hover { color: var(--white); }
.page-content a.btn-outline-white:hover { color: var(--navy);  }
.page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 1em 0;
}

/* recruit 系の補助クラス */
.page-content .recruit-catch {
    text-align: center;
    padding: 30px 0;
    margin-bottom: 30px;
    border-bottom: 1px solid #e5e7eb;
}
.page-content .recruit-catch h2 {
    font-size: 28px;
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 14px;
}
.page-content .recruit-message {
    padding: 0 0 30px;
    margin-bottom: 30px;
}
.page-content .recruit-job-card {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 30px;
    margin: 30px 0;
}
.page-content .recruit-job-card h3 {
    border-left: none;
    padding-left: 0;
    margin-top: 0;
    font-size: 22px;
    color: var(--navy);
}
.page-content .recruit-job-card ul {
    background: #fff;
    border-radius: 6px;
    padding: 16px 16px 16px 36px;
    margin-bottom: 1.6em;
}
.page-content .recruit-cta-group {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin: 24px 0;
}
.page-content .recruit-cta-group a {
    text-decoration: none;
}
.page-content .recruit-locations {
    list-style: none;
    margin: 1.6em 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}
.page-content .recruit-locations li {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 18px 20px;
    margin: 0;
}
.page-content .recruit-locations h3 {
    font-size: 17px;
    margin-top: 0;
    margin-bottom: 8px;
}
.page-content .recruit-locations p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
}
.page-content .recruit-table {
    width: 100%;
}

@media (max-width: 767px) {
    .page-content h2 { font-size: 22px; margin-top: 40px; }
    .page-content h3 { font-size: 18px; }
    .page-content table th { width: 36%; padding: 10px 12px; }
    .page-content table td { padding: 10px 12px; }
    .page-content .recruit-job-card { padding: 20px; }
    .page-content .recruit-cta-group { flex-direction: column; }
}

/* =========================================
   下層ページ共通:モバイル対応
   (global-nav / page-hero / biz-cta / container)
========================================= */
@media (max-width: 1199px) {
    /* global-nav はタブレット以下では横並びを維持しつつコンパクトに */
    .global-nav { padding: 16px 0; }
    .global-nav .container {
        flex-direction: column;
        gap: 14px;
    }
    .global-nav-logo { height: 32px; }
    .global-nav-links {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
        font-size: 13px;
    }

    /* page-hero(下層ヒーロー)の縮小 */
    .page-hero { padding: 110px 0 60px; }
    .page-hero h1 { font-size: 32px; }
    .page-hero .page-hero-sub { font-size: 15px; }
    .page-hero .page-hero-label { font-size: 12px; margin-bottom: 12px; }
}

@media (max-width: 767px) {
    /* スマホ:ハンバーガー(ドロワー)で十分なため global-nav は非表示 */
    .global-nav { display: none; }

    .page-hero { padding: 80px 0 40px; }
    .page-hero h1 { font-size: 24px; line-height: 1.4; }
    .page-hero .page-hero-sub { font-size: 13px; line-height: 1.7; }
    .page-hero .page-hero-label { font-size: 11px; }

    /* container の左右余白を縮小 */
    .container { padding: 0 16px; }

    /* biz-cta のモバイル調整 */
    .biz-cta { padding: 60px 0; }
    .biz-cta h2 { font-size: 20px; line-height: 1.6; }
    .biz-cta p { font-size: 13px; margin-bottom: 24px; }
    .biz-cta .btn-group {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
    .biz-cta .btn-group .btn { width: 100%; }

    /* single-news のモバイル(タイトル + ナビ縦並び) */
    .single-news-title { font-size: 22px; }
    .single-news-meta { flex-wrap: wrap; gap: 10px; }
    .single-news-nav {
        grid-template-columns: 1fr;
        gap: 16px;
        text-align: center;
    }
    .single-news-nav__next { text-align: center; }
}
