/* screens smaller than 1440---------------------------------------------------------- */
@media only screen and (min-width:641px) and (max-width:1439px) {

/*globalnav*/
/*------------------------------------------------------------------------------*/
#globalnav {
    position: absolute;
    z-index: 5;
    width: 100%;
    height: 0;
    opacity: 0;
    visibility: hidden;
    text-align: left;
    background: rgba(0,0,0,0.8);
    padding-top: 100px;
    align-self: flex-start;
    top: 0;
    left: 0;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}
.open #globalnav {
    opacity: 1;
    visibility: visible;
    height: 100vh;
    position: fixed;
    overflow-y: scroll;
}
#globalnav_in {
	width: 100%;
}
#globalnav #nav{
	width: 100%;
	border-top: 1px solid #ddd;
	flex-direction: column;
	justify-content: flex-start;
}
#globalnav #nav li {
	width: 100%;
	height: 50px;
	line-height: 50px;
	border-bottom: 1px solid #ddd;
	margin: 0;
	text-align: left;
}
#globalnav #nav li a {
	position: relative;
	color: #FFF;
	padding: 0 6% 0 3%;
	height: 50px;
	display: block;
}
#globalnav li:last-child {
	margin-top: 30px;
	border-top: 1px solid #ddd;
}
#globalnav li a:before {
	content: none;
}
#globalnav #nav li a:after{
	content: '';
	width: 8px;
    height: 8px;
    border-top: solid 2px #FFF;
    border-right: solid 2px #FFF;
    -ms-transform: rotate(45deg) translateY(-50%);
    -webkit-transform: rotate(45deg) translateY(-50%);
    transform: rotate(45deg) translateY(-50%);
	position: absolute;
	top: 50%;
	right: 5%;
}

/*gnav_btn*/
/*------------------------------------------------------------------------------*/
#gnav_btn {
	display:block;
	position:absolute;
	top: 22px;
	right: 2.5%;
	width: 40px;
	height: 40px;
	cursor: pointer;
	-webkit-transform: translateY(0);
	transform: translateY(0);
	-webkit-transition: -webkit-transform 600ms cubic-bezier(0.19, 1, 0.22, 1);
	transition: -webkit-transform 600ms cubic-bezier(0.19, 1, 0.22, 1);
	transition: transform 600ms cubic-bezier(0.19, 1, 0.22, 1);
	transition: transform 600ms cubic-bezier(0.19, 1, 0.22, 1), -webkit-transform 600ms cubic-bezier(0.19, 1, 0.22, 1);
	z-index: 12;
}
#gnav_btn.is-opened {
	border: none;
	position:fixed;
}
#gnav_btn_in {
	position: relative;
	width: 40px;
	height: 40px;
}
#gnav_btn .bar {
	position: absolute;
	background-color: #0F9454;
	-webkit-transform-origin: center;
	transform-origin: center;
	width: 40px;
	height: 5px;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
}
#gnav_btn .bartxt{
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  padding-top: 20px;
  position: absolute;
  bottom: -15px;
  color: #0F9454;
}
#gnav_btn.is-opened .bartxt{color: #ffffff;}
#gnav_btn.is-opened .bar {
	background-color: #FFF;
}
#gnav_btn .bar:nth-child(1) {
	-webkit-transform: translateY(-250%);
	transform: translateY(-250%);
}
#gnav_btn.is-opened .bar:nth-child(1) {
	-webkit-animation: btBar1Open 600ms cubic-bezier(0.19, 1, 0.22, 1) forwards;
	animation: btBar1Open 600ms cubic-bezier(0.19, 1, 0.22, 1) forwards;
}
@-webkit-keyframes btBar1Open {
  0% {
    -webkit-transform: translateY(-250%);
            transform: translateY(-250%);
  }
  40% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  100% {
    -webkit-transform: rotate(45deg);
            transform: rotate(45deg);
  }
}
@keyframes btBar1Open {
  0% {
    -webkit-transform: translateY(-250%);
            transform: translateY(-250%);
  }
  40% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  100% {
    -webkit-transform: rotate(45deg);
            transform: rotate(45deg);
  }
}
#gnav_btn.is-closed .bar:nth-child(1) {
	-webkit-animation: btBar1Close 600ms cubic-bezier(0.19, 1, 0.22, 1) forwards;
	animation: btBar1Close 600ms cubic-bezier(0.19, 1, 0.22, 1) forwards;
}
@-webkit-keyframes btBar1Close {
  0% {
    -webkit-transform: rotate(45deg);
            transform: rotate(45deg);
  }
  40% {
    -webkit-transform: rotate(0);
            transform: rotate(0);
  }
  100% {
    -webkit-transform: translateY(-250%);
            transform: translateY(-250%);
  }
}
@keyframes btBar1Close {
  0% {
    -webkit-transform: rotate(45deg);
            transform: rotate(45deg);
  }
  40% {
    -webkit-transform: rotate(0);
            transform: rotate(0);
  }
  100% {
    -webkit-transform: translateY(-250%);
            transform: translateY(-250%);
  }
}
#gnav_btn .bar:nth-child(2) {
  opacity: 1;
}
#gnav_btn.is-opened .bar:nth-child(2) {
	-webkit-animation: btBar2Open 600ms cubic-bezier(0.19, 1, 0.22, 1) forwards;
	animation: btBar2Open 600ms cubic-bezier(0.19, 1, 0.22, 1) forwards;
}
@-webkit-keyframes btBar2Open {
  0% {
    opacity: 1;
  }
  40% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@keyframes btBar2Open {
  0% {
    opacity: 1;
  }
  40% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
#gnav_btn.is-closed .bar:nth-child(2) {
	-webkit-animation: btBar2Close 600ms cubic-bezier(0.19, 1, 0.22, 1) forwards;
	animation: btBar2Close 600ms cubic-bezier(0.19, 1, 0.22, 1) forwards;
}
@-webkit-keyframes btBar2Close {
  0% {
    opacity: 0;
  }
  40% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes btBar2Close {
  0% {
    opacity: 0;
  }
  40% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
#gnav_btn .bar:nth-child(3) {
    -webkit-transform: translateY(250%);
	transform: translateY(250%);
}

#gnav_btn.is-opened .bar:nth-child(3) {
	-webkit-animation: btBar3Open 600ms cubic-bezier(0.19, 1, 0.22, 1) forwards;
	animation: btBar3Open 600ms cubic-bezier(0.19, 1, 0.22, 1) forwards;
}
@-webkit-keyframes btBar3Open {
  0% {
    -webkit-transform: translateY(250%);
            transform: translateY(250%);
  }
  40% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  100% {
    -webkit-transform: rotate(-45deg);
            transform: rotate(-45deg);
  }
}

@keyframes btBar3Open {
  0% {
    -webkit-transform: translateY(250%);
            transform: translateY(250%);
  }
  40% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  100% {
    -webkit-transform: rotate(-45deg);
            transform: rotate(-45deg);
  }
}
#gnav_btn.is-closed .bar:nth-child(3) {
	-webkit-animation: btBar3Close 600ms cubic-bezier(0.19, 1, 0.22, 1) forwards;
	animation: btBar3Close 600ms cubic-bezier(0.19, 1, 0.22, 1) forwards;
}
@-webkit-keyframes btBar3Close {
  0% {
    -webkit-transform: rotate(-45deg);
            transform: rotate(-45deg);
  }
  40% {
    -webkit-transform: rotate(0);
            transform: rotate(0);
  }
  100% {
    -webkit-transform: translateY(250%);
            transform: translateY(250%);
  }
}

