
  #map_navi_sp{
    display: none!important;
}
  .pc_none{
   display: none;
}
.sp_none{
   display: block;
}
  .show_hide{
    color:#3A84DF;
}

  .bg-white{
    background-color: #fff !important;
}
  .bg-lt_gray{
    background-color: #F0F0F0;
}
  .bd-green{
    border-color: #005A31;
}
.px-10 {
    padding-left: 10px;
    padding-right: 10px;
}
#header #btn_help {
	position:absolute;
	top:126px;
        width: 120px;
	left:-2px;
	display: flex;
        align-items: center;flex-direction: row;
        justify-content: space-between;
	height:40px;
        background: #ffffff;
        border: #005A31 solid 2px;
        border-radius: 0px 8px 8px 0px;
        
}
#header #btn_dourokubun {
	position:absolute;
	top:56px;
        width: 120px;
	left:-2px;
	display: flex;
        align-items: center;flex-direction: row;
        justify-content: space-between;
	height:60px;
        background: #ffffff;
        border: #005A31 solid 2px;
        border-radius: 0px 8px 8px 0px;
}
/*========= PC版道路区分表示 ===============*/
#dourokubun_pop{
        border-top: 4px solid #005A31;
}
 .popup_road_info{
    display: flex;
    position: absolute;
    left: -450px;
    top: 120px;
    z-index: 9999;
    width: 400px;
    padding: 10px;
    background: #FFF;
    border: 1px solid #FFFFFF;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px 2px 2px 2px;
    color: #333;
    text-align: left;
    transition: all 0.7s ease;
    flex-direction: row-reverse;
}
.popup_road_info_show{
  left: 0;
  z-index: 9999;
}


#dourokubun_pop .popup_window_head {
    padding: 10px;
    background: #F2F2F2;
    font-size: 16px;
}
#dourokubun_pop .sp_close{
    position: absolute;
    font-size: 16px;
    padding: 0.5rem;
}
.dourokubun_text{
        border-top: 1px solid #E6EBEE;
        padding-top: 1rem;
        margin-top: 1rem;
        margin-bottom: 0.5rem;
}
.dourokubun_table table ,.dourokubun_table td,.dourokubun_table th {
        text-align: center;
	border: 1px solid #707070;
	border-collapse: collapse;
}
.dourokubun_table table{
width: 100%;
}
.dourokubun_table td, th {
	padding: 4px;
	width: 30px;
	height: auto;
}
.dourokubun_table th {
        text-align: center;
        font-weight: 700;
	background: #F0F0F0;
}
.dourokubun_table td.syubetu{
        text-align: center;
        font-weight: 700;       
}
.dourokubun_table .syubetu p{
        writing-mode: vertical-rl;
        display: inline-block;
}
.dourokubun_table td.uchiwake{
        text-align: left;
        height: 30px;
}
.dourokubun_table td.jyuni{
        font-weight: 700;
}
.switching{
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 20px;
   font-size: 14px;
}
 .switching div{
    width: 50%;
    text-align: center;
}
 .switching input{
    margin-right: 10px;
    vertical-align: middle;
}

