@charset "utf-8";

/*!
Theme Name: dxis2026
Description: 企業サイトを目指すブランクテーマ
Version: 1.0.0
Text Domain: dxis2026
*/

/* =========================================
   1. リセット & 基本設定 (Base)
   ========================================= */
*, *::before, *::after { box-sizing: border-box; }

body, h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }
ul[role='list'], ol[role='list'] { list-style: none; }
html { scroll-behavior: smooth; }
body { min-height: 100vh; text-rendering: optimizeSpeed; line-height: 1.6; }
a:not([class]) { text-decoration-skip-ink: auto; }
a { text-decoration: none; color: inherit; transition: opacity 0.3s; }
a:hover { opacity: 0.7; }
img, picture { max-width: 100%; display: block; height: auto; }
input, button, textarea, select { font: inherit; }

/* フォント・基本色 */
html {
    font-family: 'Noto Sans JP', YuGothic, "游ゴシック体", "Yu Gothic", "メイリオ", Meiryo, sans-serif;
}
body {
    color: #333;
    background-color: #ffffff;
}

/* スクリーンリーダー用 */
.screen-reader-text {
    border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
    height: 1px; margin: -1px; overflow: hidden; padding: 0;
    position: absolute; width: 1px; word-wrap: normal !important;
}

/* 共通コンテナ */
.container {
    max-width: 1000px;
    width: 100%;
    margin-right: auto !important;
    margin-left: auto !important;
    padding-right: 20px;
    padding-left: 20px;
}

/* 共通セクションタイトル */
.section-title {
    text-align: center; font-size: 32px; font-weight: bold; margin-bottom: 50px;
    letter-spacing: 0.05em;
}

/* 共通の余白用スペーサー */
.spacer, .page-header-spacer {
    height: 100px;
}
/* 下層ページの本文余白 */
body:not(.home) .site-content { padding-top: 100px; }


/* =========================================
   2. ヘッダーエリア (Header)
   ========================================= */
.site-header {
    background-color: transparent;
    padding: 20px 0;
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 100;
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
    -webkit-backface-visibility: hidden; backface-visibility: hidden; transform: translateZ(0);
    will-change: padding, background-color, box-shadow;
}

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

/* ロゴ */
.site-branding img {
    max-height: 50px;
    width: auto;
    transition: filter 0.4s ease;
    -webkit-backface-visibility: hidden; backface-visibility: hidden; transform: translateZ(0);
}
.site-branding .site-title, 
.site-branding .site-description {
    border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
    height: 1px; margin: -1px; overflow: hidden; padding: 0;
    position: absolute; width: 1px; word-wrap: normal !important;
}

