@charset "utf-8";

/* 足あとを非表示 */
#footstep_wrap {
	display: none !important;
}

/* MV（バナー1） */
#top_photo {
	width: 100%;
	height: auto;
	aspect-ratio: 2000 / 700;
	position: relative;
	overflow: hidden;
	line-height: 1;
}

#top_photo .top_catchcopy {
	width: var(--content-width);
	max-width: var(--content-max-width);
	position: absolute;
	top: 60px;
	left: 50%;
	-webkit-transform: translateX(-50%);
	    -ms-transform: translateX(-50%);
	        transform: translateX(-50%);
	z-index: 2;
	pointer-events: none;
	font-size: 4rem;
	letter-spacing: 0.1em;
	line-height: 2;
}
#top_photo .top_catchcopy span {
	display: inline-block;
	background: rgb(255 255 255 / 80%);
	line-height: 1.5;
	padding: 5px 20px;
}

#top_photo .photo {
	width: 100%;
	height: auto;
	aspect-ratio: 2000 / 700;
}
#top_photo .photo img {
	width: 100%;
	height: 100%;
	-o-object-fit: cover;
	   object-fit: cover;
	-o-object-position: center center;
	   object-position: center center;
	vertical-align: top;
}
#top_photo .photo a {
	display: block;
	width: 100%;
	height: 100%;
	color: inherit;
}

#top_photo.noslide .slide_control_box1 {
	display: none;
}
#top_photo .slide_control_box1 {
	width: var(--content-width);
	max-width: var(--content-max-width);
	position: absolute;
	bottom: 30px;
	left: 50%;
	-webkit-transform: translateX(-50%);
	    -ms-transform: translateX(-50%);
	        transform: translateX(-50%);
	z-index: 2;
	pointer-events: none;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
	-webkit-box-pack: end;
	    -ms-flex-pack: end;
	        justify-content: flex-end;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	gap: 20px;
}
#top_photo .slide_control_box1 .slide_pagination {
	width: auto;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
	-webkit-box-pack: end;
	    -ms-flex-pack: end;
	        justify-content: flex-end;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	gap: 15px;
}
#top_photo .slide_control_box1 .slide_pagination .swiper-pagination-bullet,
#top_photo .slide_control_box1 .slide_pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
	pointer-events: auto;
	width: 24px;
	height: 24px;
	border: 2px solid #ffffff;
	background: #c9c8c8;
	color: #000000;
	margin: 0px;
	padding: 0px;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	opacity: 1;
	-webkit-transition: opacity 0.5s;
	-o-transition: opacity 0.5s;
	transition: opacity 0.5s;
}
#top_photo .slide_control_box1 .slide_pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
	background: #b5efa3;
}
#top_photo .slide_control_box1 .slide_pagination .swiper-pagination-bullet:hover,
#top_photo .slide_control_box1 .slide_pagination .swiper-pagination-bullet.swiper-pagination-bullet-active:hover {
	opacity: 0.75;
}

#top_photo button[class*="slide_control_"] {
	pointer-events: auto;
	width: 30px;
	height: 30px;
	border: none;
	background: none;
	margin: 0px;
	padding: 0px;
}
#top_photo button[class*="slide_control_"].is-active {
	display: none;
}

/* メイン */
#mymainback {
	width: auto;
	margin: 0px;
	padding: 0px;
}

.top_main_box {
	width: var(--content-width);
	max-width: var(--content-max-width);
	margin-left: auto;
	margin-right: auto;
}

h2.main_midashi {
	margin: 0px 0px 40px;
	font-size: 3.6rem;
	text-align: center;
}

/* contents1 */
#top_contents1_bg {
	background: var(--gradation-color-base);
	background-image: var(--gradation-color-prefixes);
	background-image: var(--gradation-color);
}
#top_contents1 {
	padding-top: 80px;
	padding-bottom: 80px;
}

/* バナー（バナー2） */
#top_banner_2_list {
	margin-bottom: 80px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	gap: 30px;
}
#top_banner_2_list .bnr img {
	width: auto;
	height: auto;
	max-width: 100%;
	vertical-align: top;
}

