:root {
            --navy: #1a2840;
            --navy-dark: #0f1a2e;
            --navy-light: #e8edf3;
            --text: #333;
            --text-light: #666;
            --bg-light: #f7f7f5;
            --border: #e0e0e0;
        }

.sectiontitle {
    padding: .5em .7em;
    border-left: 5px solid #2589d0;
    color: #333333;
    font-size: clamp(2rem, 2vw, 2rem);
    line-height: 1.2;}

        *, *::before, *::after { box-sizing: border-box; }
        html { scroll-behavior: smooth; }
        body {
            font-family: 'Noto Sans JP', sans-serif;
            color: var(--text);
            background: #fff;
            overflow-x: hidden;
        }

        /* scrollbar */
        ::-webkit-scrollbar { width: 5px; }
        ::-webkit-scrollbar-thumb { background: var(--navy); border-radius: 3px; }

        /* ===== NAVBAR ===== */
        #mainNav {
            background: #fff;
            position: sticky;
            top: 0;
            z-index: 1050;
            box-shadow: 0 2px 14px rgba(0,0,0,.12);
            border-bottom: 1px solid var(--border);
        }
        #mainNav .navbar-brand {
            font-weight: 900;
            font-size: 1.05rem;
            color: var(--navy) !important;
            white-space: nowrap;
            letter-spacing: .04em;
        }
        #mainNav .navbar-brand span { color: var(--navy); }
        #mainNav .nav-link {
            color: var(--text) !important;
            font-size: .82rem;
            font-weight: 500;
            padding: 1.05rem .75rem !important;
            transition: color .2s;
            white-space: nowrap;
        }
        #mainNav .nav-link:hover,
        #mainNav .nav-link.active { color: var(--navy) !important; }
        #mainNav .nav-link.active { border-bottom: 2px solid var(--navy); }
        #mainNav .dropdown-menu {
            background: #fff;
            border: 1px solid var(--border);
            border-top: 3px solid var(--navy);
            border-radius: 0;
            padding: .3rem 0;
            min-width: 150px;
        }
        #mainNav .dropdown-item {
            color: var(--text);
            font-size: .82rem;
            padding: .5rem 1.1rem;
            transition: background .2s;
        }
        #mainNav .dropdown-item:hover { background: var(--navy); color: #fff; }
        .navbar-toggler { border-color: var(--navy); }
        .navbar-toggler-icon {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%231a2840' stroke-linecap='round' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
        }
/* ===== ナビのSNSアイコン ===== */
.nav-sns i {
    font-size: 1.7rem; 
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .25rem .5rem !important;
    transition: color .2s ease, transform .2s ease;
}
.nav-sns:hover {
    transform: translateY(-2px);
}

/* Instagram：公式グラデーション */
.nav-sns .bi-instagram {
    background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* Facebook：公式ブルー */
.nav-sns .bi-facebook {
    color: #1877f2 !important;
}

/* PC表示では左右の余白を少し詰める */
@media (min-width: 992px) {
    .nav-sns { padding: 0 .35rem !important; }
}

        .btn-nav-tel {
            background: var(--navy);
            color: #fff !important;
            border-radius: 2px;
            font-size: .8rem;
            font-weight: 700;
            padding: .4rem 1rem !important;
            transition: background .2s;
        }
        .btn-nav-tel:hover { background: var(--navy-dark) !important; }

        /* ===== HERO ===== */
        #heroCarousel .carousel-item {
            height: clamp(450px, 78vw, 810px);
        }
        #heroCarousel .carousel-item img {
            width: 100%; height: 100%; object-fit: cover; object-position: center;
        }
        
        #heroCarousel .carousel-caption {
            inset: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 0 1rem;
            text-align: center;
            color: #1a2840;
        }

        /* タイトルと本文をまとめた1つの半透明・角丸ボックス */
        #heroCarousel .caption-box {
            background: rgba(255,255,255,.7);   /* 透かし。数値を下げると透明度UP */
            border-radius: 14px;
            box-shadow: 0 6px 20px rgba(0,0,0,.12);
            max-width: 760px;
            padding: 1.6rem 2rem;
        }

        /* 1行目（会社名）を大きめに */
        #heroCarousel .caption-title {
            display: block;
            font-size: clamp(1.4rem, 3.4vw, 2.4rem);
            font-weight: 900;
            line-height: 1.3;
            margin-bottom: .6rem;
        }

        /* 本文をもう少し大きめに */
        #heroCarousel .caption-text {
            font-size: clamp(.95rem, 1.7vw, 1.15rem);
            line-height: 1.9;
            margin: 0;
        }
        
        .hero-inner {
            padding: 2rem 3rem;
            max-width: 620px;
        }
        .hero-inner .hero-sub {
            font-size: .72rem;
            letter-spacing: .16em;
            text-transform: uppercase;
            color: #fff;
            font-weight: 700;
            margin-bottom: .5rem;
        }
        .hero-inner h1 {
            font-family: 'Oswald', sans-serif;
            font-size: clamp(1.5rem, 3.8vw, 2.7rem);
            color: #fff;
            line-height: 1.2;
            margin-bottom: .9rem;
        }
        .hero-inner .breadcrumb {
            background: transparent; padding: 0; margin-bottom: 1.3rem;
        }
        .hero-inner .breadcrumb-item,
        .hero-inner .breadcrumb-item + .breadcrumb-item::before {
            color: rgba(255,255,255,.68); font-size: .8rem;
        }
        .hero-inner .btn-hero {
            background: var(--navy); color: #fff; border: none;
            padding: .6rem 1.7rem; font-size: .84rem; font-weight: 700;
            border-radius: 2px; transition: background .2s, transform .2s;
        }
        .hero-inner .btn-hero:hover { background: var(--navy-dark); transform: translateY(-2px); }

        @media (max-width:576px) {
            .hero-inner { padding: 1.2rem 1.4rem; }
            .hero-inner h1 { font-size: 1.3rem; }
        }

        /* ===== INFORMATION ===== */
        #information { padding: 2.2rem 0 1.8rem; background: #fff; }
        .info-list { list-style: none; padding: 0; margin: 0; }
        .info-list li {
            display: flex; align-items: baseline; gap: 1.8rem;
            padding: .7rem 0; border-bottom: 1px solid var(--border);
        }
        .info-list li:first-child { border-top: 1px solid var(--border); }
        .info-date {
            font-size: .8rem; color: var(--text-light);
            flex-shrink: 0; min-width: 88px;
            font-family: 'Oswald', sans-serif; letter-spacing: .03em;
        }
        .info-list a {
            font-size: .86rem; color: var(--navy);
            text-decoration: none; transition: color .2s;
        }
        .info-list a:hover { color: var(--navy-dark); text-decoration: underline; }
        @media (max-width:480px) {
            .info-list li { flex-direction: column; gap: .2rem; }
        }

