@charset "utf-8";

#fv {
  background-image: url(../img/station_fv.webp);
}

@media (max-width: 519px) {
  #fv {
    background-image: url(../img/station_fv_sp.webp);
    height: 180px;
  }
}

#station {
  max-width: 1240px;
  padding-top: 70px;
  padding-bottom: 40px;
  overflow-x: hidden;
}

@media (max-width: 519px) {
  #station {
    padding-top: 40px;
  }
}

#station .map {
  height: 320px;
}

.item {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  color: #000;
  margin-top: 100px;
  -moz-column-gap: 20px;
  -webkit-column-gap: 20px;
  column-gap: 20px;
}

#station .scroll-progress {
  display: flex;
  align-items: center;
  -moz-column-gap: 10px;
  -webkit-column-gap: 10px;
  column-gap: 10px;
  margin-top: 10px;
  margin-left: -20px;
}

#station .scroll-progress .bar {
  display: block;
  position: relative;
  width: 70px;
  height: 2px;
  background: #D3CBC9;
}

#station .scroll-progress .val {
  display: block;
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 20px;
  background: #8A2222;
}

@media (max-width: 519px) {
  #station .map {
  }

  .item {
    margin-top: 60px;
  }
}

.item .text {
  width: 41%;
  position: relative;
}

.item .text::after {
  content: '';
  display: block;
  width: 182px;
  height: 151px;
  position: absolute;
  top: -60px;
  right: -50px;
  background: center / contain url(../img/station_tit_deco.png) no-repeat;
}

.item .ttl {
  font-size: 24px;
  border-bottom: 1px solid #D1CAC4;
  padding-bottom: 16px;
  margin-bottom: 16px;
  width: 80%;
  letter-spacing: 1.5px;
}

.table1 {
  font-family: var(--gothic);
  font-size: 15px;
  width: 100%;
  margin-bottom: 20px;
}

.table1 th {
  font-weight: normal;
  border-right: 1px solid #CFCABF;
  width: 80px;
}

.table1 th,
.table1 td {
  padding: 8px;
  border-top: 1px solid #CFCABF;
  background: #fff;
}

.table1 tr:last-child th,
.table1 tr:last-child td {
  border-bottom: 1px solid #CFCABF;
}

.table1 td a {
  color: #8A2222;
  text-decoration: underline;
}
.table1 td a:hover {
  text-decoration: none;
}

@media (max-width: 519px) {
  .table1 th {
    display: block;
    width: 100%;
    font-weight: bold;
    padding: 20px 20px 0 20px;
    border: none;
  }

  .table1 td {
    display: block;
    border: none;
    padding: 0 20px;
  }

  .table1 tr:first-child th {
    border-top: 1px solid #CFCABF;
  }

  .table1 tr:last-child th {
    border: none;
  }

  .table1 tr:last-child > td {
    padding-bottom: 20px;
  }
}

.item p {
  line-height: 1.8;
  letter-spacing: 1.5px;
  /* margin: 20px 0; */
}

.item .note {
  font-size: 14px;
  line-height: 1.6;
}

.item .links {
  display: flex;
  -moz-column-gap: 20px;
  -webkit-column-gap: 20px;
  column-gap: 20px;
  row-gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}

@media (max-width: 519px) {
  .item .links {
    row-gap: 10px;
  }
}

.item .btn.spot {
  color: #B39E54;
  background-color: #fff;
  border: 1px solid #B39E54;
}

.item .btn.arr.spot::after {
  border-color: #B39E54;
}

.item .btn.spot::before {
  background-color: #B39E54;
}

.item .btn.spot:hover {
  color: #fff;
}

.item .btn.arr.spot:hover::after {
  border-color: #fff;
}

.item .img img {
  max-width: 100%;
}

@media (max-width: 959px) {
  .item {
    flex-direction: column;
    align-items: center;
    row-gap: 20px;
  }

  .item .text {
    width: 100%;
  }
}

.item .img .mark {
  margin-top: 10px;
}

.item .img .mark .inner {
  display: inline-block;
  padding: 10px;
  background: #fff;
}

#station_detail {
  padding-bottom: 40px;
  overflow-x: hidden;
}

#station_detail .info {
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
  margin-bottom: 40px;
}