/* メインメニュー */
#top_menu_wrap {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	-webkit-box-align: stretch;
	    -ms-flex-align: stretch;
	        align-items: stretch;
	gap: 30px;
}
#top_menu_wrap .box_menu {
	width: calc(100% / 3 - 20px);
	background: #ffffff;
	border: 1px solid transparent;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	-webkit-box-shadow: var(--btn-boxshadow, none);
	        box-shadow: var(--btn-boxshadow, none);
	position: relative;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	    -ms-flex-direction: column;
	        flex-direction: column;
	-ms-flex-wrap: nowrap;
	    flex-wrap: nowrap;
}
#top_menu_wrap .box_menu:has(a) {
	cursor: pointer;
	-webkit-transition: opacity 0.5s;
	-o-transition: opacity 0.5s;
	transition: opacity 0.5s;
}
#top_menu_wrap .box_menu:has(a):hover {
	opacity: 0.75;
}
#top_menu_wrap .box_menu a {
	color: inherit;
	text-decoration: none;
}
#top_menu_wrap .box_menu a::before {
	content: '';
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0px;
	left: 0px;
	right: 0px;
	bottom: 0px;
}

#top_menu_wrap .box_menu .img {
	width: 100%;
	height: auto;
/*	aspect-ratio: 333 / 200;*/
	aspect-ratio: 340 / 206;
	margin-top: auto;
}
#top_menu_wrap .box_menu .img img {
	width: 100%;
	height: 100%;
	-o-object-fit: cover;
	   object-fit: cover;
	-o-object-position: center center;
	   object-position: center center;
	vertical-align: top;
}

#top_menu_wrap .box_menu .txt {
	padding: 30px;
}
#top_menu_wrap .box_menu .txt h2 {
	margin: 0px 0px 20px;
	font-size: 2.4rem;
	text-align: center;
}
#top_menu_wrap .box_menu .txt ul {
	margin: 0px;
}
#top_menu_wrap .box_menu .txt ul li {
	font-size: 1.6rem;
}
#top_menu_wrap .box_menu .txt ul li::marker {
	font-size: 1.2rem; /* 点の大きさ */
}

/* contents2 */
#top_contents2 {
	padding-top: 80px;
	padding-bottom: 80px;
}

/* 新着情報 */
#top_tab_wrap {
	margin-bottom: 80px;
}

/* タブ */
#top_tab_title ul {
	margin: 0px;
	padding: 0px;
	list-style: none;
	border: 2px solid #ccffcc;
	-webkit-box-shadow: var(--btn-boxshadow, none);
	        box-shadow: var(--btn-boxshadow, none);
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: nowrap;
	    flex-wrap: nowrap;
	-webkit-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
	-webkit-box-align: stretch;
	    -ms-flex-align: stretch;
	        align-items: stretch;
}
#top_tab_title ul li {
	width: 100%;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	border-right: 2px solid #eeeeee;
}
#top_tab_title ul li:last-child {
	border-right: none;
}
#top_tab_title ul li button {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	width: 100%;
	height: 100%;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	border: none;
	background: #ffffff;
	color: #333333;
	font-size: 1.6rem;
	line-height: 2rem;
	text-decoration: none;
	text-align: center;
	padding: 20px 10px;
}
#top_tab_title ul li button:hover,
#top_tab_title ul li button:focus {
	text-decoration: underline;
}
#top_tab_title ul li.tab_on button {
	font-size: 2rem;
	font-family: var(--fontfamily-bold, sans-serif);
	font-weight: bold;
	text-decoration: none;
}
#top_tab_title ul li.tab_on button:hover,
#top_tab_title ul li.tab_on button:focus {
	text-decoration: none;
}

#top_tab_title ul li.tab_on button.news1 { background: #d6ffff; }
#top_tab_title ul li.tab_on button.news2 { background: #ffffe0; }
#top_tab_title ul li.tab_on button.news3 { background: #ffe0e0; }
#top_tab_title ul li.tab_on button.news4 { background: #e0ffff; }
#top_tab_title ul li.tab_on button.news5 { background: #e0ffe0; }

#top_tab_detail {
	padding: 30px 0px 0px;
}

/* 新着情報（リスト） */
.top_tab_detail_list ul {
	margin: 0px;
	padding: 0px;
	list-style: none;
}
.top_tab_detail_list ul li {
	width: 100%;
	display: table;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	margin: 0px;
	padding: 25px 0px;
	border-bottom: 1px solid #dddddd;
}
.top_tab_detail_list ul li:last-child {
	border-bottom: none;
}
.top_tab_detail_list ul li > span {
	display: table-cell;
	vertical-align: top;
}
.top_tab_detail_list ul li > span.article_date {
	width: calc(11em + 10px);
	font-size: var(--fontsize-detail-small, 1.6rem);
	padding-top: 0.1rem;
}

