/* Google Fontsから読み込み */
@import url('https://fonts.google.com/');


.section-title {
 font-family: 'Bitcount Prop Single Ink' ;
 font-size: 3rem;
 font-weight: bold;
 letter-spacing: 1px;
 color: #023b5a;
 margin-bottom: 10px;
 text-align: left;
 width: 100%;
}


/* 既存の .access-section に flex を適用する場合 */
.access-section {
 display: flex;
 flex-wrap: wrap; /* タイトルを上に置くため */
 gap: 30px;
 max-width: 1300px;
 margin: auto auto;
 padding: 10px;
}


.section-title {
 flex-basis: 100%; /* タイトルを横幅いっぱいに */
}




.left-box {
 flex: 3;
 display: flex;
 flex-direction: column;
 gap: 30px;
}


.address-box {
 display: flex;
 justify-content: space-between; /* 左に住所、右にボタン */
 align-items: center;
 background: #fafafa;
 padding: 20px 20px;
 border-radius: 8px;
 box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}


.address-text h2 {
 margin: 0 0 5px;
 font-size: 1.1rem;
}


.map-button {
 display: inline-block;
 padding: 8px 16px;
 background: #023b5a;
 color: #fff;
 text-decoration: none;
 border-radius: 4px;
 transition: 0.3s;
 white-space: nowrap;
}
.map-button:hover {
 background: #023e8a;
}


.right-box {
 flex: 1;
 padding: 20px;
 border-radius: 8px;
}


.access-list {
 display: flex;
 flex-direction: column;
 gap: 50px;
}


.access-item {
 padding-left: 15px;              /* ラインとテキストの間隔 */
 border-left: 1.5px solid #7f7f80c7;  /* 左にラインを引く */
}


.station {
 font-size: 1.3rem;
 margin-bottom: 4px;
}


.time {
 font-size: 0.8rem;
 color: #555;
}



/* スマホ対応 */
@media (max-width: 768px) {
  .access-section {
    display: flex;
    flex-direction: column; /* 横並びを縦並びに */
    align-items: stretch;
    gap: 20px;
    padding: 15px;
    max-width: 100%;       /* はみ出し防止 */
    box-sizing: border-box;
  }

  .left-box,
  .right-box {
    width: 100% !important;
    flex: none !important;
    margin: 0;
    padding: 0;
  }

  .section-title {
    width: 100%;
    margin-bottom: 15px;
    text-align: left;
  }

  .address-box {
    width: 100%;
    flex-direction: column; /* 住所とボタンも縦並び */
    align-items: flex-start;
    gap: 10px;
    box-sizing: border-box;
  }

  .map-button {
    width: 100%;          /* ボタンも横幅いっぱい */
    text-align: center;
    white-space: normal;  /* 折り返し可能に */
  }

  .access-list {
    flex-direction: column;
    width: 100%;
    gap: 20px;
  }
}




