/* reset----------------------------- */
@charset "utf-8";
html{
    scroll-padding-top: 50px;
    scroll-behavior: smooth;
}
body {
    font-family: "Noto Sans JP", "Noto Serif JP", serif;
    margin: 0 !important;
}

section, main, footer, h1,h2,h3,h4,h5,h6,ul,ol,li,dl,dt,dd,p,form,fieldset {
    margin: 0;
    padding: 0;
}
h1,h2,h3,h4,h5,h6 {
    line-height: 1.1;
}
p{
    line-height: 2;
    text-align: justify;
}
li {
    list-style: none;
}

th {
    font-weight: normal;
}

em {
    font-style: normal;
}

sup {
    position: relative;
    height: 0;
    font-size: .46em;
}

article,aside,details,figcaption,figure,footer,header,main,menu,nav,section,summary {
    display: block;
}

img {
    width: 100%;
    max-width:100%;
    display: block;
    object-fit: contain;
}
a{
    text-decoration: none;
    color: #FFF;
}

/* 1. ページタイトルエリア（KV） */
.p-business-kv {
    width: 100%;
    height: 120px;
    background: linear-gradient(90deg, #EDF4F6 0%, #F4F3ED 50%, #F6EFF4 100%);
    display: flex;
    align-items: center;
    border-bottom: 1px solid #EAEAEA;
}
.p-business-kv_inner {
    width: min(1200px, 90%);
    margin: 0 auto;
}
.p-business-kv_title {
    font-family: "Sawarabi Gothic", sans-serif;
    font-size: 28px;
    font-weight: normal;
    color: #4a4a4a;
    letter-spacing: 0.03em;
}
.p-business-kv_sub {
    font-family: "Jost", sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #666666;
    margin-left: 12px;
}

/* 2. 事業内容セクション共通ベース */
.p-business-services {
    width: 100%;
    background-color: #ffffff;
    padding: 140px 0 60px 0;
}

/* 1行ごとのアイテム枠 */
.p-business-services_item {
    width: 100%;
    margin-bottom: 80px;
}
.p-business-services_item:last-child {
    margin-bottom:30px;
}

/* 1920pxの仮想キャンバスコンテナ */
.p-business-services_canvas {
    max-width: 1920px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    /* 修正箇所：縦書きがないセクションのため、左右の突き抜け画像が右余白を出さないようここは overflow: hidden を維持 */
    overflow: hidden; 
}

/* 1200pxインナー中央枠 */
.p-business-services_inner {
    position: relative;
    width: min(1200px, 90%);
    margin: 0 auto;
    z-index: 3;                     
}

.p-business-services_row {
    width: 100%;
    display: flex;
    align-items: center;            
    min-height: calc(320px + (460 - 320) * ((100vw - 768px) / (1920 - 768)));
}

/* 【01: 右画像突き抜け時】 */
.p-business-services_item--right-img .p-business-services_row {
    justify-content: flex-start;
}
.p-business-services_left-content {
    width: 33%;                     
    box-sizing: border-box;
}

/* 【02: 左画像突き抜け時】 */
.p-business-services_item--left-img .p-business-services_row {
    justify-content: flex-end;
}
.p-business-services_right-content {
    width: 34%;
    box-sizing: border-box;
}

.p-business-services_title-wrap {
    position: relative;
    display: flex;
    align-items: center;            
    margin-bottom: 24px;
}

/* 特大グラデーション数値 */
.p-business-services_num {
    font-family: "Sawarabi Mincho", "Noto Serif JP", serif;
    font-size: calc(110px + 95 * ((100vw - 768px) / (1920 - 768)));
    font-weight: 700;
    line-height: 1.0;
    /* 修正箇所：他ページで調整した、白背景の上でも美しく発色する黄金比の中間グラデーションカラーへ統一同期 */
    background: linear-gradient(90deg, #E4DCF1 0%, #E3F0E8 45%, #F7F3DD 75%, #FAECE7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    width: 1.15em;                  
    letter-spacing: -0.05em;
    user-select: none;
    flex-shrink: 0;
}

/* 重ね合う日本語タイトル */
.p-business-services_title {
    font-family: "Sawarabi Mincho", "Noto Serif JP", serif;
    font-size: calc(21px + (36 - 24) * ((100vw - 768px) / (1920 - 768)));
    font-weight: 700;
    color: #333333;
    line-height: 1.4;
    letter-spacing: 0.05em;
    margin-left: -4.80em;           
    position: relative;
    z-index: 2;
}

/* 本文説明文 */
.p-business-services_desc {
    font-size: calc(13px + (16 - 13) * ((100vw - 768px) / (1920 - 768)));
    color: #4a4a4a;
    line-height: 2.3;
    letter-spacing: 0.04em;
}

/* 全幅突き抜け画像ブロック */
.p-business-services_img-block {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60%;                     
    z-index: 2;
}

.p-business-services_item--right-img .p-business-services_img-block {
    right: calc((100vw - min(1200px, 94%)) / 2) !important;
    left: auto !important;
}

.p-business-services_item--left-img .p-business-services_img-block {
    left: calc((100vw - min(1200px, 94%)) / 2) !important;
    right: auto !important;
}

.p-business-services_img-wrap {
    height: 100%;
    width: 100%;
}
.p-business-services_img {
    height: 100%;
    width: 100%;
    max-width: none !important;
    display: block;
    object-fit: contain;              
}

.p-business-services_item--right-img .p-business-services_img {
    object-position: right center !important;
}

.p-business-services_item--left-img .p-business-services_img {
    object-position: left center !important;
}

.p-business-strength {
    width: 100%;
    background-color: rgba(228, 238, 241, 0.5);
    padding: calc(60px + (140 - 60) * ((100vw - 768px) / (1920 - 768))) 0;
}

.p-business-strength_inner {
    position: relative;
    width: min(1200px, 90%);
    margin: 0 auto;
}

/* 左側に絶対ピン留めされる縦書きレーベル（PC版） */
.p-business-strength_vertical-label {
    writing-mode: vertical-rl;
    text-combine-upright: digits 2;
    text-orientation: sideways;
    -webkit-text-orientation: sideways;
    display: flex;
    align-items: center;
    gap: 16px;
    color: #4a4a4a;
    font-family: "Sawarabi Gothic", "Sawarabi Mincho", serif;
    font-size: 13px;
    /* 修正箇所：他ページの縦書きパーツとデザインの統一感を出すため、文字の太さを太字（700）に変更 */
    font-weight: 600; 
    letter-spacing: 0.15em;
    white-space: nowrap;
    position: absolute;
    left: 0;
    /* 修正箇所：境界線を跨いで上の白いエリアまで突き抜け横断させるため、配置の初期位置を上に引き上げ調整 */
    top: -180px; 
    z-index: 10;
}
.p-business-strength_vertical-line {
    width: 1px;
    height: 20px;
    background-color: #4a4a4a;
    display: block;
}

/* 右側コンテンツコンテナ */
.p-business-strength_content {
    width: 100%;
    padding-left: 110px;
    box-sizing: border-box;
}

/* 2列×2段を司るFlexグリッドコンテナ */
.p-business-strength_grid {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: calc(40px + (90 - 40) * ((100vw - 768px) / (1920 - 768)));
}

.p-business-strength_item {
    width: 46%;
    box-shrink: 0;
}

.p-business-strength_title-wrap {
    position: relative;
    display: flex;
    align-items: center;            
    margin-bottom: 20px;
}

/* 特大グラデーション数値 */
.p-business-strength_num {
    font-family: "Sawarabi Mincho", "Noto Serif JP", serif;
    font-size: calc(100px + 60 * ((100vw - 768px) / (1920 - 768))); 
    font-weight: 700;
    line-height: 1.0;
    /* 修正箇所：Servicesセクションの数値と同じく、白背景の上でも美しく発色する黄金比の中間グラデーションカラーへ統一同期 */
    background: linear-gradient(90deg, #E4DCF1 0%, #E3F0E8 45%, #F7F3DD 75%, #FAECE7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    width: 1.15em;                  
    letter-spacing: -0.05em;
    user-select: none;
    flex-shrink: 0;
}

/* 重ね合う日本語タイトル */
.p-business-strength_title {
    font-family: "Sawarabi Mincho", "Noto Serif JP", serif;
    font-size: calc(20px + (26 - 20) * ((100vw - 768px) / (1920 - 768))); 
    font-weight: 700;
    color: #333333;
    line-height: 1.4;
    letter-spacing: 0.05em;
    margin-left: -0.45em;           
    position: relative;
    z-index: 2;
}

/* 丁寧な解説文 */
.p-business-strength_desc {
    font-size: calc(13px + (16 - 13) * ((100vw - 768px) / (1920 - 768))); 
    color: #4a4a4a;
    line-height: 2.3;
    letter-spacing: 0.04em;
}

@media screen and (max-width: 768px) {
    .p-business-kv { height: 100px; }
    .p-business-kv_title { font-size: 22px; }
    .p-business-kv_sub { font-size: 12px; margin-left: 6px; }

    .p-business-services { padding: 60px 0; }
    .p-business-services_item { margin-bottom: 60px; }
    
    .p-business-services_row { 
        display: block; 
        min-height: 0;              
    }
    .p-business-services_left-content,
    .p-business-services_right-content {
        width: 100%;
    }
    
    .p-business-services_title-wrap {
        margin-bottom: 16px;
    }
    .p-business-services_num {
        font-size: 54px;
        width: auto;
    }
    .p-business-services_title {
        font-size: 18px;
        margin-left: -25px;
        padding-bottom: 0;
    }
    .p-business-services_desc {
        font-size: 13.5px;
        line-height: 1.8;
    }
    
    .p-business-services_img-block {
        position: static;
        width: 100%;
        margin-top: 24px;
    }
    .p-business-services_img-wrap {
        height: auto;
        aspect-ratio: 16 / 10;
    }

    /* --- 3. 強みセクション SP修正 --- */
    .p-business-strength {
        padding: 50px 0;
    }
    
    /* 修正箇所：SP版でも強みの縦書きレーベル（STRENGTH）を非表示にせず、常時表示させるために配置を再有効化 */
    .p-business-strength_vertical-label {
        display: flex !important;
        left: 0 !important;
        top: -80px !important;
    }
    
    /* 修正箇所：左側の縦書きと各強みカードが衝突して重なるのを100%完全に防ぐため、他ページと同じくSP用の左インナー余白を45pxに拡張確保 */
    .p-business-strength_content {
        padding-left: 45px !important; 
    }
    
    .p-business-strength_grid {
        display: block;             
    }
    .p-business-strength_item {
        width: 100%;
        margin-bottom: 40px;
    }
    .p-business-strength_item:last-child {
        margin-bottom: 0;
    }
    
    .p-business-strength_title-wrap {
        margin-bottom: 12px;
        gap: 10px;
    }
    .p-business-strength_num {
        font-size: 54px;
        width: auto;
    }
    .p-business-strength_title {
        font-size: 18px;
        margin-left: 0;
    }
    .p-business-strength_desc {
        font-size: 13.5px;
        line-height: 1.8;
    }
}