/*========= PC版道路区分表示ここまで ===============*/
/*========= PCSP版地図内表示 ===============*/
.searchbox{width: 96%;
    max-width: 375px;
    height: 32px;
    padding: 0 11px 0 13px;
    background-color: #FFFFFF;
    border: 1px solid transparent;
    border-right: 0;
    border-radius: 2px 0 0 2px;
    border-bottom-left-radius: 2px;
    border-bottom-right-radius: 0;
    border-top-left-radius: 2px;
    border-top-right-radius: 0;
    border-top-style: solid;
    border-width: 1px 0 1px 1px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    outline: none;
    vertical-align: top;
}
.searchbutton {
    position: absolute;
    top: 0;
    right: 5px;left:auto;
    width: 72px;
    height: 32px;
    cursor: pointer;
    background: url(../img/icon_search.gif) no-repeat center #4D90FE;
    border: 0;
    border-radius: 0 2px 2px 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 2px;
    border-top-left-radius: 0;
    border-top-right-radius: 2px;
    box-shadow: 0 2px 6px rgb(0 0 0 / 30%);
    text-align: center;
    vertical-align: top;
    text-indent: -9999px;
}
#map_controller{
    position: absolute;
    z-index: 10;
    bottom: 20px;
    left: 0px;
    margin: 16px;
    text-align: left;
    max-width: 380px;
    width: 98%;
}
/*========= PCSP版地図内表示 ここまで===============*/
/*デスクトップファースト*/
/* 1024pxまでの幅の場合に適用される */
@media (max-width: 1024px) {

}
/* 768pxまでの幅の場合に適用される */
@media (max-width: 768px) {
body {
font-size: 14px;
}
.pc_none{display: block;}
.sp_none{display: none;}

  #header_wrap {
      z-index:999;
  }
  
  #map_navi_sp{
    display: block!important;
}

  .popup_window{
    width: 355px!important;
} 
  .popup_window .popup_container {
    width: 98%!important;
    font-size: 14px;
}
  .popup_window .popup_container ul li{
    width: 50%!important;
}
  #header{height:auto;}
  #header h1{
    font-size: 14px;
    height: 50px;
    line-height: 50px;
}
    #header #btn_back{
        display: none!important;
    }

  .header_sp{
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    height: 50px;
}
  .header_sp h1{
    padding: 0 20px 0 15px!important;
    width: calc(100% - 65px)!important;
}
/* ヘッダーのハンバーガーメニュー動き */
  .header_sp .drawer_hidden {
  display: none;
}
  .header_sp .drawer_open {
  display: flex;
  height: 50px;
  width: 65px;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 100;
  cursor: pointer;
  background: #fff;
}
  .header_sp .drawer_open span,
  .header_sp .drawer_open span:before,
  .header_sp .drawer_open span:after {
  content: '';
  display: block;
  height: 3px;
  width: 25px;
  border-radius: 3px;
  background: #005A31;
  transition: 0.5s;
  position: absolute;
}
  .header_sp .drawer_open span:before {
  bottom: 8px;
}
  .header_sp .drawer_open span:after {
  top: 8px;
}
  .header_sp #drawer_input:checked ~ .drawer_open span {
  background: rgba(255, 255, 255, 0);
}
  .header_sp #drawer_input:checked ~ .drawer_open span::before {
  bottom: 0;
  transform: rotate(45deg);
  background: #fff;
}

  .header_sp #drawer_input:checked ~ .drawer_open span::after {
  top: 0;
  transform: rotate(-45deg);
  background: #fff;
}
  .header_sp #drawer_input:checked ~ .drawer_open{
   background: #000;
}
  #g-nav {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 100%;
  z-index: 99999;
  background: #fff;
  transition: .5s;
  overflow: scroll;
}

  .header_sp .nav_list {
  list-style: none;
}

  .header_sp #drawer_input:checked ~ #g-nav {
  left: 0;z-index: 9999999999;
}
  .header_sp input[type=checkbox]:checked ~ #g-nav {
  left: 0;z-index: 9999999999;
}

