@charset "UTF-8";
/* ============================================================
   Sankosha C HD テーマCSS（base.css / contents.css の後に読み込み）
   v3：ヘッダー・フッターを白／淡グレーに統一、文字色を調整
   - ヘッダー：全ページ白地＋ダークグレー文字
   - フッター：淡いグレー(#f6f6f6)＋グレー文字
   - テキスト：#222（見出し）/ #3a3a3a（本文）/ #999（補助）
   ============================================================ */

/* ---- 全体トーン ---- */
html {
    font-size: 16px;
}
body {
    color: #3a3a3a;
    line-height: 2;
    background: #fff;
}

/* ---- 見出し：ジャンプ率とウェイトを抑える ---- */
.h2, h2, .h3, h3, .h4, h4 {
    color: #222;
}
.h2, h2 {
    font-size: 40px;
    font-weight: 600;
    letter-spacing: .02em;
    gap: 14px;
    margin-top: 80px;
    margin-bottom: 40px;
}
@media (max-width: 991.98px) {
    .h2, h2 { font-size: 32px; }
}
.h2 span, h2 span {
    font-size: 13px;
    font-weight: 500;
    color: #999;
}
.h3, h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 25px;
}
@media (max-width: 991.98px) {
    .h3, h3 { font-size: 20px; }
}
.h4, h4 {
    font-size: 18px;
    font-weight: 600;
}

/* ---- テーブル：罫線・背景を淡く、文字色を整える ---- */
table thead th {
    background-color: #eee;
    font-weight: 500;
    color: #555;
}
table tbody td, table tbody th {
    border-top-color: #e4e4e4;
    border-bottom-color: #e4e4e4;
}
table tbody th {
    background-color: #f7f7f7;
    font-weight: 500;
    color: #555;
}
@media (max-width: 767.98px) {
    table:not(:has(thead)) tbody tr + tr > :first-child,
    table:not(:has(thead)) tbody tr > * + * {
        border-top-color: #e4e4e4;
    }
}

/* ============================================================
   ヘッダー：全ページ 白地＋ダークグレー文字
   ============================================================ */
#headerArea {
    background: #fff;
    border-bottom: 1px solid #ececec;
}
#glovalNav > ul > li > a,
#glovalNav > ul > li > button {
    color: #3a3a3a;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: .04em;
}
#glovalNav > ul > li > a:hover,
#glovalNav > ul > li > button:hover {
    color: #4dbcf0;
}
#glovalNav i {
    color: #3a3a3a;
}
#glovalNavBtn {
    color: #555;
}
/* CONTACTの外部リンク矢印：画像に依存しないCSS描画に置き換え */
#glovalNav > ul > li.contactMenu a.external::after {
    background: none;
    width: 8px;
    height: 8px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: translateY(4px) rotate(45deg);
}

/* ---- 下層ページタイトル帯：白地に控えめな表示 ---- */
#contentsHeaderArea {
    color: #222;
}
#contentsHeaderArea::before {
    background: #fff;
}
#contentsHeaderArea h1 {
    font-size: 56px;
    font-weight: 600;
    letter-spacing: .02em;
    padding: 30px 0 15px;
}
#contentsHeaderArea h1.child {
    font-size: 40px;
}
#contentsHeaderArea h1 .subTxt {
    font-size: 13px;
    font-weight: 400;
    color: #999;
    margin-left: 16px;
}
#contentsHeaderArea .categoryTit {
    font-size: 13px;
    font-weight: 500;
    color: #999;
}
#contentsHeaderArea .categoryTit::before {
    background: #4dbcf0;
    width: 16px;
    height: 2px;
}
@media (max-width: 991.98px) {
    #contentsHeaderArea h1 { font-size: 36px; }
    #contentsHeaderArea h1.child { font-size: 30px; }
    #contentsHeaderArea h1 .subTxt { font-size: 12px; margin-left: 0; }
    #contentsHeaderArea .categoryTit { font-size: 12px; }
    #contentsHeaderArea .categoryTit::before { width: 8px; height: 2px; }
}

