/* ==========================================
   HEADER & NAVIGATION (整理版・スマホ対応修正)
   ========================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 125px;
    background-color: #ffffff;
    z-index: 2000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-logo {
    width: 250px;
    margin-left: 7px;
}

/* ナビゲーションの基本設定 */
#nav li {
    list-style: none;
}

#nav a {
    text-decoration: none;
    color: #333333;
    font-size: 14px;
}

#nav a:hover .header-icon {
    transform: translateY(-5px);
}

#nav a:hover {
    text-decoration: none;
}

/* アイコンサイズ */
.header-icon {
    width: 45px;
    height: 45px;
}

/* ユニケン（お仕事検索）ボタン */
.sarch-nav {
    background-color: #f8f9fa;
    border: solid 3px #1a252f;
    border-radius: 12px;
    padding: 10px;
    transition: 0.3s;
}

.sarch-nav:hover {
    transform: translateY(-3px);
}

.sarch-nav-name {
    font-weight: bold;
    color: #1a252f;
    font-size: 1.1rem;
}

.sarch-nav-lavel {
    background-color: #1a252f;
    color: #fff;
    font-size: 11px;
    padding: 2px 0;
    border-radius: 4px;
    text-align: center;
}

/* モバイルメニューボタン（枠なしスマート設定） */
.menu-toggle,
.close-menu {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    padding: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a252f;
}

/* スマホ対応メディアクエリ */
@media screen and (max-width: 768px) {
    header {
        height: 50px;
        /* スマホ時のヘッダー高さ */
    }

    .header-logo {
        width: 140px;
    }

    .header-icon {
        width: 30px;
        height: 30px;
    }

    /* メニューオーバーレイ本体 */
    #menuOverlay {
        position: fixed;
        top: 0;
        right: -100% !important;
        /* 画面右に隠す */
        width: 85%;
        height: 100vh;
        background-color: #ffffff;
        z-index: 9999 !important;
        /* ヘッダーより前面 */
        transition: right 0.4s ease-in-out;
        /* ★×印が隠れないよう上部余白を調整 */
        padding: 110px 20px 40px;
        display: block !important;
        overflow-y: auto;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

    /* JavaScriptの toggleMenu() で付与されるクラス */
    #menuOverlay.menu-active {
        right: 0 !important;
    }

    /* ★閉じるボタン（×印）の位置：ヘッダーの下に配置 */
    .close-menu {
        position: absolute;
        top: 60px;
        /* ヘッダーの50pxより下にする */
        right: 20px;
        z-index: 10000;
    }

    #nav ul {
        flex-direction: column;
        align-items: flex-start !important;
    }

    #nav li {
        margin: 0 !important;
        width: 100%;
        border-bottom: 1px solid #eee;
        padding: 15px 0;
    }

    .sarch-nav {
        width: 100%;
        max-width: none;
        margin: 20px 0;
    }
}

/* ==========================================
   FOOTER
   ========================================== */
footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 40px;
    /* 30pxから少しだけ広げて余白の美しさを出す */
    z-index: 1000;
}

.copyright-section {
    background-color: #2c3e50;
    color: rgba(255, 255, 255, 0.7);
    /* 少しトーンを落とすと高級感が出る */
    font-size: 10px;
    /* 小さめが今のトレンドです */
    letter-spacing: 0.05em;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    /* footerの高さに合わせる */
    padding: 0 15px;
}

.footer-privacy-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-privacy-link:hover {
    color: #cbb09b;
    /* ホバー時だけサイトのゴールド色に */
    text-decoration: none;
}

/* スマホで横幅が厳しい場合の微調整 */
@media (max-width: 400px) {
    .copyright-section {
        font-size: 9px;
    }
}

/* ==========================================
   1. 全ページ共通（ベース・共通パーツ）
   ========================================== */
body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: #2c3e50;
    line-height: 1.8;
    background-color: #fff;
    margin: 0;
}

main {
    /* ヘッダーの高さと同じだけ上部に余白を設定 */
    margin-top: 125px;
    /* フッターの高さと同じだけ上部に余白を設定 */
    margin-bottom: 30px;
}

/* セクション共通 */
.section-padding {
    padding: 4rem 0;
}

/* パンくず（日本語） */
.breadcrumb-item,
.breadcrumb-item a {
    color: #95a5a6;
    font-size: 0.75rem;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #2c3e50;
}

/* 共通タイトル見出し（下線） */
.section-title {
    margin-bottom: 3.5rem;
    text-align: center;
}

.section-title h3 {
    font-size: 1.5rem;
    letter-spacing: 0.3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.title-underline {
    width: 40px;
    height: 1px;
    background-color: #3498db;
    margin: 0 auto;
}

/* チャプターナビ */
.chapter-nav {
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

.chapter-nav a {
    flex: 1;
    text-align: center;
    padding: 1.25rem 0.5rem;
    text-decoration: none;
    color: #95a5a6;
    font-size: 0.85rem;
    transition: 0.3s;
}

.chapter-nav a:hover {
    color: #333d47;
    background-color: #fcfcfc;
}

.chapter-nav a.chapter-active {
    color: #fff;
    font-weight: bold;
    background-color: #333d47;
}

/* 共通ページヘッダー（タイトルブロック） */
.page-title-block {
    background-color: #333d47;
    padding: 2.5rem 0;
    text-align: center;
    color: #fff;
}

.page-title-block h2 {
    font-size: 1.4rem;
    letter-spacing: 0.1rem;
    font-weight: bold;
    margin: 0;
}

.sub-label-gold {
    color: #cbb09b;
    font-size: 0.75rem;
    margin-top: 0.4rem;
    display: block;
    letter-spacing: 0.1rem;
}

/* 導入文の装飾（左線） */
.intro-h5 {
    font-size: 1.25rem;
    color: #2c3e50;
    border-left: 4px solid #cbb09b;
    padding-left: 1.25rem;
    margin-bottom: 2.5rem;
    font-weight: bold;
}

@media (max-width: 767px) {
    main {
        /* ヘッダーの高さと同じだけ上部に余白を設定 */
        margin-top: 50px;
    }
}

/* ==========================================
   2. トップページ（index.php） - 都会的・グラスモーフィズム
   ========================================== */

.main-visual {
    background: linear-gradient(135deg, #fdfbf9 0%, #e4e9f0 100%);
    overflow: hidden;
    position: relative;
    padding: 6rem 0 7rem;
    color: #1a252f;
}


.bg-geometric-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
    pointer-events: none;
}

.h1-stylish {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

.sub-copy {
    font-size: 0.8rem;
    color: #a07d5a;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 700;
}

.main-copy {
    font-size: clamp(1.6rem, 5vw, 3.5rem);
}

.text-gold {
    color: #a07d5a !important;
}

.lead-text-stylish {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #4a5568;
    font-weight: 500;
    max-width: 540px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .lead-text-stylish {
        font-size: 1.1rem;
        line-height: 2;
        margin-left: 0;
        margin-right: auto;
    }
}

/* --- 決定版：アイコン付きすりガラスパネル --- */
.ultimate-glass-panel {
    display: inline-block;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-left: 4px solid #cbb09b;
    border-radius: 4px;
    padding: 0.8rem 1.8rem;
    margin-top: 1rem;
    box-shadow: 0 15px 35px rgba(31, 38, 135, 0.06);
}

.panel-content {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    text-align: left;
}

.panel-icon-box {
    font-size: 1.6rem;
    line-height: 1;
    flex-shrink: 0;
}

.panel-text-box {
    display: flex;
    flex-direction: column;
}

.main-txt {
    font-size: 1.05rem;
    font-weight: 800;
    color: #1a252f;
}

.sub-txt {
    font-size: 0.8rem;
    font-weight: 600;
    color: #a07d5a;
    margin-top: 0.1rem;
}

@media (max-width: 767px) {
    .ultimate-glass-panel {
        max-width: 310px;
        padding: 0.8rem 1.2rem;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }

    .panel-content {
        gap: 0.8rem;
    }

    .panel-icon-box {
        font-size: 1.4rem;
    }

    .main-txt {
        font-size: 0.9rem;
    }

    .sub-txt {
        font-size: 0.75rem;
    }
}

/* --- アニメーション --- */
@keyframes float-navy {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-10px) scale(1.02);
    }
}

@keyframes float-gold {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(12px) rotate(3deg);
    }
}

