/*
Theme Name: Matsushita Clinic
Theme URI: https://matsushita-clinic.jp
Description: 松下医院様 オリジナルテーマ
Version: 1.0 / 2026.03.24~
Author: デザイン事務所 Chiffote
Author URI: https://chiffote.jp/
*/


body {
	font-family: "Zen Maru Gothic","ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", "Meiryo", Osaka, "ＭＳ Ｐゴシック", "MS PGothic";
	color:#222;
	font-size:18px;
	line-height:2;
	letter-spacing:0.03em;
	text-align:justify;
  	font-weight: 500;
  	font-style: normal;
}
a {
	color: #222;
	text-decoration: none;
	transition: 0.3s ease-out;
}
a:hover {
	color:#005492;
}

::selection{background-color:#9bd5f4; color: #FFF;}
::-moz-selection{background-color:#9bd5f4; color: #FFF;}

body , header , footer{
	min-width:1280px;
	max-width: 1920px;
	margin: auto;
}
@media screen and (max-width:640px) {
	body{font-size: 16px; letter-spacing:0.02em;}
	body,header,footer{min-width: 400px;}
}



/*============================================================================

	モーション　＊　wowオリジナル　fadeInUpMin

============================================================================*/
.fadeInUpMin {
    animation-name: fadeInUpMin;
}
@keyframes fadeInUpMin {
    from { opacity: 0; transform: translate3d(0, 10%, 0);}
    to { opacity: 1; transform: none;}
}



#loftloader-wrapper {
	min-width: 400px !important;
}
#loftloader-wrapper .loader-section.section-fade {
	min-width: 400px !important;
}




/*============================================================================

	#mainvisual　＊　下層のMV

============================================================================*/
#mainvisual {
	position: relative;
	top: 170px;
	width: calc( 100% - 20px );
	height: 350px;
	background: url(images/mv.jpg) center no-repeat;
	background-size: cover;
	border-radius: 10px;
	margin: 0 auto 170px;
	display: flex;
	justify-content: center;
	align-items: center;
}
@media screen and (max-width:640px) {
	#mainvisual {
		top: 80px;
		height: 200px;
		margin: 0 auto 80px;
	}
}



#mainvisual .inner {
	position: absolute;
	min-width: 500px;
	bottom: -1px;
	text-align: center;
	background: #FFF;
	border-radius: 25px 25px 0 0;
	line-height: 1;
	padding: 40px 40px 20px;
}
#mainvisual .inner::before , #mainvisual .inner::after {
	position: absolute;
	content: "";
	background: url("images/bg_03.png");
	background-size: 31px 31px;
	width: 31px; height: 31px;
	bottom: 0;
}
#mainvisual .inner::before {
	left: -30px;
}
#mainvisual .inner::after {
	right: -30px;
	transform: scaleX(-1);
}
@media screen and (max-width:640px) {
	#mainvisual .inner {
		min-width: 300px;
		border-radius: 15px 15px 0 0;
		padding: 20px 0 10px;
	}
	#mainvisual .inner::before , #mainvisual .inner::after {
		background-size: 16px 16px;
		width: 16px; height: 16px;
	}
	#mainvisual .inner::before {
		left: -15px;
	}
	#mainvisual .inner::after {
		right: -15px;
		transform: scaleX(-1);
	}
}


#mainvisual h2 {
	font-size: 36px;
	font-weight: 500;
	letter-spacing: 0.1em;
}
#mainvisual p {
	margin-top: 20px;
	font-size: 15px;
	letter-spacing: 0.25em;
	color: #008cd6;
	font-family: "Quicksand", sans-serif;
  	font-optical-sizing: auto;
}
#mainvisual p::before , #mainvisual p::after {
	margin: 0 10px;
	content: "-";
	color: #fec601;
}
@media screen and (max-width: 640px) {
	#mainvisual h2 { font-size: 24px; }
	#mainvisual p {
		margin-top: 13px;
		font-size: 12px;
	}
}


/*------------------------------ ページごとにMV変更 ------------------------------
.page-template-blog #mainvisual {background: url(images/MV_01.jpg) center top no-repeat;}
.page-template-products #mainvisual {background: url(images/MV_02.jpg) center top no-repeat;}
.page-id-94 #mainvisual {background: url(images/MV_03.jpg) center top no-repeat;}
.page-id-169 #mainvisual {background: url(images/MV_04.jpg) center top no-repeat;}
.single #mainvisual {background: url(images/MV_01.jpg) center top no-repeat;}






/*==================================================================

	ぱんくず

==================================================================*/





/*==================================================================

	main

==================================================================
main {
	margin-top: 10px;
	background: #f7f4f0;
}
main #wrapper {
	width: 1200px;
	margin: auto;
	padding: 60px 0 80px;
}
main #wrapper section {
	position:relative;
	width: 1200px;
	margin: 0 auto 80px;
	padding: 60px;
	box-sizing: border-box;
	background: #FFF;
	box-shadow: 0 0 8px rgba(0,0,0,.2);
}
main #wrapper section:last-child {
	margin-bottom: 0;
}








/*==================================================================

	 タイトル

==================================================================*/
h3 {
	font-weight: 500;
	line-height: 1;
}
h3 span {
	position: relative;
	display: block;
	margin-bottom: 23px;
	padding-left: 25px;
	color: #0092d6;
	font-size: 16px;
	letter-spacing: 0.1em;
}
h3 em {
	display: block;
	font-size: 32px;
	letter-spacing: 0.1em;
}
h3 span::before {
	position: absolute;
	content: "";
	left: 5px;
	top: 6px;
	width: 5px;
	height: 5px;
	background: #008cd6;
	border-radius: 100px;
}
@media screen and (max-width: 640px) {
	h3 span {
		margin-bottom: 18px;
		padding-left: 20px;
		font-size: 14px;
	}
	h3 em {
		font-size: 24px;
	}
}




/*==================================================================

	table

==================================================================*/




/*==================================================================

	text

==================================================================*/
.text {
	position:relative;
	margin-bottom:50px;
}
.text p {
	line-height: 2.2;
	letter-spacing: 0.8px;
	margin-bottom:1em;
}
.text:last-child{
	margin-bottom:0;
}
@media screen and (max-width: 640px) {
	.text p {
		line-height: 2;
		letter-spacing: 0.5px;
	}
}





/*==================================================================

	list

==================================================================*/

/*------------------------------ 左にベージュの●のシンプルリスト ------------------------------*/





/*==================================================================

	btn

==================================================================*/
.btn a {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 240px;
	height: 55px;
	box-sizing: border-box;
	padding-bottom: 3px;
	background: #008cd6;
	border-radius: 30px;
	color: #fff;
	transition: all 0.3s ease-out;
}
.btn a:hover {
	background: #005492;
}
.btn a::after {
	position: absolute;
	content: '';
	right: 30px;
	top: 50%;
	transform: translateY(-50%);
	width: 8px;
	height: 8px;
	box-sizing: border-box;
	background: #FFF;
	border-radius: 50%;
	transition: all 0.3s ease-out;
}
.btn a:hover::after {
	background: transparent;
	border: 2px solid #feb401;
	width: 12px;
	height: 12px;
	right: 28px;
}
@media screen and (max-width: 640px) {
	.btn a {
		width: 80%;
		height: 50px;
		margin: auto;
	}
}





/*==================================================================

	下層ページ　＊　目次

==================================================================*/
#toc {
	width: 90%;
	max-width: 1300px;
	margin: 230px auto 100px;
}
#toc ul {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px 25px;
}
#toc ul li {
	display: flex;
}

