@charset "UTF-8";

/**
 * 島原南高技術センター - 共通スタイルシート
 * デザインコンセプト: 信頼感・安心感のあるモダンブルー（全生連準拠・上品で柔らかい仕上がり）
 */

/* -----------------------------------------------
 * カスタムプロパティ (デザインシステム)
 * ----------------------------------------------- */
:root {
    /* カラーパレット */
    --primary: #003a8c;         /* 全生連のシンボルマークを踏襲した高潔な青 */
    --primary-dark: #002266;    /* より濃いネイビー（強調・文字用） */
    --primary-light: #f0f7ff;   /* 薄い水色（背景・ソフトな塗り用） */
    --primary-accent: #0ea5e9;  /* アクティブな明るいブルー */
    
    --bg-light: #f8fafc;        /* 優しい薄グレーの背景色 */
    --white: #ffffff;
    
    /* ニュートラルカラー (テキスト・エッジ) */
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-600: #475569;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    
    /* アクセント/状態カラー */
    --accent: #d97706;          /* 上品なゴールド・オレンジ（警告・注意ボタン用） */
    --accent-hover: #b45309;
    --accent-light: #fef3c7;
    
    --pdf-red: #e11d48;         /* PDFダウンロード用のソフトなレッド */
    --pdf-red-light: #fff1f2;
    --excel-green: #16a34a;     /* Excelダウンロード用のソフトなグリーン */
    --excel-green-light: #f0fdf4;
    
    /* タイポグラフィ */
    --font-base: 'Noto Sans JP', sans-serif;
    --font-english: 'Outfit', sans-serif;
    
    /* レイアウト・エッジ (柔らかいモダンデザインへ移行) */
    --border-radius: 8px;       /* 柔らかさを出すため、角丸を8pxへ拡大 */
    --border-radius-lg: 12px;
    --border-color: #e2e8f0;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 3px rgba(0, 58, 140, 0.05);
    --shadow-md: 0 4px 20px rgba(0, 58, 140, 0.06);
    --shadow-lg: 0 10px 30px rgba(0, 58, 140, 0.08);
    --max-width: 1200px;
}

/* -----------------------------------------------
 * ベースリセット (レスポンシブのはみ出し・横揺れを完全防止する設定を追加)
 * ----------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    overflow-x: hidden; /* 横揺れ・はみ出しを確実にシャットアウト */
    width: 100%;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-base);
    background-color: var(--bg-light);
    color: var(--slate-800);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-accent);
}

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

/* -----------------------------------------------
 * 汎用レイアウト & コンポーネント
 * ----------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6rem 0;
    border-bottom: 1px solid var(--slate-200);
}

.section:last-of-type {
    border-bottom: none;
}

/* セクションタイトル (指示に従いFontAwesomeは不要、スッキリとした上品なセンター表示に最適化) */
.section-header {
    margin-bottom: 3.5rem;
    position: relative;
    text-align: center;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    letter-spacing: -0.01em;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 0.95rem;
    color: var(--slate-600);
    margin-top: 0.75rem;
    font-weight: 500;
}

/* ボタン (柔らかく美しいドロップシャドウ) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.9rem 2.25rem;
    font-size: 1rem;
    font-weight: 700;
    border: 1px solid transparent;
    border-radius: var(--border-radius);
    background-color: var(--white);
    color: var(--slate-800);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(0, 58, 140, 0.25);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    box-shadow: 0 6px 20px rgba(0, 58, 140, 0.35);
}

.btn-secondary {
    background-color: var(--white);
    border: 1px solid var(--primary);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-dark);
    color: var(--primary-dark);
}

.btn-accent {
    background-color: var(--accent);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.25);
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.35);
}

/* バッジ */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.85rem;
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid var(--slate-300);
    border-radius: 9999px;
    background-color: var(--white);
    color: var(--slate-800);
}

.badge-jnla {
    border-color: rgba(225, 29, 72, 0.2);
    background-color: var(--pdf-red-light);
    color: var(--pdf-red);
}

/* -----------------------------------------------
 * ヘッダー (Header) & ナビゲーション
 * ----------------------------------------------- */
.site-header {
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--slate-200);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.03);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    position: relative; /* 子のabsolute配置用の親定義 */
}

/* 組織名 (50%拡大) */
.logo-area {
    display: flex;
    flex-direction: column;
}

.logo-sub {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.03em;
    line-height: 1.2;
    margin-bottom: 0.15rem;
}

