
/*全端末（PC・タブレット・スマホ）共通設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/

/*全体の設定
---------------------------------------------------------------------------*/
html {
	height: 100%;
	font-size: 100%;}
body {
	color: #2a3439;	/*全体の文字色*/
	font-family: 'M PLUS Rounded 1c', sans-serif;
	font-size: 18px;	/*文字サイズ*/
	line-height: 1.5;		/*行間*/
	background: #fff;	/*背景色*/
	-webkit-text-size-adjust: 100%;
}
h1,h2,h3,h4,h5,h6,p,ul,ol,li,dl,dt,dd,form,figure,form {margin: 0px;padding: 0px;font-size: 100%;font-weight: normal;}
ul {list-style-type: none;}
ol {padding-left: 40px;padding-bottom: 15px;}
img {border: none;max-width: 100%;height: auto;vertical-align: middle;}
table {border-collapse:collapse;font-size: 100%;border-spacing: 0;}
video {max-width: 100%;}
iframe {width: 100%;}

/* #container
--------------------------- */
#container {
    top: 0;
    left: 0;
    width: 100%;
    position: absolute;
    z-index: 1;
}
#container h1 {
	font-size: 3.5em;
	position: relative;
	color: #5386A6;
	text-align: left;
	margin: 0 10px;
}
#container h1.sub {
	font-size: 2.5em;
}
#container h2 {
	font-size: 1.3em;
	position: relative;
	font-family: 'Noto Serif JP', serif;
	margin-bottom: 50px;
}
#container h4 {
	position: relative;
	color: #5386A6;
	text-align: left;
	margin: 0px 10px 30px;
}
#container h4.sub {
	position: relative;
	color: #5386A6;
	text-align: left;
	margin: 0px 10px 30px;
}
#container h5 {
	margin: 0;
	font-size: 1.8em;
}
#container h6 {
	position: relative;
	text-align: left;
	margin: 0px 10px 0px;
	font-size: 0.8em;
}
#container p {
	margin: 10px 0px;
}
#container table {
	width: 100%;
	text-align: left;
	margin: 5px 0;
	table-layout: fixed;
	margin-bottom: 30px;
}
#container table, #container table td, #container table th {
	border-bottom: 1px solid #ccc;
	border-top: 1px solid #ccc;
	padding: 20px 15px;	
	word-break: break-all;
	font-size: .9em;
}
#container table th {
	width: 18%;	
}
#container li {
	padding-left: 0%;
	text-align: left;
	list-style-type: circle;
	list-style-position: inside;
}
.flex_container {
	display: flex;
	justify-content: space-around;
	align-items: center;
}
.flex_box {
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	align-items: center;
	width: 45%;
}
.thumbnail_container{
	align-items: flex-start;
}
.stage_contents {
	position: relative;
	width: 100vw;
	top: 0px;
	left: 0px;
	margin:0 ;
	padding:100px 12%;
	z-index: 2;
	text-align: center;
}