#toc ul li a {
	width: 100%;
	display: flex;
	align-items: center; 
	gap: 12px;
	padding: 10px 10px;
	border-bottom: 2px solid #d0e4f0;
	font-size: 15px;
	line-height: 1.4;
	transition: all 0.3s ease-out;
}
#toc ul li a::before {
	content: "";
	width: 10px;
	height: 10px;
	box-sizing: border-box;
	border: 2px solid #fff;
	background: #008cd6;
	border-radius: 50%;
	transition: all 0.3s ease-out;
	flex-shrink: 0;
}
#toc ul li a:hover {
	gap: 16px;
	border-bottom: 2px solid #fec601;
}
#toc ul li a:hover::before {
	background: transparent;
	border: 2px solid #008cd6;
}

@media screen and (max-width: 640px) {
	#toc {
		margin: 110px auto 60px;
	}
	#toc ul {
		grid-template-columns: repeat(2, 1fr);
		gap: 0 15px;
	}
	#toc ul li a {
		font-size: 12px;
		gap: 8px;
		padding: 8px 0;
		border-bottom: 1px solid #d0e4f0;
	}
	#toc ul li a:hover {
		gap: 8px;
		border-bottom: 1px solid #fec601;
		
	}
}







/*==================================================================

	クリニック紹介ページ

==================================================================*/
/*長すぎるのでclinic.cssへ移動*/






/*==================================================================

	アクセスページ

==================================================================*/
#access01 { padding-top: 0; padding-bottom: 80px;}
#access01-2 .btn a {
	width: 80%;
	max-width: 600px;
	margin: auto;
	height: 70px;
	border-radius: 50px;
}
@media screen and (max-width: 640px) {
	#access01 { padding-bottom: 60px;}
}


/*------------------------------ 行き方・アクセス手段 ------------------------------*/
#access02 {
	background: #f7f7f7;
	padding: 80px 0 100px;
	margin-top: 80px;
}
#access02 .inner {
	background: #f7f7f7;
	width: 90%;
	max-width: 1300px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 30px;
}
#access02 h3 {
	margin-bottom: 10px;
}
@media screen and (max-width: 640px) {
	#access02 {
		padding: 60px 0;
		margin-top: 70px;
	}
	#access02 .inner {
		gap: 15px;
	}
	#access02 h3 {
		margin-bottom: 30px;
	}
}


.access02_block {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	align-items: start;
}
.access02_block dl {
	background: #fff;
	padding: 30px;
	height: 320px;
	box-sizing: border-box;
	border-radius: 5px;
}
.access02_block dt {
	font-size: 21px;
	font-weight: 500;
	border-left: 3px solid #fec601;
	padding-left: 20px;
	margin-left: 1px;
	margin-bottom: 20px;
}
.access02_block dd ul {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.access02_block dd ul li {
	position: relative;
	padding-left: 20px;
	padding-bottom: 10px;
	font-size: 17px;
	line-height: 1.8;
	border-bottom: 1px solid #e0eef6;
}
.access02_block dd ul li::before {
	position: absolute;
	content: "";
	left: 0;
	top: 10px;
	width: 6px;
	height: 6px;
	background: #008cd6;
	border-radius: 50%;
}
.access02_block figure {
	width: 100%;
	height: 100%;
}
.access02_block figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 5px;
}
@media screen and (max-width: 640px) {
	.access02_block {
		grid-template-columns: 1fr;
		gap: 15px;
	}
	.access02_block dl {
		height: auto;
		padding: 20px;
	}
	.access02_block dt {
		font-size: 18px;
		margin-bottom: 15px;
	}
	.access02_block dd ul li {
		font-size: 16px;
		padding-bottom: 8px;
	}
	.access02_block dd ul li::before {
		top: 11px;
	}
	.access02_block figure img {
		height: auto;
	}
}




/*==================================================================

	初診の方へページ

==================================================================*/

/*------------------------------ 初診の方へ ＊　内視鏡検査（胃カメラ・大腸カメラ）をご希望の方 ------------------------------*/
#visit01 , #visit04 {
	margin-bottom: 100px;
}
#visit01 .inner , #visit04 .inner {
	width: 90%;
	max-width: 1300px;
	margin: 0 auto;
	display: flex;
	align-items: stretch;
	gap: 80px;
}
#visit01 .left , #visit04 .left {
	flex: 4.5;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 40px;
}
#visit01 figure , #visit04 figure {
	flex: 4.5;
	min-width: 0;
}
#visit01 figure img , #visit04 figure img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 10px;
}
@media screen and (max-width: 640px) {
	#visit01 , #visit04 {
		margin-bottom: 60px;
	}
	#visit01 .inner , #visit04 .inner {
		flex-direction: column;
		gap: 30px;
	}
	#visit01 figure img , #visit04 figure img {
		height: 220px;
	}
}


#visit04 h3 em {
	line-height: 1.6;
}
#visit04 .left {
	gap: 30px;
}
@media screen and (max-width: 640px) {
	#visit04 .inner {
		flex-direction: column-reverse;
	}
}


/*------------------------------ 診療方針　＊　院内環境の取り組み ------------------------------*/
#visit02 , #visit05 {
	margin-bottom: 100px;
	padding: 80px 0 80px;
	background: #f5f9fc;
}
#visit02 .inner , #visit05 .inner {
	width: 90%;
	max-width: 1300px;
	margin: 0 auto;
}
#visit02 h3 {
	margin-bottom: 60px;
}
@media screen and (max-width: 640px) {
	#visit02, #visit05 {
		margin-bottom: 60px;
		padding: 60px 0;
	}
	#visit02 h3 {
		margin-bottom: 35px;
	}
}


.visit02_list , .visit05_list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
}
.visit02_list li , .visit05_list li {
	display: flex;
	flex-direction: column;
}
.visit02_list figure , .visit05_list figure {
	width: 100%;
	height: 260px;
	margin-bottom: 20px;
	overflow: hidden;
	border-radius: 8px;
}
.visit02_list figure img , .visit05_list figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.visit02_list dt , .visit05_list dt {
	margin-bottom: 15px;
    padding-bottom: 10px;
    font-size: 22px;
    font-weight: 500;
    color: #0d6fb8;
    text-decoration: underline;
    text-underline-offset: 15px;
    text-decoration-thickness: 2px;
    text-decoration-color: #fec601;
}
.visit02_list dd , .visit05_list dd {
	font-size: 17px;
}
@media screen and (max-width: 640px) {
	.visit02_list {
		grid-template-columns: 1fr;
		gap: 30px;
	}
	.visit02_list figure , .visit05_list figure {
		height: 200px;
	}
	.visit02_list dt , .visit05_list dt {
		font-size: 18px;
		text-underline-offset: 10px;
		margin-bottom: 2px;
	}
	.visit02_list dd , .visit05_list dd {
		font-size: 15px;
		line-height: 1.8;
	}
}


#visit05 h3 {
	margin-bottom: 30px;
}
.visit05_note {
	margin-bottom: 50px;
}
.visit05_list {
	grid-template-columns: repeat(2, 1fr);
}
@media screen and (max-width: 640px) {
	#visit05 h3 {
		margin-bottom: 20px;
	}
	.visit05_note {
		margin-bottom: 30px;
	}
	.visit05_list {
		grid-template-columns: 1fr;
		gap: 30px;
	}
}



