@charset "utf-8";

/* ========================================================
	index.css => index
======================================================== */

@media screen and (min-width: 769px), print {
	body.first #header {
		background: none;
		-webkit-box-shadow: none;
		box-shadow: none;
	}
	body.first #header .gnav li > a {
		color: #fff;
	}
	body.first #header .gnav li > a::before {
		border-color: #fff;
	}
	#header .tel a {
		display: block;
		position: relative;
	}
	#header .tel a::before {
		content: "";
		position: absolute;
		top: 0;
		left: 0;
		width: 226px;
		height: 26px;
		background: url(/common/images/head/tel_w.png) no-repeat;
		-webkit-background-size: 100%;
		background-size: 100%;
		opacity: 0;
	}
	body.first #header .tel a {
		color: #fff;
	}
	body.first #header .tel a img {
		opacity: 0;
	}
	body.first #header .tel a::before {
		opacity: 1;
	}

	#header {
		-webkit-transition: background .3s, -webkit-box-shadow .3s;
		-o-transition: background .3s, box-shadow .3s;
		transition: background .3s, box-shadow .3s;
	}

	#container {
		padding-top: 0;
	}
}
#footer {
	margin-top: 0;
}


/* main
============================================================================================================ */
#main {
	position: relative;
	height: 900px;
	max-height: 100vh;
	background-position: 50%;
	background-repeat: no-repeat;
	-webkit-background-size: cover;
	background-size: cover;
	letter-spacing: 2px;
	text-shadow: 0 0 10px rgba(0, 0, 0, .1)
}
#main .text {
	position: relative;
	top: 50%;
	text-align: center;
	color: #fff;
	font-size: 2.6rem;
	line-height: 1.8;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	transform: translateY(-50%);
	z-index: 2;
}
#main .text .en {
	margin: 30px 0 20px;
}
#main .text .en + p {
	font-size: 2.4rem;
	font-weight: bold;
}
#main .text .btn {
	margin-top: 40px;
}
#main .text .btn a {
	display: block;
	width: 270px;
	margin: auto;
	border: 2px solid #fff;
	color: #fff;
	text-decoration: none;
	font-size: 1.8rem;
	font-weight: bold;
}
#main .text .btn a > span {
	display: inline-block;
	padding: 8px 0 8px 50px;
	background: url(/images/ico_home.png) no-repeat 0;
	-webkit-background-size: 34px;
	background-size: 34px;
}
@media screen and (min-width: 769px), print {
	#main {
		background-image: url(/images/main_ph.jpg);
	}
	#main .text .btn a:hover {
		background-color: rgba(255,255,255,.2);
	}
}
@media screen and (max-width: 768px) {
	#main {
		height: 400px;
		padding: 0 10px;
		background-image: url(/images/main_ph_sp.jpg);
	}
	#main .text {
		font-size: 1.8rem;
	}
	#main .text .en {
		margin: 20px 0 15px;
	}
	#main .text .en img {
		width: 340px;
	}
	#main .text .en + p {
		font-size: 1.8rem;
	}
	#main .text .btn {
		margin-top: 20px;
	}
	#main .text .btn a {
		font-size: 1.4rem;
	}
	#main .text .btn a > span {
		padding: 8px 0 8px 40px;
		-webkit-background-size: 30px;
		background-size: 30px;
	}
}




/* SERVICE
============================================================================================================ */
#indexService {
	padding-top: 60px;
	padding-bottom: 70px;
}
#indexService a {
	display: block;
	color: #333;
	text-align: center;
	text-decoration: none;
}
@media screen and (min-width: 769px), print {
	#indexService ul {
	}
	#indexService li {
		float: left;
	}
	#indexService li + li {
		margin-left: 45px;
	}
	#indexService a {
	}
	#indexService a img {
		max-width: 100%;
		height: auto;
	}
	#indexService a .box_btn {
		margin-top: 30px;
	}
}
@media screen and (max-width: 768px) {
	#indexService {
		padding-top: 30px;
		padding-bottom: 30px;
	}
	#indexService ul {
	}
	#indexService li + li {
		margin-top: 25px;
	}
	#indexService a .box_btn {
		margin-top: 10px;
	}
}




/* indexSeminar
============================================================================================================ */
#indexSeminar {
	background-color: #ebf1f3;
	text-align: center;
}
#indexSeminar > h1 {
	background-color: #e4ecef;
}
#indexSeminar .contents {
	font-size: 1.8rem;
	font-weight: bold;
}
#indexSeminar .contents .ico_title::before {
	background-color: transparent;
	background-image: url(/images/ico_news.png);
	border-radius: 0;
}
#indexSeminar .contents p + p {
	margin-top: 20px;
}
#indexSeminar .contents .btn {
	margin-top: 40px;
}
@media screen and (min-width: 769px), print {
	#indexSeminar {
		display: table;
		width: 100%;
		height: 650px;
		table-layout: fixed;
	}
	#indexSeminar > * {
		display: table-cell;
		vertical-align: middle;
	}
	#indexCorporate h1 {
		width: 320px;
	}
	#indexCorporate .link_list {
		padding: 20px 30px;
	}
	#indexCorporate .link_list li + li {
		margin-top: 10px;
	}
}
@media screen and (max-width: 768px) {
	#indexSeminar {
		margin-top: 30px;
	}
	#indexSeminar > h1 {
		padding: 30px 0;
	}
	#indexSeminar > h1 img {
		width: 260px;
	}
	#indexSeminar .contents {
		padding: 25px 0 50px;
		font-size: 1.3rem;
	}
}

/* Four cards; override the original float and clearfix layout. */
#indexService ul {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;}
#indexService ul::after {display:none;}
#indexService li {float:none;min-width:0;}
#indexService li + li {margin:0;}
#indexService a img {display:block;width:100%;height:auto;aspect-ratio:33/20;object-fit:cover;}
#indexService a .box_btn {width:100%;max-width:200px;padding:12px 6px;}
@media screen and (max-width:768px) {
 #indexService ul {grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px;}
 #indexService a .box_btn {font-size:1.2rem;}
 #indexService .en_title {overflow-wrap:anywhere;}
}
