/* ここから当機構の役割 */

.role-mechanism {
	font-weight: normal;
}

.role-mechanism div section {
	margin: 0 auto;
}

.role-mechanism .role-mechanism-main-business {
	width: 1070px;
	max-width: 100%;
	margin: 0 auto;
}

.role-mechanism-main-business h2 {
	font-size: .27rem;
	font-weight: bold;
	margin-bottom: 10px;
}

.role-mechanism-main-business--container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.role-mechanism-main-business--container img {
	width: 227px;
}

.in-page-link02,
.in-page-link03,
.in-page-link04,
.in-page-link05 {
	margin-left: -20px;
}

.in-page-link02 {
	z-index: 5;
}

.in-page-link03 {
	z-index: 4;
}

.in-page-link04 {
	z-index: 2;
}

.in-page-link05 {
	z-index: 3;
}

.role-mechanism h3 {
	font-size: .26rem;
	position: relative;
	z-index: 5;
	padding-top: 50px;
	margin-bottom: 15px;
	font-family: var(--font-maru);
	font-weight: var(--font-weight-b);
}

.h3__title-o::before,
.h3__title-g::before,
.h3__title-y::before,
.h3__title-b::before,
.h3__title-p::before {
	position: absolute;
	content: '';
	display: inline-block;
	width: 58px;
	height: 55px;
	background-size: cover;
	background-repeat: no-repeat;
	vertical-align: middle;
	z-index: -1;
	top: 48px;
	left: -28px;
	bottom: 0;
	margin: 0 auto;
}

.h3__title-o::before {
	background-image: url(../../images/role-title-o.svg);
}

.h3__title-g::before {
	background-image: url(../../images/role-title-g.svg);
}

.h3__title-p::before {
	background-image: url(../../images/role-title-p.svg);
}

.h3__title-y::before {
	background-image: url(../../images/role-title-y.svg);
}

.h3__title-b::before {
	background-image: url(../../images/role-title-b.svg);
}

.quality-improvement {
	background-color: #FFE9D9;
}

.study-reserch {
	background-color: #E6F7D2;
}

.support-dissemination {
	background-color: #FCE9F2;
}

.international-exchange {
	background-color: #E3F8FF;
}

.necessary-business {
	background-color: #FFF9D0;
}

.role-mechanism section > p {
	margin-bottom: 35px;
}

.role-mechanism section {
	margin: 0 auto;
	padding-bottom: 30px;
}

.role-mechanism-general__list {
	max-width: 100%;
	display: flex;
	flex-wrap: wrap;
	width: 900px;
	justify-content: space-between;
	margin-bottom: -40px;
}

.role-mechanism-general__list::after {
	display: block;
	content: "";
	width: 280px;
}

.role-mechanism-general__box {
	width: 282px;
	max-width: 100%;
	position: relative;
	margin-bottom: 80px;
}

.role-mechanism-general__box h4 {
	font-size: .23rem;
	font-weight: 500;
	line-height: 1.3;
	margin-bottom: 15px;
	letter-spacing: -0.001em;
}

.role-mechanism-general__abot {
	font-size: .16rem;
	color: #1E2160;
	line-height: 1.5;
	margin-bottom: 10px;
	font-family: var(--font-maru);
	font-weight: var(--font-weight-m);
}

.role-mechanism__picture {
	margin-bottom: 8px;
}

.role-mechanism__button--box p {
	font-size: .12rem;
}

.quality-improvement__button {
	border: solid 2px #3E6EB3;
	text-align: center;
	position: relative;
	bottom: 0;
	width: 100%;
	border-radius: 7px;
	margin-top: 25px
}

.quality-improvement__button::before {
	content: "";
	position: absolute;
	display: inline-block;
	top: 24px;
	bottom: 0;
	margin: 0 auto;
	left: 14px;
	width: 10px;
	height: 10px;
	border-top: 3px solid #3E6EB3;
	border-right: 3px solid #3E6EB3;
	transform: rotate(45deg);
}

.quality-improvement__button a {
	color: #3E6EB3;
	font-weight: bold;
	font-size: .17rem;
	display: block;
	background-color: #fff;
	padding: 13px 0;
	border-radius: 7px;
}