/* ===== PHILOSOPHY ===== */
#philosophy { padding: 3rem 0; background: var(--bg-light); }
.philosophy-img {
    position: relative;
    padding-top: 60px;
    padding-left: 60px;
    max-width: 660px;      /* 画像500px + 左余白60px */
}
.philosophy-img img {
    display: block;
    width: 100%;
    max-width: 560px;      /* min-width から max-width に変更 */
    height: auto;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.phil-badge {
    position: absolute; top: 0; left: 0;
    background: var(--navy); color: #fff;
    font-weight: 900;
    font-size: 1.75rem; line-height: 1.4; z-index: 2;
    width: 120px; height: 120px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center;
    box-shadow: 0 0 0 10px #fff;
}   
        
        .check-list { list-style: none; padding: 0; margin: 0; }
        .check-list li {
            display: flex; align-items: flex-start; gap: .55rem;
            margin-bottom: .65rem; font-size: .86rem;
        }
        .check-list li i { color: var(--navy); margin-top: .15rem; flex-shrink: 0; }

        /* ===== FACTS ===== */
        #facts { padding: 0;    background: #fff;   }
        .fact-item {
            position: relative; overflow: hidden;
            height: 400px; cursor: pointer;
            
        }
        .fact-item img {
            width: 100%; height: 100%; object-fit: cover;
            transition: transform .5s ease;
        }
        .fact-item:hover img { transform: scale(1.06); }
        .fact-overlay {
            position: absolute; inset: 0;
            background: linear-gradient(to top, rgba(0,0,0,.4) 40%, rgba(0,0,0,.1));
            display: flex; flex-direction: column; justify-content: flex-end;
            padding: 1rem .9rem;
            transition: background .3s;
            text-decoration: none;
        }
        .fact-item:hover .fact-overlay {
            background: linear-gradient(to top, rgba(26,40,64,.92) 40%, rgba(0,0,0,.18));
        }
        .fact-overlay h5 { color: #fff; font-size: 2rem; font-weight: 700; margin-bottom: .25rem; }
        .fact-overlay p { color: rgba(255,255,255,.85); font-size: 1rem; margin-bottom: .4rem; line-height: 1.5; }
        .fact-link { color: rgba(255,255,255,.9); font-size: .74rem; text-decoration: none; }
        .fact-item:hover .fact-link { color: #fff; }

        /* ===== FEATURES ===== */
        #features { padding: 3rem 0; background: #fff; }
        .features-img {
            position: relative;
            padding-top: 60px;
            padding-left: 60px;
            min-height: 340px;
        }
        .features-img img {
            display: block;
            width: 100%;
            height: 280px;
            object-fit: cover;
            position: relative;
            z-index: 1;
        }
        .gift-badge {
    position: absolute; top: 0; left: 0;
    background: var(--navy); color: #fff;
    font-weight: 900;
    font-size: 1.75rem; line-height: 1.4; z-index: 2;
    width: 120px; height: 120px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center;
    box-shadow: 0 0 0 10px #fff;

        }

        /* ===== SERVICE ===== */
        #service { padding: 3rem 0; background: var(--bg-light); }
        .svc-card {
            background: #fff; border: 1px solid var(--border); overflow: hidden;
            transition: box-shadow .3s, transform .3s;
        }
        .svc-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,.12); transform: translateY(-4px); }
        .svc-card img {
            width: 100%; height: 260px; object-fit: cover;
            transition: transform .4s;
        }
        .svc-card:hover img { transform: scale(1.06); }
        .svc-card .svc-body { padding: 1.1rem 1rem; text-align: center; }
        .svc-card .svc-title { font-size: .95rem; font-weight: 700; margin-bottom: .4rem; }
        .svc-card .svc-text { font-size: .82rem; color: var(--text-light); }

        /* ===== SPORTS ===== */
        #sports { padding: 3rem 0; background: #fff; }
        .sports-img { position: relative; overflow: hidden; min-height: 300px; }
        .sports-img img { width: 100%; height: 100%; object-fit: cover; min-height: 300px; }
        .sports-badge {
            position: absolute; top: 0; left: 0;
            background: var(--navy); color: #fff;
            font-weight: 900; font-size: .95rem;
            padding: .65rem 1.1rem; z-index: 2;
        }

        /* ===== FOOTER ===== */
        #footer { background: var(--navy); color: rgba(255,255,255,.72); padding: 3rem 0 0; }
        #footer h5 {
            color: #fff; font-weight: 700; font-size: .95rem;
            margin-bottom: 1rem; padding-bottom: .55rem;
            border-bottom: 1px solid rgba(255,255,255,.14);
        }
        #footer p, #footer li { font-size: .82rem; line-height: 1.95; }
        #footer ul { list-style: none; padding: 0; }
        #footer a { color: rgba(255,255,255,.6); text-decoration: none; font-size: .82rem; transition: color .2s; }
        #footer a:hover { color: #fff; }
        .footer-bottom {
            margin-top: 2rem; padding: .9rem 0;
            border-top: 1px solid rgba(255,255,255,.1);
            font-size: .76rem; color: rgba(255,255,255,.38);
        }
        .footer-bottom a { color: rgba(255,255,255,.7); font-size: .76rem; }

        /* ===== BTN ===== */
        .btn-orange {
            background: var(--navy); color: #fff; border: none;
            border-radius: 2px; font-weight: 700; font-size: .84rem;
            padding: .52rem 1.4rem; transition: background .2s, transform .2s;
        }
        .btn-orange:hover { background: var(--navy-dark); color: #fff; transform: translateY(-2px); }
        .btn-out-orange {
            border: 2px solid var(--navy); color: var(--navy);
            background: transparent; border-radius: 2px;
            font-weight: 700; font-size: .8rem;
            padding: .4rem 1.1rem; transition: all .2s;
        }
        .btn-out-orange:hover { background: var(--navy); color: #fff; }

        /* ===== BACK TO TOP ===== */
        #backToTop {
            position: fixed; right: 22px; bottom: 22px;
            width: 42px; height: 42px;
            background: var(--navy); color: #fff;
            border: none; border-radius: 2px; cursor: pointer;
            display: none; align-items: center; justify-content: center;
            font-size: 1rem; z-index: 999;
            box-shadow: 0 3px 12px rgba(0,0,0,.25);
            transition: background .2s, transform .2s;
        }
        #backToTop:hover { background: var(--navy-dark); transform: translateY(-3px); }
        #backToTop.show { display: flex; }

        /* ===== ANIMATE ON SCROLL ===== */
        .anim { opacity: 0; transform: translateY(26px); transition: opacity .65s ease, transform .65s ease; }
        .anim-left { opacity: 0; transform: translateX(-28px); transition: opacity .65s ease, transform .65s ease; }
        .anim-right { opacity: 0; transform: translateX(28px); transition: opacity .65s ease, transform .65s ease; }
        .anim.in, .anim-left.in, .anim-right.in { opacity: 1; transform: none; }

/*
 * about-specific.css
 * 会社案内ページ（about.html）専用スタイル
 */

/* ===== PAGE HERO（サブページ共通ヒーロー） ===== */
.page-hero {
    position: relative;
    /* 高さを以前の半分に変更（旧: clamp(220px, 35vw, 420px)） */
    height: clamp(110px, 17.5vw, 210px);
    overflow: hidden;
    /* 紺 → 薄い青のグラデーション背景 */
    background: linear-gradient(135deg, #1a2840 0%, #2589d0 60%, #7ec0ee 100%);
}
.page-hero img {
    width: 100%; height: 100%; object-fit: cover;
    object-position: center 40%;
    filter: brightness(.75);
    transition: transform 6s ease;
}
.page-hero:hover img { transform: scale(1.04); }
.page-hero-overlay {
    position: absolute; inset: 0;
    /* 画像がなくなったのでオーバーレイは透明に（背景はpage-hero側のグラデーションを使用） */
    background: transparent;
    display: flex; flex-direction: column;
    align-items: flex-start; justify-content: flex-end;
    /* 高さが半分になったぶん上下paddingも縮小 */
    padding: 1.2rem clamp(1.2rem, 5vw, 4rem) 1rem;
}
.page-hero-overlay .page-label {
    font-size: .7rem; letter-spacing: .22em; text-transform: uppercase;
    color: rgba(255,255,255,.65); font-family: 'Oswald', sans-serif;
    margin-bottom: .35rem;
}
.page-hero-overlay h1 {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(1.6rem, 4vw, 2.8rem);
    color: #fff; font-weight: 700; margin: 0;
    line-height: 1.2;
}
.page-hero-overlay h1 span {
    display: block; font-family: 'Oswald', sans-serif;
    font-size: clamp(.85rem, 1.8vw, 1.1rem); font-weight: 500;
    color: rgba(255,255,255,.75); letter-spacing: .1em;
    text-transform: uppercase; margin-top: .3rem;
}
/* ===== 部署バッジ（建設部など、h1の前に置く四角ラベル） ===== */
.page-hero-overlay h1 .dept-badge {
    /* h1直下のspanはブロック表示になっているので、ここではインラインブロックで上書き */
    display: inline-block;
    background: #0f1a2e;            /* 濃い紺 */
    color: #ffd400;                 /* 黄色文字 */
    font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(.7rem, 1.2vw, .9rem);
    font-weight: 700;
    letter-spacing: .1em;
    padding: .25rem .7rem;
    margin-right: .6rem;
    margin-bottom: .4rem;
    vertical-align: middle;
    text-transform: none;            /* h1 span の大文字化を打ち消す */
    line-height: 1.4;
}

/* ===== BREADCRUMB BAR ===== */
/* ※ styles.css の .hero-inner .breadcrumb とは別クラスのため重複なし */
.breadcrumb-bar {
    background: var(--navy-light);
    border-bottom: 1px solid var(--border);
    padding: .55rem 0;
}
.breadcrumb-bar .breadcrumb {
    margin: 0; padding: 0; background: transparent;
    font-size: .76rem;
}
.breadcrumb-bar .breadcrumb-item a {
    color: var(--navy); text-decoration: none;
}
.breadcrumb-bar .breadcrumb-item.active { color: var(--text-light); }
.breadcrumb-bar .breadcrumb-item + .breadcrumb-item::before { color: var(--text-light); }

/* ===== SECTION LAYOUT ===== */
/* ※ #philosophy / #features は styles.css で padding 定義済み。about-section は別クラスで競合なし */
.about-section { padding: 4rem 0; }
.about-section.bg-alt { background: var(--bg-light); }
.about-section.bg-navy { background: var(--navy); }

/* ===== SECTION TYPOGRAPHY ===== */
.section-eyebrow {
    font-family: 'Oswald', sans-serif;
    font-size: .72rem; letter-spacing: .25em; text-transform: uppercase;
    color: #2589d0; font-weight: 500; margin-bottom: .4rem;
}
.section-heading {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700;
    color: var(--navy); margin-bottom: 1.6rem;
    position: relative; padding-bottom: .9rem;
}
.section-heading::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 40px; height: 3px; background: #2589d0;
}
.section-heading.center::after { left: 50%; transform: translateX(-50%); }

/* ===== PHILOSOPHY TEXT ===== */
/* ※ .philosophy-img / .phil-badge は styles.css 定義済み。以下は about.html 独自クラス */
.philosophy-lead {
    font-size: 1.05rem; line-height: 2; color: var(--text);
    border-left: 4px solid var(--navy); padding-left: 1.2rem;
    margin-bottom: 1.2rem;
}
.philosophy-sub {
    font-size: .88rem; line-height: 1.95; color: var(--text-light);
}

/* ===== PHIL VISUAL（about.html 独自の画像ブロック） ===== */
/* ※ styles.css の .philosophy-img とは別クラス */
.phil-visual { position: relative; }
.phil-visual .main-img {
    width: 100%; height: 320px; object-fit: cover; display: block;
}
.phil-visual .accent-bar {
    position: absolute; top: -16px; left: -16px;
    width: 80px; height: 80px; background: var(--navy); z-index: 0;
}
.phil-visual .img-wrap {
    position: relative; z-index: 1;
    margin-top: 16px; margin-left: 16px;
    box-shadow: 8px 8px 0 rgba(26,40,64,.18);
}
.phil-badge-year {
    position: absolute; bottom: -20px; right: -20px;
    background: #2589d0; color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem; line-height: 1.3;
    width: 88px; height: 88px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center; z-index: 2;
    box-shadow: 4px 4px 0 rgba(0,0,0,.15);
}
.phil-badge-year .yr-big { font-size: 1.5rem; font-weight: 700; }

/* ===== 行動理念 CARDS ===== */
.principle-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
@media (max-width: 576px) {
    .principle-grid { grid-template-columns: 1fr; }
}
.principle-card {
    background: #fff; border: 1px solid var(--border);
    padding: 1.3rem 1.1rem; position: relative;
    transition: box-shadow .3s, transform .3s;
}
.principle-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    transform: translateY(-3px);
}
.principle-num {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem; font-weight: 700;
    color: rgba(26,40,64,.08); position: absolute;
    top: .5rem; right: .9rem; line-height: 1;
}
.principle-icon {
    width: 42px; height: 42px; background: var(--navy);
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; margin-bottom: .8rem; flex-shrink: 0;
}
.principle-title {
    font-size: .92rem; font-weight: 700; color: var(--navy); margin-bottom: .4rem;
}
.principle-text {
    font-size: .8rem; color: var(--text-light); line-height: 1.8;
}