.logo-main {
    font-size: 1.85rem;
    font-weight: 900;
    color: var(--primary-dark);
    letter-spacing: -0.01em;
    line-height: 1.2;
}

/* PCナビゲーション */
.global-nav {
    margin-left: 2rem;
    flex-grow: 1;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 1.75rem;
    justify-content: center;
}

.nav-list a {
    color: var(--slate-800);
    font-weight: 700;
    font-size: 0.95rem;
    display: block;
    position: relative;
    padding: 0.5rem 0;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-list a:hover {
    color: var(--primary);
}

.nav-list a:hover::after {
    width: 100%;
}

.header-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-family: var(--font-english);
}

.header-phone {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    line-height: 1.2;
}

.header-hours {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--slate-600);
    font-family: var(--font-base);
}

.header-btn .btn {
    padding: 0.6rem 1.25rem;
    font-size: 0.85rem;
    box-shadow: var(--shadow-sm);
}

/* スマホ用メニューボタン (ハンバーガー) 
 * 右側にはみ出さないよう、ヘッダーコンテナのパディング内に絶対配置で固定 
 */
.menu-trigger {
    display: none;
    position: absolute;
    right: 1.5rem; /* 右端にはみ出さない安全マージン */
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 110;
}

.menu-trigger span {
    position: absolute;
    left: 10px;
    width: 24px;
    height: 2px;
    background-color: var(--primary-dark);
    border-radius: 4px;
    transition: var(--transition);
}

.menu-trigger span:nth-of-type(1) { top: 15px; }
.menu-trigger span:nth-of-type(2) { top: 21px; }
.menu-trigger span:nth-of-type(3) { top: 27px; }

/* ハンバーガーアクティブ状態 */
.menu-trigger.active span:nth-of-type(1) {
    transform: translateY(6px) rotate(-45deg);
    background-color: var(--primary-dark);
}
.menu-trigger.active span:nth-of-type(2) {
    opacity: 0;
}
.menu-trigger.active span:nth-of-type(3) {
    transform: translateY(-6px) rotate(45deg);
    background-color: var(--primary-dark);
}

/* レスポンシブナビゲーション表示 (1100px以下で切り替え) 
 * はみ出し(横揺れ)を完璧に防ぐため、transform: translateX(100%) で3D非表示制御 
 */
@media (max-width: 1100px) {
    .global-nav {
        position: fixed;
        top: 0;
        right: 0; /* rightは0固定にして、transformではみ出させる */
        width: 80%;
        max-width: 300px; /* 横幅を固定化 */
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.08);
        z-index: 105;
        padding: 6rem 1.5rem 2rem;
        transform: translateX(100%); /* 完全に右の画面外に退避（スクロールバーを誘発しない） */
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        margin-left: 0;
        flex-grow: 0;
    }

    .global-nav.active {
        transform: translateX(0); /* 画面内にスライドイン */
    }

    .nav-list {
        flex-direction: column;
        gap: 1.25rem;
        justify-content: flex-start;
    }

    .nav-list a {
        font-size: 1.05rem;
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--slate-100);
        width: 100%;
    }

    .nav-list a::after {
        display: none;
    }

    .menu-trigger {
        display: block; /* ハンバーガーボタンをスマホで有効化 */
    }
    
    .header-info {
        display: none;
    }
}

@media (max-width: 480px) {
    .header-container {
        height: 75px;
    }
    .logo-sub {
        font-size: 0.85rem;
    }
    .logo-main {
        font-size: 1.35rem;
    }
    .menu-trigger {
        right: 1rem; /* 超小画面時は右側マージンを16pxに微調整 */
    }
}

/* -----------------------------------------------
 * ヒーローセクション (Hero Section)
 * ----------------------------------------------- */
.hero {
    position: relative;
    background-color: var(--slate-900);
    background-image: linear-gradient(135deg, rgba(0, 58, 140, 0.85) 0%, rgba(30, 41, 59, 0.9) 100%), url('../img/bg-hero.png');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 7.5rem 0;
    border-bottom: none;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero-badges {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
}

.hero-badge {
    background-color: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--white);
    font-size: 0.8rem;
    padding: 0.35rem 0.9rem;
    font-weight: 700;
    border-radius: 9999px;
}

.hero-badge.jnla-badge {
    background-color: var(--pdf-red);
    border-color: rgba(255, 255, 255, 0.2);
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 900;
    line-height: 1.35;
    letter-spacing: -0.01em;
    margin-bottom: 1.75rem;
}

