@charset "utf-8";

:root{
    /* デフォルトテーマ（オレンジ） */
    --main-color:#f58220;
    --sub-bg:#fff4eb;

    --color-orange:#f58220;
    --color-gold:#e5b92b;
    --color-green:#8dbf2f;
    --color-blue:#3b82f6;

    --navy:#10294d;
    --text:#475569;
    --border:#e8edf3;

    --bg:#f8fafc;

    --radius:24px;
    --radius-sm:18px;
}


/* =================================
   PAGE HEADER
================================= */

.page-header{
    max-width:1200px;
    padding-bottom:60px; /* 追加: 最初のセクションとの間隔 */
}

@media (max-width:768px){
    .page-header{
        padding-bottom:30px;
    }
}

/* カラー変数 */

.page-header-orange{
    --accent:#f58220;
}

.page-header-blue{
    --accent:#2563eb;
}

.page-header-green{
    --accent:#16a34a;
}

.page-header-gold{
    --accent:#e5b92b;
}

/* 左寄*/
.hero-copy{
    margin-left:160px;
    
}

/* chatch*/

.page-catch{
 display:inline-block;
 background:var(--sub-bg);
color:var(--main-color);
 padding:10px 18px;
 border-radius:999px;
 font-size:1.5rem;
 font-weight:700;
 margin-bottom: 20px;
}



/* H1 */

.page-header h1.page-title{
    text-align:left;
     max-width:900px;
    font-size:clamp(2.6rem,4.5vw,4.5rem);
    line-height:1.15;
    font-weight:800;
    color:#122b5c;

}

.page-header h1.page-title::after{
content:"";
display:block;
width:120px;
height:4px;
background:var(--main-color);
margin-top:20px;
}

/* 説明 */

.page-header__lead{
    max-width:900px;
    font-size:1.4rem;
    line-height:2;
    text-align:left;
}

/* スマホ */

@media (max-width:768px){


    /* 左寄*/
.hero-copy{
margin-left:0;
}


    /* キャッチ*/

.page-catch{
    display:inline-block;
    color:var(--main-color); /* 修正: #f47b20 固定→ページカラー */
    font-size:1.2rem; /* 修正: .75rem(=7.5px)→1.2rem */
    font-weight:700;
    background:none;
    padding:0;
    border-radius:0;
    margin-bottom:0px;
}


  /* H1 */
  .page-header .page-title{
    font-size:clamp(2.5rem,9vw,4rem);
    line-height:1.15;
    letter-spacing:-0.02em;
    margin-bottom:5px;
     margin-top:0px;
  }

  /* オレンジライン */
  .page-header h1.page-title::after{
    width:80px;
    height:3px;
    margin-top:12px; /* 修正: 0だと文字と重なる */
  }

  /* リード */
  .page-header__lead{
    font-size:1.5rem; /* 修正: 1rem(=10px)→1.5rem */
    line-height:1.9;
    max-width:100%;
  }

/* セクション共通（SP）※値は下の基本指定のあとに移動 */


}

/* セクション共通
   ・余白は padding だけで管理する（layout.css の #container section の margin を打ち消す）
   ・SP指定は必ずこの後ろに書く */
#container .section{
    margin:0;
    padding:50px 20px;
}

@media (max-width:768px){
    #container .section{
        padding:30px 0;
    }
}

/* セクション末尾のCTAは下マージン不要（次のセクションとの余白が二重になるため） */
#container .section > .contact-cta:last-child{
    margin-bottom:0;
}


/*共通セクション見出し共有*/


.section-heading{
    max-width:800px;
    margin:0 auto 40px;
    text-align:center;

}

.section-heading__en{
    display:inline-block;

    font-size:12px;
    font-weight:700;

    letter-spacing:.2em;

    color:var(--main-color);

    margin-bottom:10px;
}

.section-heading__title{

    margin:0;

    font-size:4.2rem;

    font-weight:800;

    line-height:1.35;

    color:var(--navy);
}

.section-heading__lead{

    margin-top:15px;

    color:var(--text);

    line-height:1.9;
}



/*共通カード*/

.card{

    background:#fff;

    border:1px solid var(--border);

    border-radius:var(--radius);

    box-shadow:
        0 10px 30px rgba(16,41,77,.06);

    transition:.3s;
}