#station_detail .info .text {
  width: 53%;
}

#station_detail .info .map {
  width: 41%;
}

#station_detail .info .ttl {
  font-size: 24px;
  margin-bottom: 10px;
}

#station_detail .info .box {
  border: 1px solid #CAAC69;
  padding: 15px 15px 10px 15px;
  display: inline-block;
}

#station_detail .info .box .ttl {
  text-align: center;
  color: #CAAC69;
  font-size: 16px;
  font-weight: bold;
}

#station_detail .info .box .note {
  text-align: right;
  font-size: 12px;
}

#station_detail .info .box .remarks {
  margin-top: 10px;
  font-size: 14px;
}

#station_detail .info .box th {
  font-weight: bold;
  width: auto;
}

#station_detail .info .box th,
#station_detail .info .box td {
  border: none;
}

#station_detail .info .map .gmap {
  padding-top: 75%;
}

@media (max-width: 959px) {
  #station_detail .info {
    flex-direction: column;
    align-items: center;
    padding-bottom: 30px;
    margin-bottom: 0;
  }

  #station_detail .info .text,
  #station_detail .info .map {
    width: 100%;
  }

  #station_detail .info .map .gmap {
    padding-top: 50%;
  }
}

@media (max-width: 519px) {
  #station_detail .info .map .gmap {
    padding-top: 75%;
  }

  #station_detail .item {
    margin-top: 50px;
  }

  #station_detail .info .box {
    margin-top: 8px;
    padding: 15px 20px;
    display: block;
  }

  .box table {
    width: 100%;
  }

  .box table th,
  .box table td {
    display: table-cell;
    padding: 4px 8px 4px 0;
    max-width: 33%;
  }

  .box table td:last-child {
    padding-right: 0;
    padding-bottom: 4px;
  }

  #station_detail .info .box .note {
    text-align: left;
  }
}

#recommend {
  padding: 100px 0;
  background-image: url(../img/bg_jpaper50_t.png), url(../img/bg_jpaper50_b.png), linear-gradient(to bottom, transparent 40px, rgba(209, 202, 196, 0.5) 40px, rgba(209, 202, 196, 0.5) calc(100% - 40px), transparent calc(100% - 40px));
  background-repeat: repeat-x;
  background-position: top center, bottom center, left center;
}

#recommend .spot {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  -moz-column-gap: 20px;
  -webkit-column-gap: 20px;
  column-gap: 20px;
}

#recommend .spot:nth-child(2n+1) {
  flex-direction: row-reverse;
}

#recommend .spot + .spot {
  margin-top: 40px;
}

#recommend .spot .text {
  width: 41%;
}

#recommend .spot .text p {
  letter-spacing: 1.5px;
  line-height: 1.8;
}

#recommend .ttl {
  font-size: 50px;
  color: #8A2222;
  line-height: 1.25;
  letter-spacing: 1.5px;
}

#recommend .ttl .en {
  font-size: 15px;
  color: #000000;
}
html[lang="en"] #recommend .ttl .en {
  display: none;
}

#recommend .subttl {
  font-size: 24px;
  margin: 20px 0;
}

#recommend .spot .link {
  margin-top: 38px;
}

#recommend .spot .img {
  margin-left: 0;
  margin-right: -1%;
}

#recommend .spot:nth-child(2n+1) .img {
  margin-left: -1%;
  margin-right: 0;
}

#recommend .spot .img img {
  max-width: 100%;
}

@media (max-width: 959px) {

  #recommend .spot,
  #recommend .spot:nth-child(2n+1) {
    flex-direction: column;
  }

  #recommend .spot .text {
    width: 100%;
  }

  #recommend .ttl {
    font-size: 34px;
    text-align: center;
  }

  #recommend .spot .link {
    margin-top: 19px;
  }
}

@media (max-width: 519px) {
  #recommend {
    padding: 70px 0 60px;
  }

  #recommend .subttl {
    font-size: 22px;
    margin: 20px 0 10px;
  }

  #recommend .spot .link {
    margin-top: 10px;
    margin-bottom: 10px;
  }

  #recommend .spot + .spot {
    margin-top: 20px;
  }
}

#train,
#car {
  margin-top: 80px;
}

