@charset "utf-8";

/* Common
--------------------------------------------------------------*/
html {
	font-size: 62.5%;
}
body {
	font-family: -apple-system, Segoe UI, Helvetica Neue, Hiragino Kaku Gothic ProN, "メイリオ", meiryo, sans-serif;
	color: #454545;
	font-size: 1.6rem;
}
h1, h2, h3, h4, h5, h6, p {
	margin-block-start: 0;
	margin-block-end: 0;
	font-weight: 400;
}
h2 + * {
	margin-top: 4rem;
}
h3 + * {
	margin-top: 1rem;
}
p + p {
	margin-top: 1rem;
}
.text-center {
	text-align: center;
}
ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
ol {
	margin: 0;
}
ul.list {
	padding-inline-start: 24px;
	margin-top: 1rem;
}
ul.list li {
	display: flex;
}
ul.list li::before {
	display: block;
	content: "";
	margin-right: 0.3em;
	margin-top: 0.35em;
	width: 0.6em;
	height: 0.6em;
	background: #454545;
	border-radius: 50%;
	flex-shrink: 0;
}
ul.list li + li {
	margin-top: 0.5rem;
}
@media only screen and (min-width: 480px) {
	.d-sp {
		display: none;
	}
}

h1 {
	font-size: clamp(2.6rem, 2.103rem + 2.12vw, 3.8rem);
}
h2 {
	font-size: clamp(2.4rem, 2.069rem + 1.41vw, 3.2rem);
}
h3 {
	font-size: clamp(2.2rem, 1.869rem + 1.41vw, 3rem);
}
h4 {
	font-size: 2rem;
}
h5 {
	font-size: 1.8rem;
}
h6 {
	font-size: 1.6rem;
}
p {
	font-size: 1.6rem;
}
.lead {
	font-size: 1.8rem;
	line-height: 1.6;
}
img {
	max-width: 100%;
	height: auto;
}
svg {
	overflow: hidden;
	vertical-align: middle;
}
/* ナビゲーション
--------------------------------- */
#g-nav {
	position: fixed;
	z-index: -1;
	opacity: 0;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background: rgba(255, 255, 255, 0.9);
	transition: all 0.3s;
}
#g-nav.panelactive {
	opacity: 1;
	z-index: 999;
}
#g-nav ul {
	width: 100%;
	display: none;
	position: absolute;
	z-index: 999;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
#g-nav.panelactive ul {
	display: block;
}
#g-nav li {
	list-style: none;
	text-align: center;
}
#g-nav li a {
	text-decoration: none;
	padding: 10px;
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #454545;
}
.openbtn {
	position: relative;
	cursor: pointer;
	width: 50px;
	height: 50px;
	grid-area: 1/-1;
	align-self: center;
	justify-self: end;
	z-index: 9999;
}
.openbtn span {
	display: inline-block;
	transition: all .4s;
	position: absolute;
	left: 14px;
	height: 3px;
	border-radius: 2px;
	background-color: #666;
	width: 45%;
}
.openbtn span:nth-of-type(1) {
	top: 15px;
}
.openbtn span:nth-of-type(2) {
	top: 23px;
}
.openbtn span:nth-of-type(3) {
	top: 31px;
}
.openbtn.active span:nth-of-type(1) {
	top: 18px;
	left: 18px;
	transform: translateY(6px) rotate(-45deg);
	width: 30%;
}
.openbtn.active span:nth-of-type(2) {
	opacity: 0;
}
.openbtn.active span:nth-of-type(3) {
	top: 30px;
	left: 18px;
	transform: translateY(-6px) rotate(45deg);
	width: 30%;
}
/* ヘッダー
--------------------------------- */
#header {
	width: 100%;
	background: #fff;
	padding: 20px;
	display: grid;
}
#header h1 {
	font-family: 'Roboto', sans-serif;
	font-size: 1.8rem;
	margin-bottom: 0;
	font-weight: 300;
	grid-area: 1/-1;
	align-self: center;
	justify-self: center;
	z-index: 9999;
}
#header h1 a {
	text-decoration: none;
	color: inherit;
}
/* ヒーローエリア
--------------------------------- */
.hero {
	display: grid;
	height: calc(100vh - 90px);
	overflow: hidden;
}
.hero > * {
	grid-area: 1/-1;
}
.hero img {
	width: 100%;
	height: 100%;
	min-height: 0;
	object-fit: cover;
	animation: zoomIn 10s cubic-bezier(0.25, 1, 0.5, 1) 1 forwards;
}
@keyframes zoomIn {
	0% {
		transform: scale(1.2);
	}
	100% {
		transform: scale(1);
	}
}
.hero::after {
	content: "";
	background-color: #000;
	opacity: 0.1;
	grid-area: 1/-1;
}
.hero-content {
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 4rem 1rem 0;
}
@media only screen and (max-width: 1279px) {
	.hero-content {
		padding-top: 2rem;
	}
}
.hero-content > * {
	margin-bottom: 1rem;
}
.hero-content h2 {
	font-size: clamp(2.2rem, 1.537rem + 2.83vw, 3.8rem);
	font-family: 'Roboto', sans-serif;
	font-weight: 300;
}
.hero-content p {
	margin: 0;
}
.typing span {
	display: none;
}
.typing::after {
	content: "|";
	animation: typinganime .8s ease infinite;
}
@keyframes typinganime {
	from {
		opacity: 0
	}
	to {
		opacity: 1
	}
}
/* セクションレイアウト
------------------------------------------ */
section.bg-a {
	background: rgba(62, 85, 138, 0.25);
}
section > .container {
	padding: 8rem 2rem;
	margin: 0 auto;
	max-width: calc(1280px + 4rem);
}
section.narrow > .container {
	max-width: calc(768px + 4rem);
}
@media only screen and (max-width: 480px) {
	section > .container {
		padding: 4rem 2rem;
	}
}