/* ===== ４つのテスト LIST ===== */
.test-list {
    list-style: none; padding: 0; margin: 0;
}
.test-list li {
    display: flex; align-items: flex-start; gap: 1rem;
    padding: 1.1rem 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
}
.test-list li:first-child { border-top: 1px solid rgba(255,255,255,.12); }
.test-num {
    font-family: 'Oswald', sans-serif; font-size: 1.6rem;
    font-weight: 700; color: #2589d0; flex-shrink: 0; line-height: 1;
    min-width: 32px;
}
.test-text {
    font-size: .88rem; color: rgba(255,255,255,.88); line-height: 1.8;
}

/* ===== 会社概要 TABLE ===== */
.overview-table {
    width: 100%; border-collapse: collapse;
}
.overview-table tr { border-bottom: 1px solid var(--border); }
.overview-table tr:first-child th,
.overview-table tr:first-child td { border-top: 2px solid var(--navy); }
.overview-table th {
    width: 30%; padding: 1rem .8rem;
    font-size: .82rem; font-weight: 700;
    color: var(--navy); vertical-align: top;
    white-space: nowrap; background: var(--navy-light);
}
.overview-table td {
    padding: 1rem .8rem;
    font-size: .82rem; color: var(--text);
    line-height: 1.85; vertical-align: top;
}
@media (max-width: 576px) {
    .overview-table th { width: 38%; font-size: .76rem; }
    .overview-table td { font-size: .76rem; }
}

