/* =========================================================
   SYNCA / 主な提供サービス
   COMPACT INDEX + WORD-INSPIRED DETAIL
   このブロックは .synca-services-showcase 内だけに作用します。
========================================================= */

/* セクション全体をPCでコンパクト化 */
.synca-services-showcase.synca-services-compact{
    padding:58px 0 72px;
}

.synca-services-compact .synca-services-heading{
    max-width:760px;
    margin:0 auto 24px;
    text-align:center;
}

.synca-services-compact .synca-services-kicker{
    justify-content:center;
    margin-bottom:8px;
    font-size:10px;
}

.synca-services-compact .synca-services-heading h2{
    margin-bottom:10px;
    font-size:clamp(34px,3.7vw,48px);
}

.synca-services-compact .synca-services-heading > p:last-child{
    font-size:14px;
    line-height:1.65;
}

/* ---------------------------------------------------------
   8サービス INDEX
   4列×2段は維持しながら天地を大幅に圧縮
--------------------------------------------------------- */
.synca-services-compact .service-index-grid{
    grid-template-columns:repeat(4,minmax(0,1fr));
    margin:0 0 18px;
}

.synca-services-compact .service-index-card{
    min-height:104px;
    padding:13px 16px 12px;
    justify-content:flex-start;
    box-shadow:none;
}

.synca-services-compact .service-index-card__top{
    margin-bottom:7px;
}

.synca-services-compact .service-index-card__number{
    font-size:25px;
}

.synca-services-compact .service-index-card__top > i{
    font-size:18px;
}

.synca-services-compact .service-index-card strong{
    margin:0;
    font-size:14px;
    line-height:1.35;
}

/* PCでは説明文・VIEW DETAILを隠し、インデックスとして使う */
.synca-services-compact .service-index-card > span:not(.service-index-card__top),
.synca-services-compact .service-index-card em{
    display:none;
}

.synca-services-compact .service-index-card:hover,
.synca-services-compact .service-index-card:focus-visible,
.synca-services-compact .service-index-card.is-active{
    transform:none;
    box-shadow:none;
}

/* 詳細領域との隙間を最小化 */
.synca-services-compact .service-detail-stage{
    min-height:0;
    border-top:0;
    background:#fff;
}

.synca-services-compact .service-detail-panel{
    min-height:0;
    display:block;
    border:1px solid #ddd6c7;
    background:#fff;
}

.synca-services-compact .service-detail-panel[hidden]{
    display:none !important;
}

/* ---------------------------------------------------------
   WORD案：黒ヘッダー
--------------------------------------------------------- */
.synca-services-compact .service-word-hero{
    position:relative;
    overflow:hidden;
    min-height:126px;
    color:#fff;
    background:
        radial-gradient(circle at 84% 38%, rgba(212,175,55,.14) 0, rgba(212,175,55,0) 28%),
        linear-gradient(105deg,#050505 0%,#0c0c0c 64%,#211508 100%);
}

.synca-services-compact .service-word-hero::before,
.synca-services-compact .service-word-hero::after{
    content:"";
    position:absolute;
    pointer-events:none;
}

.synca-services-compact .service-word-hero::before{
    right:7%;
    top:50%;
    width:190px;
    height:190px;
    border:1px solid rgba(212,175,55,.14);
    border-radius:50%;
    transform:translateY(-50%);
}

.synca-services-compact .service-word-hero::after{
    right:-3%;
    top:50%;
    width:45%;
    height:1px;
    background:rgba(212,175,55,.16);
    transform:rotate(-18deg);
    box-shadow:0 36px 0 rgba(212,175,55,.10);
}

.synca-services-compact .service-word-hero__inner{
    position:relative;
    z-index:2;
    min-height:126px;
    display:flex;
    align-items:center;
    gap:24px;
    padding:22px 34px;
}

.synca-services-compact .service-word-number{
    flex:0 0 auto;
    color:#d39a2f;
    font-family:"Roboto Slab",serif;
    font-size:68px;
    line-height:.9;
    font-weight:500;
}

.synca-services-compact .service-word-title h3{
    margin:0 0 7px;
    color:#fff;
    font-size:clamp(22px,2.5vw,34px);
    line-height:1.25;
    font-weight:800;
}

.synca-services-compact .service-word-title p{
    margin:0;
    color:#d6a13c;
    font-size:14px;
    line-height:1.5;
    font-weight:700;
}

/* ---------------------------------------------------------
   WORD案：白い本文 + 右画像
--------------------------------------------------------- */
.synca-services-compact .service-word-main{
    display:grid;
    grid-template-columns:minmax(0,.95fr) minmax(360px,1.05fr);
    align-items:stretch;
    min-height:245px;
    background:#fff;
}

.synca-services-compact .service-word-copy{
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:28px 34px;
}

.synca-services-compact .service-word-copy h4{
    margin:0 0 15px;
    color:#1d2230;
    font-size:20px;
    line-height:1.55;
    font-weight:800;
}

.synca-services-compact .service-word-copy p{
    margin:0 0 9px;
    color:#515866;
    font-size:13px;
    line-height:1.85;
    font-weight:500;
}

.synca-services-compact .service-word-copy p:last-child{
    margin-bottom:0;
}

.synca-services-compact .service-word-visual{
    position:relative;
    min-height:245px;
    margin:0;
    overflow:hidden;
    background:#eee;
}

.synca-services-compact .service-word-visual::before{
    content:"";
    position:absolute;
    z-index:1;
    inset:0;
    background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.78) 8%,rgba(255,255,255,0) 35%);
    pointer-events:none;
}

