@charset "utf-8";

#lower-image {
	background: url(../../../images/main_image.jpg) center -150px;
	background-size: cover;
}

#lower-image:before {
	content: "";
	width: 100%;
	height: 100%;
	display: block;
}

figcaption {
	font-style: italic;
}

cite {
	font-style: inherit;
}


.page-section, :where(.lower-contents .main-contents) section {
	margin-bottom: 40px;
}

@media only screen and (min-width: 1280px) {
	.page-section, :where(.lower-contents .main-contents) section {
		margin-bottom: 80px;
	}
}

/*
:where(.lower-contents .main-contents) h2 {
	margin-bottom: 1em;
	font-weight: bold;
	color: var(--color-link);
}

:where(.lower-contents .main-contents) h3 {
	color: inherit;
}
*/


/* -------------------------------------------- */

.sbs {
	
}

.sbs__item {
	margin-bottom: 30px;
}

.sbs__item:last-child {
	margin-bottom: 0;
}

.sbs__item > *:last-child {
	margin-bottom: 0;
}

@media only screen and (min-width: 768px) {
	
}

@media only screen and (min-width: 1280px) {
	.sbs {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}
	
	.sbs__item {
		width: calc(50% - 25px);
		margin-bottom: 0;
	}
}


.fig {
	max-width: 640px;
	margin: 0 auto;
}

.fig__item {
	
}

.fig__item img {
	display: block;
	width: 100%;
	margin-bottom: 10px;
}

.fig__caption {
	font-size: 85%;
}

@media only screen and (min-width: 768px) {
	
}

@media only screen and (min-width: 1280px) {
	.fig {
		max-width: 100%;
		margin: 0;
	}
}



/* -------------------------------------------- */

.intro {
	position: relative;
	margin-bottom: 20px;
}

.intro__img {
	margin-bottom: 20px;
}

.intro__ttl {
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin: 0 auto 0 0;
	color: inherit;
}


:where(.lower-contents .main-contents) #caption {
	font-family: "FOT-マティス Pro M", MatissePro-M, serif;
	font-size: 2.6rem;
	color: #555555;
	margin-bottom: 20px;
}


.intro__read {
	font-weight: bold;
	color: #555555;
}

@media only screen and (min-width: 768px) {
	.intro__ttl {
		position: absolute;
		left: 0;
		right: auto;
		top: 0;
		bottom: 0;
	}
	
	.intro__read {
		padding-left: 0.4em;
		font-size: 115%;
	}
	
	.intro__img {
		margin-bottom: 0;
	}
}

@media only screen and (min-width: 1280px) {
	.intro {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}
	
	.intro__ttl {
		width: calc(50% - 15px);
	}
	
	.intro__img {
		width: calc(80% - 25px);
		margin-right: 0;
		margin-left: auto;
	}
}

@media only screen and (min-width: 1440px) {
	
	:where(.lower-contents .main-contents) #caption {
		font-size: 5rem;
	}
	
}


/* -------------------------------------------- */

.sns {
	
}

.sns__body {
	margin-bottom: 30px;
}

.sns__body:last-child {
	margin-bottom: 0;
}

.sns__body > *:last-child {
	margin-bottom: 0;
}

@media only screen and (min-width: 768px) {
	
}

@media only screen and (min-width: 1280px) {
	.sns {
		display: flex;
		justify-content: space-between;
	}
	
	.sns__body {
		width: calc(60% - 25px);
		margin-bottom: 0;
	}
	
	.sns__ext {
		width: calc(40% - 25px);
		margin-bottom: 0;
	}
}


.fig {
	max-width: 640px;
	margin: 0 auto;
}

.fig__item {
	
}

.fig__item img {
	display: block;
	width: 100%;
	margin-bottom: 10px;
}

.fig__caption {
	font-size: 85%;
}

@media only screen and (min-width: 768px) {
	
}

@media only screen and (min-width: 1280px) {
	.fig {
		max-width: 100%;
		margin: 0;
	}
}


