/* ------------------------------------
// baseData
------------------------------------ */
#baseData {
  max-width: 1024px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 2.8vw, 4rem);
  padding: 0 2rem clamp(5rem, 6.9vw, 10rem) 2rem;
}
#baseData .address {
  background: #fff;
  margin: 1rem 0 4rem;
  padding: 2rem 1rem;
  position: relative;
  color: #0a2e5a;
  text-align: center;
}
#baseData .address::before, #baseData .address::after {
  content: "";
  width: 100%;
  height: 1px;
  background: #b1babe;
  position: absolute;
  left: 0;
}
#baseData .address::before {
  top: -5px;
}
#baseData .address::after {
  bottom: -5px;
}
#baseData .info {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1.5rem 1rem;
  margin-left: 2rem;
}
#baseData .info li {
  display: grid;
  grid-template-columns: subgrid;
  grid-column: span 2;
  align-items: center;
}
#baseData .info li:before {
  content: "";
  width: 4rem;
  display: block;
  aspect-ratio: 1;
}
#baseData .info li.train::before {
  background: url(/lib/img/access/icon_train.webp) no-repeat center/contain;
}
#baseData .info li.trafic::before {
  background: url(/lib/img/access/icon_trafic.webp) no-repeat center/contain;
}
#baseData .info li.parking::before {
  background: url(/lib/img/access/icon_parking.webp) no-repeat center/contain;
}
#baseData .googlemap iframe {
  aspect-ratio: 3/2;
}
@media screen and (max-width: 768px) {
  #baseData {
    display: grid;
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------
// ways
------------------------------------ */
#ways {
  background: #fff;
  padding: clamp(5rem, 6.9vw, 10rem) 2rem;
  margin-bottom: clamp(5rem, 6.9vw, 10rem);
  position: relative;
}
@media screen and (max-width: 768px) {
  #ways {
    padding: clamp(2.5rem, 3.5vw, 5rem) 2rem;
    margin-bottom: clamp(2.5rem, 3.5vw, 5rem);
  }
}
#ways::before {
  content: "";
  width: 100vw;
  height: 6px;
  background: #ecf0f6;
  position: absolute;
  left: 0;
  top: 2px;
}
#ways > section {
  max-width: 1024px;
  margin: 0 auto;
}
#ways hgroup {
  display: grid;
  grid-template-columns: clamp(3rem, 2.8vw, 4rem) 1px 1fr;
  grid-template-areas: "icon line h2";
  gap: clamp(1rem, 1vw, 1.5rem);
  margin-bottom: clamp(2.5rem, 3.5vw, 5rem);
}
#ways hgroup::before {
  content: "";
  width: clamp(3rem, 2.8vw, 4rem);
  aspect-ratio: 1;
  display: block;
  grid-area: icon;
}
#ways hgroup::after {
  content: "";
  width: 1px;
  height: 100%;
  aspect-ratio: 1;
  display: block;
  grid-area: line;
  background: #428ba0;
}
#ways hgroup h2 {
  font-weight: 600;
  grid-area: h2;
  font-size: clamp(1.5rem, 1.8vw, 2.6rem);
  letter-spacing: 0.05em;
  text-indent: 0.05em;
  font-family: "Noto Serif JP", serif;
  color: #2a5e8d;
  align-self: center;
}
#ways hgroup h2 strong {
  font-weight: 600;
  color: #72c199;
}
#ways #train {
  padding-bottom: clamp(2.5rem, 3.5vw, 5rem);
  margin-bottom: clamp(2.5rem, 3.5vw, 5rem);
  border-bottom: 1px dotted #b1babe;
}
#ways #train hgroup::before {
  background: url(/lib/img/cmn/icon_train.webp) no-repeat center/contain;
}
#ways #train ul li {
  padding-left: 1em;
  text-indent: -1em;
}
#ways #train ul li + li {
  margin-top: 1rem;
}
@media screen and (max-width: 768px) {
  #ways #train {
    padding-bottom: 0;
  }
}
#ways #car hgroup::before {
  background: url(/lib/img/cmn/icon_car.webp) no-repeat center/contain;
}
#ways #car .detailContainer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: max-content max-content;
  gap: 1rem clamp(1rem, 2.8vw, 4rem);
  align-items: center;
}
#ways #car .detailContainer > div {
  background: #ecf0f6;
  padding: 1rem;
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 2;
}
#ways #car .detailContainer p {
  text-align: center;
  color: #163364;
  align-self: center;
}
#ways #car .detailContainer .parking {
  background: #fff;
  padding: 1.5rem 1rem;
}
#ways #car .detailContainer .parking p {
  display: flex;
  justify-content: center;
  gap: 1rem;
  color: #2a5e8d;
  align-items: center;
}
#ways #car .detailContainer .parking p:before {
  content: "";
  width: 2.5rem;
  aspect-ratio: 1;
  display: block;
}
#ways #car .detailContainer .car .parking p::before {
  background: url(/lib/img/cmn/icon_parking.webp) no-repeat center/contain;
}
#ways #car .detailContainer .bike .parking p::before {
  background: url(/lib/img/cmn/icon_bike.webp) no-repeat center/contain;
}
@media screen and (max-width: 768px) {
  #ways #car .detailContainer {
    display: grid;
    grid-template-columns: 1fr;
  }
}