/* screens smaller than 640---------------------------------------------------------- */
@media only screen and (max-width:640px) {

/*layout*/
/*------------------------------------------------------------------------------*/
.inner {
	width: 94%;
}
.sp {
	display: inherit;
}
.pc {
	display: none;
}
.pc_tb {
	display: none;
}
.tb {
	display: none;
}
.tb_sp {
	display: inherit;
}

/*btn*/
/*------------------------------------------------------------------------------*/
.btn01 a {
	width: 300px;
}

/*header*/
/*------------------------------------------------------------------------------*/
#header_wrap {
	width: 100%;
	margin-left: 0;
	padding-left: 2%;
}
header h1{
	display: none;
}

/*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%);
  }
}

    
/*top_box01*/
/*------------------------------------------------------------------------------*/
.top_box01_in {
	width: -webkit-calc((100% - 40px) / 2);
	width: calc((100% - 40px) / 2);
}
#top_box01:after {
	width: -webkit-calc((100% - 40px) / 2);
	width: calc((100% - 40px) / 2);
}
.top_box01_in:before {
	content: none;
}
.top_box01_in h4 {
	padding: 10px;
	font-size: 15px;
}
.top_box01_in p {
	display: none;
}
.top_box01_in:hover .img100 img {
    -webkit-transform: scale(1);
    transform: scale(1);
}    
    
    
/*h_search*/
/*------------------------------------------------------------------------------*/
#h_search_btn {
	width: 50px;
	height: 45px;
	right: 80px;
	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: -10px;
	-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: 94%;
}
#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;
}
.is_active #h_search_in {
	opacity: 1;
	visibility: visible;
    overflow-y: scroll;
}
#h_search_in input[type=button],
#h_search_in input[type=submit] {
	width: 100%!important;
}
#h_search_in .w48_l {
	float: none;
	width: 100%;
	clear: left;
}
#h_search_in .w48_r {
	float: none;
	width: 100%;
}
#h_search_in .check-box02 dt {
	cursor: pointer;
	padding-right: 30px;
	position: relative;
}
#h_search_in .check-box02 dt:before {
	content: '';
	width: 20px;
	height: 13px;
	background: url(../image/common/arr06.png) no-repeat;
	position: absolute;
	top: 50%;
	right: 5px;
	margin-top: -6px;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}
#h_search_in .check-box02 dt.active:before {
	margin-top: -13px;
	-webkit-transform: rotate(180deg) translateY(-50%);
	transform: rotate(180deg) translateY(-50%);
}
#h_search_in .check-box02 dd {
	display: none;
}
#h_search_in .w48_r .search_btn {
	margin-top: 0;
}
#h_search_in .search_box01 input[type=text] {
	width: 100%;
}

/*bottom_contact*/
/*------------------------------------------------------------------------------*/
#bottom_contact {
/*	background: url(../image/bottom_contact_bg.jpg) no-repeat center top;*/
	background-size: cover;
	padding: 50px 0;
	position: relative;
}
.bottom_contact_in {
	padding: 20px;
	flex-direction: column;
	margin-bottom: 100px;
}
.bottom_contact_in ul:first-child {
	width: 100%;
	padding-right: 0;
	border-right: none;
	margin-bottom:30px;
}

.bottom_contact_in ul li:first-child {
	margin-bottom:10px;
}

.bottom_contact_in ul:last-child {
	width: 100%;
	padding-left: 0;
}
.bottom_contact_in li {
	margin-bottom: 0;
}

/*
.bottom_contact_in ul:last-child li:first-child {
	margin-bottom: 0;
}
*/


/*
.bottom_contact_in ul:last-child li:last-child a {
	position: absolute;
	top: 240px;
	width: 94%;
	left: 0;
	right: 0;
	margin: 0 auto;
}
*/
.bottom_contact_in ul:last-child li:last-child .tel {
	width: 100%;
}

.bottom_contact_in ul:last-child li:nth-child(2) a:before {
	position:absolute;
	left:8%;
}

.bottom_contact_in ul li .tel {
	padding:0;
}
.bottom_contact_in ul li .tel a {
	font-size:20px;
	color: #0F9545;
	padding:0;
}


.bottom_contact_in ul li .tel .in_bl {
	padding-left:0;
	background:none;
	position:relative;
}

.bottom_contact_in ul li .tel .in_bl::before {
	content:"";
	position:absolute;
	background: url(../image/common/icon05.png) no-repeat 0 0;
	background-size:20px 20px;
	width:25px;
	height:25px;
	left:-30px;
	top:50%;
	margin-top:-10px;
}


/*footer*/
/*------------------------------------------------------------------------------*/
#footer_box01 ul {
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-start;
	height: auto;
	margin: 0;
}
#footer_box01 li a {
	display: block;
	padding: 15px 20px;
	border-bottom: 1px solid #FFF;
	background: url(../image/common/arr01.png) no-repeat 95% center;
}
#footer_box01 li a:before {
	content: none;
}
#footer_box02 {
	flex-direction: column;
	height: auto;
	padding: 5px 0;
}
#footer_box02 ul {
	order: 2;
	padding: 5px 0;
}
#footer_box02 small {
	padding: 5px 0;
}


/*------------------------------------------------------------------------------*/
}
/*------------------------------------------------------------------------------*/

/*------------------------------------------------------------------------------*/
/* screens smaller than 480---------------------------------------------------------- */
@media only screen and (max-width:479px) {




/*------------------------------------------------------------------------------*/
}
/*------------------------------------------------------------------------------*/

/*------------------------------------------------------------------------------*/
/* screens smaller than 420---------------------------------------------------------- */
@media only screen and (max-width:419px) {

/*h_search*/
/*------------------------------------------------------------------------------*/
#h_search_btn {
	right: 65px;
}



/*------------------------------------------------------------------------------*/
}
/*------------------------------------------------------------------------------*/
