/*
 * 下層ページの仕上げ（2026-09）
 * 内容は変えず、見た目だけを揃える。common.css の後に読み込む。
 * 戻すときはこのファイルの読み込み（functions.php）を外せばよい。
 * トップページ固有の調整は末尾の「トップページ」の節にまとめる。
 */

:root {
    --refine-navy: #04213f;
    --refine-blue: #0b4c93;
    --refine-bright: #1a73e8;
    --refine-line: #e3eaf2;
    --refine-shadow: 0 1px 2px rgba(4, 33, 63, 0.04), 0 12px 32px -14px rgba(4, 33, 63, 0.16);
    --refine-shadow-hover: 0 2px 4px rgba(4, 33, 63, 0.05), 0 22px 44px -16px rgba(4, 33, 63, 0.24);
    --refine-hero-bg:
        radial-gradient(ellipse 60% 80% at 88% 0%, rgba(64, 150, 255, 0.45), rgba(64, 150, 255, 0) 70%),
        linear-gradient(118deg, var(--refine-navy) 0%, var(--refine-blue) 52%, var(--refine-bright) 100%);
}

/* ---------- ヒーロー: 丸いぼかしをやめ、ドットと線の模様に揃える ---------- */
.about-page-hero,
.service-page-hero,
.case-page-hero,
.contact-page-hero,
.recruit-page-hero,
.privacy-page-hero,
.post-archive-hero,
.single-post-hero {
    background: var(--refine-hero-bg);
    padding: 168px 0 112px;
    isolation: isolate;
}

.about-page-hero::before,
.service-page-hero::before,
.case-page-hero::before,
.contact-page-hero::before,
.recruit-page-hero::before,
.privacy-page-hero::before,
.post-archive-hero::before,
.single-post-hero::before {
    top: 50%;
    right: max(-40px, calc((100vw - 1200px) / 2 - 120px));
    left: auto;
    bottom: auto;
    width: 560px;
    height: 455px;
    transform: translateY(-42%);
    border-radius: 0;
    background: url('../img/hero-network.svg') center / contain no-repeat;
    opacity: 0.9;
    z-index: -1;
}

/* 細かいドットの地模様。左に向かって消える */
.about-page-hero::after,
.service-page-hero::after,
.case-page-hero::after,
.contact-page-hero::after,
.recruit-page-hero::after,
.privacy-page-hero::after,
.post-archive-hero::after,
.single-post-hero::after {
    inset: 0;
    width: auto;
    height: auto;
    border-radius: 0;
    background: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1.5px) 0 0 / 22px 22px;
    -webkit-mask-image: linear-gradient(100deg, transparent 30%, #000 85%);
    mask-image: linear-gradient(100deg, transparent 30%, #000 85%);
    z-index: -1;
}

/* 見出し上の英字ラベル: ピル型と文字だけが混在していたので「●─ LABEL」に統一 */
.about-page-kicker,
.service-page-kicker,
.case-page-kicker,
.contact-page-kicker,
.recruit-page-kicker,
.privacy-page-kicker,
.post-archive-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    font-size: 0.8rem;
    letter-spacing: 0.24em;
    font-weight: 700;
    text-transform: uppercase;
    opacity: 0.88;
}

.about-page-kicker::before,
.service-page-kicker::before,
.case-page-kicker::before,
.contact-page-kicker::before,
.recruit-page-kicker::before,
.privacy-page-kicker::before,
.post-archive-kicker::before {
    content: '';
    flex: none;
    width: 34px;
    height: 7px;
    background:
        radial-gradient(circle, #7cc0ff 3px, transparent 3.5px) 0 0 / 7px 7px no-repeat,
        linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.2)) 11px 50% / 23px 1.5px no-repeat;
}

.about-page-title,
.service-page-title,
.case-page-title,
.contact-page-title,
.recruit-page-title,
.privacy-page-title,
.post-archive-title {
    letter-spacing: 0.02em;
    text-shadow: 0 2px 24px rgba(4, 33, 63, 0.25);
}