.card:hover{

    transform:translateY(-5px);

    box-shadow:
        0 18px 40px rgba(16,41,77,.10);
}



/*カラーパターン
  .feature-orange / -gold / -green / -blue は layout.css に定義済み（重複のため削除） */


/* =====================================
   お悩み
===================================== */


.problem-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:24px;
}

.problem-card{

    position:relative;

    padding:32px;

    background:#fff;

    border:1px solid #e8edf3;

    border-radius:24px;

    box-shadow:
        0 8px 25px rgba(16,41,77,.05);

    transition:.3s;
}

.problem-card:hover{

    transform:translateY(-4px);

    box-shadow:
        0 18px 40px rgba(16,41,77,.10);
}


/* 番号 */


.problem-no{

    flex-shrink:0;

    width:50px;
    height:50px;

    display:flex;

    align-items:center;
    justify-content:center;

    border-radius:14px;

    background:var(--sub-bg);

    color:var(--main-color);

    font-size:1.8rem;
    font-weight:800;
}



.problem-head{

    display:flex;

    align-items:center;

    gap:18px;

    margin-bottom:18px;
}


/* タイトル（.problem-card p より強くするため親クラス付き。<p>でも<div>でも可） */

.problem-card .problem-title{

    margin:0;

    font-size:2.8rem;

    font-weight:800;

    line-height:1.4;

    color:#10294d;
}


/* 本文 */

.problem-card p{

    margin:0;

    color:#64748b;

    font-size:1.7rem;

    line-height:1.8;
}

/* スマホ */

@media(max-width:768px){

    .problem-section{
        padding:60px 0;
    }

    .problem-grid{
        grid-template-columns:1fr;
        gap:18px;
    }

    .problem-card{
        padding:24px;
    }

     .problem-no{

        width:48px;
        height:48px;

        font-size:1.6rem;

        margin-bottom:18px;
    }

    .problem-card .problem-title{

        font-size:1.8rem;
    }

    .problem-card p{

        font-size:1.4rem;

        line-height:1.8;
    }

}



/* ==========================
   サービス概要
========================== */

.service-flow{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
    margin-top:60px;
}

.flow-card{
    background:#fff;
    border:1px solid #ececec;
    border-top:4px solid var(--main-color);
    border-radius:24px;
    padding:32px;
    position:relative;
    transition:.3s;
    display:flex;
    flex-direction:column;
}

.flow-card:hover{
    transform:translateY(-5px);
    box-shadow:0 20px 50px rgba(0,0,0,.08);
}

.flow-number{
    font-size:1.5rem;
    font-weight:700;
    letter-spacing:.2em;
    color:var(--main-color);
    margin-bottom:20px;
    text-transform:uppercase;
}

.flow-number::before{
    content:"";
    display:block;
    width:40px;
    height:3px;
    background:var(--main-color);
    margin-bottom:12px;
}

.flow-icon{
    margin:0 0 20px;
}

.flow-icon i{
    font-size:3rem;
    color:var(--main-color);
}

.flow-card p{
    margin:0;
    line-height:2;
}

.flow-card strong{
    color:var(--main-color); /* 修正: #f47b20 固定→ページカラー */
}

.note-title{
    min-width:140px;
    font-size:1.1rem;
    font-weight:700;
    color:#243b84;
}

.overview-note{
    margin-top:40px;
}

/* Service Overview */

.overview-meta{
    margin-top:50px;
    text-align:left;
}

.meta-item{
    margin-bottom:32px;
}

.meta-item:last-child{
    margin-bottom:0;
}

.meta-label{
    display:inline-block;
    padding:8px 16px;
    margin-bottom:12px;

    background:#fff;
   color:var(--main-color);
   border:1px solid var(--main-color);
    border-radius:999px;

    font-size:1.5rem;
    font-weight:700;
    letter-spacing:.05em;
    line-height:1;
}

.overview-meta .meta-item p{
    margin:0;
    color:#555;
    line-height:1.9;
}

/* SP */

@media (max-width:768px){

    .overview-meta{
        margin-top:40px;
    }

    .meta-item{
        margin-bottom:24px;
    }
}