/* メニュー */
.menu-toggle { display: none; }
.main-navigation ul {
    display: flex; list-style: none; margin: 0; padding: 0; gap: 30px;
}
.main-navigation a {
    font-weight: bold; font-size: 15px; display: block; padding: 10px 0;
    color: #333 !important;
    transition: color 0.3s;
}
.main-navigation a:hover { color: #004098 !important; }

/* ユーティリティ */
.header-utility .utility-list {
    display: flex; list-style: none; margin: 0; padding: 0; gap: 15px; align-items: center;
}
.search-btn {
    background: none; border: none; cursor: pointer;
    display: flex; align-items: center; gap: 5px; font-size: 14px; padding: 5px;
    color: #333 !important;
}
.icon-search { font-size: 18px; }

/* 検索ボックス */
.utility-item.search-trigger { position: relative; }
.header-search-box {
    display: none;
    position: absolute; top: 100%; right: 0; width: 300px;
    background: #fff; padding: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2); z-index: 200; border-radius: 4px;
}
.header-search-box.is-open { display: block; }
.search-form { display: flex; gap: 5px; }
.search-field { width: 100%; padding: 8px; border: 1px solid #ccc; border-radius: 4px; }
.search-submit { background: #333; color: #fff; border: none; padding: 8px 15px; border-radius: 4px; cursor: pointer; }

/* お問い合わせボタン */
.contact-btn a {
    display: flex !important; justify-content: center; align-items: center;
    width: 160px !important; height: 44px !important; padding: 0 !important;
    border-radius: 4px; font-weight: bold; text-decoration: none;
    background-color: #004098; color: #ffffff !important; border: 1px solid #004098;
    text-shadow: none !important;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s !important;
    transform: translateZ(0); -webkit-font-smoothing: antialiased;
}
.contact-btn a:hover {
    background-color: #fff; color: #004098 !important;
}

/* --- ヘッダーの色変化 --- */
body.home .site-header:not(.header-scrolled) a,
body.home .site-header:not(.header-scrolled) .menu-toggle-icon,
body.home .site-header:not(.header-scrolled) .search-btn {
    color: #fff !important; text-shadow: 0 2px 5px rgba(0,0,0,0.8);
}
body.home .site-header:not(.header-scrolled) .site-branding img {
    filter: brightness(0) invert(1);
}
body.home .site-header:not(.header-scrolled) .contact-btn a {
    background-color: #004098 !important; color: #ffffff !important; border: 1px solid #004098 !important;
    text-shadow: none !important;
}
body.home .site-header:not(.header-scrolled) .contact-btn a:hover {
    background-color: #ffffff !important; color: #004098 !important;
}

.site-header.header-scrolled {
    background-color: rgba(255, 255, 255, 0.95); padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.site-header.header-scrolled a,
.site-header.header-scrolled .menu-toggle-icon,
.site-header.header-scrolled .search-btn {
    color: #333 !important; text-shadow: none;
}
.site-header.header-scrolled .site-branding img {
    filter: none; max-height: 40px;
}
.site-header.header-scrolled .contact-btn a {
    color: #ffffff !important; text-shadow: none !important;
}
.site-header.header-scrolled .contact-btn a:hover {
    background-color: #fff; color: #004098 !important;
}


/* =========================================
   3. フッターエリア (Footer)
   ========================================= */
.site-footer {
    background-color: #333; color: #fff; font-size: 14px; margin-top: 0 !important;
}
.footer-widgets { padding: 60px 0; }
.footer-widgets .footer-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 20px;
    display: flex; justify-content: space-between; gap: 40px; align-items: flex-start;
}
.footer-col { flex: 1; }
.footer-logo img {
    max-width: 180px; height: auto; margin-bottom: 20px;
    filter: brightness(0) invert(1); opacity: 0.8;
}
.footer-address { line-height: 1.8; opacity: 0.8; }
.footer-nav { list-style: none; padding: 0; margin: 0; }
.footer-nav li {
    border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 10px; padding-bottom: 5px;
}
.footer-nav a {
    color: #fff; text-decoration: none; opacity: 0.8; display: block;
}
.footer-nav a:hover { opacity: 1; }
.footer-action { text-align: right; }
.footer-action-text { margin-bottom: 15px; font-weight: bold; }
.btn-footer-contact {
    display: inline-block; padding: 15px 40px;
    background-color: #004098; color: #fff; font-weight: bold; text-decoration: none;
    border-radius: 4px; transition: all 0.3s;
}
.btn-footer-contact:hover { background-color: #fff; color: #004098; }
.site-info {
    background-color: #222; padding: 20px 0; text-align: center;
    font-size: 12px; color: #888;
}


/* =========================================
   4. トップページ (Front Page)
   ========================================= */
/* メインビジュアル */
.hero-section {
    position: relative; width: 100%; height: 100vh; min-height: 500px;
    background-color: #333; overflow: hidden; margin-top: 0;
}
.hero-swiper {
    width: 100%; height: 100%; position: absolute; top: 0; left: 0; z-index: 1;
}
.swiper-slide {
    background-size: cover; background-position: center; background-repeat: no-repeat;
}
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4); z-index: 2; pointer-events: none;
}
.hero-content {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 3;
    display: flex; align-items: center; justify-content: center;
    text-align: center; color: #fff;
}
.hero-copy {
    font-size: 48px; font-weight: bold; margin-bottom: 20px; color: #fff;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}
.hero-sub {
    font-size: 18px; margin-bottom: 40px; opacity: 0.9;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

/* ニュースエリア（トップ） */
.section-news { padding: 80px 20px; background-color: #fff; }
.news-list { border-top: 1px solid #eee; }
.news-item {
    display: flex; align-items: center; padding: 20px 10px;
    border-bottom: 1px solid #eee; text-decoration: none; color: #333;
    transition: background-color 0.3s;
}
.news-item:hover { background-color: #fafafa; color: #004098; }
.news-meta {
    display: flex; align-items: center; min-width: 200px; gap: 15px;
}
.news-date { color: #888; font-size: 14px; }
.news-cat {
    background-color: #eee; color: #555; font-size: 11px;
    padding: 3px 10px; border-radius: 2px;
}
.news-title { flex: 1; font-size: 16px; line-height: 1.5; }
.news-btn-area { text-align: center; margin-top: 40px; }
.btn-secondary {
    display: inline-block; padding: 12px 40px; border: 1px solid #333;
    color: #333; text-decoration: none; transition: all 0.3s;
}
.btn-secondary:hover {
    background-color: #333 !important; color: #ffffff !important; border-color: #333 !important;
}

/* 事業内容スライダーエリア */
.section-service {
    background-color: #f5f5f5; padding: 80px 0;
}
.service-swiper {
    padding-bottom: 40px; /* ページネーション用 */
}


/* =========================================
   5. お知らせ関連 (News)
   ========================================= */
/* パンくずリスト */
.breadcrumbs {
    background: #f9f9f9; padding: 15px 0; font-size: 14px; color: #666;
    border-bottom: 1px solid #eee;
}

/* カテゴリ絞り込みボタン */
.news-filter { margin-bottom: 40px; text-align: center; }
.news-filter-list {
    display: inline-flex; flex-wrap: wrap; justify-content: center;
    gap: 10px; list-style: none; padding: 0; margin: 0;
}
.news-filter-list li a {
    display: block; padding: 10px 30px; border: 1px solid #ccc;
    border-radius: 30px; text-decoration: none; color: #333;
    font-size: 14px; background-color: #fff; transition: all 0.3s;
}
.news-filter-list li a:hover,
.news-filter-list li a.is-active {
    background-color: #004098; color: #fff; border-color: #004098;
}

/* 詳細ページ：ヘッダー */
.news-header {
    border-bottom: 2px solid #eee; padding-bottom: 30px; margin-bottom: 50px;
}
.news-meta {
    display: flex; align-items: center; gap: 15px; margin-bottom: 15px;
}
.news-date { color: #888; font-family: 'Lato', sans-serif; }
.news-label {
    background-color: #004098; color: #fff; font-size: 12px;
    padding: 3px 10px; border-radius: 2px;
}
.news-title { font-size: 28px; font-weight: bold; line-height: 1.4; color: #333; }

/* 詳細ページ：本文 */
.news-content {
    font-size: 16px; line-height: 1.8; color: #333; margin-bottom: 80px;
}
.news-content h2 {
    font-size: 22px; border-left: 5px solid #004098; padding-left: 15px;
    margin: 40px 0 20px; background-color: #f9f9f9; padding: 15px;
}
.news-content h3 {
    font-size: 18px; border-bottom: 1px solid #ccc; padding-bottom: 10px; margin: 30px 0 15px;
}
.news-content p { margin-bottom: 20px; }
.news-content img { max-width: 100%; height: auto; margin: 20px 0; }

/* 本文リンク装飾 */
.news-content a {
    color: #004098; text-decoration: underline; font-weight: bold;
    transition: opacity 0.3s;
}
.news-content a:hover { opacity: 0.7; text-decoration: none; }

/* PDFリンクの自動装飾（スリム版） */
.news-content a[href$=".pdf"] {
    display: inline-block; padding: 8px 15px 8px 45px;
    background-color: #fff; border: 1px solid #ddd; border-radius: 4px;
    color: #333; text-decoration: none; font-weight: normal; font-size: 14px;
    position: relative; transition: all 0.3s; margin: 5px 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.news-content a[href$=".pdf"]::before {
    content: "PDF"; position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
    background-color: #cc0000; color: #fff; font-size: 10px;
    padding: 2px 6px; border-radius: 2px; font-weight: bold; letter-spacing: 0.5px;
}
.news-content a[href$=".pdf"]:hover {
    border-color: #004098; color: #004098;
    background-color: #f0f4fa; transform: translateY(-1px);
}

/* 記事下ナビゲーション */
.news-navigation {
    display: flex; justify-content: space-between; margin-bottom: 40px; font-size: 14px;
}
.news-navigation a { text-decoration: none; color: #666; }
.news-navigation a:hover { color: #004098; text-decoration: underline; }

.news-footer-btn { text-align: center; border-top: 1px solid #eee; padding-top: 40px; }
.btn-back {
    display: inline-block; padding: 12px 50px; background-color: #333;
    color: #fff; text-decoration: none; border-radius: 4px; transition: background-color 0.3s;
}
.btn-back:hover { background-color: #004098; opacity: 0.9; }


/* =========================================
   6. 事業内容一覧 (Zigzag & Card)
   ========================================= */

/* --- A. メインの事業内容一覧（ジグザグ） --- */
.service-list-container {
    display: flex; flex-direction: column; gap: 80px;
}
.service-list-item {
    display: flex; align-items: center; justify-content: space-between; gap: 50px;
}
/* 偶数番目は左右反転 */
.service-list-item:nth-child(even) { flex-direction: row-reverse; }

.service-list-img { width: 50%; position: relative; }
.service-list-img img {
    width: 100%; height: auto; border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); transition: transform 0.3s;
}
.service-list-img a:hover img { transform: scale(1.02); opacity: 0.9; }

.service-list-body { width: 45%; }
.service-list-title {
    font-size: 24px; font-weight: bold; margin-bottom: 20px; color: #004098; position: relative;
}
.service-list-title::after {
    content: ""; display: block; width: 40px; height: 3px; background-color: #004098; margin-top: 10px;
}
.service-list-title a { text-decoration: none; color: inherit; }
.service-list-desc { font-size: 15px; color: #555; line-height: 1.8; margin-bottom: 30px; }
.service-list-btn .btn-arrow {
    font-weight: bold; color: #333; text-decoration: none; border-bottom: 1px solid #333;
    padding-bottom: 2px; transition: all 0.3s;
}
.service-list-btn .btn-arrow:hover {
    color: #004098; border-color: #004098; padding-right: 10px;
}

/* --- B. 採用情報＆保存用（カード型グリッド） --- */
/* 採用ページ（Recruit）で使われます */
.service-archive-grid {
    display: flex; flex-wrap: wrap; gap: 30px;
}
.service-card {
    width: calc(33.333% - 20px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    text-decoration: none; color: #333; background: #fff;
    transition: transform 0.3s; border-radius: 8px; overflow: hidden;
    display: block; margin-bottom: 20px;
}
.service-card:hover { transform: translateY(-5px); }
.service-card-img { width: 100%; height: 200px; overflow: hidden; }
.service-card-img img {
    width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s;
}
.service-card:hover .service-card-img img { transform: scale(1.1); }
.service-card-body { padding: 20px; }
.service-card-title {
    font-size: 18px; font-weight: bold; margin-bottom: 10px; color: #004098;
}
.service-card-desc { font-size: 14px; color: #666; line-height: 1.6; }


/* =========================================
   7. 事業内容 詳細ページ (Service Single)
   ========================================= */
.service-content { font-size: 16px; line-height: 2.0; color: #333; }
.service-content h2 {
    font-size: 24px; font-weight: bold; margin: 60px 0 30px;
    padding-bottom: 10px; border-bottom: 2px solid #004098;
}
.service-content h3 {
    font-size: 20px; font-weight: bold; margin: 40px 0 20px;
    border-left: 5px solid #004098; padding-left: 15px;
}
.service-content p { margin-bottom: 30px; }
.service-content ul {
    background: #f9f9f9; padding: 30px 30px 30px 50px;
    border-radius: 4px; margin-bottom: 30px;
}
.service-content li { margin-bottom: 10px; font-weight: bold; }

/* お問い合わせ誘導ボタン（CTA） */
.btn-cta {
    display: inline-block; padding: 15px 60px;
    background-color: #cc0000; color: #fff !important;
    font-size: 18px; font-weight: bold; border-radius: 50px;
    text-decoration: none; box-shadow: 0 5px 15px rgba(204, 0, 0, 0.3);
    transition: all 0.3s;
}
.btn-cta:hover {
    background-color: #aa0000; transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(204, 0, 0, 0.4);
}


/* =========================================
   8. 会社概要・代表挨拶 (Company & Message)
   ========================================= */
/* 会社概要リスト */
.company-wrapper { width: 100%; }
.company-list {
    border-top: 1px solid #eee; margin-bottom: 60px;
}
.company-list dt, .company-list dd {
    padding: 20px; border-bottom: 1px solid #eee; font-size: 15px;
}
/* PC表示 */
@media (min-width: 769px) {
    .company-list { display: flex; flex-wrap: wrap; }
    .company-list dt {
        width: 30%; background-color: #fafafa; font-weight: bold;
        display: flex; align-items: center;
    }
    .company-list dd { width: 70%; margin: 0; }
}
/* マップ */
.company-map { margin-top: 40px; }
.company-map iframe {
    width: 100%; height: 400px; border: none;
    filter: grayscale(100%); transition: filter 0.3s;
}
.company-map iframe:hover { filter: none; }

/* 代表挨拶ページ */
.message-lead {
    font-size: 28px; font-weight: bold; margin-bottom: 60px;
    line-height: 1.6; text-align: center; letter-spacing: 0.05em;
}
.message-body {
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start;
}
.message-photo { width: 20%; }
.message-photo img {
    width: 100%; height: auto; border-radius: 4px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.message-text { width: 75%; }
.message-text p {
    margin-bottom: 25px; line-height: 2.0; text-align: justify;
}
.message-sign { margin-top: 40px; text-align: right; }
.sign-post { font-size: 14px; color: #666; margin-bottom: 5px; }
.sign-name {
    font-size: 24px; font-weight: bold; font-family: "Yu Mincho", "YuMincho", serif;
}


/* =========================================
   9. お問い合わせフォーム (Contact)
   ========================================= */
.contact-form-wrapper { width: 100%; margin: 0 auto; }
.form-row {
    display: flex; flex-wrap: wrap; border-bottom: 1px solid #eee; padding: 30px 0;
}
.form-row:first-child { border-top: 1px solid #eee; }
.form-label {
    width: 30%; font-weight: bold; padding-top: 10px;
}
.required {
    display: inline-block; background-color: #cc0000; color: #fff; font-size: 11px;
    padding: 2px 8px; border-radius: 2px; margin-left: 8px;
    vertical-align: middle; position: relative; top: -1px;
}
.form-input { width: 70%; }
input[type="text"], input[type="email"], textarea {
    width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 4px;
    background-color: #f9f9f9; transition: all 0.3s; font-size: 16px;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
    background-color: #fff; border-color: #004098; outline: none;
    box-shadow: 0 0 5px rgba(0, 64, 152, 0.2);
}
.form-submit { text-align: center; margin-top: 60px; }
.wpcf7-submit {
    display: inline-block; width: 300px; padding: 15px 0;
    background-color: #004098; color: #fff; font-weight: bold; font-size: 18px;
    border: 2px solid #004098; border-radius: 4px; cursor: pointer; transition: all 0.3s;
}
.wpcf7-submit:hover { background-color: #fff; color: #004098; }


/* =========================================
   10. レスポンシブ (Mobile: 768px以下)
   ========================================= */
@media (max-width: 768px) {
    /* --- レイアウト --- */
    .container { padding-right: 15px; padding-left: 15px; }
    .header-inner { flex-wrap: wrap; padding: 10px 15px; }
    
    /* ロゴ */
    .site-branding { width: 100%; text-align: center; margin-bottom: 15px; }
    .site-branding img { max-width: 180px; margin: 0 auto; }

    /* メインビジュアル */
    .hero-section { height: 60vh; }
    .hero-copy { font-size: 28px; }

    /* ヘッダーボタン・配置 */
    .header-utility { order: 2; display: flex; align-items: center; }
    .header-utility .search-trigger, .search-text { display: none; }
    .contact-btn a { padding: 8px 15px; font-size: 13px; }
    .main-navigation { order: 3; margin-left: auto; }

    /* ハンバーガーメニュー */
    .menu-toggle {
        display: block; background: none; border: none;
        font-size: 24px; padding: 5px 10px; cursor: pointer;
    }
    .menu-toggle-icon { display: block; font-size: 28px; line-height: 1; color: #333; }
    .menu-toggle-icon::before { content: "\2261"; }

    /* メニュー開閉設定（決定版） */
    .main-navigation ul, .main-navigation div, .menu-primary-menu-container {
        display: none;
    }
    .main-navigation.toggled ul,
    .main-navigation.toggled div,
    .main-navigation.toggled .menu-primary-menu-container {
        display: block !important;
        background-color: #fff; width: 100%; position: absolute; top: 100%; left: 0;
        z-index: 1000; box-shadow: 0 5px 15px rgba(0,0,0,0.1); margin: 0; padding: 0;
    }
    .main-navigation li {
        border-top: 1px solid #eee; list-style: none; margin: 0; text-align: center;
    }
    .main-navigation a { display: block; padding: 15px 20px; color: #333; font-weight: bold; }

    /* --- 各セクション調整 --- */
    /* ニュース */
    .news-item { flex-direction: column; align-items: flex-start; gap: 10px; }
    .news-meta { min-width: auto; }
    .news-title { font-size: 20px; }
    .news-content { font-size: 15px; }

    /* 事業内容（ジグザグ） */
    .service-list-container { gap: 60px; }
    .service-list-item, .service-list-item:nth-child(even) {
        flex-direction: column; gap: 20px;
    }
    .service-list-img, .service-list-body { width: 100%; }
    .service-list-title { font-size: 20px; }

    /* 採用情報（カード型） */
    .service-card { width: 100%; }

    /* 会社概要 */
    .company-list dt { background-color: #fafafa; font-weight: bold; }
    .company-list dd { margin: 0; padding-top: 10px; }

    /* 代表挨拶 */
    .message-lead { font-size: 20px; text-align: left; }
    .message-body { flex-direction: column; }
    .message-photo, .message-text { width: 100%; }
    .message-photo { margin-bottom: 30px; }

    /* お問い合わせ */
    .form-row { display: block; padding: 20px 0; }
    .form-label { width: 100%; margin-bottom: 10px; }
    .form-input { width: 100%; }
    .wpcf7-submit { width: 100%; }

    /* フッター */
    .footer-widgets .footer-inner { flex-direction: column; text-align: center; }
    .footer-logo img { margin: 0 auto 20px; }
    .footer-action { text-align: center; }
}


/* =========================================================
   About Us セクション (トップページ)
   ========================================================= */
.section-about {
    padding: 80px 20px;
    background: #ffffff;
    border-top: 1px solid #eee;
}
.about-container {
    max-width: 1000px;
    margin: 0 auto;
}
.about-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 30px;
    font-weight: bold;
    color: #333;
}
.about-title-sub {
    font-size: 16px;
    font-weight: normal;
    color: #666;
    margin-top: 10px;
    display: block;
}
.about-content {
    line-height: 1.8;
    color: #333;
}
.about-lead {
    margin-bottom: 30px;
    text-align: center;
}
.about-issues {
    background: #fdfdfd;
    padding: 30px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.about-issues-list {
    margin: 0;
    padding-left: 20px;
    color: #d32f2f;
}
.about-issues-list li {
    margin-bottom: 10px;
}
.about-issues-list li:last-child {
    margin-bottom: 0;
}
.about-issues-list strong {
    color: #333;
}
.about-issues-list span {
    color: #555;
}
.about-solutions-lead {
    margin-bottom: 20px;
    text-align: center;
}
.about-solutions-list {
    margin-bottom: 40px;
    padding-left: 0;
    list-style-position: inside;
    font-weight: bold;
    color: #004098;
    text-align: center;
}
.about-solutions-list li {
    margin-bottom: 10px;
}
.about-solutions-list li:last-child {
    margin-bottom: 0;
}
.about-solutions-list span {
    color: #333;
    font-weight: normal;
}
.about-message {
    margin-bottom: 80px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    color: #004098;
    border-bottom: 2px solid #eee;
    padding-bottom: 60px;
}
.strengths-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 26px;
    font-weight: bold;
    color: #333;
}
.strengths-title-sub {
    font-size: 16px;
    font-weight: normal;
    color: #666;
    margin-top: 10px;
    display: block;
}
.strengths-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    margin-bottom: 50px;
}
.strength-card {
    flex: 1;
    min-width: 280px;
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 30px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}
.strength-number {
    font-size: 40px;
    color: #004098;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 15px;
}
.strength-heading {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}
.strength-sub {
    font-size: 14px;
    font-weight: normal;
    color: #666;
}
.strength-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}
.about-footer-text {
    text-align: center;
    font-size: 16px;
    color: #333;
    margin-bottom: 40px;
}
.about-btn-wrap {
    text-align: center;
}
.about-btn {
    display: inline-block;
    padding: 12px 40px;
    border: 1px solid #333;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
    border-radius: 4px;
}
.about-btn:hover {
    background: #333;
    color: #fff;
}

/* =========================================================
   スマホ・PCの表示切り替え（レスポンシブ用）
   ========================================================= */
/* PCの時だけ表示（スマホでは消す） */
@media screen and (max-width: 767px) {
    .pc-only {
        display: none !important;
    }
}

/* スマホの時だけ表示（PCでは消す） */
.sp-only {
    display: none !important;
}
@media screen and (max-width: 767px) {
    .sp-only {
        display: block !important;
    }
    /* もし span や br に使う場合はこちらが適用されます */
    span.sp-only, br.sp-only {
        display: inline !important;
    }
}

/* =========================================================
   事業内容詳細ページ (single-service.php)
   ========================================================= */

/* --- 全体のレイアウト --- */
.service-detail-page {
    background: #ffffff;
    color: #333;
}
.header-spacer {
    height: 100px; /* ヘッダーの高さに合わせて調整 */
}
@media screen and (max-width: 767px) {
    .header-spacer {
        height: 70px;
    }
}
.service-detail-page .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}
.service-article {
    padding-bottom: 80px;
}

/* --- ページヘッダー --- */
.service-header {
    background: #f8fafc;
    padding: 30px 0 0;
    margin-bottom: 60px;
}
.breadcrumbs-container {
    margin-bottom: 20px;
}
.service-header .breadcrumbs {
    font-size: 13px;
    color: #666;
}
.service-header .breadcrumbs a {
    color: #004098;
    text-decoration: none;
}
.service-header .breadcrumbs a:hover {
    text-decoration: underline;
}
.service-header .current-page {
    color: #333;
}
.title-container {
    text-align: center;
    margin-bottom: 40px;
}
.service-title {
    font-size: 36px;
    font-weight: bold;
    color: #333;
    line-height: 1.4;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}
.service-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #004098;
    border-radius: 2px;
}
@media screen and (max-width: 767px) {
    .service-title {
        font-size: 24px;
    }
}
.service-main-visual {
    background: #fff;
    margin-top: -1px; /* headerの背景との隙間を埋める */
}
.visual-img-wrap {
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}
.visual-img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- メインコンテンツ --- */
.content-container {
    max-width: 850px; /* 本文は少し狭くして読みやすく */
    margin: 0 auto;
}
.service-content {
    line-height: 1.8;
    font-size: 16px;
    color: #333;
}
@media screen and (max-width: 767px) {
    .service-content {
        font-size: 15px;
    }
}

/* ▼▼ 本文内の要素の装飾（ここがかっこよさのキモ！） ▼▼ */

/* 段落 */
.service-content p {
    margin-bottom: 2em;
}

/* 見出し (H2) */
.service-content h2 {
    font-size: 26px;
    font-weight: bold;
    color: #333;
    margin: 2.5em 0 1.2em;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
    position: relative;
}
.service-content h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: #004098;
}
@media screen and (max-width: 767px) {
    .service-content h2 {
        font-size: 22px;
    }
}

/* 見出し (H3) */
.service-content h3 {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin: 2.5em 0 1em;
    padding-left: 15px;
    border-left: 4px solid #004098;
}
@media screen and (max-width: 767px) {
    .service-content h3 {
        font-size: 18px;
    }
}

/* 箇条書き (ul, ol) */
.service-content ul,
.service-content ol {
    margin-bottom: 2em;
    padding-left: 1.5em;
}
.service-content li {
    margin-bottom: 0.8em;
}
/* ulにチェックマークアイコン (fontawesome等のアイコンフォントなしで実装) */
.service-content ul {
    list-style: none;
    padding-left: 1em;
}
.service-content ul li {
    position: relative;
    padding-left: 1.5em;
}
.service-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #004098;
    font-weight: bold;
}

/* 画像 */
.service-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin: 1em 0 2.5em;
}

/* 表 (テーブル) - スマホスクロール対応 */
.service-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2.5em;
    font-size: 14px;
    display: block; /* スマホでスクロールさせるため */
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.service-content th,
.service-content td {
    border: 1px solid #eee;
    padding: 15px;
    text-align: left;
    min-width: 120px; /* スマホで縮みすぎないように */
}
.service-content th {
    background: #f8fafc;
    font-weight: bold;
    color: #333;
}
.service-content tr:nth-child(even) td {
    background: #fafbfe; /* 偶数行の色を変えて見やすく */
}

/* 引用 (blockquote) */
.service-content blockquote {
    margin: 2em 0;
    padding: 30px;
    background: #fdfdfd;
    border-left: 4px solid #ddd;
    border-radius: 0 4px 4px 0;
    font-style: italic;
    color: #555;
    position: relative;
}
.service-content blockquote p {
    margin-bottom: 1em;
}
.service-content blockquote p:last-child {
    margin-bottom: 0;
}
.service-content blockquote::before {
    content: '“';
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 60px;
    color: #eee;
    line-height: 1;
}

/* 強調 (strong) */
.service-content strong {
    font-weight: bold;
    color: #004098;
}

/* ▲▲ 本文内の要素の装飾ここまで ▲▲ */

/* --- CTAエリア --- */
.section-cta {
    padding: 80px 0;
    background: #f8fafc;
    margin-top: 80px;
}
.cta-box {
    background: #fff;
    padding: 60px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}
@media screen and (max-width: 767px) {
    .cta-box {
        padding: 40px 20px;
    }
}
.cta-title {
    font-size: 26px;
    font-weight: bold;
    color: #004098;
    margin-bottom: 20px;
    line-height: 1.4;
}
@media screen and (max-width: 767px) {
    .cta-title {
        font-size: 20px;
    }
}
.cta-text {
    font-size: 16px;
    margin-bottom: 40px;
    color: #555;
    line-height: 1.8;
}
@media screen and (max-width: 767px) {
    .cta-text {
        font-size: 14px;
    }
}
.btn-cta {
    display: inline-block;
    background: #004098;
    color: #fff;
    padding: 18px 50px;
    text-decoration: none;
    border-radius: 40px;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0,64,152,0.3);
    transition: all 0.3s ease;
}
.btn-cta:hover {
    background: #002e6b;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,64,152,0.4);
}
@media screen and (max-width: 767px) {
    .btn-cta {
        padding: 15px 30px;
        font-size: 16px;
        width: 100%; /* スマホでは全幅に */
        box-sizing: border-box;
    }
}

/* --- フッター（一覧に戻るボタン最強版） --- */
.service-footer {
    text-align: center;
    margin-top: 60px;
}
footer.service-footer a.btn-back {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    min-width: 240px !important;
    min-height: 54px !important;
    padding: 10px 30px !important;
    border: 2px solid #333333 !important;
    background-color: #ffffff !important;
    color: #333333 !important; /* 絶対に文字を黒にする */
    font-size: 16px !important;
    font-weight: bold !important;
    text-decoration: none !important;
    border-radius: 4px !important;
    opacity: 1 !important;
    visibility: visible !important;
    transition: all 0.3s ease !important;
}
footer.service-footer a.btn-back:hover {
    background-color: #333333 !important;
    color: #ffffff !important;
}


@charset "utf-8";

/*!
Theme Name: dxis2026
Description: 企業サイトを目指すブランクテーマ
Version: 1.0.0
Text Domain: dxis2026
*/

/* =========================================
   1. リセット & 基本設定 (Base)
   ========================================= */
*, *::before, *::after { box-sizing: border-box; }

body, h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }
ul[role='list'], ol[role='list'] { list-style: none; }
html { scroll-behavior: smooth; }
body { min-height: 100vh; text-rendering: optimizeSpeed; line-height: 1.6; }
a:not([class]) { text-decoration-skip-ink: auto; }
a { text-decoration: none; color: inherit; transition: opacity 0.3s; }
a:hover { opacity: 0.7; }
img, picture { max-width: 100%; display: block; height: auto; }
input, button, textarea, select { font: inherit; }

/* フォント・基本色 */
html {
    font-family: 'Noto Sans JP', YuGothic, "游ゴシック体", "Yu Gothic", "メイリオ", Meiryo, sans-serif;
}
body {
    color: #333;
    background-color: #ffffff;
}

/* スクリーンリーダー用 */
.screen-reader-text {
    border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
    height: 1px; margin: -1px; overflow: hidden; padding: 0;
    position: absolute; width: 1px; word-wrap: normal !important;
}

/* 共通コンテナ */
.container {
    max-width: 1000px;
    width: 100%;
    margin-right: auto !important;
    margin-left: auto !important;
    padding-right: 20px;
    padding-left: 20px;
}

/* 共通セクションタイトル */
.section-title {
    text-align: center; font-size: 32px; font-weight: bold; margin-bottom: 50px;
    letter-spacing: 0.05em;
}

/* 共通の余白用スペーサー */
.spacer, .page-header-spacer {
    height: 100px;
}
/* 下層ページの本文余白 */
body:not(.home) .site-content { padding-top: 100px; }


/* =========================================
   2. ヘッダーエリア (Header)
   ========================================= */
.site-header {
    background-color: transparent;
    padding: 20px 0;
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 100;
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
    -webkit-backface-visibility: hidden; backface-visibility: hidden; transform: translateZ(0);
    will-change: padding, background-color, box-shadow;
}

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

/* ロゴ */
.site-branding img {
    max-height: 50px;
    width: auto;
    transition: filter 0.4s ease;
    -webkit-backface-visibility: hidden; backface-visibility: hidden; transform: translateZ(0);
}
.site-branding .site-title, 
.site-branding .site-description {
    border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
    height: 1px; margin: -1px; overflow: hidden; padding: 0;
    position: absolute; width: 1px; word-wrap: normal !important;
}

/* メニュー */
.menu-toggle { display: none; }
.main-navigation ul {
    display: flex; list-style: none; margin: 0; padding: 0; gap: 30px;
}
.main-navigation a {
    font-weight: bold; font-size: 15px; display: block; padding: 10px 0;
    color: #333 !important;
    transition: color 0.3s;
}
.main-navigation a:hover { color: #004098 !important; }

/* ユーティリティ */
.header-utility .utility-list {
    display: flex; list-style: none; margin: 0; padding: 0; gap: 15px; align-items: center;
}
.search-btn {
    background: none; border: none; cursor: pointer;
    display: flex; align-items: center; gap: 5px; font-size: 14px; padding: 5px;
    color: #333 !important;
}
.icon-search { font-size: 18px; }

/* 検索ボックス */
.utility-item.search-trigger { position: relative; }
.header-search-box {
    display: none;
    position: absolute; top: 100%; right: 0; width: 300px;
    background: #fff; padding: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2); z-index: 200; border-radius: 4px;
}
.header-search-box.is-open { display: block; }
.search-form { display: flex; gap: 5px; }
.search-field { width: 100%; padding: 8px; border: 1px solid #ccc; border-radius: 4px; }
.search-submit { background: #333; color: #fff; border: none; padding: 8px 15px; border-radius: 4px; cursor: pointer; }

/* お問い合わせボタン */
.contact-btn a {
    display: flex !important; justify-content: center; align-items: center;
    width: 160px !important; height: 44px !important; padding: 0 !important;
    border-radius: 4px; font-weight: bold; text-decoration: none;
    background-color: #004098; color: #ffffff !important; border: 1px solid #004098;
    text-shadow: none !important;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s !important;
    transform: translateZ(0); -webkit-font-smoothing: antialiased;
}
.contact-btn a:hover {
    background-color: #fff; color: #004098 !important;
}

/* --- ヘッダーの色変化 --- */
body.home .site-header:not(.header-scrolled) a,
body.home .site-header:not(.header-scrolled) .menu-toggle-icon,
body.home .site-header:not(.header-scrolled) .search-btn {
    color: #fff !important; text-shadow: 0 2px 5px rgba(0,0,0,0.8);
}
body.home .site-header:not(.header-scrolled) .site-branding img {
    filter: brightness(0) invert(1);
}
body.home .site-header:not(.header-scrolled) .contact-btn a {
    background-color: #004098 !important; color: #ffffff !important; border: 1px solid #004098 !important;
    text-shadow: none !important;
}
body.home .site-header:not(.header-scrolled) .contact-btn a:hover {
    background-color: #ffffff !important; color: #004098 !important;
}

.site-header.header-scrolled {
    background-color: rgba(255, 255, 255, 0.95); padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.site-header.header-scrolled a,
.site-header.header-scrolled .menu-toggle-icon,
.site-header.header-scrolled .search-btn {
    color: #333 !important; text-shadow: none;
}
.site-header.header-scrolled .site-branding img {
    filter: none; max-height: 40px;
}
.site-header.header-scrolled .contact-btn a {
    color: #ffffff !important; text-shadow: none !important;
}
.site-header.header-scrolled .contact-btn a:hover {
    background-color: #fff; color: #004098 !important;
}


/* =========================================
   3. フッターエリア (Footer)
   ========================================= */
.site-footer {
    background-color: #333; color: #fff; font-size: 14px; margin-top: 0 !important;
}
.footer-widgets { padding: 60px 0; }
.footer-widgets .footer-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 20px;
    display: flex; justify-content: space-between; gap: 40px; align-items: flex-start;
}
.footer-col { flex: 1; }
.footer-logo img {
    max-width: 180px; height: auto; margin-bottom: 20px;
    filter: brightness(0) invert(1); opacity: 0.8;
}
.footer-address { line-height: 1.8; opacity: 0.8; }
.footer-nav { list-style: none; padding: 0; margin: 0; }
.footer-nav li {
    border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 10px; padding-bottom: 5px;
}
.footer-nav a {
    color: #fff; text-decoration: none; opacity: 0.8; display: block;
}
.footer-nav a:hover { opacity: 1; }
.footer-action { text-align: right; }
.footer-action-text { margin-bottom: 15px; font-weight: bold; }
.btn-footer-contact {
    display: inline-block; padding: 15px 40px;
    background-color: #004098; color: #fff; font-weight: bold; text-decoration: none;
    border-radius: 4px; transition: all 0.3s;
}
.btn-footer-contact:hover { background-color: #fff; color: #004098; }
.site-info {
    background-color: #222; padding: 20px 0; text-align: center;
    font-size: 12px; color: #888;
}


/* =========================================
   4. トップページ (Front Page)
   ========================================= */
/* メインビジュアル */
.hero-section {
    position: relative; width: 100%; height: 100vh; min-height: 500px;
    background-color: #333; overflow: hidden; margin-top: 0;
}
.hero-swiper {
    width: 100%; height: 100%; position: absolute; top: 0; left: 0; z-index: 1;
}
.swiper-slide {
    background-size: cover; background-position: center; background-repeat: no-repeat;
}
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4); z-index: 2; pointer-events: none;
}
.hero-content {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 3;
    display: flex; align-items: center; justify-content: center;
    text-align: center; color: #fff;
}
.hero-copy {
    font-size: 48px; font-weight: bold; margin-bottom: 20px; color: #fff;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}
.hero-sub {
    font-size: 18px; margin-bottom: 40px; opacity: 0.9;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

/* ニュースエリア（トップ） */
.section-news { padding: 80px 20px; background-color: #fff; }
.news-list { border-top: 1px solid #eee; }
.news-item {
    display: flex; align-items: center; padding: 20px 10px;
    border-bottom: 1px solid #eee; text-decoration: none; color: #333;
    transition: background-color 0.3s;
}
.news-item:hover { background-color: #fafafa; color: #004098; }
.news-meta {
    display: flex; align-items: center; min-width: 200px; gap: 15px;
}
.news-date { color: #888; font-size: 14px; }
.news-cat {
    background-color: #eee; color: #555; font-size: 11px;
    padding: 3px 10px; border-radius: 2px;
}
.news-title { flex: 1; font-size: 16px; line-height: 1.5; }
.news-btn-area { text-align: center; margin-top: 40px; }
.btn-secondary {
    display: inline-block; padding: 12px 40px; border: 1px solid #333;
    color: #333; text-decoration: none; transition: all 0.3s;
}
.btn-secondary:hover {
    background-color: #333 !important; color: #ffffff !important; border-color: #333 !important;
}

/* 事業内容スライダーエリア */
.section-service {
    background-color: #f5f5f5; padding: 80px 0;
}
.service-swiper {
    padding-bottom: 40px; /* ページネーション用 */
}


/* =========================================
   5. お知らせ関連 (News)
   ========================================= */
/* パンくずリスト */
.breadcrumbs {
    background: #f9f9f9; padding: 15px 0; font-size: 14px; color: #666;
    border-bottom: 1px solid #eee;
}

/* カテゴリ絞り込みボタン */
.news-filter { margin-bottom: 40px; text-align: center; }
.news-filter-list {
    display: inline-flex; flex-wrap: wrap; justify-content: center;
    gap: 10px; list-style: none; padding: 0; margin: 0;
}
.news-filter-list li a {
    display: block; padding: 10px 30px; border: 1px solid #ccc;
    border-radius: 30px; text-decoration: none; color: #333;
    font-size: 14px; background-color: #fff; transition: all 0.3s;
}
.news-filter-list li a:hover,
.news-filter-list li a.is-active {
    background-color: #004098; color: #fff; border-color: #004098;
}

/* 詳細ページ：ヘッダー */
.news-header {
    border-bottom: 2px solid #eee; padding-bottom: 30px; margin-bottom: 50px;
}
.news-meta {
    display: flex; align-items: center; gap: 15px; margin-bottom: 15px;
}
.news-date { color: #888; font-family: 'Lato', sans-serif; }
.news-label {
    background-color: #004098; color: #fff; font-size: 12px;
    padding: 3px 10px; border-radius: 2px;
}
.news-title { font-size: 28px; font-weight: bold; line-height: 1.4; color: #333; }

/* 詳細ページ：本文 */
.news-content {
    font-size: 16px; line-height: 1.8; color: #333; margin-bottom: 80px;
}
.news-content h2 {
    font-size: 22px; border-left: 5px solid #004098; padding-left: 15px;
    margin: 40px 0 20px; background-color: #f9f9f9; padding: 15px;
}
.news-content h3 {
    font-size: 18px; border-bottom: 1px solid #ccc; padding-bottom: 10px; margin: 30px 0 15px;
}
.news-content p { margin-bottom: 20px; }
.news-content img { max-width: 100%; height: auto; margin: 20px 0; }

/* 本文リンク装飾 */
.news-content a {
    color: #004098; text-decoration: underline; font-weight: bold;
    transition: opacity 0.3s;
}
.news-content a:hover { opacity: 0.7; text-decoration: none; }

/* PDFリンクの自動装飾（スリム版） */
.news-content a[href$=".pdf"] {
    display: inline-block; padding: 8px 15px 8px 45px;
    background-color: #fff; border: 1px solid #ddd; border-radius: 4px;
    color: #333; text-decoration: none; font-weight: normal; font-size: 14px;
    position: relative; transition: all 0.3s; margin: 5px 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.news-content a[href$=".pdf"]::before {
    content: "PDF"; position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
    background-color: #cc0000; color: #fff; font-size: 10px;
    padding: 2px 6px; border-radius: 2px; font-weight: bold; letter-spacing: 0.5px;
}
.news-content a[href$=".pdf"]:hover {
    border-color: #004098; color: #004098;
    background-color: #f0f4fa; transform: translateY(-1px);
}

/* 記事下ナビゲーション */
.news-navigation {
    display: flex; justify-content: space-between; margin-bottom: 40px; font-size: 14px;
}
.news-navigation a { text-decoration: none; color: #666; }
.news-navigation a:hover { color: #004098; text-decoration: underline; }

.news-footer-btn { text-align: center; border-top: 1px solid #eee; padding-top: 40px; }
.btn-back {
    display: inline-block; padding: 12px 50px; background-color: #333;
    color: #fff; text-decoration: none; border-radius: 4px; transition: background-color 0.3s;
}
.btn-back:hover { background-color: #004098; opacity: 0.9; }


/* =========================================
   6. 事業内容一覧 (Zigzag & Card)
   ========================================= */

/* --- A. メインの事業内容一覧（ジグザグ） --- */
.service-list-container {
    display: flex; flex-direction: column; gap: 80px;
}
.service-list-item {
    display: flex; align-items: center; justify-content: space-between; gap: 50px;
}
/* 偶数番目は左右反転 */
.service-list-item:nth-child(even) { flex-direction: row-reverse; }

.service-list-img { width: 50%; position: relative; }
.service-list-img img {
    width: 100%; height: auto; border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); transition: transform 0.3s;
}
.service-list-img a:hover img { transform: scale(1.02); opacity: 0.9; }

.service-list-body { width: 45%; }
.service-list-title {
    font-size: 24px; font-weight: bold; margin-bottom: 20px; color: #004098; position: relative;
}
.service-list-title::after {
    content: ""; display: block; width: 40px; height: 3px; background-color: #004098; margin-top: 10px;
}
.service-list-title a { text-decoration: none; color: inherit; }
.service-list-desc { font-size: 15px; color: #555; line-height: 1.8; margin-bottom: 30px; }
.service-list-btn .btn-arrow {
    font-weight: bold; color: #333; text-decoration: none; border-bottom: 1px solid #333;
    padding-bottom: 2px; transition: all 0.3s;
}
.service-list-btn .btn-arrow:hover {
    color: #004098; border-color: #004098; padding-right: 10px;
}

/* --- B. 採用情報＆保存用（カード型グリッド） --- */
/* 採用ページ（Recruit）で使われます */
.service-archive-grid {
    display: flex; flex-wrap: wrap; gap: 30px;
}
.service-card {
    width: calc(33.333% - 20px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    text-decoration: none; color: #333; background: #fff;
    transition: transform 0.3s; border-radius: 8px; overflow: hidden;
    display: block; margin-bottom: 20px;
}
.service-card:hover { transform: translateY(-5px); }
.service-card-img { width: 100%; height: 200px; overflow: hidden; }
.service-card-img img {
    width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s;
}
.service-card:hover .service-card-img img { transform: scale(1.1); }
.service-card-body { padding: 20px; }
.service-card-title {
    font-size: 18px; font-weight: bold; margin-bottom: 10px; color: #004098;
}
.service-card-desc { font-size: 14px; color: #666; line-height: 1.6; }


/* =========================================
   7. 事業内容 詳細ページ (Service Single)
   ========================================= */
.service-content { font-size: 16px; line-height: 2.0; color: #333; }
.service-content h2 {
    font-size: 24px; font-weight: bold; margin: 60px 0 30px;
    padding-bottom: 10px; border-bottom: 2px solid #004098;
}
.service-content h3 {
    font-size: 20px; font-weight: bold; margin: 40px 0 20px;
    border-left: 5px solid #004098; padding-left: 15px;
}
.service-content p { margin-bottom: 30px; }
.service-content ul {
    background: #f9f9f9; padding: 30px 30px 30px 50px;
    border-radius: 4px; margin-bottom: 30px;
}
.service-content li { margin-bottom: 10px; font-weight: bold; }

/* お問い合わせ誘導ボタン（CTA） */
.btn-cta {
    display: inline-block; padding: 15px 60px;
    background-color: #cc0000; color: #fff !important;
    font-size: 18px; font-weight: bold; border-radius: 50px;
    text-decoration: none; box-shadow: 0 5px 15px rgba(204, 0, 0, 0.3);
    transition: all 0.3s;
}
.btn-cta:hover {
    background-color: #aa0000; transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(204, 0, 0, 0.4);
}


/* =========================================
   8. 会社概要・代表挨拶 (Company & Message)
   ========================================= */
/* 会社概要リスト */
.company-wrapper { width: 100%; }
.company-list {
    border-top: 1px solid #eee; margin-bottom: 60px;
}
.company-list dt, .company-list dd {
    padding: 20px; border-bottom: 1px solid #eee; font-size: 15px;
}
/* PC表示 */
@media (min-width: 769px) {
    .company-list { display: flex; flex-wrap: wrap; }
    .company-list dt {
        width: 30%; background-color: #fafafa; font-weight: bold;
        display: flex; align-items: center;
    }
    .company-list dd { width: 70%; margin: 0; }
}
/* マップ */
.company-map { margin-top: 40px; }
.company-map iframe {
    width: 100%; height: 400px; border: none;
    filter: grayscale(100%); transition: filter 0.3s;
}
.company-map iframe:hover { filter: none; }

/* 代表挨拶ページ */
.message-lead {
    font-size: 28px; font-weight: bold; margin-bottom: 60px;
    line-height: 1.6; text-align: center; letter-spacing: 0.05em;
}
.message-body {
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start;
}
.message-photo { width: 20%; }
.message-photo img {
    width: 100%; height: auto; border-radius: 4px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.message-text { width: 75%; }
.message-text p {
    margin-bottom: 25px; line-height: 2.0; text-align: justify;
}
.message-sign { margin-top: 40px; text-align: right; }
.sign-post { font-size: 14px; color: #666; margin-bottom: 5px; }
.sign-name {
    font-size: 24px; font-weight: bold; font-family: "Yu Mincho", "YuMincho", serif;
}


/* =========================================
   9. お問い合わせフォーム (Contact)
   ========================================= */
.contact-form-wrapper { width: 100%; margin: 0 auto; }
.form-row {
    display: flex; flex-wrap: wrap; border-bottom: 1px solid #eee; padding: 30px 0;
}
.form-row:first-child { border-top: 1px solid #eee; }
.form-label {
    width: 30%; font-weight: bold; padding-top: 10px;
}
.required {
    display: inline-block; background-color: #cc0000; color: #fff; font-size: 11px;
    padding: 2px 8px; border-radius: 2px; margin-left: 8px;
    vertical-align: middle; position: relative; top: -1px;
}
.form-input { width: 70%; }
input[type="text"], input[type="email"], textarea {
    width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 4px;
    background-color: #f9f9f9; transition: all 0.3s; font-size: 16px;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
    background-color: #fff; border-color: #004098; outline: none;
    box-shadow: 0 0 5px rgba(0, 64, 152, 0.2);
}
.form-submit { text-align: center; margin-top: 60px; }
.wpcf7-submit {
    display: inline-block; width: 300px; padding: 15px 0;
    background-color: #004098; color: #fff; font-weight: bold; font-size: 18px;
    border: 2px solid #004098; border-radius: 4px; cursor: pointer; transition: all 0.3s;
}
.wpcf7-submit:hover { background-color: #fff; color: #004098; }


/* =========================================
   10. レスポンシブ (Mobile: 768px以下)
   ========================================= */
@media (max-width: 768px) {
    /* --- レイアウト --- */
    .container { padding-right: 15px; padding-left: 15px; }
    .header-inner { flex-wrap: wrap; padding: 10px 15px; }
    
    /* ロゴ */
    .site-branding { width: 100%; text-align: center; margin-bottom: 15px; }
    .site-branding img { max-width: 180px; margin: 0 auto; }

    /* メインビジュアル */
    .hero-section { height: 60vh; }
    .hero-copy { font-size: 28px; }

    /* ヘッダーボタン・配置 */
    .header-utility { order: 2; display: flex; align-items: center; }
    .header-utility .search-trigger, .search-text { display: none; }
    .contact-btn a { padding: 8px 15px; font-size: 13px; }
    .main-navigation { order: 3; margin-left: auto; }

    /* ハンバーガーメニュー */
    .menu-toggle {
        display: block; background: none; border: none;
        font-size: 24px; padding: 5px 10px; cursor: pointer;
    }
    .menu-toggle-icon { display: block; font-size: 28px; line-height: 1; color: #333; }
    .menu-toggle-icon::before { content: "\2261"; }

    /* メニュー開閉設定（決定版） */
    .main-navigation ul, .main-navigation div, .menu-primary-menu-container {
        display: none;
    }
    .main-navigation.toggled ul,
    .main-navigation.toggled div,
    .main-navigation.toggled .menu-primary-menu-container {
        display: block !important;
        background-color: #fff; width: 100%; position: absolute; top: 100%; left: 0;
        z-index: 1000; box-shadow: 0 5px 15px rgba(0,0,0,0.1); margin: 0; padding: 0;
    }
    .main-navigation li {
        border-top: 1px solid #eee; list-style: none; margin: 0; text-align: center;
    }
    .main-navigation a { display: block; padding: 15px 20px; color: #333; font-weight: bold; }

    /* --- 各セクション調整 --- */
    /* ニュース */
    .news-item { flex-direction: column; align-items: flex-start; gap: 10px; }
    .news-meta { min-width: auto; }
    .news-title { font-size: 20px; }
    .news-content { font-size: 15px; }

    /* 事業内容（ジグザグ） */
    .service-list-container { gap: 60px; }
    .service-list-item, .service-list-item:nth-child(even) {
        flex-direction: column; gap: 20px;
    }
    .service-list-img, .service-list-body { width: 100%; }
    .service-list-title { font-size: 20px; }

    /* 採用情報（カード型） */
    .service-card { width: 100%; }

    /* 会社概要 */
    .company-list dt { background-color: #fafafa; font-weight: bold; }
    .company-list dd { margin: 0; padding-top: 10px; }

    /* 代表挨拶 */
    .message-lead { font-size: 20px; text-align: left; }
    .message-body { flex-direction: column; }
    .message-photo, .message-text { width: 100%; }
    .message-photo { margin-bottom: 30px; }

    /* お問い合わせ */
    .form-row { display: block; padding: 20px 0; }
    .form-label { width: 100%; margin-bottom: 10px; }
    .form-input { width: 100%; }
    .wpcf7-submit { width: 100%; }

    /* フッター */
    .footer-widgets .footer-inner { flex-direction: column; text-align: center; }
    .footer-logo img { margin: 0 auto 20px; }
    .footer-action { text-align: center; }
}


/* =========================================================
   About Us セクション (トップページ)
   ========================================================= */
.section-about {
    padding: 80px 20px;
    background: #ffffff;
    border-top: 1px solid #eee;
}
.about-container {
    max-width: 1000px;
    margin: 0 auto;
}
.about-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 30px;
    font-weight: bold;
    color: #333;
}
.about-title-sub {
    font-size: 16px;
    font-weight: normal;
    color: #666;
    margin-top: 10px;
    display: block;
}
.about-content {
    line-height: 1.8;
    color: #333;
}
.about-lead {
    margin-bottom: 30px;
    text-align: center;
}
.about-issues {
    background: #fdfdfd;
    padding: 30px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.about-issues-list {
    margin: 0;
    padding-left: 20px;
    color: #d32f2f;
}
.about-issues-list li {
    margin-bottom: 10px;
}
.about-issues-list li:last-child {
    margin-bottom: 0;
}
.about-issues-list strong {
    color: #333;
}
.about-issues-list span {
    color: #555;
}
.about-solutions-lead {
    margin-bottom: 20px;
    text-align: center;
}
.about-solutions-list {
    margin-bottom: 40px;
    padding-left: 0;
    list-style-position: inside;
    font-weight: bold;
    color: #004098;
    text-align: center;
}
.about-solutions-list li {
    margin-bottom: 10px;
}
.about-solutions-list li:last-child {
    margin-bottom: 0;
}
.about-solutions-list span {
    color: #333;
    font-weight: normal;
}
.about-message {
    margin-bottom: 80px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    color: #004098;
    border-bottom: 2px solid #eee;
    padding-bottom: 60px;
}
.strengths-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 26px;
    font-weight: bold;
    color: #333;
}
.strengths-title-sub {
    font-size: 16px;
    font-weight: normal;
    color: #666;
    margin-top: 10px;
    display: block;
}
.strengths-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    margin-bottom: 50px;
}
.strength-card {
    flex: 1;
    min-width: 280px;
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 30px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}
.strength-number {
    font-size: 40px;
    color: #004098;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 15px;
}
.strength-heading {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}
.strength-sub {
    font-size: 14px;
    font-weight: normal;
    color: #666;
}
.strength-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}
.about-footer-text {
    text-align: center;
    font-size: 16px;
    color: #333;
    margin-bottom: 40px;
}
.about-btn-wrap {
    text-align: center;
}
.about-btn {
    display: inline-block;
    padding: 12px 40px;
    border: 1px solid #333;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
    border-radius: 4px;
}
.about-btn:hover {
    background: #333;
    color: #fff;
}

/* =========================================================
   スマホ・PCの表示切り替え（レスポンシブ用）
   ========================================================= */
/* PCの時だけ表示（スマホでは消す） */
@media screen and (max-width: 767px) {
    .pc-only {
        display: none !important;
    }
}

/* スマホの時だけ表示（PCでは消す） */
.sp-only {
    display: none !important;
}
@media screen and (max-width: 767px) {
    .sp-only {
        display: block !important;
    }
    /* もし span や br に使う場合はこちらが適用されます */
    span.sp-only, br.sp-only {
        display: inline !important;
    }
}

/* =========================================================
   事業内容詳細ページ (single-service.php)
   ========================================================= */

/* --- 全体のレイアウト --- */
.service-detail-page {
    background: #ffffff;
    color: #333;
}
.header-spacer {
    height: 100px; /* ヘッダーの高さに合わせて調整 */
}
@media screen and (max-width: 767px) {
    .header-spacer {
        height: 70px;
    }
}
.service-detail-page .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}
.service-article {
    padding-bottom: 80px;
}

/* --- ページヘッダー --- */
.service-header {
    background: #f8fafc;
    padding: 30px 0 0;
    margin-bottom: 60px;
}
.breadcrumbs-container {
    margin-bottom: 20px;
}
.service-header .breadcrumbs {
    font-size: 13px;
    color: #666;
}
.service-header .breadcrumbs a {
    color: #004098;
    text-decoration: none;
}
.service-header .breadcrumbs a:hover {
    text-decoration: underline;
}
.service-header .current-page {
    color: #333;
}
.title-container {
    text-align: center;
    margin-bottom: 40px;
}
.service-title {
    font-size: 36px;
    font-weight: bold;
    color: #333;
    line-height: 1.4;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}
.service-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #004098;
    border-radius: 2px;
}
@media screen and (max-width: 767px) {
    .service-title {
        font-size: 24px;
    }
}
.service-main-visual {
    background: #fff;
    margin-top: -1px; /* headerの背景との隙間を埋める */
}
.visual-img-wrap {
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}
.visual-img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- メインコンテンツ --- */
.content-container {
    max-width: 850px; /* 本文は少し狭くして読みやすく */
    margin: 0 auto;
}
.service-content {
    line-height: 1.8;
    font-size: 16px;
    color: #333;
}
@media screen and (max-width: 767px) {
    .service-content {
        font-size: 15px;
    }
}

/* ▼▼ 本文内の要素の装飾（ここがかっこよさのキモ！） ▼▼ */

/* 段落 */
.service-content p {
    margin-bottom: 2em;
}

/* 見出し (H2) */
.service-content h2 {
    font-size: 26px;
    font-weight: bold;
    color: #333;
    margin: 2.5em 0 1.2em;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
    position: relative;
}
.service-content h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: #004098;
}
@media screen and (max-width: 767px) {
    .service-content h2 {
        font-size: 22px;
    }
}

/* 見出し (H3) */
.service-content h3 {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin: 2.5em 0 1em;
    padding-left: 15px;
    border-left: 4px solid #004098;
}
@media screen and (max-width: 767px) {
    .service-content h3 {
        font-size: 18px;
    }
}

/* 箇条書き (ul, ol) */
.service-content ul,
.service-content ol {
    margin-bottom: 2em;
    padding-left: 1.5em;
}
.service-content li {
    margin-bottom: 0.8em;
}
/* ulにチェックマークアイコン (fontawesome等のアイコンフォントなしで実装) */
.service-content ul {
    list-style: none;
    padding-left: 1em;
}
.service-content ul li {
    position: relative;
    padding-left: 1.5em;
}
.service-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #004098;
    font-weight: bold;
}

/* 画像 */
.service-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin: 1em 0 2.5em;
}

/* 表 (テーブル) - スマホスクロール対応 */
.service-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2.5em;
    font-size: 14px;
    display: block; /* スマホでスクロールさせるため */
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.service-content th,
.service-content td {
    border: 1px solid #eee;
    padding: 15px;
    text-align: left;
    min-width: 120px; /* スマホで縮みすぎないように */
}
.service-content th {
    background: #f8fafc;
    font-weight: bold;
    color: #333;
}
.service-content tr:nth-child(even) td {
    background: #fafbfe; /* 偶数行の色を変えて見やすく */
}

/* 引用 (blockquote) */
.service-content blockquote {
    margin: 2em 0;
    padding: 30px;
    background: #fdfdfd;
    border-left: 4px solid #ddd;
    border-radius: 0 4px 4px 0;
    font-style: italic;
    color: #555;
    position: relative;
}
.service-content blockquote p {
    margin-bottom: 1em;
}
.service-content blockquote p:last-child {
    margin-bottom: 0;
}
.service-content blockquote::before {
    content: '“';
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 60px;
    color: #eee;
    line-height: 1;
}

/* 強調 (strong) */
.service-content strong {
    font-weight: bold;
    color: #004098;
}

/* ▲▲ 本文内の要素の装飾ここまで ▲▲ */

/* --- CTAエリア --- */
.section-cta {
    padding: 80px 0;
    background: #f8fafc;
    margin-top: 80px;
}
.cta-box {
    background: #fff;
    padding: 60px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}
@media screen and (max-width: 767px) {
    .cta-box {
        padding: 40px 20px;
    }
}
.cta-title {
    font-size: 26px;
    font-weight: bold;
    color: #004098;
    margin-bottom: 20px;
    line-height: 1.4;
}
@media screen and (max-width: 767px) {
    .cta-title {
        font-size: 20px;
    }
}
.cta-text {
    font-size: 16px;
    margin-bottom: 40px;
    color: #555;
    line-height: 1.8;
}
@media screen and (max-width: 767px) {
    .cta-text {
        font-size: 14px;
    }
}
.btn-cta {
    display: inline-block;
    background: #004098;
    color: #fff;
    padding: 18px 50px;
    text-decoration: none;
    border-radius: 40px;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0,64,152,0.3);
    transition: all 0.3s ease;
}
.btn-cta:hover {
    background: #002e6b;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,64,152,0.4);
}
@media screen and (max-width: 767px) {
    .btn-cta {
        padding: 15px 30px;
        font-size: 16px;
        width: 100%; /* スマホでは全幅に */
        box-sizing: border-box;
    }
}

/* --- フッター（一覧に戻るボタン最強版） --- */
.service-footer {
    text-align: center;
    margin-top: 60px;
}
footer.service-footer a.btn-back {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    min-width: 240px !important;
    min-height: 54px !important;
    padding: 10px 30px !important;
    border: 2px solid #333333 !important;
    background-color: #ffffff !important;
    color: #333333 !important; /* 絶対に文字を黒にする */
    font-size: 16px !important;
    font-weight: bold !important;
    text-decoration: none !important;
    border-radius: 4px !important;
    opacity: 1 !important;
    visibility: visible !important;
    transition: all 0.3s ease !important;
}
footer.service-footer a.btn-back:hover {
    background-color: #333333 !important;
    color: #ffffff !important;
}


/* =========================================================
   【究極の決定版】1400px幅・横幅いっぱい統合デザイン
   ========================================================= */

/* 1. ページ全体を1400pxに固定して中央寄せ */
.sd-final-container {
    width: 100% !important;
    max-width: 1400px !important;
    margin: 40px auto !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
}

/* 2. 全てのテーブルの幅・位置を完全に一致させる */
.sd-final-table {
    width: 100% !important;
    max-width: none !important;
    border-collapse: collapse !important;
    margin-bottom: 40px !important;
    table-layout: fixed !important; /* 列幅を固定してガタつきを防止 */
    background: #fff;
}

.sd-final-table th, 
.sd-final-table td {
    border: 1px solid #e2e8f0 !important;
    padding: 20px !important;
    text-align: left !important;
    vertical-align: top !important;
    word-break: break-all;
}

/* 左側の見出し幅を「25%」で完全固定（これで上下の線が揃います） */
.sd-final-table th {
    width: 25% !important;
    background-color: #f8fafc !important;
    color: #004098 !important;
    font-weight: bold !important;
}

/* 3. 価格表専用：ヘッダーの青帯 */
.sd-price-head th,
.sd-price-head td {
    background-color: #004098 !important;
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: bold !important;
    text-align: center !important;
}
.sd-final-table.price-body td {
    text-align: center !important; /* 価格表の中身は中央寄せ */
}

/* 4. 導入事例（アコーディオン）を全幅にする */
.accordion, .accordion-item {
    width: 100% !important;
    max-width: none !important;
}
.accordion-box {
    display: none;
    width: 100% !important;
    padding: 30px !important;
    background: #fff !important;
    box-sizing: border-box !important;
    border-top: 1px solid #eee;
}
.accordion-check:checked ~ .accordion-box {
    display: block !important; /* チェック時に全幅で表示 */
}

/* 事例内のテーブルをさらに調整 */
.case-inner-table {
    margin: 0 !important;
}
.case-inner-table th {
    width: 100% !important;
    display: block !important;
    background: #004098 !important;
    color: #fff !important;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
    .sd-final-table { min-width: 700px !important; }
    .table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .sd-final-table th { width: 35% !important; }
}

/* =========================================
   情報システム担当サービス：広幅安定版 (sd-wide)
   ========================================= */

/* 全体を1400pxに広げるメイン枠 */
.sd-wide-container {
    max-width: 1400px !important;
    margin: 0 auto !important;
    width: 95% !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
}

/* 全てのテーブルの横幅を揃える（左端の縦線を25%で固定） */
.sd-content-table, 
.tbl-r03, 
.tbl-r04 {
    width: 100% !important;
    border-collapse: collapse !important;
    table-layout: fixed !important;
    margin-bottom: 40px !important;
}

.sd-content-table th, 
.tbl-r03 th {
    width: 25% !important;
    min-width: 200px !important;
    background-color: #f8fafc !important;
    color: #004098 !important;
    font-weight: bold !important;
    border: 1px solid #e2e8f0 !important;
    padding: 20px !important;
}

.sd-content-table td, 
.tbl-r03 td {
    border: 1px solid #e2e8f0 !important;
    padding: 20px !important;
}

/* 価格表の見出し（青帯） */
.tbl-r03 thead th, 
.tbl-r03 thead td {
    background-color: #004098 !important;
    color: #fff !important;
    text-align: center !important;
    font-weight: bold !important;
}

/* アコーディオンを幅いっぱいに */
.accordion, .accordion-item {
    width: 100% !important;
    max-width: none !important;
}
.accordion-box {
    display: none;
    width: 100% !important;
    padding: 30px !important;
    box-sizing: border-box !important;
    background: #fff !important;
    border: 1px solid #eee !important;
}
.accordion-check:checked ~ .accordion-box {
    display: block !important;
}

/* 導入事例テーブルの調整 */
.tbl-r04 td {
    width: 100% !important;
    vertical-align: top !important;
}