.about-page-lead,
.service-page-lead,
.case-page-lead,
.contact-page-lead,
.recruit-page-lead,
.privacy-page-lead,
.post-archive-lead {
    max-width: 720px;
    opacity: 0.9;
}

.text-center > .post-archive-lead {
    max-width: 760px;
}

/* ヒーロー下端に細いグラデーションの線 */
.about-page-hero,
.service-page-hero,
.case-page-hero,
.contact-page-hero,
.recruit-page-hero,
.privacy-page-hero,
.post-archive-hero {
    box-shadow: inset 0 -3px 0 rgba(124, 192, 255, 0.35);
}

/* ---------- セクション見出し: 下線を「●─」に ---------- */
.section-title {
    letter-spacing: 0.02em;
    color: var(--refine-navy);
}

.section-title::after {
    bottom: -16px;
    width: 46px;
    height: 7px;
    background:
        radial-gradient(circle, var(--accent-blue) 3px, transparent 3.5px) 0 0 / 7px 7px no-repeat,
        linear-gradient(90deg, var(--accent-blue), rgba(0, 123, 255, 0.15)) 11px 50% / 35px 2px no-repeat;
}

.section-intro,
.about-page-heading-text,
.service-page-heading-text,
.case-page-heading-text {
    margin-top: 0;
}

/* ---------- 大きな白枠（カードの入れ子）をPCでも外す ---------- */
.about-page-panel,
.service-page-panel,
.case-page-panel,
.privacy-page-panel,
.post-archive-panel:not(.creative-case-archive-page .post-archive-panel) {
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.service-page-overview,
.case-page-overview,
.privacy-page-section,
.post-archive-overview {
    margin-top: 0;
}

/* ---------- カード: 白地・細線・やわらかい影に統一 ---------- */
.card,
.about-page-copy-block,
.about-page-phase,
.service-page-pillar,
.service-feature-item,
.service-subcard,
.service-ai-card,
.case-study-card,
.case-page-stat,
.post-archive-card,
.recruit-page-value-card,
.recruit-page-story,
.recruit-page-message-panel,
.recruit-page-outline-panel,
.stat-card,
.contact-page-form-panel,
.contact-page-side-card-light {
    background: #fff;
    border: 1px solid var(--refine-line);
    border-radius: 20px;
    box-shadow: var(--refine-shadow);
}

.card,
.about-page-copy-block,
.about-page-phase,
.service-page-pillar,
.service-feature-item,
.service-ai-card,
.case-study-card,
.post-archive-card,
.recruit-page-value-card,
.stat-card {
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

@media (hover: hover) {
    .card:hover,
    .about-page-copy-block:hover,
    .about-page-phase:hover,
    .service-page-pillar:hover,
    .service-feature-item:hover,
    .service-ai-card:hover,
    .case-study-card:hover,
    .post-archive-card:hover,
    .recruit-page-value-card:hover,
    .stat-card:hover {
        transform: translateY(-4px);
        border-color: rgba(0, 123, 255, 0.28);
        box-shadow: var(--refine-shadow-hover);
    }
}

/* カード上辺に細いアクセント線（ホバーで伸びる） */
.about-page-copy-block,
.about-page-phase,
.service-page-pillar,
.recruit-page-value-card {
    position: relative;
    overflow: hidden;
}

.about-page-copy-block::after,
.about-page-phase::after,
.service-page-pillar::after,
.recruit-page-value-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 28px;
    width: 40px;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: linear-gradient(90deg, var(--accent-blue), #7cc0ff);
    transition: width 0.45s ease;
}

@media (hover: hover) {
    .about-page-copy-block:hover::after,
    .about-page-phase:hover::after,
    .service-page-pillar:hover::after,
    .recruit-page-value-card:hover::after {
        width: calc(100% - 56px);
    }
}

/* ---------- 数字: グラデーションの文字で大きく ---------- */
.stat-number,
.case-study-metric strong {
    background: linear-gradient(120deg, var(--refine-blue), var(--refine-bright));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* 実績カード内の数字: 箱の入れ子をやめ、左線つきの数字に */
.case-study-metric {
    padding: 2px 0 2px 16px;
    background: none;
    border: 0;
    border-left: 2px solid rgba(0, 123, 255, 0.35);
    border-radius: 0;
}

.case-study-metric strong {
    margin-bottom: 4px;
    font-size: 1.9rem;
    line-height: 1.2;
    letter-spacing: 0.01em;
}

/* ---------- 濃い青のCTA箱: ヒーローと同じ模様に ---------- */
.about-page-cta-box,
.case-page-cta-box,
.recruit-page-cta-box,
.service-summary-box {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: var(--refine-hero-bg);
    box-shadow: 0 30px 60px -28px rgba(4, 33, 63, 0.55);
}

.about-page-cta-box::after,
.case-page-cta-box::after,
.recruit-page-cta-box::after,
.service-summary-box::after {
    content: '';
    position: absolute;
    top: -30px;
    right: -60px;
    width: 420px;
    height: 340px;
    background: url('../img/hero-network.svg') center / contain no-repeat;
    opacity: 0.55;
    pointer-events: none;
    z-index: -1;
}

/* ---------- 淡色背景のセクションに薄いドット ---------- */
.bg-light {
    background-color: #f3f6fa;
    background-image: radial-gradient(rgba(4, 33, 63, 0.07) 1px, transparent 1.5px);
    background-size: 24px 24px;
}

/* ---------- プライバシーポリシー: 1項目ずつの箱をやめて文書の体裁に ---------- */
.privacy-page-content {
    max-width: 880px;
    margin: 0 auto;
}

.privacy-page-block {
    padding: 36px 0;
    background: none;
    border: 0;
    border-top: 1px solid var(--refine-line);
    border-radius: 0;
    box-shadow: none;
}

.privacy-page-block:first-child {
    border-top: 0;
    padding-top: 0;
}

.privacy-page-block h2 {
    color: var(--refine-navy);
}

.privacy-page-block.privacy-page-contact {
    margin-top: 12px;
    padding: 32px 36px;
    background: #f3f6fa;
    border: 0;
    border-radius: 20px;
}

/* ---------- 会社概要 ---------- */
.company-page-section .container {
    max-width: 960px;
}

.company-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 48px;
    background: #fff;
    border: 1px solid var(--refine-line);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--refine-shadow);
}

.company-table th,
.company-table td {
    padding: 24px 28px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--refine-line);
}

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

