@charset "utf-8";


/* ==================================================
PC
================================================== */
/* ========== トップページ ========== */
/* 非表示 */
#footstep_wrap {
	display: none !important;
}

/* メイン */
#mymainback {
	max-width: inherit;
	padding: 0 0 60px;
}

/* キャッチコピー */
.catch_copy {
	width: 100%;
	padding: 30px 20px;
	background-color: #fef1e2;
}
.catch_copy p {
	max-width: 804px;
	width: 100%;
	margin-inline: auto;
}

/* スライドショー */
.slide_box {
	position: relative;
	width: 100%;
}
.slide_box .swiper-container {
	display: -webkit-flex;
	display:         flex;
	-webkit-flex-wrap: wrap;
	        flex-wrap: wrap;
	-webkit-justify-content: center;
	        justify-content: center;
	-webkit-align-items: center;
	        align-items: center;
	row-gap: 8px;
}
.slide_box button.swiper-button-prev, .slide_box button.swiper-button-next {
	width: 26px;
	height: 39px;
	background-color: transparent;
	border-radius: 0;
	box-shadow: none;
}
.slide_box button.swiper-button-prev {
	background: url("/img/togihospital/swiper_prev.png") no-repeat 0 0;
	background-size: 100%;
}
.slide_box button.swiper-button-next {
	background: url("/img/togihospital/swiper_next.png") no-repeat 0 0;
	background-size: 100%;
}
.slide_box button.swiper-button-start, .slide_box button.swiper-button-stop {
	position: relative;
	left: inherit;
	top: inherit;
	width: 17px;
	height: 18px;
	background-color: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	-webkit-transform: translate(0, 0);
	        transform: translate(0, 0);
}
.slide_box button.swiper-button-start {
	background: url("/img/togihospital/swiper_start.png") no-repeat 0 0;
	background-size: 100%;
}
.slide_box button.swiper-button-stop {
	background: url("/img/togihospital/swiper_stop.png") no-repeat 0 0;
	background-size: 100%;
}
.slide_box :where(button.swiper-button-start, button.swiper-button-stop)::after {
	content: none;
}
.slide_box .swiper-pagination-fraction, .slide_box .swiper-pagination-custom, .slide_box .swiper-horizontal > .swiper-pagination-bullets, .slide_box .swiper-pagination-bullets.swiper-pagination-horizontal {
	display: -webkit-flex;
	display:         flex;
	gap: 8px;
	position: relative;
	top: inherit;
	bottom: inherit;
	left: inherit;
	width: -webkit-fit-content;
	width:    -moz-fit-content;
	width:         fit-content;
	margin-top: 0;
	line-height: 1;
}
.slide_box .swiper-pagination-bullet {
	width: 12px;
	height: 12px;
	background-color: var(--color-primary);
	opacity: 1;
}
.slide_box .swiper-pagination-bullet-active {
	background-color: #fff;
	border: 2px solid var(--color-primary);
}
.slide_box .swiper-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet, .slide_box .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
	margin: 0;
}

.slide_message {
	position: absolute;
	top: 10%;
	left: 50%;
	max-width: 1034px;
	width: 100%;
	-webkit-transform: translateX(-50%);
	        transform: translateX(-50%);
	z-index: 1;
}

/* 夕なぎバナー */
.link_yunagi {
	max-width: 612px;
	margin-inline: auto;
	margin-bottom: 60px;
}

#main_body h2 {
	margin: 0;
	padding: 0;
	background-color: transparent;
	font-size: 3.4rem;
}

#main_body div[class*=detail_] {
	margin-bottom: 0;
}

.main_column {
	display: -webkit-flex;
	display:         flex;
	-webkit-column-gap: 60px;
	   -moz-column-gap: 60px;
	        column-gap: 60px;
	max-width: 1100px;
	width: 100%;
	margin-inline: auto;
	margin-bottom: 40px;
	padding: 0 10px;
}
.main_column > div {
	width: calc(50% - 30px);
}

/* 本日の診療 */
.schedule_ttl_wrap {
	display: -webkit-flex;
	display:         flex;
	-webkit-flex-wrap: wrap;
	        flex-wrap: wrap;
	-webkit-justify-content: space-between;
	        justify-content: space-between;
	-webkit-align-items: center;
	        align-items: center;
	margin-bottom: 40px;
}

