.hide {
  display: none;
}

@media (min-width: 768px) {
.sp-only {
  display: none;
}

}

@media (max-width: 767px) {
.sp-menu-open {
  overflow: hidden;
}

.sp-hide {
  display: none;
}

h2,
#header,
#pagebody,
#gmenu ul,
.sitemap_area_in,
.upper_area_in,
#main_img_mc,
#contents_area,
.infobox2_in ul,
dl.info_list dd.txt,
#left_area,
#right_area {
  width: auto;
}
#pagebody_os {
}

#pagebody {
  padding-bottom: 20px;
  overflow: inherit;
}

#header {
  padding-top: 45px;
}
.header_2 {
  margin-top: 5px !important;
}

img {
  max-width: 100%;
  height: auto;
}

/* スマホ用ヘッダ */
#sp-header {
  z-index: 100;
  position: fixed;
  width: 100%;
  overscroll-behavior: contain;
}
#sp-header-container {
  width: 100%;
  height: 40px;
  background: #fff;
  box-shadow: 1px 1px 4px 0 rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 100;
}
#sp-logo {
  display: inline-block;
  padding: 5px;
  height: 30px;
}
#sp-logo img {
  width: 160px;
  height: auto;
  margin-top: 4px;
  margin-bottom: 2px;
}

#sp-gmenu {
  position: relative;
  width: 100%;
  height: 100vh;
  overscroll-behavior: contain;
}
#sp-gmenu-back {
  position: absolute;
  width: 100%;
  height: 100vh;
  background: #333;
  opacity: 0.5;
  left: 0;
  top: 0;
  z-index: 1;
}
#sp-gmenu ul {
  height: 100%;
  padding-top: 40px;
  overflow: scroll;
  top: -40px;
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  overscroll-behavior: none;
}

#sp-gmenu ul:after {
  content: "";
  clear: both;
  display: block;
  padding-bottom: 140px; 
}
#sp-gmenu ul li:last-child {
}

#sp-gmenu ul li a {
  display: block;
  background: #568EA9;
  padding: 10px 7px;
  text-decoration: none;
  color: #fff;
  border-bottom: 1px solid #ccc;
}
/*#sp-gmenu ul li:nth-child(odd) a {
  border-right: 1px solid #fff;
}
*/

#sp-gmenu ul li {
  display: block;
}

#header {
  height: auto;
}

.header_1 p, #fontsize {
  display: none;
}
#header p:last-child {
  display: none;
}
#logo_sanco {
  display: none;
}
/*
#logo_sanco img {
  width: 160px;
  height: auto;
  margin-top: 4px;
  margin-bottom: 2px;
}
*/

.lang-btn, .about-translate-btn {
  padding: 2px;
  font-size: 90%;
  float: none;
  margin: inherit;
  text-align: inherit;
}

.catch {
  font-weight: normal;
  height: auto;
  font-size: inherit;
  line-height: 1.5;
  background: none;
  background: #ffadad;
  background: rgba(255,173,173,0.6);
}
.catch a {
  text-decoration: none;
}
#about-translate {
  left: 0;
  top: 61px;
  width: auto;
}

/* ヘッダのお問い合わせなどの部分 折り畳みメニューにする */
.s_navi ul:nth-child(2) {
  display: none;
}

/* グローバルメニュー 折り畳みメニューにする */
#gmenu {
  display:none;
}

.catch {
  margin-left: 0;
  width: 100%;
}
.s_navi {
  float: none;
}
.s_navi ul {
   padding-bottom: 0 !important
}
.s_navi .global-language {
  text-align: center !important;
}

/* メインエリア */

#main_area {
  margin-top: 0;
}
#contents_area {
  float: none;
}

/* スライドショー */
#main_img_mc {
  height: auto;
}
#main_img_mc div,
#main_img_mc li {
}
#main_img_mc div #svwp0 img {
}
#main_img_mc img {
  height: auto !important;
}

/* 運行状況 */

#headline {
  padding: 7px 5px 5px 5px;
  border: none;
}
#headline img {
  display: none;
}
.headline-sp-title {
  display: inline-block;
  background: #568EA9;
  color: #fff;
  padding: 3px;
  border-radius: 2px;
}

/* spメニュー */
.box-location {
	background-color: #1c4d96;
	padding-top: 5px;
	padding-bottom: 5px;
	margin-bottom: 7px;
        min-height: 30px;
	color: #FFF;
        line-height: 1.3;
        text-align: center;
}
#text-location {
  font-size: 10px;
  padding-left: 6px;
  margin-top: 2px;
}
#text-location a {
  color: #fff;
}