/* ヘッダーのハンバーガーメニュー動き ここまで */
  #map_navi{
    display: none;
}
  #map_navi_sp{
    display: flex;
    display: -webkit-flex;
    flex-direction: column!important;
    justify-content: flex-start!important;
    flex-wrap: nowrap;
    align-items: stretch;
    line-height:inherit;
}
  #map_canvas {
    margin-top: 195px;
}
  .menu_sp{
    display: inline-block;
    height: 70px;
    background-color: #F0F0F0;
    width: 100%;
}
  .area_sp{
    display: -webkit-flex;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    height: 40px;
    background-color: #fff;
   border-top: 1px solid #F0F0F0;
    border-bottom: 1px solid #F0F0F0;
}
 .area_sp p{
    font-size:16px;
    width: 40%;
    padding: 0px;
    height: auto;
}
  .area_sp #tg_area_id_sp{
    width: 50%;
    height: 30px;
}
  .area_sp #tg_area_id{
    width: 70%;
    padding: 0 20px;
    height: 40px;
}
  .date_sp{
    display: flex;
    height: 40px;
    background-color: #fff;
    display: -webkit-flex;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}
  .date_sp .date_sp_item{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: nowrap;
    width: 65%;
    font-size: 12px;
}
  .date_sp .date_sp_itemchild{
    height: 20px;
    line-height: 20px;
}
  .date_sp #btn_update_v{
   position: unset!important;
}
  .menu_sp ul.menu_sp_list {
    display: -webkit-flex;
    display: flex;
    align-items: center;
    float:none!important;
    margin: 10px 0;
    
}
  .menu_sp li.menu_sp_listitem {
    padding-top: 1px;
    height: 50px;
    border-top: 1px solid #005A31;
    border-bottom: 1px solid #005A31;
}
  .menu_sp hr{
    margin-block-start: 0;
    margin-block-end: 0;
    height: 50px;
    border: #005A31 1px solid;
    width: 0;
    display: block;
    visibility: visible;
}
  .menu_sp  #btn_conditions {
    position:unset!important;
    left:0;
    width: 50%!important;
    height: 50px!important;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-content: center;
    flex-wrap: nowrap;
    align-items: center;
    background: #fff;
}

  .menu_sp  .btn_dourokubun, 
  .menu_sp  .btn_help{
    position:unset!important;
    width: 25%!important;
    height: 50px;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
    background: #fff;
}
  .menu_sp  #btn_conditions .img_icon{
  width:16px;
  height:16px;
  margin-right:0.5rem;
  background: url(../img/icon_search_sp.png) no-repeat center;
}
  .menu_sp  .btn_dourokubun .img_icon{
  width:16px;
  height:16px;
  background: url(../img/icon_dourokubun_sp.png) no-repeat center;
}
  .menu_sp  .btn_help .img_icon{
  width:16px;
  height:16px;
  background: url(../img/icon_help_sp.png) no-repeat center;
}
  .menu_sp  .btn_dourokubun{
    border-left: 1px solid #005A31;
    border-right: 1px solid #005A31;
}
  .menu_sp  .btn_dourokubun span{
    font-size: 10px;
}
  .menu_sp li.menu_sp_listitem .img_icon{
    margin:0.2rem;
}
/*= :hover =*/
  .menu_sp  #btn_conditions:hover,
  .menu_sp  .btn_dourokubun:hover,
  .menu_sp  .btn_help:hover{
    background: #323131;
    color: #fff!important;
}
  .menu_sp  .btn_dourokubun:hover span{
    color: #fff!important;
} 

  .menu_sp  #btn_conditions:hover .img_icon{
  background: url(../img/icon_search_sp_on.png) no-repeat center;
}
  .menu_sp  .btn_dourokubun:hover .img_icon{
  background: url(../img/icon_dourokubun_sp_on.png) no-repeat center;
}
  .menu_sp  .btn_help:hover .img_icon{
  background: url(../img/icon_help_sp_on.png) no-repeat center;
}

/*========= SP版ハンバーガーメニュー ===============*/

#g-nav.menu{
-moz-box-sizing: border-box;
    box-sizing: border-box;
    position:fixed;
    top:50px;
    height: 100vh;
    z-index: 99999;
    width:100%; 
    background:#F0F0F0;
    transition: all 0.6s;
    padding:10px;
}
#g-nav.menu .container_sp {
    height: inherit;
    position:relative;
    margin-top  : 0 ;
}
/*#g-nav.menu .btn{
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-weight: bold;
    cursor: pointer;
    white-space: nowrap;
    background:#fff;
    border: 1px solid #D0D9DF;
    color: inherit;
}*/
#g-nav #g-nav-list{
    padding:2rem 1rem;
    height: 100%;
}
#g-nav.menu ul:last-child{
    border-bottom: 1px solid #CDD6DD;
}
#g-nav.menu ul li{
    display: flex;
    align-items: center;
    flex-direction: row;
    align-content: center;
    justify-content: space-between;
    width: 100%;
    height: 50px;
    border-top: 1px solid #CDD6DD;
    position: relative;
    box-sizing: border-box;
    font-size:16px;
}
#g-nav #g-nav-list .img_icon{
    background: url(../img/menu_arrow_sp.png) no-repeat center;
    width: 16px;
    height: 16px;
    display: inline-block;
    vertical-align: middle;
    position: absolute;
    right: 0;
}
#g-nav #g-nav-list a{
    padding: 0 1rem;
    text-decoration: none;
    color:#005a31;
    display: block;
    width: 100%;
    line-height: 50px;
}

