@charset "UTF-8";

html {
	font-size: 100%;
}
body {
	background-color: #f0f0f0;
	color: #000;
	font-size: 0.875rem;
	margin-top: 80px;
}
a {
	color: #000;
	font-size: 0.875rem;
	text-decoration: none;
}
img {
	max-width: 100%;
	vertical-align: bottom;
}
li {
	list-style: none;
}

.logo {
	width: 300px;
	line-height: 1px;
	margin-right: 60px;
}
.logo a {
	display: block;
}
.section-title {
	font-weight: normal;
	line-height: 1;
	margin-bottom: 50px;
}

.section-title::after {
	content: '';
	width: 40px;
	height: 1px;
	background-color: #000;
	display: block;
}

.section-title .en {
	display: block;
	font-size: 2.25rem;
	letter-spacing: 0.3em;
	margin-bottom: 10px;
}
.section-title .ja {
	display: block;
	font-size: 0.875rem;
	margin-bottom: 36px;
}

.wrapper {
	width: 100%;
	max-width: 1032px;
	padding: 0 16px;
	margin: 0 auto;
}

/*-------------------------------------------
追従するバナーやボタン
-------------------------------------------*/
.fixed_banner {
	position: fixed; /* 追従させる為にfixedの値を記述します */
	z-index: 99999; /* 他の要素の下に隠れないように全面配置させます */
	top: 460px;
	right: 0; 
	width: 50px;
	height: 126px;
}

.fixed_banner2 {
	position: fixed; /* 追従させる為にfixedの値を記述します */
	z-index: 99999; /* 他の要素の下に隠れないように全面配置させます */
	top: 650px; 
	right: 0; 
	width: 50px;
	height: 126px;
}
	
.fixed_banner_pc {
	width: 60px; /* バナーの横幅を指定してあげます */
}

.floating-banner:hover {
	opacity: 0.33; /* マウスが重なった時に少し透過させます */
}

.fixed_banner_sp {
	display: none; /* PCではスマホ用のバナーは非表示にします */
}

@media screen and (max-width: 767px) { /* メディアクエリを使ってスマホ用のブレイクポイントを指定 */
	.fixed_banner_sp {
	display: inline-block; /* 消していたスマホ用のバナーを表示させます */
	}

	.fixed_banner_pc {
	display: none; /* スマホではPC用のバナーは非表示にします */
	}
}

/*-------------------------------------------
ヘッダー
-------------------------------------------*/
#header {
	background-color: #fff;
	height: 80px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: fixed;
    top: 0;
    z-index: 999;
    width: 100%;
}
#header .inner {
	display: flex;
	align-items: center;
}
#header .inner ul {
	display: flex;
	align-items: center;
	margin-left: 100px;
}
#header .inner li {
	margin-right: 30px;
	text-align: center;
}
#header .inner li:last-child {
	margin-right: 0;
}
#header .contact {
	width: 200px;
	height: 80px;
	line-height: 80px;
	background-color: #000;
	color: #fff;
	font-size: 0.75rem;
	display: inline-block;
	text-align: center;
}
#header .contact:hover {
	background-color: #333;
}
.base {
	position: fixed;
	display: flex;
	top: 0px;
	bottom: 0px;
	left: 0px;
	right: 0px;
	flex-direction: column;
	align-items: center
}

/*-------------------------------------------
Mainvisual
-------------------------------------------*/

#mainvisual {
	position: relative;
	margin-bottom: 50px;
}

/* #main-visualに対して同じ大きさの箱を絶対配置する */
#mainvisual .mv-inner {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
/* その中で、wrapperはヘッダー同様に中央配置する。ただし、flexとして内部の要素を横並びにする */
#mainvisual .wrapper {
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-between;
}
/* 内部の画像には効かないように、メインビジュアルには固有のクラスを付ける */
#mainvisual .mv-image {
	width: 100%;
	height: calc(100vh - 80px);
	object-fit: cover;
}

#mainvisual .mv-free {
	width: 20%;
}

/* pはフォントのスタイルだけ残す */
#mainvisual p {
	/* position: absolute;
	top: 0;
	left: 0; */
	font-size: 50px;
	font-family: serif;
	color: #000000;
	padding: 0;
	/* margin: 50px 50px; */
}

/*-------------------------------------------
News
-------------------------------------------*/
#news {
	margin-bottom: 50px;
	padding-top: 80px;
}
#news .list {
	display: flex;
	justify-content: space-between;
}