/*------------------------------ 予約について ------------------------------*/
#visit03 {
	margin-bottom: 120px;
}
#visit03 .inner {
	width: 90%;
	max-width: 1300px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 25px;
}
.visit03_lead {
	margin-bottom: 20px;
}
@media screen and (max-width: 640px) {
	#visit03 {
		margin-bottom: 60px;
	}
	#visit03 .inner {
		gap: 15px;
	}
	.visit03_lead {
		margin-bottom: 10px;
	}
}


.visit03_list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 25px;
}
.visit03_list li {
	text-align: center;
	padding: 40px 25px;
	border: 2px solid #d0e4f0;
	border-radius: 10px;
	background: #f5f9fc;
}
.visit03_list dt {
	font-size: 22px;
	color: #0d6fb8;
	margin-bottom: 25px;
    text-decoration: underline;
    text-underline-offset: 13px;
    text-decoration-thickness: 2px;
    text-decoration-color: #fec601;
}
.visit03_list dd a {
	display: flex;
	align-items: center;
	text-align: center;
	justify-content: center;
	gap: 10px;
	line-height: 1;
	border-radius: 40px;
	height: 70px;
	width: 100%;
	box-sizing: border-box;
}
@media screen and (max-width: 640px) {
	.visit03_list {
		grid-template-columns: 1fr;
		gap: 15px;
	}
	.visit03_list li {
		padding: 25px 15px;
		display: flex;
		align-items: center;
		gap: 20px;
	}
	.visit03_list dl {
		flex: 1;
	}
	.visit03_list dt {
		font-size: 20px;
		margin-bottom: 15px;
		text-underline-offset: 8px;
	}
	.visit03_list dd a {
		height: 55px;
	}
}


/* 電話 */
.visit03_list li:nth-of-type(1) dd a {
	font-family: "Quicksand", sans-serif;
	font-size: 30px;
	border: 2px solid #9bd5f4;
	background: #fff;
	color: #0d6fb8;
}
.visit03_list li:nth-of-type(1) dd a:hover {
	background: #0d6fb8;
	color: #FFF;
}

/* WEB予約 */
.visit03_list li:nth-of-type(2) dd a {
	border: 2px solid #0d6fb8;
	background: #0d6fb8;
	color: #FFF;
}
.visit03_list li:nth-of-type(2) dd a:hover {
	border: 2px solid #fec601;
    background: #005492;
}

/* LINE */
.visit03_list li:nth-of-type(3) dd a {
	border: 2px solid #06c755;
	background: #fff;
	color: #222;
}
.visit03_list li:nth-of-type(3) dd a:hover {
	background: #06c755;
	color: #FFF;
}
@media screen and (max-width: 640px) {
	.visit03_list li:nth-of-type(1) dd a {/* 電話 */
		font-size: 22px;
	}
	.visit03_list li:nth-of-type(1) dd a img { width: 20px;}/* 電話 */
	.visit03_list li:nth-of-type(2) dd a img { width: 30px;}/* WEB予約 */
	.visit03_list li:nth-of-type(3) dd a img { width: 30px;}/* LINE */
}


/* 予約なし */
.visit03_list:last-of-type {
	display: block;
}
@media screen and (max-width: 640px) {
	.visit03_list:last-of-type dd {
		font-size: 15px;
		line-height: 1.8;
		text-align-last: left;
	}

}




/*------------------------------ よくある質問 ------------------------------*/
#visit06 {
}



/*------------------------------ 施設基準について ------------------------------*/
#visit07 {
	margin-bottom: 100px;
}
#visit07 .inner {
	width: 90%;
	max-width: 1300px;
	margin: 0 auto;
}
#visit07 h3 {
	margin-bottom: 30px;
}
.visit07_lead {
	margin-bottom: 40px;
	line-height: 2;
}
.visit07_note {
	font-size: 15px;
	color: #888;
}
.visit07_list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 25px;
}
.visit07_list h4 {
	font-size: 20px;
	color: #fff;
	background: #0d6fb8;
	padding: 14px 20px;
	line-height: 1.5;
	border-radius: 5px;
	margin-bottom: 10px;
}
.visit07_items {
	display: flex;
	flex-direction: column;
	padding: 20px 25px;
	gap: 10px;
	background: #f7f7f7;
	border-radius: 5px;
	height: 185px;
}
.visit07_items li {
	position: relative;
	padding-left: 16px;
	font-size: 15px;
	line-height: 1.8;
}
.visit07_items li::before {
	position: absolute;
	content: "";
	left: 0;
	top: 11px;
	width: 6px;
	height: 6px;
	background: #008cd6;
	border-radius: 50%;
}
@media screen and (max-width: 640px) {
	#visit07 {
		margin-bottom: 60px;
	}
	#visit07 h3 {
		margin-bottom: 20px;
	}
	#visit07 h3 em {
		font-size: 23px;
	}
	.visit07_lead {
		margin-bottom: 30px;
	}
	.visit07_list {
		grid-template-columns: 1fr;
		gap: 25px;
	}
	.visit07_list h4 {
		font-size: 18px;
		padding: 12px 18px;
	}
	.visit07_items {
		height: auto;
		padding: 15px 20px 18px;
	}
}






/*==================================================================

	診療案内・共通　＊　01　＊　左に文字・右に写真

==================================================================*/
.medical01 .inner {
	width: 90%;
	max-width: 1300px;
	margin: 0 auto 100px;
}
.medical01 h3 {
	margin-bottom: 50px;
}
.medical01_body {
	display: flex;
	align-items: flex-start;
	gap: 60px;
}
.medical01 .text {
	flex: 5;
	min-width: 0;	
	margin-bottom: 0;
}
.medical01 figure {
	flex: 4;
	min-width: 0;
}
.medical01 figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 10px;
}
@media screen and (max-width: 640px) {
	.medical01 .inner {
		margin-bottom: 60px;
	}
	.medical01_body {
		flex-direction: column-reverse;
		gap: 25px;
	}
	.medical01 figure {
		width: 100%;
	}
	.medical01 figure img {
		height: 220px;
	}
}



/*------------------------------ gastroenterology01 ------------------------------*/
#gastroenterology01.medical01 .text p:nth-of-type(1) {
	font-size: 22px;
	line-height: 1.6;
	color: #0d6fb8;
}
@media screen and (max-width: 640px) {
	#gastroenterology01.medical01 h3 {
		margin-bottom: 30px;
	}
	#gastroenterology01.medical01 h3 em {
		font-size: 23px;
		letter-spacing: 1px;
	}
	#gastroenterology01.medical01 .text p:nth-of-type(1) {
		font-size: 20px;
	}
}


/*------------------------------ medicine01 ------------------------------*/

/*------------------------------ gastroscopy01 ------------------------------*/
@media screen and (max-width: 640px) {
	#gastroscopy01.medical01 h3 {
		margin-bottom: 30px;
	}
	#gastroscopy01.medical01 h3 em {
		font-size: 23px;
		letter-spacing: 1px;
        line-height: 1.8;
	}
}

/*------------------------------ gastroscopy10 ------------------------------*/
@media screen and (max-width: 640px) {
	#gastroscopy10.medical01 h3 {
		margin-bottom: 30px;
	}
	#gastroscopy10.medical01 h3 em {
        line-height: 1.8;
	}
}

