@charset "UTF-8";

html {
	width: 100%;
	height: 100%;
	color: #000;
	margin: 0;
	padding: 0;
	font-feature-settings: "palt" 1;
}
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td,figure {
	margin: 0;
	padding: 0;
}

body{
	font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
	letter-spacing: 0.11em;
	counter-reset:number;
	height: 100%;
	overflow-wrap: anywhere;
	word-break: normal;
	line-break: strict;
	-webkit-text-size-adjust: none;
}

table {
	font: 100%;
	font-size: inherit;
	border-collapse: collapse;
	border-spacing: 0;
}
caption,th { text-align:left; }

fieldset,img { border: 0;}

h1,h2,h3,h4,h5,h6 {
	font-size: 100%;
	font-weight: normal;
}
address,caption,cite,code,dfn,em,th,var {
	font-style: normal;
	font-weight: normal;
}
ol,ul { list-style: none; }

q:before,q:after { content:''; }
abbr,acronym {
	border: 0;
	font-variant: normal;
}
sup { vertical-align: text-top; }
sub { vertical-align: text-bottom;}
input,textarea,select {
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
	outline: 0;
}
legend{ color: inherit;}

select,input,button,textarea{ font-family: "Noto Sans JP", sans-serif; }

pre,code,kbd,samp,tt{
	font-family: monospace;
	line-height: 100%;
}

main { display: block; }

a {
	color: inherit;
	outline: none;
	text-decoration: none;
}
a:hover,
a:focus,
a:active { text-decoration: none; }

a img { border: none; }