.hero-title span {
    display: block;
    font-size: 1.4rem;
    color: var(--primary-light);
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: 0.05em;
}

.hero-lead {
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    line-height: 1.85;
}

@media (max-width: 768px) {
    .hero {
        padding: 5rem 0;
    }
    .hero-title {
        font-size: 1.85rem;
    }
    .hero-title span {
        font-size: 1.1rem;
    }
    .hero-lead {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }
}

/* -----------------------------------------------
 * お知らせセクション (News Section)
 * ----------------------------------------------- */
.news-box {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2.25rem;
    box-shadow: var(--shadow-md);
}

#news-list {
    display: flex;
    flex-direction: column;
}

.news-item {
    display: flex;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--slate-100);
    gap: 2rem;
    transition: var(--transition);
}

.news-item:first-of-type {
    padding-top: 0;
}

.news-item:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.news-meta {
    flex-shrink: 0;
    width: 120px;
}

.news-date {
    font-family: var(--font-english);
    font-weight: 700;
    color: var(--primary);
    font-size: 1rem;
    background-color: var(--primary-light);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    display: inline-block;
    text-align: center;
}

.news-content {
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.news-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--slate-800);
}

.news-empty, .news-error {
    text-align: center;
    padding: 2.5rem 0;
    color: var(--slate-600);
    font-weight: 500;
}

.news-error {
    color: var(--pdf-red);
}

@media (max-width: 600px) {
    .news-item {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1.25rem 0;
    }
    .news-meta {
        width: auto;
    }
}

/* -----------------------------------------------
 * JNLA & 認定試験セクションの共通レイアウト
 * ----------------------------------------------- */
.jnla-section-bg {
    background-color: var(--primary-light); /* ソフトなライトブルーの背景 */
}

/* 左右分割レイアウト（両セクションで一貫した対称配置） */
.section-split {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    align-items: start;
}

.split-col-left, .split-col-right {
    display: flex;
    flex-direction: column;
}

/* 資料を縦積みにするカラム */
.downloads-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (max-width: 991px) {
    .section-split {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* -----------------------------------------------
 * 資料ダウンロードカード (Downloads Card)
 * ----------------------------------------------- */
.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.doc-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.doc-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.doc-card-badge {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0.35rem 1.15rem;
    font-size: 0.75rem;
    font-weight: 800;
    font-family: var(--font-english);
    border-bottom-left-radius: var(--border-radius);
    text-transform: uppercase;
}

.doc-card-pdf .doc-card-badge {
    background-color: var(--pdf-red-light);
    color: var(--pdf-red);
}

.doc-card-excel .doc-card-badge {
    background-color: var(--excel-green-light);
    color: var(--excel-green);
}

.doc-info {
    margin-bottom: 1.25rem;
}

.doc-icon {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.doc-card-pdf .doc-icon { color: var(--pdf-red); }
.doc-card-excel .doc-icon { color: var(--excel-green); }

.doc-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--slate-800);
    line-height: 1.45;
    margin-bottom: 0.5rem;
}

.doc-desc {
    font-size: 0.825rem;
    color: var(--slate-600);
    font-weight: 500;
    line-height: 1.6;
}

.doc-meta {
    font-family: var(--font-english);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--slate-600);
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    border-top: 1px solid var(--slate-100);
    padding-top: 0.75rem;
}

.doc-action {
    margin-top: auto;
}

.doc-btn {
    width: 100%;
    font-size: 0.875rem;
    padding: 0.8rem;
    border-radius: var(--border-radius);
    box-shadow: none;
}

.doc-card-pdf .doc-btn {
    background-color: var(--white);
    border-color: rgba(225, 29, 72, 0.3);
    color: var(--pdf-red);
}

.doc-card-pdf .doc-btn:hover {
    background-color: var(--pdf-red);
    color: var(--white);
    border-color: var(--pdf-red);
}

.doc-card-excel .doc-btn {
    background-color: var(--white);
    border-color: rgba(22, 163, 74, 0.3);
    color: var(--excel-green);
}

.doc-card-excel .doc-btn:hover {
    background-color: var(--excel-green);
    color: var(--white);
    border-color: var(--excel-green);
}

/* -----------------------------------------------
 * 試験項目カード・リスト (Testing Services)
 * ----------------------------------------------- */
.service-box {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2.25rem;
    box-shadow: var(--shadow-md);
}

.service-box.h-full {
    height: 100%;
}