/*------------------------------ gastroscopy01 ------------------------------*/
@media screen and (max-width: 640px) {
	#colonoscopy01.medical01 h3 {
		margin-bottom: 30px;
	}
	#colonoscopy01.medical01 h3 em {
		font-size: 23px;
		letter-spacing: 1px;
        line-height: 1.8;
	}
}

/*------------------------------ gastroscopy10 ------------------------------*/
@media screen and (max-width: 640px) {
	#colonoscopy10.medical01 h3 {
		margin-bottom: 30px;
	}
	#colonoscopy10.medical01 h3 em {
        line-height: 1.8;
	}
}




/*==================================================================

	診療案内・共通　＊　02　＊　上に症状・下に３列（原因〜お悩み〜診断）

==================================================================*/
.medical02 .inner {
	width: 90%;
	max-width: 1300px;
	margin: 0 auto 80px;
}
.medical02 h3 {
	margin-bottom: 30px;
}
.medical02 .note {
	margin-bottom: 50px;
}
@media screen and (max-width: 640px) {
	.medical02 .inner {
		margin-bottom: 50px;
	}
	.medical02 .note {
		margin-bottom: 35px;
	}
}



/*------------------------------ 上・h4と写真 ------------------------------*/
.medical02_head {
	display: flex;
	align-items: stretch;
	margin-bottom: 20px;
	background: #eaf4f9;
	border-radius: 10px;
	overflow: hidden;
}
.medical02_head .left {
	flex: 4.5;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 15px;
	box-sizing: border-box;
	padding: 40px 30px;
	text-align: center;
}
.medical02_head h4 {
	margin-bottom: 30px;
	font-size: 25px;
	font-weight: 500;
	line-height: 1.5;
  	text-decoration: underline;
  	text-underline-offset: 20px;
  	text-decoration-thickness: 3px;
  	text-decoration-color: #008cd6;
}
.medical02_head ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 15px;
}
.medical02_head ul li {
	position: relative;
	padding-left: 14px;
	font-size: 16px;
	line-height: 1.6;
	background: #FFF;
	padding: 2px 20px 2px 40px;
	border-radius: 30px;
}
.medical02_head ul li::before {
	position: absolute;
	content: "";
	left: 25px;
	top: 8px;
	width: 4px;
	height: 8px;
	border-right: 2px solid #008cd6;
	border-bottom: 2px solid #008cd6;
	transform: rotate(45deg);
}
.medical02_head figure {
	flex: 4;
	min-width: 0;
	height: 340px;
}
.medical02_head figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
@media screen and (max-width: 640px) {
	.medical02_head {
		flex-direction: column-reverse;
	}
	.medical02_head .left {
		padding: 25px 20px;
		gap: 10px;
	}
	.medical02_head h4 {
		font-size: 18px;
		margin-bottom: 20px;
		text-underline-offset: 12px;
	}
	.medical02_head ul {
		gap: 8px 8px;
	}
	.medical02_head ul li {
		padding: 1px 15px 1px 25px;
		font-size: 14px;
	}
	.medical02_head figure {
		height: auto;
	}
	.medical02_head figure img {
		height: 200px;
	}
	.medical02_head ul li::before {
		left: 13px;
		top: 7px;
		width: 3px;
		height: 6px;
	}
}



/*------------------------------ 下・３列（原因〜お悩み〜診断） ------------------------------*/
.medical02_body {
	display: flex;
	gap: 20px;
}
.medical02_body dl {
	flex: 1;
	min-width: 0;
	background: #f7f7f7;
	box-sizing: border-box;
	padding: 30px;
	border-radius: 10px;
	font-size: 17px;
}
.medical02_body dl dt {
	font-size: 20px;
	padding-bottom: 5px;
	margin-bottom: 15px;
	border-bottom: 2px solid #008cd6;
}
.medical02_body ul {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding-left: 6px;
}
.medical02_body ul li {
	position: relative;
	width: 49%;
	box-sizing: border-box;
	padding-left: 14px;
	line-height: 1.8;
}
.medical02_body ul li::before {
	position: absolute;
	content: "";
	left: 0;
	top: 13px;
	width: 5px;
	height: 5px;
	background: #008cd6;
	border-radius: 50%;
}
.gastro02_link a {
	display: block;
	margin-top: 10px;
	color: #0d6fb8;
	text-decoration: underline;
	text-underline-offset: 8px;
}
.gastro02_link a:hover {
	color: #41a9e0;
	text-decoration-color: #fec601;
}
@media screen and (max-width: 640px) {
	.medical02_body {
		flex-direction: column;
		gap: 15px;
	}
	.medical02_body dl {
		font-size: 15px;
		padding: 10px 20px 20px;
	}
	.medical02_body dl dt {
		font-size: 17px;
		padding-bottom: 3px;
		margin-bottom: 8px;
	}
	.medical02_body ul {
		gap: 3px;
	}
}


/*------------------------------ gastroenterology02 ------------------------------*/
#gastroenterology02.medical02 .medical02_body dl:nth-of-type(1) ul li:nth-of-type(odd) { /*原因・リスト左側*/
	width: 40%;
}
#gastroenterology02.medical02 .medical02_body dl:nth-of-type(1) ul li:nth-of-type(even) { /*原因・リスト右側*/
	width: 58%;
}
#gastroenterology02.medical02 .medical02_body dl:nth-of-type(1) ul li:nth-of-type(7) { /*原因・リスト最後*/
	width: 100%;
}
#gastroenterology02.medical02 .medical02_body dl:nth-of-type(2) ul li:nth-of-type(odd) { /*こんな症状は要注意・リスト左側*/
	width: 47%;
}
#gastroenterology02.medical02 .medical02_body dl:nth-of-type(2) ul li:nth-of-type(even) { /*こんな症状は要注意・リスト右側*/
	width: 51%;
}
#gastroenterology02.medical02 .medical02_body dl:nth-of-type(2) ul li:nth-of-type(n+5) { /*こんな症状は要注意・リスト5こ目以降*/
	width: 100%;
}
@media screen and (max-width: 640px) {
	#gastroenterology02.medical02 h3 em {
		font-size: 23px;
		letter-spacing: 1px;
	}
	.medical02_head h4 {
		font-size: 16px;
	}
}


/*------------------------------ gastroenterology03 ------------------------------*/
#gastroenterology03.medical02 .medical02_body dl:nth-of-type(1) ul li { /*原因・リスト全体*/
	width: 100%;
}
#gastroenterology03.medical02 .medical02_body dl:nth-of-type(2) ul li { /*こんな症状は要注意・リスト全体*/
	width: 100%;
}


/*------------------------------ gastroenterology04 ------------------------------*/
#gastroenterology04.medical02 .medical02_body dl:nth-of-type(2) ul li { /*こんな症状は要注意・リスト全体*/
	width: 100%;
}


/*------------------------------ gastroenterology05 ------------------------------*/
#gastroenterology05.medical02 .medical02_body dl:nth-of-type(2) ul li { /*こんな症状は要注意・リスト全体*/
	width: 100%;
}


/*------------------------------ gastroenterology06 ------------------------------*/
#gastroenterology06.medical02 .medical02_body dl:nth-of-type(2) ul li { /*こんな症状は要注意・リスト全体*/
	width: 100%;
}


/*------------------------------ medicine ------------------------------*/
#medicine02.medical02 h3 {
	margin-bottom: 50px;
}
.page-id-13 .medical02 .medical02_body dl:nth-of-type(2) ul li { /*こんなお悩みありませんか・リスト全体*/
	width: 100%;
}