/* ==========================
   SP
========================== */

@media (max-width:768px){

    .service-flow{
        grid-template-columns:1fr;
        gap:20px;
        margin-top:40px;
    }

    .flow-card{
        padding:25px;
    }

    .flow-icon i{
        font-size:2.5rem;
    }

    .overview-note{
        padding:25px;
    }


    .note-title{
        min-width:auto;
    }

}



/* ==========================
   サービスフロー
========================== */

/* PCのみ5カラム */

@media (min-width:769px){

    .service-flow.flow-5{
        grid-template-columns:repeat(5,1fr);
        gap:20px;
    }

}

/* タイトル */

.flow-title{
    font-size:2rem;
    font-weight:700;
    line-height:1.5;
    color:#243b84;
    margin-bottom:10px;
}

/* 既存h3対策（layout.css の h3{margin:80px 0 40px; display:flex} と ::before バーを打ち消す） */

.flow-card .flow-title{
    display:block;
    margin:0 0 12px;
}

.flow-title::before{
    display:none;
}

/* 期間バー */

.flow-timeline{
    display:grid;
    grid-template-columns:3fr 1fr 1fr;
    gap:20px;
    margin-top:20px;
}

.flow-duration{
    text-align:center;
    padding:12px;

    border:1px solid #dbe5f0;
    border-radius:10px;

    background:#f8fafc;

    color:var(--main-color); /* 修正: #f58220 固定→ページカラー */
    font-weight:700;
    font-size:1.4rem;
}

/* スマホ */

@media (max-width:768px){

    /* 念のため強制 */

    .service-flow.flow-5{
        grid-template-columns:1fr !important;
    }

    .flow-title{
        font-size:1.8rem;
    }

    .flow-timeline{
        display:none;
    }

}
/* =====================================
   対象となるサイト
===================================== */
.target-tags{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:14px;
    margin-top:36px;
}

.target-tag{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:16px 28px;

    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:999px;
font-weight:700;

    color:#10213c;
    font-weight:700;
    font-size:1.6rem;
    line-height:1;

    transition:.3s ease;
}

.target-tag:hover{
    border-color:var(--main-color); /* 修正: オレンジ固定→ページカラー */
    background:var(--sub-bg);
}

@media (max-width:768px){

    .target-tags{
        gap:10px;
    }

    .target-tag{
        width:calc(50% - 5px);
        padding:12px 16px;
        font-size:1.4rem; /* 修正: .95rem(=9.5px)→1.4rem */
    }

}


/* =====================================
   REAL CASE
===================================== */


.security-case__grid{
    max-width:1200px;
    margin:0 auto;

    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:30px;
}

/* カード */

.security-case-card{
    padding:35px;
}

/* CASE01/02ラベル */

.case-label{

    display:inline-block;

    padding:8px 16px;

    background:var(--main-color);

    color:#fff;

    border-radius:999px;

    font-size:1.3rem;

    font-weight:700;

    line-height:1;
}

/* タイトル */

.case-title{

    margin:25px 0 20px;

    color:var(--navy);

    font-size:2.6rem;

    font-weight:800;

    line-height:1.45;

    letter-spacing:-0.02em;
}

/* 本文 */

.case-text{

    margin:0;

    color:#475569;

    line-height:2;
}

/* 判明した事実 */

.case-result{

    margin-top:25px;

    padding:25px;

    background:var(--sub-bg);

    border-left:5px solid var(--main-color);

    border-radius:12px;
}

.case-result span{

    display:block;

    margin-bottom:10px;

    color:var(--main-color);

    font-weight:700;
}

.case-result p{
    margin:0;
    line-height:2;
}

/* スマホ */

@media(max-width:768px){

    .security-case{
        padding:60px 0;
    }

    .security-case__grid{
        grid-template-columns:1fr;
        gap:20px;
    }

    .security-case-card{
        padding:25px;
    }

    .case-title{
        font-size:2rem;
        line-height:1.4;
    }
}


/* ======================================
   実績
====================================== */


.achievement-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:24px;
    max-width:700px;
    margin:40px auto;
}

.achievement-card{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:20px;
    padding:32px;
    text-align:center;
}