/* ---- コンテンツ領域：内容がページ幅を押し広げないように ---- */
#contentsBodyArea,
#contentsMainArea,
#contentsSideArea {
    min-width: 0;
}
/* base.css の width:auto はグリッド項目を内容幅で伸ばすため 100% に固定 */
#contentsMainArea {
    width: 100%;
}
/* グリッドトラックの既定 min-width:auto を解除（1fr → minmax(0,1fr)） */
#contentsBodyArea:has(#contentsSideArea) {
    grid-template-columns: 170px minmax(0, 1fr);
}
@media (max-width: 991.98px) {
    #contentsBodyArea:has(#contentsSideArea) {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ---- サイドナビ ---- */
#contentsSideArea ul > li a {
    font-size: 15px;
    font-weight: 500;
    color: #aaa;
}
@media (max-width: 991.98px) {
    #contentsSideArea { border-bottom-color: #ddd; }
    #contentsSideArea ul > li > a { font-size: 15px; }
}

/* ============================================================
   フッター：淡いグレー地＋グレー文字
   ============================================================ */
#footerArea {
    background-color: #f6f6f6;
    color: #3a3a3a;
    border-top: 1px solid #ececec;
}
#footerArea a:active,
#footerArea a:focus {
    color: #4dbcf0;
}
#footerCompanyArea .address {
    color: #777;
}
#footerCompanyArea .logo img {
    width: 100%;
    max-width: 416px;
    height: auto;
}
@media (max-width: 991.98px) {
    #footerCompanyArea .logo img { max-width: 320px; }
}
#footerNav {
    max-width: 520px;
    border-left-color: #ddd;
}
#footerNav > ul > li > a {
    font-size: 16px;
    font-weight: 500;
    color: #222;
}
#footerNav > ul > li > ul > li > a {
    font-size: 13px;
    color: #888;
}
#footerNav > ul > li > ul > li > a:hover {
    color: #4dbcf0;
    border-bottom-color: #4dbcf0;
}
/* フッターCONTACTの矢印もCSS描画に */
#footerNav > ul > li.contactMenu::after {
    background: none;
    width: 8px;
    height: 8px;
    border-top: 2px solid #888;
    border-right: 2px solid #888;
    transform: translateY(-50%) rotate(45deg);
}
#footerOtherNav::before {
    border-top-color: #ddd;
}
#footerOtherNav ul {
    justify-content: flex-start;
}
#footerOtherNav ul li {
    color: #777;
}
#footerOtherNav ul li::after {
    background: #ccc;
}
#copyright {
    text-align: right;
    color: #aaa;
}
@media (max-width: 991.98px) {
    #footerNav { max-width: inherit; }
    #footerNav::before { border-top-color: #ddd; }
}
#toPageTop {
    background: #b5b5b5;
}
#toPageTop:hover {
    background: #4dbcf0;
}

/* ============================================================
   TOP（メインビジュアル）
   ヘッダーが白の固定バーになったため、ヒーローはその下に配置
   ============================================================ */
body#home {
    background: #fff;
    color: #3a3a3a;
}

#mainVisual {
    position: relative;
    height: calc(100svh - 90px);
    min-height: 560px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    background: #e8e8e8;
}
#mainVisual .mainVisualBg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
#mainVisual .mainVisualBg img,
#mainVisual .mainVisualBg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* 可読性確保のスクリム（明るいモノクロ写真の上でも白文字が読める濃度） */
#mainVisual .mainVisualBg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 18, 24, .45) 0%, rgba(15, 18, 24, .3) 45%, rgba(15, 18, 24, .5) 100%);
}
/* 画像未読込時のフォールバック */
#mainVisual .mainVisualBg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, #2a2e36 0%, #3a4552 55%, #262a30 100%);
    z-index: -1;
}