.font_size_changed .top_tab_detail_list ul li,
.font_size_changed .top_tab_detail_list ul li > span {
	display: block;
}
.font_size_changed .top_tab_detail_list ul li > span.article_date {
	width: auto;
	padding-top: 0px;
}

/* 新着情報（情報はありません） */
.top_tab_detail_box p.no_data {
	margin: 0px;
	padding: 30px 0px;
	text-align: center;
}

/* 新着情報（newアイコン） */
.top_tab_detail_list img.icon_new {
	vertical-align: baseline;
	margin-left: 0.5em;
}

/* 新着情報（分類アイコン） */
.top_tab_detail_list img[src*="/img/nw/news/icon-news-"] {
	width: 97px;
	height: auto;
	-webkit-box-shadow: 0px 0px 10px 0px rgb(0 0 0 / 15%);
	        box-shadow: 0px 0px 10px 0px rgb(0 0 0 / 15%);
	display: inline-block;
	vertical-align: middle;
	margin-right: 13px;
	position: absolute;
	top: 1px;
	left: 0px;
	pointer-events: none;
}
.top_tab_detail_list ul li .article_title {
	position: relative;
	padding-left: 120px;
}
.top_tab_detail_list ul li .article_title::before {
	content: '';
	display: block;
	width: 97px;
	height: 30px;
	-webkit-box-shadow: 0px 0px 10px 0px rgb(0 0 0 / 15%);
	        box-shadow: 0px 0px 10px 0px rgb(0 0 0 / 15%);
	background-color: transparent;
	background-repeat: no-repeat;
	background-position: center;
	position: absolute;
	top: 1px;
	left: 0px;
	pointer-events: none;
}
.news1 .top_tab_detail_list ul li .article_title::before {
	display: none;
}
.news2 .top_tab_detail_list ul li .article_title::before {
	background-image: url("/img/nw/news/icon-news-3.png")
}
.news3 .top_tab_detail_list ul li .article_title::before {
	background-image: url("/img/nw/news/icon-news-2.png")
}
.news4 .top_tab_detail_list ul li .article_title::before {
	background-image: url("/img/nw/news/icon-news-4.png")
}
.news5 .top_tab_detail_list ul li .article_title::before {
	background-image: url("/img/nw/news/icon-news-5.png")
}

/* 新着情報（一覧 / RSS） */
.top_tab_detail_box .link_box {
	text-align: center;
	margin-top: 20px;
}
.top_tab_detail_box .link_box a {
	display: inline-block;
	border: 1px solid #dddddd;
	background: url("/img/nw/common/icon-arrow.png") no-repeat right 20px top 50% #ffffff;
	color: #333333;
	font-size: var(--fontsize-detail-small, 1.6rem);
	line-height: 1.8rem;
	padding: 20px 60px 20px 20px;
	text-decoration: none;
	-webkit-box-shadow: var(--btn-boxshadow, none);
	        box-shadow: var(--btn-boxshadow, none);
}
.top_tab_detail_box .link_box a:hover,
.top_tab_detail_box .link_box a:focus {
	text-decoration: underline;
	background-color: #f6f6f6;
	-webkit-box-shadow: var(--btn-hover-boxshadow, none);
	        box-shadow: var(--btn-hover-boxshadow, none);
}

/* 重要なお知らせ */
#top_important {
	margin-bottom: 80px;
	border: 2px solid #e31952;
	padding: 40px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
	-webkit-box-pack: start;
	    -ms-flex-pack: start;
	        justify-content: flex-start;
	-webkit-box-align: start;
	    -ms-flex-align: start;
	        align-items: flex-start;
	gap: 30px 40px;
}

#top_important .top_important_ttl {
	min-width: 22rem;
}
#top_important .top_important_ttl h3 {
	margin: 0px;
	color: #e31952;
	font-size: 2.4rem;
}

#top_important .top_important_list {
	width: calc(100% - 22rem - 40px);
}
.font_size_changed #top_important .top_important_ttl,
.font_size_changed #top_important .top_important_list {
	width: 100%;
}

#top_important ul {
	margin: 0px;
	padding: 0px;
	list-style: none;
}
#top_important ul li {
	width: 100%;
	display: table;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	margin: 0px 0px 15px;
}
#top_important ul li:last-child {
	margin-bottom: 0px;
}
#top_important ul li > span {
	display: table-cell;
	vertical-align: top;
}
#top_important ul li > span.article_date {
	width: calc(11em + 10px);
	font-size: var(--fontsize-detail-small, 1.6rem);
	padding-top: 0.1rem;
}
#top_important ul li a {
	color: #e31952;
}