#btn-location {
  float: right;
}
#btn-location a {
  text-decoration: none;
  display: block;
  background: #fff;
  border-radius: 5px;
  font-size: 10px;
  color: #000;
  padding: 7px 3px;
  margin-top: 1px;
  margin-right: 3px;
  margin-left: 10px;
}
.navw {
        border: 2px solid #ccc;
        border-radius: 3px;
        margin: 0 5px 5px 5px;
        padding: 2px;
}

.navw a {
        display: block;
        line-height: 53px;  
        background-color: #eeeef0;
        font-size: 130%;
        border-radius: 3px;
        height: 53px;
        background-size: 53px 53px;
        background-position: 30px 5px;
        background-repeat: no-repeat;
        padding: 5px 40px 5px 90px;
        font-weight: bold;
        text-align: center;
}

.navw img {
        vertical-align: middle;
        margin: 5px 10px 5px 15px;
}
.n-gmenu5 a {
   background-image: url("/img/sp/n_gmenu5s.png");
}
.n-gmenu6 a {
   background-image: url("/img/sp/n_gmenu6s.png");
}
.n-gmenu7 {

}
.n-gmenu8 {

}
.n-gmenu9 {

}
#gnav ul {
       margin: 0px 5px 15px 5px;
}

#gnav ul li {
	float: left;
        width: 50%;
        text-align: center;
        margin-bottom: 5px;
        font-weight: bold;
}
#gnav ul .nav-inner {
        border: 2px solid #ccc;
        border-radius: 3px;
        box-sizing: border-box;
	padding: 2px;
        margin-right: 2px;
        margin-left: 2px;
}
#gnav ul li.boxlast {
        width: 34%;
}
#gnav ul li.boxlast .nav-inner {
        margin-right: 0;
}
#gnav ul li img {
        margin-bottom: 3px;
}

#gnav ul li a {
        display: block;
        background: #eeeef0;
        font-size: 100%;
        border-radius: 3px;
        padding-bottom: 5px;
}

/* トップページ 左 */
#left_area {
  float: none;
  margin: auto;
  position: relative;
}
.lbox {
  background: none;
  margin: 7px 5px 5px 5px;
}
#lbox-routebus img {
  display: none;
}
#lbox-routebus h3 {
  border-bottom: 1px solid #ccc;
  padding: 5px 10px;
  font-size: 120%;
}
#lbox-routebus h3 a {
  text-decoration: none;
}
#left_area .form1 {
  width: auto;
  font-size: auto;
  margin-right: 20px;
}
#left_area br[clear="all"] {
  display: none;
}
.lbox_in {
  padding: 5px 10px;
}
.search-stops-table {
  width: 100%;
}
.search-stops-table input {
  width: 100%;
}

/* トップページ センター */
.infobox {
  background: none;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin: 5px;
}
.infobox_in {
  background: none;
  padding: 0;
}
.infobox_in h3 {
  border-bottom: 1px solid #ccc;
  padding: 10px;
  font-size: 120%;
}
.infobox_in h3 img {
  display: none;
}
.infobox_in h3 img.btn {
  display: inline;
  float: right;
}
.infomenu {
  text-align: center;
}
.infomenu li {
  background: none !important;
  border: none !important;
  display: inline-block;
  width: auto;
  height: auto;
  margin-bottom: 2px;
}
.infomenu li a {
  padding: 10px 3px;
  background: #eee !important;
  border-right: 1px solid #ccc;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  margin-top: 2px;
}
.infomenu li:first-child a {
  border-left: 1px solid #ccc;
  border-radius: 10px 0 0 0;
}
.infomenu li:nth-child(6) a {
  border-radius: 0 10px 0 0;
}

.infobox ul {
  padding: 5px 10px;
}

dl.info_list dd.txt {
  margin-left: 0;
}
.infobox2 {
  margin: 5px 5px;
  background: none;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
}
.infobox2_in {
  background: #fff;
  padding: 0;
}
.infobox2_in li a {
  padding: 2px 4px;
  font-size: 90%;
}
.infobox2 h4 {
  border-bottom: 1px solid #ccc;
  padding: 10px;
  font-size: 120%;
}
.infobox2 h4 img {
  display: none;
}
.infobox2 ul {
  padding: 5px 10px;
}

