@charset "UTF-8";

html{
    font-size: 62.5%;
    scroll-behavior: smooth;
}
body{
    color: #333;
    font-size: 3.0rem;
    font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
}
*, *::before, *::after{
    box-sizing: border-box;
}

header{
    z-index: 30;
    width: 100%;
    color: #fff;
    background-color: #fff;
    position: relative;
    top: 0;
    left: 0;
    margin-bottom: 50px;
    box-shadow: 0px 10px 10px -5px rgba(0,0,0,0.5);
}
.headbar{
    position: relative;
    width: inherit;
    height: 50px;
    background-color: #fff;
}
.home-button{
    display: block;
    position: absolute;
    left: 40px;
    top: 15px;
}
.home-button:hover{
    transition: 0.2s;
    opacity: 0.75;
}
.home-button .logo{
    position: relative;
    width: 150px;
    height: auto;
}
.global-nav{
    width: 100%;
    height: 50px;
    position: relative;
    background-color: #0f1a45;
    text-align: center;
}
.global-nav .nav-item{
    position: relative;
    display: inline-block;
    margin: 0 10px;
}
.global-nav .nav-item a{
    display: inline-block;
    width: auto;
    height: auto;
    line-height: 30px;
    position: relative;
    text-align: center;
    text-decoration: none;
    color: #fff;
    font-size: 2.0rem;
    letter-spacing: 1px;
    transform: 0.2s;
}
.global-nav .nav-item.active a{
    border-radius: 8px;
    background-color: #fff450;
    color: #0f1a45;
}
.global-nav .nav-item a:hover{
    color: #fff450;
}
.global-nav .nav-item.active a:hover{
    color: #0f1a45;
}
/* 下線のスタイル */
.global-nav .nav-item a::after {
    background-color: #fff450; /* 下線の色 */
    bottom: -4px; /* 要素の下端からの距離 */
    content: ""; /* 要素に内容を追加 */
    height: 2px; /* 下線の高さ */
    left: 0; /* 要素の左端からの距離 */
    position: absolute; /* 絶対位置指定 */
    transform: scale(0, 1); /* 下線を横方向に0倍、縦方向に1倍に変形（非表示） */
    transform-origin: left top; /* 変形の原点を左上に指定 */
    transition: transform .2s; /* 変形をアニメーション化 */
    width: 100%; /* 要素の幅 */
  }
  /* リンクにホバーした際の下線の表示 */
  .global-nav .nav-item a:hover::after {
    transform: scale(1, 1); /* 下線を横方向に1倍、縦方向に1倍に変形（表示） */
  }
  .global-nav .nav-item.active a:hover::after {
    transform: scale(0, 0); /* 下線を横方向に1倍、縦方向に1倍に変形（表示） */
  }



.header-space{
    display: block;
    position: relative;
    width: 100%;
    height: 150px;
}



.centering{
    text-align: center;
}



.hidden{
    display: none;
}



.page-top-button{
    display: block;
    position: fixed;
    right: 30px;
    bottom: 30px;
    box-shadow: 0px 0px 8px 10px rgba(0,0,0,0.15);
    color: #fff450;
    text-decoration: none;
    background-color: #0f1a45;
    border-radius: 50%;
    text-align: center;
    width: 50px;
    height: 50px;
    transition: 0.2s;
}
.page-top-button:hover{
    color: #0f1a45;
    background-color: #fff450;
}



main{
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    text-decoration: none;
}
main a{
    text-decoration: none;
}
section{
    margin-bottom: 100px;
}
h1{
    font-size: 3.6rem;
    margin-top: 30px;
    margin-bottom: 30px;
    border-bottom: #000 solid 1px;
    width: 100%;
}
h2{
    text-decoration: none;
    font-size: 2.8rem;
    border-left: #0f1a45 solid 5px;
    padding-left: 7px;
}
hr{
    width: 100%;
}
p{
    font-size: 1.8rem;
}
th{
    font-size: 1.8rem;
}
tr{
    font-size: 1.8rem;
}
td{
    font-size: 1.8rem;
}
.clearfix::after{
    content: "";
    display: block;
    clear: both;
}



.breadcrumb{
    display: block;
    position: relative;
    margin-bottom: 50px;
}
.breadcrumb ul{
    font-size: 1.2rem;
    list-style: none;
    padding-left: 0;
}
.breadcrumb .breadcrumb-item{
    display: inline-block;
    width: auto;
}
.breadcrumb .breadcrumb-item a{
    position: relative;
    color: inherit;
    width: auto;
    text-decoration: none;
}
.breadcrumb .breadcrumb-item a:hover{
    color: blue;
}
.breadcrumb li:not(:last-child)::after{
    content: ">";
    margin-left: 0.5em;
}
/* 下線のスタイル */
.breadcrumb .breadcrumb-item a::after {
    background-color: blue; /* 下線の色 */
    bottom: 0px; /* 要素の下端からの距離 */
    content: ""; /* 要素に内容を追加 */
    height: 1px; /* 下線の高さ */
    left: 0; /* 要素の左端からの距離 */
    position: absolute; /* 絶対位置指定 */
    transform: scale(0, 1); /* 下線を横方向に0倍、縦方向に1倍に変形（非表示） */
    transform-origin: left top; /* 変形の原点を左上に指定 */
    transition: transform .2s; /* 変形をアニメーション化 */
    width: 100%; /* 要素の幅 */
}
  /* リンクにホバーした際の下線の表示 */