#top_important .link_box {
	width: 100%;
	text-align: center;
}
#top_important .link_box a {
	display: inline-block;
	border: 1px solid #dddddd;
	background: url("/img/nw/common/icon-arrow-pink.png") no-repeat right 20px top 50% #ffffff;
	color: #e31952;
	font-size: var(--fontsize-detail-small, 1.6rem);
	line-height: 1.8rem;
	padding: 20px 60px 20px 20px;
	text-decoration: none;
	-webkit-box-shadow: var(--btn-boxshadow, none);
	        box-shadow: var(--btn-boxshadow, none);
}
#top_important .link_box a:hover,
#top_important .link_box a:focus {
	text-decoration: underline;
	-webkit-box-shadow: var(--btn-hover-boxshadow, none);
	        box-shadow: var(--btn-hover-boxshadow, none);
}

/* 周産期母子医療センター */
#top_medical_center {
	background: var(--gradation-color-base);
	background-image: var(--gradation-color-prefixes);
	background-image: var(--gradation-color);
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: nowrap;
	    flex-wrap: nowrap;
	-webkit-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
	-webkit-box-align: stretch;
	    -ms-flex-align: stretch;
	        align-items: stretch;
}
#top_medical_center .img {
	width: 100%;
	-webkit-box-ordinal-group: 2;
	    -ms-flex-order: 1;
	        order: 1;
}
#top_medical_center .img img {
	width: 100%;
	height: 100%;
	-o-object-fit: cover;
	   object-fit: cover;
	-o-object-position: center right;
	   object-position: center right;
	vertical-align: top;
}

#top_medical_center .txt_bg {
	width: 100%;
	-webkit-box-ordinal-group: 3;
	    -ms-flex-order: 2;
	        order: 2;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
	-webkit-box-pack: start;
	    -ms-flex-pack: start;
	        justify-content: flex-start;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
}
#top_medical_center .txt_bg .txt {
	width: calc(50vw - 40px);
	max-width: 1000px;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	padding: 80px 0px 80px 10%;
}
#top_medical_center .txt_bg .txt h3 {
	margin: 0px 0px 40px;
	font-size: 3.6rem;
}
#top_medical_center .txt_bg .txt p {
	margin: 0px;
	font-size: 1.6rem;
	line-height: 1.75;
}
#top_medical_center .txt_bg .txt p + p {
	margin-top: 1em;
}
#top_medical_center .txt_bg .txt p.link {
	margin-top: 50px;
}
#top_medical_center .txt_bg .txt p.link a {
	display: inline-block;
	border: 1px solid #dddddd;
	background: url("/img/nw/common/icon-arrow.png") no-repeat right 20px top 50% #ffffff;
	color: #333333;
	font-size: var(--fontsize-detail-small, 1.6rem);
	line-height: 1.8rem;
	padding: 20px 60px 20px 20px;
	text-decoration: none;
	-webkit-box-shadow: var(--btn-boxshadow, none);
	        box-shadow: var(--btn-boxshadow, none);
}
#top_medical_center .txt_bg .txt p.link a:hover,
#top_medical_center .txt_bg .txt p.link a:focus {
	text-decoration: underline;
	background-color: #f6f6f6;
	-webkit-box-shadow: var(--btn-hover-boxshadow, none);
	        box-shadow: var(--btn-hover-boxshadow, none);
}

/* 増改築工事 */
#top_info {
	padding-top: 80px;
}

#top_info_construction {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: nowrap;
	    flex-wrap: nowrap;
	-webkit-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
	-webkit-box-align: start;
	    -ms-flex-align: start;
	        align-items: flex-start;
}
#top_info_construction .ttl {
	width: calc(100% / 3 - 20px);
}
#top_info_construction .ttl h3 {
	margin: 0px 0px 40px;
	font-size: 3.6rem;
}
#top_info_construction .ttl p {
	margin: 0px;
	font-size: 1.6rem;
	line-height: 1.75;
}
#top_info_construction .ttl p + p {
	margin-top: 1em;
}

#top_info_construction .link {
	width: calc(100% / 3 * 2 - 10px);
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	-webkit-box-align: stretch;
	    -ms-flex-align: stretch;
	        align-items: stretch;
	gap: 30px;
}