/* -------------------------------------------- */


.images {
	
}

.images__inner {
	display: flex;
	justify-content: space-between;
	flex-direction: column;
	column-gap: 20px;
	row-gap: 20px;
}

.images__item {
	
}

.images__item img {
	
}

@media only screen and (min-width: 768px) {
	.images__inner {
		flex-direction: row;
		column-gap: 40px;
		row-gap: 40px;
	}
}


/* -------------------------------------------- */


.cases {
	
}

.casesList {
	
}

.casesList__item {
	margin-bottom: 20px;
	padding: 20px 0 10px 20px;
	border-top: 1px solid rgba(0,0,0,0.2);
	border-left: 1px solid rgba(0,0,0,0.2);
}

.casesList__t {
	margin-bottom: 0;
	font-size: inherit;
	font-weight: bold;
	color: var(--color-link);
}

.casesList__d {
	display: flex;
	font-size: inherit;
	font-weight: bold;
}

.casesList__d .icon {
	margin-right: 8px;
	stroke-width: 1.25;
}

@media only screen and (min-width: 768px) {
	.casesList__item {
		padding-left: 30px;
	}
	
	.casesList__d .icon {
		margin-right: 12px;
	}
}

.casesImages {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	margin-top: 40px;
	counter-reset: ol-num;
}

.casesImages__item {
	position: relative;
	width: calc(50% - 10px);
	margin-bottom: 20px;
	box-sizing: border-box;
}

.casesImages__item::before {
	position: absolute;
	left: 0;
	right: 0;
	top: -12px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	margin: auto;
	font-size: 0.9rem;
	font-weight: bold;
	border-radius: 45%;
	counter-increment: ol-num;
	content: counter(ol-num);
	background-color: #fff;
	border: 1px solid #aaa;
}

.casesImages__item img {
	display: block;
	width: 100%;
	border-radius: 12px;
}

.casesImages__item .icon {
	--size: 36px;
	
	position: absolute;
	right: calc(var(--size) / 1.5 * -1);
	bottom: 0;
	top: 0;
	margin: auto;
	width: var(--size);
	height: var(--size);
}

.casesImages__item:nth-child(even) .icon {
	top: auto;
	right: auto;
	bottom: calc(var(--size) / 1.25 * -1);
	left: calc(var(--size) / 1.25 * -1);
}

.casesImages__item .icon svg {
	width: var(--size);
	height: var(--size);
	color: #aaa;
}

.casesImages__item:nth-child(even) .icon svg {
	transform: rotate(135deg);
}

@media only screen and (min-width: 768px) {
	.casesImages {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}
	
	.casesImages__item {
		width: calc(25% - 20px);
	}
	
	.casesImages__item .icon {
		right: calc(var(--size) / 1.5 * -1) !important;
		bottom: 0 !important;
		top: 0 !important;
		left: auto !important;
	}
	
	.casesImages__item .icon svg {
		transform: rotate(0deg) !important;
		
	}
}


/* -------------------------------------------- */


.lists {
	margin-bottom: 20px;
}

.lists li {
	position: relative;
	margin-bottom: 5px;
	padding-left: 20px;
	box-sizing: border-box;
}

.lists li::before {
	position: absolute;
	top:  calc(0.5em + 0.2em);
	left: 0;
	content: "";
	display: inline-block;
	width: 5px;
	height: 5px;
	margin-right: 0.5em;
	background-color: var(--color-link);
	border-radius: 50%;
}

@media only screen and (min-width: 768px) {
	.lists {
		display: flex;
		flex-wrap: wrap;
		column-gap: 20px;
	}
	
	.lists li {
		flex-basis: calc(100% - 10px);
	}
	
}


/* -------------------------------------------- */



.CoreTechnologyList {
	
}

.CoreTechnologyList__item {
	margin-bottom: 20px;
}

.CoreTechnologyList__ttl {
	display: flex;
	align-items: center;
	font-weight: bold;
}