#medicine07.medical02 .medical02_body {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 25px;
}
@media screen and (max-width: 640px) {
	#medicine07.medical02 .medical02_body {
		grid-template-columns: repeat(1, 1fr);
		gap: 15px;
	}
}


/*------------------------------ pediatrics ------------------------------*/
#pediatrics02.medical02 h3 {
	margin-bottom: 50px;
}
.page-id-15 .medical02 .medical02_body dl:nth-of-type(2) ul li { /*こんなお悩みありませんか・リスト全体*/
	width: 100%;
}




/*==================================================================

	診療案内・共通　＊　03　＊　横に2つ並び、imgつき

==================================================================*/
.medical03 .inner {
	width: 90%;
	max-width: 1300px;
	margin: 0 auto 80px;
}
.medical03 h3 {
	margin-bottom: 30px;
}
.medical03 .note {
	margin-bottom: 50px;
}
@media screen and (max-width: 640px) {
	.medical03 .inner {
		margin-bottom: 60px;
	}
	.medical03 .note {
		margin-bottom: 35px;
	}
}


/*------------------------------ 2×2のグリッド設定 ------------------------------*/
.medical03 ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 50px;
}
.medical03 ul li {
    display: flex;
    flex-direction: column;
}
.medical03 ul li figure {
    width: 100%;
    height: 300px;
}
.medical03 ul li figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}
.medical03 ul li dl {
    padding: 20px 0;
}
.medical03 ul li dl dt {
    position: relative;
    margin-bottom: 15px;
    padding-bottom: 10px;
    font-size: 22px;
	font-weight: 500;
	color: #0d6fb8;
  	text-decoration: underline;
  	text-underline-offset: 15px;
  	text-decoration-thickness: 2px;
  	text-decoration-color: #fec601;
}
@media screen and (max-width: 640px) {
	.medical03 ul {
		grid-template-columns: 1fr;
		gap: 30px;
	}
	.medical03 ul li figure {
		height: 220px;
	}
	.medical03 ul li dl {
		padding: 10px 0;
	}
	.medical03 ul li dl dt {
		font-size: 18px;
		text-underline-offset: 12px;
		margin-bottom: 3px;
	}
}



ul.medical03_check { display: block;}
ul.medical03_check li {
	position: relative;
	display: block;
	padding-left: 30px;
}
ul.medical03_check li::before {
	position: absolute;
	content: "";
	left: 10px;
	top: 14px;
	width: 4px;
	height: 8px;
	border-right: 2px solid #008cd6;
	border-bottom: 2px solid #008cd6;
	transform: rotate(45deg);
}
@media screen and (max-width: 640px) {
	ul.medical03_check li {
		padding-left: 23px;
	}
	ul.medical03_check li::before {
		left: 5px;
		top: 11px;
	}
}



dl.medical03_dl {
	padding: 0 !important;
}
dl.medical03_dl dt {
    font-size: 19px !important;
  	text-decoration: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
dl.medical03_dl dd {
    position: relative;
    margin-bottom: 15px;
	padding-left: 20px;
}
dl.medical03_dl dd::before {
	position: absolute;
	content: "";
	left: 6px;
	top: 16px;
	width: 6px;
	height: 6px;
	background: #008cd6;
	border-radius: 50%;
}
@media screen and (max-width: 640px) {
	dl.medical03_dl dt {
		font-size: 17px !important;
	}
	dl.medical03_dl dd {
		margin-bottom: 10px;
	}
	dl.medical03_dl dd::before {
		top: 14px;
	}
}


/*------------------------------ gastroenterology07 ------------------------------*/
#gastroenterology07.medical03 {
	margin-top: 110px;
}
@media screen and (max-width: 640px) {
	#gastroenterology07.medical03 {
		margin-top: 70px;
	}
}








/*==================================================================

	診療案内・共通　＊　04　＊　流れ

==================================================================*/
.medical04 .inner {
	width: 90%;
	max-width: 1300px;
	margin: 0 auto 110px;
}
.medical04 h3 {
	margin-bottom: 30px;
}
.medical04 .note {
	margin-bottom: 50px;
}
@media screen and (max-width: 640px) {
	.medical04 .inner {
		margin-bottom: 60px;
	}
	.medical04 .note {
		margin-bottom: 35px;
	}
}


.medical04 ul {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 10px;
}
.medical04 ul li {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 2px solid #9bd5f4;
    border-radius: 10px;
    padding: 20px 10px;
}
.medical04 ul li:not(:last-child)::after {
    position: absolute;
    content: "▶";
    right: -12px;
    top: 50%;
    transform: translateY(-50%);
    color: #9bd5f4;
    font-size: 14px;
    z-index: 1;
}
.medical04 ul li .num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #0d6fb8;
    color: #fff;
    border-radius: 50%;
    font-size: 23px;
    font-weight: 500;
    margin-bottom: 15px;
	box-sizing: border-box;
	padding-left: 2px;
	font-family: "Quicksand", sans-serif;
  	font-optical-sizing: auto;
}
.medical04 ul li dt {
	margin-bottom: 15px;
  	text-decoration: underline;
  	text-underline-offset: 10px;
  	text-decoration-thickness: 2px;
  	text-decoration-color: #fec601;
}
.medical04 ul li dd {
    line-height: 1.6;
	font-size: 15px;
}
@media screen and (max-width: 640px) {
	.medical04 ul {
		flex-direction: column;
		gap: 15px;
	}
	.medical04 ul li:not(:last-child)::after {
		content: "▼";
		right: auto;
		top: auto;
		bottom: -17px;
		left: 50%;
		transform: translateX(-50%);
		font-size: 12px;
	}
	.medical04 ul li {
		flex-direction: row;
		align-items: center;
		text-align: left;
		padding: 15px 20px;
		gap: 15px;
	}
	.medical04 ul li .num {
		flex-shrink: 0;
		margin-bottom: 0;
	}
	.medical04 ul li dl {
		flex: 1;
	}
	.medical04 ul li dt {
		margin-bottom: 8px;
		text-underline-offset: 10px;
		font-size: 18px;
	}
}




/*------------------------------ gastroenterology08 ------------------------------*/


/*------------------------------ gastroscopy05 ------------------------------*/
#gastroscopy05.medical04 dd .note {
	font-size: 14px; color: #666; padding-top: 10px; display: block; margin-bottom: 0;}


/*------------------------------ colonoscopy05 ------------------------------*/
#colonoscopy05.medical04 dd .note {
	font-size: 14px; color: #666; padding-top: 10px; display: block; margin-bottom: 0;}







/*==================================================================

	診療案内・共通　＊　05　＊　キャンセルポリシー

==================================================================*/
.medical05 .inner {
	width: 90%;
	max-width: 1300px;
	margin: 0 auto 110px;
}
.medical05 h3 {
	margin-bottom: 50px;
}
.medical05_wrapper {
	padding: 50px 5%;
    background: #f7f7f7;
    border-radius: 10px;
}
.medical05 strong {
    color: #d9534f;
	font-weight: 500;
}
@media screen and (max-width: 640px) {
	.medical05 { background: #f7f7f7;}
	.medical05 .inner {
		padding: 60px 0;
		margin-bottom: 60px;
	}
	.medical05 h3 {
		margin-bottom: 30px;
	}
	.medical05 h3 em {
		line-height: 1.8;
	}
	.medical05_wrapper {
		padding: 0;
		background: none;
	}
	.medical05_wrapper .text {
		margin-bottom: 30px;
	}
}



.cancelpolicy_links {
    text-align: center;
}
.cancelpolicy_links p {
	margin-bottom: 20px;
}
.cancelpolicy_links ul {
    display: flex;
    justify-content: center;
    gap: 20px;
}
.cancelpolicy_links ul .btn a {
	width: 400px;
}
@media screen and (max-width: 640px) {
	.cancelpolicy_links ul {
		flex-direction: column;
		gap: 12px;
	}
	.cancelpolicy_links ul .btn a {
		width: 100%;
		box-sizing: border-box;
	}
}




/*------------------------------ gastroscopy09 ------------------------------*/
#gastroscopy09.medical05 ul {
	margin-bottom: 20px;
}

