@charset "utf-8";
body,html {
	margin: 0;
	padding: 0;
}
header,footer,main,aside,section {
	box-sizing: border-box;
	display: block;
	margin: 0;
	padding: 0;
}
body {
	background-size: cover;
	font-family: 'Ubuntu', '游ゴシック', 'YuGothic', 'Hiragino Kaku Gothic ProN', 'Meiryo', 'Verdana', sans-serif;
	background-color: #fff;
	color: #444;
	text-align: center;
}
header,
footer {
	position: relative;
	background: #000;
	color: #fff;
}
footer {
	text-align: center;
	padding: 1em;
	font-size: 1.2em;
}
small {
	font-weight: normal;
	opacity: 0.5;
}
dl {
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	margin: 1em 0;
	border: #2b66cc 3px solid;
	width: 100%;
}
dl dt,
dl dd {
	box-sizing: border-box;
	display: block;
	text-align: left;
	margin: 0;
	padding: 0.4em 0.8em;
	border-top: #2b66cc 1px dotted;
}
dl dt:nth-of-type(1),
dl dd:nth-of-type(1) {
	border-top: none;
}
dl dt {
	width: 20%;
	font-weight: bold;
	font-size: 1.4rem;
	background-color: rgba(255, 255, 255, 0.5);
}
dl dd {
	width: 80%;
	font-size: 1.2rem;
	background-color: rgba(255, 255, 255, 1.0);
}
a {
	text-decoration: none;
	color: #2b66cc;
}
a:hover {
	text-decoration: underline;
}
h2 {
	display: inline-block;
	position: relative;
	text-align: center;
	padding: 0.2em 0.8em;
}
h2::before,
h2::after {
	content: "";
	position: absolute;
	display: block;
	width: 20px;
	height: 20px;
}
h2::before {
	background-image: url("img/cnr_lt.svg");
	top: 0;
	left: 0;
}
h2::after {
	background-image: url("img/cnr_rb.svg");
	bottom: 0;
	right: 0;
}

.flex {
	display: flex;
	flex-wrap: wrap;
}
.cf::after {
	content: "";
	display: block;
	clear: both;
}
.in {
	margin: 0 auto;
	width: 980px;
	max-width: 100%;
	font-size: 1.4em;
}
.in ul,
.in p {
	text-align: left;
}
.wrapper {
	padding: 25px 0;
}
.c {
	background-color: #fff;
	border-radius: 20px;
	padding: 1em;
	margin-bottom: 40px;
}
.mainimage {
	position: relative;
	background-color: #fff;
	background: url("img/bg.jpg") no-repeat center center;
	background-size: cover;
	height: 100vh;
	box-sizing: border-box;
}
/*
.mainimage::before,
.mainimage::after {
	content: "";
	position: absolute;
	display: block;
	width: 90px;
	height: 90px;
}
.mainimage::before {
	background-image: url("img/cnr_lt.svg");
	top: 0;
	left: 0;
}
.mainimage::after {
	background-image: url("img/cnr_rb.svg");
	bottom: 0;
	right: 0;
}
*/
@media only screen and (max-width: 768px) {
	.gnav {
		position: fixed;
		left: 0;
		top: 0;
		width: 100%;
		height: 60px;
		bottom: auto;
		z-index: 200;
	}
	.gnav.fixed {
		box-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
		background: url("img/bg.jpg") no-repeat center bottom;
	}
  .gnav nav {
    position: fixed;
    right: -320px; /* 右から出てくる */
    top: 0;
    width: 200px; /* スマホに収まるサイズ */
    height: 100vh;
    padding-top: 60px;
    background-color: #fff;
    transition: all .6s;
    z-index: 200;
    overflow-y: auto; /* メニューが多くなったらスクロール */
  }
  .hamburger {
    position: absolute;
    right: 15px;
    top: 8px;
    width: 40px; /* クリックしやすい幅 */
    height: 40px; /* クリックしやすい高さ */
    cursor: pointer;
    z-index: 300;
  }
  .gnav nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .gnav nav li {
    text-align: center;
    padding: 0 14px;
  }
  .gnav nav li a {
    display: block;
    padding: 8px 0;
    text-decoration: none;
    color: #333;
    font-size: 1rem;
  }
  .gnav nav li a:hover {
    background-color: #eee;
  }
	.gnav nav li:nth-of-type(1) {
		display: none;
	}
	.gnav.fixed nav li:nth-of-type(1) {
		position: fixed;
		left: 0;
		top: 9px;
		display: block;
	}
	.gnav nav li:nth-of-type(1) a {
		box-sizing: border-box;
		display: block;
		line-height: 1;
		padding: 0;
		border-bottom: 0;
		height: 100%;
	}
	.gnav nav li:last-child {
		display: none;
	}
	.gnav.fixed nav li:last-child {
		position: fixed;
		display: inline-block;
		right: calc((100% - 1200px)/2);
		bottom: 1rem;
		text-align: right;
		z-index: 999;
		width: 4rem;
		height: 4rem;
	}
	.gnav.fixed nav li:last-child a {
		display: inline-block;
		width: 4rem;
		height: 4rem;
		font-size: 2rem;
		line-height: 4rem;
		text-align: center;
		border-radius: 50%;
		color: #fff;
		font-weight: bold;
		background-color: #2b66cc;
		padding: 0;
	}
  .hamburger_border {
    position: absolute;
    left: 11px;
    width: 18px;
    height: 2px;
    background-color: #333;
    transition: all .6s;
  }
  .hamburger_border_top {
    top: 14px;
  }
  .hamburger_border_center {
    top: 20px;
  }
  .hamburger_border_bottom {
    top: 26px;
  }
  .black_bg {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: 100;
    background-color: #333;
    opacity: 0;
    visibility: hidden;
    transition: all .6s;
    cursor: pointer;
  }

  /* 表示された時用のCSS */
  .nav-open .gnav nav {
    right: 0;
  }
  .nav-open .black_bg {
    opacity: .8;
    visibility: visible;
  }
  .nav-open .hamburger_border_top {
    transform: rotate(45deg);
    top: 20px;
  }
  .nav-open .hamburger_border_center {
    width: 0;
    left: 50%;
  }
  .nav-open .hamburger_border_bottom {
    transform: rotate(-45deg);
    top: 20px;
  }
}/* sp */