#news .list li {
	width: calc(100% / 3);
	border-right: solid 1px #000;
	padding: 10px 20px;
}
#news .list li:first-child {
	padding-left: 0;
}
#news .list li:last-child {
	border-right: none;
	padding-right: 0;
}
#news .list li .date-area {
	margin-bottom: 16px;
}
#news .list li .date-area span {
	width: 50px;
	height: 20px;
	line-height: 20px;
	background-color: #000;
	color: #fff;
	display: inline-block;
	font-size: 0.75rem;
	margin-left: 10px;
	text-align: center;
}

/*-------------------------------------------
misson
-------------------------------------------*/
#misson {
	display: flex;
	margin-bottom: 60px;
	padding-top: 80px;
}
#misson .img {
	width: 55%;
}
#misson .img img {
	width: 100%;
	height: 400px;
	object-fit: cover;
}
#misson .text {
	width: 45%;
	padding: 180px 5% 0 5%;
}
#misson .text p {
	line-height: 2.2;
}

/*-------------------------------------------
merit
-------------------------------------------*/
#merit {
	margin-bottom: 120px;
	padding-top: 80px;
}
#merit .flex {
	display: flex;
	justify-content: space-between;
	padding: 0 10%;
}
#merit .flex .left {
	width: 46%;
	margin-top: 100px;
}
#merit .flex .right {
	width: 46%;s
}
#merit .flex .item {
	margin-bottom: 50px;
}
#merit .flex .item:last-child {
	margin-bottom: 0;
}
#merit .flex .title {
	font-weight: bold;
	margin: 0 0 10px 18px;
	position: relative;
}

#merit .flex .title::before {
	content: '';
	width: 8px;
	height: 5px;
	background-color: #000;
	position: absolute;
	top: 50%;
	left: -18px;
}

/*-------------------------------------------
apply
-------------------------------------------*/
#apply {
	/* height: 750px; */
	/* display: flex; */
	align-items: center;
	position: relative;
}
#apply .text {
	/* width: 55%; */
	background-color: #fff;
	padding: 100px 8% 100px 6%;
	/* position: absolute; 通常レイアウトではabsoluteは使わない方がよい */
	top: 0;
	left: 0;
}
#apply .img {
	width: 100%;
	position: absolute;
	top: 115px;
	right: 0;
}
#apply .img img {
	width: 100%;
	height: 400px;
	object-fit: cover;
}
#apply .info {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}
#apply .info dt {
	width: 20%;
	margin-top: 10px;
}
#apply .info dt:first-of-type {
	margin-top: 0;
}
#apply .info dd {
	width: 80%;
	margin-top: 10px;
}
#apply .info dd:first-of-type {
	margin-top: 0;
}
#apply .info .add {
	margin-left: 20%;
}
.entry-box {
	display: flex;
	margin-top: 40px;
	align-items: center;
	position: relative;
}
.entry-box .button-area {
	position: relative;
	z-index: 2;
	width: 400px;
}
.entry-box .image-area {
	position: relative;
	width: calc(100% - 400px);
}
.entry-box .image-area .wrap {
	background: #ccc;
	width: calc(100% + 50px);
	margin-left: -50px;
}
.entry-box .image-area .wrap img {
	display: block;
	width: 100%;
	height: auto;
}
.entry-box.reverse {
	flex-direction: row-reverse;
}
.entry-box.reverse .image-area .wrap {
	width: calc(100% + 50px);
	margin-left: 0;
	margin-right: -50px;
}

/*-------------------------------------------
specialfavor
-------------------------------------------*/
#specialfavor {
	margin-top: 20px;
	padding-bottom: 30px;
	margin-bottom: 0;
}

#specialfavor .p {
	margin-left: 50px;
}

.spe-text {
	margin-left: 20px;
	font-size: 1.00rem;
}
/*-------------------------------------------
application
-------------------------------------------*/
.app-flex {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin-top: 20px;
	margin-left: 0;
	margin-right: 50px;
	margin-bottom: 100px;
}
.app-img {
	margin-top: 0px;
	margin-left: 20px;
	margin-right: 50px;
}
.app-text {
	margin-top: 15px;
	margin-left: 50px;
	margin-right: 50px;
	font-size: 1.2rem;
}

/*-------------------------------------------
region
-------------------------------------------*/
#region {
	margin: 0 auto 0px auto;
	background-color: #fff;
}

#region-flex {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin-top: 20px;
	margin-bottom: 0;
	padding-bottom: 30px;
}
#region-flex .item {
	width: calc((100% - 20px) / 2);
}
#region-flex .item img {
	width: 100%;
}
.reg-title span {
	font-size: 3.0rem;
}

/*-------------------------------------------
organizing
-------------------------------------------*/
#organizing {
	background-color: #fff;
	padding-bottom: 30px;
	font-family: serif;
}