.company-table th {
    width: 28%;
    background: #f5f8fb;
    color: var(--refine-navy);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
}

.company-table ul {
    margin-left: 1.2em;
    list-style: disc;
}

.company-table li {
    white-space: nowrap;
}

.company-table li::marker {
    color: var(--accent-blue);
}

.company-map iframe {
    display: block;
    width: 100%;
    height: 420px;
    border: 1px solid var(--refine-line);
    border-radius: 20px;
}

/* ---------- お問い合わせ ---------- */
.contact-page-form-panel {
    background: #fff;
}

.contact-form-field input,
.contact-form-field select,
.contact-form-field textarea {
    background: #f8fafc;
    border-color: var(--refine-line);
    border-radius: 12px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.contact-form-field input:focus,
.contact-form-field select:focus,
.contact-form-field textarea:focus {
    background: #fff;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.12);
    outline: none;
}

/* ---------- 背景のぼんやりした丸は外す（模様と喧嘩するため） ---------- */
.case-page-list-section::before,
.case-page-cta::before,
.case-study-card::after,
.service-subcard::after,
.service-ai-card::after,
.post-archive-overview::before,
.single-post-section::before,
.service-detail-section::before,
.service-summary-section::before {
    display: none;
}

/* ---------- 濃い青の箱の中のボタンは白に（紺のボタンが背景に沈んでいた） ---------- */
.about-page-cta-box .btn-primary,
.case-page-cta-box .btn-primary,
.recruit-page-cta-box .btn-primary {
    background: #fff;
    color: var(--refine-navy);
    border-color: #fff;
    box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.35);
}