/* ===== 沿革 TIMELINE ===== */
.history-timeline { position: relative; padding-left: 2rem; }
.history-timeline::before {
    content: ''; position: absolute; left: 0; top: 4px; bottom: 0;
    width: 2px; background: linear-gradient(to bottom, var(--navy), rgba(26,40,64,.15));
}
.history-item { position: relative; padding-bottom: 1.6rem; }
.history-item::before {
    content: ''; position: absolute; left: -2.35rem; top: 6px;
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--navy); border: 2px solid #fff;
    box-shadow: 0 0 0 2px var(--navy);
}
.history-year {
    font-family: 'Oswald', sans-serif; font-size: .78rem;
    color: #2589d0; font-weight: 700; letter-spacing: .05em;
    margin-bottom: .15rem;
}
.history-text {
    font-size: .82rem; color: var(--text); line-height: 1.75;
}

/* ===== MISSION BANNER ===== */
.mission-banner {
    background: var(--navy);
    padding: 3rem 0;
    text-align: center;
    position: relative; overflow: hidden;
}
.mission-banner::before {
    content: ''; position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.mission-banner .mission-quote {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    color: rgba(255,255,255,.92); line-height: 2.2;
    max-width: 720px; margin: 0 auto;
    position: relative; z-index: 1;
}
.mission-banner .mission-quote::before,
.mission-banner .mission-quote::after {
    content: '\201C';
    font-family: Georgia, serif; font-size: 4rem;
    color: rgba(37,137,208,.5); line-height: 0;
    vertical-align: -1.2rem; display: inline-block;
}
.mission-banner .mission-quote::after { content: '\201D'; }

/*
 * service-specific.css
 * 事業案内詳細ページ共通スタイル（ship.html 等）
 * ※ styles.css → about-specific.css → service-specific.css の順で読み込む
 * ※ page-hero / breadcrumb-bar / about-section / section-eyebrow / section-heading は
 *    about-specific.css で定義済みのため重複記載なし
 */

/* ===== MAIN VISUAL（左画像 + 右テキスト 全幅ブロック） ===== */
.svc-main-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 400px;
}
@media (max-width: 768px) {
    .svc-main-block { grid-template-columns: 1fr; }
}
.svc-main-img {
    position: relative; overflow: hidden;
}
.svc-main-img img {
    width: 100%; height: 100%; min-height: 320px;
    object-fit: cover;
    transition: transform .6s ease;
    display: block;
}
.svc-main-block:hover .svc-main-img img { transform: scale(1.04); }
.svc-main-body {
    background: var(--navy);
    display: flex; flex-direction: column; justify-content: center;
    padding: 3rem clamp(1.5rem, 5vw, 3.5rem);
}
.svc-main-body .svc-main-title {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(1.3rem, 2.8vw, 1.9rem);
    color: #fff; font-weight: 700;
    margin-bottom: 1.2rem;
    position: relative; padding-bottom: .9rem;
}
.svc-main-body .svc-main-title::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 36px; height: 3px; background: #2589d0;
}
.svc-main-body .svc-main-text {
    font-size: .92rem; color: rgba(255,255,255,.85);
    line-height: 2.1;
}

