/* CSS Document */
:root {
	box-sizing: border-box;
	cursor: default;
	font: 16px/1.5 sans-serif;
	text-rendering: optimizeLegibility;
	-ms-overflow-style: -ms-autohiding-scrollbar;
	overflow-y: scroll;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}
::selection {
/*	background-color: #b3d4fc;*/
	background-color: #4e54c8;
	text-shadow: none;
}
*{
	margin: 0;
	padding: 0;
}
html {
	background-color: #00bfff;
}
body {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-smoothing: antialiased;
	text-rendering: auto;
	font-size: 15px;
	font-family: "Montserrat",'use-Roboto','use-NotoSansJP',"游ゴシック",YuGothic,"ヒラギノ角ゴ ProN W3","Hiragino Kaku Gothic ProN","メイリオ",Meiryo,sans-serif;
	font-style: normal;
	font-feature-settings: "palt";
	-webkit-font-feature-settings: "palt";
	text-shadow: 1px 1px 3px rgba(0,84,200,0.3);
	letter-spacing: 0.05em;
	color: #fff;
}
p{
	text-align: justify;
}

/*
----- モーダル -----
*/
body.stop {
	height: 100vh;
	overflow-y: hidden;
	position: fixed;
}
.modal {
	display: none;
	height: 100vh;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 100;
}
.modal__bg {
	background: rgba(0,0,0,0.5);
	height: 100vh;
	position: absolute;
	width: 100%;
	cursor:pointer 
}
.modal__content {
	background: #fff;
	left: 50%;
	padding: 40px;
	position: absolute;
	top: 50%;
	transform: translate(-50%,-50%);
	width: 90%;
	max-width: 840px;
	overflow-y: scroll;
	max-height: 90vh;
	border-radius: 5px;
	box-shadow: 0 5px 15px -5px rgba(0,0,0,0.6);
	color: #333;
	text-shadow: none;
}
.modal__content h3 {
	font-size: 1.7em;
	margin: 10px 0 14px;
}
.modal__content p {
	margin-bottom: 20px;
}
.modal__content img {
	width: 100%;
	max-width: 100%;
	height: auto;
	vertical-align: top;
}
.modal__content tr {
	border-bottom: 1px solid #b3d4fc;
}
.modal__content table {
	border-collapse: collapse;
	margin-bottom: 14px;
	white-space: nowrap;
}
.modal__content th {
	padding: .6em 1em;
	font-size: 0.8em;
	color: #fff;
	background: #4e54c8;
	border: 2px solid #fff;
	border-bottom: 8px solid #fff;
}
.modal__content td {
	padding: .7em 1em;
	vertical-align: top;
	font-size: 0.8em;
	border-bottom: 1px dotted #4e54c8;
}
.modal__content tr.last {
}
.modal__content p.small {
	color: #444;
	font-size: 0.8em;
	white-space: nowrap;
}
.modal__content a {
	display: block;
	margin-top: 25px;
	font-size: .9em;
	color: #666;
	text-align: center;
}
.modal__content p > a {
	display: block;
	margin-top: 0;
	font-size: .9em;
	color: #666;
	text-align: left;
}
@media screen and (max-width:549px) {
	.modal__content {
		padding: 25px;
		max-height: 75vh;
		top: 48%;
	}
	.modal__content th {
		padding: .5em .6em;
		text-align: left;
	}
	.modal__content td {
		padding: .5em .6em;
	}
}
@media screen and (max-width:426px) {
	.modal__content {
		padding: 25px;
	}
}
@media screen and (max-width:321px) {
	.modal__content {
		padding: 15px;
	}
}

