/*
Theme Name: Seirakuen Custom Theme
Theme URI: https://www.seirakuen.site/
Author: Takaya Yokoyama
Description: 特別養護老人ホーム清楽園 公式カスタムテーマ（山水園スタイル和モダン・自動リンク連携完全版）
Version: 4.2
Text Domain: seirakuen-custom
*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Shippori+Mincho:wght@500;600;700&display=swap');

:root {
    --primary: #2E5A44;
    --primary-mid: #3F7358;
    --primary-pale: #EBF2EE;
    --accent-gold: #B88435;
    --accent-gold-light: #F4E6CE;
    --warm-coral: #D96B43;
    --bg-cream: #FAF8F3;
    --bg-sand: #F2EFE7;
    --text-main: #2E2924;
    --text-sub: #5E564E;
    --border-soft: rgba(46, 90, 68, 0.14);
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
    background-color: var(--bg-cream);
    color: var(--text-main);
    line-height: 1.85;
    letter-spacing: 0.04em;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.28s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mincho {
    font-family: 'Shippori Mincho', 'Yu Mincho', 'Hiragino Mincho ProN', serif;
    letter-spacing: 0.08em;
}

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

.container-narrow {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================================================
   ヘッダー（2行会社名＋1行ナビゲーション＋MENUドロワー）
========================================================================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-soft);
    box-shadow: 0 3px 16px rgba(46, 41, 36, 0.05);
}

.header-top-bar {
    display: none;
    background-color: var(--primary);
    color: #ffffff;
    font-size: 12px;
}

@media (min-width: 960px) {
    .header-top-bar {
        display: block;
    }
}

.header-top-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 6px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-links {
    display: flex;
    align-items: center;
    gap: 14px;
}

.top-bar-links a:hover {
    text-decoration: underline;
    color: var(--accent-gold-light);
}

.top-bar-sep {
    opacity: 0.35;
}

.header-main {
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.brand-logo-img {
    max-height: 44px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.brand-emblem {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 100%);
    color: var(--accent-gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    font-weight: 700;
    border: 1.5px solid var(--accent-gold);
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    white-space: nowrap;
}

.brand-corp {
    display: block;
    font-size: 10.5px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.05em;
    line-height: 1.25;
}

.brand-name {
    display: block;
    font-size: 21px;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.18;
    letter-spacing: 0.16em;
    margin-top: 2px;
}

@media (min-width: 640px) {
    .brand-name {
        font-size: 24px;
    }
}

.main-nav {
    display: none;
}

@media (min-width: 960px) {
    .main-nav {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: center;
        gap: 14px;
        font-size: 13px;
        font-weight: 700;
    }
}

@media (min-width: 1180px) {
    .main-nav {
        gap: 22px;
        font-size: 14px;
    }
}

.main-nav a {
    padding: 8px 2px;
    position: relative;
    white-space: nowrap;
    color: var(--text-main);
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
    color: var(--primary);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.btn-header-recruit {
    display: none;
    padding: 8px 14px;
    border: 1.5px solid var(--primary);
    color: var(--primary);
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 700;
    white-space: nowrap;
}

.btn-header-recruit:hover {
    background: var(--primary);
    color: #ffffff;
}

.btn-header-contact {
    display: none;
    padding: 9px 16px;
    background: linear-gradient(135deg, var(--warm-coral) 0%, #c05832 100%);
    color: #ffffff;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(217, 107, 67, 0.28);
}

.btn-header-contact:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(217, 107, 67, 0.38);
}

@media (min-width: 640px) {
    .btn-header-recruit {
        display: inline-flex;
        align-items: center;
    }
}

@media (min-width: 768px) {
    .btn-header-contact {
        display: inline-flex;
        align-items: center;
    }
}

.menu-toggle-btn {
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 10px;
    background: var(--primary);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-shrink: 0;
}

.menu-toggle-btn:hover {
    background: #224433;
}

.menu-bars {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.menu-bars span {
    display: block;
    width: 20px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
}

.menu-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

/* =========================================================================
   全画面MENUドロワー
========================================================================= */
.global-drawer {
    position: fixed;
    inset: 0;
    z-index: 990;
    background: rgba(250, 248, 243, 0.98);
    backdrop-filter: blur(12px);
    padding: 112px 20px 48px;
    overflow-y: auto;
    display: none;
}