.about-page-cta-box .btn-primary:hover,
.case-page-cta-box .btn-primary:hover,
.recruit-page-cta-box .btn-primary:hover {
    background: #e8f2ff;
    color: var(--refine-navy);
}

/* ---------- 募集要項: 箱の中の箱をやめて罫線で区切る ---------- */
.recruit-page-outline-panel {
    padding: 12px 40px;
}

.recruit-page-outline-grid {
    gap: 0;
}

.recruit-page-outline-item {
    padding: 22px 0;
    background: none;
    border: 0;
    border-bottom: 1px solid var(--refine-line);
    border-radius: 0;
    box-shadow: none;
}

.recruit-page-outline-item:last-child {
    border-bottom: 0;
}

/* 左寄せの見出し（お問い合わせフォーム）は飾りも左に */
.contact-page-heading .section-title::after {
    left: 0;
    transform: none;
}

/* ---------- スマホ ---------- */
@media (max-width: 768px) {
    .about-page-hero,
    .service-page-hero,
    .case-page-hero,
    .contact-page-hero,
    .recruit-page-hero,
    .privacy-page-hero,
    .post-archive-hero,
    .single-post-hero {
        padding: 128px 0 72px;
    }

    .about-page-hero::before,
    .service-page-hero::before,
    .case-page-hero::before,
    .contact-page-hero::before,
    .recruit-page-hero::before,
    .privacy-page-hero::before,
    .post-archive-hero::before,
    .single-post-hero::before {
        top: 70px;
        right: -120px;
        width: 340px;
        height: 276px;
        transform: none;
        opacity: 0.5;
    }

    .about-page-cta-box::after,
    .case-page-cta-box::after,
    .recruit-page-cta-box::after,
    .service-summary-box::after {
        width: 260px;
        height: 210px;
        opacity: 0.4;
    }

    .company-table th,
    .company-table td {
        display: block;
        width: 100%;
        padding: 14px 20px;
    }

    .company-table th {
        border-bottom: 0;
        padding-bottom: 6px;
        background: none;
        font-size: 0.82rem;
        color: var(--accent-blue);
    }

    .company-table td {
        padding-top: 0;
    }

    .company-map iframe {
        height: 300px;
    }

    .privacy-page-block.privacy-page-contact {
        padding: 24px 20px;
    }

    .case-study-metric strong {
        font-size: 1.6rem;
    }

    .recruit-page-outline-panel {
        padding: 4px 20px;
    }

    /* 数字は縦1列だと間延びするので2列に */
    .about-stats-grid,
    .case-study-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .about-stats-grid .stat-card {
        padding: 20px 12px;
    }

    .about-stats-grid .stat-number {
        font-size: 2.2rem;
    }
}

/* =========================================================
 * トップページ
 * ========================================================= */

/* ---------- ヒーロー: 動画は背景に退かせ、コピーを主役に ---------- */
.home .hero-video-section {
    isolation: isolate;
    justify-content: flex-start;
    text-align: left;
}

/* 動画の看板は中身が白いままなので、ぼかして雰囲気だけ残す */
.home .video-background {
    filter: blur(3px) saturate(0.85);
    transform: scale(1.04);
}

.home .video-overlay {
    background:
        radial-gradient(ellipse 60% 80% at 88% 0%, rgba(64, 150, 255, 0.35), rgba(64, 150, 255, 0) 70%),
        linear-gradient(100deg, rgba(4, 33, 63, 0.94) 0%, rgba(4, 33, 63, 0.82) 42%, rgba(11, 76, 147, 0.66) 72%, rgba(26, 115, 232, 0.52) 100%);
}

/* 丸いぼかしをやめ、下層ページと同じ線とドットの模様に */
.home .hero-video-section::before {
    top: 50%;
    right: max(-40px, calc((100vw - 1200px) / 2 - 100px));
    left: auto;
    bottom: auto;
    width: 620px;
    height: 504px;
    border-radius: 0;
    background: url('../img/hero-network.svg') center / contain no-repeat;
    filter: none;
    opacity: 0.8;
    transform: translateY(-46%);
    animation: none;
}