/*イン設定
---------------------------------------------------------------------------*/
.fadein {
	opacity : 0;
	transform : translate(0, 100px);;
	transition : all 1s;
}
.fadein.active{
	opacity : 1;
	transform : translate(0, 0);
}
.fadein_left {
	opacity : 0;
	transform : translateX(-100px);
	transition : all 1s;
}
.fadein_left.active{
	opacity : 1;
	transform : translate(0, 0);
}
/*画像（全般）設定
---------------------------------------------------------------------------*/
img {
	max-width: 100%;
}
/*リンク（全般）設定
---------------------------------------------------------------------------*/
a {
	color: #2a3439;		/*リンクテキストの色*/
	text-decoration: none;
}
a:hover {
	transition: 0.5s;	/*マウスオン時の移り変わるまでの時間設定。*/
}
/*ボタン（下線スライド）設定
---------------------------------------------------------------------------*/
.border_slide_btn {
	position: relative;
	display: inline-block;
	text-decoration: none;
	min-width: 9vw;
	text-align: center;
	font-size: 0.9rem;
}
  .border_slide_btn:hover {
	cursor: pointer;
	text-decoration: none;
}
  .border_slide_btn::after {
	position: absolute;
	bottom: -20px;
	left: 0;
	content: '';
	width: 100%;
	height: 2px;
	background: #5386A6;
	transform: scale(0, 2);
	transform-origin: right top;
	transition: transform .5s;
}
.border_slide_btn:hover {
  color: #5386A6;
}
.border_slide_btn:hover::after {
	transform-origin: left top;
	transform: scale(1, 2);
}
.border_slide_btn .hover{
	display: none;
}
.border_slide_btn:hover .normal{
	display: none;
}
.border_slide_btn:hover .hover{
	display: inline;
}
/*ボタン（横スライド）設定
---------------------------------------------------------------------------*/
.left_slidein_btn{
	width:200px;
	height:50px;
	text-align:center;
	cursor:pointer;
	position:relative;
	box-sizing:border-box;
	overflow:hidden;
	margin:0;
	background: #2a3439;
	color: #fff;
}
.left_slidein_btn a{
	display: block;
	font-size:16px;
	color:#fff;
	text-decoration:none;
	line-height:50px;
	transition:all .5s ease;
	z-index:2;
	position:relative;
}
.left_slidein_effect{
	width:100%;
	height:100%;
	left:-100%;
	background:#5386A6;
	position:absolute;
	transition:all .5s ease;
	z-index:1;
}
.left_slidein_btn:hover .left_slidein_effect{
	left:0;
}
.left_slidein_btn:hover a{
	color:#fff;
}
.flex_box .left_slidein_btn {
	width: 80%;
	height: 75px;
}
.flex_box .left_slidein_btn a{
	line-height:75px;
}
.flex_box .left_slidein_effect {
	width: 100%;
	height: 100%;
	left: -100%;
}
/*ボタン（ページトップ）設定
---------------------------------------------------------------------------*/
#PageTopBtn {
    position: fixed;
    bottom: 0px;
	right: 13px;
	z-index: 4;
}
#PageTopBtn a {
    display: block;
	text-decoration: none;
}
#PageTopBtn a img {
	opacity: 0.85 ;
	width: 40px;
}
#PageTopBtn a:hover {
    opacity: 0.55 ;
}
/*inner設定
---------------------------------------------------------------------------*/
.wrapper {
	max-width: 100vw;	/*サイトの最大幅*/
	margin: 0;
	padding-left: 3% !important;
	padding-right: 5% !important;
}
/*ヘッダー設定
---------------------------------------------------------------------------*/
header {
	height: auto;
	width: 100vw;
	background: #fff;
	position: fixed;
	z-index: 9997;
	box-shadow: 0px 10px 20px 20px #fff;
}
/*ロゴ画像*/
#logo {
	width: 210px;
	padding-top: 20px;
}
.page_header {
	display: flex;
	justify-content: space-between;
}
/*メニュー（PC用）設定
---------------------------------------------------------------------------*/
.main_nav {
	display: flex;
	list-style: none;
	margin-top: 35px;
}
.main_nav li {
	padding-bottom: 20px;
}
/*メニュー（スマホ用）設定
---------------------------------------------------------------------------*/
nav.globalMenuSp {
    position: fixed;
    z-index: 2;
    top: 0;
    left: 0;
    background: #fff;
    color: #000;
    text-align: center;
    transform: translateY(-100%);
    transition: all 0.6s;
    width: 100%;
	z-index: 9999;
}
nav.globalMenuSp ul {
    background: #5386A6;
    margin: 0 auto;
    padding: 0;
    width: 100%;
}
nav.globalMenuSp ul li {
    font-size: 1.1em;
    list-style-type: none;
    padding: 0;
    width: 100%;
    border-bottom: 1px dotted #fff;
}
/* 最後はラインを描かない */
nav.globalMenuSp ul li:last-child {
    padding-bottom: 0;
    border-bottom: none;
}
nav.globalMenuSp ul li a {
    display: block;
	color: #fff;
	font-size: 1.3em;
    padding: 1em 0;
}
nav.globalMenuSp ul li p {
    font-size: .6em;
}
/* このクラスを、jQueryで付与・削除する */
nav.globalMenuSp.active {
    transform: translateY(0%);
}
/*メニュー（ハンバーガー）設定
---------------------------------------------------------------------------*/
.navToggle {
    display: block;
    position: fixed;    /* bodyに対しての絶対位置指定 */
    right: 13px;
    top: 12px;
    width: 42px;
    height: 51px;
    cursor: pointer;
    z-index: 9998;
    background: #2a3439;
	text-align: center;
	z-index: 9999;
}
.navToggle span {
    display: block;
    position: absolute;    /* .navToggleに対して */
    width: 30px;
    border-bottom: solid 3px #eee;
    -webkit-transition: .35s ease-in-out;
    -moz-transition: .35s ease-in-out;
    transition: .35s ease-in-out;
    left: 6px;
}
.navToggle span:nth-child(1) {
    top: 9px;
}
.navToggle span:nth-child(2) {
    top: 18px;
}
 
