/* Description: Master CSS file */

/*****************************************
Table Of Contents:
- General Styles
- Navigation
- Slider
- Button
- Topcommon
- News
- Banner
- Back To Top Button
- Extra Pages
- Media Queries
******************************************/

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Noto+Serif+JP:wght@200..900&display=swap');
/**************************/
/*     General Styles     */
/**************************/
:root {
	--primary: #0C87F0;
	--primary-light: #E2EDF7;
	--secondary: ;
}

body {
	font-family: 'Noto Sans JP', sans-serif;
	font-weight:400;
	-webkit-font-smoothing:antialiased;
	-webkit-text-size-adjust:100%;
	-webkit-text-size-adjust:none;
	font-feature-settings:"palt";
	line-height: 1.8;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Noto Sans JP', sans-serif;
	letter-spacing: 0.1em;
}

h1 {
	font-size: 60px;
	font-weight: 500;
}

button {
	font-family: 'Noto Sans JP', sans-serif;
}

p,
ul,
h4 {
	margin: 0;
	padding: 0;
	letter-spacing: 0.05em;
	line-height: 1.6;
}

li {
  	list-style-type: none;
}

a {
	color: #00A4CE;
}

.footer {
  	background-color: #2E2E2E;
	font-size: 14px;
}
.footer-bottom {
	background-color: var(--primary);
	color: #FFF;
	padding: 20px 0;
}

.footer a {
	color: #FFF;
	text-decoration: none;
}

.text-right {
	text-align: right;
}

.breadcrumb-item a {
	color: #2E2E2E;
}
.breadcrumb-item.active {
	color: var(--primary);
}

/*.navbar-nav a:hover,
.navbar-dark .navbar-nav .nav-link.active {
	cursor: pointer;
	background-clip: text;
	-webkit-background-clip: text;
}*/

.table {
	color: #2E2E2E;
	border-color: var(--primary);
	white-space: nowrap;
}
.table tr th {
	color: var(--primary);
	background-color: #E2EDF7;
}
.table tr td {
	background-color: #F4F4F4;
}

.table-wrap .table {
	width: auto;
}


/**********************/
/*     Navigation     */
/**********************/
.navbar {
	font-weight: 700;
	font-size: 1rem;
	line-height: 1rem;
	background-color: rgba(255,255,255,1.00);
	box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.025);
	width: 96%;
	margin: 0 auto;
	/*height: 80px;*/
}

.navbar .navbar-brand {
	padding-top: 0.25rem;
	padding-bottom: 0.25rem;
	margin-right: 0;
}

.navbar .logo-image img {
	width: 100%;
	height: 48px;
}

.navbar .logo-text {
	color: #707070;
	font-weight: 500;
	line-height: 1rem;
	font-size: 1.575rem;
	text-decoration: none;
}

.dropdown-toggle::after {color: var(--primary);}

.offcanvas-collapse {
	position: fixed;
	top: 80px; /* adjusts the height between the top of the page and the offcanvas menu */
	bottom: 0;
	left: 100%;
	width: 80%;
	overflow-y: auto;
	visibility: hidden;
	padding-right: 1rem;
	padding-left: 1rem;
	background-color: rgba(255,255,255,.9);
	transition: transform 0.2s ease-in-out, visibility 0.2s ease-in-out;
	height: 80%;
}

.offcanvas-collapse.open {
	visibility: visible;
	transform: translateX(-100%);
}

.navbar .navbar-nav {
	margin-top: 0.75rem;
	margin-bottom: 0.5rem;
}

.navbar .dropdown-menu {
	border: none;
	margin-top: 0.25rem;
	margin-bottom: 0.25rem;
	background-color: var(--primary);
	border-radius: 0;
	padding: .8rem .5rem;
}

.navbar .dropdown-item {
	color: #eee;
	font-weight: 600;
	font-size: 1rem;
	line-height: 1rem;
	/*padding-top: 0.625rem;*/
	text-decoration: none;
	/*padding-bottom: 0.625rem;*/
	background-color: transparent;
}
.navbar .dropdown-item.nav-ex::after {
	display: inline-block;
	content: '\f35d';
   	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	color: #FFF;
	background: none;
} 