@media only screen and (min-width: 769px) {
	.gnav {
		position: absolute;
		left: 0;
		right: 0;
		bottom: 0;
		display: block;
		margin-left: auto;
	}
	.gnav.fixed {
		position: fixed;
		top: 0;
		bottom: auto;
		z-index: 20;
		background: url("img/bg.jpg") no-repeat center bottom;
		box-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
	}
	.gnav nav {
		position: relative;
	}
	.gnav nav ul {
		list-style: none;
		height: 100%;
		margin: 0;
		padding: 0;
		font-size: 18px;
		text-align: center;
		transition: 250ms all ease;
	}
	.gnav.fixed nav ul {
		font-size: 16px;
		text-align: right;
	}
	.gnav nav li {
		 display: inline-block;
		 margin: 0 0 0 1em;
		 height: 100%;
	}
	.gnav nav li:nth-of-type(2) {
		margin-left: 0;
	}
	.gnav nav li a {
		box-sizing: border-box;
		display: block;
		line-height: 1;
		padding: 24px 0.5em;
		font-weight: bold;
		color: #000;
		border-bottom: transparent 6px solid;
		height: 100%;
	}
	.gnav nav li a:hover {
		border-bottom: #2b66cc 6px solid;
	}
	.gnav nav li:nth-of-type(1) {
		display: none;
	}
	.gnav.fixed nav li:nth-of-type(1) {
		position: absolute;
		left: 0;
		top: calc(50% - 21px);
		display: block;
	}
	.gnav nav li:nth-of-type(1) a {
		box-sizing: border-box;
		display: block;
		line-height: 1;
		padding: 0;
		border-bottom: 0;
		height: 100%;
	}
	.gnav nav li:last-child {
		display: none;
	}
	.gnav.fixed nav li:last-child {
		position: fixed;
		display: inline-block;
		right: calc((100% - 1200px)/2);
		bottom: 1rem;
		text-align: right;
		z-index: 999;
		width: 4rem;
		height: 4rem;
	}
	.gnav.fixed nav li:last-child a {
		display: inline-block;
		width: 4rem;
		height: 4rem;
		font-size: 2rem;
		line-height: 4rem;
		text-align: center;
		border-radius: 50%;
		color: #fff;
		font-weight: bold;
		background-color: #2b66cc;
		padding: 0;
	}
}/* pc */

h1.philosophy {
	margin: 80px 0 0;
}

.philosophy {
	animation-name: fadeInPhs;
	animation-duration: 1s;
	animation-fill-mode: forwards;
	animation-delay: 3.4s;
	opacity: 0;
}
@keyframes fadeInPhs{
  from {
		opacity: 0;
		transform: translateY(-20px);
  }
  to {
		opacity: 1;
		transform: translateY(0);
  }
}