.service-box-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-light);
}

.service-box-header i {
    font-size: 1.4rem;
    color: var(--primary);
}

.service-box-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.service-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.95rem; /* リスト間隔を少し広げて読みやすさを最大化 */
}

.service-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 0.875rem;
    font-weight: 500;
    gap: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px dashed var(--slate-100); /* 点線を入れて並びを美しく区切る */
}

.service-item:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.service-name {
    color: var(--slate-800);
    position: relative;
    padding-left: 0.75rem;
    line-height: 1.5;
    font-weight: 700;
}

.service-name::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 5px;
    height: 5px;
    background-color: var(--primary-accent);
    border-radius: 50%;
}

.service-standard {
    font-family: var(--font-english);
    color: var(--slate-600);
    font-size: 0.825rem;
    flex-shrink: 0;
    text-align: right;
    font-weight: 700;
}

/* -----------------------------------------------
 * ご提出・お問い合わせ (Submission Section)
 * ----------------------------------------------- */
.submission-area {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 3rem;
}

@media (max-width: 900px) {
    .submission-area {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* 提出フロー */
.flow-steps {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.flow-step {
    display: flex;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 1.25rem 1.75rem;
    align-items: center;
    gap: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.step-num {
    background-color: var(--primary-light);
    color: var(--primary);
    font-family: var(--font-english);
    font-size: 1.35rem;
    font-weight: 800;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.step-content {
    flex-grow: 1;
}

.step-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--slate-800);
    margin-bottom: 0.25rem;
}

.step-desc {
    font-size: 0.8rem;
    color: var(--slate-600);
    font-weight: 500;
}

.submit-box {
    background-color: var(--primary-light);
    border: 1px dashed rgba(0, 58, 140, 0.3);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.submit-box h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
}

.submit-box p {
    font-size: 0.85rem;
    color: var(--slate-600);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.submit-box .btn {
    width: 100%;
}

/* 連絡先情報 */
.info-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
}

.info-header {
    margin-bottom: 2rem;
}

.info-org-sub {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--slate-600);
    letter-spacing: 0.05em;
}

.info-org-main {
    font-size: 1.45rem;
    font-weight: 900;
    color: var(--primary-dark);
    line-height: 1.35;
    margin-bottom: 0.5rem;
}

.info-address {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--slate-600);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-contact-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--slate-100);
    border-bottom: 1px solid var(--slate-100);
}

.info-contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-contact-item i {
    font-size: 1.4rem;
    color: var(--primary);
    width: 32px;
    height: 32px;
    background-color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.info-contact-detail {
    display: flex;
    flex-direction: column;
}

.info-contact-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--slate-600);
    text-transform: uppercase;
}

.info-contact-value {
    font-family: var(--font-english);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--slate-800);
    line-height: 1.2;
}

.map-container {
    width: 100%;
    height: 250px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* -----------------------------------------------
 * フッター (Footer)
 * ----------------------------------------------- */
.site-footer {
    background-color: var(--slate-900);
    color: var(--white);
    padding: 3.5rem 0;
    border-top: 3px solid var(--primary);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-info {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
}

.footer-sub {
    font-size: 0.75rem;
    color: var(--slate-300);
    margin-top: 0.25rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    font-size: 0.85rem;
    font-weight: 700;
}

.footer-links a {
    color: var(--slate-300);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-copyright {
    width: 100%;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    font-size: 0.75rem;
    font-family: var(--font-english);
    color: var(--slate-300);
}

@media (max-width: 600px) {
    .footer-container {
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-links {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* -----------------------------------------------
 * ページトップへ戻るボタン (PC/スマホ両対応)
 * ----------------------------------------------- */
.pagetop {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: var(--white) !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(0, 58, 140, 0.3);
    z-index: 99;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: var(--transition);
}

.pagetop:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 58, 140, 0.4);
}

.pagetop.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .pagetop {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
}

/* -----------------------------------------------
 * 印刷用の最適化 (Print Styles)
 * ----------------------------------------------- */
@media print {
    body {
        background-color: #fff;
        color: #000;
    }
    .site-header, .site-footer, .hero-lead, .btn, .map-container, .doc-action, .pagetop, .menu-trigger {
        display: none !important;
    }
    .section {
        padding: 2rem 0;
        page-break-inside: avoid;
    }
    .doc-card, .service-box, .info-card {
        box-shadow: none !important;
        border: 1px solid #000 !important;
    }
}