.navbar .dropdown-item::after {
	display: inline-block;
	content: '';
   	width: 1em;
	height: 1em;
	background: url("../images/common/ico-arr-white.png") no-repeat;
	background-size: contain;
	border: none;
	transform: none;
	vertical-align: middle;
	margin-left: 5px;
}

.navbar .dropdown-item:hover {
  	background-color: var(--primary);
}

.navbar .dropdown-divider {
	width: 100%;
	height: 1px;
	border: none;
	margin: 0.5rem auto 0.5rem auto;
	background-color: var(--primary);
}

.navbar .nav-item .nav-link {
	text-decoration: none;
	transition: all 0.2s ease;
	color: #707070;
}

.navbar .navbar-toggler {
	border: none;
	font-size: 2rem;
	border-radius: 0;
	background-color: var(--primary);
}
.navbar-toggler-icon {
  	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
	background-size: 80%;
}

/* Dropdown Menu */
.navbar .dropdown .dropdown-menu {
  	animation: fadeDropdown 0.2s; /* required for the fade animation */
}

@-webkit-keyframes fadeDropdown {
	0% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}

@keyframes fadeDropdown {
	0% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}


.domain::before {
   content: '@';
}

/**********************/
/*     Slider     */
/**********************/
#slider {
	overflow: hidden;
  	position: relative;
}
.carousel-item img {
	width: 100%;
	height: 700px;
	object-fit: cover;
	object-position: 0 0;
}
.carousel-caption h2 {
	font-family: "Noto Serif JP", serif;
	font-size: 43px;
	font-weight: 700;
	color: #2E2E2E;
	letter-spacing: 2px;
	text-shadow:white 2px 0px 2px, white -2px 0px 2px,
    white 0px -2px 2px, white -2px 0px 2px,
    white 2px 2px 2px, white -2px 2px 2px,
    white 2px -2px 2px, white -2px -2px 2px,
    white 1px 2px 2px, white -1px 2px 2px,
    white 1px -2px 2px, white -1px -2px 2px,
    white 2px 1px 2px, white -2px 1px 2px,
    white 2px -1px 2px, white -2px -1px 2px,
    white 1px 1px 2px, white -1px 1px 2px,
    white 1px -1px 2px, white -1px -1px 2px;
}
.carousel-caption .copy-box {
	width: 96%;
	margin: 0 auto;
	background-color: rgba(255,255,255,.8);
	border-top: 8px solid var(--primary);
	color: #000;
	padding: 30px 50px;
}
.carousel-caption .copy-box h3 {
	font-size: 24px;
}
.carousel-caption .copy-box p {
	font-size: 16px;
	width: 96%;
	margin: 0 auto;
	text-align: left;
}

@media (max-width: 767.98px) {
	.carousel-item img {
		height: 320px;
	}
	.carousel-caption {
		position: static;
	}
	.carousel-caption h2 {
		font-size: 24px;
		padding: 0 20px;
	}
	.carousel-caption .copy-box h3 {
        font-size: 20px;
    }
	.carousel-caption .copy-box p {
		width: 100%;
	}
	.carousel-caption .copy-box {
		width: 100%;
		background-color: rgba(0,0,0,.1);
		padding: 20px;
	}
}


/******************/
/*     Button     */
/******************/
.btn {
	color: var(--primary);
	border-radius: 0;
	border: 2px var(--primary) solid;
	font-weight: 700;
	letter-spacing: 0.05em;
	/*font-size: 18px;*/
	background: url("../images/common/ico-arr.png") no-repeat 90% 50%;
	padding: .75rem 4rem .75rem 2rem;
	white-space: nowrap;
}

.btn-down {
	color: var(--primary);
	border-radius: 0;
	border-bottom: 2px var(--primary) solid;
	font-weight: 700;
	letter-spacing: 0.05em;
	background: url("../images/common/ico-arr-down.png") no-repeat 95% 50%;
	padding: .75rem 4rem .75rem 2rem;
	white-space: nowrap;
	text-decoration: none;
}