#g-nav .sp_close{line-height: 1.5;}

/*========= SP版ハンバーガーメニューここまで ===============*/


/*========= SP版検索条件指定 ===============*/
#conditions_sp{
    display: block;
    /*width: 98%;*/
}
.popup_conditions_info{
    position: absolute;
    left: 0;
    top: 113px;
    z-index: 999;
    width: auto;
    padding: 10px;
    background: #F0F0F0;
    border: 1px solid #FFFFFF;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px 2px 2px 2px;
    color: #333;
    text-align: left;
    height: auto;
}
#conditions_sp h3{
    font-size: 16px;
}
#conditions_sp .conditions_h{
    height: 70vh!important;
}
#conditions_sp #track_group_check .conditions{
    border-bottom: #E6EBEE 1px solid;
    display: block;
    padding: 10px 0;
}
#conditions_sp #track_group_check .conditions div{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    align-content: center;
}
#conditions_sp #track_group_check .conditions select[name="start_date[0]"]{
    width: 30%;
}
#conditions_sp #track_group_check .conditions select[name="start_date[1]"],
#conditions_sp #track_group_check .conditions select[name="start_date[2]"],
#conditions_sp #track_group_check .conditions select[name="start_time[0]"],
#conditions_sp #track_group_check .conditions select[name="start_time[1]"]{
    width: 20%;
}
#conditions_sp #track_group_check .conditions select[name="timespan"]
{
    width: 30%;
}
#conditions_sp #track_group_check{
    border: none;
}
#conditions_sp #track_group_check .conditions select{
    border:#CDD6DD 1px solid;
    height: 40px;
    width: auto;
    padding: 0 0.2rem;
    display: inline-block;
    margin:0.3rem;
}
#conditions_sp #track_group_check .conditions p{
    display: inline-block;
}

#conditions_sp #track_group_check #btn_update{
    display: flex;
    align-items: center;
    justify-content: center;
}
#conditions_sp #track_group_check #btn_update input{
    display: block;
    margin: 0 auto;
    padding: 10px;
    background: #4D90FE;
    border: solid 1px #3272c1;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 1px;
    box-shadow: 0 2px 6px rgb(0 0 0 / 30%);
    color: #FFF;
    font-weight: bold;
    margin: 1rem auto;
    width: 80%;
    height: 50px;font-size:16px!important;
    -moz-appearance: none;
    -webkit-appearance:none;
    appearance:none;
}
/*========= SP版検索条件指定ここまで ===============*/

/*========= SP版検索条件指定SP版道路区分表示SP版ヘルプ【共通】 ===============*/
#dourokubun_pop,
#help_sp,
#conditions_sp{
    overflow-y: scroll;
}
#dourokubun_pop h2,
#help_sp h2,
#conditions_sp h2,
#g-nav  h2{
    font-weight: 700;
    font-size: 20px;
    width:65%;
}

.popup_road_info ,
.popup_help_info ,
.popup_conditions_info {
    position: absolute;
    /*left: -450px;*/
    left: 0;
    top: 113px!important;
    z-index: -5;
    height: 0px;
    width: 100%!important;
    padding: 30px 10px  10px 10px!important;
    background: #F0F0F0!important;
    border: 1px solid #FFFFFF;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px 2px 2px 2px;
    color: #333;
    text-align: left;
    /*height: auto;*/
    box-sizing:border-box;
    
    opacity: 0;
    transition: all 0.7s ease; 
    display: flex;
    flex-direction: column;
}

.popup_road_info_show ,
.popup_help_info_show ,
.popup_conditions_info_show { 
    opacity: 1;
    left: 0;
    height: 86%;
    z-index: 9999;
    overflow-y: scroll;
}

.h2_close{
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: nowrap;
    margin-bottom: 0.2rem!important;
    clear: both;
}
.h2_close .img_icon{
    background: url(../img/icon_close_sp.png) no-repeat center;
    float: right;
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
}
.h2_close a{display: block;}

.container_sp{
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    z-index: 999;
    top: 0;
    width:100%!important;
    height: auto;
    padding:1rem;
    margin-top  :0.8rem;
    background:#ffffff;
    border:1px solid #CDD6DD;
}