.CoreTechnologyList__ttl .num {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2em;
	height: 2em;
	padding: 5px;
	box-sizing: border-box;
	line-height: 1;
	border-radius: 45%;
	color: #fff;
	background-color: #e96081;
	margin-right: 10px;
}

.CoreTechnologyList__ttl .lbl {
	
}

.CoreTechnologyList__txt {
	
}

@media only screen and (min-width: 768px) {
	.CoreTechnologyList {
		display: flex;
		justify-content: space-between;
		flex-wrap: wrap;
	}
	
	.CoreTechnologyList__item {
		width: calc(33.333% - 20px);
		margin-bottom: 0;
	}
	
}


/* -------------------------------------------- */

.Keywords {
	
}

.Keywords__item {
	margin-bottom: 30px;
}

.Keywords__ttl_tm {
	display: flex;
	flex-direction: row;
	align-items: center;
	font-weight: bold;
	line-height: 1.5;
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(0,0,0,0.2);
}

.Keywords__ttl_tm img.icon {
	position: relative;
	margin-right: 30px;
	color: var(--color-link);
}

.Keywords__ttl_tm img.icon::before {
	position: absolute;
	left: 13px;
	top: 13px;
	content: "";
	width: 70%;
	height: 70%;
	border-radius: 45%;
	background-color: currentColor;
	opacity: 0.1;
}

.Keywords__ttl_tm .lbl {
	display: block;
}

.Keywords__ttl_tm img.icon  {
	width: 50px;
	height: auto;
	max-width: 100%;
}

.Keywords__txt {
	
}

@media only screen and (min-width: 768px) {
	.Keywords {
		display: flex;
		justify-content: space-between;
		flex-wrap: wrap;
	}
	
	.Keywords__item {
		width: calc(50% - 20px);
	}
	
	.Keywords__ttl_tm img.icon {
		width: 70px;
	height: auto;
	}
}

@media only screen and (min-width: 1600px) {
	.Keywords__item {
		width: calc(33.333% - 20px);
	}
}


/* -------------------------------------------- */

.exercise {
	
}

.exercise li {
	flex-basis: auto;
}

@media only screen and (min-width: 768px) {
	.exercise {
		display: flex;
		flex-wrap: wrap;
	}
	.exercise li {
		flex-basis: auto;
	}
}


/* -------------------------------------------- */

.efforts {
	font-size: 90%;
}

.efforts__item {
	margin-bottom: 30px;
	padding: 30px 0 0 20px;
	border-top: 1px solid rgba(0,0,0,0.2);
	border-left: 1px solid rgba(0,0,0,0.2);
	box-sizing: border-box;
}

.efforts__item > * {
	margin-bottom: 20px;
}

.efforts__ttl {
	margin-bottom: 10px;
	color: inherit;
	font-size: 120%;
	min-height: 2.5em;

}

.efforts__imgs {
	
}

.efforts__img {
	margin-bottom: 10px;
}

.efforts__img img {
	display: block;
	width: 100%;
	border-radius: 5px;
}

@media only screen and (min-width: 768px) {
	.efforts {
		display: flex;
		justify-content: space-between;
		flex-wrap: wrap;
	}
	
	.efforts__item {
		width: calc(33.333% - 20px);
		
	}
}

@media only screen and (min-width: 1280px) {
	.efforts__item {
		width: calc(33.333% - 30px);
	}
}

@media only screen and (min-width: 1440px) {
	.efforts__item {
		padding: 40px 0 20px 40px;
	}
}


/* -------------------------------------------- */

.voices {
	color: var(--color-link);
}

.voices__item {
	position: relative;
	width: 100%;
	margin: 0 0 15px;
	padding: 20px 0 0 20px;
	box-sizing: border-box;
	border-radius: 20px;
	font-weight: bold;
	line-height: 1.6;
}


.voices__item::before {
	position: absolute;
	left: 0;
	top: 5px;
	width: 20px;
	height: 50%;
	border: 3px solid currentColor;
	border-bottom: none;
	border-right: none;
	opacity: 0.1;
	content: "";
}