.achievement-number{
    font-size:3rem;
    font-weight:800;
    color:#10213c;
    line-height:1;
}

.achievement-label{
    margin-top:12px;
    color:#667085;
    font-weight:600;
}

.industry-tags{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:12px;
    max-width:900px;
    margin:30px auto 0;
}

.industry-tags span{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:10px 18px;

    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:999px;

    color:#10213c;
    font-size:1.5rem;
    font-weight:600;
    line-height:1;
}


@media (max-width:768px){

    .industry-tags{
        gap:8px;
        margin-top:20px;
    }

    .industry-tags span{
        font-size:1.3rem; /* 修正: .8rem(=8px)→1.3rem */
        padding:8px 12px;
    }


    .achievement-grid{
        grid-template-columns:1fr;
        gap:16px;
        max-width:100%;
        margin:30px auto;
    }

    .achievement-card{
        padding:24px;
    }

    .achievement-number{
        font-size:2.4rem;
    }

}



/* ======================================
   3つの特長
====================================== */

.feature-wrap{
 display:grid;
    grid-template-columns:
    repeat(3,1fr);

    gap:24px;

    margin-top:30px;
}

.feature-box{

    /* --main-color はここで指定しない（feature-gold 等のカラークラスを効かせるため）
       カラークラスがない場合は親（:root のオレンジ）を継承 */
    --bg-color:#ffffff;

    position:relative;
    background:var(--bg-color);
    border:1px solid #edf2f7;
    border-radius:20px;
    padding:30px;
    overflow:hidden;
    box-shadow:
        0 4px 12px rgba(15,23,42,.04),
        0 12px 28px rgba(15,23,42,.06);
    transition:
        transform .3s ease,
        box-shadow .3s ease;

    height:100%;
}

.feature-box:before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:5px;
    background:var(--main-color);
}

.feature-box:hover{
    transform:translateY(-6px);
    box-shadow:
        0 12px 24px rgba(15,23,42,.06),
        0 24px 48px rgba(15,23,42,.10);
}

/* 上部 */

.feature-head{

    display:flex;

    align-items:center;

    gap:15px;

    margin-bottom:20px;
}

.feature-no{

    flex-shrink:0;

    color:var(--main-color);

    font-size:3.4rem;

    font-weight:800;

    line-height:1;
}

.feature-title{

    color:#10294d;

    font-size:2rem;

    font-weight:700;

    line-height:1.5;
}

.feature-title .accent{

    color:var(--main-color);
}

/* 区切り線 */

.feature-line{

    width:60px;

    height:3px;

    background:var(--main-color);

    border-radius:999px;

    margin-bottom:20px;
}

/* 本文 */

.feature-text{

    color:#475569;

    line-height:2;

    font-size:1.5rem;
}


/* --------------------
   スマホ
-------------------- */

@media (max-width:768px){

    .feature-wrap{

        grid-template-columns:1fr;

        gap:18px;
    }

    .feature-box{

        padding:25px;
    }

    .feature-no{

        font-size:3rem;
    }

    .feature-title{

        font-size:1.8rem;
    }
 }

/* =====================================
   共通レスポンシブ
===================================== */

@media(max-width:768px){

    .section-heading{
        margin-bottom:20px;
    }

    .section-heading__title{
        font-size:2.4rem;
        line-height:1.4;
    }

    .section-heading__lead{
        font-size:1.4rem;
        line-height:1.8;
    }

    .grid-2{
        grid-template-columns:1fr;
    }

    .grid-3{
        grid-template-columns:1fr;
    }

    .card{
        border-radius:20px;
    }


    .problem-card{
        padding:24px;
    }

    .security-case-card{
        padding:25px;
    }


}

/* =====================================
   お問い合わせ
===================================== */


.contact-cta{
    text-align:center;
    margin:60px 0;
}

.contact-cta-text{
    font-size:1.4rem;
    line-height:1.8;
    margin-bottom:24px;
    color:#475569;
}


/* =====================================
動画セクション共通
===================================== */

.video-block{
    max-width:1000px;
    margin:50px auto 0;
}

.video-block iframe{
    display:block;
    width:100%;
    aspect-ratio:16 / 9;
    border:none;
    border-radius:24px;
    box-shadow:
        0 12px 30px rgba(16,41,77,.08);
}