.global-drawer.is-open {
    display: block;
}

.drawer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .drawer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.drawer-box {
    background: #ffffff;
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.drawer-box h3 {
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 1.5px solid var(--primary-pale);
    font-size: 17px;
    color: var(--primary);
}

.drawer-box li + li {
    margin-top: 10px;
}

.drawer-box a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    padding: 4px 0;
}

.drawer-box a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.drawer-cta-bar {
    background: var(--primary);
    color: #ffffff;
    border-radius: 16px;
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media (min-width: 768px) {
    .drawer-cta-bar {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

/* =========================================================================
   共通ボタン・見出しパーツ
========================================================================= */
.btn-pill-green {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--primary);
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(24, 52, 38, 0.32);
}

.btn-pill-green:hover {
    background: var(--primary-mid);
    transform: translateY(-2px);
}

.btn-pill-warm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--warm-coral) 0%, #c05832 100%);
    color: #ffffff;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(217, 107, 67, 0.35);
}

.btn-pill-warm:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(217, 107, 67, 0.45);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--primary);
    color: #ffffff;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
}

.btn-primary:hover {
    background: #224433;
    transform: translateY(-1px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: #ffffff;
    color: var(--primary);
    border: 1.5px solid var(--primary);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
}

.btn-secondary:hover {
    background: var(--primary);
    color: #ffffff;
}

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

.section-header-center {
    text-align: center;
    margin-bottom: 48px;
}

.section-en {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-gold);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.section-title-center {
    margin: 0;
    font-size: 30px;
    font-weight: 700;
    color: var(--text-main);
    position: relative;
    display: inline-block;
    padding-bottom: 14px;
}

@media (min-width: 768px) {
    .section-title-center {
        font-size: 36px;
    }
}

.section-title-center::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 2.5px;
    background: linear-gradient(90deg, var(--primary), var(--accent-gold));
}

/* =========================================================================
   メインビジュアル（元サイトスライド5枚＋和風縦書き）
========================================================================= */
.hero-section {
    position: relative;
    width: 100%;
    height: 84vh;
    min-height: 560px;
    max-height: 820px;
    margin-top: 66px;
    overflow: hidden;
    background: #1E3529;
}

@media (min-width: 960px) {
    .hero-section {
        margin-top: 98px;
    }
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 1.5s ease-in-out, transform 6.5s ease-out;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(24, 46, 35, 0.84) 0%, rgba(24, 46, 35, 0.48) 55%, rgba(24, 46, 35, 0.22) 100%);
}

.hero-inner {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content-box {
    max-width: 640px;
    color: #ffffff;
}

.hero-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 18px;
}

.hero-title {
    margin: 0 0 20px;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.35;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 54px;
    }
}

.hero-desc {
    margin: 0 0 32px;
    font-size: 15px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.95);
}

@media (min-width: 768px) {
    .hero-desc {
        font-size: 16.5px;
    }
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-vertical-poetic {
    display: none;
}

@media (min-width: 1024px) {
    .hero-vertical-poetic {
        display: block;
        writing-mode: vertical-rl;
        text-orientation: upright;
        color: rgba(255, 255, 255, 0.92);
        font-size: 19px;
        line-height: 2.2;
        letter-spacing: 0.25em;
        padding: 24px 18px;
        border-right: 1px solid rgba(255, 255, 255, 0.4);
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
    }
}

.hero-dots {
    position: absolute;
    right: 24px;
    bottom: 24px;
    z-index: 20;
    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.7);
    background: rgba(0, 0, 0, 0.35);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}

.hero-dot.active,
.hero-dot:hover {
    background: #ffffff;
    color: var(--primary);
}

/* =========================================================================
   クイックドック＆案内リボン
========================================================================= */
.quick-dock-wrap {
    position: relative;
    z-index: 30;
    margin-top: -32px;
    margin-bottom: 24px;
}

.quick-dock {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(46, 41, 36, 0.08);
    border: 1px solid var(--border-soft);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    overflow: hidden;
}