@media screen and (min-width: 768px) {
	.voices__item {
		
	}
}

@media screen and (min-width: 1280px) {
	.voices {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}
	
	.voices::before,
	.voices::after {
		display: block;
		width: calc(33.333% - 20px);
		content: "";
		order: 2;
	}
	
	.voices__item {
		width: calc(33.333% - 20px);
	}
}



/* -------------------------------------------- */

.cites {
	font-style: italic;
	font-size: 85%;
}

.cites p {
	font-size: inherit;
}


/* =======================================
// クチタベの取り組み：画像リスト (.flower-list) スタイル
// ======================================= */

/* スマートフォン表示 (デフォルト: 縦1列) */
#lower-contents #main-contents .flower-list li {
	margin-bottom: 20px; /* 各項目の下マージン */
}

#lower-contents #main-contents .flower-list li:last-of-type {
	margin-bottom: 0;
}

#lower-contents #main-contents .flower-list li figure {
	overflow: hidden;
	border-radius: 5px; /* 画像の角丸 */
	margin-bottom: 10px;
}

/* --- タブレット・PC表示 (768px以上): 2列レイアウト --- */
@media screen and (min-width: 768px) {
	#lower-contents #main-contents .flower-list {
		display: flex;
		justify-content: space-between;
		flex-wrap: wrap;
        /* liタグにfloatやdisplay: inline-blockが適用されている場合はflexで上書き */
        margin: 0; /* ulのリセット */
        padding: 0; /* ulのリセット */
        list-style: none; /* リストマークを消す */
	}
	
	#lower-contents #main-contents .flower-list li {
		width: calc(50% - 10px); /* 2列 + 20pxのスペース */
        margin-bottom: 20px; /* 複数行になった時の行間 */
	}
    /* 最後の要素へのマージンリセットは不要（flexの場合） */
}

/* --- PC表示 (1280px以上): スペースの調整 --- */
@media screen and (min-width: 1280px) {
	#lower-contents #main-contents .flower-list li {
		width: calc(50% - 15px); /* 2列 + 30pxのスペースに調整 */
	}
}

/* =======================================
// クチタベの取り組み：画像リスト (.flower-list) スタイル
// ======================================= */

/* クチタベの取り組み：スマートフォン時のマージン調整 */
/* 767px以下 (スマートフォン表示) の場合の li の下マージンを調整 */
@media screen and (max-width: 767px) {
    /* flower-list内の各項目 li の下部に20pxのマージンを適用 */
    #lower-contents #main-contents .flower-list li {
        margin-bottom: 20px !important; 
    }
    
    /* flower-list内の最後の li の下マージンをリセット */
    #lower-contents #main-contents .flower-list li:last-of-type {
        margin-bottom: 0 !important;
    }
    
    /* 複数の div.outline が続くため、ul のマージンも調整 */
    .outline .flower-list {
        margin-bottom: 0; 
    }
}

/* --- タブレット・PC表示 (768px以上): 2列レイアウト --- */
@media screen and (min-width: 768px) {
	#lower-contents #main-contents .flower-list {
		display: flex;
		justify-content: space-between;
		flex-wrap: wrap;
        /* liタグにfloatやdisplay: inline-blockが適用されている場合はflexで上書き */
        margin: 0; /* ulのリセット */
        padding: 0; /* ulのリセット */
        list-style: none; /* リストマークを消す */
	}
	
	#lower-contents #main-contents .flower-list li {
		width: calc(50% - 10px); /* 2列 + 20pxのスペース */
        margin-bottom: 20px; /* 複数行になった時の行間 */
	}
    /* 最後の要素へのマージンリセットは不要（flexの場合） */
}

/* --- PC表示 (1280px以上): スペースの調整 --- */
@media screen and (min-width: 1280px) {
	#lower-contents #main-contents .flower-list li {
		width: calc(50% - 15px); /* 2列 + 30pxのスペースに調整 */
	}
}

