@charset "utf-8";
/* CSS Document */

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

#main-contents #flow #notice {
	margin-bottom: 20px;
	padding: 20px;
	border-radius: 8px;
	text-align: center;
	border: 0px solid #f9f4ee;
	background-color: #f9f4ee;
}

#main-contents #flow #notice h3 {
	color: #231815;
}
#main-contents #flow #notice h4 {
	color: #231815;
}

@media screen and (min-width: 768px) {
	.order-list {
		padding-left: 35px;
	}
}

@media screen and (min-width: 1280px) {

}
/* -------------------------------------------- */


.outro {
	position: relative;
	background-color: #f9f4ee;
	border-radius: 8px;
	padding: 40px 20px 20px;
}

.outro__ttl {
	margin-bottom: 0.5em !important;
	font-size: 110% !important;
	font-weight: bold;
}

.outro__icon {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	margin: auto;
	width: 40px;
	height: 40px;
	padding: 10px;
	transform: translateY(-50%);
	stroke-width: 1;
	display: block;
	background-color: #fff;
	border-radius: 50%;
	color: var(--color-link);
}

@media only screen and (min-width: 768px) {
	.outro {
		padding: 50px 20px;
	}
	.outro p {
		text-align: center;
	}
	
	.outro__ttl {
		font-size: 120% !important;
	}
}

/* time-table ---------------------------------------------------------------- */

.time-table {
	position: relative;
}

@media screen and (min-width: 768px) {
	.time-table {
		position: static;
	}
}

.time-table section {
	width: 100%;
	margin-bottom: 0;
}

.time-table h4 {
	font-size: 1.6rem;
	font-weight: bold;
	text-align: center;
	margin-bottom: 20px;
}

.time-table h4 span {
	display: block;
	font-size: 1.1rem;
}

.time-table p {
	margin: 30px 0;
	font-size: 1.2rem;
}

@media screen and (min-width: 1280px) {
	.time-table h4 {
		font-size: 2.0rem;
	}
}


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

.time-table__table-outer {
	overflow-x: auto;
	margin: 0 -25px 40px;
}

@media screen and (min-width: 768px) {
	.time-table__table-outer {
		margin: 0 0 40px;
	}
}

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

.time-table__table {
	position: relative;
	margin: 0;
	margin-left: 25px;
	width: 100%;
	min-width: 700px;
	border-collapse: separate;
	margin-top: 40px;
	font-size: 1.2rem;
}

.time-table__table:after {
	position: absolute;
	content: '';
	width: 25px;
	height: 100%;
	top: 0;
	right: -25px;
}

.time-table__table:first-child {
	margin-top: 0;
}

.time-table__table tr {
	box-sizing: border-box;
}

.time-table__table th,
.time-table__table td {
	text-align: center;
	vertical-align: middle;
	line-height: 1.6;
	border-right: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
}

.time-table__table th {
	height: 40px;
	font-weight: bold;
	background-color: rgb(242, 242, 242);
}

.time-table__table th:first-child {
	border-left: 1px solid #ddd;
}

.time-table__table th.outpatient span {
	font-size: 1.1rem;
	display: inline-block;
	margin-left: 15px;
}

.time-table__table td {
	width: 10%;
	height: 40px;
	padding: 3px;
	box-sizing: border-box;
	vertical-align: middle;
}

.time-table__table td > * {
	margin: 8px 5px;
	line-height: 1.4;
	vertical-align: middle;
}



.time-table__table .subject {
	position: -webkit-sticky;
	position: sticky;
	left: 0;
	z-index: 1;
	width: 10%;
	padding: 5px;
}

.time-table__table .subject:last-child {
	border-bottom: 1px solid rgba(0,0,0,0.1);
}

.time-table__table .subject .note {
	font-weight: normal;
	font-size: 1.2rem;
}

.time-table__table .thead th {
	position: -webkit-sticky;
	position: sticky;
	left: 0;
	height: 40px;
	border: 1px solid #ddd;
	border-left: none;
	vertical-align: middle;
}

.time-table__table .thead:last-child th {
	border-top: none;
	vertical-align: middle;
}

.time-table__table .thead th:first-child {
	border-left: 1px solid #ddd;
	vertical-align: middle;
}

.time-table__table .thead th:last-child {
	
}

.time-table__table .subject:last-child {
	border-bottom: none;
}

.time-table__table tr:first-child > *:first-child {
	border-radius: 8px 0 0 0;
}

.time-table__table tr:first-child > *:last-child {
	border-radius: 0 8px 0 0;
}

.time-table__table .last th:first-child,
.time-table__table tr:last-child > th:first-child {
	/*border-radius: 0 0 0 8px;*/
}