img {
	max-width: 100%;
	vertical-align: top;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

html, body {
	height: 100%;
	text-align: justify;
	text-justify: inter-ideograph;
}
body { -webkit-text-size-adjust: 100%; }

.title::after {
	content: "";
	width: 221px;
	display: block;
	aspect-ratio: 221 / 21;
	background: url(../images/line_blue.svg) no-repeat center center;
	background-size: 100%;
	margin-inline: auto;
}
.title.white::after,
.box .title::after { background-image: url(../images/line_white.svg); }
@media screen and (min-width:769px), print {
	body {
		font-size: 18px;
		line-height: 2.22;
	}
	a[href^="tel:"] { pointer-events: none; }
	.sp { display: none !important; }
}
@media screen and (max-width:768px) {
	body {
		font-size: 16px;
		line-height: 2;
	}
	.pc { display: none !important; }
}

#wrapper {
	overflow: hidden;
	position: relative;
	&::before {
		content: "";
		display: block;
		width: 100%;
		height: 100%;
		position: fixed;
		z-index: 0;
		background: url(../images/bg.webp) no-repeat center center;
		background-size: cover;
	}
}
#container {
	max-width: 560px;
	margin-inline: auto;
	position: relative;
	z-index: 1;
	min-height: 100vh;
	background-color: #fff;
}
#header {
	#hLogo {
		position: absolute;
		top: 0;
		left: 0;
		z-index: 7777;
		padding: 3.4% 5.7%;
	}
	#gNav {
		.icon { display: none; }
		#mainMenu {
			width: 380px;
			max-width: 100%;
			letter-spacing: 0;
			position: absolute;
			z-index: 8888;
			box-sizing: border-box;
			& > ul { padding: 40px; }
			& > ul > li + li { margin-top: 7px; }
			& > ul > li > a {
				color: #1f4da0;
				display: block;
				font-size: 20px;
				font-weight: 700;
				line-height: 1.5;
				width: fit-content;
				margin-right: auto;
				background-color: #fff;
				padding: 5px 15px;
				&:hover {
					color: #fff;
					background-color: #fc218a;
				}
			}
			.subMenu {
				display: flex;
				flex-wrap: wrap;
				padding-block: 10px 14px;
				li {
					background-color: #04a4df;
					overflow: hidden;
					border-radius: 10px;
					margin-top: 10px;
					margin-right: 10px;
					width: calc((100% - 20px) / 3);
					a {
						color: #fff;
						line-height: 30px;
						font-weight: 700;
						text-align: center;
						background-color: #fff;
						aspect-ratio: 1 / 1;
						display: flex;
						align-items: flex-end;
						justify-content: center;
						background-size: cover;
						background-repeat: no-repeat;
						background-position: center center;
						.number {
							width: 100%;
							display: block;
							font-size: 16px;
							background-color: #1f4da0;
						}
						&:hover .number { background-color: #fc218a; }
					}
				}
				li:nth-child(3n) { margin-right: 0; }
				.work01 a { background-image: url(../images/menu_icon01.webp); }
				.work02 a { background-image: url(../images/menu_icon02.webp); }
				.work03 a { background-image: url(../images/menu_icon03.webp); }
				.work04 a { background-image: url(../images/menu_icon04.webp); }
				.work05 a { background-image: url(../images/menu_icon05.webp); }
				.work06 a { background-image: url(../images/menu_icon06.webp); }
				.work07 a { background-image: url(../images/menu_icon07.webp); }
				.work08 a { background-image: url(../images/menu_icon08.webp); }
				.work09 a { background-image: url(../images/menu_icon09.webp); }
			}
		}
	}
}
@media screen and (min-width:1401px){
	#header {
		#gNav {
			#mainMenu {
				top: 774px;
				left: 100%;
				display: block !important;
				&.fixed {
					top: 0;
					left: calc(50% + 280px);
					position: fixed;
				}
			}
		}
	}
}
@media screen and (max-width:1400px){
	#header {
		#gNav {
			.icon {
				top: 0;
				right: calc(50% - 280px);
				width: 120px;
				color: #1f4da0;
				font-size: 16px;
				font-weight: 700;
				position: fixed;
				z-index: 9999;
				cursor: pointer;
				padding-inline: 19px 17px;
				background-color: #fff;
				box-sizing: border-box;
				aspect-ratio: 12 / 5;
				border-bottom-left-radius: 10px;
				display: flex;
				align-items: center;
				justify-content: space-between;
				transition-duration: .3s;
				transition-property: color, background-color;
				&::before {
					content: "";
					display: block;
					width: 24px;
					height: 9px;
					border-top: 3px solid #1f4da0;
					border-bottom: 3px solid #1f4da0;
					transition-duration: .3s;
					transition-property: border-color;
				}
				&::after {
					content: "";
					display: block;
					width: 24px;
					height: 3px;
					background-color: #1f4da0;
					position: absolute;
					top: 0;
					left: 19px;
					bottom: 0;
					margin-block: auto;
					transition-duration: .3s;
					transition-property: background-color;
				}
			}
			#mainMenu {
				display: none;
				top: 0;
				left: 0;
				right: 0;
				margin-inline: auto;
				width: 100%;
				height: 100%;
				overflow-y: auto;
				max-width: 560px;
				position: fixed;
				background-color: rgba(4,164,223,0.8);
			}
		}
	}
}
@media screen and (max-width:560px){
	#header {
		#hLogo { max-width: calc(100% - 160px); }
		#gNav {
			.icon {
				right: 0;
				width: 115px;
				padding-inline: 15px 12px;
				&::after {
					left: 15px;
				}
			}
		}
	}
}

@keyframes scroll {
	0% { transform: translate(31%, 69%) rotate(0deg); }
	100% { transform: translate(31%, 69%) rotate(-360deg); }
}
#mainvis {
	position: relative;
	img {
		width: 105.6%;
		max-width: none;
	}
	&::before, &::after {
		content: "";
		left: 0;
		bottom: 0;
		width: 21%;
		display: block;
		position: absolute;
		aspect-ratio: 1 / 1;
		background-size: 100%;
		background-repeat: no-repeat;
	}
	&::before {
		transform: translate(31%, 69%);
		background-image: url(../images/scroll_arrow.webp);
	}
	&::after {
		transform: translate(31%, 69%);
		background-image: url(../images/scroll_circle.webp);
		animation: 30s linear 0s infinite scroll running;
	}
}
@media screen and (max-width:560px){
	#mainvis {
		padding-top: 20px;
		background-color: #31b1e8;
	}
}

