@charset "utf-8";
/*==================================================
  Top page
==================================================*/
#top_ttl picture,
#top_ttl img {
	display: block;
	width: 100%;
	max-width: none;
}
/* Business
--------------------------------------------------*/
#top_business {
	position: relative;
}
#top_business::before {
	height: 400px;
	background: url("../img/top/bg-business.jpg") no-repeat center / cover;
}
#top_business h3.sub {
	color: #fff;
	margin-bottom: 80px;
}
#top_business h3.sub .jp {
	color: #fff;
}
#top_business h3.sub .jp::before {
	background: #eee;
}
#top_business .box {
	width: 340px;
	position: relative;
}
#top_business .box:nth-of-type(2) {
	top: -20px;
}
#top_business .box:nth-of-type(3) {
	top: -40px;
}
#top_business .img {
	margin-bottom: 25px;
}
#top_business .img img {
	width: 100%;
	border-radius: 10px;
}
#top_business dt {
	margin-bottom: 12px;
	font-size: 30px;
	line-height: 1.5;
}
#top_business dd {
	font-size: 110%;
}
/* Greeting
--------------------------------------------------*/
#top_greeting {
	position: relative;
}
#top_greeting .txt {
	width: 600px;
	font-size: 110%;
}
#top_greeting .prf {
	width: 600px;
	margin-top: 26px;
	padding-top: 16px;
	border-top: 1px solid #003391;
	display: flex;
}
#top_greeting .prf dt {
	width: 150px;
	font-size: 20px;
}
#top_greeting .prf dd {
	width: calc(100% - 150px);
	padding-top: 5px;
	font-size: 110%;
}
#top_greeting .img {
	position: absolute;
	top: 70px;
	right: -20px;
	width: 430px;
	display: flex;
	justify-content: flex-end;
	column-gap: 22px;
	z-index: 1;
}
#top_greeting .img::before {
	top: -50px;
	left: auto;
	right: 0;
	width: calc( (100vw - 1100px) / 2 + (1100px - 400px) );
	height: 400px;
	background: #eee url("../img/bg-dot.png");
}
#top_greeting .img::after {
	left: auto;
	right: 0;
	width: calc( (100vw - 1100px) / 2 + (1100px - 420px) );
	height: 20px;
	background: rgba(0, 51, 145, 0.08);
	top: auto;
	bottom: -107px;
}
#top_greeting .img img {
	border-radius: 10px;
	position: relative;
}
#top_greeting .img img:first-of-type {
	top: 50px;
}
#top_greeting .img img:nth-of-type(2) {
	left: 25px;
}
@media only screen and (max-width: 1150px) {
	#top_greeting .img {
		right: 0;
	}
	#top_greeting .img::before {
		right: -25px;
		width: 380px;
	}
	#top_greeting .img::after {
		right: -25px;
		width: 360px;
	}
	#top_greeting .img img:nth-of-type(2) {
		left: 10px;
	}
}

