/* reset----------------------------- */
@charset "utf-8";
html {
    scroll-padding-top: 50px;
    scroll-behavior: smooth;
    overflow-x: hidden; 
}

body {
    font-family: "Noto Sans JP", "Noto Serif JP", serif;
    margin: 0 !important;
    overflow-x: hidden; 
}

.l-main {
    overflow-x: hidden;
    width: 100%;
}

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;
}

/* 共通縦書きレーベル（PC版） */
.p-vision_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;
    font-weight: 600;
    letter-spacing: 0.15em;
    white-space: nowrap;
    position: absolute;
    left: 0;
    /* 修正箇所：PC版において最上部の縦書き（BHAG）が固定ヘッダーの裏に潜り込んで隠れてしまう不具合を解消するため、引き上げる上限位置を「-200px」から「-120px」へマイルドに下降調整 */
    top: -70px; 
    z-index: 10; 
}
.p-vision_vertical-label4 {
    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;
    font-weight: 600;
    letter-spacing: 0.15em;
    white-space: nowrap;
    position: absolute;
    left: 0;
    /* 修正箇所：PC版において最上部の縦書き（BHAG）が固定ヘッダーの裏に潜り込んで隠れてしまう不具合を解消するため、引き上げる上限位置を「-200px」から「-120px」へマイルドに下降調整 */
    top: -180px; 
    z-index: 10; 
}
.p-vision_vertical-line {
    width: 1px;
    height: 20px;                    
    background-color: #4a4a4a;
    display: block;
}

/* 1. ページタイトルエリア */
.p-vision-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-vision-kv_inner {
    width: min(1200px, 90%);
    margin: 0 auto;
}
.p-vision-kv_title {
    /* 修正箇所：ページKVの英語大文字タイトルのフォントをご指定通り「Sawarabi Gothic」へ変更 */
    font-family: "Sawarabi Gothic", sans-serif;
    font-size: 28px;
    font-weight: normal;
    color: #4a4a4a;
    letter-spacing: 0.03em;
}
.p-vision-kv_sub {
    font-family: "Jost", sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #666666;
    margin-left: 12px;
}

.p-vision-core {
    width: 100%;
    background-color: #ffffff;      
    padding: 100px 0 140px 0;
    position: relative;
    z-index: 1;
}

.p-vision-core_canvas {
    max-width: 1920px;
    width: 100%;
    margin: 0 auto;
    position: relative;             
    padding-bottom: 60px;            
}

.p-vision-core_inner {
    position: relative;
    width: min(1200px, 90%);
    margin: 0 auto;
}

.p-vision-core_row {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: stretch;           
}

.p-vision-core_left {
    width: 55%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.p-vision-core_block {
    position: relative;
    padding-left: 110px;            
    padding-top: 80px;
    padding-bottom: 80px;
    padding-right: 40px;
    box-sizing: border-box;
}
.p-vision-core_block--bhag {
    background-color: #ffffff;
}

.p-vision-core_block--vision {
    background-color: transparent;
    flex-grow: 1;
    position: relative;
}

.p-vision-core_block--vision::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: -100px;                  
    left: -2000px;                  
    right: -2000px;                  
    background-color: rgba(228, 238, 241, 0.5); 
    z-index: 1;                     
}

.p-vision-core_content {
    position: relative;
    width: 100%;
    z-index: 3;                     
}

.p-vision-core_title {
    font-family: "Sawarabi Mincho", "Noto Serif JP", serif;
    font-size: 26px;
    font-weight: 700;
    color: #333333;
    line-height: 1.6;
    letter-spacing: 0.06em;
    margin-bottom: 28px;
}
.p-vision-core_text p {
    font-size: 14px;
    color: #4a4a4a;
    line-height: 2.2;
    letter-spacing: 0.04em;
    margin-bottom: 16px;
}
.p-vision-core_text p:last-child {
    margin-bottom: 0;
}

