﻿.box_1,
.box_2,
.box_3 {
  position: relative;
}
span {
  position: relative;
}
.svg_box {
	display: none!important;
}
.box_1::before{
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: #555555;
  transition: 0.5s;z-index: 0;
}

.box_3::before{
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: #737373;
  transition: 0.5s;z-index: 0;
}

.box_2::before{
  content: '';
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 100%;
  background: #cabc00;
  transition: 0.5s;z-index: 0;
}

.fade::before {
  width: 100%;
}
.box_1 > div, .box_2 > div, .box_3 > div {
	z-index: 1;
	position: inherit;
}





.box_1 {
	background-color: #949494;
padding-top: 100px;padding-bottom: 100px;
}
.box_2 {
	background-color: #ffef1f
}
.box_3 {
	background-color: #eeeeee;
	padding-top: 100px;padding-bottom: 100px;
}
#contents .box_wrap h3, #contents .box_wrap p {
	color: #fff;
}
.fadein{
     opacity: 0;
     transform: translateY(20px);
     transition: 1.5s;
     transition-property: opacity,transform
}
.fadein.fadetrans{
     opacity: 1;
     transform: none
}


#page_title {
	    background-position: 50% 34%
}

#top_cms .cms_title h2 {
    padding: 0;
    margin: 0;
    position: relative;
}
#top_cms .cms_title span {
	margin-left: 30px;
	padding-right: 10px;
    color: #f7f7f7;
    font-size: 78px;
    position: absolute;
    top: -40px;
    left: 20px;
    z-index: -1;
}

.more {
	width: 100%;
}
/*.more a::before {
    position: absolute;
    content: "";
    width: 40px;
    height: 1px;
    top: 0;
    bottom: 0;
    right: -20px;
    background-color: #99ccff;
    transition: 0.3s;
    margin: auto;
}
.more a {
    width: 200px;
    padding: 20px 0;
    padding-right: 20px;
    border: none;
    margin: 0 auto;
    background-color: #fff3a4;
    position: relative;
    box-sizing: border-box;color: #4a4a4a
}*/
/**/

.more {
  text-align: center;
}
.more a {
  display: inline-block;
  width: 180px;
  height:50px;
  text-align: center;
  background-color: #4c4c4c;
  font-size: 16px;
  line-height: 52px;
  color: #FFF;
  text-decoration: none;
  font-weight: bold;
  border: 2px solid #fff;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.more a:after{
  width: 100%;
  height: 0;
  content:"";
  position: absolute;
  top: 50%;
  left: 50%;
  background : #FFF;
  opacity: 0;
  transform: translateX(-50%) translateY(-50%) rotate(45deg);
  transition: .2s;
  z-index: -1;
}
.more a:hover{
  color: #151515;
}
.more a:hover:after{
  height: 240%;
  opacity: 1;
}
.more a:active:after{
  height: 340%;
  opacity: 1;
}




.hvr_border_color3:hover {
    border-color: #ecdf2b;
}
.more a:hover {
    padding-right: 0;
}
.more a:hover::before {
    background-color: transparent;
    width: 0;
    right: 0;
}
/*--------------------------------------*/
header { background: rgb(255,255,255,0.65);}
header.transform {
	background: #ffffff;
}
/*header #header #header_menu li {
	padding-bottom: 21px;
}*/
#header_menu li a:hover span {
	color: #9e8800;font-weight: bold;
}



#cms3 .pd_l-r5per {
	box-sizing: border-box;
}
#header_menu li {
     height: 1.5em;
    text-align: center;
     font-size: 18px;
     letter-spacing: 2px;
}     
#header_menu  li span{
      transition: 0.3s;
}
#header_menu  li span:nth-child(1) {display: block;}
#header_menu  li span:nth-child(2) {
     opacity:0;
     position: relative;
     top: -1.8em;
}
#header_menu  li:last-child span:nth-child(2) {
     top: -2.45em;
}
#header_menu  li a:hover span:nth-child(1) {opacity: 0;}
#header_menu  li a:hover span:nth-child(2) {opacity: 1;}

/*-------------drawer------------------*/
.drawer-nav {
	display: flex;
	flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}