.schedule_ttl:before {
	content: "●";
	color: var(--color-tertiary);
}

.schedule_link a {
	display: -webkit-flex;
	display:         flex;
	-webkit-align-items: center;
	        align-items: center;
	gap: 5px;
	padding: 5px 20px;
	background-color: var(--color-tertiary);
	border-radius: 40px;
	color: var(--site-color-text);
	font-weight: bold;
	text-decoration: none;
	transition: .5s opacity;
}
.schedule_link a:before, .schedule_link a:after {
	-webkit-flex-shrink: 0;
	        flex-shrink: 0;
	content: "";
}
.schedule_link a:before {
	width: 17px;
	height: 19px;
	background: url("/img/togihospital/ico_pdf.png") no-repeat 0 0;
	background-size: 100%;
}
.schedule_link a:after {
	width: 13px;
	height: 13px;
	background: url("/img/togihospital/ico_dl.png") no-repeat 0 0;
	background-size: 100%;
}
@media (any-hover: hover) {
	.schedule_link a:hover {
		opacity: .7;
	}
}

#main_body table.schedule_tbl {
	margin: 0;
	width: 100%;
	border-collapse: separate;
	border: none;
	border-spacing: 0;
	border-left: 1px solid #ab563e;
	border-top: 1px solid #ab563e;
	border-radius: 16px;
}
#main_body table.schedule_tbl caption {
	display: none;
}
#main_body table.schedule_tbl thead tr th:first-child {
	border-radius: 16px 0 0 0;
}
#main_body table.schedule_tbl thead tr th:last-child {
	border-radius: 0 16px 0 0;
}
#main_body table.schedule_tbl tbody tr:last-child td:last-child {
	border-radius: 0 0 16px 0;
}
#main_body table.schedule_tbl tbody tr:last-child th:first-child {
	border-radius: 0 0 0 16px;
}
#main_body table.schedule_tbl th, #main_body table.schedule_tbl td {
	border: none;
	border-bottom: 1px solid #ab563e;
	border-right: 1px solid #ab563e;
}
#main_body table.schedule_tbl td {
	width: 30%;
	text-align: center;
}
#main_body table.schedule_tbl thead th {
	background-color: var(--color-tertiary);
	border-bottom: 0;
}
#main_body table.schedule_tbl tbody tr:first-child th, #main_body table.schedule_tbl tbody tr:first-child td {
	border-top: 0;
}
#main_body table.schedule_tbl tbody th {
	background-color: #feefe5;
}

/* 新着情報 */
.section_information h2:before {
	content: "●";
	color: #2972ba;
}

.section_information p.no_data {
	padding: 20px 0;
}

.section_information_list ul {
	list-style: none;
}

.section_information_list ul li {
	width: 100%;
	padding-bottom: 15px;
	border-bottom: 1px solid #6997c9;
}
.section_information_list ul li + li {
	margin-top: 15px;
}

.section_information_list ul li > span {
	display: block;
}

.section_information_list ul li > span a {
	text-decoration: none;
}
.section_information_list ul li > span a:link, .section_information_list ul li > span a:visited {
	color: var(--site-color-text);
}
@media (any-hover: hover) {
	.section_information_list ul li > span a:hover {
		color: var(--color-primary);
	}
}

.section_information_list ul li > span.article_date {
	margin-bottom: 5px;
	color: #2972ba;
	font-size: var(--fontsize-detail-small);
	padding-top: .1rem;
}

.section_information_list img.icon_new {
	vertical-align: baseline;
	margin-left: .5em;
}

.information_ttl_wrap {
	display: -webkit-flex;
	display:         flex;
	-webkit-flex-wrap: wrap;
	        flex-wrap: wrap;
	-webkit-justify-content: space-between;
	        justify-content: space-between;
	-webkit-align-items: center;
	        align-items: center;
	margin-bottom: 40px;
}

/* 新着情報（一覧 / RSS） */
.information_ttl_wrap div.link_box {
	display: -webkit-flex;
	display:         flex;
	-webkit-flex-wrap: wrap;
	        flex-wrap: wrap;
	-webkit-justify-content: center;
	        justify-content: center;
	-webkit-align-items: flex-start;
	        align-items: flex-start;
	gap: 20px;
}