@keyframes float-character {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-8px) rotate(-3deg);
    }
}

/* --- 画像デザイン --- */
.stylish-circle-wrapper {
    position: relative;
    width: 100%;
    max-width: 200px;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .stylish-circle-wrapper {
        max-width: 420px;
    }
}

.circle-bg {
    position: absolute;
    border-radius: 50%;
}

.gold-circle {
    width: 95%;
    height: 95%;
    border: 2px solid rgba(203, 176, 155, 0.7);
    top: 0;
    left: 5%;
    z-index: 1;
    animation: float-gold 8s ease-in-out infinite;
}

.navy-circle {
    width: 90%;
    height: 90%;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    top: 10%;
    left: 0;
    z-index: 2;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    animation: float-navy 6s ease-in-out infinite;
}

.character-img-stylish {
    position: relative;
    z-index: 3;
    max-width: 75%;
    height: auto;
    filter: drop-shadow(0 15px 20px rgba(0, 0, 0, 0.25));
    animation: float-character 7s ease-in-out infinite;
}

/* ==========================================
   JOB SEARCH BOX (既存デザイン維持)
   ========================================== */
.job-search-section {
    padding: 6rem 0;
    background-color: #f9f9f9;
}

.search-outer-box {
    background-color: #2c3e50;
    padding: 4.5rem 2rem;
    border-radius: 2px;
    box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.15);
}

.search-card-container {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 3rem;
}

.search-card {
    background: #fff;
    flex: 1;
    max-width: 340px;
    padding: 3.5rem 1.5rem;
    transition: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-align: center;
    text-decoration: none !important;
}

.search-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.search-card img {
    width: 55px;
    margin-bottom: 1.5rem;
}

.search-card p {
    color: #2c3e50;
    margin: 0;
    font-weight: bold;
    font-size: 1.15rem;
}

.search-card .en {
    display: block;
    font-size: 0.75rem;
    color: #95a5a6;
    letter-spacing: 0.1rem;
    margin-top: 8px;
}


/* ==========================================
   CONTENT LINKS (タイル) (既存デザイン維持)
   ========================================== */
.contents-section {
    padding: 6rem 0;
    background-color: #f8f9fa;
    border-top: 1px solid #eee;
}

.content-item {
    border: 1px solid #e0e0e0;
    background: #fff;
    height: 100px;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    transition: 0.3s;
    text-decoration: none !important;
}

.content-item:hover {
    background-color: #2c3e50;
    border-color: #2c3e50;
}

.content-item .link-text {
    font-weight: bold;
    color: #2c3e50;
    margin-left: 1.5rem;
    transition: 0.3s;
}

.content-item:hover .link-text {
    color: #fff;
}

.content-item:hover img {
    filter: brightness(0) invert(1);
}

/* 高級感のあるテキストリンク */
.text-link-gold {
    color: #b09680;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.text-link-gold:hover {
    color: #cbb09b;
    border-bottom: 1px solid #b09680;
}

.text-link-gold i {
    display: inline-block;
    transition: transform 0.3s ease;
}

.text-link-gold:hover i {
    transform: translateX(4px);
}

/* インフォメーション帯のレスポンシブ調整 */
.interview-title {
    font-size: 1.5rem;
}

.interview-sub {
    font-size: 0.75rem;
}

.interview-text {
    font-size: 0.95rem;
}

@media (max-width: 767px) {
    .search-card-container {
        margin-top: 0;
    }

    .interview-title {
        font-size: 1rem;
        line-height: 1.2;
    }

    .interview-sub {
        font-size: 0.5rem;
        margin-bottom: 0.5rem !important;
    }

    .interview-text {
        font-size: 0.8rem;
        padding: 0 10px;
    }

    .text-link-gold {
        font-size: 0.85rem;
    }
}


/* ==========================================
   NEWS SECTION (既存デザイン維持)
   ========================================== */
.news-section {
    padding: 6rem 0;
    background-color: #ffffff;
}

.news-container {
    max-width: 900px;
    margin: 0 auto;
}

.news-list {
    margin-top: 1rem;
}

.news-item {
    display: flex;
    align-items: center;
    padding: 1.2rem 1rem;
    border-bottom: 1px solid #eee;
    text-decoration: none !important;
    transition: background-color 0.3s;
}

.news-item:hover {
    background-color: #fcfcfc;
}

.news-date {
    font-size: 0.85rem;
    color: #999;
    min-width: 100px;
}

.news-category {
    font-size: 0.7rem;
    font-weight: bold;
    color: #fff;
    background-color: #cbb09b;
    padding: 2px 10px;
    margin: 0 1.5rem;
    border-radius: 2px;
    white-space: nowrap;
}

.news-title {
    font-size: 0.95rem;
    color: #1a252f;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-more-btn {
    display: inline-block;
    margin-top: 2.5rem;
    font-size: 0.8rem;
    font-weight: bold;
    color: #1a252f;
    letter-spacing: 0.1rem;
    text-decoration: none;
    border-bottom: 1px solid #cbb09b;
    padding-bottom: 5px;
    transition: 0.3s;
}

.news-more-btn:hover {
    color: #cbb09b;
}

@media (max-width: 767px) {
    .news-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .news-category {
        margin: 0.5rem 0;
    }

    .news-title {
        width: 100%;
        white-space: normal;
    }
}

/* ==========================================
   3. 詳細ページ 共通設定
   ========================================== */
.section-padding {
    padding: 4rem 0;
}

.intro-h5 {
    font-size: 1.25rem;
    color: #2c3e50;
    border-left: 4px solid #cbb09b;
    padding-left: 1.25rem;
    margin-bottom: 2.5rem;
    font-weight: bold;
}

/* 共通レスポンシブ */
@media (max-width: 767px) {
    .section-padding {
        padding: 3rem 0;
    }

    .page-title-block {
        padding: 2rem 0;
    }
}