/* バナー */

.banners {
  margin: 5px;
}
.banners a {
  display: inline-block;
  width: 47%;
}
.banners img {
  width: 100%;
  height: auto;
  margin: 1px;
}

/* トップページ 右 */
#right_area {
  float: none;
  text-align: center;
}
.rside_menu {
  padding-top: 10px;
}

/* フッター */
.footer1 {
  height: auto;
  line-height: 1;
}
.upper_area p {
  width: auto;
  height: auto;
  text-align: right;
}
.upper_area p a {
  display: inline-block;
  text-align: left;
}


.sitemap_area_in {
  padding: 10px 10px;
}

.sitemap_area_box1,
.sitemap_area_box2,
.sitemap_area_box3 {
  width: auto;
  float: none;
}
.sitemap_area_in li {
  padding: 2px 0;
}

/*ボタン外側*/
.openbtn{
	/*ボタン内側の基点となるためrelativeを指定。
追従するナビゲーションの場合はfixed＋top、rightといった位置をセットで指定*/
	position: absolute;
        top: 0;
        right: 0;
	background:#57a2c7;
	cursor: pointer;
    width: 40px;
    height: 40px;
}

/*ボタン内側*/
.openbtn span{
    display: inline-block;
    transition: all .4s;/*アニメーションの設定*/
    position: absolute;
    left: 11px;
    height: 3px;
    border-radius: 2px;
	background: #fff;
  	width: 45%;
  }

.openbtn span:nth-of-type(1) {
	top:11px;	
}

.openbtn span:nth-of-type(2) {
	top:19px;
}

.openbtn span:nth-of-type(3) {
	top:27px;
}

/*activeクラスが付与されると線が回転して×に*/
.openbtn.active span:nth-of-type(1) {
    top: 13px;
    left: 11px;
    transform: translateY(6px) rotate(-45deg);
}

.openbtn.active span:nth-of-type(2) {
	opacity: 0; /*真ん中の線は透過*/
}

.openbtn.active span:nth-of-type(3){
    top: 25px;
    left: 11px;
    transform: translateY(-6px) rotate(45deg);
}


/* 検索 */

.sp-rosen-wrapper {
  margin: 5px;
}
.sp-rosen-button,
.sp-highway-button {
  margin: 0 5px 5px 5px;
}
.sp-rosen-button p,
.sp-highway-button p {
  width: auto;
  border: 1px solid #DADADA;
  border-radius: 7px;
  -webkit-border-radius: 7px;
  background-color: #FFF;
  margin-right: 0px;
  margin-left: auto;
}

.sp-rosen-button a,
.sp-highway-button a {
  display: block;
  padding: 10px 5px;
  color: #FFF;
  font-weight: bold;
  text-align: center;
  /*text-shadow: -1px -1px 0 rgba(150, 150, 150, 0.3);*/
  border-radius: 3px;
  -webkit-border-radius: 3px;
  text-decoration: none;
  font-size: 140%; 
  box-shadow: 1px 1px 4px 0 rgba(0, 0, 0, 0.4);
  line-height: 1.3;
}
.sp-rosen-button small,
.sp-highway-button small {
  font-size: 70%;
  font-weight: normal;
}
.sp-rosen-button a {
  background: #0e6fc9;
}
.sp-highway-button a {
  background: #0e6fc9;
}

.sp-buslocation {
  display: block;
  background: #1c4d96;
  margin: 5px 5px 10px 5px;
  padding: 5px 0;
  text-align: center;
  color: #fff;
}

.sp-searchbox {
  border: 2px solid #568EA9;
  background: #fff;
  margin: 5px;
  border-radius: 5px;
}
.sp-searchbox h3 {
  font-weight: bold;
  background: #568EA9;
  color: #fff;
  padding: 5px 10px;
}
.sp-searchbox form {
  padding: 0 10px 10px 10px;
}
.sp-searchbox h3 a {
  color: #fff;
}
/*
.sp-searchbox h3 {
    background-image: url(/sp/img/common/title_image1.png);
    background-repeat: no-repeat;
    height: 46px;
    margin-bottom: 10px;
    padding-left: 60px;
    line-height: 46px;
    font-size: 14px;
    color: #4D4D4D;
}
*/
.sp-searchbox-input {
  position: relative;
}
.sp-searchbox-input span {
  position: absolute;
  top: 4px;
  left: 5px;
  display: inline-block;
  background: #fff;
  padding: 0 2px;
  font-weight: bold;
}
.sp-searchbox .stop-candidates-wrapper {
  display: block;
}
.sp-searchbox .stop-candidates {
  background: #eff;
  list-style: none;
  padding: 0;
}
.sp-searchbox .stop-candidates li {
  border-bottom: 1px solid #999;
  border-left: 1px solid #999;
  border-right: 1px solid #999;
  padding: 10px;
}
.sp-searchbox .stop-candidates li:first-child {
  border-top: 1px solid #999;
}
.sp-searchbox .stop-candidates li a {
  display: block;
}