/* =======================================
// food-list: 3列レイアウト (flower-listの構造を参考に)
// ======================================= */

/* スマートフォン表示 (767px以下): 縦1列 */
#lower-contents #main-contents .food-list li {
    /* 既存のflower-listのマージン設定と同じにするか、必要ならここで調整 */
    margin-bottom: 20px;
    width: 100%; /* SPでは確実に1列 */
}

/* --- タブレット・PC表示 (768px以上): 3列レイアウト --- */
@media screen and (min-width: 768px) {
    
    #lower-contents #main-contents .food-list {
        /* Flexboxを有効にして横並びにする */
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        margin: 0;
        padding: 0;
        list-style: none;
    }
    
    /* 各アイテム (li) の幅を3分割に設定 */
    #lower-contents #main-contents .food-list li {
        /* 1/3の幅から、アイテム間のスペース10px x 2/3 を引く */
        /* (100% / 3) - (20px / 3) = 約33.33% - 6.66px */
		width: calc(33.33% - 13.33px); /* 3列分の幅に設定 */
        margin-bottom: 20px; /* 行間のマージン */
	}
    
    /* 最後の行のアイテム数が3つに満たない場合の調整 (不要な場合は省略可) */
    /* 3列レイアウトの場合、:after疑似要素でダミーを作成し、最後のアイテムが左寄せになるのを防ぐ */
    #lower-contents #main-contents .food-list:after {
		content: '';
		display: block;
		/* liと同じ幅を設定してスペースを確保 */
		width: calc(33.33% - 13.33px); 
	}
}

/* --- PC表示 (1280px以上): スペースの調整 --- */
@media screen and (min-width: 1280px) {
    /* アイテム間のスペースを広げるための幅調整 (例: スペースを30pxに) */
	#lower-contents #main-contents .food-list li {
		width: calc(33.33% - 20px); /* 1/3の幅から、アイテム間のスペース20px x 2/3 を引く */
		margin-bottom: 30px;
	}
    
    #lower-contents #main-contents .food-list:after {
		content: '';
		display: block;
		width: calc(33.33% - 20px);
	}
}
/* =======================================
// food-list: キャプション下のマージン調整
// ======================================= */

/* food-list内のキャプション <p> の下にマージンを適用 */
#lower-contents #main-contents .food-list li p {
    margin-bottom: 15px; /* ここで調整したいマージンサイズを設定 (例: 15px) */
}

/* 最後の行のアイテムにはマージンは不要なためリセット */
/* liの最後の要素にあるpタグのマージンをリセット */
#lower-contents #main-contents .food-list li:last-child p {
    margin-bottom: 0;
}





/* =======================================
// 嚥下評価入院 (mlit/ デザインの強制適用)
// **セレクタを .dl-detail-list に限定**
// ======================================= */

/* 1. 定義リスト全体のフォントサイズと間隔の調整 */
#main-contents .dl-detail-list { /* 修正 */
	font-size: 1.4rem;
    margin: 0;
    padding: 0;
}

/* 2. 各定義項目のコンテナと区切り線 */
#main-contents .dl-detail-list div { /* 修正 */
	padding: 20px 0;
	border-bottom: 1px solid rgba(0,0,0,0.2);
}

#main-contents .dl-detail-list div:last-child { /* 修正 */
	border-bottom: none;
}

/* 3. 定義タイトル (<dt>) のスタイル */
#main-contents .dl-detail-list dt { /* 修正 */
	font-weight: bold;
	color: #6581c0;
    margin-bottom: 5px;
}

/* 4. 定義内容 (<dd>) のスタイル */
#main-contents .dl-detail-list dd { /* 修正 */
    margin-left: 0; 
	line-height: 2.0rem;
	text-align: justify;
}