/*
----- ヘッダー -----
*/
#header {
	position: fixed;
	top: -100px;
	left: 0;
	width: 100vw;
	background-color: rgba(0,191,255,0.8);
	z-index: 10;
	-webkit-transition: all 0.8s cubic-bezier(0.1, 0.8, 0.35, 1);
	-ms-transition: all 0.8s cubic-bezier(0.1, 0.8, 0.35, 1);
	transition: all 0.8s cubic-bezier(0.1, 0.8, 0.35, 1);
}
#header.go {
	top: 0;
}
#header .header_inner {
	width: 90%;
	max-width: 900px;
	margin: 0 auto;
	padding: 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	text-align: center;
}
#header .header_inner .header_item {
	width: 25%;
	padding: 1em 0;
}
#header .header_inner .header_item a {
	display: inline-block;
	height: 2em;
	margin: 0 auto;
	padding: 0 0.5em;
	color: #fff;
	font-size: 1.5em;
	font-weight: 700;
	line-height: 2em;
	text-decoration: none;
	position: relative;
}
@media screen and (min-width:768px) {
	#header .header_inner .header_item a::after {
		position: absolute;
		bottom: 4px;
		left: 0;
		content: '';
		width: 100%;
		height: 2px;
		background: #fff;
		transform: scale(0, 1);
		transform-origin: left top;
		transition: transform .3s;
	}
	#header .header_inner .header_item a:hover::after {
		transform: scale(1, 1);
	}
}
@media screen and (max-width:767px) {
	#header .header_inner .header_item a {
		font-size: 1.3em;
		line-height: 2.3em;
	}
}
@media screen and (max-width:549px) {
	#header .header_inner .header_item a {
		font-size: 1em;
	}
}
@media screen and (max-width:369px) {
	#header .header_inner .header_item a {
		font-size: .9em;
	}
}
/*
----- メインビジュアル -----
*/
#main_visual {
	width: 100vw;
	height: 100vh;
	margin: 0 0 140px;
}
#main_visual h1{
	position: absolute;
	top: 46%;
	left: 50%;
	transform: translateY(-50%) translateX(-50%);
	-webkit-transform: translateY(-50%) translateX(-50%);
	margin: 0;
	padding: 0;
	font-size: 3em;
	text-align: center;
	white-space: nowrap;
}
#main_visual h1 br{
	display: none;
}
@media screen and (max-width:959px) {
	#main_visual h1 br.tb{
		display: block;
	}
}
@media screen and (max-width:549px) {
	#main_visual h1 br.sp{
		display: block;
	}
}
@media screen and (max-width:369px) {
	#main_visual h1{
		font-size: 2.8em;
	}
}
/*
----- スクロールダウン -----
*/
a.scroll_down {
	display: inline-block;
	position: absolute;
	bottom: 0;
	left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
	z-index: 2;
	padding: 10px 10px 110px;
	overflow: hidden;
	color: #fff;
	font-size: 14px;
	font-weight: bold;
	line-height: 1;
	letter-spacing: .2em;
	text-transform: uppercase;
	text-decoration: none;
	writing-mode: vertical-lr;
}
a.scroll_down:after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 1px;
	height: 100px;
	background: #fff;
	animation: sdl 1.5s cubic-bezier(1, 0, 0, 1) infinite;
}
@keyframes sdl {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }
  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }
  50.1% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }
  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}
@media screen and (max-width:549px) {
	a.scroll_down {
		padding: 10px 10px 85px;
	}
	a.scroll_down:after {
		height: 75px;
	}
}

/*
----- アバウト -----
*/
#about {
	padding: 140px 0 60px;
}
#about .about_inner {
	width: 90%;
	max-width: 900px;
	margin: 0 auto;
	padding: 0;
	text-align: center;
}
#about .about_inner h2 {
	font-size: 2.8em;
	margin-bottom: 25px;
}
#about .about_inner p {
	max-width: 750px;
	margin: 0 auto;
	margin-bottom: 50px;
}
#about .about_inner .about_content {
	text-align: left;
	max-width: 570px;
	margin: 0 auto;
}
#about .about_inner .about_content h3 {
	font-size: 1.7em;
	margin: 45px 0 8px;
}
#about .about_inner .about_content table {
	padding-left: 1.2em;
}
#about .about_inner .about_content td {
	vertical-align: top;
	padding: 2px;
}
#about .about_inner .about_content .first_td {
	width: 100px;
}
#about .about_inner .about_content a {
	display: inline-block;
	padding: 14px 1.5em;
	font-size: 0.9em;
	color: #fff;
}
@media screen and (max-width:549px) {
	#about {
		padding: 100px 0 60px;
	}
	#about .about_inner .about_content table {
		padding-left: 0;
	}
	#about .about_inner .about_content a {
		padding: 14px 0.3em;
	}
}
@media screen and (max-width:369px) {
	#about .about_inner h2 {
		font-size: 2.4em;
	}
}

/*
----- ワークス -----
*/
#works {
	padding: 140px 0 60px;
}
#works .works_inner {
	width: 90%;
	max-width: 900px;
	margin: 0 auto;
	padding: 0;
	text-align: center;
}
#works .works_inner h2 {
	font-size: 2.8em;
	margin-bottom: 50px;
}
#works .works_inner .works_list {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	flex-wrap: wrap;
	text-align: center;
}
#works .works_inner .works_item {
	width: 30%;
	margin-bottom: 5%;
	background: #fff;
	border-radius: 5px;
	box-shadow: 0 4px 14px -6px rgba(0,0,0,0.4);
	transition: all 0.2s ease-in-out;
}
#works .works_inner .works_item a {
	display: block;
	padding: 20px 18px 18px;
	color: #333;
	text-shadow: none;
	text-decoration: none;
}
#works .works_inner .works_item .works_img {
	background: #ccc;
	width: 100%;
	height: auto;
	color: #fff;
	text-align: center;
	line-height: 130px;
	border-radius: 3px;
}
#works .works_inner .works_item .works_img img {
	width: 100%;
	max-width: 100%;
	height: auto;
	vertical-align: top
}
#works .works_inner .works_item .works_title {
	margin: 14px 0 5px;
	padding-bottom: 5px;
	border-bottom: 1px dashed #b3d4fc;
	font-size: 1.1em;
	text-align: left;
}
#works .works_inner .works_item .works_text {
	font-size: 0.9em;
	text-align: justify;
}
#works .works_inner .works_item:hover {
	box-shadow: 0 3px 14px 0 rgba(255,255,255,0.8);
	transform: scale(1.03, 1.03);
}
@media screen and (max-width:767px) {
	#works .works_inner .works_item {
		width: 47%;
		margin-bottom: 7%;
	}
}
@media screen and (max-width:549px) {
	#works {
		padding: 100px 0 60px;
	}
	#works .works_inner .works_item {
		width: 100%;
	}
}
@media screen and (max-width:369px) {
	#works .about_inner h2 {
		font-size: 2.4em;
	}
}