.information_ttl_wrap div.link_box span a {
	display: block;
	min-width: 200px;
	padding: 5px 20px;
	background-color: #2972ba;
	border-radius: 40px;
	color: #fff;
	font-weight: bold;
	text-align: center;
	text-decoration: none;
	transition: .5s opacity;
}
@media (any-hover: hover) {
	.information_ttl_wrap div.link_box span a:hover {
		opacity: .7;
	}
}

.main_department {
	width: 100%;
	padding: 40px 0;
	background-color: /*#d5edd6*/#eaf1d3;
}
.main_department nav {
	max-width: var(--content-width);
	width: 100%;
	margin-inline: auto;
	padding: 0 10px;
}
.main_department ul {
	list-style: none;
	display: -webkit-flex;
	display:         flex;
	-webkit-flex-wrap: wrap;
	        flex-wrap: wrap;
	-webkit-justify-content: center;
	        justify-content: center;
	gap: 40px;
	width: 100%;
}
.main_department li {
	display: -webkit-flex;
	display:         flex;
	aspect-ratio: 1/1;
	width: calc(25% - 30px);
}
.main_department a {
	display: -webkit-flex;
	display:         flex;
	-webkit-flex-direction: column;
	        flex-direction: column;
	-webkit-justify-content: center;
	        justify-content: center;
	-webkit-align-items: center;
	        align-items: center;
	gap: 20px;
	width: 100%;
	height: 100%;
	padding: 30px 10px;
	background-color: #fdf8ba;
	border: 2px solid var(--color-tertiary);
	border-radius: 400px;
	text-align: center;
	color: var(--site-color-text);
	font-size: 2.4rem;
	font-weight: bold;
	text-decoration: none;
	transition: .5s background-color;
	line-height: 1.3;
}
@media (any-hover: hover) {
	.main_department a:hover {
		background-color: rgba(253, 248, 186, .7);
	}
}
.main_department span.ico {
	display: block;
	max-width: 102px;
	width: 100%;
}
.main_department img {
	width: 100%;
	height: 100%;
	aspect-ratio: 102/90;
	-o-object-fit: contain;
	   object-fit: contain;
}

/* ==================================================
PC ここまで
================================================== */
/* ==================================================
スマートフォン
================================================== */
@media screen and (max-width: 1080px) {
	/* ========== トップページ ========== */
	/* メイン */
	#mymainback {
		padding: 0;
	}
	/* スライドショー */
	.slide_message {
		top: 0;
	}
	.main_column {
		-webkit-flex-wrap: wrap;
		        flex-wrap: wrap;
		margin-bottom: 20px;
		padding: 20px;
	}
	.main_column > div {
		width: 100%;
	}
	/* 夕なぎバナー */
	.link_yunagi {
		margin-bottom: 20px;
		padding: 0 20px;
	}
	#main_body h2 {
		font-size: 2rem;
	}
	/* 本日の診療 */
	.main_schedule {
		margin-bottom: 40px;
	}
	.schedule_ttl_wrap {
		margin-bottom: 20px;
	}
	.schedule_link a {
		padding: 5px 10px;
	}
	/* 新着情報 */
	.section_information p.no_data {
		padding: 20px;
	}
	.section_information_list ul li:has(img.icon_new) {
		position: relative;
	}
	.section_information_list ul li:has(img.icon_new) > span.article_date {
		padding-left: 45px;
	}
	.section_information_list ul li:has(img.icon_new) img.icon_new {
		margin: 0;
		position: absolute;
		top: 17px;
		left: 0;
	}
	.information_ttl_wrap {
		margin-bottom: 20px;
	}
	/* 新着情報（一覧 / RSS） */
	.information_ttl_wrap div.link_box span a {
		width: auto;
	}
	.main_department {
		margin-bottom: 20px;
		padding: 20px;
	}
	.main_department ul {
		gap: 20px;
	}
	.main_department li {
		width: calc((100% - 40px) / 3);
	}
	.main_department a {
		gap: 5px;
		padding: 20px 10px;
		font-size: clamp(1.2rem, .881rem + 1.36vw, 1.8rem);
	}
	.main_department span.ico {
		width: 60%;
	}
}
/* ==================================================
スマートフォン ここまで
================================================== */