#train .ttl,
#car .ttl {
  font-size: 32px;
  color: #8A2222;
  display: flex;
  align-items: center;
  justify-content: center;
  -moz-column-gap: 10px;
  -webkit-column-gap: 10px;
  column-gap: 10px;
  margin-bottom: 40px;
  letter-spacing: 1.5px;
}

#train .ttl::before,
#car .ttl::before {
  content: '';
  display: block;
  width: 30px;
  height: 30px;
  background: center / contain url(../img/station_train_ico.png) no-repeat;
}

#car .ttl::before {
  background-image: url(../img/station_car_ico.png);
}

#station_detail .routes {
  display: flex;
  justify-content: space-between;
  -moz-column-gap: 20px;
  -webkit-column-gap: 20px;
  column-gap: 20px;
}

@media (max-width: 959px) {

  #train,
  #car {
    margin-top: 40px;
  }

  #station_detail .routes {
    flex-direction: column;
    row-gap: 30px;
  }
}

@media (max-width: 959px) {

  #train .ttl,
  #car .ttl {
    font-size: 28px;
    margin-bottom: 20px;
  }
}

@media (max-width: 519px) {

  #train .ttl,
  #car .ttl {
    font-size: 24px;
    line-height: 1.2;
  }
}

#station_detail .route {
  text-align: center;
}

#station_detail .route h4 {
  font-size: 20px;
  color: #000;
  margin-bottom: 8px;
}

#station_detail .route h4 .sub {
  font-size: 14px;
}

#station_detail .route .head {
  height: 84px;
}

#station_detail .route .head a {
  color: #8A2222;
  border-bottom: 1px solid #8A2222;
  padding-bottom: 8px;
}

#station_detail .route .head a::after {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  background: center / contain url(../img/icon_open-new-window.svg) no-repeat;
  vertical-align: middle;
  margin-left: 4px;
}

#station_detail .route .summary {
  background: #333333;
  color: #fff;
  font-weight: bold;
  font-size: 17px;
  font-family: var(--gothic);
  padding: 10px 30px;
  margin-bottom: 20px;
}

#station_detail .route .summary .time {
  color: #e2d6aa;
}

#station_detail .route .img img {
  max-width: 100%;
}

#car .img {
  text-align: center;
}

#car .img img {
  max-width: 100%;
}

@media (max-width: 959px) {
  #station_detail .route .summary {
    position: relative;
    padding-bottom: 30px;
    cursor: pointer;
  }

  #station_detail .route .summary::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
    margin: auto;
    display: block;
    width: 20px;
    height: 20px;
    background: center / contain url(../img/ico_arr_d.svg) no-repeat;
  }

  #station_detail .route .summary.open::after {
    background-image: url(../img/ico_arr_u.svg);
  }

  #station_detail .route .summary + .img {
    display: none;
  }
}

@media (max-width: 519px) {
  #station_detail .route .summary {
    padding: 10px 10px 30px;
  }

  #station_detail.saga .route:nth-child(2) .head {
    height: auto;
  }
}


#fv.saga {
  background-image: url(../img/station_saga_fv.webp);
}

@media (max-width: 519px) {
  #fv.saga {
    background-image: url(../img/station_saga_fv_sp.webp);
    height: 180px;
  }
}

#fv.arashiyama {
  background-image: url(../img/station_arashiyama_fv.webp);
}

@media (max-width: 519px) {
  #fv.arashiyama {
    background-image: url(../img/station_arashiyama_fv_sp.webp);
    height: 180px;
  }
}

#fv.hodukyo {
  background-image: url(../img/station_hodu_fv.webp);
}

@media (max-width: 519px) {
  #fv.hodukyo {
    background-image: url(../img/station_hodu_fv_sp.webp);
    height: 180px;
  }
}

#fv.kameoka {
  background-image: url(../img/station_kameoka_fv.webp);
}

@media (max-width: 519px) {
  #fv.kameoka {
    background-image: url(../img/station_kameoka_fv_sp.webp);
    height: 180px;
  }
}

#station_detail .item .em {
  font-size: 18px;
  color: #8A2222;
  margin-top: 16px;
}

#station_detail.kameoka .routes {
  justify-content: center;
}