.navToggle span:nth-child(3) {
    top: 27px;
}
.navToggle span:nth-child(4) {
    border: none;
    color: #eee;
    font-size: 9px;
    font-weight: bold;
    top: 34px;
}
/* 最初のspanをマイナス45度に */
.navToggle.active span:nth-child(1) {
    top: 18px;
    left: 6px;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
/* 2番目と3番目のspanを45度に */
.navToggle.active span:nth-child(2),
.navToggle.active span:nth-child(3) {
    top: 18px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
}
/*スマホ用メニューを表示させない*/
.globalMenuSp {display: none;}
/*３本バーアイコンを表示させない*/
.navToggle {display: none;}
/*背景設定
---------------------------------------------------------------------------*/
#backstage {
	position: fixed;
	z-index: -1;
	margin-top: 85px;
}
/*開始
---------------------------------------------------------------------------*/
#prestage {
	position: relative;
	height: 60vh;
	background: #fff;
	box-shadow: 0px 30px 50px 30px #fff;
}
#prestage img {
	position: absolute;
	width      : 40%;
	opacity: 70%;
	top: 75%;
	left: 50%;
	-ms-transform: translate(-50%,-50%);
	-webkit-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
	margin:0;
	padding:0;
}
/*メッセージ
---------------------------------------------------------------------------*/
#stage1 {
	position: relative;
	height: 100vh;
	background: none;
}
#stage1 h2 {
	position: absolute;/*絶対配置*/
	top: 50%;
	left: 8%;
	text-shadow: 2px 1px #333;
	margin:10px;
	padding:0px 10px;
	transform: translate(0%,-50%);
	font-weight: bold; /*太字に*/
	color: #fff;	
}
/*理念設定
---------------------------------------------------------------------------*/
#stage2 {
	position: relative;
	width: 100vw;
	min-height: 100vh;
	text-align: center;
	background: #fff;
}
#stage2 img {
	position: absolute;
	width      : 40%;
	opacity: 40%;
	top: 50%;
	left: 50%;
	-ms-transform: translate(-50%,-50%);
	-webkit-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
	margin:0;
	padding:0;
}
/*サービス設定
---------------------------------------------------------------------------*/
#stage3 {
	position: relative;
	width: 100vw;
	min-height: 100vh;
	background: #D5E5F2;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}