/*------------------------------ gastroscopy09 ------------------------------*/
#colonoscopy09.medical05 ul {
	margin-bottom: 20px;
}





/*==================================================================

	診療案内・共通　＊　06　＊　関連リンク

==================================================================*/
.medical06 .inner {
	width: 90%;
	max-width: 1300px;
	margin: 0 auto 110px;
}
.medical06 h3 {
	margin-bottom: 50px;
}

@media screen and (max-width: 640px) {
	.medical06 .inner {
		margin-bottom: 80px;
	}
	.medical06 h3 {
		margin-bottom: 30px;
	}
}


.medical06 ul {
    display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 15px 20px;
}
.medical06 li.btn {
    border-bottom: 1px solid #eee;
}
.medical06 li.btn a {
    position: relative;
    display: block;
    color: #222;
	font-size: 16px;
	padding: 0 0 0 20px;
    transition: all 0.3s;
	background: none;
	height: 45px;
}
.medical06 li.btn a::after {
	background: #008cd6;
	right: auto;
	left: 2px;
	top: 16px;
}
@media screen and (max-width: 640px) {
	.medical06 ul {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}
	.medical06 li.btn a {
		width: 100%;
		font-size: 14px;
		height: auto;
		padding: 2px 0 10px 15px;
		letter-spacing: 0;
	}
	.medical06 li.btn a::after {
		width: 5px;
		height: 5px;
	}
}




.medical06 li.btn a:hover {
    padding-left: 25px;
}
.medical06 li.btn a:hover::after {
	background: #fff;
	right: auto;
	left: 0;
	top: 16px;
}
@media screen and (max-width: 640px) {
	.medical06 li.btn a:hover {
		padding-left: 15px;
	}
	.medical06 li.btn a:hover::after {
		right: auto;
		left: 2px;
	}
}






/*==================================================================

	診療案内・共通　＊　07　＊　よくある質問

==================================================================*/
.medical07 .inner {
	width: 90%;
	max-width: 1300px;
	margin: 0 auto 100px;
}
.medical07 h3 {
	margin-bottom: 60px;
}
.medical07 dl {
	border-top: 1px solid #d0e4f0;
	padding: 35px 0;
}
.medical07 dl:last-child {
	border-bottom: 1px solid #d0e4f0;
}
.medical07 dl dt , .medical07 dl dd {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	line-height: 2;
}
.medical07 dl dt {
	color: #0d6fb8;
	margin-bottom: 15px;
	font-size: 19px;
}
.medical07 dl dd {
	font-size: 17px;
}
.medical07 dl span {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 3px;
  	font-family: "Lato", sans-serif;	
	font-size: 22px;
	font-weight: 500;
	flex-shrink: 0;
	color: #fff;
}
.medical07 dl dt span { background: #0092d6; }
.medical07 dl dd span { background: #fec601; }
@media screen and (max-width: 640px) {
	.medical07 {
		margin-bottom: 60px;
	}
	.medical07 h3 {
		margin-bottom: 35px;
	}
	.medical07 dl {
		padding: 25px 0;
	}
	.medical07 dl dt {
		font-size: 17px;
		gap: 12px;
		margin-bottom: 5px;
	}
	.medical07 dl dd {
		font-size: 16px;
		gap: 12px;
		line-height: 1.8;
	}
	.medical07 dl span {
		position: relative;
		top: 1px;
		width: 28px;
		height: 28px;
		font-size: 17px;
		flex-shrink: 0;
	}
	.medical07 dl dt span {
		top: 4px;
	}
}



/*------------------------------ gastroscopy08 ------------------------------*/
@media screen and (max-width: 640px) {
	#gastroscopy08.medical07 h3 em {
		letter-spacing: 1px;
	}
}


/*------------------------------ colonoscopy08 ------------------------------*/
@media screen and (max-width: 640px) {
	#colonoscopy08.medical07 h3 em {
		font-size: 23px;
		letter-spacing: 1px;
	}
}





/*==================================================================

	診療案内・共通　＊　08　＊　小児科＞予防接種のリスト

==================================================================*/
.medical08 .inner {
	width: 90%;
	max-width: 1300px;
	margin: 0 auto 100px;
}
.medical08 h3 {
	margin-bottom: 30px;
}
.medical08_note {
	margin-bottom: 40px;
}


.medical08 ul {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
}
.medical08 ul li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 30px;
	background: #f7f7f7;
	border-radius: 5px;	
}
.medical08 ul li::before {
	content: "";
	width: 6px;
	height: 6px;
	background: #008cd6;
	border-radius: 50%;
	flex-shrink: 0;
	margin-top: 1px;
}
@media screen and (max-width: 640px) {
	.medical08 .inner {
		margin-bottom: 60px;
	}
	.medical08 h3 {
		margin-bottom: 20px;
	}
	.medical08_note {
		margin-bottom: 25px;
	}
	.medical08 ul {
		grid-template-columns: repeat(2, 1fr);
		gap: 5px;
	}
	.medical08 ul li {
		padding: 8px 5px 8px 15px;
		font-size: 15px;
	}

}



/*==================================================================

	診療案内・共通　＊　09　＊　特徴リスト（左に画像・右にテキスト）

==================================================================*/
.medical09 .inner {
	width: 90%;
	max-width: 1300px;
	margin: 0 auto 100px;
}
.medical09 h3 {
	margin-bottom: 50px;
}
.medical09 .note {
	margin-bottom: 40px;
}
@media screen and (max-width: 640px) {
	.medical09 .inner {
		margin-bottom: 60px;
	}
	.medical09 h3 {
		margin-bottom: 30px;
	}
}


.medical09 li {
	display: flex;
	align-items: center;
	gap: 40px;
	margin-bottom: 50px;
}
.medical09 figure {
	width: 400px;
	flex-shrink: 0;
}
.medical09 figure img {
	width: 100%;
	object-fit: cover;
	border-radius: 6px;
}
.medical09 dl {
	flex: 1;
	min-width: 0;
}
.medical09 dt {
	position: relative;
	font-size: 22px;
	font-weight: 500;
	margin-bottom: 20px;
	line-height: 1.5;
	display: inline-block;
}
.medical09 dt::after {
	position: absolute;
	content: "";
	left: 0;
	bottom: -8px;
	width: 100%;
	height: 3px;
	background: #fec601;
}
.medical09 dt span {
	position: relative;
	top: 3px;
	color: #008cd6;
	font-family: "Lato", sans-serif;
	font-size: 36px;
	padding-right: 20px;
}
.medical09_note {
	display: block;
	margin-top: 10px;
	font-size: 16px;
	color: #888;
	line-height: 1.8;
}
@media screen and (max-width: 640px) {
	.medical09 li {
		flex-direction: column;
		gap: 15px;
		margin-bottom: 35px;
	}
	.medical09 figure {
		width: 100%;
	}
	.medical09 figure img {
		aspect-ratio: 16 / 9;
	}
	.medical09 dt {
		font-size: 19px;
	}
	.medical09 dt::after {
		bottom: -5px;
		height: 2px;
	}
	.medical09 dt span {
		font-size: 28px;
		padding-right: 10px;
		top: 2px;
	}
	.medical09_note {
		font-size: 15px;
	}
}