/* ==========================================
   3-A. 派遣スタッフと正社員の違い（difference.php）
   ========================================== */
.table-luxury {
    width: 100%;
    border-collapse: collapse;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.table-luxury thead th {
    background-color: #fcfcfc;
    color: #2c3e50;
    font-weight: bold;
    text-align: center;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
}

.table-luxury tbody th {
    background-color: #fcfcfc;
    color: #2c3e50;
    width: 25%;
    text-align: left;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #eee;
}

.table-luxury tbody td {
    width: 37.5%;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #eee;
    color: #444;
    font-size: 0.95rem;
}

/* difference スマホ対応 */
@media (max-width: 767px) {
    .table-luxury tbody th {
        width: 35%;
        font-size: 0.85rem;
        padding: 1rem;
    }

    .table-luxury tbody td {
        padding: 1rem;
        font-size: 0.85rem;
    }
}

/* ==========================================
   3-B. 就業開始までの流れ（flow.php）
   ========================================== */

/* 上部図解ボックス */
.flow-summary-box {
    background-color: #fcfcfc;
    border: 1px solid #eee;
    padding: 5rem 2rem;
    margin: 4rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

/* ステップ番号共通（図解・詳細共通：縦並びスタイル） */
.step-number-container,
.detail-step-container {
    display: flex;
    flex-direction: column;
    /* ここでSTEPと数字を上下に配置 */
    align-items: center;
    /* 中央揃え */
    justify-content: center;
    margin-bottom: 1.5rem;
}

.step-label {
    font-size: 0.6rem;
    color: #cbb09b;
    /* ゴールド */
    font-weight: bold;
    letter-spacing: 0.1rem;
    line-height: 1;
    margin-bottom: 4px;
}

.step-number {
    font-size: 2.2rem;
    line-height: 1;
    color: #333d47;
    font-weight: bold;
    font-family: serif;
}

.step-icon {
    width: 200px;
    height: auto;
    margin-bottom: 1rem;
}

/* 下部詳細エリア */
.flow-detail-row {
    padding: 5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.flow-detail-row:last-child {
    border-bottom: none;
}

/* 詳細エリアのSTEP番号位置微調整 */
.flow-detail-row .detail-step-container {
    align-items: center;
    /* 詳細横も中央揃えで見栄えを統一 */
}

.detail-h6 {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333d47;
    margin-bottom: 1.5rem;
}

.flow-link {
    color: #333d47;
    font-weight: bold;
    text-decoration: underline;
    font-size: 0.9rem;
}

/* flow スマホ対応（メディアクエリもここに集約） */
@media (max-width: 767px) {
    .flow-summary-box {
        padding: 3rem 1rem;
    }

    .step-number-container {
        margin-bottom: 0.2rem;
    }

    .step-number {
        font-size: 1.5rem;
    }

    .step-icon {
        width: 200px;
    }

    .flow-detail-row {
        padding: 3rem 0;
    }

    /* スマホ時：12カラム（縦並び）になる各ステップに境界線を追加 */
    .flow-summary-box .col-12 {
        position: relative;
        padding-bottom: 3rem;
        /* ステップ間の余白 */
        margin-bottom: 3rem;
        /* ステップ間の余白 */
    }

    /* 境界線（ゴールドの点線） */
    .flow-summary-box .col-12::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 200px;
        /* 線の長さ */
        border-bottom: 1px solid #cbb09b;
    }

    /* 最後のステップ（STEP 04）だけは線を表示しない */
    .flow-summary-box .col-12:last-child {
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .flow-summary-box .col-12:last-child::after {
        display: none;
    }

    .flow-detail-row .detail-step-container {
        margin-bottom: 0.5rem;
        /* 番号とタイトルの距離を詰める */
        align-items: center;
        /* 中央揃え */
    }

    .detail-h6 {
        text-align: center;
        /* タイトルも中央に */
        margin-bottom: 2rem;
        /* 下のコンテンツとの距離 */
        font-size: 1.3rem;
        /* スマホで見やすいサイズに微調整 */
    }

    /* スマホ時、画像やテキストの左余白(ps-md-5)を解除して中央に寄せる */
    .ps-md-5 {
        padding-left: 0 !important;
        text-align: center;
    }

    /* アイコンとテキストが横並びのrowも中央寄せにする */
    .flow-detail-row .row.align-items-center {
        justify-content: center;
    }
}

/* ==========================================
   3-C. 派遣のしくみ（system.php）
   ========================================== */

/* 禁止業務などのリストボックス */
.rule-box {
    margin-top: 2rem;
    border-top: 1px solid #1a252f;
    /* 濃紺の細線で引き締める */
    padding-top: 2rem;
}

/* 番号付きメインリスト */
.main-numbered-list {
    counter-reset: item;
    list-style: none;
    padding: 0;
}

.main-numbered-list>li {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 3rem;
}

.main-numbered-list>li::before {
    counter-increment: item;
    content: counter(item);
    position: absolute;
    left: 0;
    top: 0;
    width: 2rem;
    height: 2rem;
    background-color: #1a252f;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: bold;
}

/* 見出しの強調 */
.list-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #1a252f;
    margin-bottom: 1rem;
    display: block;
}

/* 箇条書き（ポツ）のデザイン */
.sub-dot-list {
    list-style: none;
    padding-left: 1.2rem;
    margin: 1rem 0;
}

.sub-dot-list li {
    position: relative;
    margin-bottom: 0.5rem;
}

.sub-dot-list li::before {
    content: "";
    position: absolute;
    left: -1.2rem;
    top: 0.7rem;
    width: 6px;
    height: 1px;
    background-color: #cbb09b;
    /* ゴールドのライン */
}

/* ABCリスト */
.custom-abc-list {
    counter-reset: abc;
    list-style: none;
    padding-left: 0;
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.custom-abc-list li {
    position: relative;
    padding: 1rem 1rem 1rem 2.5rem;
    background-color: #f8f9fa;
    font-size: 0.9rem;
}

.custom-abc-list li::before {
    counter-increment: abc;
    content: counter(abc, upper-alpha);
    position: absolute;
    left: 1rem;
    font-weight: bold;
    color: #cbb09b;
}

/* スマホ対応 */
@media (max-width: 767px) {
    .main-numbered-list>li {
        padding-left: 0;
        padding-top: 3rem;
    }

    .main-numbered-list>li::before {
        top: 0;
        left: 0;
    }

    .custom-abc-list {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   3-D. 派遣の働き方の種類（type.php）
   ========================================== */

/* コンテンツの見出し（下線） */
.type-section-title {
    border-bottom: 1px solid #1a252f;
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
    font-weight: bold;
}

/* メリットボックス（ミニマル・ハイエンド） */
.merit-card {
    background-color: #f8f9fa;
    /* 薄いグレー */
    padding: 2.5rem;
    border: none;
    border-radius: 0;
}

.merit-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.merit-header img {
    width: 24px;
    height: auto;
    margin-right: 10px;
}

.merit-header .merit-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #cbb09b;
    /* ゴールド */
    letter-spacing: 0.1rem;
}

/* メリットの各項目 */
.merit-item {
    margin-bottom: 1.5rem;
}

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

.merit-item-head {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.merit-item-head img {
    width: 16px;
    height: auto;
    margin-right: 10px;
}

.merit-item-head span {
    font-weight: bold;
    color: #333d47;
    font-size: 0.95rem;
}

.merit-item-body {
    padding-left: 26px;
    /* アイコンの幅分下げる */
    font-size: 0.85rem;
    color: #666;
    line-height: 1.6;
}

/* 紹介予定派遣の図解エリア */
.mechanism-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem 0;
}

.mechanism-flow img {
    max-width: 100%;
    height: auto;
}

.flow-label {
    font-size: 0.75rem;
    font-weight: bold;
    color: #cbb09b;
    background: #fff;
    padding: 0.2rem 1rem;
    border: 1px solid #cbb09b;
}

/* スマホ対応 */
@media (max-width: 767px) {
    .merit-card {
        padding: 1.5rem;
    }
}

/* ==========================================
   3-E. お問い合わせフォーム（client/contact.php）
   ========================================== */
.contact-form-box {
    margin-top: 2rem;
    padding: 3rem 0;
    border-top: 1px solid #1a252f;
}

/* ラベルのスタイル */
.form-label-custom {
    font-size: 0.9rem;
    font-weight: bold;
    color: #1a252f;
    margin-bottom: 0;
}

/* 必須バッジ */
.badge-required {
    background-color: #cbb09b;
    /* ゴールド */
    color: #fff;
    font-size: 0.6rem;
    padding: 0.2rem 0.5rem;
    margin-left: 8px;
    vertical-align: middle;
}

/* 入力欄のカスタマイズ */
.form-control-custom {
    border-radius: 0;
    border: 1px solid #e0e0e0;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: 0.3s;
}

.form-control-custom:focus {
    border-color: #1a252f;
    box-shadow: none;
    background-color: #fcfcfc;
}

/* --- 送信ボタン：ゴールド背景・上品なホバー --- */
.btn-submit {
    background-color: #cbb09b !important;
    /* ベースのゴールド */
    color: #ffffff !important;
    /* 文字は白 */
    border: 1px solid #cbb09b;
    /* 最初から背景と同じ色の枠線を持たせる */
    border-radius: 0;
    padding: 1.2rem 6rem;
    font-weight: bold;
    font-size: 1.1rem;
    letter-spacing: 0.2rem;
    transition: all 0.4s ease;
    /* 少しゆっくり変化させて優雅に */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    display: inline-block;
    cursor: pointer;
}

/* ホバー時：ブランドカラーを使わず、ゴールドのトーンを落とす */
.btn-submit:hover {
    background-color: #b89a82 !important;
    /* 少しだけ濃いベージュゴールド */
    border-color: #b89a82;
    color: #ffffff !important;
    transform: translateY(-2px);
    /* わずかに浮かせる */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

/* クリックした瞬間 */
.btn-submit:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}




/* スマホ対応 */
@media (max-width: 767px) {
    .form-label-custom {
        margin-bottom: 0.5rem;
        display: block;
    }

    .btn-submit {
        width: 100%;
        padding: 1.2rem 1rem;
        letter-spacing: 0.1rem;
    }

    .form-control-custom.w-75,
    .form-control-custom.w-50 {
        width: 100% !important;
    }
}

/* ==========================================
   3-F. サービスラインナップ（service.php）
   ========================================== */

/* サービスごとのセクション余白 */
.service-item-row {
    margin-bottom: 6rem;
}

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

/* リード文（太字のキャッチコピー） */
.service-lead-copy {
    font-size: 1.15rem;
    color: #1a252f;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-weight: bold;
}

/* 注釈テキスト（※） */
.service-notes {
    border-top: 1px dashed #eee;
    padding-top: 1rem;
    margin-top: 1.5rem;
}

.service-notes p {
    font-size: 0.8rem;
    color: #95a5a6;
    margin-bottom: 0.3rem;
    position: relative;
    padding-left: 1rem;
}

.service-notes p::before {
    content: "※";
    position: absolute;
    left: 0;
}

/* ==========================================
   3-G. 安心のサポート体制（support.php）
   ========================================== */

/* サポート項目の外枠 */
.support-item-box {
    margin-top: 1rem;
    border-top: 1px solid #1a252f;
    /* 濃紺の細線 */
    padding: 4rem 0;
    margin-bottom: 2rem;
}

/* サポート内容の見出し */
.support-h5 {
    font-size: 1.3rem;
    font-weight: bold;
    color: #1a252f;
    margin-bottom: 1.5rem;
}

/* 画像の微調整（柔らかい印象に） */
.support-img-wrap img {
    border-radius: 2px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* リード文の強調 */
.support-lead {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333d47;
}

/* スマホ対応 */
@media (max-width: 767px) {
    .support-item-box {
        padding: 2.5rem 0;
    }

    .support-h5 {
        text-align: center;
    }
}

/* ==========================================
   3-H. 対応職種（client/type.php）
   ========================================== */

/* 職種カテゴリのボックス */
.type-item-box {
    margin-top: 1rem;
    border-top: 1px solid #1a252f;
    /* 濃紺の細線 */
    padding: 3rem 0;
    margin-bottom: 2rem;
}

/* カテゴリ見出し */
.type-category-h5 {
    font-size: 1.2rem;
    font-weight: bold;
    color: #1a252f;
    padding-left: 0.5rem;
}

/* 職種名のラベル（対応職種という文字） */
.type-label-small {
    font-size: 0.75rem;
    font-weight: bold;
    color: #cbb09b;
    /* ゴールド */
    letter-spacing: 0.1rem;
    display: block;
    margin-bottom: 0.8rem;
}

/* 職種一覧のテキスト */
.type-list-text {
    font-size: 0.95rem;
    line-height: 2;
    color: #333d47;
}

/* スラッシュ（/）の色だけ変えるための設定 */
.type-list-text span.divider {
    color: #cbb09b;
    margin: 0 0.5rem;
    font-weight: normal;
}

/* スマホ対応 */
@media (max-width: 767px) {
    .type-item-box {
        padding: 2rem 0;
    }

    .type-category-h5 {
        text-align: center;
        margin-bottom: 1rem;
    }
}

/* ==========================================
   3-I. あなたらしいお仕事提案（feature/matching.php）
   ========================================== */

/* 派遣スタッフの声：セクション見出し */
.speech-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 4rem 0 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #1a252f;
}

.speech-title-wrap img {
    width: 30px;
    height: auto;
}

/* 吹き出しカード全体の構造 */
.testimonial-card {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

/* アバター（丸型で洗練された印象に） */
.testimonial-card .avatar {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.testimonial-card .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 吹き出し本体 */
.bubble {
    position: relative;
    padding: 1.5rem 2rem;
    background-color: #f8f9fa;
    /* 薄いグレー */
    border-radius: 10px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #333d47;
    max-width: 75%;
}

/* 左吹き出しの三角 */
.bubble--left {
    margin-left: 20px;
}

.bubble--left::before {
    content: "";
    position: absolute;
    top: 25px;
    left: -10px;
    border-style: solid;
    border-width: 10px 10px 10px 0;
    border-color: transparent #f8f9fa transparent transparent;
}

/* 右吹き出しの三角 */
.bubble--right {
    margin-right: 20px;
    background-color: #f2ede9;
    /* 少しゴールド寄りのベージュ */
}

.bubble--right::before {
    content: "";
    position: absolute;
    top: 25px;
    right: -10px;
    border-style: solid;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent #f2ede9;
}

/* スマホ対応 */
@media (max-width: 767px) {
    .testimonial-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .bubble {
        max-width: 100%;
        margin: 20px 0 0 0;
    }

    .bubble--left::before,
    .bubble--right::before {
        display: none;
    }

    /* スマホでは三角を消してスッキリ */
    .testimonial-card .avatar {
        width: 70px;
        height: 70px;
    }
}

/* ==========================================
   3-J. フォローアップ体制（feature/followup.php）
   ========================================== */

/* 項目ごとの外枠（3-Gと共通の考え方） */
.followup-item-box {
    margin-top: 1rem;
    border-top: 1px solid #1a252f;
    /* 濃紺の細線 */
    padding: 4rem 0;
    margin-bottom: 2rem;
}

/* 項目見出し */
.followup-h5 {
    font-size: 1.25rem;
    font-weight: bold;
    color: #1a252f;
    padding-left: 0.5rem;
}

/* 画像エリアの装飾 */
.followup-img-wrap img {
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

/* スマホ対応 */
@media (max-width: 767px) {
    .followup-item-box {
        padding: 2.5rem 0;
    }

    .followup-h5 {
        text-align: center;
    }
}

/* ==========================================
   3-K. 正社員登用支援（feature/support.php）
   ========================================== */

/* 項目ごとの外枠（3-G, 3-Jと共通） */
.support-path-box {
    margin-top: 1rem;
    border-top: 1px solid #1a252f;
    /* 濃紺の細線 */
    padding: 4rem 0;
    margin-bottom: 2rem;
}

/* 項目見出し */
.support-path-h5 {
    font-size: 1.25rem;
    font-weight: bold;
    color: #1a252f;
    padding-left: 0.5rem;
}

/* 詳細へのリンク（ゴールドのアンダーライン） */
.support-detail-link {
    display: inline-flex;
    align-items: center;
    color: #333d47;
    font-weight: bold;
    font-size: 0.9rem;
    text-decoration: none;
    margin-top: 1.5rem;
    padding-bottom: 3px;
    border-bottom: 1px solid #cbb09b;
    /* ゴールドの下線 */
    transition: 0.3s;
}

.support-detail-link i {
    color: #cbb09b;
    margin-right: 8px;
    font-size: 0.8rem;
}

.support-detail-link:hover {
    color: #cbb09b;
    opacity: 0.8;
}

/* スマホ対応 */
@media (max-width: 767px) {
    .support-path-box {
        padding: 2.5rem 0;
    }

    .support-path-h5 {
        text-align: center;
    }
}

/* ==========================================
   3-L. 福利厚生・その他制度（feature/welfare.php）
   ========================================== */

/* 保険・休暇・制度の共通ボックス */
.welfare-item-box {
    margin-top: 1rem;
    border-top: 1px solid #1a252f;
    /* 濃紺の細線 */
    padding: 3rem 0;
    margin-bottom: 2rem;
}

/* 各種保険のミニマルテーブル */
.table-welfare {
    width: 100%;
    margin-top: 1.5rem;
    border-collapse: separate;
    border-spacing: 0;
}

.table-welfare th {
    background-color: #fcfcfc;
    color: #1a252f;
    font-weight: bold;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    width: 25%;
}

.table-welfare td {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Happy system 特有の見出し */
.happy-system-title {
    font-family: serif;
    font-size: 1.8rem;
    color: #cbb09b;
    /* ゴールド */
    text-align: center;
    margin: 5rem 0 1rem;
    letter-spacing: 0.1rem;
}

/* スマホ対応 */
@media (max-width: 767px) {
    .table-welfare th {
        width: 35%;
        padding: 1rem;
        font-size: 0.85rem;
    }

    .table-welfare td {
        padding: 1rem;
        font-size: 0.8rem;
    }

    .happy-system-title {
        font-size: 1.4rem;
    }
}

/* ==========================================
   3-M. 派遣の用語集（guide/glossary.php）
   ========================================== */

/* アコーディオンの親ボタン：クリック領域を広く、都会的に */
.glossary-button {
    width: 100%;
    text-align: left;
    background: #fcfcfc;
    border: 1px solid #eee;
    padding: 1.2rem 2rem;
    font-weight: bold;
    color: #1a252f;
    transition: 0.3s;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.glossary-button:not(.collapsed) {
    background-color: #1a252f;
    color: #fff;
}

/* 用語インデックスのリンク集 */
.glossary-b-content {
    margin-bottom: 2rem;
}

.glossary-index-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1.5rem 0 1rem 2rem;
    background: #fff;
    border: 1px solid #eee;
    border-top: none;
}

.glossary-a {
    font-size: 0.85rem;
    color: #333d47;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
}

.glossary-a i {
    color: #cbb09b;
    margin-right: 5px;
    font-size: 0.7rem;
}

.glossary-a:hover {
    color: #cbb09b;
    border-bottom-color: #cbb09b;
}

/* 用語の詳細解説エリア */
.category-content {
    padding: 2.5rem;
    background-color: #fff;
    border-left: 2px solid #cbb09b;
    /* 左側のゴールドアクセント */
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.howto-theme {
    font-size: 1.1rem;
    color: #1a252f;
    font-weight: bold;
    margin-bottom: 1rem !important;
    display: flex;
    align-items: center;
}

.howto-theme i {
    color: #cbb09b;
    margin-right: 10px;
}

.category-content p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #444;
}

/* リンクボタンの微調整 */
.glossary-link-btn {
    display: inline-flex;
    align-items: center;
    color: #1a252f;
    font-weight: bold;
    font-size: 0.85rem;
    margin-top: 1rem;
    text-decoration: underline;
}

.glossary-link-btn i {
    color: #cbb09b;
    margin-right: 5px;
}

@media (max-width: 767px) {
    .glossary-index-wrap {
        padding: 1rem;
    }

    .category-content {
        padding: 1.5rem;
    }
}

/* ==========================================
   3-N. 派遣のHowTo（guide/howto.php）
   ========================================== */

/* カテゴリごとの区切り */
.category-section {
    border-bottom: 1px solid #eee;
    padding: 0.5rem 0;
}

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

/* アコーディオンのメインボタン */
.category-button {
    width: 100%;
    text-align: left;
    background: #fcfcfc;
    border: 1px solid #eee;
    padding: 1.2rem 2rem;
    font-weight: bold;
    color: #1a252f;
    transition: 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-button:not(.collapsed) {
    background-color: #1a252f;
    color: #fff;
    border-color: #1a252f;
}

/* 開閉アイコンの擬似要素（+ / -） */
.category-button::after {
    content: "+";
    font-size: 1.5rem;
    font-weight: normal;
}

.category-button:not(.collapsed)::after {
    content: "−";
}

/* 個別のQ&A（コンテンツ）エリア */
.category-content {
    padding: 2.5rem;
    background-color: #fff;
    border-left: 2px solid #cbb09b;
    /* ゴールドのアクセントライン */
    margin: 1.5rem 0 1.5rem 2rem;
}

/* 質問（テーマ）の見出し */
.howto-theme {
    font-size: 1.1rem;
    color: #1a252f;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 0.8rem;
    margin-bottom: 1.2rem !important;
}

.howto-theme i {
    color: #cbb09b;
    margin-right: 10px;
}

/* 番号付きリストの装飾 */
.category-content ol {
    counter-reset: howto-counter;
    list-style: none;
}

.category-content ol li {
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 1.5rem;
}

.category-content ol li::before {
    counter-increment: howto-counter;
    content: counter(howto-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 1.8rem;
    height: 1.8rem;
    background: #1a252f;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    border-radius: 50%;
}

/* 注釈・スモールテキスト */
.category-content small {
    color: #95a5a6;
    display: block;
    margin-top: 0.5rem;
}

/* スマホ対応 */
@media (max-width: 767px) {
    .category-content {
        margin-left: 0;
        padding: 1.5rem 1rem;
    }

    .category-button {
        padding: 1rem;
    }
}

/* ==========================================
   3-O. 製造の用語集（guide/manufacture-glossary.php）
   ========================================== */

/* カテゴリ（業務・機械・その他）の区切り */
.category-section {
    border-bottom: 1px solid #eee;
    padding: 0.5rem 0;
}

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

/* アコーディオンのメインボタン */
.glossary-button {
    width: 100%;
    text-align: left;
    background: #fcfcfc;
    border: 1px solid #eee;
    padding: 1.2rem 2rem;
    font-weight: bold;
    color: #1a252f;
    transition: 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.glossary-button:not(.collapsed) {
    background-color: #1a252f;
    color: #fff;
    border-color: #1a252f;
}

.glossary-button::after {
    content: "+";
    font-size: 1.5rem;
    font-weight: normal;
}

.glossary-button:not(.collapsed)::after {
    content: "−";
}

/* 用語インデックスのリンクエリア */
.glossary-b-content .me-5 {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    padding: 1.5rem 0 1rem 2rem;
    background: #fff;
    border: 1px solid #eee;
    border-top: none;
}

.glossary-a {
    font-size: 0.85rem;
    color: #333d47;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
}

.glossary-a i {
    color: #cbb09b;
    margin-right: 5px;
    font-size: 0.7rem;
}

.glossary-a:hover {
    color: #cbb09b;
    border-bottom-color: #cbb09b;
}

/* 用語の詳細解説エリア */
.category-content {
    padding: 2.5rem;
    background-color: #fff;
    border-left: 2px solid #cbb09b;
    /* ゴールドアクセント */
    margin: 1.5rem 0 1.5rem 2rem;
}

/* ガイド本文内のリンクスタイル */
.category-content a {
    color: #23374a;
    font-weight: bold;
    text-decoration: none;
    border-bottom: 1.5px dotted #cbb09b;
    /* ゴールドの点線 */
    padding-bottom: 1px;
    position: relative;
}

.category-content a:hover {
    color: #cbb09b;
    border-bottom-style: solid;
    /* ホバーで実線に */
}

.howto-theme {
    font-size: 1.1rem;
    color: #1a252f;
    font-weight: bold;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 0.8rem;
    margin-bottom: 1.2rem !important;
}

.howto-theme i {
    color: #cbb09b;
    margin-right: 10px;
}



/* スマホ対応 */
@media (max-width: 767px) {
    .glossary-b-content .me-5 {
        padding: 1rem;
    }

    .category-content {
        margin-left: 0;
        padding: 1.5rem 1rem;
    }
}

/* ==========================================
   3-P. 会社概要（company.php）
   ========================================== */

/* 会社概略セクションの見出し */
.company-section-h5 {
    font-size: 1.25rem;
    font-weight: bold;
    color: #1a252f;
    border-bottom: 1px solid #1a252f;
    /* 濃紺の細線 */
    padding-bottom: 0.8rem;
    margin-bottom: 2.5rem;
}

/* 会社概要テーブルのカスタム */
.table-company {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 3rem;
}

.table-company th {
    background-color: #fcfcfc;
    color: #1a252f;
    font-weight: bold;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
    width: 25%;
}

.table-company td {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    line-height: 1.6;
    color: #333d47;
}

/* 関連会社のリンク（ゴールドの下線） */
.table-company td a {
    color: #1a252f;
    text-decoration: none;
    border-bottom: 1px solid #cbb09b;
    transition: 0.3s;
}

.table-company td a:hover {
    color: #cbb09b;
    opacity: 0.8;
}

/* Googleマップコンテナ */
.map-container {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    /* 角を少し丸める */
    background-color: #eee;
    line-height: 0;
    /* 下にできる微妙な隙間を解消 */
    border: 1px solid #eee;
}

.map-container iframe {
    display: block;
    width: 100%;
}

/* スマホ対応 */
@media (max-width: 767px) {
    .table-company th {
        width: 35%;
        padding: 1rem;
        font-size: 0.9rem;
    }

    .table-company td {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .map-container iframe {
        height: 300px;
    }
}

/* ==========================================
   3-P. 一般お問い合わせフォーム（contact.php）
   ========================================== */
/* --- お問い合わせフォーム共通スタイル --- */
.contact-section-h5 {
    font-size: 1.25rem;
    font-weight: bold;
    color: #1a252f;
    border-bottom: 1px solid #1a252f;
    /* 濃紺の細線 */
    padding-bottom: 0.8rem;
    margin-bottom: 2.5rem;
}

/* フォームのラベル列 */
.form-label-col {
    background-color: #fcfcfc;
    padding: 1.5rem !important;
    border-bottom: 1px solid #eee;
    font-weight: bold;
    color: #1a252f;
}

/* フォームの入力列 */
.form-input-col {
    padding: 1.2rem 1.5rem !important;
    border-bottom: 1px solid #eee;
}

/* 入力フィールドのカスタマイズ */
.form-control.input-s {
    border-radius: 0;
    border: 1px solid #dee2e6;
    padding: 0.75rem;
}

.form-control.input-s:focus {
    border-color: #cbb09b;
    box-shadow: 0 0 0 0.2rem rgba(203, 176, 155, 0.15);
}

/* 電話番号セクションの装飾 */
.tel-display-box {
    padding: 3rem 0;
    text-align: center;
}

.tel-number-large {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1a252f;
    letter-spacing: 0.1rem;
}

.tel-label-gold {
    color: #cbb09b;
    font-weight: bold;
    margin-right: 15px;
}

/* スマホ対応 */
@media (max-width: 767px) {
    .form-label-col {
        border-bottom: none;
        padding-bottom: 0.5rem !important;
    }

    .form-input-col {
        padding-top: 0.5rem !important;
    }

    .tel-number-large {
        font-size: 1.8rem;
    }
}

/* ==========================================
   3-Q. よくある質問（faq.php）
   ========================================== */

/* カテゴリ大枠のボタン（登録について 等） */
.category-button {
    width: 100%;
    text-align: left;
    background: #fcfcfc;
    border: 1px solid #eee;
    padding: 1.2rem 2rem;
    font-weight: bold;
    color: #1a252f;
    transition: 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-button:not(.collapsed) {
    background-color: #1a252f;
    color: #fff;
}

/* アコーディオン内部のQ&Aアイテム */
.category-content .accordion-item {
    border: none;
    border-bottom: 1px solid #eee;
}

/* 質問（Q）部分 */
.category-content .accordion-button {
    padding: 1.5rem 1rem;
    background-color: #fff !important;
    color: #1a252f !important;
    box-shadow: none !important;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.category-content .faq-icon {
    width: 24px;
    height: auto;
    margin-right: 15px;
}

/* アイコンの白抜き（Qの部分） */
.filter-white {
    filter: brightness(0) saturate(100%) invert(11%) sepia(21%) saturate(1054%) hue-rotate(164deg) brightness(96%) contrast(93%);
}

/* 回答（A）部分 */
.category-content .accordion-body {
    padding: 1.5rem 1rem 2.5rem 3.5rem;
    /* アイコンの幅に合わせて調整 */
    background-color: #fcfcfc;
    line-height: 1.8;
}

/* FAQ内のリスト装飾 */
.category-content .accordion-body ol,
.category-content .accordion-body ul {
    margin-top: 1rem;
    padding-left: 1.5rem;
}

.category-content .accordion-body li {
    margin-bottom: 0.8rem;
}

/* よくある質問内のリンク色をゴールドに変更 */
.accordion-body a {
    color: #cbb09b !important;
    /* サイト共通のゴールド */
    text-decoration: underline;
    /* リンクと分かるように下線 */
    font-weight: bold;
}

.accordion-body a:hover {
    color: #b09680 !important;
    /* ホバー時は少し濃く */
    text-decoration: none;
}

/* スマホ対応 */
@media (max-width: 767px) {
    .category-content .accordion-body {
        padding: 1.5rem;
    }
}

/* ==========================================
   3-R. 個人情報保護方針（privacy.php）
   ========================================== */

/* 記事エリアのコンテナ */
.policy-card {
    background-color: #fff;
    padding: 4rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    border: 1px solid #f0f0f0;
    margin-bottom: 5rem;
}

/* メイン見出し */
.policy-main-h1 {
    font-size: 1.75rem;
    font-weight: bold;
    color: #1a252f;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: 0.1rem;
}

/* 中見出し（取り扱いについて） */
.policy-h2 {
    font-size: 1.4rem;
    font-weight: bold;
    color: #1a252f;
    border-left: 4px solid #cbb09b;
    /* ゴールドのアクセント */
    padding-left: 1.2rem;
    margin-top: 4rem;
    margin-bottom: 1.5rem;
}

/* 小見出し（①利用目的 など） */
.policy-h3 {
    font-size: 1.1rem;
    font-weight: bold;
    color: #1a252f;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* 本文テキスト */
.policy-card p,
.policy-card li {
    font-size: 0.95rem;
    line-height: 1.9;
    color: #444;
}

/* 窓口ボックス */
.contact-window-box {
    background-color: #fcfcfc;
    border: 1px solid #eee;
    padding: 2rem;
    margin-top: 4rem;
}

/* スマホ対応 */
@media (max-width: 767px) {
    .policy-card {
        padding: 2rem 1.5rem;
    }

    .policy-main-h1 {
        font-size: 1.4rem;
    }
}

/* ==========================================
   3-S. はじめての方（beginner/index.php）
   ========================================== */

/* カード全体のコンテナ */
.beginner-nav-card {
    display: block;
    height: 100%;
    padding: 0;
    background-color: #fff;
    border: 1px solid #eee;
    /* 薄い境界線 */
    text-decoration: none !important;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* ホバー時の挙動 */
.beginner-nav-card:hover {
    border-color: #cbb09b;
    /* ゴールドに変化 */
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* 画像エリア */
.beginner-nav-img-wrap {
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.beginner-nav-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.beginner-nav-card:hover .beginner-nav-img-wrap img {
    transform: scale(1.05);
    /* わずかにズーム */
}

/* テキストエリア */
.beginner-nav-body {
    padding: 2rem 1.5rem;
    text-align: center;
}

.beginner-nav-body h4 {
    font-size: 1.2rem;
    font-weight: bold;
    color: #1a252f;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

/* タイトルの下の装飾線 */
.beginner-nav-body h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 1px;
    background-color: #cbb09b;
}

.beginner-nav-body p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 0;
    text-align: left;
    /* 説明文は左寄せで読みやすく */
}

/* スマホ対応 */
@media (max-width: 767px) {
    .beginner-nav-body {
        padding: 1.5rem 1rem;
    }
}

/* ==========================================
   3-T. 共通インデックスカード（index-nav-card）
   ========================================== */

/* クラス名を汎用的なものに変更 */
.index-nav-card {
    display: block;
    height: 100%;
    padding: 0;
    background-color: #fff;
    border: 1px solid #eee;
    text-decoration: none !important;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.index-nav-card:hover {
    border-color: #cbb09b;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.index-nav-img-wrap {
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.index-nav-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.index-nav-card:hover .index-nav-img-wrap img {
    transform: scale(1.05);
}

.index-nav-body {
    padding: 2rem 1.5rem;
    text-align: center;
}

.index-nav-body h4 {
    font-size: 1.2rem;
    font-weight: bold;
    color: #1a252f;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.index-nav-body h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 1px;
    background-color: #cbb09b;
}

.index-nav-body p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 0;
    text-align: left;
}

@media (max-width: 767px) {
    .index-nav-body {
        padding: 1.5rem 1rem;
    }
}

/* ==========================================
   3-V. 派遣まるわかりガイド（guide/index.php）
   ========================================== */

/* セクション見出しの装飾 */
.guide-category-h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1a252f;
    margin: 4rem 0 2rem;
    display: flex;
    align-items: center;
}

.guide-category-h3 i {
    color: #cbb09b;
    /* ゴールド */
    margin-right: 12px;
}

/* ガイドカード本体 */
.guide-nav-card {
    display: block;
    height: 100%;
    background-color: #fff;
    border: 1px solid #eee;
    text-decoration: none !important;
    transition: all 0.4s ease;
    padding-bottom: 1.5rem;
}

.guide-nav-card:hover {
    border-color: #cbb09b;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* カード内タイトル */
.guide-nav-card h4 {
    font-size: 1.15rem;
    font-weight: bold;
    color: #1a252f;
    margin: 1.5rem 0 1rem;
    text-align: center;
}

/* カード内リストリンク */
.guide-sub-list {
    padding: 0 1.5rem;
}

.guide-sub-list a {
    display: block;
    font-size: 0.85rem;
    color: #666;
    padding: 0.5rem 0;
    text-decoration: none;
    border-bottom: 1px solid #f9f9f9;
    transition: 0.3s;
}

.guide-sub-list a:last-child {
    border-bottom: none;
}

.guide-sub-list a:hover {
    color: #cbb09b;
    padding-left: 5px;
}

.guide-sub-list a i {
    color: #cbb09b;
    margin-right: 6px;
    font-size: 0.7rem;
}

/* 用語集カード（オーバーレイタイプ） */
.glossary-card {
    position: relative;
    overflow: hidden;
}

.custom-overlay {
    background: rgba(26, 37, 47, 0.6);
    /* 濃紺の半透明 */
    transition: 0.4s;
}

.guide-nav-card:hover .custom-overlay {
    background: rgba(26, 37, 47, 0.4);
}

.glossary-card h4 {
    color: #fff;
    margin: 0;
    font-size: 1.4rem;
    letter-spacing: 0.1rem;
}

@media (max-width: 767px) {
    .guide-nav-card {
        margin-bottom: 1rem;
    }
}

/* ==========================================
   3-W. お問い合わせ完了（contact-thanks.php）
   ========================================== */

.thanks-container {
    padding: 6rem 0;
    max-width: 700px;
    margin: 0 auto;
}

/* 完了アイコン（ゴールド） */
.thanks-icon {
    font-size: 5rem;
    color: #cbb09b;
    /* ゴールド */
    margin-bottom: 2rem;
    display: inline-block;
}

/* 完了メッセージ見出し */
.thanks-h2 {
    font-size: 1.75rem;
    font-weight: bold;
    color: #1a252f;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05rem;
}

/* 本文テキスト */
.thanks-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 2rem;
}

/* 注釈エリア */
.thanks-notice {
    background-color: #fcfcfc;
    border: 1px solid #eee;
    padding: 1.5rem;
    color: #888;
    font-size: 0.85rem;
    line-height: 1.6;
}

/* 戻るボタン（以前作成した btn-submit の色違い版） */
.btn-back-home {
    display: inline-block;
    padding: 1rem 4rem;
    background-color: #1a252f;
    color: #fff !important;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
    border: none;
}

.btn-back-home:hover {
    background-color: #cbb09b;
    transform: translateY(-2px);
}

/* ==========================================
   3-X. ニュース一覧（news.php）
   ========================================== */

.news-list-page {
    max-width: 900px;
    margin: 0 auto;
}

/* 一覧の各アイテム */
.news-list-item {
    display: flex;
    align-items: center;
    padding: 2rem 1rem;
    border-bottom: 1px solid #eee;
    text-decoration: none !important;
    transition: 0.3s;
}

.news-list-item:hover {
    background-color: #fcfcfc;
}

/* 日付 */
.news-list-date {
    font-size: 0.9rem;
    color: #999;
    min-width: 120px;
    font-family: 'Inter', sans-serif;
    /* 数字を綺麗に見せる */
}

/* カテゴリラベル */
.news-list-category {
    font-size: 0.7rem;
    font-weight: bold;
    color: #fff;
    background-color: #1a252f;
    /* 濃紺 */
    padding: 3px 12px;
    margin: 0 2rem;
    border-radius: 2px;
    white-space: nowrap;
    transition: 0.3s;
}

.news-list-item:hover .news-list-category {
    background-color: #cbb09b;
    /* ホバーでゴールドに */
}

/* タイトル */
.news-list-title {
    font-size: 1rem;
    color: #1a252f;
    flex: 1;
    line-height: 1.6;
}

/* スマホ対応 */
@media (max-width: 767px) {
    .news-list-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem 1rem;
    }

    .news-list-category {
        margin: 0.8rem 0;
    }

    .news-list-date {
        min-width: auto;
    }
}

/* ==========================================
   3-Y. ニュース詳細（news-detail.php）
   ========================================== */

.news-detail-container {
    max-width: 800px;
    margin: 0 auto;
}

/* 記事タイトル */
.news-detail-title {
    font-size: 2rem;
    font-weight: bold;
    color: #1a252f;
    line-height: 1.4;
    margin-bottom: 1.5rem;
}

/* 日付とカテゴリのラッパー */
.news-detail-meta {
    display: flex;
    align-items: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

/* 日付 */
.news-detail-date {
    font-size: 0.9rem;
    color: #999;
    font-family: 'Inter', sans-serif;
    margin-right: 1.5rem;
    white-space: nowrap;
}

/* カテゴリラベル */
.news-detail-category {
    font-size: 0.75rem;
    font-weight: bold;
    color: #fff;
    background-color: #1a252f;
    /* 濃紺 */
    padding: 4px 14px;
    border-radius: 2px;
    white-space: nowrap;
}

/* 記事本文 */
.news-detail-body p {
    font-size: 1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 1.5rem;
}

.news-detail-body h4 {
    font-size: 1.25rem;
    font-weight: bold;
    color: #1a252f;
    margin-top: 3rem;
    margin-bottom: 1.2rem;
    border-left: 4px solid #cbb09b;
    /* 左側のゴールドライン */
    padding-left: 15px;
}

.news-detail-body ul {
    list-style-type: disc;
    padding-left: 25px;
    margin-bottom: 1.5rem;
}

.news-detail-body ul li {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 0.5rem;
}

/* 戻るボタン */
.news-back-btn {
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
    font-weight: bold;
    color: #1a252f;
    text-decoration: none;
    margin-top: 4rem;
    transition: 0.3s;
}

.news-back-btn i {
    font-size: 1rem;
    margin-right: 8px;
    color: #cbb09b;
}

.news-back-btn:hover {
    color: #cbb09b;
    padding-left: 5px;
}

/* スマホ対応 */
@media (max-width: 767px) {
    .news-detail-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .news-detail-meta {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 2rem;
        padding-bottom: 1rem;
    }

    .news-detail-date {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }

    .news-detail-category {
        margin-left: 0;
    }

    .news-detail-body h4 {
        font-size: 1.1rem;
        padding-left: 10px;
    }
}

/* ==========================================
   4. レスポンシブ（スマホ対応）
   ========================================== */
@media (max-width: 767px) {

    /* 共通 */
    .chapter-nav {
        flex-wrap: wrap;
    }

    .chapter-nav a {
        flex: 0 0 50%;
        border: 0.5px solid #f0f0f0;
        padding: 0.8rem 0;
        font-size: 0.75rem;
    }

    .section-padding {
        padding: 3rem 0;
    }

    /* トップページ */
    .main-visual {
        padding: 4rem 0;
        text-align: center;
    }

    .search-outer-box {
        padding: 3rem 1rem;
    }

    .search-card-container {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .search-card {
        width: 100%;
        max-width: none;
        padding: 2.5rem 1rem;
    }

    .content-item {
        height: 80px;
        padding: 0 1rem;
    }

    /* 詳細ページ */
    .table-luxury tbody th {
        width: 35%;
        font-size: 0.85rem;
        padding: 1rem;
    }

    .table-luxury tbody td {
        padding: 1rem;
        font-size: 0.85rem;
    }

    .page-title-block {
        padding: 2rem 0;
    }
}