#top_info_construction .box_link {
	width: calc(50% - 15px);
	background: #ffffff;
	border: 1px solid transparent;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	-webkit-box-shadow: var(--btn-boxshadow, none);
	        box-shadow: var(--btn-boxshadow, none);
	position: relative;
}
#top_info_construction .box_link:has(a) {
	cursor: pointer;
	-webkit-transition: opacity 0.5s;
	-o-transition: opacity 0.5s;
	transition: opacity 0.5s;
}
#top_info_construction .box_link:has(a):hover {
	opacity: 0.75;
}
#top_info_construction .box_link a {
	color: inherit;
	text-decoration: none;
}
#top_info_construction .box_link a::before {
	content: '';
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0px;
	left: 0px;
	right: 0px;
	bottom: 0px;
}

#top_info_construction .box_link .img {
	width: 100%;
	height: auto;
/*	aspect-ratio: 330 / 318;*/
	aspect-ratio: 340 / 340;
	margin-top: auto;
}
#top_info_construction .box_link .img img {
	width: 100%;
	height: 100%;
	-o-object-fit: cover;
	   object-fit: cover;
	-o-object-position: center center;
	   object-position: center center;
	vertical-align: top;
}

#top_info_construction .box_link .txt {
	padding: 30px;
	font-size: 2rem;
}
#top_info_construction .box_link .txt a {
	display: block;
	width: 100%;
}
#top_info_construction .box_link .txt span.icon {
	display: block;
	width: 100%;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	background: url("/img/nw/common/icon-arrow.png") no-repeat right center transparent;
	color: inherit;
	padding-right: 30px;
}
#top_info_construction .box_link .txt br.pc_none {
	display: none;
}

/* メインメニュー2（バナー3） */
#top_banner_3_list {
	margin-top: 80px;
	padding-top: 80px;
	border-top: 1px solid;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	-webkit-box-align: stretch;
	    -ms-flex-align: stretch;
	        align-items: stretch;
	gap: 30px;
}
#top_banner_3_list .box {
	width: calc(100% / 3 - 20px);
	background: #ffffff;
	border: 1px solid transparent;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	-webkit-box-shadow: var(--btn-boxshadow, none);
	        box-shadow: var(--btn-boxshadow, none);
	position: relative;
}
#top_banner_3_list .box:has(a) {
	cursor: pointer;
	-webkit-transition: opacity 0.5s;
	-o-transition: opacity 0.5s;
	transition: opacity 0.5s;
}
#top_banner_3_list .box:has(a):hover {
	opacity: 0.75;
}
#top_banner_3_list .box a {
	color: inherit;
	text-decoration: none;
}
#top_banner_3_list .box a::before {
	content: '';
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0px;
	left: 0px;
	right: 0px;
	bottom: 0px;
}

#top_banner_3_list .box .box_img,
#top_banner_3_list .box .box_img .img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 340 / 206;
	margin-top: auto;
}
#top_banner_3_list .box .box_img img {
	width: 100%;
	height: 100%;
	-o-object-fit: cover;
	   object-fit: cover;
	-o-object-position: center center;
	   object-position: center center;
	vertical-align: top;
}

#top_banner_3_list .box .box_txt {
	padding: 30px 30px 60px;
}
#top_banner_3_list .box .box_txt .ttl {
	display: block;
	text-align: center;
	font-size: 2rem;
}
#top_banner_3_list .box .box_txt .txt {
	display: block;
	margin-top: 15px;
	font-size: 1.6rem;
	line-height: 1.75;
}
#top_banner_3_list .box .box_txt .txt span {
	color: inherit !important;
}

/* contents3 */
#top_contents3_bg {
	background: var(--gradation-color-base);
	background-image: var(--gradation-color-prefixes);
	background-image: var(--gradation-color);
}
#top_contents3 {
	padding-top: 80px;
	padding-bottom: 80px;
}

/* アクセス */
#top_contents3 .box_map {
	line-height: 1;
	margin-bottom: 40px;
}
#top_contents3 .box_map iframe {
	width: 100%;
	height: 300px;
}

/* お問い合わせ */
#top_contents3 .box_footer1_wrap::before {
	display: none;
}
#top_contents3 .box_footer1 {
	width: 100%;
	max-width: none;
	margin: 0px;
	padding: 0px;
}


/* ==================================================
背景色変更
================================================== */

/* 共通 */
.color_change #top_photo .top_catchcopy,
.color_change #top_photo .slide_control_box1,
.color_change #top_photo .slide_control_box1 .slide_pagination,
.color_change #top_contents1_bg,
.color_change #top_medical_center,
.color_change #top_contents3_bg {
	background: none !important;
}
.color_change #top_photo .slide_control_box1 .slide_pagination .swiper-pagination-bullet,
.color_change #top_photo .slide_control_box1 .slide_pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
	border: 2px solid !important;
}
.color_change #top_photo .slide_control_box1 .slide_pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
	background: rgb(255 255 255 / 50%) !important !important;
}
.color_change #top_tab_title ul li.tab_on button {
	background: none !important;
	text-decoration: none !important;
	color: inherit !important;
}
.color_change #top_important .link_box a {
	background-image: url("/img/nw/common/icon-arrow.png");
}