@media(max-width:768px){

    .video-block{
        margin-top:30px;
    }

}


/* =====================================
   ▼ 追加：共通パーツ（incident-readiness で新設）
===================================== */

/* 文のまとまりで改行させる（<br>を使わずに改行位置を制御。MTのエディタで<br>が消える対策にも） */
.ib{
    display:inline-block;
}

/* 改行をPCだけで有効にする */
@media (max-width:768px){
    .pc-only{ display:none; }
}

/* ---------- サービス概要：2カラム ---------- */
@media (min-width:769px){
    .service-flow.flow-2{
        grid-template-columns:repeat(2,1fr);
    }
}

/* ---------- 導入の流れ：4カラム ---------- */
@media (min-width:769px){
    .service-flow.flow-4{
        grid-template-columns:repeat(4,1fr);
        gap:20px;
    }

    .service-flow.flow-4 .flow-card{
        padding:28px 24px;
    }
}

/* flow-card 内のチェックリスト（layout.css の ul.check を流用） */
.flow-card ul.check{
    margin:6px 0 20px;
}

/* flow-card 下部の担当タグ（カード下端に揃える） */
.flow-tag{
    align-self:flex-start;
    margin-top:auto;
    padding:6px 14px;
    background:var(--sub-bg);
    color:var(--main-color);
    border:1px solid var(--main-color);
    border-radius:999px;
    font-size:1.3rem;
    font-weight:700;
    line-height:1.2;
}



.flow-card ul.check li{
    font-size:1.6rem;
    margin:.6rem 0;
}

/* ---------- 解決提示ボックス ---------- */
.solution-box{
    max-width:1000px;
    margin:60px auto 0;
    padding:48px 40px;
    text-align:center;
    background:var(--sub-bg);
    border:1px solid var(--border);
    border-top:4px solid var(--main-color);
    border-radius:var(--radius);
}

.solution-box__label{
    display:inline-block;
    padding:8px 20px;
    margin-bottom:18px;
    background:var(--main-color);
    color:#fff;
    border-radius:999px;
    font-size:1.5rem;
    font-weight:700;
    line-height:1;
}

.solution-box__title{
    margin:0 0 20px;
    color:var(--navy);
    font-size:2.8rem;
    font-weight:800;
    line-height:1.5;
}

.solution-box__text{
    margin:0;
    color:var(--text);
    line-height:2;
}

/* ---------- フロー画像 ---------- */
.flow-image{
    max-width:1000px;
    margin:0 auto;
    padding:32px;
    background:#fff;
    border:1px solid var(--border);
    border-radius:var(--radius);
    box-shadow:0 10px 30px rgba(16,41,77,.06);
    text-align:center;
}

.flow-image img{
    max-width:100%;
    height:auto;
    vertical-align:bottom;
}

@media (max-width:768px){

    .flow-card ul.check li{
        font-size:1.5rem;
    }

    .flow-card ul.check{
        margin-bottom:16px;
    }

    .solution-box{
        margin-top:40px;
        padding:30px 20px;
    }

    .solution-box__title{
        font-size:2rem;
    }

    .solution-box__text{
        font-size:1.5rem;
        text-align:left;
    }

    .flow-image{
        padding:16px;
        overflow-x:auto;
    }

    .btn01{
        min-width:0;
        width:100%;
        max-width:360px;
        font-size:1.5rem;
    }
}


/* =====================================
   チェックリスト（ul.check）をページカラーに連動
   ・カラークラス（feature-orange など）の中にある ul.check だけが対象
     → 既存ページ（カラークラスなし）は layout.css の青のまま
   ・:where() で詳細度を ul.check と同じに抑え、
     下の check-green 等の個別指定が後勝ちで効くようにしている
===================================== */

:where(.feature-orange,.feature-gold,.feature-green,.feature-blue) ul.check{
    --check-color:var(--main-color);
}

/* 個別指定（layout.css と同じ値。上の連動より後ろに置くこと） */
ul.check-green{
    --check-color:#8dbf2f;
}

ul.check-yellow{
    --check-color:#e5b92b;
}