.btn:hover,
.btn-down:hover {
	color: #FFF;
	border-radius: 0;
	/*transform: translate(5px, 5px);*/
	background-color: rgba(12 134 240 / 0.6);
}

.ex-link::before {
	display: inline-block;
	content: '';
    width: 18px;
    height: 18px;
	background: url("../images/common/ex-link.png") no-repeat;
	background-size: contain;
	border: none;
	transform: none;
	vertical-align: middle;
	margin-right: 0.2em;
}

.btn-ex {
	color: var(--primary);
	border-radius: 0;
	border: 2px var(--primary) solid;
	font-weight: 700;
	letter-spacing: 0.05em;
	font-size: 18px;
	background: url("../images/common/ex-link.png") no-repeat 95% 50%;
	padding: .75rem 4rem .75rem 2rem;
	white-space: nowrap;
	display: inline-block;
	margin-top: 20px;
	text-decoration: none;
}
.btn-ex:hover {
	background-color: rgba(12 134 240 / 0.6);
}


/********************/
/*     Topcommon     */
/********************/
.gray-bk {
	background: linear-gradient(180deg, white 0 50%, #F5F5F5 50% 100%);
}

.en-title {
	font-family: "Poppins", sans-serif;
	font-weight: 600;
	color: var(--primary);
	font-size: 24px;
}

.cont-title {
	font-family: "Noto Serif JP", serif;
	font-size: 32px;
	font-weight: 700;
	color: #000;
	margin-bottom: 40px;
}

.blue-line {
	height: 2px!important;
	background-color: var(--primary);
	width: 24%;
	opacity: 1;
}

.btn-wrap {
	padding: 20px 0;
	display: flex;
	flex-wrap: wrap;
}
.btn-wrap li {
	margin:0 10px 15px 0;
}

#recruit {
	background: url("../images/top/bg-recruit.jpg") no-repeat 0 0;
	background-size: cover;
}

#recruit .text-box {
	background-color: rgba(255,255,255,.6);
	padding: 20px;
}

#recruit .btn {
  color: #FFF;
  border: 2px #FFF solid;
  background: transparent url("../images/common/ico-arr-white.png") no-repeat 95% 50%;
}
#recruit .btn:hover {
  color: #FFF;
  background-color: rgba(255 255 255 / 0.3);
}

/**********************/
/*     News     */
/**********************/
#infoTab {
	column-gap: 15px;
}
/*#infoTab li {
	flex: 1;
}*/
.nav-tabs {
  	border-bottom: 8px solid var(--primary);
}
.nav-tabs .nav-link {
    margin-bottom: -1px;
    background: 0 0;
    border: 2px solid var(--primary);
    border-top-left-radius: 0;
    border-top-right-radius: 0;
	white-space: nowrap;
	padding: .75rem 4rem .75rem 2rem;
}
.nav-tabs .nav-link.active {
    color: #FFF;
    background-color: var(--primary);
	border-color: var(--primary);
}
.tab-content {
	background-color: #F4F4F4;
	padding: 30px;
	/*min-height: 400px;*/
}

.news-item {
	display: flex;
    padding: 20px;
	border-bottom: solid 1px #D6D6D6;
}
.news-item dt {
	width: 20%;
}
.news-item dd {
	width: 80%;
    margin-left: 0;
}
.news-item:last-of-type {
	border: none;
}

@media (max-width: 767.98px) {
	#infoTab { 
		column-gap:0;
	}
	.nav-tabs .nav-link {
   		white-space: normal;
		padding: 0.75rem 0;
	}
	.tab-content {
		padding: 10px 10px 40px;
	}
	.news-item {
		flex-direction: column;
	}
	.news-item dt,
	.news-item dd {
		width: 100%;
	}
}