.drawer-menu li {
    margin-bottom: 16px;font-size: 15px;
}
.drawer-menu li:hover a {
	color: #7d7d7d;
}
/*-------------------gナビ-------------------*/
header {
	padding-bottom: 18px;padding-bottom: 10px;
}
.page1 .logo {width: 170px;transition: all 0.3s;}
.logo {
	margin-top: 10px;width: 136px;
}
header.transform .logo {
	margin-top: 10px;width: 135px;
}
#logo {
	padding: 0 0 0 10px;
}
header #header #header_menu li a span {
    padding-top: 5px;
	font-size: 15px;
}
header #header #header_menu li:last-child a span {
    border-radius: 20px;margin-top: -3px;
}


/*--------------------------------------TOPPAGE ---------------------------------------*/
#contents, #info, #top_cms {
	position: relative;
}
/*#intro {
	background-position: 50% 298px;
	background-size: 100% auto!important;
	background-attachment: inherit;padding-bottom: 0;
}
#intro_sp {
    height: 400px;
    background-size: 100% auto;
    background-attachment: scroll;
    background-position: center center;
}*/
#info_title_box {
	    background-position: left calc(50%) top calc(57%);
	background-size: 100% auto;
	background-attachment: inherit;
}
.info_title span {
	padding: 15px 40px 12px;
}
#intro h2 {
   font-weight: bold;
}

.introduction {
   text-align: center;font-size: 33px;
	color: #eee;
}

/*-------------------イラスト----------------------*/


#contents .box_wrap .grid_6 h3, #contents .box_wrap .grid_6 p {
	margin: 0 auto;width: 100%!important;
}
#contents .box_wrap .grid_6 h3 {
	margin-bottom: 25px;
	font-weight: bold;
    font-size: 21px;
}

@media(min-width: 668px) {
	#contents .box_wrap .box:nth-of-type(odd) .d_flex {
	padding-right: 20px;
}
#contents .box_wrap .box:nth-of-type(2) .d_flex {
	padding-left: 20px;
}
	
}






footer .logo {
	width: 250px;
	margin-bottom: 20px;
}
footer .bg_color1 {
	background-color: #000;
}
.over_hide .svg_box2 svg {
	color: #e7f9ee;
}


/*----------------------kasou-----------------------*/
.cate_wrap figure {
	margin: 30px auto;
}
.cate_list li a{
    position: relative;
    display: inline-block;
    font-weight: bold;
    padding: 0.6em 1.3em;
    text-decoration: none;
    color: #212121;
    background: #ECECEC;
    border-radius: 0 15px 15px 0;
    transition: .4s;font-size: 16px;
}

.cate_list li a:hover {
  background: #636363;color: #fff;
}



.cate_title {
     text-align: center;
	background-color: inherit;
    color: #000;
    border: none;
	letter-spacing: 0.5rem;
}
 
.cate_title span{
     position: relative;
     display: inline-block;
     padding-bottom:0.5em;
     border-bottom: 1px solid black;
}
      
.cate_title span::before,
.cate_title span::after {
     position: absolute;
     top: 100%;
     left:50%;
     transform:translateX(-50%);
     content: '';
     border: 10px solid transparent;
}
 
.cate_title span::before {
     border-top: 10px solid black;
}
 
.cate_title span::after {
     margin-top: -1px;
     border-top: 10px solid white;
}

@media(max-width: 768px) {
	#page_title #filter_white {
		padding-top: 65px!important;
	}
	#logo {margin-bottom: 18px;}
	#logo h1 {
		width: 129px;
	}
	main {
		padding-top: 157px;
	}
	header.transform .logo {
    margin-top: 7px;
    width: 98px;
}
	#logo {
	padding: 0;
}
	#logo h1 {margin-top: 10px;
	}
	header #logo {
		padding-top: 5px;
	}
	header #header #header_menu li {
		width: inherit;
	}
	.mg_b-25px_tb {
    margin-bottom: 5px;
}
		#top_cms {
		margin-top: 70px;
	}
	
	#top_cms .cms_title h2 {
		margin-left: 15px;
	}
	.cms_5-c {
		padding: 0 15px;
	}