#mainVisualTit {
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 0 50px;
    color: #fff;
    font-family: tt-commons-pro, sans-serif;
    font-weight: 600;
    font-size: clamp(40px, 6.5vw, 96px);
    line-height: 1.15;
    letter-spacing: .02em;
    border-bottom: 0;
    display: block;
}
#mainVisual .copyTxt {
    position: absolute;
    z-index: 1;
    top: 22%;
    right: 50px;
    margin: 0;
    color: rgba(255, 255, 255, .92);
    font-size: 18px;
    font-weight: 400;
    letter-spacing: .4em;
    white-space: nowrap;
}
#mainVisual .scroll {
    position: absolute;
    z-index: 1;
    right: 50px;
    bottom: 40px;
    color: rgba(255, 255, 255, .85);
    font-family: "Josefin Sans", tt-commons-pro, sans-serif;
    font-size: 13px;
    letter-spacing: .15em;
    writing-mode: vertical-rl;
    padding-top: 30px;
}
#mainVisual .scroll::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 1px;
    height: 22px;
    background: rgba(255, 255, 255, .85);
    animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
    0% { transform: translateY(0); opacity: 1; }
    80% { transform: translateY(14px); opacity: 0; }
    100% { transform: translateY(0); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
    #mainVisual .scroll::before { animation: none; }
}
@media (max-width: 767.98px) {
    #mainVisualTit { padding: 0 20px; font-size: clamp(34px, 9vw, 48px); }
    #mainVisual .copyTxt {
        top: auto;
        bottom: 110px;
        right: 20px;
        font-size: 12px;
        letter-spacing: .3em;
    }
    #mainVisual .scroll { right: 20px; bottom: 20px; }
}

/* ============================================================
   会社概要：トップメッセージ
   ============================================================ */
.messageArea {
    display: grid;
    grid-template-columns: 1fr 240px;
    gap: 50px;
    align-items: start;
}
.messageArea .messageBody > p {
    margin-bottom: 1.6em;
}
.messageArea .messageBody > p:last-child {
    margin-bottom: 0;
}
/* リード文（見出し） */
.messageArea .messageLead {
    margin-bottom: 1.4em;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: .01em;
    color: #222;
}
@media (max-width: 991.98px) {
    .messageArea .messageLead { font-size: 20px; }
}
/* 署名 */
.messageArea .messageSign {
    margin-top: 2.4em;
    text-align: right;
    font-size: 14px;
    line-height: 2;
    color: #555;
}
.messageArea .messageSign .signName {
    font-size: 17px;
    font-weight: 600;
    color: #222;
}
@media (max-width: 767.98px) {
    .messageArea .messageSign { text-align: left; }
}
.messageArea figure img {
    width: 100%;
}
.messageArea figure {
    margin-top: 6px;
}
.messageArea .officerName small {
    display: block;
    font-size: 12px;
    color: #999;
    margin-bottom: 2px;
}
.messageArea .officerName .name {
    font-size: 16px;
    font-weight: 600;
    color: #222;
}
@media (max-width: 767.98px) {
    .messageArea {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .messageArea figure {
        max-width: 240px;
    }
}

/* 注釈テキスト */
.notes {
    font-size: 13px;
    color: #888;
}

/* 表内の MAP など外部リンクは前に余白を持たせる */
#contentsMainArea table a.external {
    margin-left: .5em;
}

/* ============================================================
   ヘッダーのバランス調整（ロゴ組み替え・ナビ間隔）
   ============================================================ */
#headerArea {
    height: 100px;
    padding-inline: 40px;
}
@media (max-width: 1279.98px) {
    #headerArea { padding-inline: 30px; }
}
@media (max-width: 991.98px) {
    #headerArea { height: auto; padding-inline: 20px; }
}