/**********************/
/*     Banner     */
/**********************/
.banner-box {
	display: flex;
	flex-wrap: wrap;
}
.banner-box li {
  	width:calc(100% / 4 + 1px);
	margin-top: -1px;
	margin-left: -1px;
}
.banner-box li img {
	width: 100%;
}
@media (max-width: 767.98px) {
	.banner-box li {
        width:calc(100% / 2);
    }
}

/******************************/
/*     Back To Top Button     */
/******************************/
#myBtn {
	z-index: 99;
	right: 20px;
	width: 52px;
	height: 52px;
	bottom: 20px;
	border: none;
	outline: none;
	display: none;
	position: fixed;
	cursor: pointer;
	border-radius: 0;
	background-color: var(--primary);
}

#myBtn:hover {
  	background-color: var(--primary-light);
}

#myBtn img {
	width: 18px;
	margin-left: 0.125rem;
	margin-bottom: 0.25rem;
}


/***********************/
/*     Extra Pages     */
/***********************/
.main-title {
	background: url("../images/common/bg-title.jpg") 0 0 no-repeat;
	background-size: cover;
	height: 300px;
	display: flex;
	align-items: center;
}
.main-title h2 {
	font-family: "Noto Serif JP", serif;
	font-weight: 700;
	color: #FFF;
	font-size: 36px;
}

.breadcrumb {
	margin-top: 1rem;
}

.main-cont .cont-title {
	font-family: "Noto Serif JP", serif;
	font-size: 32px;
	font-weight: 700;
	color: var(--primary);
	margin-bottom: 40px;
	border-bottom: 2px solid #D6D6D6;
	padding-bottom: 10px;
	position: relative;
}
.main-cont .cont-title::before {
	content: '';
	position: absolute;
	width: 10%;
	height: 2px;
	background: var(--primary);
	bottom: -2px;
	
}

.main-cont p {
	margin-bottom: 1rem;
	line-height: 34px;
}

.main-cont .figure-img {
	margin-bottom: 0;
}
.main-cont .figure-caption {
	background-color: var(--primary);
	color: #FFF;
	padding: 8px 20px;
	text-align: left;
}
.main-cont .figure-caption .name {
	font-size: 1.2em;
	font-weight: 700;
}
.main-cont .figure-caption .en-name {
	display: inline-block;
	line-height: 1.2;
}

.page-nav {
	margin: 40px 0 80px;
}
.page-nav ul {
    display: flex;
	flex-wrap: wrap;
} 
.page-nav ul li {}
.page-nav ul li a {
	margin-right: 20px;
	display: inline-block;
	
}
.page-nav ul li:last-child a {
	margin-right: 0;
} 

.medical-sec .cont-title {
	margin-bottom: 30px;
	margin-top: 80px;
}
.medical-sec .headline {
	font-family: "Noto Serif JP", serif;
	color: var(--primary);
	font-size: 1.5em;
	margin-bottom: 15px;
}
.medical-sec .btn-wrap {
	padding-top: 0;
	margin-bottom: 50px;
}
.medical-sec h4 {
	font-family: "Noto Serif JP", serif;
	color: var(--primary);
	border-bottom: 2px solid #D6D6D6;
	border-left: 2px solid var(--primary);
	padding: 0 0 10px 1em;
	margin: 40px 0 20px;
}
.medical-sec ol li {
	list-style-type: decimal;
	margin-bottom: 0.5em;
}
.medical-sec h5 {
	font-family: "Noto Serif JP", serif;
	color: var(--primary);
	display: flex;
    align-items: flex-start;
}
.medical-sec h5::before {
	content: "";
	display: inline-block;
	width: 15px;
	height: 15px;
	background-color: #CEE4F7;
	margin-right: 8px;
	margin-top: 7px;
}

.medical-sec h5 + p {
	padding-left: 1.5rem;
}