#video {
	margin-top: 135px;
}
	/*.cate_box {
	width: 100%;
	margin: 30px auto;
		box-sizing: border-box;
}*/
	#cms_2-b .cate_box, #cms_6-c .cate_box {
		padding: 20px 20px;
	}
}
@media(max-width: 667px) {
	#logo h1 {
		margin-top: 2px;
	}
	#logo h1 img {
	width: 75px!important;
}
	main {
		padding-top: 70px;
	}
	.drawer-hamburger {
		padding-top: 23px;
	}
	#header {
	height: 60px;
}
	main#page1 {
	margin-top: 60px;
	}
	header .logo {
		text-align: left;
		margin: 0 0 0 10px;
	}
	#intro #intro_txt {
		padding-top: 50px;padding-bottom: 50px;
	}
	#info_title_box {
    background-position: left calc(50%) top calc(77%);
    padding-top: 65px;
    padding-bottom: 65px;
    background-size: 120%!important;
}
	#intro_sp {
    height: 200px;
	}
	#info {
		padding-top: 20px;
	}
	#page_title {
		background-size: 120%;
	}
	.box_1, .box_3 {
		padding-top: 60px;
	}
	#top_cms .cms_title span {
		font-size: 60px;
	}
	#contents .grid_6.pd_l-r5per {
		padding-right: 0;padding-left: 0;
	}

#contents .box_wrap .box:nth-of-type(1) .grid_6:first-of-type, #contents .box_wrap .box:nth-of-type(2) .grid_6:first-of-type, #contents .box_wrap .box:nth-of-type(3) .grid_6:first-of-type {
	border-radius: 0;
}
	#contents .box_wrap .box:nth-of-type(1) .grid_6:first-of-type, #contents .box_wrap .box:nth-of-type(3) .grid_6:first-of-type {
		border-right: none; 
	}
	#contents .box_wrap .box:nth-of-type(2) .grid_6:first-of-type {
		border-left: none; 
	}
	.cate_title {
		letter-spacing: 0.4rem;
	}
	.cate_list li {
		width: inherit;
		margin-right: 10px;
	}
}







@keyframes anime1{
    0% {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0)
  }
  25% {
    -webkit-transform: translate(0, 20px);
    transform: translate(0, 20px)
  }
  50% {
    -webkit-transform: translate(0, 10px);
    transform: translate(0, 10px)
  }
  75% {
    -webkit-transform: translate(0, 20px);
    transform: translate(0, 20px)
  }
  100% {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0)
  }
}

@keyframes anime2{
   0% {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0)
  }
  25% {
    -webkit-transform: translate(15px, 0);
    transform: translate(15px, 0)
  }
  50% {
    -webkit-transform: translate(30px, -10px);
    transform: translate(30px, -10px)
  }
  75% {
    -webkit-transform: translate(15px, 0);
    transform: translate(15px, 0)
  }
  100% {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0)
  }
}





/*----------------------------------------*/

#page_title {
	background-position: 50% 50%;
	background-position: 50% 60%;
}


/*-------------fakeloader--------------*/
#loader{z-index: 9999;}
#loader img {
    animation-name: fadein;
    animation-duration: 1.0s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
    z-index: 1;
}
#loader img {
    width: 330px;
    height: 100px;
 /*   position: absolute;*/
    top: 50%;
	margin-top: -50px;
    left: 0;
}
#fakeloader.bg_color1 {
	background-color: #F0F8FF;
}
@keyframes fadein {
	0% {opacity:0;transform: translateY(50px);}
	100% {opacity:1;transform: translateY(0px);}
}

@media all and (-ms-high-contrast: none) {
	#intro_txt h2 span {
    padding-bottom: 13px;
}
	header #header #header_menu li:last-child a span {
		margin-top: -5px;
	}
	#page_title h2 span {
		padding-top: 25px;
	}
	#contact_tel a {
		padding: 28px 14px 16px;
	}
	#header_menu li span:nth-child(2) {
		top: -1.73em;
	}
	.cate_list li a {
		padding: 12px 10px 4px;
	}
	#cms_2-a .cate .cate_title {
		padding-top: 8px!important;
	}
	#page8 #tel_contact p a {
		padding: 17px 20px;
	}
	#cms_3-e .cate_title {
		padding-top: 5px!important;
	}
/*	#page9 .box_wrap .box p a {
		padding: 5px 10px 6px;
	}*/
	}