.textfield {
  display: block;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #999;
  border-radius: 5px;
  padding: 8px;
  font-size: 120%;
}
.select {
  box-sizing: border-box;
  border: 1px solid #999;
  border-radius: 5px;
  padding: 5px 2px;
  font-size: 120%;
}
.select-full {
  width: 100%;
  display :block;

}

.leaf_btn2 {
	height: 40px;
	width: 210px;
	margin-bottom: 7px;
	border: 1px solid #DADADA;
	border-radius: 7px;
	-webkit-border-radius: 7px;
	margin-right: auto;
	margin-left: auto;
	background-color: #E2E2E2;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(1.00, #FFFFFF), color-stop(0.51, #E2E2E2), color-stop(0.00, #FFFFFF));
	background: -webkit-linear-gradient(top, #FFFFFF 0%, #E2E2E2 51%, #FFFFFF 100%);
	background: -moz-linear-gradient(top, #FFFFFF 0%, #E2E2E2 51%, #FFFFFF 100%);
	background: -o-linear-gradient(top, #FFFFFF 0%, #E2E2E2 51%, #FFFFFF 100%);
	background: -ms-linear-gradient(top, #FFFFFF 0%, #E2E2E2 51%, #FFFFFF 100%);
	background: linear-gradient(top, #FFFFFF 0%, #E2E2E2 51%, #FFFFFF 100%);
}



.leaf_btn2 a {
	display: block;
	height: 36px;
	padding: 2px 20px 2px 10px;
	font-weight: bold;
	line-height: 36px;
	text-align: left;
        text-decoration: none;
}
.txtlink_s a {
	text-decoration: underline;
	color: #36C;
	font-size: 12px;
}
.txtlink_s .initial-search {
       float: right;
       text-decoration: none;
       border: 1px solid #ccc;
       border-radius: 5px;
       display: inline-block;
       background: #488EB2;
       color: #fff;
       padding: 1px 5px;
       margin-right: 2px;
}
.switch {
  text-align: center;
  margin: 3px 0 0 0;
}
.switch img {
  vertical-align: bottom;
}
.switch a {
  text-decoration: none;
}
.leaf_text1 {
	font-size: 14px;
	margin-top: 10px;
	margin-bottom: 10px;
	margin-left: 20px;
}
.qrcode {
  display: none;
}


/* 下層ページ */

.submenu {
  padding-top: 5px;
  float: right;
  width: 160px;
}
.rosenbusmenu {
  width: 160px;
  height: 28px;
  background: #faf8f5;
  border-left: 1px solid #999;
  border-top: 1px solid #999;
  border-right: 1px solid #999;
  border-radius: 5px 5px 0 0;
  line-height: 28px;
  text-align: center;
  font-size: 90%;
  color: #666;
  box-shadow: 0 -1px 4px 0 rgba(0, 0, 0, 0.1);
}
.rosenbusmenu:before {
  content: '▼ ';
  color: #97c6e2;
}
.left_menu {
  position: absolute;
  z-index: 10;
  background: #fff;
  display: none;
  width: 158px;
  font-size: 90%;
}
.left_menu ul li a {
  padding: 8px;
}
.left_menu_end {
  display: none;
}
#pankuzu {
  display: none;
}

#contents_area_leaf {
  width: auto;
  float: none;
  border-top: 0;
  padding-top: 7px;
}
#contents_area_leaf h2 {
  line-height: 1;
  padding: 0 5px 5px 10px;
  margin-top: 4px;
  margin-bottom: 0;
  height: 30px;
  width: auto;
}
.news_box {
  display: none;
  /* width: auto;
  height: auto;
  background: none;
  padding: 10px; */
}
.news_box_left {
  float: none;
  width: auto;
}
.page_box,
.menu_box,
.shattle_menu,
.highwayserch {
  margin: 5px;
  padding: 10px;
  background: none;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
}
.highwayserch ul {
  width: auto;
}
.highwayserch ul li {
  float: none;
  display: inline-block;
}
.highwayserch h3,
.page_box h3 {
  width: auto;
  border: 1px solid #999;
  margin: 0 0 10px 0;
  height: auto;
  background: #eee;
  line-height: 1.2;
  padding: 5px 5px 5px 12px;
  position: relative;
}
.highwayserch h3:before,
.page_box h3:before {
  position: absolute;
  content: " ";
  top: 10%;
  left: 0;
  display: block;
  width: 3px;
  height: 80%;
  background: #3bb9e3;
}
.page_box h4 {
  width: auto;
  margin: 0;
}
.clear img[src*="kadomaru"] {
  display: none;
}
.menu_box img,
.shattle_menu img {
  max-width: 95%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.page_box p {
  line-height: 1.5;
}
.page_box img,
.page_box video {
  max-width: 95% !important;
  height: auto !important;
  float: none !important;
}
.page_box iframe {
  max-width: 100%;
}

.page_box .table-wrapper {
  width: 100%;
  overflow: scroll;
}

.menu_box ul.menu_box_ul1 li {
  display: block;
  width: 100%;
  height: auto;
  margin: 5px 0;
}

.menu_box ul.menu_box_ul1 li p {
  display: block;
  background: none;
  background: #eee;
  width: auto;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: 1px 1px 4px 0 rgba(0, 0, 0, 0.2);
  margin: 0 10px;  
  height: auto;
  line-height: 1;
}
.menu_box ul.menu_box_ul1 li p a {
  display: block;
  padding: 10px;
}
.menu_box h3.leaf_h3_2 {
  width: auto;
  border-right: 1px solid #999;
  margin-bottom: 10px;
}

.page_2box {
  float: none;
  width: auto;
}
.page_box .border0
.page_box .border0 tr,
.page_box .border0 td {
  display: block;
  width: auto !important;
  height: auto !important;
}

/* お問い合わせフォーム */
.menu_box h3.leaf_h3_4 {
  width: auto;
  border-right: 1px solid #999;
}
.inquiry_box {
  width: auto;
  margin: 0;
}
.inquiry_box table,
.inquiry_box table tbody,
.inquiry_box table tr,
.inquiry_box table th,
.inquiry_box table td {
  display: block;
  width: auto;
}
.inquiry_box input,
.inquiry_box textarea {
  max-width: 100%;
}

.news_box2 {
  margin: 0 0 0 10px;
}

.news_table {
  width: auto;
}

.news_td3 {
  width: 30px;
}

.stop-candidates-wrapper {
  max-height: inherit;
  overflow-y: none;
}

.stop-candidates {
  background: #eff;
  list-style: none;
  padding: 0;
}
.stop-candidates li {
  border-bottom: 1px solid #999;
  border-left: 1px solid #999;
  border-right: 1px solid #999;
  padding: 10px;
  background: #eff;
}
.stop-candidates li:first-child {
  border-top: 1px solid #999;
}
.stop-candidates li a {
  display: block;
}
a.catchlink {
  background: inherit;
  margin: inherit;
  padding: inherit;
}
.abount-translate-btn {
  text-align: inherit;
  margin: inherit;
  float: none;
}
.stop-candidates-wrapper {
  display: block;
}
.inquiry_box table td {
  padding: 0;
}
.inquiry_box select {
  display: block;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #999;
  border-radius: 5px;
  padding: 8px;
  font-size: 120%;
  background: #fff;
  margin-bottom: 5px;
}
.inquiry_box input {
  box-sizing: border-box;
  border: 1px solid #999;
  border-radius: 5px;
  padding: 8px;
  font-size: 120%;
  background: #fff;
  margin-bottom: 5px;
}
.inquiry_box textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #999;
  border-radius: 5px;
  padding: 8px;
  font-size: 120%;
  background: #fff;
  margin-bottom: 5px;
}
.inquiry_box p {
  padding: 0.3em 0;
}
.menu_box h3.leaf_h3_4b {
  width: auto !important;
  height: auto !important;
  background: #eee !important;
  padding: 5px 0;
  border: 1px solid #666;
}
.banner-blank {
  display: none;
}
.busstop_table_left,
.busstop_table_right {
  float: none;
}

}