/*  greeting  */
.point-box {
	background-color: #E2EDF7;
	padding: 20px 40px;
	color: var(--primary);
	font-size: 1.2em;
	font-family: "Noto Serif JP", serif;
	font-weight: 700;
	margin-bottom: 2rem;
}
.point-box ul li::before {
	content: "";
	width: 20px;
	height: 1px;
	display: inline-block;
	background-color: var(--primary);
	position: relative;
	top: -0.4em;
	margin-right: 10px;
}
/*.point-box ul li {
	display: flex;
	align-items: center;
}
.point-box ul li::before {
	border-top: 1px solid var(--primary);
	content: "";
	width: 2em;
	margin-right: 1em;
}

/*  outpatient  */
#outpatient-list table {
	color: #2E2E2E;
	border-color: var(--primary);
	white-space: nowrap;
}
#outpatient-list table tr th {
	text-align: center;
	color: var(--primary);
	background-color: #E2EDF7;
}
#outpatient-list table tr td {
	text-align: center;
	background-color: #F4F4F4;
}
#outpatient-list table tr th:first-child,
#outpatient-list table tr td:first-child {
    width: 100px;
}

/* mer */
.mer.table-wrap table td {
	width: 30%;
}

/*  staff  */
.main-cont .staff-box {
	margin-bottom: 3em;
}

.main-cont .staff-box dl dt {
	color: var(--primary);
	border-bottom: 1px solid #D6D6D6;
	padding-bottom: 10px;
	margin-bottom: 8px;
}
.main-cont .staff-box dl dd {
	margin-bottom: 1rem;
}
.main-cont .staff-box .message-box {
	background-color: #F4F4F4;
	padding: 20px;
}
.main-cont .staff-box .message-box h4 {
	color: var(--primary);
	font-size: 1em;
	font-weight: bold;
	border-bottom: 1px solid #D6D6D6;
	padding-bottom: 10px;
	margin-bottom: 8px;
}
.main-cont .staff-box .message-box p {
	margin-bottom: 0;
}

.main-cont .staff-list h3 {
	font-family: "Noto Serif JP", serif;
	color: var(--primary);
	border-bottom: 2px solid #D6D6D6;
	padding: 0 0 10px 1em;
	font-size: 1.5em;
	margin-bottom: 30px;
}
.main-cont .staff-list dl {
	margin-bottom: 3em;
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}
.main-cont .staff-list dl .dl-inner {
	border: 1px solid #D6D6D6;
	padding: 20px;
	width: calc( (100% - 40px) / 3);
}
.main-cont .staff-list dl .dl-inner dt {
	font-size: 0.8em;
}
.main-cont .staff-list dl .dl-inner dd {
	font-weight: 700;
	font-size: 1.2em;
}

@media (max-width: 767.98px) {
	.main-cont .staff-list dl .dl-inner {
        border: 1px solid #D6D6D6;
        padding: 20px;
        width: calc( (100% - 20px) / 2);
    }
	.main-cont .staff-box .message-box {
		padding: 20px;
	}
}

.comment-box {
	background-color: #F8ECF8;
	color: #D50766;
	display: inline-block;
	padding: 20px;
}

.circle-listwrap ul li {
	position: relative;
	margin-bottom: 20px;
}
.circle-listwrap ul li::before {
	display:inline-block; 
    vertical-align: middle;
    content:'';
    width: 0.8em;
    height: 0.8em;
    border: 1px solid #2E2E2E;
    border-radius: 50%;
    margin-right: 8px;
}

.blue-box {
	background-color: #E2EDF7;
	padding: 20px;
	font-family: "Noto Serif JP", serif;
	color: var(--primary);
	font-size: 1.2em;
	margin-bottom: 30px;
	font-weight: 700;
}
.blue-box ol {
	padding-left: 0;
}

.blue-box ol li {
	display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    padding: 0;
	counter-increment: number;
}
.blue-box ol li::before {
    content: "-"counter(number)".";
    margin-right: 5px;
}

.blue-box dl dt {
	position: relative;
	padding-left: 1.2em;
}
.blue-box dl dt::before {
	position: absolute;
	content: "";
	display: inline-block;
	width: 18px;
	height: 1px;
	background: var(--primary);
	top: 50%;
	left: 0;
}
.blue-box dl dd {
	margin-left: 1em;
}

.photo-box {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
}

