@charset "utf-8";

body {
	overflow-x: hidden;
	font-family: "Lato", "Noto Sans JP", "Helvetica Neue", Helvetica, "Hiragino Sans", "Hiragino Kaku Gothic ProN", Arial, "Yu Gothic", Meiryo, sans-serif;
}

.main01_text,
.main01_3s,
.main01_syakun,
.main01_nintei,
.main02_enkaku,
.main02_representative,
.ggmap,
.ggmap iframe {
	max-width: 100%;
}

.main01_text img,
.main01_syakun img,
.main02_enkaku img {
	max-width: 100%;
	height: auto;
}

.header {
	background: rgba(39, 40, 81, 0.7);
	z-index: 11;
}

.header li a:hover {
	color: #fff;
	font-weight: 400;
	opacity: 0.6;
}
.menu .fa-brands{
	margin-right: 10px;
}

h1 {
	float: left;
	height: 80px;
	margin-left: 40px;
}

h1 a {
	display: flex;
	align-items: center;
	height: 80px;
}

h1 img {
	width: auto;
	height: 50px;
}

h1 span {
	color: #fff;
	font-size: 28px;
	margin-left: 10px;
	font-weight: 400;
}

.sp_on {
	display: none;
}

#loading-screen {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 1;
	visibility: visible;
	z-index: 9999;
	transition: opacity 1s ease, visibility 1s ease;
}

#loading-screen.hide {
	opacity: 0;
	visibility: hidden;
}

.loading-logo img {
	width: 180px;
	opacity: 0;
	animation: fadeInLogo 2s ease forwards;
}

@keyframes fadeInLogo {
	to {
		opacity: 1;
	}
}

.fadein {
	opacity: 0;
	transform: translate(0, 80px);
	transition: all 1500ms;
}

body:not(.no-scroll) .fadein.scrollin {
	opacity: 1;
	transform: translate(0, 0);

}

.scalein {
	transition: opacity 1.5s ease-out, transform 1.5s ease-out;
	opacity: 0;
	transform: scale(1.2) translate(0, 0);
}

body:not(.no-scroll) .scalein.scrollin {
	opacity: 1;
	transform: scale(1) translate(0, 0);
}

/* アニメーション前の状態 */
.fade-left {
	opacity: 0;
	transform: translateX(-80px);
	transition: opacity 0.6s ease, transform 0.8s ease;
	transition-delay: 0.5s;
}

/* 画面内に入ったら付くクラス */
body:not(.no-scroll) .fade-left.show {
	opacity: 1;
	transform: translateX(0);
}

.menu-button {
	display: none;
	/* PCでは非表示 */
	width: 34px;
	height: 30px;
	background: none;
	border: none;
	position: relative;
	cursor: pointer;
	float: right;
	margin-right: 15px;
	margin-top: 15px;
}

/* ハンバーガーメニューの3本線 */
.menu-button span {
	display: block;
	width: 100%;
	height: 3px;
	background-color: #fff;
	position: absolute;
	left: 0;
	transition: 0.3s;
}

.menu-button span:nth-child(1) {
	top: 0;
}

.menu-button span:nth-child(2) {
	top: 50%;
	transform: translateY(-50%);
}

.menu-button span:nth-child(3) {
	bottom: 0;
}

/* ハンバーガーメニューをクリックで「×」に変える */
.menu-button.open span:nth-child(1) {
	top: 50%;
	transform: rotate(45deg);
}

.menu-button.open span:nth-child(2) {
	opacity: 0;
	/* 真ん中の線を非表示 */
}

.menu-button.open span:nth-child(3) {
	top: 50%;
	transform: rotate(-45deg);
}

div#hero-slider:after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, 0.3);
	z-index: 1;
	pointer-events: none;
}

.top {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	padding: 20px 40px;
	background: linear-gradient(90deg, rgba(39, 40, 81, 0.9), rgb(5 95 139 / 80%));
	color: #fff;
	text-align: center;
	border-radius: 10px;
	z-index: 10;
	animation: fadeInUp 1.5s ease;
}

.top p {
	background-color: initial;
	padding: 0;
	font-size: 3rem;
	text-align: left;
	line-height: 1.5em;
	color: #FFF;
	display: block;
	margin: 0 auto 0;
	position: relative;
	z-index: 1;
	top: initial;
	left: initial;
	font-weight: 600;
	line-height: 1.6;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
	letter-spacing: 0.03em;
}

body.no-scroll .top {
	animation-play-state: paused;
	opacity: 0;
	/* 完全に非表示でもOK */
}

@keyframes fadeInUp {
	0% {
		opacity: 0;
		transform: translate(-150%, -50%);
	}

	100% {
		opacity: 1;
		transform: translate(-50%, -50%);
	}
}

.main01 {
	height: auto;
}

.main01_text {
	padding: 120px 0;
}

.main01_text p {
	margin: 0;
	text-align: center;
	font-size: 20px;
	line-height: 2.5;
	position: relative;
	text-shadow: initial;
	top: initial;
	left: initial;
}

.main01_syakun {
	height: auto;
	float: none;
}

.main01_box {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	background-color: rgba(255, 255, 255, 0.7);
	width: 1200px;
	max-width: 90%;
	padding: 50px;
	border-radius: 15px;
	margin-top: 80px;
}

.main01_nintei {
	width: 48%;
	margin: 0;
	float: initial;
	display: inline;
	text-align: center;
	line-height: 1.7em;
	background-color: initial;
	color: #333;
	height: auto;
}

.main01_syakun p {
	line-height: 2.5;
}

.main01_3s h2 {
	font-size: 1.8em;
	line-height: 1.8em;
	margin: 0 auto 80px;
	color: #fff;
	width: 80%;
}

