@media only screen and (max-width:767px) {
.open #contain {
    margin-left: -240px;
    width: 100%;
}
html.sp #contain {
    width: 100%;
    -webkit-transition: all 500ms cubic-bezier(0.165, 0.84, 0.44, 1);
    -moz-transition: all 500ms cubic-bezier(0.165, 0.84, 0.44, 1);
    -ms-transition: all 500ms cubic-bezier(0.165, 0.84, 0.44, 1);
    -o-transition: all 500ms cubic-bezier(0.165, 0.84, 0.44, 1);
    transition: all 500ms cubic-bezier(0.165, 0.84, 0.44, 1);
}
html.sp.open #contain:before {
    content: "";
    position: absolute;
    z-index: 100;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
}
html.sp #hdr .search {
    box-sizing: border-box;
    background-color: #F1F3F5;
    padding: 8px 3%;
    border-top: 1px solid #C5CDD6;
    width: 100%;
}
#hdr .headMenuInr {
	padding-top:0;
}
#hdr {
	min-width:100% !important;
}
.headNav, #nav, .headMenuOpt {display:none;}

#hdr .headMenu {
    border-top: 3px solid #0579BE;
    width: 100% !important;
	margin:0;
}
#hdr .headMenu .top {
	float: left;
	padding-top:13px !important;
    padding: 13px 0 0 10px;
	width:110px;
}
#hdr .headMenu .top a {
	width:110px;
}
#hdr .headMenu .spHead li.menu {
    padding: 5px 10px 0 0;
    margin-left: 10px;
    display: table;
}
#hdr .headMenu .spHead li.menu a {
    color: #ffffff;
    display: table-cell;
    width: 46px;
    height: 46px;
    background-color: #0579BE;
    font-size: 9px;
    text-align: center;
    vertical-align: bottom;
    text-decoration: none;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -o-border-radius: 4px;
    border-radius: 4px;
    background-clip: padding-box;
	font-weight:bold;
}
#hdr .headMenu .spHead li.menu a:before {
    font-family: fontello;
    font-size: 22px;
    margin-bottom: -5px;
    display: block;
}
#hdr .headMenu .spHead li.menu a:before {
    content: '\e81c';
}
#hdr .headMenu .spHead li.menu a span {
    display: block;
    margin-bottom: 3px;
}
#hdr .search li {
	padding-left:0;
}
html.sp #hdr .search li .gsc-control-searchbox-only .gsc-input {
    font-size: 14px;
}
html.sp #hdr .search li .gsc-control-searchbox-only .gsc-input-box {
    background-color: #ffffff;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    -ms-box-shadow: none;
    -o-box-shadow: none;
    box-shadow: none;
}
html.sp #hdr .search li .gsc-control-searchbox-only .gsc-search-button {
    background-color: #0579BE;
    -webkit-border-radius: 0 4px 4px 0;
    -moz-border-radius: 0 4px 4px 0;
    -o-border-radius: 0 4px 4px 0;
    border-radius: 0 4px 4px 0;
    background-clip: padding-box;
	font-size:100%;
}
html.sp #hdr .search li .gsc-control-searchbox-only .gsc-search-button-v2 {
    width: 50px;
    -webkit-appearance: none !important;
}
#hdr .headMenuInr {
	float:none;
}
#hdr .headMenu .spHead {
    float: right;
}
.spHeadGrp {
    height: 58px;
}
.headMenuInr {
	float: none;
    padding-top: 0;
}

#hdr table.gsc-search-box {
    border-style: none;
    border-width: 0;
    border-spacing: 0 0;
    width: 100%;
    margin-bottom: 2px;
}



html.sp .spMenu {
  width: 240px;
  height: 100%;
  position: fixed;
  right: -240px;
  top: 0px;
  -webkit-box-shadow: 5px 0px 3px #cccccc inset;
  -moz-box-shadow: 5px 0px 3px #cccccc inset;
  -ms-box-shadow: 5px 0px 3px #cccccc inset;
  -o-box-shadow: 5px 0px 3px #cccccc inset;
  box-shadow: 5px 0px 3px #cccccc inset;
  -webkit-transition: all 500ms cubic-bezier(0.165, 0.84, 0.44, 1);
  -moz-transition: all 500ms cubic-bezier(0.165, 0.84, 0.44, 1);
  -ms-transition: all 500ms cubic-bezier(0.165, 0.84, 0.44, 1);
  -o-transition: all 500ms cubic-bezier(0.165, 0.84, 0.44, 1);
  transition: all 500ms cubic-bezier(0.165, 0.84, 0.44, 1);
  background-color: #F1F3F5;
}
html.sp .spMenu ul {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
html.sp .spMenu ul li {
  border-top: 1px solid #FFFFFF;
  border-bottom: 1px solid #C5CDD6;
  display: table;
  width: 100%;
  text-align:center;
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro","Meiryo","メイリオ",sans-serif;
}
html.sp .spMenu ul li a {
  display: table-cell;
  color: #333333;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  height: 50px;
  vertical-align: middle;
  position: relative;
  padding-left: 30px;
  letter-spacing: -1px;
  line-height:1.5;
}
html.sp .spMenu ul li a span {
  display: block;
  font-size: 14px;
}
html.sp .spMenu ul li a br {
  display: none;
}
html.sp .spMenu ul li a i {
  position: absolute;
  left: 15px;
  top: 5px;
  color: #0579BE;
  font-size: 23px;
}
html.sp .spMenu ul li a i.icon-fire-1 {
  color: #E31E1E;
}
html.sp .spMenu ul li a i.icon-heartbeat {
  color: #E31E1E;
}
html.sp .spMenu ul li a i.icon-rescue:before {
  content: "";
  width: 18px;
  height: 18px;
  background: url("../img/kobe/ico_rescue.png") no-repeat center center;
  background-size: 100%;
  display: inline-block;
  vertical-align: text-bottom;
  position: absolute;
  left: 5px;
  top: 12px;
}

html.sp.open {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
html.sp.open body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
html.sp.open #container {
  margin-left: -240px;
  height: 100%;
  overflow: hidden;
}
html.sp.open #container:before {
  content: "";
  position: absolute;
  z-index: 100;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
}
html.sp.open .spMenu {
  right: 0px;
  z-index: 1000;
}
html.sp .spMenu ul li a i {
    position: absolute;
    left: 15px;
    top: 5px;
    color: #0579BE;
    font-size: 23px;
}
}