/* ===== PHOTO GALLERY（3カラムグリッド） ===== */
.svc-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}
@media (max-width: 640px) {
    .svc-gallery { grid-template-columns: 1fr; }
}
@media (min-width: 641px) and (max-width: 900px) {
    .svc-gallery { grid-template-columns: repeat(2, 1fr); }
}
.svc-gallery-item {
    position: relative; overflow: hidden;
    aspect-ratio: 4/3;
}
.svc-gallery-item img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .5s ease;
    display: block;
}
.svc-gallery-item:hover img { transform: scale(1.07); }
.svc-gallery-item .gallery-caption {
    position: absolute; inset: 0;
    background: rgba(26,40,64,0);
    display: flex; align-items: flex-end;
    padding: .8rem;
    transition: background .3s;
}
.svc-gallery-item:hover .gallery-caption {
    background: rgba(26,40,64,.4);
}

/* ===== VOICE SECTION ===== */
.voice-section {
    padding: 4rem 0;
    background: var(--bg-light);
}
.voice-eyebrow {
    font-family: 'Oswald', sans-serif;
    font-size: 1.6rem; font-weight: 700;
    letter-spacing: .1em;
    color: var(--navy);
    display: flex; align-items: center; justify-content: center;
    gap: .5rem;
    margin-bottom: 2.5rem;
}
.voice-eyebrow::before,
.voice-eyebrow::after {
    content: ''; display: inline-block;
    width: 36px; height: 2px; background: #2589d0;
}

/* 動画プレーヤー枠 */
.voice-video-wrap {
    position: relative;
    width: 100%; padding-top: 56.25%; /* 16:9 */
    background: #0f1a2e;
    overflow: hidden;
}
.voice-video-wrap iframe,
.voice-video-wrap video {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    border: none;
}
/* 動画未設定時のプレースホルダー */
.voice-video-placeholder {
    position: absolute; inset: 0;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    background: linear-gradient(135deg, #0f1a2e 0%, #1a2840 100%);
    color: rgba(255,255,255,.5);
    gap: .8rem;
    cursor: pointer;
    transition: background .3s;
}
.voice-video-placeholder:hover { background: linear-gradient(135deg, #1a2840 0%, #2589d0 100%); }
.voice-video-placeholder .play-icon {
    width: 68px; height: 68px; border-radius: 50%;
    border: 3px solid rgba(255,255,255,.4);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; color: #fff;
    transition: border-color .3s, background .3s;
}
.voice-video-placeholder:hover .play-icon {
    border-color: #fff;
    background: rgba(255,255,255,.15);
}
.voice-video-placeholder span { font-size: .82rem; letter-spacing: .1em; }

/* テキスト */
.voice-text-block {
    padding: 0 0 0 2rem;
}
@media (max-width: 768px) {
    .voice-text-block { padding: 1.5rem 0 0; }
}
.voice-person {
    display: flex; align-items: center; gap: 1rem;
    margin-bottom: 1.2rem;
}
.voice-avatar {
    width: 54px; height: 54px; border-radius: 50%;
    background: var(--navy); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; flex-shrink: 0;
}
.voice-name {
    font-size: .88rem; font-weight: 700; color: var(--navy);
    margin-bottom: .1rem;
}
.voice-role {
    font-size: .76rem; color: var(--text-light); letter-spacing: .04em;
}
.voice-quote {
    font-size: .88rem; line-height: 2; color: var(--text);
    border-left: 3px solid #2589d0; padding-left: 1rem;
}

/* ===== RELATED SERVICES ===== */
.related-section {
    padding: 3rem 0;
    background: #fff;
    border-top: 1px solid var(--border);
}
.related-card {
    display: block; text-decoration: none;
    position: relative; overflow: hidden;
    border: 1px solid var(--border);
    transition: box-shadow .3s, transform .3s;
    color: inherit;
}
.related-card:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,.12);
    transform: translateY(-4px);
    color: inherit;
}
.related-card img {
    width: 100%; height: 180px; object-fit: cover;
    transition: transform .4s;
    display: block;
}
.related-card:hover img { transform: scale(1.06); }
.related-card .related-body {
    padding: .9rem 1rem;
    background: #fff;
    border-top: 3px solid var(--navy);
}
.related-card .related-title {
    font-size: .9rem; font-weight: 700; color: var(--navy);
    margin-bottom: .3rem;
}
.related-card .related-text {
    font-size: .76rem; color: var(--text-light); line-height: 1.7;
}

/* ===== Related Section の部署グループ分け（建設部 / 工事部） ===== */
.related-groups {
    display: flex;
    align-items: stretch;
    gap: 1.5rem;
}
.related-group {
    flex: 1 1 0;
    min-width: 0;   /* グリッドが縮んだ時にはみ出ない */
}
.related-group-head {
    margin-bottom: .9rem;
    text-align: left;
}
/* h1内で定義したdept-badgeをここでも使えるよう、独立指定でも有効化 */
.related-group-head .dept-badge {
    display: inline-block;
    background: #0f1a2e;
    color: #ffd400;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(.75rem, 1.2vw, .95rem);
    font-weight: 700;
    letter-spacing: .1em;
    padding: .3rem .9rem;
    line-height: 1.4;
}
/* 縦の区切り線（PC・タブレット） */
.related-divider {
    flex: 0 0 1px;
    background: #d0d5dd;            /* 薄いグレー */
    align-self: stretch;
    margin: 2rem 0 0;                /* バッジ分のスペースぶん下げる */
}
/* スマホでは縦並びに切り替え、区切りは横線 */
@media (max-width: 575.98px) {
    .related-groups { flex-direction: column; gap: 1.2rem; }
    .related-divider {
        flex: 0 0 1px;
        width: 100%;
        height: 1px;
        margin: 0;
    }
}


/* ===== STICKY IMAGE BAR（メニュー直下に出る画像帯＋CTA） =====
   - ページ最上部（ヒーロー表示中）は非表示
   - ヒーローを通過するとメニュー直下に固定表示される
   - スマホでは縦積みではなく横スクロールで4枚見せる構成
*/
.sticky-image-bar {
    position: fixed;
    top: 0;                          /* JSでメニュー高さぶん下にずらす場合は調整可 */
    left: 0;
    right: 0;
    z-index: 1040;                   /* ナビ(1050)の下 */
    transform: translateY(-110%);    /* 初期状態：画面外（上）に隠す */
    transition: transform .35s ease;
    pointer-events: none;
}
.sticky-image-bar.show {
    transform: translateY(0);
    pointer-events: auto;
    /* メニュー直下に重ねるため、メニュー高さぶん下げる */
    top: var(--nav-height, 62px);
}
.sticky-bar-inner {
    display: flex;
    align-items: stretch;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0,0,0,.10);
    border-bottom: 1px solid var(--border);
    width: 100%;
}
.sticky-bar-images {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    flex: 1 1 auto;
    min-width: 0;
}
.sticky-bar-img {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #eee;
    border-right: 1px solid #fff;
}
.sticky-bar-img:last-child { border-right: none; }
.sticky-bar-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.sticky-bar-img:hover img { transform: scale(1.05); }