ul.check-orange{
    --check-color:#e17b2b;
}


/* =====================================
   ボタン（layout.css の .btn01 はオレンジ固定）
   カラークラスで囲んだページではページカラーに連動
   ※ feature-orange は従来どおり
===================================== */

:where(.feature-gold,.feature-green,.feature-blue) .btn01{
    background:var(--main-color);
    box-shadow:0 8px 20px rgba(16,41,77,.15);
}

:where(.feature-gold,.feature-green,.feature-blue) .btn01:hover{
    box-shadow:0 14px 28px rgba(16,41,77,.2);
}


/* =====================================
   ▼ 追加：共通パーツ（scs-support で新設）
===================================== */

/* ---------- 用語の定義ボックス（「〇〇とは」用） ---------- */
.definition-box{
    max-width:1000px;
    margin:0 auto 40px;
    padding:32px 36px;
    background:#fff;
    border:1px solid var(--border);
    border-left:6px solid var(--main-color);
    border-radius:var(--radius-sm);
    line-height:2;
}

.definition-box p{
    margin:0;
}

.definition-box p + p{
    margin-top:1em;
}

.definition-box strong{
    color:var(--navy);
}

/* ---------- 比較表 ---------- */
.table-scroll{
    max-width:1000px;
    margin:0 auto;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
}

.data-table{
    width:100%;
    min-width:560px;
    border-collapse:separate;
    border-spacing:0;
    background:#fff;
    border:1px solid var(--border);
    border-radius:var(--radius-sm);
    overflow:hidden;
}

/* layout.css の table th/td（幅13%/87%）を打ち消す */
.data-table th,
.data-table td{
    width:auto;
    padding:18px 20px;
    border-bottom:1px solid var(--border);
    text-align:left;
    vertical-align:top;
    font-size:1.6rem;
    line-height:1.8;
}

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

.data-table thead th{
    background:var(--main-color);
    color:#fff;
    font-size:1.8rem;
    text-align:center;
    vertical-align:middle;
}

.data-table thead th:first-child{
    width:22%;
}

.data-table tbody th{
    background:var(--sub-bg);
    color:var(--navy);
    font-weight:700;
}

.data-table td strong{
    color:var(--navy);
    font-size:1.8rem;
}

/* 表の下の注記・出典 */
.source-note{
    max-width:1000px;
    margin:16px auto 0;
    color:var(--text);
    font-size:1.4rem;
    line-height:1.9;
}

.source-note p{
    margin:0;
}

.source-note a{
    color:var(--navy);
    text-decoration:underline;
}

/* ---------- 支援体制と役割 ---------- */
.role-diagram{
    display:grid;
    grid-template-columns:1fr auto 1fr auto 1fr;
    align-items:stretch;
    gap:12px;
    margin-top:50px;
}

.role-card{
    display:flex;
    flex-direction:column;
    background:#fff;
    border:1px solid var(--border);
    border-radius:var(--radius-sm);
    overflow:hidden;
}

.role-head{
    padding:24px 20px 20px;
    background:var(--sub-bg);
    text-align:center;
}

.role-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    width:60px;
    height:60px;
    margin:0 auto 14px;
    background:#fff;
    border-radius:50%;
    color:var(--navy);
    font-size:2.6rem;
    line-height:1;
}

.role-name{
    margin:0;
    color:var(--navy);
    font-size:2.2rem;
    font-weight:800;
    line-height:1.4;
}

.role-sub{
    margin:6px 0 0;
    color:var(--text);
    font-size:1.4rem;
    font-weight:700;
    line-height:1.6;
}

.role-card ul.check{
    margin:20px 20px 24px;
}

.role-card ul.check li{
    font-size:1.6rem;
    margin:.5rem 0;
}

/* 中央（当社）を強調 */
.role-card--main{
    border:2px solid var(--main-color);
    box-shadow:0 12px 30px rgba(16,41,77,.08);
}

.role-card--main .role-head{
    background:var(--main-color);
}

.role-card--main .role-name,
.role-card--main .role-sub{
    color:#fff;
}

/* 2列（お客様 ⇔ 支援チーム） */
.role-diagram--2col{
    grid-template-columns:1fr auto 1fr;
    gap:40px;
    max-width:1120px;
    margin-left:auto;
    margin-right:auto;
}

