@charset "UTF-8";

/* ==================================================
   1. 変数定義 & 全体リセット
================================================== */
:root {
    --primary-color: #084A95;       /* 公式テーマカラー */
    --primary-light: #0d5cb8;       /* 明るいブルー */
    --primary-dark: #053163;        /* 深いネイビー */
    --accent-red: #e63946;          /* バッジ用アクセント */
    --bg-light: #f8fafc;            /* 背景色 */
    --text-color: #2b323a;          /* メイン文字色 */
    --text-muted: #6c757d;          /* サブ文字色 */
    --border-color: #e2e8f0;        /* 枠線色 */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 20px rgba(8, 74, 149, 0.08);
    --shadow-lg: 0 12px 28px rgba(8, 74, 149, 0.15);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth; /* アンカー移動時のスムーズスクロール */
}

body {
    font-family: 'Noto Sans JP', "Helvetica Neue", Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.25s ease;
}

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

/* ==================================================
   2. ヘッダー & ナビゲーション
================================================== */
header {
    background-color: #ffffff;
    border-bottom: 3px solid var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
}

/* H1要素リセット */
h1.site-logo {
    margin: 0;
    padding: 0;
    font-size: 100%;
    font-weight: normal;
}

.logo-img {
    height: 42px;
    width: auto;
    display: block;
}

/* PCナビゲーション */
.header-nav {
    display: block;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
}

.nav-list a {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--text-color);
    position: relative;
    padding: 6px 0;
}

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

/* 採用ボタン用強調スタイル */
header nav a.nav-recruit-btn,
.header-nav a.nav-recruit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 13.5px;
    line-height: 1;
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
    border: 1px solid transparent;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    text-decoration: none;
}

header nav a.nav-recruit-btn:hover,
.header-nav a.nav-recruit-btn:hover {
    background-color: #ffffff;
    color: #084a95;
    border-color: #084a95;
    opacity: 1;
    transform: none;
}
/* スマホ用ハンバーガーボタン (PCでは非表示) */
.hamburger-btn {
    display: none;
    background: none;
    border: none;
    width: 30px;
    height: 22px;
    position: relative;
    cursor: pointer;
    z-index: 102;
}

.hamburger-btn span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-btn span:nth-child(1) { top: 0; }
.hamburger-btn span:nth-child(2) { top: 10px; }
.hamburger-btn span:nth-child(3) { top: 20px; }

/* ハンバーガーアニメーション (is-active時) */
.hamburger-btn.is-active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}
.hamburger-btn.is-active span:nth-child(2) {
    opacity: 0;
}
.hamburger-btn.is-active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* スマホ用ドロワーメニュー */
.sp-nav {
    display: none;
    position: fixed;
    top: 73px;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-bottom: 2px solid var(--primary-color);
    padding: 20px 0;
    z-index: 101;
    transition: all 0.3s ease;
}

.sp-nav.is-active {
    display: block;
}

.sp-nav-list {
    list-style: none;
    text-align: center;
}

.sp-nav-list li {
    margin-bottom: 15px;
}

.sp-nav-list a {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-color);
    display: block;
    padding: 10px 0;
}

.sp-recruit-btn {
    background-color: var(--primary-color);
    color: #ffffff !important;
    max-width: 200px;
    margin: 10px auto 0;
    border-radius: 25px;
}

/* ==================================================
   3. ヒーローセクション
================================================== */
.hero {
    background: #ffffff;
    padding: 45px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    scroll-margin-top: 80px; /* ヘッダー固定分の位置補正 */
}

.notice-badge {
    display: inline-block;
    background-color: var(--accent-red);
    color: #ffffff;
    padding: 4px 16px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 20px;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 22px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 20px;
    line-height: 1.4;
}

.hero-sub-box {
    max-width: 780px;
    margin: 0 auto 30px;
    text-align: left;
    background: #f8fafc;
    padding: 24px 28px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.hero-sub-box p {
    font-size: 15px;
    color: #333333;
    line-height: 1.85;
    margin-bottom: 12px;
}

.hero-sub-box p:last-child {
    margin-bottom: 0;
}

.hero-sub-box strong {
    color: var(--primary-color);
    font-size: 15.5px;
}

/* 緊急連絡先ボックス */
.contact-box {
    background-color: #f0f5fa;
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    padding: 24px 30px;
    max-width: 540px;
    margin: 0 auto;
    box-shadow: var(--shadow-md);
}

.contact-box-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 14px;
}