.time-table__table tr:last-child > *:last-child {
	/*border-radius: 0 0 8px 0;*/
}

.time-table__table > *:last-child tr:last-child > th:first-child {
	border-radius: 0 0 0 8px;
}

.time-table__table > *:last-child tr:last-child > *:last-child {
	border-radius: 0 0 8px 0;
}


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

	.time-table__table {
		position: static;
		min-width: 100%;
		margin: 0;
	}

	.time-table__table:after {
		content: none;
	}

}

@media screen and (min-width: 1280px) {

	.time-table__table {
		font-size: 1.3rem;
	}

	.time-table__table th,
	.time-table__table td {
		font-size: 1.3rem;
		vertical-align: middle;
	}

	.time-table__table td a {
		cursor: help;
		vertical-align: middle;
	}

}

@media screen and (min-width: 1440px) {

	.time-table__table tr,
	.time-table__table td {
		transition: background 0.05s ease-in-out;
		vertical-align: middle;
	}

	.time-table__table tr:hover {
		background-color: #698cc80f;
		font-weight: bold;
	}

	.time-table__table .hover {
		background-color: #698cc80f;
	}

}


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


.goal {
	counter-reset: goalnum;
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.goal__item {
	
}

.goal__img {
	width: 80%;
	margin: auto;
}

.goal__img img {
	display: block;
	max-width: 180px;
	width: 100%;
	margin: auto;
}

.goal__contents {
	text-align: justify;
}

.goal__ttl {
	text-align: center;
}

.goal__ttl::before {
	content: "Goal " counter(goalnum, decimal-leading-zero);
	counter-increment: goalnum;
	display: block;
	width: fit-content;
	padding: 6px 12px;
	margin: 0 auto 8px;
	line-height: 1;
	font-size: 1.2rem;
	border-radius: 15px;
	color: #fff;
	background-color: var(--color-link);
}

@media (min-width: 768px) {
	.goal {
		flex-direction: row;
	}
	
	.goal__item {
		flex: 1;
	}
	
	.goal__img {
		width: 100%;
		margin: auto;
	}
}

@media (min-width: 1600px) {
	.goal {
		gap: 60px;
	}
}

.CoreTechnology__img {
	position: relative;
	display: block;
	width: calc(100% + 50px);
	margin-left: -25px;
	margin-bottom: 30px;
}

.CoreTechnology__img picture {
	display: block;
}

.CoreTechnology__img img {
	display: block;
	width: 100%;
	border-radius: 0;
}

/* -------------------------------------------- */
#main-contents #welbes_center {
	width: 100%;
	max-width: 400px;
	margin: 0 auto;
}

/* -------------------------------------------- */
/* 
#main-contents #welbes_left {
	overflow: visible;
}


#main-contents #welbes_left h3 {
	clear: both;
	width: 100%;
}
	


#main-contents #welbes-image {
	width: 100%;
	max-width: 280px;
	margin: 0 auto 20px;
}

#main-contents #welbes-image + p {

}



@media screen and (min-width: 768px) {
	#main-contents #welbes_left {
		float: right;
		margin: 0 0 0 30px;
	}
	#main-contents #welbes-image {
		float: left;
		max-width: 350px;
		margin: 0 30px 0 0;
	}
}

@media screen and (min-width: 1280px) {

	#main-contents #welbes-image + p {
		margin-left: 380px;
		padding-top: 30px;
	}

	#main-contents #welbes_left #note {
		margin-left: 380px;
	}
}
 */

/* -------------------------------------------- */
/*
#main-contents #welbes_right {
	width: 100%;
	max-width: 300px;
	margin: 0 auto 100px;
}

#main-contents #welbes_right figcaption {
	font-size: 1.2rem;
}

#main-contents #welbes_right figcaption strong {
	font-size: 1.4rem;
}

@media screen and (min-width: 768px) {
	#main-contents #welbes_right {
		float: right;
		margin: 0 0 0 30px;
	}
}
*/
/*

#main-contents figure .welbes {
	width: 100%;
	max-width: 320px;
	margin: 0 auto 40px;
	text-align: center;
	font-family: FOT-マティス Pro DB, MatissePro-DB, serif;
}

.lower-contents .main-contents h3 {
	line-height: 1.8;
}

#main-contents .text {
	margin-top: 2em;
}

#main-contents .text > * {
	margin-top: 1.5em;
	margin-bottom: 0;
}

#main-contents .text > *:first-child {
	margin-top: 0;
}

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

}

@media screen and (min-width: 1280px) {

	#main-contents figure figcaption {
		font-size: 2.2rem;
	}

	#main-contents figure figcaption span {
		font-size: 1.4rem;
	}

	#main-contents figure .welbes {
		float: left;
		margin: 0;
		margin-right: 50px;
	}
} */