/* 右側CTA（人材募集ボタン） */
.sticky-bar-cta {
    flex: 0 0 220px;
    background: #2589d0;             /* 添付2の青ボタン色 */
    color: #fff !important;
    text-decoration: none;
    padding: .6rem 1rem .7rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: background .2s;
}
.sticky-bar-cta:hover { background: #1f78b8; color: #fff; }
.sticky-bar-cta-title {
    font-size: 1rem; font-weight: 900;
    color: #ffd400;
    margin-bottom: .2rem;
}
.sticky-bar-cta-text {
    font-size: .72rem; line-height: 1.5;
    margin-bottom: .4rem;
}
.sticky-bar-cta-btn {
    display: inline-block;
    background: #e74c3c;
    color: #fff;
    font-size: .72rem; font-weight: 700;
    padding: .25rem .8rem;
    border-radius: 2px;
}

/* ===== レスポンシブ ===== */
@media (max-width: 991.98px) {
    .sticky-image-bar.show { top: var(--nav-height-sm, 58px); }
    .sticky-bar-cta { flex-basis: 160px; }
    .sticky-bar-cta-title { font-size: .85rem; }
    .sticky-bar-cta-text  { font-size: .65rem; }
    .sticky-bar-cta-btn   { font-size: .65rem; padding: .2rem .5rem; }
}
@media (max-width: 576px) {
    /* スマホは画像2列＋CTA下回り込みでスペース節約 */
    .sticky-bar-inner { flex-wrap: wrap; }
    .sticky-bar-images { grid-template-columns: repeat(4, 1fr); }
    .sticky-bar-img { aspect-ratio: 1 / 1; }
    .sticky-bar-cta {
        flex: 1 1 100%;
        flex-direction: row;
        gap: .6rem;
        padding: .4rem .7rem;
    }
    .sticky-bar-cta-title,
    .sticky-bar-cta-text,
    .sticky-bar-cta-btn { margin: 0; }
    .sticky-bar-cta-text { text-align: left; }
}

/* ===== 外構：施工の流れ（GARDEN FLOW） ===== */
.garden-flow {
    max-width: 1100px; margin: 0 auto;
}
.garden-flow-row {
    display: flex; align-items: stretch; justify-content: center;
    flex-wrap: nowrap; gap: .4rem;
}
.flow-step {
    position: relative;
    flex: 1 1 0; min-width: 0;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; text-align: center;
    padding: 1.1rem .6rem .9rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: .82rem; font-weight: 700; color: var(--navy);
    line-height: 1.55;
}
.flow-step-lg { flex: 1.7 1 0; }
.flow-no {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: .68rem; font-weight: 700; letter-spacing: .08em;
    color: var(--text-light); margin-bottom: .45rem;
}
.flow-c1 { background: #d9e6f2; border-color: #b9d0e6; }
.flow-c2 { background: #fbe6d4; border-color: #f0d2ac; }
.flow-c3 { background: #fdf6da; border-color: #efe4ad; }
.flow-c4 { background: #e2efd9; border-color: #c6ddb6; }
.flow-c5 { background: #ececec; border-color: #d6d6d6; }
.flow-arrow {
    display: flex; align-items: center; justify-content: center;
    color: #8aa0bd; font-size: 1.2rem; flex: 0 0 auto;
}
.garden-flow-support {
    margin-top: .9rem;
    background: var(--navy); color: #fff;
    text-align: center; font-weight: 700; font-size: .95rem;
    letter-spacing: .04em;
    padding: .85rem 1rem; border-radius: 6px;
    position: relative;
}
.garden-flow-support::after {
    content: ""; position: absolute; left: 50%; bottom: -10px;
    transform: translateX(-50%);
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 10px solid var(--navy);
}
@media (max-width: 900px) {
    .garden-flow-row { flex-wrap: wrap; }
    .flow-step, .flow-step-lg { flex: 1 1 40%; }
    .flow-arrow { display: none; }
}
@media (max-width: 560px) {
    .flow-step, .flow-step-lg { flex: 1 1 100%; }
}

/* ===== 外構：施工実績（GARDEN WORKS） ===== */
.garden-works {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}
.garden-work-card {
    background: #fff; border: 1px solid var(--border);
    overflow: hidden;
    transition: box-shadow .3s, transform .3s;
}
.garden-work-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    transform: translateY(-3px);
}
.garden-work-img {
    width: 100%; height: 220px; overflow: hidden;
}
.garden-work-img img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform .5s ease;
}
.garden-work-card:hover .garden-work-img img { transform: scale(1.06); }
.garden-work-body { padding: 1rem 1.1rem; }
.garden-work-title {
    font-size: .95rem; font-weight: 700; color: var(--navy); margin-bottom: .3rem;
}
.garden-work-text {
    font-size: .8rem; color: var(--text-light);
}
.garden-work-actions {
    margin-top: .8rem; text-align: right;
}
.garden-work-btn {
    display: inline-flex; align-items: center;
    background: var(--navy); color: #fff;
    font-size: .78rem; font-weight: 700;
    text-decoration: none;
    padding: .45rem .9rem; border-radius: 4px;
    transition: background .25s, transform .25s;
}
.garden-work-btn:hover {
    background: var(--navy-dark);
    color: #fff;
    transform: translateX(2px);
}
@media (max-width: 991px) {
    .garden-works { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
    .garden-works { grid-template-columns: 1fr; }
    .garden-work-img { height: 200px; }
}

/* ===== 施工実績 詳細ページ（WORK DETAIL） ===== */
.work-detail {
    max-width: 1000px; margin: 0 auto; padding: 2.5rem 1rem 1rem;
}
.work-detail-head {
    display: flex; align-items: baseline; justify-content: space-between;
    flex-wrap: wrap; gap: .5rem 1rem;
    border-bottom: 2px solid var(--navy);
    padding-bottom: .7rem; margin-bottom: 1.8rem;
}
.work-detail-title {
    font-size: 1.9rem; font-weight: 700; color: var(--navy); line-height: 1.2;
    margin: 0;
}
.work-detail-place {
    font-size: .82rem; color: var(--text-light);
}
.work-detail-main {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 1.5rem;
    align-items: stretch;
}
/* メイン画像：縦横どちらでも枠サイズ固定でずれない */
.work-detail-photo {
    width: 100%; aspect-ratio: 4 / 3;
    background: #f0f0f0; overflow: hidden;
}
.work-detail-photo img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
.work-detail-textbox {
    background: #fbf8d4; /* テキスト入力欄（見本の薄黄色） */
    padding: 1.4rem 1.5rem;
    font-size: .9rem; color: var(--navy); line-height: 1.9;
}
.work-detail-textbox h3 {
    font-size: 1rem; font-weight: 700; margin: 0 0 .8rem;
}
/* サムネイル：常に3枚で1行・4枚目以降は下の行へ自動で折り返し
   中の入れ子構造(div / a / figure / img直接)が何であっても
   必ず4:3の枠いっぱいに表示し、大きい画像でも崩れない */
.work-detail-thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.2rem;
}
/* グリッド直下の要素は、divでも a でも img でも必ず4:3の固定枠にする */
.work-detail-thumbs > * {
    width: 100%;
    aspect-ratio: 4 / 3;       /* 縦横どんな画像でも 4:3 の枠に統一 */
    background: #f0f0f0;
    overflow: hidden;          /* 枠からはみ出した部分は隠す */
    cursor: pointer;
    display: block;
}
/* 枠の中のリンクやpictureも枠いっぱいに広げる（画像が小さく残らないように） */
.work-detail-thumbs a,
.work-detail-thumbs picture {
    display: block;
    width: 100%;
    height: 100%;
}
/* 画像は入れ子の深さに関係なく枠いっぱいにトリミング表示 */
.work-detail-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;         /* 大きい画像でも原寸で入らずトリミング */
    display: block;
    transition: transform .4s ease;
}
.work-detail-thumbs > *:hover img { transform: scale(1.06); }

/* スマホ：3枚だと小さすぎるため2枚並びに（必要なければ削除可） */
@media (max-width: 575px) {
    .work-detail-thumbs { grid-template-columns: repeat(2, 1fr); }
}
.work-detail-back {
    text-align: center; margin: 2.5rem 0 1rem;
}
.work-detail-back a {
    display: inline-flex; align-items: center;
    background: var(--navy); color: #fff;
    font-size: .82rem; font-weight: 700; text-decoration: none;
    padding: .6rem 1.4rem; border-radius: 4px;
    transition: background .25s;
}
.work-detail-back a:hover { background: var(--navy-dark); color: #fff; }
@media (max-width: 767px) {
    .work-detail-main { grid-template-columns: 1fr; }
    .work-detail-title { font-size: 1.5rem; }
}

        /* ===== お問合せフォーム ===== */
        .contact-form-wrap {
            max-width: 900px;
            margin: 0 auto;
            border: 1px solid var(--border);
        }
        .cf-row {
            display: flex;
            flex-wrap: wrap;
            border-bottom: 1px dashed var(--border);
        }
        .cf-row:last-child { border-bottom: none; }
        .cf-label {
            flex: 0 0 220px;
            max-width: 220px;
            background: var(--navy);
            color: #fff;
            display: flex;
            align-items: center;
            font-size: .9rem;
            font-weight: 700;
            letter-spacing: .03em;
            padding: 1rem 1.2rem;
        }
        .cf-label .req { color: #ffd7a0; font-weight: 500; margin-left: .15em; }
        .cf-field {
            flex: 1 1 300px;
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: .6rem;
            padding: 1rem 1.4rem;
            background: #fff;
        }
        .cf-field input[type="text"],
        .cf-field input[type="tel"],
        .cf-field input[type="email"],
        .cf-field input[type="number"],
        .cf-field select,
        .cf-field textarea {
            border: 1px solid var(--border);
            border-radius: 3px;
            padding: .5rem .7rem;
            font-size: .88rem;
            color: #333;
            font-family: inherit;
            background: #fff;
        }
        .cf-field input[type="text"]:focus,
        .cf-field input[type="tel"]:focus,
        .cf-field input[type="email"]:focus,
        .cf-field input[type="number"]:focus,
        .cf-field select:focus,
        .cf-field textarea:focus {
            outline: none;
            border-color: var(--navy);
            box-shadow: 0 0 0 2px rgba(26,40,64,.12);
        }
        .cf-field .w-name   { width: 100%; max-width: 380px; }
        .cf-field .w-tel    { width: 100%; max-width: 260px; }
        .cf-field .w-age    { width: 70px; text-align: center; }
        .cf-field .w-zip    { width: 130px; }
        .cf-field .w-select { width: 100%; max-width: 260px; }
        .cf-field .w-city   { width: 100%; max-width: 460px; }
        .cf-field .w-mail   { width: 100%; max-width: 400px; }
        .cf-field textarea  { width: 100%; min-height: 160px; resize: vertical; }
        .cf-field-stack {
            flex-direction: column;
            align-items: flex-start;
            gap: 1rem;
        }
        .cf-sub-row {
            display: flex;
            align-items: center;
            gap: .8rem;
            width: 100%;
        }
        .cf-sub-label {
            flex: 0 0 70px;
            font-size: .88rem;
            color: #333;
        }
        .cf-field .zip-link {
            font-size: .82rem;
            color: var(--navy);
            text-decoration: none;
            font-weight: 700;
            white-space: nowrap;
        }
        .cf-field .zip-link:hover { text-decoration: underline; }
        .cf-radio {
            display: flex;
            align-items: center;
            gap: .4rem;
            font-size: .9rem;
            margin-right: 1.2rem;
        }
        .cf-radio input { accent-color: var(--navy); width: 16px; height: 16px; }

        .cf-actions {
            display: flex;
            justify-content: center;
            gap: 1rem;
            padding: 2rem 0 .5rem;
        }
        .cf-btn {
            border: none;
            border-radius: 4px;
            padding: .75rem 2.6rem;
            font-size: .95rem;
            font-weight: 700;
            letter-spacing: .04em;
            cursor: pointer;
            transition: all .2s ease;
        }
        .cf-btn-submit { background: var(--navy); color: #fff; }
        .cf-btn-submit:hover { background: var(--navy-dark); transform: translateY(-2px); }
        .cf-btn-reset { background: #eee; color: #555; }
        .cf-btn-reset:hover { background: #ddd; }

        .cf-note {
            font-size: .82rem;
            color: var(--text-light);
            text-align: center;
            margin: 0 auto 2rem;
            max-width: 700px;
            line-height: 1.9;
        }

        @media (max-width: 767.98px) {
            .cf-label { flex: 0 0 100%; max-width: 100%; }
            .cf-field { flex: 0 0 100%; }
        }

/* ===== 資格取得の補助あり QUALIFICATION GRID ===== */
.qual-lead {
    max-width: 720px; margin: 0 auto 2rem;
    font-size: .88rem; color: var(--text-light); line-height: 1.9;
}
.qual-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.qual-card {
    background: #fff; border: 1px solid var(--border);
    padding: 1.7rem 1rem 1.5rem;
    text-align: center;
    transition: box-shadow .3s, transform .3s;
}
.qual-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    transform: translateY(-3px);
}
.qual-icon {
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--navy); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; margin: 0 auto .9rem;
}
.qual-name {
    font-size: .84rem; font-weight: 700; color: var(--navy); line-height: 1.55;
}
@media (max-width: 767px) {
    .qual-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .qual-grid { grid-template-columns: 1fr; }
    .qual-card { display: flex; align-items: center; text-align: left; gap: 1rem; padding: 1rem 1.1rem; }
    .qual-icon { margin: 0; flex-shrink: 0; }
}

/* ===== お知らせ 2カラムレイアウト（左80% / 右20%） ===== */
.news-layout {
    display: grid;
    grid-template-columns: 70fr 30fr;  /* 左80% : 右20% */
    gap: 10px;                         /* 左右の間の余白 */
    align-items: start;                /* 上揃え */
}

/* タブレット・スマホでは縦積みに */
@media (max-width: 991.98px) {
    .news-layout {
        grid-template-columns: 1fr;
    }
}

/* ===== その他の事業案内（サイドバー） ===== */
.related-business { text-align: left; }
.rb-eyllabel {
    color: #2589d0;
    font-size: .72rem;
    letter-spacing: .18em;
    font-weight: 700;
    text-align: center;
    margin: 0 0 .2rem;
}
.rb-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--navy);
    text-align: center;
    margin: 0 0 .4rem;
}
.rb-title::after {
    content: "";
    display: block;
    width: 46px; height: 3px;
    background: #2589d0;
    margin: .5rem auto 1.4rem;
}

/* 部門ラベル（建設部 / 工事部） */
.rb-cat {
    display: inline-block;
    background: var(--navy);
    color: #f4c14e;               /* 金色系の文字 */
    font-size: .9rem;
    font-weight: 700;
    padding: .35rem 1.1rem;
    margin: 1rem 0 .8rem;
}

/* 事業カード共通 */
.rb-card {
    display: block;
    text-decoration: none;
    padding: 1rem 1.1rem;
    margin-bottom: 1rem;
    transition: box-shadow .25s, transform .25s;
}
.rb-card:hover {
    box-shadow: 0 6px 18px rgba(0,0,0,.1);
    transform: translateY(-2px);
}
.rb-card-title {
    display: block;
    font-size: .98rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: .35rem;
}
.rb-card-text {
    display: block;
    font-size: .8rem;
    color: var(--text-light);
}

/* 建設部：薄い枠線 */
.rb-card-const {
    border: 1px solid var(--border);
    background: #fff;
}
/* 工事部：上下にネイビーのライン */
.rb-card-work {
    border-top: 2px solid var(--navy);
    border-bottom: 2px solid var(--navy);
    background: #fff;
}

.news-main {
    min-width: 0;
    padding-right: 1rem;
    padding-left: 1rem;
    line-height: 1.9;
    color: var(--text);
}

/* ===== お知らせ 左カラム（記事本文） ===== */
.news-main {
    min-width: 0;   /* グリッド内で中身がはみ出さないように（重要） */
padding-left: 40px;
}
.news-main img {
    max-width: 100%;
    height: auto;
}



a.button-41 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 250px;
    margin: 0 auto;
    padding: .9em 2em;
    border: none;
    border-radius: 5px;
    background-color: #2589d0;
    color: #fff;
    font-weight: 600;
    font-size: 1em;
}

a.button-41:hover {
    animation: anima-button-41 2s linear infinite;
}

@keyframes anima-button-41 {
    7% {
        transform: translateY(-15px);
    }
    15% {
        transform: translateY(0);
    }
    20% {
        transform: translateY(-7px);
    }
    25% {
        transform: translateY(0);
    }
}