.map-area {
	position: relative;
	width: 100%;
	padding-top: 56.25%;
	height: 0;
	margin-bottom: 50px;
}
.map-area iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;;
}
#featurecardPanel div .dzWwaf-qqvbed .qqvbed-tJHJj {
  background-color: #0C87F0!important;
}

.facilities tr th {
	text-align: center;
}
.facilities tr th:last-of-type {
	background-color: #F4F4F4;
	color: #2E2E2E;
}
.facilities tr th[colspan="2"] {
	background-color: #CEE4F7;
	color: var(--primary);
}
.facilities tr td:first-of-type {
	background-color: #E2EDF7;
}
.facilities tr td:last-of-type {
	background-color: #EFECEC;
	width: 40%;
}
@media (max-width: 767.98px) {
.facilities tr td:last-of-type {
		width: 100%;
	}
}

/*************************/
/*     Media Queries     */
/*************************/
@media only screen and (min-width: 1200px) {
	#header .container {margin-top:80px;}
}

@media (min-width: 992px) {
	.slider-1 .swiper-container {
		width: 92%;
	}

	.slider-1 .swiper-button-prev {
		left: -16px;
		width: 22px;
		background-size: 22px 34px;
	}

	.slider-1 .swiper-button-next {
		right: -16px;
		width: 22px;
		background-size: 22px 34px;
	}

	/* Navigation */
	.navbar {
		padding-top: 0.5rem;
		padding-bottom: 0.5rem;
		box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.025);
}
	
	.offcanvas-collapse {
		position: static;
		top: auto;
		bottom: auto;
		left: auto;
		width: auto;
		padding-right: 0;
		padding-left: 0;
		background-color: transparent;
		overflow-y: visible;
		visibility: visible;
	}
	
	.offcanvas-collapse.open {
		transform: none;
	}
	
	.navbar-nav > li {
		border-right: 1px solid #D6D6D6;
	}
	.navbar-nav > li:last-child {
		border-right: none;
	} 
	.navbar .nav-item .nav-link {
		padding-right: 1rem;
		padding-left: 1rem;
		color: #707070;
	}
	
	.navbar .dropdown-menu {
		box-shadow: 0 3px 3px 1px rgba(0, 0, 0, 0.08);
		margin-left: 1rem;
	}

	.navbar .dropdown-divider {
		width: 90%;
	}

	.down-btn {
		margin-top: 120px;
		display: block;
	}
	
	#outpatient-list table {
		table-layout: fixed;
	}
	
	.hp-fig {
		width: 60%;
		/*display: block;
		margin: 0 auto;*/
	}
}

@media only screen and (max-width: 540px) {
	h1 {
		font-size: 30px;
	}
	
	.navbar .logo-image img {
        width: auto;
        height: 30px;
    }
	
	.home {
		display: block;
		height: auto;
	}
	.home .container {
        position: relative;
    }
	
	.swiper-container {
		width: 92%;
	}

	.swiper-button-prev {
		left: -16px;
		width: 22px;
		background-size: 22px 34px;
	}

	.swiper-button-next {
		right: -16px;
		width: 22px;
		background-size: 22px 34px;
	}
	
	.main-cont .cont-title {
		font-size: 22px;
	}
	
	.facilities .table {
		white-space: normal;
	}
	.facilities tr th,
	.facilities tr td {
		display: inline-block;
		width: 100%;
	}
	
	figure {
		width: 50%;
	}
}

/* ipad 横向き */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) {
	/*.navbar .navbar-brand {width: 20%;}*/
    .navbar-expand-lg .navbar-collapse {
      	display: flex;
		flex-basis:1!important;
    }
}

/* ipad 縦 */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation:portrait) {
	h1 {
		font-size: 30px;
	}
	
	.home .headline {
        font-size: 30px;
    }
	.home .home-text {
		font-size: 14px;
	}
    .subtext {
        font-size: 30px;
	}
	
	.navbar .logo-image img {
        width: auto;
        height: 40px;
    }
}

/* PCで電話番号リンクを無効に */
@media (min-width: 751px) {
    a[href*="tel:"] {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
  }
}