.sp_close{
    position: unset!important;
    width:100px;
    float: none!important;
    text-align: center;
    border: 1px solid #D0D9DF;
    font-size:14px!important;
    padding:0.2rem!important;
    background:#ffffff;

}
  select {
    -moz-appearance: menulist-button;
    -webkit-appearance: menulist-button;
    appearance: menulist-button;
    border: 1px solid #D0D9DF;
    border-radius: 0px;
    background-color: #fff !important;
}
  select{
    font-size:14px;
    color: #333;
}
/*========= SP版検索条件指定SP版道路区分表示SP版ヘルプ【共通】ここまで ===============*/

/*========= SP版道路区分表示 ===============*/
#dourokubun_pop{
        border-top: none;
        width: auto;
       /* height: auto;*/
}
/*========= SP版道路区分表示ここまで ===============*/

/*========= SP版ヘルプ ===============*/

.acd-check{
    display: none;
}
.acd-label{
    color: inherit;
    border-top: 1px solid #CDD6DD;
    display: block;
    margin-bottom: 1px;
    padding: 10px;
   font-weight: 700;
}
.acd-content{
    border-top: 1px solid #CDD6DD;
    height: 0;
    opacity: 0;
    padding: 0 10px;
    transition: .5s;
    visibility: hidden;
    text-align: center;
}
.acd-content p{
    text-align: left;
}
.acd-check:checked + .acd-label + .acd-content{
    height: auto;
    opacity: 1;
    padding: 10px;
    visibility: visible;
}
.acd-check:checked + .acd-label + .acd-content.last{
    border-bottom: 1px solid #CDD6DD;
} 

.accordion label.last{
    border-bottom: 1px solid #CDD6DD;
}
.accordion div.last{
    border-top: none;
    border-bottom: 1px solid #CDD6DD;
}

.help_h img.map_help,
.help_h img.log_help {
    width: 60%;
    height: auto;
    margin: 0rem  0rem 0.5rem  0rem;
}
.help_h> *:first-child{
    text-align: center;
}
.accordion label{
  position: relative;
}
.accordion label:after{
  content:"";
  display:block;
  width:8px;
  height:8px;
  border-top: #CDD6DD 2px solid;
  border-right: #CDD6DD 2px solid;
  -webkit-transform: rotate(135deg);
  -ms-transform: rotate(135deg);
  transform: rotate(135deg);
  position:absolute;
  right: 2%;
  top: 0;
  bottom: 15%;
  margin: auto;
}
.accordion input[type=checkbox]:checked + label:after{
  content:"";
  display:block;
  width:8px;
  height:8px;
  border-top: #CDD6DD 2px solid;
  border-right: #CDD6DD 2px solid;
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
  position:absolute;
  right: 2%;
  top: 7%;
  bottom: 0;
  margin: auto;
}

/*=========  SP版ヘルプここまで ===============*/


/*=========  SP版 地図内表示 ===============*/

/*=========  SP版 地図内表示 ここまで ===============*/

/*=========  SP版 広告表示 ===============*/
#ad_box.sp_none { display:none }
#ad_box_sp { width : 100% ; }
#ad_box_sp img { max-width : 100% ; }

/*=========  SP版 広告表示 ここまで ===============*/

}


/* 480pxまでの幅の場合に適用される */
@media (max-width: 480px) {
  .popup_window{width: 355px!important;
} 
  .popup_window .popup_container {
    width: 98%!important;
    font-size: 14px;
}
}
/* 320pxまでの幅の場合に適用される */
@media (max-width: 320px) {
body {
font-size: 3vw;
}
  .popup_window{
    width: 98%!important;
} 
  .popup_window .popup_container {
    width: 98%!important;
    font-size: 14px;
}
#header h1{
    font-size: 4vw;
}
.header_sp h1 {
    padding: 0 0.5rem!important;
}
  .area_sp p{
    font-size: 4vw;
}
  .date_sp .date_sp_item{
    font-size: 3vw;
}
  .menu_sp #btn_conditions{
    font-size: 4vw;
}
  .menu_sp .btn_dourokubun,
  .menu_sp .btn_help{
    font-size: 3vw;
}
  select{
    font-size:3vw;
}
  .news_contents .span{
    font-size:2vw;
}
}