/* 見出し
------------------------------------------ */
.hd-a {
	display: grid;
	justify-content: center;
}
.hd-a::after {
	display: grid;
	grid-area: 2/1;
	content: "";
	width: 0%;
	height: 2px;
	background: #37558e;
	transition: all ease-in-out 1s;
}
.hd-a.is-active::after {
	width: 100%;
}
/* サービス
------------------------------------------ */
.panel {
	display: grid;
}
.panel > .item {
	display: flex;
	align-items: center;
}
@media only screen and (min-width: 1001px) {
	.panel > .item:nth-child(3) {
		margin-top: -5rem;
	}
}
.panel > .item:nth-child(2n) {
	flex-direction: row-reverse;
}
.panel > .item > img {
	width: 40%;
	transform: scale(0.6);
}
.panel > .item:nth-child(1) > div {
	padding-left: 5rem;
}
.panel > .item:nth-child(2) > div {
	padding-right: 3rem;
}
.panel > .item:nth-child(3) > img {
	width: 30%;
}
.panel > .item:nth-child(3) > div {
	width: 50%;
	padding-left: 6rem;
}
.panel > .item:nth-child(4) > img {
	width: 20%;
}
.panel > .item:nth-child(4) > div {
	width: 50%;
	padding-right: 8rem;
}
.panel > .item > div {
	width: 40%;
}
.panel .title {
	font-size: clamp(1.8rem, 1.6rem + 1vw, 2.4rem);
}

@media only screen and (max-width: 1000px) {
	.panel {
		row-gap: 20px;
	}
	.panel > .item > img {
		width: 40%;
	}
	.panel > .item:nth-child(3) > div {
		width: 60%;
	}
	.panel > .item:nth-child(4) > img {
		width: 25%;
	}
	.panel > .item:nth-child(4) > div {
		width: 65%;
		padding-right: 1rem;
	}
	.panel > .item > div {
		width: 56%;
	}
}

@media only screen and (max-width: 480px) {
	.panel {
		row-gap: 60px;
	}
	.panel > .item {
		flex-direction: column !important;
	}
	.panel > .item > img {
		width: auto !important;
		height: 160px;
	}
	.panel > .item > div {
		width: 100% !important;
		padding: 0 !important;
	}
	.panel .title {
		margin: 2rem 0;
		text-align: center;
	}
}


/* 私たちの仕事
------------------------------------------ */
.panel-equality {
	margin-top: 3rem;
	display: flex;
	justify-content: space-between;
}
.panel-equality > .item {
	width: 48%;
	display: flex;
}
.panel-equality > .item a {
	text-decoration: none;
	color: inherit;
	display: flex;
	flex-direction: column;
}
.panel-equality > .item a .img-wrap {
	overflow: hidden;
}
.panel-equality > .item img {
	transition: 1s;
}
.panel-equality > .item:hover img {
	transform: scale(1.2);
}
.panel-equality .title {
	margin-top: 0.5rem;
	font-size: 1.2rem;
}
@media only screen and (max-width: 767px) {
	.panel-equality {
		flex-direction: column;
		align-items: center;
	}
	.panel-equality > .item {
		width: 100%;
	}
	.panel-equality > .item + .item {
		margin-top: 3rem;
	}
}