.synca-services-compact .service-word-visual img{
    width:100%;
    height:100%;
    min-height:245px;
    display:block;
    object-fit:cover;
    object-position:center;
    filter:none;
}

/* ---------------------------------------------------------
   WORD案：4ポイント
--------------------------------------------------------- */
.synca-services-compact .service-word-points{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    border-top:1px solid #e3ded4;
    background:#fff;
}

.synca-services-compact .service-word-point{
    min-height:84px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:11px;
    padding:14px 16px;
    border-right:1px solid #e3ded4;
    text-align:left;
}

.synca-services-compact .service-word-point:last-child{
    border-right:0;
}

.synca-services-compact .service-word-point > i{
    flex:0 0 30px;
    color:#d39a2f;
    font-size:24px;
    text-align:center;
}

.synca-services-compact .service-word-point div{
    min-width:0;
}

.synca-services-compact .service-word-point strong,
.synca-services-compact .service-word-point span{
    display:block;
}

.synca-services-compact .service-word-point strong{
    margin-bottom:3px;
    color:#252a35;
    font-size:11px;
    line-height:1.45;
    font-weight:800;
}

.synca-services-compact .service-word-point span{
    color:#717680;
    font-size:10px;
    line-height:1.45;
}

/* ---------------------------------------------------------
   WORD案：黒CTA
--------------------------------------------------------- */
.synca-services-compact .service-word-cta{
    padding:15px 20px;
    background:#050505;
    text-align:center;
}

.synca-services-compact .service-word-cta a{
    width:min(100%,420px);
    min-height:44px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:14px;
    padding:9px 18px;
    border:1px solid #d39a2f;
    background:#fff;
    color:#252015;
    font-size:12px;
    font-weight:700;
    text-decoration:none;
    transition:.22s ease;
}

.synca-services-compact .service-word-cta a .fa-envelope{
    color:#d39a2f;
}

.synca-services-compact .service-word-cta a .fa-arrow-right{
    margin-left:auto;
    color:#d39a2f;
    transition:transform .22s ease;
}

.synca-services-compact .service-word-cta a:hover{
    background:#d39a2f;
    color:#111;
}

.synca-services-compact .service-word-cta a:hover .fa-envelope,
.synca-services-compact .service-word-cta a:hover .fa-arrow-right{
    color:#111;
}

.synca-services-compact .service-word-cta a:hover .fa-arrow-right{
    transform:translateX(4px);
}

/* 切替アニメーションは小さく。画面が揺れて見えないようにする */
.synca-services-compact .service-detail-panel.is-active{
    animation:syncaServiceCompactFade .18s ease both;
}

@keyframes syncaServiceCompactFade{
    from{opacity:.65}
    to{opacity:1}
}

/* ---------------------------------------------------------
   Tablet
--------------------------------------------------------- */
@media (max-width:1199.98px){
    .synca-services-compact .service-index-card{
        min-height:96px;
        padding:12px 14px;
    }

    .synca-services-compact .service-word-main{
        grid-template-columns:minmax(0,1fr) minmax(320px,.9fr);
    }

    .synca-services-compact .service-word-copy{
        padding:24px 28px;
    }
}