/*サービス紹介ボックス
---------------------------------------------------------------------------*/
.snip1361 {
  position: relative;
  overflow: hidden;
  margin: 10px 25px;
  min-width: 20vw;
  max-width: 30vw;
  width: 100%;
  color: #2a3439;
  text-align: left;
  line-height: 1.4em;
  font-size: 1em;
}
.snip1361 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 1s ease;
  transition: all 1s ease;
}
.snip1361 img {
	width: 100%;
	height: 400px;
	object-fit: cover;
  vertical-align: top;
}
.snip1361 figcaption {
  position: absolute;
  top: calc(73%);
  width: 100%;
  height: 400px;
  min-height: inherit;
  background-color: #ffffff;
  padding: 15px 25px 65px;
}
.snip1361 figcaption:before {
  position: absolute;
  content: '';
  z-index: 2;
  bottom: 100%;
  left: 0;
  width: 100%;
  height: 100px;
  background-image: -webkit-linear-gradient(top, transparent 90%, #ffffff 100%);
  background-image: linear-gradient(to bottom, transparent 90%, #ffffff 100%);
}
.snip1361 h3,
.snip1361 p,
.snip1361 span {
  margin: 0 0 1px;
}
.snip1361 h3 {
  font-weight: 300;
  font-size: 1.7em;
  line-height: 1.2em;
  text-transform: uppercase;
}
.snip1361 p {
  font-weight: 300;
  font-size: 1.2em;
  line-height: 1.5em;
  text-transform: uppercase;
  padding-bottom: 20px;
}
.snip1361 p.detail {
  font-size: .8em;
  letter-spacing: 1px;
  opacity: 0.9;
  text-align: justify;
}
.snip1361 a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
}
.snip1361:hover figcaption,
.snip1361.hover figcaption {
  top: 0px;
}
.snip1361 .left_slidein_btn {
	width: 100%;
	height: auto;
	padding: 10px 0;
	margin-top: 5px;
	font-size: .85em;
}

/*ニュース
---------------------------------------------------------------------------*/
#stage4 {
	position: relative;
	width: 100vw;
	text-align: center;
	
}
#stage4 iframe {
	margin: 0 0 30px;
	width: 90%;
	background-color: #fff;
	padding: 30px;
}
#stage4 .flex_container {
	align-items: center;
}
/*お問い合わせ
---------------------------------------------------------------------------*/
#stage5 {
	position: relative;
	width: 100vw;
	min-height: 70vh;
	text-align: center;
	background: #dfdfdf;
	
}

/*ヘッダー設定
---------------------------------------------------------------------------*/
footer {
	text-align: center;
	padding: 30px ;
}
footer {
	text-align: center;
	padding: 30px ;
}
footer li {
	padding-top: 20px;
	color: #fff;
	font-size: 0.675rem;
}
footer .flex_container {
	justify-content: center;
}
#space {
	position: relative;
	min-height: 60vh;
	padding-top: 250px;
}
#space h1, #space h4 {
	color: #fff;
	text-align: center;
}
#space h5, #space p {
	color: #2a3439;
	text-align: center;
}
/*詳細ページ設定
---------------------------------------------------------------------------*/
#detail {
	position: relative;
	padding: 5px 0 100px;
	width: 100vw;
	min-height: 100vh;
	text-align: center;
	background-color: #fff;
	background-color:rgba(255,255,255,0.8);
	background-blend-mode:lighten;
}
#detail h5 {
	margin: 15px 0 5px;
	padding: 0 10px;
	text-align: left;
}
#detail h4 {
	padding-bottom: 50px;
}
#detail h4.sub {
	padding-bottom: 0px;
}
#detail li.detail_contents {
	padding: 0 15px;
	margin: 0 0 10px;
}
#detail p.detail_contents {
	padding: 0 15x;
	margin: 0 0 10px;
	text-align: left;
}
#detail img.thumbnail {
	margin: 10px;
	width: 22vw;
    height: 200px;
    object-fit: cover;
    object-position: 50% 0%;
}
.thumbnail_discription {
	margin: 0 15px 35px;
	width: 50vw;
	text-align: justify;
}
.contact {
	width: 90%;
	padding: 10% 5%;
	background-color: #fff;
}
.contact input.text, .contact textarea {
	width: 70%;
	border: solid 1px #ddd;
	background-color: #fff;
}
.contact textarea {
	height: 200px;
}

