/*共通*/
html, body {
	height: 100%;
	box-sizing: border-box;
}
.clearfix::after {
	content: "";
	display: block;
	clear: both;
}
.oneThird {
	padding: 2%;
	display: inline-block;
	width: 28%;
}
.center {
	text-align: center;
}
h2 {
	margin: 0;
	padding: 50px;
	color: #F90;
	font-size: 36px;
	text-align: center;
	font-family: 'Fredericka the Great', cursive;
}
.inner {
	margin: 0 auto;
	padding: 0 5%;
	width: 90%;
	max-width: 960px;
}
.left {
	float: left;
	width: 30%;
}
.right {
	float: right;
	width: 65%;
}
.left2 {
	padding: 1%;
	float: left;
	width: 48%;
}
.right2 {
	padding: 1%;
	float: right;
	width: 48%;
}
/*ヘッダー*/
header#topPage {
	height: 100%;
	width: 100%;
	margin: 0;
	padding: 0;
	outline: 6px double #FFCC33; /* 線幅、線のスタイル、カラー */
	outline-offset: -25px; /* 対象の要素からの距離、マイナス(内側)にも対応 */
}
header#topPage h1 {
	margin: 0;
	padding: 0;
	color: #CCC;
	font-size: 1.2em;
	color: #F00;
}
header#topPage .left {
	padding-top: 30px;
	display: inline-block;
	width: 30%;
	text-align: center;
}
header#topPage .right {
	vertical-align: top;
	line-height: 180px;
}
header#topPage ul li {
	display: inline;
}
header#topPage ul a {
	padding: 5px 20px;
	color: #FFF;
}
header#topPage img {
	width: 50%;
	height: auto;
}

header#secondPage{
	margin-bottom: 30px;

}
header#secondPage nav#topMenu{
	margin-bottom: 30px;
	height: 50px;
	box-shadow: #999 3px 3px 3px;

}
header#secondPage nav#topMenu ul{
	padding-inline-start: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	overflow: hidden;
	border-right: 1px #999 solid;

}
header#secondPage nav#topMenu ul li{
	width: 20%;
	height: 50px;
	float: left;
	
	text-align: center;

}
header#secondPage nav#topMenu ul li a{
	height: 100%;
	width: 100%;
	display : block;
	text-decoration: none;
	line-height: 50px;
	color:#666;
	border-left: 1px #999 solid;

}
header#secondPage #mainPic{
	position: relative;
	width: 100%;
	max-width: 960px;
	height: 190px;
	overflow: hidden;
	text-align: center;
	padding: 60px 0 0 0;
	z-index:2;

}
header#secondPage #mainPic h1{
	position: relative;
	text-shadow: #000 2px 2px 2px;
	color: #FFF;
	font-size: 36px;
	z-index: 1;

}
header#secondPage #mainPic img{
	position:absolute;
	left: 0;
	top: 0;

}
/*メイン*/
#container{
	margin-bottom: 30px;

}
aside ul{
	margin-bottom: 20px;
	list-style: none;
	padding-inline-start: 0;

}
aside ul li{
	width: 100%;
	border-top: 2px #FFF solid;

}
aside ul li a{
	color: #666;
	background:url(images/nav.png), linear-gradient(-65deg, rgba(255, 176, 0, 0.9), rgba(255, 200, 240,  1));
	text-decoration: none;
	display: block;
	height: 40px;
	padding: 20px 0 0 0;
	width: 100%;
	text-align: center;
}
main {
	padding: 10px 0;
	background-color: #FFF;
}

section#welcome h2, section#brand h2 {
	color: #F30;
	background: -webkit-repeating-linear-gradient(-45deg, #FC0, #FC0 3px, #FFF 3px, #FFF 7px);
	background: repeating-linear-gradient(-45deg, #FC0, #FC0 3px, #FFF 3px, #FFF 7px);
}
main#secondMain h2 {
	font-size:24px;
  position: relative;
  padding: 8px 15px;
  margin-left: 40px;
  background: #F30;
  border-radius: 20px;
  color:#EEE;
}

