@charset "utf-8";
/* -------------------------------
PROMO
------------------------------- */
#promo {
	background: url(../images/bg_promo01.jpg) no-repeat center top / cover;
	height: calc(100vh - 120px);
	max-height: 73.75vw;
	position: relative;
	z-index: 1;
}
#promo .inn {
	width: 100%;
	max-width: calc((100vh - 120px) * 1200 / 885);
	height: 100%;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;
	z-index: 0;
}
.bg {
	position: absolute;
	overflow: hidden;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	z-index: -1;
}
.bg .bgImg {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	opacity: 0;
	animation: bgAnime 24s infinite;
	background-position: center center;
	background-size: cover;
}

.bg .src1 {
	background-image: url("../images/bg_promo01.jpg");
}
.bg .src2 {
	background-image: url("../images/bg_promo02.jpg");
	animation-delay: 8s;
}
.bg .src3 {
	background-image: url("../images/bg_promo04.jpg");
	animation-delay: 16s;
}
@keyframes bgAnime {
	0% { opacity: 0; transform: scale(1.2);}
	5% { opacity: 1;}
	33% { opacity: 1;transform: scale(1);}
	42% { opacity: 0; }
	100% { opacity: 0;}
}

#promo h1 {
	text-align: center;
	margin-top: 5.25%;
	width: 28%;
}
#promo h1 img {
	width: 100%;
    animation-duration: 1.6s;
	animation-delay: 0.4s;
    animation-fill-mode: forwards;
    animation-iteration-count: 1;
    animation-name: promo01;
    animation-timing-function: ease-in;
	opacity: 0;
}
#promo .logo {
	text-align: center;
	margin-top: 4%;
	width: 28%;
}
#promo .logo img {
	width: 100%;
    animation-duration: 1.6s;
	animation-delay: 0s;
    animation-fill-mode: forwards;
    animation-iteration-count: 1;
    animation-name: promo01;
    animation-timing-function: ease-in;
	opacity: 0;
}
#promo .next {
	position: absolute;
	left:calc(50% - (7.3%/2));
	right:0;
	bottom:6%;
	text-align: center;
	margin-top: 7%;
	width: 7.3%;
}
#promo .next img {
	width: 100%;
    animation-duration: 1.6s;
	animation-delay: 0.8s;
    animation-fill-mode: forwards;
    animation-iteration-count: 1;
    animation-name: promo01;
    animation-timing-function: ease-in;
	opacity: 0;
}
@media all and (-ms-high-contrast:none){
	#promo h1 {
		margin-top: 4.5%;
	}
	#promo .logo {
		margin-top: 2%;
	}
	#promo .next {
		margin-top: 3.5%;
	}
}

@keyframes promo01 {
0% {
	opacity: 0;
}
100% {
	opacity: 1;
}
}
/* -------------------------------
HEADER
------------------------------- */
header{
	position: relative;
}
header.fixed {
	position: fixed;
	z-index: 100;
	top: 0;
	left:0;
	right:0;
	margin-bottom: 120px;
}
/* -------------------------------
CONTENTS
------------------------------- */
#contents {
	margin-top: 0px;
}
@media screen and (max-width: 768px){
	#contents {
		margin-top: 0px;
	}
}
#contents.fixed {
	margin-top: 120px;
}
@media screen and (max-width: 768px){
	#contents.fixed {
		margin-top: 70px;
	}
}
/* -------------------------------
COMPANY
------------------------------- */
#company .pic {
	text-align: right;
	transform: translateX(10px);
	opacity: 0;
	transition: all 1s ease;
}
#company.in .pic {
	transform: translateX(0);
	opacity: 1;
}
#company .pic img {
	width: 80rem;
}
#company .txt {
	left: 0;
	top: 0;
	width: 40rem;
	height: 40rem;
	transform: translateX(-10px);
	opacity: 0;
	transition: all 1s ease;
}
#company.in .txt {
	transform: translateX(0);
	opacity: 1;
}
/* -------------------------------
PRODCUTS
------------------------------- */
#products .pic {
	text-align: left;
	transform: translateX(-10px);
	opacity: 0;
	transition: all 1s ease;
}
#products.in .pic {
	transform: translateX(0);
	opacity: 1;
}
#products .pic img {
	width: 80rem;
}
#products .txt {
	right: 0;
	top: 0;
	width: 40rem;
	height: 40rem;
	transform: translateX(10px);
	opacity: 0;
	transition: all 1s ease;
}
#products.in .txt {
	transform: translateX(0);
	opacity: 1;
}
/* -------------------------------
EXAMPLE
------------------------------- */
#example .pic {
	text-align: right;
	transform: translateX(10px);
	opacity: 0;
	transition: all 1s ease;
}
#example.in .pic {
	transform: translateX(0);
	opacity: 1;
}
#example .pic img {
	width: 80rem;
}
#example .txt {
	left: 0;
	top: 0;
	width: 40rem;
	height: 40rem;
	transform: translateX(-10px);
	opacity: 0;
	transition: all 1s ease;
}
#example.in .txt {
	transform: translateX(0);
	opacity: 1;
}
/* -------------------------------
NEWS
------------------------------- */
#news {
	width: 100%;
	border-top: 1px solid #666;
}
#news .inn {
	width: 100%;
	max-width: 96rem;
	margin: 0 auto;
	padding: 8rem 1.5rem 0;
	display: flex;
}
#news h2 {
	display: flex;
	align-items: center;
	font-size: 3rem;
	font-family: "ゴシックMB101 R",Gothic MB101 Regular;
	border-right: 3px dotted #666;
	width: 21.5rem;
}
#news ul {
	height: 12.5rem;
	overflow-y: auto;
	margin: 0.5rem 0 0.5rem 3rem;
	flex: 1;
}
#news ul li {
	padding: 0.5rem 0;
	line-height: 1.5;
}
#news ul li a,
#news ul li span {
	display: flex;
	justify-content: space-between;
}
#news ul li .ctg {
	width: 17.5rem;
}
#news ul li .ctg::before {
	content: "[";
}
#news ul li .ctg::after {
	content: "]";
}
#news ul li time {
	width: 12.5rem;	
}
#news ul li .txt {
	flex: 1;
}
@media screen and (max-width: 768px){
	#news .inn {
		padding: 3rem 2rem 0;
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	#news h2 {
		display: flex;
		align-items: center;
		font-size: 3rem;
		font-family: "ゴシックMB101 R",Gothic MB101 Regular;
		border-right: none;
		border-bottom: 3px dotted #666;
		justify-content: center;
	}
	#news ul {
		height: 50vh;
		overflow-y: auto;
		margin: 3rem 0 0;
		flex: auto;
	}
	#news ul li {
		border-bottom: 1px dashed #ccc;
		padding: 1rem;
	}
	#news ul li a,
	#news ul li span {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
	}
	#news ul li .ctg {
		width: auto;
		font-weight: bold;
		font-size: 1.4rem;
	}
	#news ul li time {
		width: auto;	
		font-size: 1.4rem;
		margin-left: 0.5rem;
	}
	#news ul li .txt {
		flex: auto;
		flex-basis: 100%;
		margin-top: 0.5rem;
	}
}