.main01_3s h2 span {
	background: #ffac00;
	padding: 0 10px 0 6px;
	margin: 0 3px;
}

.main01_3s .main01_nintei h2 {
	font-size: 1.3em;
	line-height: 1.8em;
	margin: 0 auto 30px;
	background: rgba(39, 40, 81, 1);
	color: #fff;
	padding: 5px;
	width: 80%;
}

.main01_nintei_inner {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

.main01_nintei_left {
	width: 55%;
}

.main01_nintei_right {
	width: 40%;
}

.main01_nintei p {
	width: auto;
	padding: 0;
	line-height: 1.7em;
	text-align: left;
	margin-bottom: 20px;
}

.main01_nintei img {
	padding: 0;
	float: initial;
	width: 100%;
	height: auto;
}

.main01_nintei h3 {
	padding: 0;
	font-size: 1.2em;
	line-height: 1.7em;
	text-align: left;
	margin-bottom: 20px;
}

.main01_3s {
	padding: 100px 0;
	height: auto;
}

.main02_representative_img {
	box-shadow: initial;
}

.main02 {
	height: auto;
	padding-bottom: 120px;
}

.main02_img {
	padding: 120px 0 0;
}

.main03 {
	height: auto;
	padding-bottom: 120px;
}

.main03 table a {
	color: #fff;
}

#page-top {
	position: fixed;
	bottom: 30px;
	right: 20px;
	font-size: 77%;
}

#page-top a {
	background: #333;
	text-decoration: none;
	font-size: 2em;
	color: #fff;
	width: 60px;
	padding: 0;
	text-align: center;
	display: block;
	border-radius: 50%;
	line-height: 60px;
	transition: 0.6s;
}

#page-top a:hover {
	text-decoration: none;
	background: #333;
	opacity: 0.6;
}

.main04 {
	height: auto;
	padding-bottom: 120px;
}

.ggmap {
	max-width: 90% !important;
}

@media (max-width: 768px) {
	body {
		font-size: 15px;
	}

	.header {
		height: initial;
		z-index: 11;
	}

	h1 img {
		height: 40px;
	}

	.pc_on {
		display: none;
	}

	.sp_on {
		display: block;
	}

	.main02 {
		height: auto;
	}

	.main03 {
		height: auto;
	}

	nav ul.menu li {
		text-align: center;
		padding: 10px 0;
		width: 100%;
		float: none;
	}

	h1 {
		margin-left: 15px;
		height: 60px;
	}

	h1 a {
		height: 60px;
	}

	h1 span {
		font-size: 24px;
	}

	nav ul.menu li a {
		color: #fff;
		font-size: 16px;
		line-height: 30px;
	}

	.menu-button {
		display: block;
		/* スマホでは表示 */
		z-index: 11;
	}

	/* メニューが開いたとき */
	nav ul {
		padding: 40px 0 140px;
		box-sizing: border-box;
	}

	nav ul.menu {
		display: none;
		/* flex-direction: column; */
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		background: rgba(67, 60, 55, 0.8);
		padding: 0 0 100px;
		height: 100vh;
		display: block;
		opacity: 0;
		overflow: hidden;
		transition: opacity 0.7s ease-out;
		pointer-events: none;
		margin: 0;
		display: flex;
		flex-direction: column;
		justify-content: space-evenly;
		box-sizing: border-box;
	}

	nav ul.open {
		opacity: 1;
		pointer-events: auto;
		overflow-y: auto;
		float: none;
	}

	.menu-button.open span {
		background-color: #fff;
	}

	.content {
		overflow-x: hidden;
	}

	.top {
		width: 80%;
		padding: 15px;
	}

	.top p {
		font-size: 1.3rem;
	}

	.main01_text {
		padding: 60px 15px;
	}

	.main01_text p {
		text-align: left;
		font-size: 16px;
	}

	.main01_3s {
		padding: 60px 0;
	}

	.main01_3s h2 {
		font-size: 1.2em;
		line-height: 1.8em;
		margin: 0 auto 0;
		width: 90%;
	}

	.main01_syakun p {
		font-size: 16px;
		padding: 0 15px;
		text-align-last: left;
	}

	.main01_syakun img {
		padding: 0 15px;
	}

	.main01_3s .main01_nintei h2 {
		width: 100%;
	}

	.main01_box {
		padding: 25px;
		margin-top: 50px;
	}

	.main01_nintei {
		width: 100%;
	}

	.main01_3s .main01_nintei h2 {
		font-size: 1.2em;
	}

	.main01_nintei {
		margin-bottom: 50px;
	}

	.main01_nintei_left {
		width: 100%;
	}

	.main01_nintei_right {
		width: 80%;
		margin: 0 auto;
	}

	.main02_img {
		padding: 80px 0 0;
	}

	table {
		width: 90%;
	}

	.main02_enkaku {
		padding: 0 15px;
	}

	.main02_enkaku img {
		margin-bottom: 20px;
	}

	.main02_representative_img {
		float: none;
		display: block;
		margin: 0 auto;
	}

	.main02_representative h2 {
		width: 90%;
		float: none;
		margin: 15px auto;
		font-size: 1.3em;
	}

	.main02_representative p {
		width: 90%;
		margin: 0 auto;
		float: none;
		line-height: 1.8;
		font-size: 15px;
	}

	.main02 {
		padding-bottom: 60px;
	}

	th {
		width: 120px;
		line-height: 1.6;
	}

	.button_wrapper a:first-child {
		margin-bottom: 20px;
	}

	.main03 table a {
		color: #fff;
	}

	.main04 {
		padding-bottom: 60px;
	}

	.main04 p {
		padding: 0 15px;
	}
}