main#secondMain h2:before {
  font-family: "Font Awesome 5 Free";
  content: "\f111";
  position: absolute;
  font-size: 15px;
  left: -40px;
  bottom: 0;
  color: #FC3;
}

main#secondMain h2:after {
  font-family: "Font Awesome 5 Free";
  content: "\f111";
  position: absolute;
  font-size: 23px;
  left: -23px;
  bottom: 0;
  color: #F60;
}
section {
	padding: 0 5px;
}
section#news h3 {
	padding: 15px 0;
	border-bottom: solid 3px #AAA;
	display: inline;
}
section#welcome .box, main#secondMain .box {
	margin: 2em 0;
	position: relative;
	padding: 0.5em 2%;
	border-top: solid 2px #F30;
	border-bottom: solid 2px #F30;
}
section#welcome .box:before, section#welcome .box:after,main#secondMain .box:before, main#secondMain .box:after {
	content: '';
	position: absolute;
	top: -10px;
	width: 2px;
	height: -webkit-calc(100% + 20px);
	height: calc(100% + 20px);
	background-color: #F30;
}
section#welcome .box:before, main#secondMain .box:before{
	left: 5px;
}
section#welcome .box:after,main#secondMain .box:after {
	right: 5px;
}

section#welcome .box img,main#secondMain .box img {
	width: 100%
}
section#news {
	padding: 0 20px;
	padding-bottom: 30px;
	background: #AAA;
	background: url(../images/thirdBackground.jpg);
}
section#news h2 {
	color: #FFF;
}
section#news .inner {
	padding-top: 10px;
	background-color: rgba(255,255,255,0.8);
}
section#news ul {
	padding-inline-start: 0px;
}
section#news ul li {
	padding: 5px;
	padding-left: 0;
	list-style: none;
	border-bottom: dotted 1px pink;
}
section#news ul li a {
	margin: 20px 0;
	padding: 5px 1px;
}
section#news ul li div {
	padding: 5px;
	border: 1px solid #AAA;
	width: 70px;
	text-align: center;
	font-size: 12px;
	display: block;
	margin: 15px 0;
}
section#brand {
	text-align: center;
}
section#brand img {
	width: 100%;
	max-width: 350px;
	height: auto;
}
section#brand .box {
	position: relative;
	padding: 0.25em 1em;
}
section#brand .box:before, section#brand .box:after {
	content: '';
	width: 20px;
	height: 30px;
	position: absolute;
	display: inline-block;
}
section#brand .box:before {
	border-left: solid 1px #5767bf;
	border-top: solid 1px #5767bf;
	top: 0;
	left: 0;
}
section#brand .box:after {
	border-right: solid 1px #5767bf;
	border-bottom: solid 1px #5767bf;
	bottom: 0;
	right: 0;
}
section#brand .box p {
	margin: 0;
	padding: 0;
}
section#media ul, section#media li {
	margin: 0;
	padding: 0;
	border: 0;
	font: inherit;
	font-size: 100%;
	vertical-align: baseline;
}
section#media ul {
	list-style: none;
}
/*フッター*/
footer {
	border-top: 30px #FF6600 solid;
	background-color: #FC6;
	color: #333;
}
footer a {
	text-decoration: underline;
}
footer h4 {
	font-size: 1.8px;
	margin: 5px 0;
}
footer p {
	font-size: 1.2px;
}
/*バックグランドビデオ*/

#video-background, #video-overlay {
	position: fixed;
	top: 0;
	left: 0;
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;
}
#video-background {
	z-index: -2;
}
#video-overlay {
	background-image: url("../images/overlay.png");
	z-index: -1;
}
/*メディアスライダー*/
.slideFrame {
	overflow: hidden;
}
.slideCell {
	display: block;
}
.slideGuide .slideCell {
	float: left;
}
#slider-0.slideFrame .slideCell {
	width: 300px;
	height: 420px;
	padding: 20px;
}
#slider-1.slideFrame {
	position: relative;
	height: 164px;
}
#slider-1.slideFrame .slideCell {
	height: 122px;
	padding: 20px;
	background-color: #FC9;
}
#slider-1.slideFrame .slideCell:hover {
	background-color: #CCC;
}
