@charset "utf-8";

/* ホバーで透過 */
a:hover{
  opacity: 0.7;
  filter: alpha(opacity=70);
}

/*******************************************
メイン
*******************************************/
/* レスポンシブ対応 PC時表示 */
.only_pc{
  display: block;
}

/* レスポンシブ対応 PC時非表示 */
.only_sp{
  display: none;
}

/* ドロワー */
.drawer-menu li a {
  width: 100% !important;
  height: 100% !important;
  display: block;
}
.drawer-menu li img {
  margin-top: 10px;
  margin-right: 5px;
  display: block;
  float: left;
}

/* ナビゲーション上 */
.h_box{
  width: 80%;
  height: auto;
  margin: 0 auto 5px auto;
}

/* h1見出し */
h1{
  margin-top: 35px;
  font-size: 14px;
}

/* 更新日 */
.date{
  color: #222222;
  font-size: 14px;
  float: right;
}

/* スマホ用 */
.date_sp{
  display: none;
}

.header_text_sp{
  display: none;
}

.header_img_sp{
  display: none;
}

/* メインコンテンツラッパー */
.main_wrapper{
  width: 86%;
  height: auto;
  margin: 25px auto 20px auto;
}

/* メインコンテンツ */
.main_content{
  width: 71%;
  height: auto;
  padding-right: 2%;
  float: left;
}

.socialwrap{
  height: 40px;
  margin-bottom: 10px;
}

/* facebookいいね */
.socialwrap div{
  display: inline-block;
}

/* いいね　ツイート　横並び */
.fb_iframe_widget > span {
	vertical-align: baseline !important;
}


/* 時刻表サブメニュー */
.submenu {
  width: 100%;
  height: 45px;
  margin-bottom: 30px;
  border-bottom: 5px solid #dde8ff;
}

.submenu h2 {
  height: 40px;
  padding-top: 5px;
  font-size: 14px;
  font-weight: bold;
  line-height: 35px;
  text-align: center;
  background-color: #dde8ff;
}

.submenu p {
  height: 30px;
  margin-top: 10px;
  font-size: 13px;
  line-height: 30px;
  text-align: center;
  background-color: #eeeeee;
}

.submenu a {
  width: 23.5%;
  margin-left: 2%;
  display: block;
  color: #222222;
  text-decoration: none;
  float: left;
}

.submenu a:first-child {
  margin-left: 0;
}

/* エリア一覧テーブル */
.area_table a {
  color: #0033cc;
  text-decoration: none;
}

/* サイドバー */
.side_bar{
  width: 29%;
  height: auto;
  padding-top: 35px;
  float: left;
}

/* 右上バナー */
.banner_ur{
  width: 100%;
  height: auto;
  display: block;
}

/* h3見出し */
h3{
  height: auto;
  margin: 30px 0;
  font-size: 16px;
  font-weight: bold;
  color: #222222;
  border-bottom: 4px solid #9dc8e4;
}

/* バナーリンク */
.bnr_box{
  width: 100%;
  height: auto;
  margin-top: 50px;
}

.bnr_box a{
  display: block;
}

.bnr_box img{
  width: 46%;
  margin: 5px 2%;
  border: 1px solid #cccccc;
  display: block;
  float: left;
}

/* Googleアドセンス枠　ヘッダ */
.h_ad_box{
  width: 100%;
  margin-bottom: 10px;
  text-align: center;
}

/* Googleアドセンス枠　ページ下 */
.f_ad_box{
  width: 100%;
  margin-top: 30px;
  margin-bottom: 30px;
  text-align: center;
}

/*-- 個ページ共通 --*/
/* 時刻表メニュー */
.tt_menu {
  width: 100%;
  height: auto;
}

/* 時刻表メニューメインアイコン */
.main_tt {
  width: 25%;
  height: auto;
  margin-left: 5%;
}

/* 時刻表メニューサブアイコン */
.sub_tt {
  width: 13%;
  height: auto;
  margin-left: 5%;
}

/* 注意 */
.caution {
  color: #888888;
  font-size: 12px;
}