.eceq__button {
	background-color: #1C58AD;
	position: relative;
	bottom: 0;
	text-align: center;
	box-shadow: 6px 6px #FFAB41;
}

.eceq__button::before {
	content: "";
	position: absolute;
	top: 22px;
	bottom: 0;
	left: 14px;
	width: 13px;
	height: 13px;
	border-top: 3px solid #fff;
	border-right: 3px solid #fff;
	transform: rotate(45deg);
}

.eceq__button a {
	margin-top: 25px;
	color: #fff;
	font-weight: bold;
	font-size: .17rem;
	padding: 12px 0;
	display: block;
}

.international-exchange h4 {
	width: calc(100% + 50px);
	margin: 0 -50px 15px 0;
}

.nternational-exchange .role-mechanism-general__abot {
	margin: 0 -50px 10px 0;
	width: calc(100% + 50px);
}

.role-mechanism-general__matter a {
	text-decoration: underline;
	color: #3E6EB3;
}

@media screen and (min-width:768px) and ( max-width:960px) {
	.page__intro,
	.role-mechanism section {
		padding: 0 40px;
	}
	.h3__title-o::before,
	.h3__title-g::before,
	.h3__title-y::before,
	.h3__title-b::before,
	.h3__title-p::before {
		left: -12px;
	}
	.role-mechanism-general__list {
		justify-content: space-between;
		margin-bottom: 0;
	}
	.role-mechanism .role-mechanism-main-business{
		padding-bottom: 30px;
	}
	.role-mechanism-general__box{
		width: 30%;
	}
	.role-mechanism-general__list::after{
		width: 30%;
	}
}

@media screen and (max-width: 767px) {
	.role-mechanism section {
		padding: 0 20px;
	}
	.page__intro {
		padding: 0 20px;
	}
	h3,
	h3 + p,
	.role-mechanism-general__matter {
		line-height: 1.5;
	}
	.role-mechanism-general__matter {
		margin-bottom: 10px;
	}
	.h3__title-o::before,
	.h3__title-g::before,
	.h3__title-y::before,
	.h3__title-b::before,
	.h3__title-p::before {
		left: -15px;
	}
	.role-mechanism-main-business--container img {
		width: auto;
	}
	.role-mechanism-main-business h2 {
		margin-bottom: 18px;
	}
	.role-mechanism-main-business--container a {
		width: 48%;
	}
	.role-mechanism-main-business h2 {
		text-align: center;
	}
	.role-mechanism .role-mechanism-main-business {
		margin: 0 auto 50px;
	}
	.role-mechanism-main-business--container a:last-child {
		margin-top: -17px;
	}
	.role-mechanism-general__list {
		margin-bottom: 0;
		justify-content: space-around;
	}
	.role-mechanism h3 {
		padding-top: 36px;
	}
	.role-mechanism-general__box {
		margin-bottom: 60px;
		display: flex;
		flex-direction: column;
	}
	.h3__title-o::before,
	.h3__title-g::before,
	.h3__title-y::before,
	.h3__title-b::before,
	.h3__title-p::before {
		left: -12px;
		top: 33px;
		width: 41px;
		height: 41px;
	}
	.role-mechanism h3 {
		font-size: .28rem;
	}
	.role-mechanism__picture {
		margin-bottom: 20px;
	}
	.role-mechanism-general__box {
		margin-bottom: 60px;
	}
	.role-mechanism-general__box {
		display: flex;
		flex-direction: column;
		margin-bottom: 40px;
	}
	.role-mechanism-general__abot {
		order: 1;
		margin-bottom: 0;
		font-size: .18rem;
		text-align: center;
	}
	.role-mechanism-general__box h4 {
		order: 2;
		text-align: center;
		margin: 7px auto 19px;
		font-size: .26rem;
	}
	.role-mechanism__picture {
		order: 3;
	}
	.role-mechanism-general__matter {
		order: 4;
	}
	.quality-improvement__button,
	.eceq__button,
	.role-mechanism__button--box {
		order: 5;
		margin-top: 8px;
	}
	
	.eceq__button a{
	margin-top:0;
	}
}