@charset "utf-8";

* {
        font-size: 1rem;
}

body{
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        overflow-x: hidden; 
}

.bus-header .hojyo{
        margin-left: 0px
}

.bus-nav-li {
          width: 150px;
          
          text-align: center;
          border-radius: 15px;
          
}

.bus-nav-li a {
          text-decoration: none;
          line-height: 3;
          font-size: .8rem;
          display: block;
          color: #000;
          background-color: #fff;
}
.bus-nav1 a {
          border: 2px solid #FF8C00;
}
.bus-nav1 a:hover {
          background-color: #FFE4CC;
}
.bus-nav2 a {
          border: 2px solid #C41E3A;
}
.bus-nav2 a:hover {
          background-color: #FFD6DD;
}
.bus-nav3 a {
          border: 2px solid #7CB342;
}
.bus-nav3 a:hover {
          background-color: #E8F5E0;
}
.bus-nav4 a {
          border: 2px solid #1976D2;
}
.bus-nav4 a:hover {
          background-color: #D6E9F8;
}
.bus-nav5 a {
          border: 2px solid #7B1FA2;
}
.bus-nav5 a:hover {
          background-color: #EDE7F6;
}
.bus-nav6 a {
          border: 2px solid #9E9D24;
}
.bus-nav6 a:hover {
          background-color: #F9FBE7;
}
    
@media screen and (min-width:1080px) {
        .bus-nav .bus-nav-wrapper{
             display: none;
     }
}

@media screen and (max-width:1080px) {
        
　　　　.bus-nav .bus-nav-wrapper {
  　　　　background-color: #f0f0f0;
  　　　　border: 1px solid #ccc;
  　　　　padding: 15px;
  　　　　text-align: center;
  　　　　transition: background-color 0.3s;
　　　　}

　　　　.bus-nav div:hover {
  　　　　background-color: #e0e0e0;
　　　　}

　　　　.bus-nav a {
  　　　　text-decoration: none;
  　　　　color: #333;
  　　　　font-weight: bold;
  　　　　display: block;
　　　　}

　　　　.bus-nav a:hover {
  　　　　color: #0066cc;
　　　　}           
　　}
　　　　




/* グローバルナビ */
#top_search_bus {
        background: #fff;
        max-width: 1080px;
        margin: 0 auto;
}

@media screen and (max-width:1079px){
       #top_search_bus {
             display: none;
       }
}

/*#top_search_bus .gnav ul li {
        border-bottom: 2px solid transparent;
}*/

/*.notpage-u-ver {
        border-bottom: 2px solid transparent; 
}*/

.nowpage-u-ver {
        /*border-bottom: 2px solid yellow;*/
        /*z-index: 2;*/
}

#top_search_bus .gnav ul li:hover {
        border-bottom: 2px solid yellow; 
        transition: 0.3s;
}




#bus-main {
        width:100%;
}

/* 背景セクション */
.bus-green-bg {
  background: url("/img/bus-img/bus-greenbg.jpg");
  /*max-width: 1440px;*/
  margin: 30px auto 0 auto;
  padding: 40px 20px;
  
}

/* ボタンコンテナ */
.bus-green-bg .bus-green-btn {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 4%;
  }