/* ---- ロゴ：マーク＋和文を横並びに ---- */
#headerArea .logo .siteLogo {
    display: flex;
    align-items: center;
    gap: 16px;
    line-height: 1;
}
#headerArea .logo .siteLogo-mark {
    width: auto;
    height: 34px;
}
#headerArea .logo .siteLogo-jp {
    width: auto;
    height: 11px;
    /* マークのベースラインに合わせて微調整 */
    margin-top: 3px;
}
@media (max-width: 1279.98px) {
    #headerArea .logo .siteLogo { gap: 12px; }
    #headerArea .logo .siteLogo-mark { height: 30px; }
    #headerArea .logo .siteLogo-jp { height: 10px; }
}
@media (max-width: 991.98px) {
    #headerArea .logo .siteLogo-mark { height: 26px; }
    #headerArea .logo .siteLogo-jp { height: 9px; }
}
@media (max-width: 575.98px) {
    /* 幅が足りないため和文は非表示（alt でマークに社名は伝わる） */
    #headerArea .logo .siteLogo-jp { display: none; }
    #headerArea .logo .siteLogo-mark { height: 24px; }
}
/* メニュー展開時もロゴを維持 */
#headerArea.nav-open .logo .siteLogo-jp {
    display: none;
}

/* ---- ナビゲーション：間隔を広げる（文字サイズ・書体は据え置き） ---- */
#glovalNav {
    padding-right: 110px;
}
#glovalNav > ul > li {
    margin: 0 44px 0 0;
}
#glovalNav > ul > li:last-child {
    margin-right: 0;
}
@media (max-width: 1279.98px) {
    #glovalNav { padding-right: 90px; }
    #glovalNav > ul > li { margin-right: 32px; }
}
/* サブメニューのドロップダウンもゆとりを持たせる */
#glovalNav .subMenu > ul {
    padding: 24px 0;
    margin-top: 24px;
}
#glovalNav .subMenu > ul > li > a {
    padding: 13px 30px;
}

/* ============================================================
   フッターの間隔調整
   ============================================================ */
#footerNavArea {
    padding-block: 20px;
}
#footerCompanyArea {
    padding: 90px 0 30px;
}
#footerCompanyArea .logo {
    margin-bottom: 28px;
}
#footerCompanyArea .address {
    line-height: 2.1;
}
#footerNav {
    padding: 90px 0 90px 90px;
}
#footerNav > ul > li > a {
    letter-spacing: .04em;
}
#footerNav > ul > li > ul {
    margin-top: 28px;
    gap: 10px;
}
#footerOtherNav {
    height: auto;
    padding-block: 26px;
}
#footerOtherNav ul li {
    padding: 0 1.8em;
}
@media (max-width: 1279.98px) {
    #footerNav { padding-left: 60px; }
}
@media (max-width: 991.98px) {
    #footerCompanyArea { padding: 70px 0 40px; }
    #footerNav { padding: 60px 0; }
}
@media (max-width: 767.98px) {
    #footerCompanyArea { padding: 50px 0 40px; }
    #footerNav { padding: 50px 0; }
    #footerNav > ul { row-gap: 48px; }
    #footerOtherNav { padding-block: 22px; }
}
@media (max-width: 575.98px) {
    #footerOtherNav { padding: 30px 20px 36px; }
}

/* フッターナビ：2項目のみのため等間隔配置をやめ、まとまりを持たせる */
#footerNav {
    width: -moz-fit-content;
    width: fit-content;
    max-width: 100%;
}
#footerNav > ul {
    justify-content: flex-start;
    gap: 90px;
}
@media (max-width: 991.98px) {
    #footerNav > ul { gap: 60px; }
}
@media (max-width: 767.98px) {
    #footerNav {
        width: auto;
    }
    #footerNav > ul {
        gap: 0;
        column-gap: 10px;
    }
}

/* SPフッターの微調整 */
@media (max-width: 767.98px) {
    #footerNav {
        width: 100%;
        margin-left: 0;
    }
    #footerNav > ul {
        column-gap: 10px;
    }
}
@media (max-width: 575.98px) {
    /* 縦積み時は左寄せに戻す（base.css の指定を維持） */
    #footerOtherNav ul li {
        padding: 0 0 .6rem 0;
    }
    #copyright {
        text-align: left;
        margin-top: 20px;
    }
}

