@charset "utf-8";

/**
 *
 *  ページ用CSS
 *　location
 * 
 */

/*--------------------------------------------------------------------------
   Overwright
---------------------------------------------------------------------------*/
.page-ttl{
	background-image: url(../img/location/img_pagetitle_pc.jpg);	
}	



/*--------------------------------------------------------------------------
   Content
---------------------------------------------------------------------------*/

.pic{
  position: relative;
}

/* access
-----------------------------------------------------------------*/
.access{
  padding: 100px 0 220px;
  scroll-margin-top: 50px;
  display: grid;
  gap: 160px;
  .sec-hd{
    margin-bottom: 80px;
  }
  .a-route-map{
    @media screen and (min-width: 769px) {
      max-width: 1040px;
      margin-inline: auto;
    }
    padding: 0 20px;
  }

  .a-train{
    h3{
      font-size: 2.4rem;
      color: var(--gold);
      margin-bottom: 20px;
    }
    .layout-box{
      display: grid;
      gap: 100px;
    }
    .route{
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      grid-row-columns: repeat(2, auto);
      align-items: start;
      gap: 60px 40px;
      .route-box{
        display: flex;
        padding: 10px 0 10px 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
        border-left: 1px solid var(--gold);
      }
      dl{
        display: grid;
        gap: 14px;
        h4{
          font-size: 2.2rem;
          line-height: 1;
          color: var(--gold);
        }
        .route-item{
          dt{
            font-size: 2rem;
            line-height: 1;
          }
          dd{
            font-size: 3.8rem;
            margin-left: -0.55em;
            span{
              font-size: 3rem;
              line-height: 1;
              &:first-child{
                margin-left: -0.3em;
              }
            }
            strong{
              font-size: 6rem;
              padding-left: 1rem;
              line-height: 70%;
            }
          }
          small{
            font-size: 1.1rem;
            display: block;
            margin-top: 1rem;
          }
          .bar{
            display: inline-block;
            font-size: 1.4rem;
            color: #fff;
            padding: 6px 12px;
            background: var(--gold);
            border-radius: 4px;
            margin-top: 0.8rem;
          }
        }
      }
    }
  }
  .merit{
    ul{
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 50px;
      li{
        display: grid;
        gap: 20px;
        p{
          line-height: 2;
        }
      }
    }
  }

  .a-bus{
    display: grid;
    gap: 20px;
    .layout-box{
      display: grid;
      grid-template-columns: repeat(2, auto);
      justify-content: space-between;
      gap: 10px;
      padding: 40px 60px;
      border-radius: 4px;
      background: var(--lightgold);
      .txt-area{
        display: grid;
        gap: 30px;
        h3{
          font-size: 3rem;
        }
        p{
          font-size: 1.8rem;
          line-height: 2;
        }
      }
      .route{
        display: grid;
        dt{
          display: flex;
          align-items: center;
          color: var(--gold);
          font-size: 2.4rem;
          padding-left: 14px;
          border-left: 3px solid var(--gold);
        }
        dd{
          display: grid;
          grid-template-columns: 1fr 34px 1fr;
          align-items: center;
          place-items: center;
          gap: 10px;
          div{
            display: flex;
            width: 140px;
            height: 140px;
            padding-top: 6px;
            color: #40210F;
            font-weight: 500;
            text-align: center;
            justify-content: center;
            align-items: center;
            gap: 10px;
            aspect-ratio: 1/1;
            border-radius: 80px;
            border: 1px solid var(--gold);
          }
          span{
            width: 100%;
            height: 12px;
            background: url(../img/location/ico_arw_schedule.svg) no-repeat center center;
          }
        }
      }
    }
    .note{
      text-align: right;
    }
  }
}


/* location
-----------------------------------------------------------------*/

