/* screens smaller than 640---------------------------------------------------------- */
@media only screen and (max-width:640px) {

/*layout*/
/*------------------------------------------------------------------------------*/
#wrapper {
	background: none;
}
.inner01 {
	width: 94%;
}
.inner02 {
	width: 94%;
}
.inner03 {
	width: 94%;
}
.sp {
	display: inherit;
}
.pc {
	display: none;
}
.pc_tb {
	display: none;
}
.tb {
	display: none;
}
.tb_sp {
	display: inherit;
}

/*header*/
/*------------------------------------------------------------------------------*/
header {
    background: url("../image/common/bg_sp.jpg") no-repeat top center;
    background-size: 100%;
	position: relative;
	height: auto;
	min-height: 90px;
}
header .inner01 {
	width: 100%;
	height: auto;
	min-height: 90px;
	display: block;
	background: url("../image/common/h_inner_bg.png") repeat-x center bottom;
}
#top-head.open.fixed {
    background: url("../image/common/bg_sp.jpg") no-repeat top center;
    background-size: 100%;
}
.summer header .inner01 {
	background: url("../image/common/h_inner_bg_s.png") repeat-x center bottom;
}
.winter header .inner01 {
	background: url("../image/common/h_inner_bg_w.png") repeat-x center bottom;
}
header h1,
header .header_logo {
	position: absolute;
	left: 2%;
	top: 10px;
	padding: 0;
	width: 60%;
}
header h1 a,
header .header_logo a {
	background: url("../image/common/logo.png") no-repeat left center;
	background-size: contain;
}
header #h_sns {
	padding: 0;
	margin: 0;
}
header #h_sns_btn {
	position: absolute;
	right: calc(60px + 4%);
	top: 20px;
	display:block;
	width: 42.6px;
	height: 51.4px;
	z-index: 2;
}
header #h_sns_btn a {
	display: inline-block;
	text-indent: -9999px;
}
#sns_panel-btn-icon {
	display: block;
	background: url("../image/common/sns_btn.png") no-repeat;
	background-size: 42.6px auto;
	width: 42.6px;
	height: 51.4px;
}
header #h_sns ul {
	height: 90px;
	align-items: center;
	justify-content: center;
	transform: translate(100%,0);
	background: #ffe111;
    transition: all .2s ease-in;
}
header #h_sns ul img {
	width: 52px;
	height: 52px;
}

/*globalnav*/
/*------------------------------------------------------------------------------*/
#globalnav{
	padding-top: 0;
}
#gnav_btn {
	position: absolute;
	right: 2%;
	top: 15px;
	display:block;
	width: 60px;
	height: 60px;
	margin-bottom: 15px;
}
#gnav_btn a {
	display: inline-block;
	text-indent: -9999px;
	position: relative;
	z-index: 2;
}
#panel-btn-icon {
	display: block;
	background: url("../image/common/gnav_btn01.png") no-repeat;
	background-size: 60px 60px;
	width: 60px;
	height: 60px;
}
#gnav_btn a #panel-btn-icon.close {
	background: url("../image/common/gnav_btn02.png") no-repeat;
	background-size: 60px 60px;
}
#globalnav_in {
	display: none;
	width: 100%;
}
#globalnav .menu {
	padding: 20px 0 50px 40%;
	flex-direction: column;
}
#globalnav li {
	width: 100%;
	position: relative;
    text-align: left;
    float: none;
    margin-bottom: 5px;
    font-size: 18px;
}
.summer #globalnav li a {
	color: #333;
}
#globalnav li img {
    margin-right: 10px;
}
#globalnav li a:before {
	content: none;
}
#globalnav li:after {
	content: '';
	position: absolute;
	top: 12px;
    top: -webkit-calc(50% - 4px);
    top: calc(50% - 4px);
    right: 5%;
	width: 6px;
    height: 6px;
    border-top: solid 2px #f07906;
    border-right: solid 2px #f07906;
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
#globalnav .in {
	position: static;
	z-index: 3;
}
#globalnav li a {
	padding: 10px 30px 10px 20px;
	line-height: 1.4;
    background-color: rgba(255,255,255,.8);
    border-radius: 20px 0 0 20px;
    height: auto;
}
#globalnav li:hover a:before,
#globalnav li.main_current a:before {
    content: none;
}
#globalnav #gnav_menu ul:after {
	content: '';
	display: block;
	clear: both;
}
#globalnav #gnav_menu {
	display: block;
}
#globalnav #gnav_menu ul {
	padding: 20px 0;
	max-width: 500px;
	margin: 0 auto;
}
#globalnav #gnav_menu,
#globalnav #gnav_menu li {
	border: none;
	padding: 0;
	position: static;
    text-align: center;
}
#globalnav #gnav_menu:after,
#globalnav #gnav_menu li:after {
	content: none;
}
header #gnav_menu li:nth-child(1) {
	margin-bottom: 20px;
}
header #gnav_menu li:nth-child(2),
header #gnav_menu li:nth-child(3) {
	float: left;
	width: 50%;
}
#globalnav .menu01 li a {
	padding: 8px 5px;
	margin: 0 auto;
}
#globalnav .mega_wrap {
	display: none;
}

/*footer*/
/*------------------------------------------------------------------------------*/
footer {
	padding: 40px 0 10px;
}
footer .inner01 {
	display: flex;
	flex-direction: column;
	padding-right: 97.5px;
}
footer ul {
	order: 3;
	margin-bottom: 0;
	justify-content: space-between;
	max-width: 400px;
	margin: 0 auto;
}
footer li {
	font-size: 16px;
	padding-right: 0;
	margin: 0 20px 10px 0;
	border-right: none;
}
footer #f_logo {
	order: 1;
}
footer small {
	order: 2;
	margin-bottom: 25px;
	font-size: 12px;
}

/*pagetop*/
/*------------------------------------------------------------------------------*/
.pagetop {
  bottom: -230px;
  right: 10px;
}
.pagetop a {
  max-width: 70px;
  height: 180px;
}
.pagetop img {
  max-width: 70px;
}


/*------------------------------------------------------------------------------*/
}
/*------------------------------------------------------------------------------*/


/* screens smaller than 540---------------------------------------------------------- */
@media only screen and (max-width:539px) {

/*globalnav*/
/*------------------------------------------------------------------------------*/
#globalnav .menu {
	padding-left: 30%;
}
#globalnav li {
    font-size: 15px;
}
#globalnav li a {
	padding: 10px 20px 10px 15px;
}





/*------------------------------------------------------------------------------*/
}
/*------------------------------------------------------------------------------*/

/* screens smaller than 420---------------------------------------------------------- */
@media only screen and (max-width:420px) {

/*footer*/
/*------------------------------------------------------------------------------*/
footer li {
	font-size: 13px;
	margin-right: 10px;
}



/*------------------------------------------------------------------------------*/
}
/*------------------------------------------------------------------------------*/