.top {
	position:absolute;
	margin:auto;
	left:0;right:0;
	top:0;bottom:0;
	height: 333px;
}
#animation_container {
	position: relative;
	width: 557px;
	height: 205px;
	margin: 0 auto;
}
#animation_container #canvas {
	position: absolute;
	display: block;
	width: 557px;
	height: 205px;
}
#dom_overlay_container {
	position: absolute;
	pointer-events: none;
	overflow: hidden;
	width: 557px;
	height: 205px;
	position: absolute;
	left: 0px;
	top: 0px;
	display: block;
}

/* 
#toplogo video {
	display: block;
	position: relative;
	width: 100%;
	height: auto;
	min-height: 100%;
	max-height: 80vh;
	z-index: -1;
	object-fit: cover;
}
*/
/*
#toplogo .in {
	position: relative;
	padding-bottom: 1em;
}
*/
#news article {
	text-align: left;
}
#news article h3 {
	font-size: 1.3rem;
}
#news article section {
	font-size: 1.1rem;
	padding-bottom: 1em;
	margin-bottom: 1em;
	border-bottom: #ccc 1px dotted;
}
#news article section:last-child {
	padding-bottom: 0;
	margin-bottom: 0;
	border-bottom: none;
}
#news article .more {
	margin-top: 0.5em;
}
#features .pictogram {
	gap: 5%;
}
#features .pictogram .box {
	flex: auto;
	width: 30%;
	border-radius: 20px;
	padding: 0.4em 0.8em 0.8em;
	box-sizing: border-box;
}
#features .pictogram .box:nth-of-type(1) {
	background-color: #ffe3f1;
}
#features .pictogram .box:nth-of-type(2) {
	background-color: #ffefcc;
}
#features .pictogram .box:nth-of-type(3) {
	background-color: #e3ffd4;
}
#features .pictogram .box p {
	font-size: 1rem;
	margin: 0;
	text-align: left;
}
.pictogram .box .img {
	display: flex;
	align-items: center;
}
.pictogram .box img {
	width: 80%;
	height: auto;
	margin: 0 auto;
}
#company {
	background-color: #e4f3f9;
}
#staff h3 {

}
#staffList {
	position: relative;
	gap: 2%;
}
/* #shimakata, */
#staffList .flex {
	width: 49%;
	background-color: #fff;
	margin-bottom: 2%;
	text-align: left;
}
/*
#shimakata {
	width: 60%;
	margin: 0 auto 2%;
	transition: 250ms width ease;
}
#shimakata.active {
	width: 100%;
}
*/
#staffList .flex.active {
	position: absolute;
	width: 100%;
	z-index: 10;
	box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
}
#staffList .flex.active:nth-of-type(odd) {
	left: 0;
	top: 0;
}
#staffList .flex.active:nth-of-type(even) {
	right: 0;
	top: 0;
}
#staff .flex .movcon {
	box-sizing: border-box;
	width: 40%;
}
#staff .flex .txt {
	box-sizing: border-box;
	width: 60%;
	padding: 0.2em 1em 0.2em 0;
}
#staff strong.position {
	display: block;
	font-size: 0.9rem;
	color: #2b66cc;
}
#staff .txt h4 {
	font-size: 1.6rem;
	margin: 0 0 0.5em;
}
#staff .txt h4 small {
	font-size: 0.8rem;
	padding-left: 1em;
	z-index: 2;
}
.movcon video,
.movcon img {
	display: block;
	width: 80%;
}
.experience_btn,
.msg_btn {
	display: block;
	width: 4em;
	text-align: center;
	font-style: normal;
	font-size: 0.8rem;
	padding: 0 0.6em 0 0;
	background: #2b66cc no-repeat right center url("data:image/svg+xml;base64,PCEtLT94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPy0tPgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTguMS4xLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+Cgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9Il94MzJfIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIgdmlld0JveD0iMCAwIDUxMiA1MTIiIHN0eWxlPSJ3aWR0aDogMTZweDsgaGVpZ2h0OiAxNnB4OyBvcGFjaXR5OiAxOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+Cgkuc3Qwe2ZpbGw6IzRCNEI0Qjt9Cjwvc3R5bGU+CjxnPgoJPHBvbHlnb24gY2xhc3M9InN0MCIgcG9pbnRzPSI0NDAuMTg5LDkyLjA4NSAyNTYuMDE5LDI3Ni4yNTUgNzEuODMsOTIuMDg1IDAsMTYzLjkxNSAyNTYuMDE5LDQxOS45MTUgNTEyLDE2My45MTUgCSIgc3R5bGU9ImZpbGw6IHJnYigyNTUsIDI1NSwgMjU1KTsiPjwvcG9seWdvbj4KPC9nPgo8L3N2Zz4K");
	background-size: 10px;
	border: #2b66cc 8px solid;
	margin: 0 auto 0.5em;
	line-height: 1;
	color: #fff;
	cursor: pointer;
}
.msg_btn {
	width: 6em;
	font-size: 0.7rem;
}
.active .experience_btn,
.active .msg_btn {
	background-image: url('data:image/svg+xml;base64,PCEtLT94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPy0tPgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTguMS4xLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+Cgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9Il94MzJfIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIgdmlld0JveD0iMCAwIDUxMiA1MTIiIHN0eWxlPSJ3aWR0aDogMTZweDsgaGVpZ2h0OiAxNnB4OyBvcGFjaXR5OiAxOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+Cgkuc3Qwe2ZpbGw6IzRCNEI0Qjt9Cjwvc3R5bGU+CjxnPgoJPHBvbHlnb24gY2xhc3M9InN0MCIgcG9pbnRzPSIyNTUuOTkyLDkyLjA4OSAwLDM0OC4wODEgNzEuODIxLDQxOS45MTEgMjU1Ljk5MiwyMzUuNzQgNDQwLjE4LDQxOS45MTEgNTEyLDM0OC4wODEgCSIgc3R5bGU9ImZpbGw6IHJnYigyNTUsIDI1NSwgMjU1KTsiPjwvcG9seWdvbj4KPC9nPgo8L3N2Zz4K');
}
.experience_list ul,
.experience_list p,
.msg_body .msg_body_in {
	margin: 0;
	padding: 0;
	overflow: hidden;
}
.experience_list,
.msg_body {
	display: grid; 
	font-size: 0.9rem;
  grid-template-rows: 0fr;
	transition: 250ms grid-template-rows ease;
}
.active .experience_list,
.active .msg_body {
	grid-template-rows: 1fr;
}
.experience li {
	margin-bottom: 0.75em;
}
p.signature {
	font-weight: bold;
	text-align: right;
}
#guideline .flex {

}
#guideline .flex .box {
	width: 20%;
}
#guideline .flex .box p {
	font-size: 0.9rem;
	padding: 0 0.5em;
}
footer {
	background: #2b66cc;
	padding: 30px 0;
	color: #fff;
	text-align: center;
}
@media only screen and (max-width: 768px) {
	#staff .txt h4 {
		font-size: 1.4rem;
	}
	#staff .txt h4 small {
		display: block;
		padding-left: 0;
	}
	#staff strong.position {
		font-size: 0.6rem;
	}
}
@media only screen and (max-width: 480px) {
	#features p {
		font-size: 1rem;
	}
	.pictogram .box .img {
		text-align: center;
	}
	#staffList .flex {
		width: 100%;
	}
	dl dt,
	dl dd,
	.box {
		width: 100% !important;
	}
	.in {
		width: 94% !important;
		margin-left: auto;
		margin-right: auto;
	}
	.flex {
		display: block;
	}
	.m-flex {
		display: flex;
	}
	span.m-br {
		display: block;
	}
	#service ul {
		padding-left: 0;
	}
	#service li {
		font-size: 1rem;
		margin-bottom: 0.5em;
	}
	#features p {
		font-size: 0.9rem;
	}
	.pictogram .box {
		margin-bottom: 15px;
	}
	.pictogram .box .img {
		width: 30%;
	}
	.pictogram .box .txt {
		width: 70%;
	}
	.pictogram .box .txt h3,
	.pictogram .box .txt h4 {
		font-size: 1rem;
		text-align: left;
		margin-top: 0;
	}
	.pictogram .box .txt h4 {
		font-size: 1rem;
		text-align: left;
		margin: 0 0 0.5em;
	}
	.pictogram .box .txt p {
		font-size: 0.75rem !important;
		margin: 0;
	}
	#company dt,
	#company dd {
		font-size: 1rem;
	}
	#staffList .flex.active {
		position: relative;
		box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
		display: block;
	}
	#staff .flex .movcon {
		width: 45%;
	}
	#staff .flex .txt {
		width: 55%;
	}
	#staffList .flex.active .movcon {
		width: 100%;
		padding: 15px 0;
	}
	#staffList .flex.active .movcon video {
		width: 50%;
		height: auto;
		margin: 0 auto;
	}
	#staffList .flex.active .txt {
		width: 100%;
		padding: 15px 15px 0;
	}
	dl dd {
		border-top: none;
	}
	#guideline .pictogram .box {
		border-bottom: #fff 1px solid;
		padding-bottom: 15px;
	}
	#guideline .pictogram .box:last-child {
		border-bottom: none;
		padding-bottom: 0;
	}
	#contact.in {
		width: 100% !important;
	}
	footer small {
		font-size: 0.6rem;
	}
}