.home .hero-video-section::after {
    inset: 0;
    width: auto;
    height: auto;
    border-radius: 0;
    background: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1.5px) 0 0 / 22px 22px;
    -webkit-mask-image: linear-gradient(90deg, #000, transparent 60%);
    mask-image: linear-gradient(90deg, #000, transparent 60%);
    filter: none;
    animation: none;
}

.home .hero-content {
    width: 100%;
    max-width: var(--container-width);
    padding: 0 30px;
    align-items: flex-start;
}

.home .hero-content::before {
    content: 'DOTLINE MARKETING PARTNER';
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    padding-left: 38px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: #9fd0ff;
    background:
        radial-gradient(circle, #7cc0ff 3.5px, transparent 4px) 0 50% / 8px 8px no-repeat,
        linear-gradient(90deg, #7cc0ff, rgba(124, 192, 255, 0.2)) 12px 50% / 20px 2px no-repeat;
}

.home .hero-subtitle {
    max-width: 15em;
    margin-bottom: 0;
    font-size: clamp(2rem, 4.2vw, 3.6rem);
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 24px rgba(4, 33, 63, 0.45);
    word-break: auto-phrase;
    text-wrap: balance;
}

.home .hero-subtitle::after {
    content: '';
    display: block;
    width: 64px;
    height: 3px;
    margin-top: 32px;
    border-radius: 3px;
    background: linear-gradient(90deg, #7cc0ff, rgba(124, 192, 255, 0));
}

/* ---------- 流れる英字: 薄い塗りをやめて輪郭線に ---------- */
.home .hero-marquee-section {
    padding: 36px 0 28px;
    background: #fff;
    border-bottom: 1px solid var(--refine-line);
}

.home .hero-marquee-track span {
    font-size: clamp(3rem, 6.4vw, 6rem);
    line-height: 1.15;
    color: transparent;
    -webkit-text-stroke: 1px rgba(4, 33, 63, 0.16);
}

/* ---------- 私たちについて: 白枠の入れ子を外す ---------- */
.home .about-subcopy {
    color: var(--refine-blue);
}

.home .about-vision-container {
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.home .about-message-box {
    max-width: 760px;
    margin: 8px auto 44px;
    padding: 28px 32px;
    background: #fff;
    border: 1px solid var(--refine-line);
    border-left: 3px solid var(--accent-blue);
    border-radius: 0 16px 16px 0;
    box-shadow: var(--refine-shadow);
    text-align: left;
}

/* ---------- サービス: 下層ページのカードに揃える ---------- */
.home .service-card {
    overflow: hidden;
    background: #fff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border: 1px solid var(--refine-line);
    border-radius: 20px;
    box-shadow: var(--refine-shadow);
}

.home .service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 40px;
    width: 40px;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: linear-gradient(90deg, var(--accent-blue), #7cc0ff);
    transition: width 0.45s ease;
}

.home .service-card .card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    font-size: 1.6rem;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.12), rgba(0, 123, 255, 0.04));
}

.home .service-card .card-title {
    color: var(--refine-navy);
}

@media (hover: hover) {
    .home .service-card:hover {
        border-color: rgba(0, 123, 255, 0.28);
        box-shadow: var(--refine-shadow-hover);
    }

    .home .service-card:hover::after {
        width: calc(100% - 80px);
    }
}

/* ---------- 実績: ラベルの箱と数字の箱をやめる ---------- */
.home .achievement-item {
    border: 1px solid var(--refine-line);
    border-radius: 20px;
    box-shadow: var(--refine-shadow);
}

@media (hover: hover) {
    .home .achievement-item:hover {
        transform: translateY(-4px);
        box-shadow: var(--refine-shadow-hover);
    }
}

.home .achievement-content {
    padding: 28px 32px 32px;
}

.home .achievement-label {
    align-self: flex-start;
    padding: 0 0 0 18px;
    background: radial-gradient(circle, var(--accent-blue) 3px, transparent 3.5px) 0 50% / 7px 7px no-repeat;
    border: 0;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    color: var(--accent-blue);
}

.home .achievement-content h3 {
    margin-bottom: 12px;
    color: var(--refine-navy);
}

.home .achievement-results {
    margin-top: auto;
    padding-top: 24px;
    gap: 28px;
}

.home .result-box {
    padding: 2px 0 2px 16px;
    border-left: 2px solid rgba(0, 123, 255, 0.35);
    text-align: left;
}

.home .result-number {
    font-size: 1.9rem;
    line-height: 1.2;
    margin-bottom: 4px;
    background: linear-gradient(120deg, var(--refine-blue), var(--refine-bright));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ---------- コラム: 「続きを読む」を左端に揃え、下にそろえる ---------- */
.home #column .card {
    display: flex;
    flex-direction: column;
    padding: 32px;
}

.home #column .card-title {
    font-size: 1.2rem;
    line-height: 1.5;
    color: var(--refine-navy);
}

.home #column .btn-link {
    align-self: flex-start;
    margin-top: auto;
    padding: 16px 0 0;
    color: var(--accent-blue);
    font-size: 0.9rem;
}