.p-vision-core_right {
    position: absolute;
    top: 0;
    bottom: 140px;                  
    right: 0;                       
    width: 44%;                     
    left: auto;
    z-index: 2;                     
}
.p-vision-core_img-wrap {
    height: 100%;
    width: 100%;
}
.p-vision-core_img {
    height: 100%;                   
    width: 100%;
    max-width: none !important;
    display: block;
    object-fit: cover;              
    object-position: center top;    
}
.p-vision-philosophy {
    width: 100%;
    background-color: #ffffff;
    padding: 0px 0 90px 0;
    position: relative;
    z-index: 1;
}

.p-vision-philosophy_canvas {
    max-width: 1920px;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.p-vision-philosophy_inner {
    position: relative;
    width: min(1200px, 90%);
    margin: 0 auto;
}

.p-vision-philosophy_row {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: stretch;           
}

.p-vision-philosophy_right-content {
    width: 50%;
    padding-right: 50px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;            
}

.p-vision-philosophy_main-title {
    font-family: "Sawarabi Mincho", "Noto Serif JP", serif;
    font-size: 38px;
    font-weight: 500;
    color: #333333;
    letter-spacing: 0.04em;
    margin-bottom: 40px;
    line-height: 1;                 
}

.p-vision-philosophy_badges {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}
.p-vision-philosophy_badge {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
}
.p-vision-philosophy_badge + .p-vision-philosophy_badge {
    margin-left: -20px;
}
.p-vision-philosophy_badge-inner {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}
.p-vision-philosophy_badge-inner::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    padding: 3px;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.p-vision-philosophy_badge--oneness .p-vision-philosophy_badge-inner::before {
    background: linear-gradient(135deg, #E5DCF2 0%, #F5ECF4 100%);
}
.p-vision-philosophy_badge--only .p-vision-philosophy_badge-inner::before {
    background: linear-gradient(135deg, #E1EDF2 0%, #ECEEF5 100%);
}
.p-vision-philosophy_badge--numberone .p-vision-philosophy_badge-inner::before {
    background: linear-gradient(135deg, #F5EBE1 0%, #FAF6E6 100%);
}
.p-vision-philosophy_badge--only .p-vision-philosophy_badge-en {
    font-size: 21px;
}
.p-vision-philosophy_badge-en {
    /* 修正箇所：円形バッジ内の英語・数字フォントをご指定通り「Sawarabi Gothic」へ変更 */
    font-family: "Sawarabi Mincho", "Noto Serif JP", serif;
    font-size: 28px;
    font-weight: 500;
    color: #333333;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
}
.p-vision-philosophy_badge-ja {
    font-size: 11.5px;
    font-weight: 500;
    color: #666666;
    letter-spacing: 0.05em;
    position: relative;
    z-index: 2;
}

.p-vision-philosophy_text {
    width: 100%;
    text-align: center;             
}
.p-vision-philosophy_text p {
    font-size: 14px;
    color: #4a4a4a;
    line-height: 2.3;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    text-align: center;             
}
.p-vision-philosophy_text p:last-child {
    margin-bottom: 0;
}

.p-vision-philosophy_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;
    font-weight: 600;
    letter-spacing: 0.15em;
    white-space: nowrap;
    position: absolute;
    right: 0;
    top: -250px;
}
.p-vision-philosophy_vertical-label .p-top_vertical-line {
    width: 1px;
    height: 40px;
    background-color: #4a4a4a;
    display: block;
}

.p-vision-philosophy_left-img {
    position: absolute;
    top: 0;
    bottom: 0;                      
    left: 0;
    width: 44%;
    right: auto;
    z-index: 2;
}
.p-vision-philosophy_img-wrap {
    height: 100%;
    width: 100%;
}
.p-vision-philosophy_img {
    height: 100%;
    width: 100%;
    max-width: none !important;
    display: block;
    object-fit: contain;
    object-position: left center;
}

.p-vision-values {
    width: 100%;
    background-color: rgba(228, 238, 241, 0.5);      
    padding: calc(60px + (140 - 60) * ((100vw - 768px) / (1920 - 768))) 0;
}

.p-vision-values_inner {
    position: relative;
    width: min(1200px, 90%);
    margin: 0 auto;
}

.p-vision-values .p-top_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;
    font-weight: 600;
    letter-spacing: 0.15em;
    white-space: nowrap;
    position: absolute;
    left: 0;
    top: -60px;
    z-index: 3;
}
.p-vision-values .p-top_vertical-line {
    width: 1px;
    height: 40px;
    background-color: #4a4a4a;
    display: block;
}

.p-vision-values_content {
    width: 100%;
    padding-left: 110px;
    box-sizing: border-box;
}

.p-vision-values_item {
    width: 100%;
    display: flex;
    justify-content: space-between; 
    align-items: center;            
    margin-bottom: calc(40px + (75 - 40) * ((100vw - 768px) / (1920 - 768)));
}
.p-vision-values_item:last-child {
    margin-bottom: 0;
}

.p-vision-values_item:nth-child(even) {
    flex-direction: row-reverse;
}

.p-vision-values_item-lead {
    width: 48%;                     
    display: flex;
    align-items: center;            
}

.p-vision-values_item-num {
    /* 修正箇所：行動指針の特大数字フォントをご指定通り「Sawarabi Gothic」へ変更 */
    font-family: "Sawarabi Mincho", "Noto Serif JP", serif;
    font-size: calc(110px + 95 * ((100vw - 768px) / (1920 - 768)));
    font-weight: 500;
    line-height: 0.85;
    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-vision-values_item-en {
    /* 修正箇所：行動指針の英語子タイトルフォントをご指定通り「Sawarabi Gothic」へ変更 */
    font-family: "Sawarabi Mincho", "Noto Serif JP", serif;
    font-size: calc(24px + 24 * ((100vw - 768px) / (1920 - 768)));
    font-weight: 500;
    color: #333333;
    letter-spacing: 0.02em;
    margin-left: -3.0em;           
    position: relative;
    z-index: 2;
    white-space: nowrap;
}

.p-vision-values_item-body {
    width: 48%;                     
    padding-top: 0;
}

.p-vision-values_item-title {
    /* 修正箇所：行動指針の日本語タイトルフォントをご指定通り「Sawarabi Mincho」へ変更 */
    font-family: "Sawarabi Mincho", "Noto Serif JP", serif;
    font-size: calc(14px + (16 - 14) * ((100vw - 768px) / (1920 - 768)));
    font-weight: 700;
    color: #333333;
    letter-spacing: 0.05em;
    margin-bottom: calc(8px + (12 - 8) * ((100vw - 768px) / (1920 - 768)));
    line-height: 1.4;
}

.p-vision-values_item-desc {
    font-size: calc(12px + (16 - 13) * ((100vw - 768px) / (1920 - 768)));
    color: #4a4a4a;
    line-height: 2.5;
    letter-spacing: 0.03em;
}

@media screen and (max-width: 1150px) and (min-width: 769px) {
    .p-vision-philosophy_left-img {
        transform: translateX(-80px) !important;
        left: 0 !important;
        width: 44% !important;
    }

    .p-vision-philosophy_right-content {
        width: 58% !important;
        padding-right: 20px !important;
    }
}

@media screen and (max-width: 768px) {
    .p-vision-kv { height: 100px; }
    .p-vision-kv_title { font-size: 22px; }
    .p-vision-kv_sub { font-size: 12px; margin-left: 6px; }
    
    /* --- 2. コアビジョンセクション SP修正 --- */
    .p-vision-core { padding: 50px 0 80px 0; }
    .p-vision-core_row { display: block; }
    .p-vision-core_left { width: 100%; }
    
    .p-vision-core_right.pc_only {
        display: none !important;      /* スマホではPC用の絶対配置画像を完全消去 */
    }
    .p-vision-core_right.sp_only {
        display: block !important;     /* スマホでは隙間に仕込んだ画像だけを露出 */
        position: relative !important;
        width: 100% !important;
        margin-top: 20px !important;    /* 上の文章（BHAG）との美しい隙間 */
        margin-bottom: 40px !important; /* 下の文章（OUR VISION）との美しい隙間 */
    }

    .p-vision-core_img-wrap { 
        height: auto;
        position: static;
        aspect-ratio: 4 / 5; 
    }
    .p-vision-core_img {
        position: static;
        width: 100%;
        height: 100%;
        object-fit: cover !important;
    }

    /* ーーー 既存の縦書きレーベルや余白の美化ルールはそのまま維持 ーーー */
    .p-vision-core .p-vision_vertical-label {
        display: flex !important;
        left: 0 !important;
        top: -30px !important;
    }
    .p-vision-core_block { 
        padding: 40px 20px 40px 45px !important; 
    }
    .p-vision_vertical-label4 {
        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 Mincho", "Noto Serif JP", serif;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 0.15em;
        white-space: nowrap;
        position: absolute;
        left: 0;
        top: -40px; 
        z-index: 10; 
    }
    .p-vision-core_title { font-size: 20px; margin-bottom: 20px; }
    
    .p-vision-core_right { 
        position: relative !important;
        z-index: 2 !important;
        width: 100%; 
        margin-top: 40px;
    }
    .p-vision-core_img-wrap { 
        height: auto;
        position: static;
        aspect-ratio: 4 / 5; 
    }
    .p-vision-core_img {
        position: static;
        width: 100%;
        height: 100%;
    }

    /* --- 3. 経営理念セクション SP修正 --- */
    .p-vision-philosophy {
        padding: 0px 0;
    }
    .p-vision-philosophy_row {
        display: block;
        min-height: 0;
    }
    /* 修正箇所：右側の縦書きレーベルを常時表示させるため配置を有効化 */
    .p-vision-philosophy_vertical-label {
        display: flex !important;
        right: 0 !important;
        top: -80px !important;
    }
    /* 修正箇所：右側の縦書きとメッセージ本文が重なるのを防ぐため、SP用の右インナー余白を45pxに確保設定 */
    .p-vision-philosophy_right-content {
        width: 100%;
        padding-right: 45px !important;
    }
    .p-vision-philosophy_main-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    .p-vision-philosophy_badges {
        gap: 0;             
        margin-bottom: 36px;
    }
    .p-vision-philosophy_badge {
        width: 105px;
        height: 105px;
    }
    .p-vision-philosophy_badge + .p-vision-philosophy_badge {
        margin-left: -15px;
    }
    .p-vision-philosophy_badge-en {
        font-size: 14.5px;
        margin-bottom: 4px;
    }
    .p-vision-philosophy_badge--only .p-vision-philosophy_badge-en {
        font-size: 11px;            
    }
    .p-vision-philosophy_badge-ja {
        font-size: 9px;
    }
    .p-vision-philosophy_left-img {
        position: static;
        width: 100%;
        margin-top: 40px;
    }
    .p-vision-philosophy_img-wrap {
        height: auto;
        aspect-ratio: 16 / 10;
    }

    /* --- 4. VALUES セクション SP修正 --- */
    .p-vision-values { padding: 50px 0; }
    
    /* 修正箇所：行動指針セクションの縦書きレーベルを常時表示させるため配置を有効化 */
    .p-vision-values .p-top_vertical-label {
        display: flex !important;
        left: 0 !important;
        top: -40px !important;
    }
    /* 修正箇所：左側の縦書きと各指針カードが衝突して重なるのを防ぐため、SP用の左インナー余白を45pxに確保設定 */
    .p-vision-values_content { 
        padding-left: 45px !important; 
    }
    
    .p-vision-values_item,
    .p-vision-values_item:nth-child(even) {
        display: block;
        margin-bottom: 40px;
    }
    .p-vision-values_item-lead {
        width: 100%;
        margin-bottom: 12px;
        gap: 8px;
    }
    .p-vision-values_item-num {
        font-size: 54px;
        line-height: 1;
    }
    .p-vision-values_item-en {
        font-size: 18px;
        margin-left: -45px;
    }
    .p-vision-values_item-body {
        width: 100%;
        padding-top: 0;
    }
    .p-vision-values_item-title {
        font-size: 15px;
        margin-bottom: 6px;
    }
    .p-vision-values_item-desc {
        font-size: 13px;
        line-height: 1.8;
    }
}