.breadcrumb .breadcrumb-item a:hover::after {
    transform: scale(1, 1); /* 下線を横方向に1倍、縦方向に1倍に変形（表示） */
}



.box-item{
    position: relative;
    float: left;
    display: block;
    width: 315px;
    height: 250px;
    border-radius: 10%;
    margin-right: 30px;
    margin-bottom: 30px;
    padding: 130px 15px 0;
    box-shadow: 0px 0px 8px 2px rgba(0,0,0,0.15);
    transition: 0.2s;
}
.box-item:hover{
    box-shadow: 0px 0px 12px 8px rgba(0,0,0,0.15);
}
.box-item .title{
    margin-top: 30px;
    color: #555;
    font-size: 2.0rem;
    line-height: 1.6;
    text-decoration: inherit;
    border: none;
    transition: 0.2s;
}

.head{
    position: relative;
    aspect-ratio: 4/1;
    width: 100%;
    height: auto;
    text-align: center;
    margin-bottom: 30px;
}
.head .top-text{
    position: absolute;
    left: 50%;
    top: 20%;
    color: #ffffef;
    font-size: 4.0rem;
    background-color: rgba(0,0,0,0.8);
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}
.head .top-img{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
}
.head .model{
    position: absolute;
    right: 10px;
    bottom: 5px;
    font-size: 1.2rem;
    background-color: black;
    color: white;
}

.news{
    padding: 10px;
    width: 100%;
    height: 300px;
    background-color: skyblue;
}
.others{
    padding: 10px;
    width: 100%;
}
.topic{
    margin-left: 10px;
}



#fare table{
    display: inline-block;
    border-collapse: collapse;
    margin-left: 20px;
    margin-right: 20px;
}
#fare table .content-name th{
    padding: 10px 20px;
    text-align: center;
    background-color: #0f1a45;
    border: #000 solid 1px;
    color: #fff;
}
#fare table tr th{
    padding: 10px 20px;
    text-align: center;
    background-color: #eee;
    border: #000 solid 1px;
}
#fare table tr td{
    padding: 10px 10px;
    text-align: center;
    border: #000 solid 1px;
}



#transfer-searchbox{
    text-align: center;
}
form{
    display: inline-block;
}
#transfer-searchbox table{
    border-collapse: collapse;
    margin-bottom: 20px;
}
#transfer-searchbox th{
    height: 50px;
    background-color: #0f1a45;
    border: #000 2px solid;
    color: #fff;
    padding: 10px;
    font-size: 2.5rem;
    margin-bottom: 15px;
}
#transfer-searchbox td{
    height: 50px;
    border: #000 2px solid;
    margin-bottom: 15px;
}
#transfer-searchbox td input{
    height: 100%;
    width: 100%;
    font-size: 2.5rem;
}
#go{
    width: 150px;
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    background-color: #008000;
    color: #fff;
    margin-bottom: 30px;
}
#same-alert, #dep-none-alert, #arr-none-alert{
    font-size: 2.2rem;
    color: #f00;
    margin-bottom: 10px;
}



#result-container{
    text-align: center;
    display: block;
}
#result-area{
    display: inline-block;
    text-align: center;
    border: #000 1px solid;
    width: 500px;
    padding: 10px;
}
#result-area h2{
    display: inline-block;
    text-align: center;
    border: none;
    font-size: 2.5rem;
    width: 100%;
    background-color: #aaa;
}
#result-area table#start-goal{
    display: inline-block;
    text-align: center;
    border-collapse: collapse;
}
#start-goal th{
    border: none;
    font-size: 2.2rem;
    font-weight: bold;
    padding: 0;
}
#start-goal th.left{
    text-align: center;
    width: 120px;
}
#start-goal th.center{
    text-align: center;
    width: 60px;
}
#start-goal th.right{
    text-align: center;
    width: 120px;
}



#commuter-pass table{
    border-collapse: collapse;
    display: inline-block;
}
#commuter-pass table tr th{
    padding: 10px 20px;
    text-align: center;
    background-color: #E0ECFF;
    border: #000 solid 1px;
}
#commuter-pass table tr td{
    padding: 10px 20px;
    text-align: left;
    border: #000 solid 1px;
}





footer{
    background-color: #0f1a45;
    color: #fff;
    font-size: 1.2rem;
    text-align: center;
    border-top: #fff450 10px solid;
    border-bottom: 10px solid #fff450;
}
.footer-desc{
    font-size: inherit;
}