/* ---------- ニュース ---------- */
.home #news .post-list {
    max-width: 880px;
    margin: 0 auto;
}

.home #news .post-title {
    color: var(--refine-navy);
    font-weight: 500;
}

/* ---------- お問い合わせ: ヒーローと同じ模様に（直書きの背景を上書き） ---------- */
.home #contact-cta {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: var(--refine-hero-bg) !important;
}

.home #contact-cta::after {
    content: '';
    position: absolute;
    top: 50%;
    right: max(-60px, calc((100vw - 1200px) / 2 - 80px));
    width: 460px;
    height: 374px;
    transform: translateY(-50%);
    background: url('../img/hero-network.svg') center / contain no-repeat;
    opacity: 0.55;
    pointer-events: none;
    z-index: -1;
}

.home #contact-cta .section-title::after {
    left: 50%;
    transform: translateX(-50%);
    background:
        radial-gradient(circle, #7cc0ff 3px, transparent 3.5px) 0 0 / 7px 7px no-repeat,
        linear-gradient(90deg, #7cc0ff, rgba(124, 192, 255, 0.2)) 11px 50% / 35px 2px no-repeat;
}

@media (max-width: 768px) {
    .home .hero-video-section::before {
        right: -120px;
        width: 380px;
        height: 309px;
        opacity: 0.5;
    }

    .home .hero-content {
        padding: 0 20px;
    }

    .home .hero-content::before {
        margin-bottom: 16px;
        font-size: 0.7rem;
        letter-spacing: 0.18em;
    }

    .home .hero-subtitle {
        font-size: 1.85rem;
        line-height: 1.45;
    }

    .home .hero-marquee-section {
        padding: 22px 0 16px;
    }

    .home .about-message-box {
        padding: 22px 20px;
        margin-bottom: 28px;
    }

    .home .achievement-content {
        padding: 22px 22px 26px;
    }

    .home #column .card {
        padding: 26px 22px;
    }

    .home .result-number {
        font-size: 1.6rem;
    }

    .home #contact-cta::after {
        right: -140px;
        width: 340px;
        height: 276px;
        opacity: 0.35;
    }
}

/* =========================================================
 * コラム本文の部品（content/column の記事で使う。クラスは col-）
 * ========================================================= */
.single-post-content .col-summary {
    margin: 0 0 2.2em;
    padding: 24px 28px;
    background: #f3f7fc;
    border: 1px solid var(--refine-line);
    border-radius: 16px;
}

.single-post-content .col-summary-title {
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--refine-navy);
}

.single-post-content .col-summary ul {
    margin-bottom: 0;
}