/*画面幅1400px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:1400px){
	input[type="submit"], input[type="button"], input[type="reset"] { -webkit-appearance: none; }
body {
	font-size: 16px;	/*文字サイズ*/
}
}
/*画面幅1200px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:1200px){
	input[type="submit"], input[type="button"], input[type="reset"] { -webkit-appearance: none; }
body {
	font-size: 15px;	/*文字サイズ*/
}
.snip1361 p {
	font-size: 1em;
}
#backstage img {
    height     : 100vh;
	object-fit: cover; 
	object-position: 70% 100%;
}
}
/*画面幅1000pxpx以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:1000px){
	input[type="submit"], input[type="button"], input[type="reset"] { -webkit-appearance: none; }
.snip1361 {
	min-width: 80vw;
	max-width: 80vw;
}
.flex_container {
	flex-direction: column;
	align-items: center;
}
.flex_box {
	width: 100%;
	flex-direction: column;
	align-items: center;
}
#detail img.thumbnail {
	width: 80vw;
}
.thumbnail_discription {
	width: 80vw;
}
.snip1361 h3 {
	font-size: 1.8em;
  }
  .snip1361 p {
	font-size: 1.4em;
  }
  .snip1361 p.detail {
	font-size: 1em;
  }
  .throw {
	  display: none;
  }
}
/*画面を横向きにした場合の高さが700px以下の場合の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (orientation: landscape) and (max-height:700px){
	
#backstage img {
	width     : 100vw;
	height: auto;
	object-position: 70% 100%;
}
}
/*画面を横向きにした場合の高さが500px以下の場合の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (orientation: landscape) and (max-height:500px){

/*メインメニュー
---------------------------------------------------------------------------*/
/*メニュー１個あたりの設定*/

nav.globalMenuSp ul li {
    font-size: .8em;
}
/* 最後はラインを描かない */
nav.globalMenuSp ul li:last-child {
    padding-bottom: 0;
    border-bottom: none;
}
nav.globalMenuSp ul li a {
    display: block;
    color: #fff;
    padding: 0.4em 0;
}
nav.globalMenuSp ul li p {
    font-size: .6em;
}
}
@media screen and (max-width: 1000px) and (min-width:481) and (max-height:700px){
	.flex_container {
		flex-direction: row-reverse;
	}
}
/*画面幅800px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:800px){
input[type="submit"], input[type="button"], input[type="reset"] { -webkit-appearance: none; }

#container p.long_text {
	text-align: justify;
}
#container table th {
	width: 25%;	
}
/*メインメニュー
---------------------------------------------------------------------------*/
/*アニメーションのフレーム設定。全100コマアニメーションだと思って下さい。透明度(opacity)0%から透明度100%にする指定。*/
@keyframes menu1 {
	0% {opacity: 0;}
	100% {opacity: 1;}
}
/*PC用メニューを非表示にする*/
#menubar {display: none;}
/*スマホ用メニューを表示させる*/
.globalMenuSp {display: block;}
/*３本バーアイコンを表示させる*/
.navToggle {display: block;}

}

/*画面幅480px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:480px){
	input[type="submit"], input[type="button"], input[type="reset"] { -webkit-appearance: none; }
body {
	font-size: 11px;	/*文字サイズ*/
}
.stage_contents {
	padding:70px 7%;
}
.left_slidein_btn {
	width: 90%;
}
.left_slidein_effect{
	width:100%;
	left:-100%;
}
/*ロゴ画像*/
#logo {
	width: 150px;
}
#prestage img {
	width      : 60%;
}
#stage2 img {
	width      : 90%;
}
.snip1361 {
	margin: 20px 0px;
}
.snip1361 img {
	height: 280px;
}
.snip1361 figcaption {
  top: calc(65%);
}
#space {
	height: 55vh;
}
/* #detail.detail_contents {
	background-image: none;
} */
/* .contact {
	margin: 0 2%;
}*/
} 