/* ページトップへ戻るボタン右下固定 */
.pagetop {
  width: 60px;
  height: 60px;
  color: #00008b;
  line-height: 60px;  /* heightと同じに設定 */
  text-align: center;
  text-decoration: none;
  background-color: rgba(173,200,244,0.4);
  font-size: 20px;
  position: fixed;
  bottom: 30px;
  right: 10px;
  display: block;
}

/* 時刻表トップへ戻る */
.return_top {
  width: 100%;
  height: 50px;
  margin-top: 15px;
  color: #555555;
  line-height: 50px;
  text-align: center;
  text-decoration: none;
  border: 1px solid #cccccc;
}






/*******************************************
画面横幅768px以下に適用
*******************************************/
@media screen and (max-width: 768px){
  /* レスポンシブ対応 スマホ時表示 */
  .only_sp{
    display: block;
  }
  
  /* レスポンシブ対応 スマホ時非表示 */
  .only_pc{
    display: none;
  }
  
  /* ナビゲーション上 */
  .h_box{
    width: 96%;
  }
  
  /* h1見出し */
  h1{
    margin-top: 10px;
    font-size: 3vw;
  }
  
  /* ロゴ画像 */
  .logo{
    width: 70%;
  }
  
  /* 更新日 */
  .date{
    display: none;
  }
  
  .date_sp{
    width: 100%;
    display: block;
    padding: 5px 10px;
    color: #222222;
    text-align: right;
    font-size: 18px;
    float: none;
    border-top: 2px solid #9dc8e4;
    border-bottom: 2px solid #9dc8e4;
  }
  
  .header_text_sp{
    width: 96%;
    margin: 5px auto;
    display: block;
    color: #222222;
    font-size: 18px;
  }
  
  .header_img_sp{
    width: 100%;
    margin: 10px 0;
    display: block;
  }
  
  .main_wrapper{
    width: 98%;
  }
  
  .main_content,
  .side_bar{
    width: 100%;
    margin: 0 auto;
    padding:0;
  }
  
  /* h2見出し */
  h2{
    height: 50px;
    margin-bottom: 0;
    border: none;
    line-height: 16px;
  }
  
  /* ソーシャルボタン */
  .socialwrap{
    margin-top: 30px;
    margin-bottom: 0px;
  }
  
  /* バナーリンク */
  .bnr_box{
    padding:0 5%;
    margin-top: 20px;
    margin-bottom: 20px;
  }
  
  .bnr_box img{
    width: 31%;
    margin: 5px 1%;
    border: 1px solid #cccccc;
    display: block;
    float: left;
  }
  
  .goto_tokusyu,
  .goto_pagetop{
    width: 48%;
    height: 60px;
    margin-left: 1%;
    margin-right: 1%;
    font-size: 13px;
    /*font-size: 3.5vw;*/
    color: #222222;
    float: left;
    line-height: 60px;
    text-align: center;
    border: 1px solid #ff5c26;
    border-radius: 5px;
  }
  
  .goto_toppage{
    width: 98%;
    height: 60px;
    margin: 8px 1% 15px 1%;
    font-size: 13px;
    /*font-size: 3.5vw;*/
    color: #222222;
    float: left;
    line-height: 60px;
    text-align: center;
    border: 1px solid #ff5c26;
    border-radius: 5px;
  }
  
  
  
  
  /*-- 個ページ共通 --*/
  /* 時刻表メニューメイン */
  .main_tt {
    width: 30%;
    height: auto;
    margin-left: 2%;
  }
  
  .sub_tt {
    width: 17%;
    height: auto;
    margin-left: 2%;
  }
}





/*******************************************
画面横幅1200px以上に適用
*******************************************/
@media screen and (min-width: 1200px){
  /* メインコンテンツラッパー */
  .main_wrapper{
    width: 1040px;
    height: auto;
  }
  
  /* メインコンテンツ */
  .main_content{
    width: 732px;
    height: auto;
  }
  
  /* サイドバー */
  .side_bar{
    width: 300px;
    height: auto;
  }
}