.contact-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.contact-num-item {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.num-label {
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    background: var(--primary-color);
    padding: 2px 8px;
    border-radius: 4px;
}

.num-val {
    font-size: 20px;
    font-weight: 700;
    color: #111111;
}

.num-val.tel-num {
    font-size: 24px;
    color: var(--primary-color);
}

.tel-sub {
    font-size: 14px;
    color: var(--text-muted);
}

.tel-btn {
    display: none;
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 700;
    margin-top: 15px;
}

/* ==================================================
   4. お知らせ（NEWS）セクション
================================================== */
.news-section {
    margin-top: 60px;
    margin-bottom: 70px;
    scroll-margin-top: 100px; /* ヘッダー固定固定によるズレ補正 */
}

.section-header {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 24px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.section-title {
    font-size: 22px;
    color: var(--primary-color);
    font-weight: 700;
}

.section-en {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.news-card {
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.news-item {
    padding: 28px 36px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    gap: 28px;
    align-items: flex-start;
}

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

.news-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
    width: 120px;
}

.news-date {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    font-family: Arial, sans-serif;
}

.news-category {
    display: inline-block;
    background-color: var(--accent-red);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
    text-align: center;
    width: fit-content;
}

.news-category.tag-info {
    background-color: var(--primary-color);
}

.news-content {
    flex: 1;
}

.news-title {
    font-size: 16px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 8px;
    line-height: 1.4;
}

.news-body {
    font-size: 14px;
    color: #444444;
    line-height: 1.6;
}

.news-body .news-link {
    color: #084a95;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.news-body .news-link:hover {
    color: #002e66;
    opacity: 0.8;
    text-decoration: underline;
}

/* ==================================================
   5. 採用バナー
================================================== */
.recruit-banner-wrapper {
    margin-top: 70px;
    margin-bottom: 80px;
}

.recruit-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    padding: 32px 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    gap: 24px;
}

.recruit-banner:hover {
    box-shadow: 0 16px 32px rgba(8, 74, 149, 0.25);
    transform: translateY(-2px);
    text-decoration: none;
}

.recruit-banner-badge {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 4px 10px;
    border-radius: 4px;
    position: absolute;
    top: 18px;
    left: 40px;
}

.recruit-banner-text {
    margin-top: 14px;
}

.recruit-banner-text h2 {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
}

.recruit-banner-text p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
}

.recruit-banner-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    color: var(--primary-color);
    padding: 14px 26px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.25s ease;
}

.recruit-banner:hover .recruit-banner-btn {
    background: #f0f5fa;
    padding-right: 30px;
}

/* ==================================================
   6. 会社概要テーブル
================================================== */
.content-section {
    margin-bottom: 80px;
    scroll-margin-top: 100px; /* ヘッダー固定によるズレ補正 */
}

.table-card {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.company-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
}

.company-table th,
.company-table td {
    padding: 22px 28px;
    margin-top: 14px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: top;
}

.company-table tr:last-child th,
.company-table tr:last-child td {
    border-bottom: none;
}

.company-table th {
    width: 200px;
    background-color: #f8fafc;
    color: var(--primary-dark);
    font-weight: 700;
    text-align: left;
}

.info-inline {
    display: inline-block;
}

/* 事業内容 */
.business-group {
    margin-bottom: 20px;
}

.business-group:last-child {
    margin-bottom: 0;
}

.business-badge {
    display: inline-block;
    background: var(--primary-color);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.business-list {
    list-style: none;
    padding-left: 0;
}

.business-list li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 6px;
    color: #444;
}

.business-list li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    font-size: 18px;
    position: absolute;
    left: 4px;
    top: -2px;
}

.officer-list {
    list-style: none;
}

.officer-list li {
    margin-bottom: 4px;
}

/* ==================================================
   7. フッター
================================================== */
footer {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    padding: 24px 0;
    font-size: 12px;
    margin-top: 60px;
}

/* ==================================================
   8. スマホ表示（レスポンシブ）
================================================== */
@media (max-width: 768px) {
    .header-nav {
        display: none; /* PCナビ非表示 */
    }

    .hamburger-btn {
        display: block; /* ハンバーガーボタン表示 */
    }

    .hero {
        padding: 30px 15px;
    }

    .hero-title {
        font-size: 19px;
    }

    .hero-sub-box {
        padding: 18px 16px;
    }

    .hero-sub-box p {
        font-size: 13.5px;
    }

    .contact-box {
        padding: 20px 15px;
    }

    .contact-numbers {
        flex-direction: column;
        gap: 8px;
    }

    .tel-btn {
        display: inline-block;
    }

    .news-item {
        flex-direction: column;
        gap: 10px;
        padding: 18px 20px;
    }

    .news-meta {
        flex-direction: row;
        align-items: center;
        width: 100%;
        gap: 12px;
    }

    .recruit-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px 20px;
        padding-top: 40px;
    }

    .recruit-banner-badge {
        left: 20px;
        top: 14px;
    }

    .recruit-banner-btn {
        width: 100%;
        justify-content: center;
    }

/* テーブル全体の指定 */
    .company-table {
        border-collapse: collapse !important;
        border-spacing: 0 !important;
        overflow: hidden;
    }

    /* tr（行）に付いている余白や線を完全に消す（★ここが原因でした） */
    .company-table tr {
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
    }

    /* th と td のブロック化・余白調整 */
    .company-table th,
    .company-table td {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        border: none !important; /* 個別の線を一旦消す */
    }

    /* 見出し（th）の余白と背景 */
    .company-table th {
        background: #f8fafc !important;
        padding: 14px 16px 6px 16px !important;
    }

    /* 内容（td）の余白 */
    .company-table td {
        background: #ffffff !important;
        padding: 4px 16px 16px 16px !important;
    }

    /* 行と行の間（例えば「社名ブロック」と「本店所在地ブロック」の間）にだけ下の線を入れる */
    .company-table tr:not(:last-child) td {
        border-bottom: 1px solid #e2e8f0 !important; /* 薄いグレーの区切り線 */
    }

    .business-group {
        margin-top: 20px;
    }
}