/* 各ボタン */
.bus-green-bg .bus-green-bg-btn {
  width: 40%;
  background: #ffffff;
  border-radius: 20px;
  padding: 30px 25px;
  display: flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ホバーエフェクト */
.bus-green-bg .bus-green-bg-btn:hover {
  transform: translateY(4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  border-bottom: 4px solid transparent;
  transition: 0.3s;
}

/* 乗り換え案内ボタン(オレンジアクセント) */
.bus-green-bg .bus-green-bg-btn1 {
  border-bottom: 4px solid #f2b022;
}

/* 位置情報ボタン(ピンクアクセント) */
.bus-green-bg .bus-green-bg-btn2 {
  border-bottom: 4px solid #ff81c5;
}

/* アイコン部分 */
.bus-green-bg .icon {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bus-green-bg .icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* テキスト部分 */
.bus-green-bg .bus-green-bg-flex {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}

.bus-green-bg .text {
  font-size: 1.2rem;
  font-weight: bold;
  color: #333333;
  line-height: 1.3;
}

.bus-green-bg .text-en {
  font-size: 0.8rem;
  color: #666666;
  line-height: 1.4;
}

/* タブレット対応 */
@media screen and (max-width: 768px) {
  .bus-green-bg {
    padding: 30px 15px;
  }
  
  .bus-green-bg .bus-green-btn {
    gap: 20px;
  }
  
  .bus-green-bg .bus-green-bg-btn {
    width: 100%;
    padding: 25px 20px;
  }
  
  .bus-green-bg .icon {
    width: 60px;
    height: 60px;
  }
  
  .bus-green-bg .text {
    font-size: 1.2rem;
  }
  
  .bus-green-bg .text-en {
    font-size: 0.8rem;
  }
}

/* スマホ対応 */
@media screen and (max-width: 480px) {
    
  .bus-green-bg .bus-green-bg-btn {
    padding: 10px 0 10px 10px;
    gap: 0px;
    width: 160px;
  }
  
  .bus-green-bg .icon {
    width: 50px;
    height: 50px;
  }

  .bus-green-bg .icon img {
    width: 80%;
    height: 80%;
  }
  
  .bus-green-bg .text {
    font-size: 1rem;
    
  }
  
  .bus-green-bg .text-en {
    font-size: 0.7rem;
    
  }
}

/* map-section */
.map-section {
    background-color: #e6f5c8;
    width: 100%;
    /*max-width: 1480px;*/
    margin: 0 auto;
}



.map-wrapper {
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    padding: 20px 0;
　　align-items: stretch;
}

.map-left {
    flex: 0 0 280px;
    padding: 10px;
    background-color: #8cbb2d;
    border-radius: 20px 0 0 20px;
}

.map-left2 {
    flex: 0 0 210px;
    padding: 10px;
    background-color: #8cbb2d;
    border-radius: 20px 0 0 20px;
}

.route-title {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    text-align: center;
    margin: 0 0 10px 0; 
}

.route-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.route-item {
    margin-bottom: 8px;
    border-radius: 30px;
    overflow: hidden;
}

.route-link {
    display: flex;
    align-items: center;
    padding: 0 10px;
    background-color: #f8f8f8;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
}

.route-link:hover {
    background-color: yellow;
    color: #000;
    
}

.route-icon {
    width: 32px;
    height: 32px;
    margin-right: 6px;
    flex-shrink: 0;
}

.route-name {
    font-weight: 500;
    color: #333;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

@media screen and (max-width: 1080px) {
    .route-name {
        font-size: 0.7rem;
}
}

.route-link:hover .route-name {
    color: #333;
}

/* 全体路線図用 */
.route-item.route-all-map .route-link {
    justify-content: center;
    height: 32px;
}

.route-link-full {
    justify-content: center;
}

.route-name-full {
    font-weight: bold;
    color: #333;
    transition: color 0.3s ease;
}

.route-link:hover .route-name-full {
    color: #000;
}

/* レスポンシブ対応 */
@media (max-width: 1080px) {
    .map-wrapper {
        flex-direction: column;
    }
    
    .map-left {
        /*width: 100%;*/
        padding: 20px 15px;
        width: calc(100% - 30px);
    }

    .map-left2 {
        padding: 20px 15px;
    }
    
    .route-link {
        padding: 10px 12px;
    }
    
    .route-icon {
        width: 28px;
        height: 28px;
    }
    
    }

.map-right {
    flex: 1;
    display: flex;
    align-items: center;
    width: 100%:
    height: auto;
}

.map-right2 {
    flex: 1;
    display: flex;
    align-items: center;
    width: 100%:
    height: auto;
}

.map-right img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0 20px 20px 0;
}

.map-right2 img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0 20px 20px 0;
}

/* レスポンシブ対応 */
@media (max-width: 1080px) {
    .map-right img,
    .map-left {
        border-radius: 0;
    }

    .map-right2 img,
    .map-left2 {
        border-radius: 0;
    }

    .map-wrapper {
        flex-direction: column;
    }
    
    .map-left {
        /*width: 100%;*/
        /*padding: 20px 15px;*/
    }
    .map-left2 {
        padding: 20px 15px;
    }
    
    /* 運行ルートリストを複数列表示 */
    .route-list {
        /*display: flex;
        flex-wrap: wrap;
        gap: 8px;*/
    }
    
    .route-item {
        /*flex: 0 0 calc(50% - 4px);*/
        margin-bottom: 10px;
    }
    
    .route-link {
        width: 100%;
        box-sizing: border-box;
        padding: 0 10px;
    }
    .route-name {
        font-size: 1rem;
    }
    
    .map-right {
        width: 100%;
    }
    .map-right2 {
        width: 100%;
    }
}



/* お知らせ */
.bus-section_information {
        width: 100%;
        margin: 50px auto 100px auto;
        max-width: 800px;
}

.bus-oshirase-ttl {
        display: flex;
        justify-content: flex-start;
}
.bus-oshirase-h2 span{
        color: #008fcb;
        font-size: 1.5rem;
        margin-right: 20px;
}
.bus-oshirase-h3 {
        margin-top: 22px;
}
.bus-oshirase-h3 span{
        color: #008fcb;
        font-size: .7rem;
}

.no_data {
        font-size:1rem;
}

@media screen and (max-width: 1080px) {
       .bus-section_information {
              width: 90%;
       }
}

/*--- これよりフッター ---*/
.bus-footer-wrapper {
      /*width: 1080px;*/
      background-color: #dbf0fa;
      margin: 0 auto;
      padding: 30px;
}

@media screen and (max-width: 1080px) {
      .bus-footer-wrapper {
      width: 100%;
      background-color: #dbf0fa;
      margin: 0 auto;
      padding: 30px 0;
}
}

.bus-footer-container {
      width: 90%;
      max-width: 1080px;
      margin: 0 auto;
      
}

.footer-img-zone {
      display: flex;
      flex-direction: row;
}
@media screen and (max-width: 480px) {
      .footer-img-zone {
           display: flex;
           flex-direction: column;
}
}



.bus-footer-img-contact {
      padding: 0 10px;
      border-radius: 30px;
      background-color: #008fcb;
      color: #fff;
      margin-left: 20px;
      line-height: 2.5;
      font-size: 1rem;
      text-align: center;
}      

@media screen and (max-width: 480px) {
      .bus-footer-img-contact{
             margin:10px 0 0 0;
             width:200px
}
      .footer-content {
             padding: 1rem;
}
}

.footer-content p {
       font-size: 1rem;
       letter-spacing: 0.1rem;
}

.bus-footer-navi {
      display: flex;
      justify-content: center;
      padding: 0;
      margin-bottom: 20px;
}

@media screen and (max-width: 767px) {
      .bus-footer-navi {
                 flex-direction: column;
                 margin-bottom: 20px;
}
      .bus-footer-li a {
                 border-right: none;
}
}

.bus-footer-li {
      list-style-type: none;
}

.bus-footer-li a {
      display: block;
      line-height: 2;
      color: #008fcb;
      padding: 0 16px;
      text-decoration: none;
      font-size: 1rem;
}

@media screen and (min-width: 768px) {
.bus-footer-li:first-child a {
      border-left: 1px solid #000;
}
.bus-footer-li a {
      border-right: 1px solid #000;
}
}

.bus-copylight {
      text-align: center;
      font-size: 0.6rem; 
}

.bus-stop-list {
      display: flex;
      flex-wrap: wrap;
}

.bus-stop-list-ttl {
      padding: 0 10px;
      background-color: #8cbb2d;
      height: 2.2rem;
      margin-right: 10px;
      line-height: 2.3;
      border-radius: 10px;
      color: #fff;
}

@media screen and (max-width: 1080px) {
      .bus-stop-list-ttl {
             /*height: 2.9rem;*/
             line-height: 2.1;
}
}

.bus-stop a {
      display: block;
      text-decoration: none;
      color: #333;
      background-color: #fff;
      border: 1px solid #8cbb2d;
      padding: 5px 10px;
      margin: 0 5px 5px 0;
      border-radius: 10px;
}

.bus-stop a:hover {
      background-color: #e6f5c8;
      transition: 0.3s;
}

.bus-ttl {
      color: #fff;
      font-size: 1.5rem;
      font-weight: 700;
      letter-spacing: .15rem;
}

.bus-h1 {
      border-left: 10px solid #8cbb2c;
      background-color: #e8f5d8;
      padding: 10px 0 10px 30px;
      margin-bottom: 0;
      color: #000;
      letter-spacing: 0.2rem;
      font-size: 1.5rem;
}



/*--add20251226 ono--*/
/*:is(.bus1 li:nth-of-type(1) a, .bus2 li:nth-of-type(2) a, .bus3 li:nth-of-type(3) a,.bus4 li:nth-of-type(4) a,.bus5 li:nth-of-type(5) a,.bus6 li:nth-of-type(6) a,.bus7 li:nth-of-type(7) a,.bus8 li:nth-of-type(8) a,.bus9 li:nth-of-type(9) a,.bus10 li:nth-of-type(10) a,.bus11 li:nth-of-type(11) a,.bus12 li:nth-of-type(12) a,.bus13 li:nth-of-type(13) a,.bus14 li:nth-of-type(14) a), */
a.bus_crt { background-color: yellow; color: #000; }