@media (min-width: 768px) {
    .quick-dock {
        grid-template-columns: repeat(5, 1fr);
    }
}

.quick-dock-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 18px 12px;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    border-bottom: 1px solid #F0ECE3;
    border-right: 1px solid #F0ECE3;
}

.quick-dock-item:hover {
    background: var(--primary-pale);
    color: var(--primary);
}

.quick-dock-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--primary-pale);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}

.info-ribbon {
    background: #ffffff;
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
    padding: 16px 0;
}

.info-ribbon-inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (min-width: 900px) {
    .info-ribbon-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.ribbon-badge {
    padding: 4px 12px;
    background: var(--accent-gold);
    color: #ffffff;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

/* =========================================================================
   カード・お知らせ・日々のご様子
========================================================================= */
.wa-card {
    background: #ffffff;
    border: 1px solid var(--border-soft);
    border-radius: 18px;
    box-shadow: 0 8px 28px rgba(46, 41, 36, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wa-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(46, 90, 68, 0.1);
}

.two-col-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

@media (min-width: 960px) {
    .two-col-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.panel-card {
    padding: 28px;
}

@media (min-width: 640px) {
    .panel-card {
        padding: 36px;
    }
}

.panel-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding-bottom: 14px;
    margin-bottom: 18px;
    border-bottom: 1.5px solid var(--primary-pale);
}

.panel-head h2 {
    margin: 0;
    font-size: 25px;
    color: var(--text-main);
}

.more-link {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--primary);
}

.more-link:hover {
    text-decoration: underline;
}

.news-item {
    border-bottom: 1px solid #EFECE6;
}

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

.news-link {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 13px 4px;
}

@media (min-width: 640px) {
    .news-link {
        flex-direction: row;
        align-items: center;
        gap: 14px;
    }
}

.news-link:hover .news-title {
    color: var(--primary);
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.news-date {
    font-size: 13px;
    color: var(--text-sub);
    font-weight: 500;
}

.news-cat {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 9px;
    border-radius: 4px;
    background: var(--primary-pale);
    color: var(--primary);
}

.news-new {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    background: var(--warm-coral);
    color: #ffffff;
}

.news-title {
    margin: 0;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--text-main);
}

.daily-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.daily-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 8px;
    border-radius: 12px;
}

.daily-link:hover {
    background: var(--bg-cream);
}

.daily-thumb {
    width: 104px;
    height: 74px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: #EAE6DD;
}

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

.daily-date {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.daily-title {
    margin: 0;
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.45;
}

/* =========================================================================
   清楽園とは（和柄背景＋ダブル写真コラージュ）
========================================================================= */
.bg-wagara {
    background-color: var(--bg-sand);
    background-image: radial-gradient(rgba(46, 90, 68, 0.06) 1px, transparent 1px);
    background-size: 20px 20px;
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
}

.about-editorial {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 900px) {
    .about-editorial {
        grid-template-columns: 1fr 1fr;
    }
}

.collage-wrap {
    position: relative;
    padding-bottom: 24px;
}

.collage-main {
    border-radius: 18px;
    overflow: hidden;
    border: 5px solid #ffffff;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.1);
}

.collage-main img {
    width: 100%;
    height: 340px;
    object-fit: cover;
}

.collage-sub {
    display: none;
}

@media (min-width: 640px) {
    .collage-sub {
        display: block;
        position: absolute;
        left: -18px;
        bottom: 0;
        width: 170px;
        height: 120px;
        border-radius: 12px;
        overflow: hidden;
        border: 4px solid #ffffff;
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
    }
    .collage-sub img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.collage-seal {
    position: absolute;
    right: 12px;
    bottom: 6px;
    background: var(--primary);
    color: #ffffff;
    padding: 12px 18px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(46, 90, 68, 0.28);
}

.about-lead {
    margin: 0 0 20px;
    font-size: 24px;
    line-height: 1.55;
    color: var(--primary);
}

.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

/* =========================================================================
   施設・サービス案内
========================================================================= */
.featured-facility {
    overflow: hidden;
    margin-bottom: 36px;
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 900px) {
    .featured-facility {
        grid-template-columns: 1fr 1fr;
    }
}

.featured-facility-img {
    position: relative;
    min-height: 280px;
}

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

.facility-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--primary);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.featured-facility-body {
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.facility-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

@media (min-width: 768px) {
    .facility-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.facility-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.facility-card-img {
    position: relative;
    height: 220px;
}

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

.facility-num {
    position: absolute;
    top: 14px;
    right: 16px;
    font-size: 28px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.88);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.facility-type-tag {
    position: absolute;
    bottom: 12px;
    left: 14px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 6px;
}

.facility-card-body {
    padding: 26px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.facility-card-footer {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #EFECE6;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 12.5px;
    color: var(--text-sub);
}

/* =========================================================================
   採用情報＆YouTube紹介バナー
========================================================================= */
.recruit-section {
    background: linear-gradient(135deg, #254A37 0%, #2E5A44 100%);
    color: #ffffff;
    padding: 80px 0;
}

.pv-banner {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px 28px;
    margin-bottom: 48px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
}

@media (min-width: 768px) {
    .pv-banner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.recruit-box {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 16px;
    padding: 28px;
    margin: 32px 0;
}

.recruit-jobs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 16px;
}

@media (min-width: 768px) {
    .recruit-jobs {
        grid-template-columns: repeat(3, 1fr);
    }
}

.job-pill {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 16px;
    font-weight: 700;
    font-size: 15px;
}

.job-pill span {
    display: block;
    font-size: 12px;
    font-weight: 400;
    opacity: 0.88;
    margin-top: 4px;
}

/* =========================================================================
   お問い合わせ・事業所一覧
========================================================================= */
.contact-box-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 32px;
}

@media (min-width: 768px) {
    .contact-box-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.contact-method-card {
    background: var(--bg-cream);
    border: 1.5px solid var(--border-soft);
    border-radius: 14px;
    padding: 28px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.office-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

@media (min-width: 768px) {
    .office-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.office-item {
    background: var(--bg-cream);
    padding: 16px 18px;
    border-radius: 10px;
    font-size: 13.5px;
    line-height: 1.7;
}

/* =========================================================================
   フッター＆スマホ固定CTA
========================================================================= */
.site-footer {
    background: #1F362A;
    color: #ffffff;
    padding: 64px 0 90px;
}

@media (min-width: 960px) {
    .site-footer {
        padding-bottom: 48px;
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

@media (min-width: 960px) {
    .footer-grid {
        grid-template-columns: 1.1fr 2fr;
    }
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    font-size: 13.5px;
}

@media (min-width: 640px) {
    .footer-links-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-links-grid h4 {
    margin: 0 0 12px;
    color: var(--accent-gold-light);
    font-size: 14px;
}

.footer-links-grid li + li {
    margin-top: 8px;
}

.footer-links-grid a {
    color: rgba(255, 255, 255, 0.85);
}

.footer-links-grid a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-bottom {
    padding-top: 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.65);
}

.mobile-fixed-cta {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 980;
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.15);
}

@media (min-width: 960px) {
    .mobile-fixed-cta {
        display: none;
    }
}

.mobile-fixed-cta a {
    padding: 14px 8px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}

/* =========================================================================
   下層固定ページ・個別記事スタイル
========================================================================= */
.subpage-wrap {
    padding: 130px 0 80px;
}

.breadcrumb {
    font-size: 13px;
    color: var(--text-sub);
    margin-bottom: 20px;
}

.breadcrumb a {
    color: var(--primary);
    font-weight: 700;
}

.subpage-card {
    background: #ffffff;
    border: 1px solid var(--border-soft);
    border-radius: 18px;
    padding: 32px 24px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
    .subpage-card {
        padding: 48px;
    }
}

.wp-content-area img {
    border-radius: 12px;
    margin: 18px auto;
}

.wp-content-area table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.wp-content-area th,
.wp-content-area td {
    padding: 12px 14px;
    border: 1px solid #E2DDD2;
    text-align: left;
}

.wp-content-area th {
    background: var(--primary-pale);
    color: var(--primary);
}

/* 軽量フェードインアニメーション */
.reveal-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}