.role-diagram--2col .role-head{
    padding:32px 24px 28px;
}

.role-diagram--2col ul.check{
    margin:28px 32px 32px;
}

/* 矢印（ご相談→ / ←ご報告） */
.role-arrow{
    display:flex;
    flex-direction:column;
    justify-content:center;
    gap:14px;
    color:var(--navy);
    font-size:1.4rem;
    font-weight:700;
    text-align:center;
}

.role-arrow span{
    display:block;
    white-space:nowrap;
}

.role-arrow span::before,
.role-arrow span::after{
    display:block;
    color:var(--main-color);
    font-size:2.2rem;
    line-height:1;
}

.role-arrow .to::after{
    content:"⟶";
}

.role-arrow .back::before{
    content:"⟵";
}

.role-note{
    margin:24px 0 0;
    text-align:center;
    color:var(--text);
    font-size:1.4rem;
}

/* ---------- フローカード下部（お渡しするもの・期間） ---------- */

/* flow-detail = 下部に情報を持つフローカード（5カラムでも読めるよう詰める） */
@media (min-width:769px){
    .service-flow.flow-detail .flow-card{
        padding:26px 20px;
    }

    .service-flow.flow-detail .flow-card > p{
        font-size:1.5rem;
        line-height:1.8;
    }

    .service-flow.flow-detail .flow-title{
        font-size:1.9rem;
    }

    /* お渡しするものの枠を2行分の高さで揃える */
    .service-flow.flow-detail .flow-card p.flow-meta__value{
        display:flex;
        align-items:center;
        min-height:calc(1.4rem * 1.6 * 2 + 16px);
    }
}

.flow-meta{
    margin-top:auto;
    padding-top:18px;
    border-top:1px dashed var(--border);
}

.flow-card p.flow-meta__label{
    margin:0 0 4px;
    color:var(--text);
    font-size:1.3rem;
    font-weight:700;
    line-height:1.6;
}

.flow-card p.flow-meta__value{
    margin:0 0 14px;
    padding:8px 12px;
    background:var(--sub-bg);
    border-radius:8px;
    color:var(--navy);
    font-size:1.4rem;
    font-weight:700;
    line-height:1.6;
}

.flow-period{
    margin:0;
    padding:0;
    list-style:none;
}

.flow-period li{
    display:flex;
    gap:8px;
    margin:0;
    color:var(--navy);
    font-size:1.4rem;
    font-weight:700;
    line-height:1.8;
}

.flow-period li span{
    flex-shrink:0;
    color:var(--main-color);
}

/* ---------- 関連サービス ---------- */
.related-box{
    max-width:1000px;
    margin:50px auto 0;
    padding:28px 32px;
    display:flex;
    align-items:center;
    gap:24px;
    background:var(--sub-bg);
    border-radius:var(--radius-sm);
}

.related-box__label{
    flex-shrink:0;
    padding:6px 14px;
    background:var(--main-color);
    color:#fff;
    border-radius:999px;
    font-size:1.3rem;
    font-weight:700;
}

.related-box p{
    margin:0;
    line-height:1.9;
}

.related-box a{
    color:var(--navy);
    font-weight:700;
    text-decoration:underline;
}

@media (max-width:768px){

    .definition-box{
        padding:22px 20px;
        margin-bottom:30px;
    }

    .data-table th,
    .data-table td{
        padding:14px 14px;
        font-size:1.5rem;
    }

    .role-diagram,
    .role-diagram--2col{
        grid-template-columns:1fr;
        gap:8px;
        margin-top:30px;
    }

    .role-diagram--2col ul.check{
        margin:20px 20px 24px;
    }

    .role-arrow{
        flex-direction:row;
        justify-content:center;
        gap:30px;
        padding:6px 0;
    }

    .role-arrow span{
        display:flex;
        align-items:center;
        gap:6px;
    }

    .role-arrow .to::after{
        content:"↓";
    }

    .role-arrow .back::before{
        content:"↑";
    }

    .related-box{
        flex-direction:column;
        align-items:flex-start;
        gap:12px;
        padding:22px 20px;
    }
}