/* YouTube埋め込み
------------------------------------------ */
.movie {
	margin-top: 3rem;
	display: flex;
	justify-content: space-between;
}
.movie.justify-center {
	justify-content: center;
}
.movie .movie-wrap {
	width: 48%;
}
.movie .movie-wrap iframe {
	aspect-ratio: 16/9;
	width: 100%;
	height: 100%;
	border: 0;
}
.movie .desc {
	margin-top: 0.5rem;
	font-size: 1.2rem;
}
@media only screen and (max-width: 767px) {
	.movie {
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	.movie .movie-wrap {
		width: 100%;
		max-width: 480px;
	}
	.movie .movie-wrap + .movie-wrap {
		margin-top: 3rem;
	}
}


/* テーブル
------------------------------------------ */
.table {
	width: 100%;
}
.table td, .table th {
	padding: 1rem;
	vertical-align: top;
	border-bottom: 1px solid rgba(62, 85, 138, .5);
}
.table th {
	width: 25%;
	font-weight: 400;
	text-align: end;
}
@media only screen and (max-width: 480px) {
	.table td, .table th {
		font-size: 1.5rem;
	}
	.table th {
		width: 20%;
	}

}
/* お問い合わせフォーム
------------------------------------------ */
section.contact p + ul {
	margin-top: 4.8rem;
}
section.contact .list {
	font-size: 1.4rem;
}
section.contact h3 {
	font-size: 1.4rem;
}
section.contact h3 + .list {
	font-size: 1.3rem;
}
ul + form {
	margin-top: 3rem;
}
.form-floating {
	position: relative;
	margin-bottom: 2rem;
}
.form-control {
	display: block;
	width: 100%;
	font-size: 1.6rem;
	font-weight: 400;
	color: #212529;
	background-color: #fff;
	background-clip: padding-box;
	border: 1px solid #ced4da;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	border-radius: 0rem;
	transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.form-control:focus {
	color: #212529;
	background-color: #fff;
	border-color: #3e558a;
	outline: 0;
	box-shadow: 0 0 0 0.4rem rgba(62, 85, 138, .25);
}
.form-floating > .form-control {
	height: calc(5.6rem + 2px);
	line-height: 1.25;
}
.form-floating > .form-control {
	padding: 1.6rem 1.2rem;
}
.form-floating > .form-control:focus,
.form-floating > .form-control:not(:placeholder-shown) {
	padding-top: 2.6rem;
	padding-bottom: 1rem;
}
.form-floating > label {
	display: inline-block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding: 1.6rem 1.2rem;
	overflow: hidden;
	text-align: start;
	text-overflow: ellipsis;
	white-space: nowrap;
	pointer-events: none;
	border: 1px solid transparent;
	transform-origin: 0 0;
	transition: opacity .1s ease-in-out, transform .1s ease-in-out;
}
.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
	opacity: .65;
	transform: scale(.85) translateY(-0.8rem) translateX(0.24rem);
}
.form-control::placeholder {
	color: transparent;
}
textarea {
	min-height: 20rem;
}
form .error-message {
	margin-top: 5px;
	margin-bottom: 10px;
	color: #9c3e4d;
	font-size: 1.3rem;
}
#sendMessageButton {
	position: relative;
	background: #3e558a;
	width: 300px;
	padding: 1.4rem 1rem;
	margin: 4rem 0;
	display: inline-block;
	outline: none;
	border: none;
	cursor: pointer;
	transition: 0.3s;
}
#sendMessageButton span {
	position: relative;
	color: #fff;
	font-size: 2rem;
	font-weight: 700;
	text-decoration: none;
	z-index: 3;
}
#sendMessageButton::before {
	position: absolute;
	content: "";
	top: 0;
	left: 0;
	background: #233664;
	width: 100%;
	height: 100%;
	transition: transform .3s cubic-bezier(0.8, 0, 0.2, 1) 0s;
	transform: scale(0, 1);
	transform-origin: top;
	z-index: 2;
}
#sendMessageButton:hover::before{
	transform:scale(1, 1);
}

/* ポリシー
------------------------------------------ */
section.policy h3 {
	font-size: 1.4rem;
}
section.policy .list {
	font-size: 1.3rem;
}
section.policy .list + h3 {
	margin-top: 2rem;
}



/* フッター
------------------------------------------ */
footer {
	background: #3e558a;
}
footer > .footer-inner {
	padding: 4rem 1rem;
	margin: 0 auto;
	max-width: calc(1280px + 2rem);
}
footer > .footer-inner p {
	font-family: 'Roboto', sans-serif;
	font-weight: 300;
	font-size: 1.3rem;
	color: #fff;
}
/* アニメーション
------------------------------------------ */
.fadeUpTrigger {
	opacity: 0;
}
.fadeIn {
	animation-name: fadeInAnime;
	animation-duration: 5s;
	animation-timing-function: ease;
	animation-direction: normal;
}
@keyframes fadeInAnime {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}
.fadeUp {
	animation-name: fadeUpAnime;
	animation-duration: 2s;
	animation-fill-mode: forwards;
	opacity: 0;
}
@keyframes fadeUpAnime {
	from {
		opacity: 0;
		transform: translateY(100px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
.zoomInTrigger {
	/* opacity: 0; */
}
.zoomIn {
	animation-name: zoomInAnime;
	animation-duration: 1s;
	animation-fill-mode: forwards;
}
@keyframes zoomInAnime {
	from {
		transform: scale(0.6);
	}
	to {
		transform: scale(1);
	}
}

/* スペース
------------------------------------------ */
.mt-1 {
	margin-top: 1rem;
}
.mt-2 {
	margin-top: 2rem;
}
.mt-3 {
	margin-top: 3rem;
}
.mt-4 {
	margin-top: 4rem;
}
.mt-5 {
	margin-top: 5rem;
}
.mt-6 {
	margin-top: 6rem;
}}