/*-------------------------------------------
footer
-------------------------------------------*/
#footer {
	background-color: #fff;
}
#footer .flex {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
#footer .flex .logo {
	margin-right: 50px;
}
#footer .inner {
	align-items: center;
	margin: 0 auto 0 auto;
	padding-top: 20px;
	padding-bottom: 20px;
}

/*-------------------------------------------
SP
-------------------------------------------*/
@media screen and (max-width: 767px) {
	.logo {
		width: 200px;
		margin: 8px 0;
	}
	.section-title {
		margin-bottom: 34px;
	}
	.section-title .ja {
		margin-bottom: 24px;
	}
	.wrapper {
		margin-top: 0;
		padding: 0 16px;
		margin-bottom: 0;
	}

	/*-------------------------------------------
	ヘッダー
	-------------------------------------------*/
	#header {
		position: fixed;
		top: 0;
		z-index: 999;
		width: 100%;
		height: 90px;
	}

	#header .inner {
		flex-direction: column;
		align-items: flex-start;
		margin-bottom: 0;
	}
	#header .inner ul {
		display: flex;
		align-items: center;
		margin: 0 auto;
	}
	#header .inner li {
		margin-right: 30px;
		text-align: center;
		font-size: 10px;
	}

	/*-------------------------------------------
	Mainvisual
	-------------------------------------------*/
	#mainvisual {
		margin-bottom: 80px;
	}
	#mainvisual .mv-image {
		width: 100%;
		height: 300px;
		object-fit: cover;
		margin-top: 0;
	}
	#mainvisual p {
		font-size: 20px;
		font-family: serif;
		color: #000000;
		padding: 0;
		width: 220px;
		margin-top: 20px;
	}
	#mainvisual .mv-free {
		margin-top: 10px;
		width: 120px;
	}
	/*-------------------------------------------
	News
	-------------------------------------------*/
	#news {
		margin-bottom: 80px;
	}
	#news .list {
		flex-direction: column;
	}
	#news .list li {
		width: 400px;
		border-right: none;
		padding: 10px 0;
		margin-bottom: 20px;
	}
	#news .list li:last-child {
		margin-bottom: 0;
	}

	/*-------------------------------------------
	misson
	-------------------------------------------*/
	#misson {
		display: grid;
		margin-bottom: 60px;
		padding-top: 80px;
	}
	#misson .img {
		width: 100%;
	}
	#misson .img img {
		width: 100%;
		height: 300px;
		object-fit: cover;
	}
	#misson .text {
		width: 100%;
		padding: 180px 5% 0 5%;
	}
	/*-------------------------------------------
	About
	-------------------------------------------*/
	#about {
		flex-direction: column;
		margin-bottom: 80px;
	}
	#about .img {
		width: 100%;
		margin-bottom: 30px;
	}
	#about .img img {
		height: 300px;
	}
	#about .text {
		width: 100%;
		padding: 0 16px;
	}

	/*-------------------------------------------
	merit
	-------------------------------------------*/
	#merit {
		margin-bottom: 80px;
	}
	#merit .flex {
		flex-direction: column; /*flexアイテムを縦並びに変更*/
		padding: 0;
	}
	#merit .flex .left {
		width: 100%;
		margin: 0 0 30px 0;
	}
	#merit .flex .right {
		width: 100%;
	}
	#merit .flex .item {
		text-align: center;
		margin-bottom: 30px;
	}
	#merit .flex .title {
		text-align: left;
	}

	/*-------------------------------------------
	apply
	-------------------------------------------*/
	
	/* PCのCSSを全てリセットする */
	.entry-box,
	.entry-box.reverse {
		display: flex;
		flex-direction:column-reverse;
		gap:20px;
	}
	.entry-box .button-area {
		width: 100%;
	}
	.entry-box .image-area {
		width: 100%;
	}
	.entry-box .image-area .wrap ,
	.entry-box.reverse .image-area .wrap {
		width: 100%;
		margin-right: 0px;
		margin-left: 0px;
	}
	.entry-box .image-area .wrap img ,
	.entry-box.reverse .image-area .wrap img {
		width: 100%;
	}
	.app-text {
		width: 400px;
		margin-top: 10px;
		margin-left: 30px;
		font-size: 1rem;
	}

	/*-------------------------------------------
	midvisual
	-------------------------------------------*/

	#midvisual .midv-image {
		width: 100%;
	}
	/*-------------------------------------------
	footer
	-------------------------------------------*/
	#footer .flex {
		display: grid;
		padding-top: 0;
		padding-right: 20px;
		padding-bottom: 0;
	}
	#footer .flex .logo {
		margin-right: 0;
		margin-bottom: 10px;
	}
	#footer .info {
		margin-right: 0;
		font-size: 9px;
	}
}