/* 5. PC表示時のレイアウト (1280px以上で横並び) */
@media screen and (min-width: 1280px) {
	/* dtとddを横並びにするFlexbox */
	#main-contents .dl-detail-list div { /* 修正 */
		display: flex;
		justify-content: space-between;
	}

	/* dtの幅を固定し、ddの幅を残り全てにする */
	#main-contents .dl-detail-list dt { /* 修正 */
		width: 200px;
		flex-shrink: 0; 
        margin-bottom: 0;
	}
	
	#main-contents .dl-detail-list dd { /* 修正 */
		width: calc(100% - 220px);
        margin-left: 20px;
	}
}

/* 6. リスト（ul.disc-list）の調整 */
#main-contents .dl-detail-list dd .disc-list { /* 修正 */
    margin-top: 0; 
}

/* =======================================
// テキストと画像の横並びレイアウト (.sbs-content) - 優先度高
// ======================================= */

/* 1. スマートフォン表示 (デフォルト: 縦並び) */
#main-contents .sbs-content {
    /* SPでは縦並びを維持し、上下の間隔を調整 */
    margin-bottom: 30px; 
}

#main-contents .sbs-content figure {
    /* SPでは画像の上マージンを調整 */
    margin-top: 10px;
}

/* 2. PC表示 (768px以上): 横並び (Flexbox) */
@media screen and (min-width: 768px) {
    
    /* 親要素をFlexboxにして横並びを確実に有効化 */
	#main-contents .sbs-content {
		display: flex !important; /* !importantで強制適用を試みる */
		justify-content: space-between;
        margin-bottom: 50px; /* PCでのセクション間マージン */
	}

    /* テキストブロックの幅: 60% */
	#main-contents .sbs-content > div {
		width: calc(60% - 30px); /* 30pxは画像との間のスペース */
        margin-top: 0;
	}

    /* 画像ブロックの幅: 40% */
	#main-contents .sbs-content figure {
		width: 40%;
		margin-top: 0; /* SPでつけたマージンをリセット */
	}
    
    /* 画像が枠いっぱいに広がるように */
    #main-contents .sbs-content figure img {
        display: block;
        width: 100%;
        height: auto;
    }
}

/* =======================================
// クチタベ事例 (.kuchitabe_case_study) - 2列レイアウト
// ======================================= */

/* 1. 親要素のスタイル (SP: 縦並び) */
.kuchitabe_case_study-outer {
	display: flex; /* Flexboxを有効 (SPでは縦並び) */
	flex-direction: column; 
	flex-wrap: wrap;
	gap: 30px; /* アイテム間のマージン */
}

/* 2. 子要素のデザイン (共通) */
.kuchitabe_case_study {
	position: relative;
	margin: 0;
	padding-top: 30px;
	padding-left: 20px;
	box-sizing: border-box;
	border-top: 1px solid rgba(0,0,0,0.25);
	border-left: 1px solid rgba(0,0,0,0.25);
	font-feature-settings: "palt";
}

.kuchitabe_case_study__header {
	display: flex;
	gap: 20px;
	margin-bottom: 20px;
}

.kuchitabe_case_study__header-inner > * {
	margin: 0;
}

.kuchitabe_case_study__header img {
	display: block;
	width: 40px;
	height: auto;
}

.kuchitabe_case_study__header-read {
	font-weight: bold;
}

.kuchitabe_case_study__header-title {
	color: currentColor;
	font-size: 2rem;
}

.kuchitabe_case_study__aside {
	margin: 20px 0;
	padding: 20px;
	box-sizing: border-box;
	border-radius: 5px;
	background-color: #F7F5F2;
}

.aside__header {
	margin-bottom: 5px;
}

.aside__header-title {
	font-weight: bold;
}

.aside__body p {
	font-size: 90%;
}

/* 3. PC表示 (768px以上): 2列横並び */
@media only screen and (min-width: 768px) {
	.kuchitabe_case_study-outer {
		flex-direction: row; /* 横並びに変更 */
		gap: 40px; /* アイテム間のマージンを広げる */
	}

	.kuchitabe_case_study {
		width: calc(50% - 20px); /* 親要素の幅(100%)からギャップ(40px)の半分を引いたものを2分割 */
		padding: 40px 0 20px 40px;
		
