@charset "utf-8";

/*===============================================
	header
===============================================*/
header {
	max-width: 1200px;
	margin:0 auto;
	display: flex;
	flex-flow: row nowrap;
	justify-content:space-between;
	align-items: flex-end;
	background-color: #FFF;
/*	background-color: rgba(255,255,255,0.9);*/
}
header h1 {
	padding:15px 15px;
}
header h1 img {
	width: 250px;
}
@media screen and (max-width:900px){
header h1 {
	padding:10px 10px;
}
header h1 img {
	width: 200px;
}
}

/*===============================================
	menu
===============================================*/
@media screen and (min-width:901px){
	#menu {
		margin: 0 0 10px;
	}
	#menu .openbtn {
		display: block;
	}
	#menu .menu {
	margin: 15px 0;
	display: flex;
	flex-flow: row wrap;
	}
	#menu .menu li {
		padding:0 15px;
	}
	#menu .menu li a {
		color:#000;
		text-decoration: none;
	}
	#menu .menu li a:hover {
		color:var(--main-bg);
	}
}
@media screen and (max-width:900px){

#g-nav{
    position:fixed;
    z-index: 999999999;
	top:0;
    right:-120%;
	width:100%;
    height: 100vh;
	margin-bottom: 30px;
	background:#F5F5F5;
	transition: all 0.6s;
}

#g-nav.panelactive{
    right: 0;
}

#g-nav.panelactive #g-nav-list{
    position: fixed;
    z-index: 999; 
	width:100%;
    height: 100vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}



#g-nav .menu {
	margin: 70px 7% 20px;
}

#g-nav li{
	margin:0 0 10px;
    text-align: center; 
}
#g-nav li.spIn{
	display: block;
}

#g-nav li a{
	position: relative;
	display: block;
	padding: 10px 0;
	text-decoration: none;
	color:#FFF;
	font-size: 1.0rem;
	font-weight: 500;
	background-color: var(--main-bg);
	border-radius: 50px;
}
#g-nav li a::after {
    position: absolute;
	font-family: 'Material Icons';
	content: '\e5cc';
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
	font-size:20px;
}
.openbtn{
	position:fixed;
    z-index: 999999999999;
	top:10px;
	right: 0;
	cursor: pointer;
    width: 60px;
    height:60px;
}
	
.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
	background-color: var(--main-bg);
  	width: 55%;
  }

.openbtn span:nth-of-type(1) {
	top:15px;	
}

.openbtn span:nth-of-type(2) {
	top:25px;
}

.openbtn span:nth-of-type(3) {
	top:35px;
}

.openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 50%;
}

.openbtn.active span:nth-of-type(2) {
	opacity: 0;
}

.openbtn.active span:nth-of-type(3){
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 50%;
}
}





/*===============================================
	footer
===============================================*/
footer {
	padding:50px 0 50px;
	text-align: center;
	color:#FFF;
	background-color:var(--main-bg);
}
footer .button {
	
}
footer .button a {
	position: relative;
	display: block;
	width:500px;
	margin: 0 auto 60px;
	padding:30px 0;
	font-size:1.3rem;
	font-weight: 500;
	color:#FFF;
	text-align: center;
	text-decoration: none;
	border:1px solid #FFF;
	border-radius: 5px;
}
footer .button a:hover {
	color:var(--main-bg);
	text-align: center;
	text-decoration: none;
	border:1px solid var(--main-bg);
	background:rgba(255,255,255,0.8);
}
footer .button a::before {
	position: absolute;
	top:-90px;
	left:-70px;
	content: '';
	display: inline-block;
	width: 170px;
	height: 170px;
	background: url(../images/common/ic_contact.webp) no-repeat;
	background-size: contain;
	  vertical-align: middle;
}
footer .takara {
	max-width: 200px;
	margin: 0 auto 15px;	
}
footer .privacy {
	margin: 0 0 25px;
}
footer .privacy a {
	font-size:0.9rem;
	color:#FFF;
}
footer .copy {
	font-size:0.8rem;
}
footer .ban {
	margin: 5px 0 0;
	font-size:0.8rem;
}
@media screen and (max-width:900px){
footer .button a {
	width:80%;
	font-size:1.1rem;
}
footer .button a::before {
	position: absolute;
	top:-90%;
	left:-10%;
	width: 130px;
	height: 130px;
}
footer .copy {
	font-size:0.8rem;
}
}

/* pagetop ------------------- */
#pageTop {
	position: fixed;
	right: 20px;
	bottom: 20px;
}
#pageTop img {
	width:30px;
}
@media (max-width: 900px) {
#pageTop {
	z-index: 1000000;
	position: fixed;
	right: 10px;
	bottom: 10px;
}
}

/*===============================================
	main
===============================================*/
main#contents {
	max-width: 900px;
	margin: 0 auto 30px;
}


/* title ------------------- */

#title {
	max-width: 900px;
	margin: 0 auto 100px;
	padding: 50px 0 0;
}
#title h2 {
	margin: 0 0 50px;
	font-size:2rem;
	font-weight: 600;
}
#title h2 span {
	display: block;
	font-size:0.8rem;
	color:var(--main-bg);
}
#title h3 {
	margin: 0 0 15px;
	font-size:1.6rem;
	color:var(--main-bg);
	display: flex;
	align-items: center;
	font-size: 26px;
	text-align: center;
}
#title h3::before {
	content: "";
	width:60px;
	height: 1px;
	margin-right: 10px;
	background-color:var(--main-bg);
}
#title .mainTxt {
	font-size:var(--main-txt);
	line-height: 1.6;
}