/* ---- ヘッダーロゴ：英文マークをもう一回り大きく ---- */
#headerArea .logo .siteLogo-mark {
    height: 42px;
}
#headerArea .logo .siteLogo-jp {
    height: 12px;
    margin-top: 4px;
}
@media (max-width: 1279.98px) {
    #headerArea .logo .siteLogo-mark { height: 37px; }
    #headerArea .logo .siteLogo-jp { height: 11px; }
}
@media (max-width: 991.98px) {
    #headerArea .logo .siteLogo-mark { height: 32px; }
    #headerArea .logo .siteLogo-jp { height: 10px; }
}
@media (max-width: 575.98px) {
    #headerArea .logo .siteLogo-mark { height: 28px; }
}

/* ---- フッター下部：リンク削除に伴いコピーライトのみの表示に ---- */
#footerOtherNav {
    display: block;
    text-align: right;
}
#footerOtherNav #copyright {
    min-width: 0;
    margin: 0;
}
@media (max-width: 575.98px) {
    #footerOtherNav {
        text-align: left;
        padding: 24px 20px 30px;
    }
    #footerOtherNav #copyright {
        margin-top: 0;
    }
}

/* ---- ロゴ和文とナビ文字の光学中心を揃える ---- */
#headerArea .logo .siteLogo-jp {
    margin-top: 0;
}

/* ============================================================
   TOPメインビジュアル：動く背景（A案／B案 共通の受け皿）
   ============================================================ */
#mainVisual .fxBg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
#mainVisual .fxBg canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

/* ---- A案：ブラーグラデーション（CSSのみ・外部ライブラリ不要） ----
   WebGLもCDNも使わないため、ハードウェアアクセラレーション無効の環境や
   社内ネットワークで外部CDNが遮断された環境でも動作する。
   transform のみを動かすためGPU合成で軽い。 */
body.bg-gradient #mainVisual {
    background: #0038a8;
}
/* ベースのグラデーション（動く色の下地） */
body.bg-gradient #mainVisual .fxBg {
    background: linear-gradient(118deg, #0038a8 0%, #0a6fd8 46%, #45c3f7 74%, #ffffff 100%);
}
/* 以下はライブラリが使えない場合のCSS代替（JSが .is-fallback を付与したときのみ動作） */
body.bg-gradient .fxBlobs {
    position: absolute;
    inset: -12%;
    filter: blur(72px);
    will-change: transform;
}
body.bg-gradient .fxBlob {
    position: absolute;
    display: block;
    border-radius: 50%;
    will-change: transform;
    animation: fxDrift 24s ease-in-out infinite alternate;
}
body.bg-gradient .fxBlob.a {
    width: 62vw; height: 62vw; left: -8vw; top: -14vw;
    background: #0038a8; opacity: .95;
    animation-duration: 24s;
}
body.bg-gradient .fxBlob.b {
    width: 54vw; height: 54vw; right: -6vw; top: 4vh;
    background: #ffffff; opacity: .9;
    animation-duration: 31s; animation-direction: alternate-reverse;
}
body.bg-gradient .fxBlob.c {
    width: 50vw; height: 50vw; left: 22vw; bottom: -18vw;
    background: #45c3f7; opacity: .9;
    animation-duration: 27s;
}
body.bg-gradient .fxBlob.d {
    width: 42vw; height: 42vw; right: 16vw; bottom: -12vw;
    background: #0a6fd8; opacity: .85;
    animation-duration: 35s; animation-direction: alternate-reverse;
}
@keyframes fxDrift {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to   { transform: translate3d(10vw, 7vh, 0) scale(1.22); }
}

/* 低速モード：OSの「動きを減らす」設定時は、
   停止させずに移動量を抑えたごく緩やかな動きにする */
@media (prefers-reduced-motion: reduce) {
    body.bg-gradient .fxBlob {
        animation-name: fxDriftSlow;
        animation-duration: 120s;
    }
    body.bg-gradient .fxBlob.b { animation-duration: 150s; }
    body.bg-gradient .fxBlob.c { animation-duration: 135s; }
    body.bg-gradient .fxBlob.d { animation-duration: 165s; }
}
@keyframes fxDriftSlow {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to   { transform: translate3d(3vw, 2vh, 0) scale(1.06); }
}

/* スクリムは最小限に。明部の白さと彩度を残したまま、
   文字側は影で可読性を確保する */