/* ==================================================
背景色変更 ここまで
================================================== */


/* ==================================================
スマートフォン
================================================== */
@media screen and (max-width: 1080px) {

	/* MV（バナー1） */
	#top_photo {
		/* aspect-ratio: 375 / 600; */
		aspect-ratio: 1 / 1;
	}
	#top_photo .top_catchcopy {
		width: calc(100vw - 40px);
		max-width: none;
		top: 30px;
		font-size: 7vw;
	}
	#top_photo .top_catchcopy span {
		line-height: 1.25;
	}

	#top_photo .photo {
		/* aspect-ratio: 375 / 600; */
		aspect-ratio: 1 / 1;
	}
	#top_photo .slide_control_box1 {
		width: calc(100vw - 40px);
		max-width: none;
		bottom: 20px;
	}
	#top_photo .slide_control_box1 .slide_pagination {
		display: none !important; /* スマホ時は非表示 */
	}
	/* デバイスが横向きの場合 */
	@media (orientation: landscape){
		#top_photo,
		#top_photo .photo {
			aspect-ratio: 2 / 1;
		}
		#top_photo .top_catchcopy {
			font-size: 6vh;
		}
	}

	/* メイン */
	#mymainback {
		width: auto;
		margin: 0px;
		padding: 0px;
	}

	.top_main_box {
		width: auto;
		max-width: none;
		margin-left: var(--mymainback-margin-side, 15px);
		margin-right: var(--mymainback-margin-side, 15px);
	}

	h2.main_midashi {
		margin-bottom: 0.5em;
		font-size: 2.4rem;
	}

	/* contents1 */
	#top_contents1 {
		padding-top: 30px;
		padding-bottom: 30px;
	}

	/* バナー（バナー2） */
	#top_banner_2_list {
		margin-bottom: 30px;
		gap: 16px;
	}

	/* メインメニュー */
	#top_menu_wrap {
		gap: 16px;
	}
	#top_menu_wrap .box_menu {
		width: 100%;
		max-width: 600px;
		display: block;
	}

	#top_menu_wrap .box_menu .img {
		aspect-ratio: 335 / 130;
		margin-top: 0px;
	}

	#top_menu_wrap .box_menu .txt {
		padding: 20px;
	}
	#top_menu_wrap .box_menu .txt h2 {
		font-size: 2.2rem;
	}
	#top_menu_wrap .box_menu .txt ul {
		padding-left: 2rem;
	}
	#top_menu_wrap .box_menu .txt ul li {
		font-size: 1.4rem;
	}

	/* contents2 */
	#top_contents2 {
		padding-top: 30px;
		padding-bottom: 30px;
	}

	/* 新着情報 */
	#top_tab_wrap {
		margin-bottom: 30px;
	}

	/* タブ */
	#top_tab_title {
		display: none !important;
	}

	#top_tab_detail {
		padding: 0px;
	}
	#top_tab_detail .top_tab_detail_box {
		display: block !important;
		margin-top: 1px;
	}

	#top_tab_detail .hide.acc_title {
		width: auto;
		height: auto;
		overflow: visible;
		width: auto;
		height: auto;
		overflow: visible;
		border: 1px solid #eeeeee;
		font-size: 1.4rem;
		font-family: var(--fontfamily-normal, sans-serif);
		font-weight: normal;
		line-height: 1.8rem;
		text-align: center;
		padding: 10px;
	}
	#top_tab_detail .news1 .hide.acc_title { background: #d6ffff; }
	#top_tab_detail .news2 .hide.acc_title { background: #ffffe0; }
	#top_tab_detail .news3 .hide.acc_title { background: #ffe0e0; }
	#top_tab_detail .news4 .hide.acc_title { background: #e0ffff; }
	#top_tab_detail .news5 .hide.acc_title { background: #e0ffe0; }

	#top_tab_detail .hide.acc_title.acc_open {
		font-size: 1.6rem;
		font-family: var(--fontfamily-bold, sans-serif);
		font-weight: bold;
	}

	#top_tab_detail .acc_title.accordion .accordion_icon {
		margin: -10px;
		padding: 10px 40px;
		background-image: url("/img/nw/sp/sp-acc-open.png");
		background-size: auto;
	}
	#top_tab_detail .acc_title.accordion.acc_open .accordion_icon {
		background-image: url("/img/nw/sp/sp-acc-close.png");
	}

	.color_change #top_tab_detail .acc_title.accordion .accordion_icon {
		background-image: url("/img/nw/sp/sp-acc-open-white.png");
	}
	.color_change #top_tab_detail .acc_title.accordion.acc_open .accordion_icon {
		background-image: url("/img/nw/sp/sp-acc-close-white.png");
	}

	/* 新着情報（リスト） */
	.top_tab_detail_list ul li {
		display: block;
		width: auto;
		padding: 15px 5px;
		position: relative;
	}
	.top_tab_detail_list ul li > span {
		display: block;
	}
	.top_tab_detail_list ul li > span.article_date {
		width: auto;
		padding-top: 0px;
	}
	.top_tab_detail_list ul li a {
		display: block;
		background: url("/img/nw/sp/arrow_r.png") no-repeat right center transparent;
		background-size: 8px auto;
		padding-right: 15px;
		text-decoration: none;
	}

	/* 新着情報（情報はありません） */
	.top_tab_detail_box p.no_data {
		padding: 20px 0px;
	}

	/* 新着情報（newアイコン） */
	.top_tab_detail_list ul li:has(img.icon_new) > span.article_date {
		padding-left: 135px;
	}
	.top_tab_detail_list ul li:has(img.icon_new) img.icon_new {
		margin: 0px;
		position: absolute;
		top: 17px;
		left: 90px;
	}

	.news1 .top_tab_detail_list ul li:has(img.icon_new) > span.article_date {
		padding-left: 45px;
	}
	.news1 .top_tab_detail_list ul li:has(img.icon_new) img.icon_new {
		left: 5px;
	}
	.news1 .top_tab_detail_list ul li:has(img.icon_new):has(img[src*="/img/nw/news/icon-news-"]) > span.article_date {
		padding-left: 135px;
	}
	.news1 .top_tab_detail_list ul li:has(img.icon_new):has(img[src*="/img/nw/news/icon-news-"]) img.icon_new {
		left: 90px;
	}

	/* 新着情報（分類アイコン） */
	.top_tab_detail_list ul li .article_title {
		position: static;
		padding-left: 0px;
	}
	.top_tab_detail_list ul li .article_date {
		padding-left: 85px;
	}

	.news1 .top_tab_detail_list ul li .article_date {
		padding-left: 0px;
	}
	.news1 .top_tab_detail_list ul li:has(img[src*="/img/nw/news/icon-news-"]) .article_date {
		padding-left: 85px;
	}

	.top_tab_detail_list ul li img[src*="/img/nw/news/icon-news-"] {
		top: 12px;
		left: 0px;
		width: auto;
		height: 24px;
	}
	.top_tab_detail_list ul li .article_title::before {
		top: 12px;
		left: 0px;
		width: 78px;
		height: 24px;
		background-size: contain;
	}

	.font_size_changed .top_tab_detail_list ul li:has(img[src*="/img/nw/news/icon-news-"]) .article_date,
	.font_size_changed .top_tab_detail_list ul li:has(img.icon_new):has(img[src*="/img/nw/news/icon-news-"]) > span.article_date,
	.font_size_changed .top_tab_detail_list ul li > span.article_date,
	.font_size_changed .top_tab_detail_list ul li:has(img.icon_new) > span.article_date {
		padding-left: 0px;
		padding-top: 30px;
	}

	/* 新着情報（一覧 / RSS） */
	.top_tab_detail_box .link_box {
		margin: 0px;
		padding: 10px 0px 30px;
	}
	.top_tab_detail_box .link_box a {
		padding-top: 15px;
		padding-bottom: 15px;
	}

	/* 重要なお知らせ */
	#top_important {
		margin-bottom: 30px;
		padding: 25px 20px;
		display: block;
	}
	#top_important .top_important_ttl {
		min-width: auto;
	}
	#top_important .top_important_ttl h3 {
		font-size: 1.8rem;
		margin-bottom: 0.5em;
		text-align: center;
	}

	#top_important .top_important_list {
		width: auto;
	}

	#top_important ul li {
		display: block;
		width: auto;
	}
	#top_important ul li > span {
		display: block;
	}
	#top_important ul li > span.article_date {
		width: auto;
		padding-top: 0px;
	}
	#top_important ul li a {
		display: block;
		background: url("/img/nw/sp/arrow_r.png") no-repeat right center transparent;
		background-size: 8px auto;
		padding-right: 15px;
		text-decoration: none;
	}

	#top_important .link_box {
		padding-top: 20px;
	}
	#top_important .link_box a {
		padding-top: 15px;
		padding-bottom: 15px;
	}

	/* 周産期母子医療センター */
	#top_medical_center {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		    -ms-flex-direction: column;
		        flex-direction: column;
		-ms-flex-wrap: nowrap;
		    flex-wrap: nowrap;
	}
	#top_medical_center .img img {
		width: 100%;
		height: auto;
	}
	#top_medical_center .txt_bg .txt {
		width: auto;
		max-width: none;
		margin-left: var(--mymainback-margin-side, 15px);
		margin-right: var(--mymainback-margin-side, 15px);
		padding: 30px 0px;
	}
	#top_medical_center .txt_bg .txt h3 {
		font-size: 2.2rem;
		margin-bottom: 0.5em;
		text-align: center;
	}
	#top_medical_center .txt_bg .txt p {
		font-size: 1.4rem;
	}
	#top_medical_center .txt_bg .txt p.link {
		margin-top: 20px;
		text-align: center;
	}
	#top_medical_center .txt_bg .txt p.link a {
		padding-top: 15px;
		padding-bottom: 15px;
	}

	/* 増改築工事 */
	#top_info {
		padding-top: 30px;
	}

	#top_info_construction {
		display: block;
	}
	#top_info_construction .ttl {
		width: auto;
	}
	#top_info_construction .ttl h3 {
		font-size: 2.2rem;
		margin-bottom: 0.5em;
		text-align: center;
	}
	#top_info_construction .ttl p {
		font-size: 1.4rem;
	}

	#top_info_construction .link {
		width: 100%;
		padding-top: 20px;
		gap: 15px;
	}

	#top_info_construction .box_link {
		width: 100%;
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-ms-flex-wrap: nowrap;
		    flex-wrap: nowrap;
		-webkit-box-pack: start;
		    -ms-flex-pack: start;
		        justify-content: flex-start;
		-webkit-box-align: stretch;
		    -ms-flex-align: stretch;
		        align-items: stretch;
	}

	#top_info_construction .box_link .img {
		width: 50%;
	}
	#top_info_construction .box_link .txt {
		width: 50%;
		-webkit-box-sizing: border-box;
		        box-sizing: border-box;
		padding: 20px;
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-ms-flex-wrap: wrap;
		    flex-wrap: wrap;
		-webkit-box-pack: start;
		    -ms-flex-pack: start;
		        justify-content: flex-start;
		-webkit-box-align: center;
		    -ms-flex-align: center;
		        align-items: center;
		font-size: 1.6rem;
		line-height: 1.5;
	}
	#top_info_construction .box_link .txt br.pc_none {
		display: block;
	}
	/* デバイスが横向きの場合 */
	@media (orientation: landscape){
		#top_info_construction .box_link .img {
			width: 25%;
		}
		#top_info_construction .box_link .txt {
			width: 75%;
		}
		#top_info_construction .box_link .txt br.pc_none {
			display: none;
		}
	}

	/* メインメニュー2（バナー3） */
	#top_banner_3_list {
		margin-top: 30px;
		padding-top: 30px;
		gap: 30px;
	}
	#top_banner_3_list .box {
		width: 100%;
		max-width: 600px;
		background: #ffffff;
	}

	#top_banner_3_list .box .box_img,
	#top_banner_3_list .box .box_img .img {
		aspect-ratio: 335 / 130;
	}

	#top_banner_3_list .box .box_txt {
		padding: 20px 20px 25px;
	}
	#top_banner_3_list .box .box_txt .ttl {
		font-size: 1.6rem;
	}
	#top_banner_3_list .box .box_txt .txt {
		font-size: 1.2rem;
	}

	/* contents3 */
	#top_contents3 {
		padding-top: 30px;
		padding-bottom: 30px;
	}

	/* アクセス */
	#top_contents3 .box_map {
		margin-bottom: 30px;
	}
	#top_contents3 .box_map iframe {
		width: 100%;
		height: auto;
		aspect-ratio: 375 / 300 !important;
	}
	/* デバイスが横向きの場合 */
	@media (orientation: landscape){
		#top_contents3 .box_map iframe {
			aspect-ratio: 2 / 1 !important;
		}
	}

}
/* ==================================================
スマートフォン ここまで
================================================== */