/* Lower links
--------------------------------------------------*/
#top_link {
	display: flex;
	width: 100%;
}
#top_link a {
	overflow: hidden;
	position: relative;
	width: 50%;
	height: 200px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.5);
	color: #fff;
	font-size: 30px;
	font-weight: bold;
	display: flex;
	align-items: center;
	justify-content: center;
}
#top_link a:nth-child(1) {
	background-image: url("../img/top/link01.jpg");
}
#top_link a:nth-child(2) {
	background-image: url("../img/top/link02.jpg");
}
#top_link a::before {
	position: absolute;
	top: 0;
	left: 0;
	width: 0;
	height: 0;
	border-top: 20px solid var(--color-red);
	border-right: 20px solid transparent;
	content: "";
}
#top_link a:hover {
	box-shadow: inset 0 0 0 1000px rgba(0, 51, 145, 0.5);
	filter:alpha(opacity=100);
	-moz-opacity: 1;
	opacity: 1;
}
#top_link a:hover::before {
	opacity: 1;
}
/* Gallery
--------------------------------------------------*/
#top_gallery {
	position: relative;
	margin-bottom: 110px;
}
#top_gallery::before {
	top: 120px;
	width: calc( (100vw - 1100px) / 2 + (1100px - 800px) );
	height: 1330px;
	background: #eee url("../img/bg-dot.png");
}
#top_gallery::after {
	width: calc( (100vw - 1100px) / 2 + (1100px - 820px) );
	height: 20px;
	background: rgba(0, 51, 145, 0.08);
	top: 100px;
}
@media only screen and (max-width: 1150px) {
	#top_gallery::before {
		width: 300px;
	}
	#top_gallery::after {
		width: 280px;
	}
}
#top_gallery .txt {
	position: relative;
	text-align: right;
	margin-bottom: 72px;
	font-size: 110%;
}
#top_gallery .txt::before {
	position: absolute;
	width: 200px;
	text-align: left;
	top: -10px;
	left: auto;
	right: -60px;
	color: #eee;
	content: "GALLERY";
	font-size: 250px;
	line-height: 1;
	writing-mode: vertical-rl;
	z-index: -1;
	font-family: var(--font-ysabeau);
}
@media only screen and (max-width: 1150px) {
	#top_gallery .txt::before {
		right: -90px;
	}
}
#top_gallery .imgs {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
	z-index: 0;
}
#top_gallery .imgs img {
	width: 100%;
	border-radius: 5px;
}
#top_gallery .imgs .full {
	grid-column: 1 / -1;
}
@media only screen and (max-width: 768px) {  /* タブレット以下 */
	#top_business::before {
		height: 250px;
	}
	#top_business .list {
		column-gap: 26px;
	}
	#top_business .box {
		width: calc((100% - 52px) / 3);
	}
	#top_business dt {
		font-size: 18px;
	}
	#top_business dd,
	#top_greeting .txt,
	#top_gallery .txt {
		font-size: 105%;
	}
	#top_greeting {
		min-height: 0;
		padding-bottom: 70px;
	}
	#top_greeting .txt,
	#top_greeting .prf {
		width: 100%;
	}
	#top_greeting .img {
		position: relative;
		top: auto;
		right: auto;
		width: 100%;
		margin-top: 40px;
		justify-content: center;
	}
	#top_greeting .img::before {
		top: -20px;
		height: 300px;
	}
	#top_greeting .img::after {
		bottom: -37px;
	}
	#top_greeting .img img:first-of-type {
		top: auto;
	}
	#top_greeting::after {
		top: auto;
		right: auto;
		bottom: 40px;
		left: 50%;
		width: 100vw;
		height: 220px;
		transform: translateX(-50%);
	}
	#top_link a {
		font-size: 20px;
		height: 150px;
	}
	#top_gallery {
		margin-bottom: 50px;
	}
	#top_gallery::before {
		top: 230px;
		height: 101vw;
	}
	#top_gallery::after {
		top: 210px;
	}
	#top_gallery h3.sub {
		margin-bottom: 20px;
	}
	#top_gallery .txt {
		width: 100%;
		margin-bottom: 60px;
	}
	#top_gallery .txt::before {
		display: none;
	}
	#top_gallery .imgs {
		gap: 20px;
	}
}
@media only screen and (max-width: 640px){ /* スマホ */
	#top_business::before {
		height: 250px;
	}
	#top_business h3.sub {
		margin-bottom: 40px;
	}
	#top_business .list {
		display: block;
	}
	#top_business .box {
		width: 100%;
		margin-bottom: 40px;
	}
	#top_business .box:nth-of-type(2), #top_business .box:nth-of-type(3) {
		top: auto;
	}
	#top_business .box:last-child {
		margin-bottom: 0;
	}
	#top_business .img {
		margin-bottom: 10px;
	}
	#top_business dt {
		margin-bottom: 8px;
	}
	#top_business dt br {
		display: none;
	}
	#top_business dd, #top_greeting .txt, #top_gallery .txt {
		font-size: 100%;
	}
	#top_greeting .prf {
		display: block;
	}
	#top_greeting .prf dt,
	#top_greeting .prf dd {
		width: 100%;
	}
	#top_greeting .prf dt {
		font-size: 18px;
	}
	#top_greeting .prf dd {
		margin-top: 6px;
	}
	#top_greeting .img {
		column-gap: 10px;
	}
	#top_greeting .img::before {
		width: 70%;
		height: 219px;
	}
	#top_greeting .img::after {
		width: calc(70% - 20px);
	}
	#top_greeting .img img {
		width: 135px;
	}
	#top_link a {
		height: 100px;
	}
	#top_gallery {
		margin-bottom: 40px;
	}
	#top_gallery::before {
		top: 250px;
		height: 180vw;
	}
	#top_gallery::after {
		top: 230px;
	}
	#top_gallery .txt {
		text-align: left;
		margin-bottom: 50px;
	}
	#top_gallery .imgs {
		grid-template-columns: repeat(2, 1fr);
		gap: 14px;
	}
	#top_gallery .imgs::before {
		display: none;
	}
	#top_gallery .imgs::after {
		top: -90px;
		right: -55px;
		font-size: 70px;
	}
}
@media only screen and (max-width: 320px){ /* スマホ */
	#top_gallery::before {
		top: 280px;
	}
	#top_gallery::after {
		top: 260px;
	}
}