body.bg-gradient #mainVisual .mainVisualBg::after {
    background:
        linear-gradient(100deg, rgba(0, 26, 62, .34) 0%, rgba(0, 26, 62, .12) 42%, rgba(0, 26, 62, 0) 68%),
        linear-gradient(180deg, rgba(0, 26, 62, .10) 0%, rgba(0, 26, 62, 0) 40%, rgba(0, 26, 62, .18) 100%);
}
body.bg-gradient #mainVisualTit {
    text-shadow: 0 2px 34px rgba(0, 26, 70, .5);
}
/* 右側は明部（ほぼ白）に重なるため、この2要素は濃紺に */
body.bg-gradient #mainVisual .copyTxt,
body.bg-gradient #mainVisual .scroll {
    color: #0b2f6b;
    text-shadow: 0 1px 10px rgba(255, 255, 255, .55);
}
body.bg-gradient #mainVisual .scroll::before {
    background: #0b2f6b;
}

/* ---- B案：粒子背景（白の線形グラデーション＋白い粒子） ---- */
body.bg-particles #mainVisual {
    background: #ffffff;
}
body.bg-particles #mainVisual .fxBg {
    background: linear-gradient(160deg, #ffffff 0%, #dbe7f3 42%, #9dbbd8 100%);
}
/* 白い粒子が沈まないよう、スクリムは薄い青寄りのグラデーションに */
body.bg-particles #mainVisual .mainVisualBg::after {
    background: linear-gradient(160deg, rgba(255, 255, 255, .20) 0%, rgba(160, 190, 220, .10) 55%, rgba(120, 155, 195, .18) 100%);
}
/* 背景が明るいため、メインビジュアル内の文字は濃色に切り替え */
body.bg-particles #mainVisualTit {
    color: #12233a;
    text-shadow: none;
}
body.bg-particles #mainVisual .copyTxt {
    color: rgba(18, 35, 58, .85);
}
body.bg-particles #mainVisual .scroll {
    color: rgba(18, 35, 58, .7);
}
body.bg-particles #mainVisual .scroll::before {
    background: rgba(18, 35, 58, .7);
}


/* ============================================================
   メインビジュアル：ヘッダー実寸に追従（SPでの余白ズレ解消）
   ============================================================ */
#mainVisual {
    height: calc(100svh - var(--headerH, 100px));
}
@media (max-width: 991.98px) {
    #mainVisual {
        height: calc(100svh - var(--headerH, 54px));
        min-height: 480px;
    }
}

/* ============================================================
   フッターナビ：見出しと子リンクのメリハリを強める
   ============================================================ */
#footerNav > ul > li {
    min-width: 190px;
}
/* 見出し（COMPANY / CONTACT） */
#footerNav > ul > li > a {
    display: block;
    padding-bottom: 14px;
    border-bottom: 1px solid #d8d8d8;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .08em;
    color: #1a1a1a;
    transition: color .2s ease, border-color .2s ease;
}
#footerNav > ul > li > a:hover {
    color: #4dbcf0;
    border-bottom-color: #4dbcf0;
}
/* 子リンク */
#footerNav > ul > li > ul {
    margin-top: 20px;
    gap: 12px;
}
#footerNav > ul > li > ul > li > a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding-right: 4px;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: .01em;
    color: #6e6e6e;
    border-bottom: 0;
    transition: color .2s ease;
}
/* 子リンクの矢印（CSS描画・画像に依存しない） */
#footerNav > ul > li > ul > li > a::after {
    content: "";
    flex: 0 0 auto;
    width: 5px;
    height: 5px;
    background: none;
    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
    transform: rotate(45deg);
    transition: transform .2s ease;
}
#footerNav > ul > li > ul > li > a:hover {
    color: #4dbcf0;
    border-bottom-color: transparent;
}
#footerNav > ul > li > ul > li > a:hover::after {
    transform: translateX(3px) rotate(45deg);
}
/* CONTACT（外部リンク）の矢印は見出し行に合わせて配置 */
#footerNav > ul > li.contactMenu {
    padding-right: 0;
}
#footerNav > ul > li.contactMenu::after {
    top: 11px;
    right: 2px;
    width: 7px;
    height: 7px;
    border-top: 1px solid #1a1a1a;
    border-right: 1px solid #1a1a1a;
    transform: rotate(45deg);
    background: none;
}
#footerNav > ul > li.contactMenu > a {
    padding-right: 22px;
}
@media (max-width: 767.98px) {
    #footerNav > ul > li { min-width: 0; }
    #footerNav > ul > li > a {
        font-size: 18px;
        padding-bottom: 12px;
    }
    #footerNav > ul > li > ul { margin-top: 16px; }
    #footerNav > ul > li > ul > li > a { font-size: 14px; }
}

