/* ==================================================================================================== */
/* トップコンテンツ */
/* ==================================================================================================== */

@container( max-width:959px ) {

/* ベース */
section.content-block.top-content { border-radius:20px 20px 0 0; margin-bottom:0; }
section.content-block.philosophy-block.first-block { border-radius:0; }

}

@container( min-width:960px ) {

/* 見出しイラスト */
h2.top-midashi { position:relative; z-index:1; }
h2.top-midashi::after { aspect-ratio:155/389; content:''; background-size:contain; background-position:center; background-repeat:no-repeat; background-image:url(../img/page/company/top-content-illustration-pc.png); display:inline-block; position:absolute; top:60px; left:50%; transform:translateX(-50%); height:auto; max-width:155px; width:155px; z-index:1; }

/* 見出し */
.ye-midashi { font-size:18px; font-weight:500; }

}

/* ==================================================================================================== */
/* 法人理念 */
/* ==================================================================================================== */

/* リスト */
section.content-block ol { display:flex; flex-direction:column; gap:8px; margin:16px 0 24px 0; }
section.content-block ol li { line-height:1.61; }
section.content-block ol li:nth-child(1)::before { content:'1.'; margin-right:2.5px; }
section.content-block ol li:nth-child(2)::before { content:'2.'; margin-right:2.5px; }
section.content-block ol li:nth-child(3)::before { content:'3.'; margin-right:2.5px; }
section.content-block ol li:nth-child(4)::before { content:'4.'; margin-right:2.5px; }
section.content-block ol li:nth-child(5)::before { content:'5.'; margin-right:2.5px; }
section.content-block ol li { font-size:16px; font-weight:400; text-indent:-1rem; padding-left:1rem; }

/* 民医連の介護・福祉の理念 */
section.miniren-philosophy-block p.page-text { font-size:16px; font-weight:400; line-height:200%; letter-spacing:-0.8px; margin:24px auto; }

/* 私たちの成り立ち */
div.page-ph { margin:40px auto; }
div.page-ph img { height:auto; max-width:100%; }

/* 沿革リスト */
dl.history { align-content:flex-start; flex-direction:column; flex-wrap:wrap; gap:8px; justify-content:flex-start; }
dl.history dt { background-color:var(--ye-02); font-size:14px; font-weight:400; display:inline-block; line-height:24px; padding:2px 6px 1px 6px; }
dl.history dd { font-size:16px; font-weight:400; line-height:200%; letter-spacing:-0.8px; }

/* 余白調整 */
div.last-block { margin-bottom:80px; }

@container( min-width:960px ) {

/* イラスト配置 */
section.philosophy-block::before, section.naritachi::before { background-size:contain; background-position:center; background-repeat:no-repeat; content:''; display:inline-block; position:absolute; height:auto; z-index:-1; }
section.philosophy-block, section.naritachi { position:relative; z-index:1; }
section.philosophy-block::before { aspect-ratio:325/162; background-image:url(../img/page/company/content-illustration01-pc.png); top:275px; right:65px; max-width:325px; width:325px; }
section.naritachi::before { aspect-ratio:424/326; background-image:url(../img/page/company/content-illustration02-pc.png); top:150px; left:50px; max-width:275px; width:275px; }

/* 理念 */
section.content-block ol { margin:16px auto 40px auto; max-width:830px; }
section.content-block ol li { font-size:18px; }

/* 民医連の介護・福祉の理念 */
section.miniren-philosophy-block p.page-text { font-size:18px; margin:0 auto 40px auto; max-width:830px; }

/* 私たちの成り立ち */
div.page-ph img { max-width:600px; }

/* 沿革リスト */
dl.history { flex-direction:row; gap:8px 40px; margin:auto; max-width:830px; width:100%; }
dl.history dt, dl.history dd { font-size:18px; font-weight:400; line-height:32px; letter-spacing:-0.9px; }
dl.history dt { text-align:center; width:160px; }
dl.history dd { width:calc( 100% - 200px ) }

/* 余白調整 */
div.last-block { margin-bottom:250px; }

}









































