/*
Template:tp-minpage-box Layout Stylesheet
v1.0.0
Last Updated: 2020-03-29
Author: Web Studio
*/


@import url("./general.css");

/*------- リセット -------*/
* {
	border:0;
	margin:0;
	outline:0;
	padding:0;
	background:none;
		-webkit-box-sizing:border-box;
		-moz-box-sizing:border-box;
		-ms-box-sizing:border-box;
		-o-box-sizing:border-box;
		box-sizing:border-box;
	font:inherit;
	font-family:inherit;
	font-size:100%;
	font-style:inherit;
	font-weight:inherit;
	text-decoration:none;
	vertical-align:baseline;
	list-style: none;
}

html {
	font-family: 'Lato', 'Noto Sans JP', '游ゴシック Medium', '游ゴシック体', 'Yu Gothic Medium', YuGothic, 'ヒラギノ角ゴ ProN', 'Hiragino Kaku Gothic ProN', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
	font-size: calc(0.75rem + ((1vw - 4.8px) * 0.4167));
	-webkit-font-smoothing:antialiased;
	-moz-font-smoothing:antialiased;
	-ms-font-smoothing:antialiased;
	-o-font-smoothing:antialiased;
	-moz-osx-font-smoothing:grayscale;
	font-smoothing:antialiased;
}
body {
	color:#111;
	background:#fff;
	line-height:2.0;
	letter-spacing:.1rem;
	-webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -o-text-size-adjust: 100%;
    text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-smoothing: antialiased;
}
@media screen and (max-width: 480px) {
	body {
		font-size:1.2rem;
	}
}
@media screen and (min-width: 1920px) {
	body {
		font-size:3,0rem;
	}
}

/*------- HTMLフォーマット -------*/
h1 i,
h2 i,
h3 i,
h4 i,
h5 i,
h6 i {display:block;}


b {color:#1ebeb4;}
i {font-family:"Open Sans", sans-serif;}
u {text-decoration:underline;}
em {font-weight:bold;}
strong {font-weight:bold; font-size:1.2em;}
big {}
small {font-size:70%;}


/*------- 基本レイアウト -------*/

.header-wrap {
	position:relative;
}
header {
	position:relative;
	line-height:1;
	width:100%;
	z-index:3;
    overflow: hidden;
}
header .header-inner {
	position:relative;
	margin:0 auto;
	width:100%;
    line-height:1.1;
}
main {
	margin:0 auto;
	padding:0;
	width:100%;
	max-width:1900px;
}
#footer-wrap {
	background:#030303;
}
footer {
	margin:0 auto;
	width:100%;
}
header > .inner {
	padding:15rem 2rem;
}
main > .inner {
}
footer > .inner {
	padding:4rem 2rem;
}
section > .inner
{
	padding:4rem 2rem;
}


/*------- 基本レイアウト @media screen -------*/






/*------- Page to Top -------*/
.page-top {
	margin: 0;
    padding: 0;
    position: fixed;
    bottom: 12px;
    right: 12px;
    width: 64px;
    height: 64px;
    text-align: center;
    overflow: hidden;
    z-index: 999;
}
.page-top a {
	display: block;
    position: relative;
    margin: 0;
    width:100%;
    height:100%;
}
.page-top i {
	font-size: 64px;
    position: absolute;
    top: 0;
    left: 0;
    color: #fff;
}





/*------- ヘッダー -------*/
header .site-title {
}

/*------- ナビゲーション -------*/
#nav-container {
	margin: 0;
}

#nav-container ul {
	display: flex;
	justify-content: space-between;
	list-style: none;
	margin: 0;
	padding: 0;
}

#nav-container ul li {
	flex: 1;
}

#nav-container ul li a {
	border: 1px solid #ccc;
	border-right: none;
	color: #333;
	display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
   	padding: 0.6em 0.4em;
	text-align: center;
	text-decoration: none;
}

#nav-container ul li a:hover {
	background: #ccc;
	color: #ffffff;
}

#nav-container ul li:last-child a {
	border-right: 1px solid #ccc;
}

@media screen and (max-width: 768px) {
  #nav-container ul {
    flex-wrap: wrap;
    width: 100%;
  }
  #nav-container ul li {
    flex: auto;
    width: 50%;
    line-height:1.3;
  }
  #nav-container ul li:nth-child(3n) a {
    border-right: 1px solid #ccc;
  }
  #nav-container ul li:nth-child(n + 4) a {
    border-top: none;
  }
}


/*------- フッター -------*/

footer #footer-corporate {
}
footer #footer-corporate span {
	display:block;
}
footer .nav-wrap {
	position:absolute;
	right:2rem;
	top:2rem;
}
footer nav ul li {
    display: inline-block;
}
footer nav ul li a {
}



/*------- キーフレーム -------*/
@keyframes key1{
  0% {transform: translateY(0px);}
  100% {transform: translateY(-10px);}
}