@keyframes btBar3Close {
  0% {
    -webkit-transform: rotate(-45deg);
            transform: rotate(-45deg);
  }
  40% {
    -webkit-transform: rotate(0);
            transform: rotate(0);
  }
  100% {
    -webkit-transform: translateY(250%);
            transform: translateY(250%);
  }
}


/*------------------------------------------------------------------------------*/
}


/* screens smaller than 1250---------------------------------------------------------- */
@media only screen and (min-width:641px) and (max-width:1249px) {

/*h_search*/
/*------------------------------------------------------------------------------*/
#h_search_btn {
	width: 50px;
	height: 45px;
	right: 120px;
	top: 50%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	text-indent: -9999px;
	background: url(../image/common/icon07.png) no-repeat;
}
#h_search_btn:after {
	content: '';
	width: 1px;
	height: 45px;
	position: absolute;
	top: 50%;
	right: -20px;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	background: #DDD;
}
header #h_search_btn a {
	display: block;
	width: 100%;
	height: 100%;
	position: relative;
}
.is_active #h_search_btn a:before {
	content: '';
	width: 33px;
	height: 20px;
	background: url(../image/common/arr05.png) no-repeat;
	display: block;
	position: absolute;
	bottom: -32px;
	right: 12px;
}
#h_search_in {
	top: 100px;
	right: 0;
    border: none;
    padding: 0;
    width: 100%;
}
#h_search_in .inner {
	width: 95%;
  height: 100%;
}
.is_active #h_search_in {
  opacity: 1;
  visibility: visible;
  overflow-y: scroll;

}
#h_search_in .search_box01 {
	float: none;
	width: 100%;
	max-width: auto;
	max-width: initial;
	padding: 20px;
	margin: 0 0 20px;
}
#h_search_in .search_box02 {
	float: none;
	width: 100%;
	max-width: auto;
	max-width: initial;
	padding: 20px;
	margin: 0 0 20px;
}
#h_search_in input[type=button],
#h_search_in input[type=submit] {
	width: 100%!important;
}
#h_search_in .search_box01 input[type=text] {
	width: 100%;
}


/*------------------------------------------------------------------------------*/
}


/* screens smaller than 1120---------------------------------------------------------- */
@media only screen and (min-width:641px) and (max-width:1119px) {

/*layout*/
/*------------------------------------------------------------------------------*/
.inner {
	width: 95%
}
.pc {
	display: none;
}
.tb {
	display: inherit;
}
.tb_sp {
	display: inherit;
}

/*header*/
/*------------------------------------------------------------------------------*/
#header_wrap {
	width: 100%;
	margin-left: 0;
	padding-left: 2%;
}

/*bottom_contact*/
/*------------------------------------------------------------------------------*/
.bottom_contact_in {
	padding: 30px;
}


.bottom_contact_in ul:last-child li:nth-child(2) a:before {
	position:absolute;
	left:13%;
}


/*------------------------------------------------------------------------------*/
}





/* screens smaller than 750---------------------------------------------------------- */
@media only screen and (min-width:641px) and (max-width:749px) {



/*------------------------------------------------------------------------------*/
}
/*------------------------------------------------------------------------------*/


/* screens smaller than 1025---------------------------------------------------------- */
@media only screen and (min-width:641px) and (max-width:1024px) {

/*top_box01*/
/*------------------------------------------------------------------------------*/
.top_box01_in {
	width: -webkit-calc((100% - 40px) / 3);
	width: calc((100% - 40px) / 3);
	margin-bottom: 40px;
}
#top_box01:after {
	content: '';
	display: block;
	width: -webkit-calc((100% - 40px) / 3);
	width: calc((100% - 40px) / 3);
}
.top_box01_in:before {
	content: none;
}
.top_box01_in p {
	display: none;
}
.top_box01_in:hover .img100 img {
    -webkit-transform: scale(1);
    transform: scale(1);
}
    
}