/* ---------------------------------------------------------
   Mobile / Tablet portrait
--------------------------------------------------------- */
@media (max-width:767.98px){
    .synca-services-showcase.synca-services-compact{
        padding:54px 0 62px;
    }

    .synca-services-compact .synca-services-heading{
        margin-bottom:22px;
        text-align:center;
    }

    .synca-services-compact .service-index-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
        margin-bottom:18px;
    }

    .synca-services-compact .service-index-card{
        min-height:86px;
        padding:11px 13px;
    }

    .synca-services-compact .service-index-card__number{
        font-size:22px;
    }

    .synca-services-compact .service-index-card__top > i{
        font-size:16px;
    }

    .synca-services-compact .service-index-card strong{
        font-size:13px;
    }

    .synca-services-compact .service-word-hero__inner{
        min-height:112px;
        padding:20px;
        gap:16px;
    }

    .synca-services-compact .service-word-number{
        font-size:52px;
    }

    .synca-services-compact .service-word-title h3{
        font-size:21px;
    }

    .synca-services-compact .service-word-title p{
        font-size:12px;
    }

    .synca-services-compact .service-word-main{
        grid-template-columns:1fr;
        min-height:0;
    }

    .synca-services-compact .service-word-copy{
        padding:24px 20px;
    }

    .synca-services-compact .service-word-copy h4{
        font-size:18px;
    }

    .synca-services-compact .service-word-copy p{
        font-size:12.5px;
        line-height:1.8;
    }

    .synca-services-compact .service-word-visual{
        min-height:220px;
    }

    .synca-services-compact .service-word-visual::before{
        background:linear-gradient(180deg,#fff 0%,rgba(255,255,255,0) 18%);
    }

    .synca-services-compact .service-word-visual img{
        min-height:220px;
        height:220px;
    }

    .synca-services-compact .service-word-points{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .synca-services-compact .service-word-point{
        min-height:78px;
        border-bottom:1px solid #e3ded4;
    }

    .synca-services-compact .service-word-point:nth-child(2){
        border-right:0;
    }

    .synca-services-compact .service-word-point:nth-child(3),
    .synca-services-compact .service-word-point:nth-child(4){
        border-bottom:0;
    }
}

@media (max-width:479.98px){
    .synca-services-compact .service-index-grid{
        grid-template-columns:1fr 1fr;
    }

    .synca-services-compact .service-index-card{
        min-height:82px;
    }

    .synca-services-compact .service-word-points{
        grid-template-columns:1fr;
    }

    .synca-services-compact .service-word-point{
        justify-content:flex-start;
        border-right:0;
        border-bottom:1px solid #e3ded4 !important;
        padding-left:22px;
    }

    .synca-services-compact .service-word-point:last-child{
        border-bottom:0 !important;
    }
}


/* =========================================================
   2026-09-07 ADDITIONAL READABILITY PATCH
========================================================= */
/* サービス詳細：副題を大きく */
.synca-services-compact .service-word-copy h4{
    font-size:23px;
    line-height:1.55;
}
/* サービス詳細：本文を大きく */
.synca-services-compact .service-word-copy p{
    font-size:15px;
    line-height:1.9;
}
/* アイコン横：見出しと本文の差を明確に */
.synca-services-compact .service-word-point strong{
    font-size:12px;
    font-weight:900;
    color:#1d2230;
}
.synca-services-compact .service-word-point span{
    font-size:10px;
    font-weight:400;
}
@media (max-width:767.98px){
    .synca-services-compact .service-word-copy h4{font-size:20px;}
    .synca-services-compact .service-word-copy p{font-size:14px;}
}

/* =========================================================
   2026-09-07 SERVICE POINT TITLE / BODY WEIGHT FIX
   1行目＝見出し（太字）、2行目以下＝本文（通常）
========================================================= */
.synca-services-compact .service-word-point div > strong{
    display:block;
    margin:0 0 3px;
    color:#1d2230;
    font-size:12px;
    line-height:1.45;
    font-weight:900;
}
.synca-services-compact .service-word-point div > span{
    display:block;
    margin:0;
    color:#4f5663;
    font-size:10px;
    line-height:1.45;
    font-weight:400;
}

/* =========================================================
   2026-09-08 TOP追加修正
========================================================= */

/* 02: サービス詳細CTAの文字をボタン中央へ */
.synca-services-compact .service-word-cta a{
    display:grid;
    grid-template-columns:24px minmax(0,1fr) 24px;
    align-items:center;
    justify-content:stretch;
    gap:10px;
    text-align:center;
}
.synca-services-compact .service-word-cta a > span{
    grid-column:2;
    text-align:center;
}
.synca-services-compact .service-word-cta a .fa-envelope{
    grid-column:1;
    justify-self:center;
}
.synca-services-compact .service-word-cta a .fa-arrow-right{
    grid-column:3;
    justify-self:center;
    margin-left:0;
}

/* 04/05: PCのみ指定位置で改行。スマホは改行解除 */
.service-copy-pc-break{display:block;}
@media (max-width:767.98px){
    .service-copy-pc-break{display:none;}
}


/* =========================================================
   2026-09-08 FOLLOW-UP CTA CENTER FIX
   ボタン文字だけでなく、ボタン本体を黒帯の左右中央へ
========================================================= */
.synca-services-compact .service-word-cta a{
    margin-left:auto !important;
    margin-right:auto !important;
}