/* CONTACTの矢印は見出しテキストの直後に置く */
#footerNav > ul > li.contactMenu::after {
    content: none;
}
#footerNav > ul > li.contactMenu > a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-right: 0;
}
#footerNav > ul > li.contactMenu > a::after {
    content: "";
    flex: 0 0 auto;
    width: 6px;
    height: 6px;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    transform: rotate(45deg);
    transition: transform .2s ease;
}
#footerNav > ul > li.contactMenu > a:hover::after {
    transform: translateX(3px) rotate(45deg);
}

/* ============================================================
   SP：ハンバーガーボタンがメインビジュアルに重ならないようにする
   （ボタンは position:fixed のため、ヘッダー高さを確保して逃がす）
   ============================================================ */
@media (max-width: 991.98px) {
    #headerArea {
        min-height: 84px;
        padding-top: 22px;
        padding-bottom: 12px;
    }
    /* ロゴの中心とボタンの中心を合わせる */
    #glovalNavBtn {
        top: 11px;
    }
}

/* メニュー展開時もロゴを前面に（base.css の z-index がオーバーレイに負けるため） */
@media (max-width: 991.98px) {
    #headerArea.nav-open .logo {
        z-index: 13;
    }
}


/* ============================================================
   組織図：支給データ（sosiki.svg）の座標をそのまま再現
   ---------------------------------------------------------
   原寸 942×480 のうち、左右上下の余白を除いた 789×449 を
   コンテナとし、各ボックス・罫線を絶対配置で完全一致させる。
   ・ボックス 189×69／ホールディングス 309×109
   ・ボックス間マージン 51px（横）・51px（縦）で均等
   ============================================================ */
.orgChart {
    max-width: 100%;
    min-width: 0;
    margin-bottom: 12px;
    padding: 30px 20px;
    background: #fafafa;
    border: 1px solid #e2e2e2;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
}
.orgChart-note {
    margin-bottom: 39.96px;
    font-size: 12px;
    color: #999;
}
@media (min-width: 1280px) {
    .orgChart-note { display: none; }
}

/* 図の台紙（原寸固定・中央寄せ） */
.orgMap {
    position: relative;
    width: 789px;
    height: 449px;
    margin-inline: auto;
    flex: 0 0 auto;
}

/* ボックス共通 */
.orgMap-box {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 189px;
    height: 69px;
    padding: 6px 8px;
    background: #fff;
    border: 1px solid #b4b4b4;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.55;
    color: #222;
}
/* ホールディングス（黒ベタ） */
.orgMap-box.is-parent {
    flex-direction: column;
    width: 309px;
    height: 109px;
    background: #231815;
    border-color: #231815;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}
.orgMap-box.is-parent small {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    font-weight: 400;
    color: #bdbdbd;
}

/* 罫線（縦・横） */
.orgMap-lineV,
.orgMap-lineH {
    position: absolute;
    background: #8c8c8c;
}
.orgMap-lineV { width: 1px; }
.orgMap-lineH { height: 1px; }

@media (max-width: 767.98px) {
    .orgChart { padding: 24px 14px; }
}

/* ---- メインキャッチ：Inter SemiBold(600) ---- */
#mainVisualTit {
    font-family: "Inter", tt-commons-pro, sans-serif;
    font-weight: 600;
    letter-spacing: -.01em;
}
