/* 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-company-kv {
    width: 100%;
    height: 100px;
    background: linear-gradient(90deg, #EDF4F6 0%, #F4F3ED 50%, #F6EFF4 100%);
    display: flex;
    align-items: center;
    border-bottom: 1px solid #EAEAEA;
}
.p-company-kv_inner {
    width: min(1200px, 90%);
    margin: 0 auto;
}
.p-company-kv_title {
    /* 修正箇所：他ページとデザインのトーン＆マナーを一致させるため、KVの英語タイトルのフォントをご指定通りの「Sawarabi Gothic」へ変更 */
    font-family: "Sawarabi Gothic", sans-serif;
    font-size: 28px;
    font-weight: normal;
    color: #4a4a4a;
    letter-spacing: 0.03em;
}
.p-company-kv_sub {
    font-family: "Jost", sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #666666;
    margin-left: 12px;
}

/* 2. 会社概要セクション */
.p-company-profile {
    width: 100%;
    background-color: #ffffff;      
    padding: calc(60px + (120 - 60) * ((100vw - 768px) / (1920 - 768))) 0 calc(80px + (140 - 80) * ((100vw - 768px) / (1920 - 768))) 0;
}

.p-company-profile_inner {
    width: min(1200px, 90%);
    margin: 0 auto;
}

/* メイン大見出し */
.p-company-profile_main-title {
    /* 修正箇所：会社情報セクションの日本語大見出しのフォントをご指定通りの「Sawarabi Mincho」へ変更 */
    font-family: "Sawarabi Mincho", "Noto Serif JP", serif;
    font-size: calc(24px + (32 - 24) * ((100vw - 768px) / (1920 - 768)));
    font-weight: 700;
    color: #333333;
    letter-spacing: 0.05em;
    margin-bottom: calc(40px + (60 - 40) * ((100vw - 768px) / (1920 - 768)));
    padding-left: 4px;              
}

.p-company-profile_table {
    width: 100%;
}

.p-company-profile_row {
    width: 100%;
    display: flex;
    align-items: flex-start;        
    padding: calc(4px + (32 - 20) * ((100vw - 768px) / (1920 - 768))) 0;
}

/* 【左カラム】■項目名 */
.p-company-profile_label {
    width: 24%;
    font-family: "Noto Sans JP", sans-serif;
    font-size: calc(13px + (14.5 - 13) * ((100vw - 768px) / (1920 - 768)));
    font-weight: 700;
    color: #333333;
    letter-spacing: 0.02em;
    line-height: 1.6;
    flex-shrink: 0;
}

/* 【右カラム】詳細内容エリア */
.p-company-profile_detail {
    width: 76%;
    font-family: "Noto Sans JP", sans-serif;
    font-size: calc(13px + (14.5 - 13) * ((100vw - 768px) / (1920 - 768)));
    color: #4a4a4a;
    line-height: 2.2;
    letter-spacing: 0.03em;
}
.p-company-profile_detail p {
    text-align: left;               
    margin-left: -60px;  
}

.p-company-profile_link {
    color: #0066cc;
    text-decoration: underline;
    transition: opacity 0.3s ease;
}
.p-company-profile_link:hover {
    opacity: 0.75;
}

.p-company-profile_service-block {
    width: 100%;
}
.p-company-profile_service-title {
    font-weight: 500;
    color: #333333;
    margin-bottom: 2px;
}
.p-company-profile_service-desc {
    color: #555555;
    padding-left: 1.2em;            
    font-size: calc(12.5px + (14 - 12.5) * ((100vw - 768px) / (1920 - 768)));
}

.p-company-profile_detail .m-top-main {
    margin-top: 18px;
}

@media screen and (max-width: 768px) {
    .p-company-kv { height: 100px; }
    .p-company-kv_title { font-size: 22px; }
    .p-company-kv_sub { font-size: 12px; margin-left: 6px; }

    .p-company-profile { padding: 50px 0; }
    .p-company-profile_main-title { font-size: 24px; margin-bottom: 30px; padding-left: 0; }
    
    .p-company-profile_row {
        display: block;
        padding: 16px 0;
    }
    
    .p-company-profile_label {
        width: 100%;
        margin-bottom: 8px;         
        font-size: 14px;
    }
    
    .p-company-profile_detail {
        width: 100%;
        font-size: 13.5px;
        line-height: 1.9;
    }
    
    /* 修正箇所：万が一キャッシュや他CSSの影響が残った場合でも、スマホの限られた画面内で100%確実に文章が左へ見切れないよう、安全マージン（0）を完全に固定リセット */
    .p-company-profile_detail p {
        margin-left: 0 !important;
    }
    
    .p-company-profile_service-desc {
        padding-left: 0;            
        font-size: 13px;
        margin-top: 2px;
    }
    .p-company-profile_detail .m-top-main {
        margin-top: 14px;
    }
}