@media screen and (max-width:900px){

#title {
	margin: 0 5% 50px;
}
#title h2 {
	margin: 0 0 50px;
	font-size:1.6rem;
	font-weight: 600;
}
#title h2 span {
	display: block;
	font-size:0.8rem;
}	
#title .mainTxt {
	font-size:1rem;
}
	
}

/* footerLink ------------------- */
#footerLink {
	margin: 50px auto 100px;
}
#footerLink .txt {
	margin: 0 0 35px;
	line-height: 2.2;
	text-align: center;
}
#footerLink .button a {
	position: relative;
	display: block;
	width:500px;
	margin: 0 auto;
	padding:30px 0;
	font-size:1.3rem;
	font-weight: 500;
	color:#FFF;
	text-align: center;
	text-decoration: none;
	background-color: var(--main-bg);
	border:1px solid var(--main-bg);
	border-radius: 5px;
}
#footerLink .button a:hover {
	opacity: 0.5;
}

@media screen and (max-width:900px){
#footerLink {
	margin: 50px 5% 100px;
}
#footerLink .txt {
	font-size:0.9rem;
}
#footerLink .button a {
	display: block;
	width:90%;
}
}


/*===============================================
	404
===============================================*/
#error404 {
	max-width: 900px;
	margin: 0 auto 120px;
}
#error404 p {
	margin: 0 0 35px;
	line-height: 1.6;
}
@media screen and (max-width:900px){
#error404 {
	max-width: 900px;
	margin: 0 5% 120px;
}
}


/*===============================================
	ic
===============================================*/
.icWorks a {
}
/* .icWorks a::before {
	position: absolute;
	top:-60px;
	left:calc(50% + 200px);
	content: '';
	display: inline-block;
	width: 126px;
	height: 148px;
	background: url("../images/common/ic_works.png") no-repeat;
	background-size: contain;
	vertical-align: middle;
}
@media screen and (max-width:900px){
.icWorks a::before {
	top:-40px;
	left:auto;
	right: -10%;
	width: 126px;
	height: 148px;
}
} */




/*===============================================
	fadeIn
===============================================*/
.fadeIn {
    transform: translate3d(0, -20px, 0);
    transition: 2s;
    opacity: 0;
}

.fadeIn.animated {
    transform: translate3d(0, 0, 0);
    opacity: 1;
}

.zoomIn{
  animation-name:zoomInAnime;
  animation-duration:0.8s;
  animation-fill-mode:forwards;
}

@keyframes zoomInAnime{
  from {
  transform: scale(0.6);
  }

  to {
      transform: scale(1);
  }
}


.ue {
    animation-name: ue;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-duration: 1s;
}
@keyframes ue {
    0% {
        transform: translate(0,0px);
    }

    100% {
        transform: translate(0,-10px);
    }
}
.fuwa {
    animation-name: fuwa;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-duration: 1.5s;
}
@keyframes fuwa {
    0% {
        transform: translate(0,0px)rotateZ(0deg);
    }

    100% {
        transform: translate(0,-15px)rotateZ(-5deg);
    }
}
.fuwa2 {
    animation-name: fuwa2;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-duration: 1s;
}
@keyframes fuwa2 {
    0% {
        transform: translate(5px,0px)rotateZ(3deg);
    }

    100% {
        transform: translate(0,-15px)rotateZ(-3deg);
    }
}
.fuwa3 {
    animation-name: fuwa3;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-duration: 1.5s;
}
@keyframes fuwa3 {
    0% {
        transform:rotateZ(-3deg);
    }

    100% {
        transform:rotateZ(3deg);
    }
}
.fuwa4 {
    animation-name: fuwa4;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-duration: 1s;
}
@keyframes fuwa4 {
    0% {
        transform: translate(15px,30px)rotateZ(-10deg);
    }

    100% {
        transform: translate(0,15px)rotateZ(0deg);
    }
}
.fuki {
    animation: fuki .2s infinite;
}
@keyframes fuki {
    0% {transform: translate(0px, 0px) rotateZ(0deg)}
    25% {transform: translate(2px, 2px) rotateZ(1deg)}
    50% {transform: translate(0px, 2px) rotateZ(0deg)}
    75% {transform: translate(2px, 0px) rotateZ(-1deg)}
    100% {transform: translate(0px, 0px) rotateZ(0deg)}
}



.wave span {
	position: relative;
	animation: wave-anim 3s linear infinite;
}

/* animation */
@keyframes wave-anim {
	0% {
		top: 0;
	}
	30% {
		top: 6px;
	}
	70% {
		top: -6px;
	}
	100% {
		top: 0;
	}
}

/* animation-delay */
.wave span:nth-child(5n + 1) {
	animation-delay: 0.5s;
}

.wave span:nth-child(5n + 2) {
	animation-delay: 1s;
}

.wave span:nth-child(5n + 3) {
	animation-delay: 1.5s;
}

.wave span:nth-child(5n + 4) {
	animation-delay: 2s;
}