/*
----- コンタクト -----
*/
#contact {
	padding: 140px 0 60px;
}
#contact .contact_inner {
	width: 90%;
	max-width: 900px;
	margin: 0 auto;
	padding: 0;
	text-align: center;
}
#contact .contact_inner h2 {
	font-size: 2.8em;
	margin-bottom: 25px;
}
#contact .contact_inner p {
	text-align: center;
	margin-bottom: 50px;
}
#form_box {
	width: 90%;
	max-width: 500px;
	margin: 50px auto;
	text-align: left;
}
#form_box .form_item {
	
}
#form_box .form_item label {
	display: block;
	margin: 14px 0 4px;
}
#form_box .form_item input {
	width: 100%;
	border: none;
	border-radius: 2px;
	background: rgba(255,255,255,0.95);
	font-size: 1.1em;
	padding: 0.5em;
}
#form_box .form_item input:focus {
	box-shadow: 0px 2px 8px -1px rgba(0,0,0,0.2);
	outline: none;
}
#form_box .form_item textarea {
	width: 100%;
	max-width: 100%;
	min-width: 100%;
	min-height: 3em;
	border: none;
	border-radius: 2px;
	background: rgba(255,255,255,0.95);
	font-size: 1.1em;
	padding: 0.5em;
	line-height: 1.6;
}
#form_box .form_item textarea:focus {
	box-shadow: 0px 2px 8px -1px rgba(0,0,0,0.2);
	outline: none;
}
#form_box button {
	display: block;
	margin: 25px auto;
	padding: 0.65em 1.65em;
	border-radius: 2px;
	background: #b3d4fc;
	font-size: 1.1em;
	letter-spacing: 0.1em;
	border: none;
	outline: none;
	transition: all 0.1s ease-in-out;
	text-shadow: 1px 1px 1px rgba(0,84,200,0.3);
}
#form_box button:hover {
	box-shadow: 0px 2px 8px -1px rgba(0,0,0,0.2);
	transform: scale(1.06, 1.06);
}

.confirm_box {
	width: 90%;
	max-width: 500px;
	margin: 70px auto;
	text-align: left;
}
.confirm_box h1 {
	font-size: 2.8em;
	margin-bottom: 35px;
	text-align: center;
}
.confirm_box li {
	margin-bottom: 25px;
	padding-bottom: 5px;
	border-bottom: 1px solid #fff;
}
.confirm_box label {
	margin-bottom: 4px;
}
.confirm_box p {
	font-size: 1.1em;
	padding-left: 1em;
}
.confirm_box .button_box {
	display: flex;
	justify-content: center;
	align-items: center;
}
.confirm_box .button_box button {
	display: block;
	margin: 0 10px;
	padding: 0.65em 1.65em;
	border-radius: 2px;
	background: #ccc;
	font-size: 1.1em;
	letter-spacing: 0.1em;
	border: none;
	outline: none;
	transition: all 0.1s ease-in-out;
	text-shadow: 1px 1px 1px rgba(0,84,200,0.3);
}
.confirm_box .button_box button#submit {
	background: #b3d4fc;
}
.confirm_box .button_box button:hover {
	box-shadow: 0px 2px 8px -1px rgba(0,0,0,0.2);
	transform: scale(1.06, 1.06);
}

.thanks_box {
	width: 90%;
	max-width: 500px;
	margin: 140px auto;
	text-align: left;
}
.thanks_box h1 {
	font-size: 2em;
	margin-bottom: 35px;
	text-align: center;
}
.thanks_box a {
	display: block;
	width: 160px;
	margin: 0 auto;
	padding: 0.6em 0;
	color: #fff;
	background: #b3d4fc;
	font-size: 1.2em;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	text-align: center;
	border-radius: 2px;
	text-shadow: 1px 1px 1px rgba(0,84,200,0.3);
}
.thanks_box a:hover {
	box-shadow: 0px 2px 8px -1px rgba(0,0,0,0.2);
	transform: scale(1.06, 1.06);
}
@media screen and (max-width:549px) {
	#contact {
		padding: 100px 0 60px;
	}
}
@media screen and (max-width:369px) {
	#contact .about_inner h2 {
		font-size: 2.4em;
	}
}

/*
----- フッター -----
*/
#footer {
	background: #444;
}
#footer .copyright {
	margin: 0;
	padding: 15px 0;
	text-align: center;
	font-size: 90%;
}