.location{
  padding: 160px 0 60px;
  scroll-margin-top: 50px;
  display: grid;
  gap: 160px;

  .layout-box{
    display: grid;
    .location-cat{
      display: grid;
      align-items: center;
      justify-items: end;
      grid-template-columns: calc(400px + 40px) 1fr;
      padding-left: min(10vw, 200px);
      gap: 0;
      .txt-area{
        max-width: 400px;
        display: grid;
        align-items: center;
        gap: 30px;
        h3{
          font-size: 2.8rem;
          color: var(--gold);
        }
        p{
          font-size: 1.8rem;
          line-height: 2;
        }
      }
      .pic{
        &::after{
          content: "";
          position: absolute;
          right: 0;
          top: 0;
          width: 100%;
          height: 100%;
          background: linear-gradient(270deg, rgba(255, 255, 255, 0.00) 50%, #FFF 100%);
        }
      }
      &:nth-child(2){
        grid-template-columns: 1fr calc(400px + 40px);
        padding: 0 min(10vw, 200px) 0 0;
        .txt-area{
          @media screen and (min-width: 769px) {
            grid-area: 1 / 2 / 2 / 3;
          }
        }
        .pic{
          @media screen and (min-width: 769px) {
            grid-area: 1 / 1 / 2 / 2;
          }
          &::after{
            left: 0;
            right: auto;
            background: linear-gradient(90deg, rgba(255, 255, 255, 0.00) 50%, #FFF 100%);
          }
        }
      }
    }
  }

}

.btn-more{
  margin-block-start: 40px;
  a {
    max-width: 300px;
  }
}







/*--------------------------------------------------------------------------
   mobile
---------------------------------------------------------------------------*/
@media screen and (max-width: 834px) {

	.page-ttl{
		background-image: url(../img/location/img_pagetitle_sp.jpg);	
	}
  .page-ttl .ja {
    font-size: 3rem;
  }
  .sec-hd{
    h2{
      font-size: 2.4rem;
    }
    .txt-lead {
      margin-top: 16px;
    }
  }

  /* access
  -----------------------------------------------------------------*/
  .access{
    padding: 70px 0 110px;
    display: grid;
    gap: 60px;
    .sec-hd{
      margin-bottom: 60px;
    }
    .a-route {
      width: 100%;
      max-width: 100%;
      overflow: hidden;
    }
    .a-route-map{
      width: 100%;
      padding: 0 0 0 20px;
      box-sizing: border-box;
      .js-scrollable{
        position: relative;
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        height: 300px;
      }
      .icon-wrap-class{
        height: 120px;
      }
      .scroll-hint-icon {
        background: none;
        top: auto;
        left: 0;
        bottom: 10px;
        padding: 0;
        height: 120px;
      }
      .scroll-hint-icon:before {
        width: 120px;
        height: 120px;
        background-image: url(../img/common/ico_cursor_pinch.svg);
      }
      .scroll-hint-icon:after {
        background-image: none;
      }
      img{
        display: block;
        width: 838px;
        max-width: none;
        height: auto;
        margin-right: 50px;
      }
    }
    .scroll-hint-icon-wrap {
        left: 760px;
        width: auto;
    }
    .a-train{
      h3{
        font-size: 2.4rem;
        margin-bottom: 30px;
        letter-spacing: .04em;
      }
      .layout-box{
        gap: 60px;
      }
      .route{
        grid-template-columns: 1fr;
        grid-row-columns: repeat(4, auto);
        gap: 30px;
        .route-box{
          gap: 30px;
        }
        > .pic{
          margin-bottom: 3rem;
        }
        dl{
          .route-item{
            dt{
              font-size: 1.6rem;
            }
            dd{
              font-size: 3rem;
              margin: 0.6rem 0 0 -0.55em;
              span{
                font-size: 2.4rem;
              }
              strong{
                font-size: 4.8rem;
              }
            }
            small{
              margin-top: 1.4rem;
            }
            .bar{
              padding: 1px 12px 2px;
              margin-top: 1rem;
            }
          }
        }
      }
    }
    .merit{
      ul{
        grid-template-columns: 1fr;
        gap: 30px;
      }
    }

    .a-bus{
      gap: 14px;
      .layout-box{
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 20px;
        .txt-area{
          gap: 14px;
          h3{
            font-size: 2.6rem;
          }
          p{
            font-size: 1.8rem;
          }
        }
        .route{
          display: grid;
          gap: 10px;
          dt{
            font-size: 2.2rem;
            padding-bottom: 1px;
          }
          dd{
            div{
              width: 120px;
              height: 120px;
              padding-top: 6px;
              font-size: 1.6rem;
              line-height: 1.4;
            }
          }
        }
      }
      .note{
        text-align: left;
      }
    }
  }

  .access-map{
    height: 350px;
  }

  /* location
  -----------------------------------------------------------------*/

  .location{
    padding: 100px 0 40px;
    gap: 60px;

    .layout-box{
      margin-top: 40px;
      gap: 60px;
      .location-cat{
        grid-template-columns: 1fr;
        padding-left: 0;
        gap: 30px;
        .txt-area{
          max-width: 100%;
          padding: 0 20px;
          gap: 10px;
          h3{
            font-size: 2.2rem;
          }
          p{
            font-size: 1.8rem;
            line-height: 2;
          }
        }
        .pic{
          &::after{
            content: "";
            position: absolute;
            right: 0;
            top: -2px;
            width: 100%;
            height: 110%;
            background: linear-gradient(0deg, rgba(255, 255, 255, 0.00) 50%, #FFF 100%);;
          }
        }
        &:nth-child(2){
          grid-template-columns: 1fr;
          padding: 0;
          .txt-area{
          }
          .pic{
            &::after{
              left: 0;
              right: auto;
              background: linear-gradient(0deg, rgba(255, 255, 255, 0.00) 50%, #FFF 100%);
            }
          }
        }
      }
    }
  }

  .btn-more{
    margin-block-start: 20px;
    a {
      max-width: 280px;
    }
  }
}