/*==================================================================

	診療案内・共通　＊　10　＊　チェックリスト

==================================================================*/
.medical10 {
	margin-bottom: 100px;
	padding: 80px 0;
	background: #f5f9fc;
}
.medical10 .inner {
	width: 90%;
	max-width: 1300px;
	margin: 0 auto;
}
.medical10 h3 {
	margin-bottom: 30px;
}
.medical10 .note {
	margin-bottom: 30px;
}
@media screen and (max-width: 640px) {
	.medical10 {
		margin-bottom: 60px;
		padding: 60px 0;
	}
	.medical10 h3 {
		margin-bottom: 20px;
	}
	.medical10 .note {
		margin-bottom: 20px;
	}
}


.medical10 ul {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0 30px;
}
.medical10 li {
	position: relative;
	display: flex;
	align-items: center;
	gap: 15px;
	padding: 16px 20px 16px 20px;
	border-bottom: 1px solid #d0e4f0;
}
.medical10 li::before {
	content: "";
	width: 21px;
	height: 21px;
	box-sizing: border-box;
	border: 1px solid #ccc;
	border-radius: 3px;
	background: #fff;
	flex-shrink: 0;
}
.medical10 li::after {
	position: absolute;
	content: "";
	left: 27px;
	top: 50%;
	transform: translateY(-60%) rotate(45deg);
	width: 5px;
	height: 9px;
	border-right: 2px solid #fec601;
	border-bottom: 2px solid #fec601;
}
@media screen and (max-width: 640px) {
	.medical10 ul {
		grid-template-columns: 1fr;
		gap: 0;
	}
	.medical10 li {
		padding: 13px 0;
	}
	.medical10 li::after {
		left: 7px;
	}
}



/*------------------------------ gastroscopy03 ------------------------------*/
#gastroscopy03.medical10 {
	margin-bottom: 0;
}
@media screen and (max-width: 640px) {
	#gastroscopy03.medical10 h3 {
		margin-bottom: 20px;
	}
	#gastroscopy03.medical10 h3 em {
		font-size: 23px;
		letter-spacing: 1px;
        line-height: 1.8;
	}
}

/*------------------------------ gastroscopy04 ------------------------------*/
#gastroscopy04.medical10 {
	background: #fff;
	margin-bottom: 20px;
}
#gastroscopy04.medical10 ul {
	grid-template-columns: repeat(3, 1fr);
	gap: 0 30px;
}
@media screen and (max-width: 640px) {
	#gastroscopy04.medical10 ul {
		grid-template-columns: repeat(1, 1fr);
		gap: 0;
	}
}

/*------------------------------ colonoscopy03 ------------------------------*/
#colonoscopy03.medical10 {
	margin-bottom: 0;
}
#colonoscopy03.medical10 ul {
	grid-template-columns: repeat(3, 1fr);
	gap: 0 30px;
}
@media screen and (max-width: 640px) {
	#colonoscopy03.medical10 ul {
		grid-template-columns: repeat(1, 1fr);
		gap: 0;
	}
}

/*------------------------------ colonoscopy04 ------------------------------*/
#colonoscopy04.medical10 {
	background: #fff;
	margin-bottom: 20px;
}
#colonoscopy04.medical10 ul {
	gap: 0 30px;
}
#colonoscopy04.medical10 li:last-child {
	grid-column: 1 / -1;
}
@media screen and (max-width: 640px) {
	#colonoscopy04.medical10 ul {
		gap: 0;
	}
}






/*==================================================================

	診療案内・共通　＊　11　＊　検査前の注意点

==================================================================*/
.medical11 .inner {
	width: 90%;
	max-width: 1300px;
	margin: 0 auto 100px;
}
.medical11 h3 {
	margin-bottom: 50px;
}
.gastroscopy07_list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 25px;
}
.gastroscopy07_block {
	border: 1px solid #d0e4f0;
	border-radius: 5px;
	overflow: hidden;
}
.gastroscopy07_block h4 {
	font-size: 20px;
	font-weight: 400;
	color: #fff;
	background: #0d6fb8;
	padding: 12px 25px;
}
.gastroscopy07_block ul {
	display: flex;
	flex-direction: column;
	padding: 20px 25px;
	gap: 4px;
}
.gastroscopy07_block ul li {
	position: relative;
	padding-left: 18px;
}
.gastroscopy07_block ul li::before {
	position: absolute;
	content: "";
	left: 0;
	top: 16px;
	width: 6px;
	height: 6px;
	background: #008cd6;
	border-radius: 50%;
}
@media screen and (max-width: 640px) {
	.medical11 .inner {
		margin-bottom: 60px;
	}
	.medical11 h3 {
		margin-bottom: 30px;
	}
	.gastroscopy07_list {
		grid-template-columns: 1fr;
		gap: 15px;
	}
	.gastroscopy07_block h4 {
		font-size: 18px;
		padding: 10px 18px;
	}
	.gastroscopy07_block ul {
		padding: 12px 18px;
	}
	.gastroscopy07_block ul li::before {
		top: 14px;
	}

}




/*==================================================================

		#news　＊　お知らせ

==================================================================*/
#news .inner {
	width: 90%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 60px 0 100px;
}
#news ul li {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 40px 30px 40px 30px;
	border-bottom: 1px solid #ccc;
}
@media screen and (max-width: 640px) {
	#news .inner {
		padding: 40px 0 60px;
	}
	#news ul li {
		flex-wrap: wrap;
		gap: 10px;
		padding: 30px 0 30px 0;
	}
}



#news .date-cate {
	display: flex;
	align-items: center;
	gap: 20px;
}
#news .date { /* 日付 */
	font-size: 16px;
  	font-family: "Lato", sans-serif;	
}
#news .cate { /* カテゴリ */
	padding: 4px 40px 7px;
	text-align: center;
	background: #008cd6;
	font-size: 16px;
	font-weight: 400;
	line-height: 1;
	color: #FFF;
	border-radius: 30px;
}
#news .title { /* タイトル */
	line-height: 2;
	font-size: 20px;
    font-weight: 500;
    color: #0d6fb8;
    text-decoration: underline;
    text-underline-offset: 10px;
    text-decoration-thickness: 2px;
    text-decoration-color: #fec601;
}
#news .text , #news .text p { /* 本文 */
	font-size: 16px;
	line-height: 1.7;
}
@media screen and (max-width: 640px) {
	#news .cate {
		padding-top: 5px;
		font-size: 14px;
	}
	#news .title { /* タイトル */
		line-height: 2;
		font-size: 18px;
	}
	#news .text , #news .text p { /* 本文 */
		font-size: 15px;
	}
}
#news .wp-block-preformatted,
#news pre {
	white-space: pre-wrap;
	word-break: break-all;
	font-family: inherit;
	font-size: inherit;
}
#news .text pre,
#news .text .wp-block-preformatted,
#news .text .wp-block-code,
#news .text code {
	white-space: pre-wrap;
	word-break: break-all;
	font-family: inherit;
	font-size: inherit;
	background: transparent;
	border: none;
	padding: 0;
}