#about {
	color: #fff;
	padding: 140px 40px 135px;
	background-color: #1f4da0;
	.title {
		font-size: 40px;
		font-weight: 900;
		line-height: 50px;
		text-align: center;
		margin-bottom: 45px;
		&::after { margin-top: 30px; }
	}
	.balloon {
		color: #1f4da0;
		font-size: 24px;
		font-weight: 900;
		line-height: 38px;
		text-align: center;
		background-color: #fff;
		border-radius: 999px;
		width: fit-content;
		margin-inline: auto;
		position: relative;
		margin-block: 70px 50px;
		padding: 18px 60px 19px;
		&::after {
			content: "";
			top: 100%;
			left: 0;
			right: 0;
			width: 0;
			height: 0;
			position: absolute;
			margin-inline: auto;
			border-style: solid;
			border-width: 16px 16px 0;
			border-color: #fff transparent transparent;
		}
	}
}
@media screen and (max-width:560px){
	#about {
		padding: 100px 25px 50px;
		.title {
			font-size: 30px;
			line-height: 1.3;
		}
		.balloon {
			width: auto;
			font-size: 18px;
			line-height: 1.5;
			padding-inline: 0;
		}
	}
}

#works {
	text-align: center;
	padding-block: 60px;
	.title {
		color: #1943a3;
		font-size: 40px;
		font-weight: 900;
		text-align: center;
		margin-block: 10px;
	}
	.work {
		padding-block: 50px;
		.number {
			position: relative;
			margin-bottom: -70px;
		}
		.image {
			figcaption {
				font-size: 26px;
				font-weight: 700;
				margin-top: 10px;
			}
		}
		.link {
			a {
				color: #fff;
				width: 390px;
				height: 80px;
				max-width: 100%;
				display: flex;
				align-items: center;
				justify-content: center;
				font-size: 24px;
				font-weight: 700;
				border-radius: 999px;
				margin-top: 20px;
				margin-inline: auto;
				background-color: #fc218a;
				&::before {
					content: "";
					width: 26px;
					display: inline-block;
					aspect-ratio: 26 / 34;
					background: url(../images/icon_book.svg) no-repeat center center;
					background-size: 100%;
					margin-right: 33px;
				}
				&:hover {
					background-color: #1f4da0;
				}
			}
		}
	}
}
@media screen and (max-width:560px){
	#works {
		padding-block: 30px;
		.title {
			font-size: 30px;
		}
		.work {
			padding-block: 25px;
			.number {
				margin-bottom: -50px;
				img { width: 100px; }
			}
			.image {
				figcaption { font-size: 20px; }
			}
			.link {
				padding-inline: 25px;
				a {
					height: 60px;
					font-size: 18px;
				}
			}
		}
	}
}

#information {
	padding-inline: 40px;
	& > .title {
		color: #1943a3;
		font-size: 40px;
		font-weight: 900;
		text-align: center;
		margin-block: 33px 60px;
	}
	.box {
		color: #fff;
		text-align: center;
		padding-block: 35px 55px;
		background-color: #04a4df;
		.title {
			font-size: 26px;
			font-weight: 700;
			&::after {
				width: 133px;
				margin-top: 10px;
			}
		}
		.text { margin-top: 28px; }
		.tel {
			display: inline-block;
			border-bottom: 1px solid #fff;
			&:hover {
				color: #1943a3;
				border-bottom-color: #1943a3;
			}
		}
		.logo {
			margin-top: 18px;
			padding-block: 32px;
		}
	}
	.box + .box { margin-top: 1px; }
}
@media screen and (max-width:560px){
	#information {
		padding-inline: 25px;
		& > .title {
			font-size: 30px;
			margin-block: 20px 40px;
		}
		.box {
			padding-block: 20px 30px;
			.title { font-size: 22px; }
			.text { margin-top: 15px; }
			.logo {
				margin-top: 5px;
				padding-block: 20px;
			}
		}
	}
}

#footer {
	.text {
		line-height: 30px;
		padding: 15px 40px 30px;
		background: url(../images/image_foot_chara.webp) no-repeat right bottom;
	}
	.copyright {
		color: #fff;
		height: 60px;
		display: flex;
		align-items: center;
		justify-content: center;
		font-size: 14px;
		background-color: #1f4da0;
	}
}
@media screen and (max-width:560px){
	#footer {
		.text { background-size: 97px auto; }
		.copyright {
			height: 40px;
			font-size: 10px;
		}
	}
}