.single-post-content .col-figure {
    margin: 0 0 2em;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--refine-line);
    border-radius: 16px;
    box-shadow: var(--refine-shadow);
}

.single-post-content .col-figure svg {
    display: block;
    width: 100%;
    height: auto;
}

.single-post-content .col-figure figcaption {
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--text-light);
    text-align: center;
}

.single-post-content .col-table-wrap {
    margin-bottom: 2em;
    overflow-x: auto;
}

.single-post-content .col-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    font-size: 0.95rem;
    line-height: 1.7;
}

.single-post-content .col-table th,
.single-post-content .col-table td {
    padding: 12px 14px;
    border: 1px solid var(--refine-line);
    text-align: left;
    vertical-align: top;
}

.single-post-content .col-table thead th {
    background: var(--refine-navy);
    color: #fff;
    font-weight: 700;
}

.single-post-content .col-table tbody th {
    background: #f3f7fc;
    color: var(--refine-navy);
    white-space: nowrap;
}

.single-post-content .col-cta {
    margin: 2.6em 0 1em;
    padding: 30px 32px;
    border-radius: 20px;
    background: var(--refine-hero-bg);
    color: #fff;
}

.single-post-content .col-cta p {
    margin-bottom: 1em;
}

.single-post-content .col-cta-title {
    font-size: 1.2rem;
    font-weight: 700;
}

.single-post-content .col-cta a {
    display: inline-block;
    margin: 0 10px 8px 0;
    padding: 10px 22px;
    border-radius: 999px;
    background: #fff;
    color: var(--refine-navy);
    font-weight: 700;
    text-decoration: none;
}

.single-post-content .col-cta a.col-cta-sub {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: #fff;
}

@media (max-width: 768px) {
    .single-post-content .col-summary,
    .single-post-content .col-cta {
        padding: 20px;
    }

    /* 縮めると図の文字が読めないので、幅を保って横スクロールにする */
    .single-post-content .col-figure {
        padding: 12px;
        overflow-x: auto;
    }

    .single-post-content .col-figure svg {
        min-width: 600px;
    }
}

/* ==========================================================
   採用ページ（page-recruit.php の rc- クラス）
   ========================================================== */
.rc-hero-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.rc-hero-facts li {
    padding: 8px 18px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    backdrop-filter: blur(4px);
}

.rc-eyebrow {
    margin: 0 0 14px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: var(--refine-bright);
}

.rc-eyebrow-light {
    color: #9cc8ff;
}

/* VISION：紺のパネルと本文を横並び */
.rc-vision {
    padding: 110px 0;
}

.rc-vision-grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 64px;
    align-items: center;
}

.rc-vision-panel {
    position: relative;
    overflow: hidden;
    padding: 64px 52px;
    border-radius: 24px;
    background: var(--refine-hero-bg);
    box-shadow: 0 30px 60px -30px rgba(4, 33, 63, 0.55);
}

.rc-vision-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../img/hero-network.svg") right -40px bottom -40px / 360px auto no-repeat;
    opacity: 0.5;
    pointer-events: none;
}

.rc-vision-title {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #fff;
    font-size: clamp(2.2rem, 4.2vw, 3.4rem);
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: 0.02em;
}

.rc-vision-body p {
    margin: 0 0 1.4em;
    color: var(--text-light);
    line-height: 2;
}

.rc-vision-body .rc-vision-lead {
    color: var(--refine-navy);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.9;
}

.rc-vision-body .rc-vision-sign {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
    color: var(--refine-blue);
    font-weight: 700;
}

.rc-vision-sign::before {
    content: "";
    width: 36px;
    height: 2px;
    background: var(--refine-bright);
}

/* 魅力：3列カード */
.rc-values-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.rc-value {
    position: relative;
    overflow: hidden;
    padding: 40px 32px 36px;
    border: 1px solid var(--refine-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--refine-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rc-value::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--refine-blue), var(--refine-bright));
}

@media (hover: hover) {
    .rc-value:hover {
        transform: translateY(-4px);
        box-shadow: var(--refine-shadow-hover);
    }
}