/*==================================================================

	#blog　＊　ブログ

==================================================================*/
#blog .inner {
	width: 90%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 60px 0 100px;
}
#blog ul li {
	border-bottom: 1px solid #ccc;
}
#blog ul li a {
	display: flex;
	align-items: center;
	gap: 40px;
	padding: 40px 30px;
	color: inherit;
	transition: all 0.3s ease-out;
}
#blog ul li a:hover {
	background: rgba(0,140,214,.1);
}
@media screen and (max-width: 640px) {
	#blog .inner {
		padding: 40px 0 60px;
	}
	#blog ul li a {
		gap: 15px;
		padding: 20px 0;
	}
}



#blog figure {
	width: 300px;
	flex-shrink: 0;
	overflow: hidden;
	border-radius: 5px;
}
#blog figure img {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 5px;
	display: block;
}
@media screen and (max-width: 640px) {
	#blog figure {
		width: 110px;
	}
	#blog figure img {
		aspect-ratio: 1 / 1;
	}
}



.blog_text {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
#blog .date-cate { 
	display: flex;
	align-items: center;
	gap: 20px;
}
#blog .date { /* 日付 */
	font-size: 16px;
	font-family: "Lato", sans-serif;
}
#blog .cate { /* カテゴリ */
	padding: 4px 40px 7px;
	text-align: center;
	background: #008cd6;
	font-size: 16px;
	font-weight: 400;
	line-height: 1;
	color: #fff;
	border-radius: 30px;
}
#blog .title { /* タイトル */
	font-size: 20px;
	font-weight: 500;
	color: #0d6fb8;
	text-decoration: underline;
	text-underline-offset: 8px;
	text-decoration-thickness: 2px;
	text-decoration-color: #fec601;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
	line-height: 2;
	margin-bottom: 10px;
}
#blog .text , #blog .text p { /* 本文 */
	font-size: 16px;
	line-height: 1.7;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
@media screen and (max-width: 640px) {
	.blog_text {
		gap: 0;
	}
	#blog .date-cate {
		gap: 12px;
	}
	#blog .date {
		font-size: 15px;
	}
	#blog .cate {
		font-size: 14px;
		padding: 4px 20px 6px;
	}
	#blog .title {
		font-size: 17px;
		margin-bottom: 8px;
		letter-spacing: 0;
	}
	#blog .text , #blog .text p {
		font-size: 15px;
	}

}




/*==================================================================

	お知らせブログ共通　＊　ページネーション

==================================================================*/
.pagenum {
	margin-top: 60px;
	display: flex;
	justify-content: center;
}
.pagenum ul {
	display: flex;
	align-items: center;
	gap: 8px;
}
.pagenum ul li {
	border-bottom: none !important;
	padding: 0 !important;
}
.pagenum ul li a , .pagenum ul li span {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border: 1px solid #d0e4f0;
	border-radius: 50%;
	font-family: "Lato", sans-serif;
	font-size: 15px;
	color: #0d6fb8;
	padding: 0 !important;
	transition: all 0.3s ease-out;
}
.pagenum ul li a:hover {
	background: #0d6fb8;
	border-color: #0d6fb8;
	color: #fff;
}
.pagenum ul li span.current {
	background: #0d6fb8;
	border-color: #0d6fb8;
	color: #fff;
}
.pagenum ul li span.dots {
	border: none;
	color: #aaa;
}
.pagenum .next , .pagenum .prev {
	display: none !important;
}

@media screen and (max-width: 640px) {
	.pagenum {
		margin-top: 40px;
	}
	.pagenum ul li a,
	.pagenum ul li span {
		width: 36px;
		height: 36px;
		font-size: 13px;
	}
}



/*==================================================================

		$投稿ページ(single.php)

==================================================================*/
#blog_single .inner {
	width: 90%;
	max-width: 800px;
	margin: 0 auto;
	padding: 60px 0 100px;
	display: flex;
	flex-direction: column;
	gap: 40px;
}
.blog_single_head {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding-bottom: 30px;
	border-bottom: 2px solid #0d6fb8;
}
.blog_single_head .date-cate {
	display: flex;
	align-items: center;
	gap: 20px;
}
.blog_single_head .date {
	font-size: 16px;
	font-family: "Lato", sans-serif;
}
.blog_single_head .cate {
	padding: 4px 40px 7px;
	text-align: center;
	background: #008cd6;
	font-size: 16px;
	font-weight: 400;
	line-height: 1;
	color: #fff;
	border-radius: 30px;
}
.blog_single_head .title {
	font-size: 26px;
	font-weight: 500;
	color: #0d6fb8;
	line-height: 1.7;
}
@media screen and (max-width: 640px) {
	#blog_single .inner {
		padding: 40px 0 60px;
		gap: 30px;
	}
	.blog_single_head {
		gap: 10px;
		padding-bottom: 15px;
	}
	.blog_single_head .title {
		font-size: 20px;
	}
	.blog_single_head .date {
		font-size: 15px;
	}
	.blog_single_head .cate {
		font-size: 14px;
		padding: 4px 20px 6px;
	}
}


.blog_single_thumb {
	width: 100%;
}
.blog_single_thumb img {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 8px;
	display: block;
}
#blog_single .text {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding-bottom: 80px;
	margin-bottom: 0;
	border-bottom: 1px solid #d0e4f0;
}
#blog_single .btn {
	margin: auto;
}
@media screen and (max-width: 640px) {
	#blog_single .text {
		padding-bottom: 50px;
	}
	#blog_single .btn {
		width: 100%;
	}
}



/*------------------------------ブログ内装飾------------------------------*/
#blog_single .text h1 {
	font-size: 26px;
	font-weight: 500;
	color: #0d6fb8;
	padding: 15px 20px;
	background: #e0eef6;
	border-radius: 0 5px 5px 0;
	line-height: 1.5;
	text-align: center;
}
#blog_single .text h2 {
	font-size: 24px;
	font-weight: 500;
	color: #0d6fb8;
	padding-bottom: 10px;
	border-bottom: 2px solid #0d6fb8;
	line-height: 1.5;
}
#blog_single .text h3 {
	font-size: 20px;
	font-weight: 500;
	color: #0d6fb8;
	padding-left: 15px;
	border-left: 3px solid #fec601;
	line-height: 1.5;
}
#blog_single .text h4 {
	font-size: 20px;
	font-weight: 500;
	color: #333;
	padding-left: 12px;
	border-left: 3px solid #9bd5f4;
	line-height: 1.5;
}
#blog_single .text h5 {
	font-size: 18px;
	font-weight: 500;
	color: #555;
	padding-bottom: 8px;
	border-bottom: 1px dashed #b0cfe0;
	line-height: 1.5;
}

#blog_single .text ul {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding-left: 10px;
}
#blog_single .text ul li {
	position: relative;
	padding-left: 16px;
	font-size: 16px;
	line-height: 1.8;
}
#blog_single .text ul li::before {
	position: absolute;
	content: "";
	left: 0;
	top: 11px;
	width: 6px;
	height: 6px;
	background: #008cd6;
	border-radius: 50%;
}
@media screen and (max-width: 640px) {
	#blog_single .text h1 { font-size: 21px; }
	#blog_single .text h2 { font-size: 19px; }
	#blog_single .text h3 { font-size: 18px; }
	#blog_single .text h4 { font-size: 17px; }
	#blog_single .text h5 { font-size: 16px; }
}