.rc-value-num {
    position: absolute;
    top: 14px;
    right: 22px;
    font-size: 4.2rem;
    font-weight: 900;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.5px #d4e3f5;
}

.rc-value-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 22px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--refine-blue), var(--refine-bright));
    box-shadow: 0 10px 20px -10px rgba(26, 115, 232, 0.7);
}

.rc-value-icon svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: #fff;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.rc-value h3 {
    margin: 0 0 12px;
    color: var(--refine-navy);
    font-size: 1.15rem;
    line-height: 1.5;
}

.rc-value p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.93rem;
    line-height: 1.9;
}

/* 数字で見る働き方：紺の帯 */
.rc-numbers {
    position: relative;
    overflow: hidden;
    padding: 96px 0;
    background: var(--refine-hero-bg);
}

.rc-numbers::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../img/hero-network.svg") right -60px center / 520px auto no-repeat;
    opacity: 0.35;
    pointer-events: none;
}

.rc-numbers .container {
    position: relative;
}

.rc-numbers-head {
    margin-bottom: 44px;
    text-align: center;
}

.rc-numbers-head h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.rc-numbers-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.rc-number {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 34px 16px 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    text-align: center;
    backdrop-filter: blur(6px);
}

.rc-number-label {
    padding: 4px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #cfe2ff;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.rc-number-value {
    margin: 14px 0 6px;
    color: #fff;
    font-size: 3.6rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.01em;
}

.rc-number-value small {
    margin: 0 2px;
    font-size: 1.1rem;
    font-weight: 700;
}

.rc-number-note {
    color: #a9c7ec;
    font-size: 0.8rem;
}

/* 募集要項 */
.rc-outline-card {
    max-width: 880px;
    margin: 48px auto 0;
    overflow: hidden;
    border: 1px solid var(--refine-line);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--refine-shadow);
}

.rc-outline-top {
    padding: 36px 44px 30px;
    border-bottom: 1px solid var(--refine-line);
    background: linear-gradient(180deg, #f3f8fe, #fff);
}

.rc-tag {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 999px;
    background: var(--refine-bright);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
}

.rc-outline-top h3 {
    margin: 12px 0 6px;
    color: var(--refine-navy);
    font-size: 1.9rem;
}

.rc-outline-top p {
    margin: 0;
    color: var(--text-light);
}

.rc-outline-list {
    margin: 0;
    padding: 12px 44px 28px;
}

.rc-outline-list > div {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--refine-line);
}

.rc-outline-list > div:last-child {
    border-bottom: none;
}

.rc-outline-list dt {
    color: var(--refine-blue);
    font-size: 0.9rem;
    font-weight: 700;
}

.rc-outline-list dd {
    margin: 0;
    color: var(--refine-navy);
    font-weight: 600;
    line-height: 1.8;
}

.rc-outline-note {
    display: block;
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 400;
}

@media (max-width: 960px) {
    .rc-vision-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .rc-values-grid {
        grid-template-columns: 1fr;
    }

    .rc-numbers-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .rc-vision {
        padding: 64px 0;
    }

    .rc-vision-panel {
        padding: 44px 28px;
    }

    .rc-numbers {
        padding: 64px 0;
    }

    .rc-numbers-grid {
        gap: 12px;
    }

    .rc-number {
        padding: 24px 10px 22px;
    }

    .rc-number-value {
        font-size: 2.6rem;
    }

    .rc-value {
        padding: 32px 24px 28px;
    }

    .rc-outline-top {
        padding: 28px 22px 22px;
    }

    .rc-outline-list {
        padding: 4px 22px 18px;
    }

    .rc-outline-list > div {
        grid-template-columns: 1fr;
        gap: 4px;
        padding: 16px 0;
    }
}

/* 一覧カードの画像は高さ固定だとサムネ（1200x630）の上下左右が切れるので、同じ比率の枠にする */
.post-archive-card-image,
.post-archive-card-image img {
    height: auto;
    aspect-ratio: 1200 / 630;
}
