@charset "utf-8";

.map{
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.map p{
  font-size: 24px;
  line-height: 1.8;
  margin: 30px 0 50px 0;
}
.map img{
  width: 100%;
}
.access_map{
  width: 70%;
  margin: 0 auto 100px;
  margin-top: 50px;
}
.businner{
  width: 100%;
  margin: 0 auto;
}
.button_bus{
  width: 100%;
  display: flex;
  justify-content: center;
}
.bus{
  width: 300px;
  color: #fff;
  background-color: #A5B698;
  font-size: 20px;
  padding: 10px 50px;
  margin: 30px 0;
  text-align: center;
  border-radius: 90px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.bus::after{
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 110%;
  height: 200%;
  background: #758767;
  border-radius: 100%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  transition: transform .5s ease-in-out, opacity .5s ease-in-out;
  z-index: -1;
}
.bus:hover::after {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}
article iframe{
  width: 100%;
  height: 400px;
}
.access h1{
  background: url(../images/circle1.webp) no-repeat center;
  background-position: calc(50% - 95px) calc(50% + 5px);
  background-size: 96px auto; 
}
.gmap h2{
  background: url(../images/circle2.webp) no-repeat center;
  background-position: calc(50% - 125px) calc(50% + 5px);
  background-size: 96px auto; 
}
.car{
  margin: 0 0 80px 0;
}
.car img{
  width: 50px;
  margin-bottom: 20px;
}
.bus1 img{
  width: 50px;
  margin-bottom: 20px;
}

/* ライトボックス全体 */
.lightbox {
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  background: #ffffffbc;
  display: none;
  justify-content: center;
  align-items: center;
}
.img_wrapper{
  width: 500px;
  max-width: 1200px;
  display: inline-block;
  position: relative;
}

/* 画像 */
.lightbox img {
  width: 100%;
  object-fit: contain;
}
.close {
  position: absolute;
  top: -30px;
  right: 10px;
  width: 30px;
  height: 30px;
  cursor: pointer;
}
.close::before,
.close::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 24px;
  height: 2px;
  background: #1f1f1f;
  transform-origin: center;
}
.close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

@media screen and (max-width: 900px) {
.map p{
  font-size: 20px;
}
.img_wrapper{
  width: 60%;
}
.access h1{
  background-position: calc(50% - 60px) calc(50% + 10px);
  background-size: 64px auto; 
}
.gmap h2{
  background-position: calc(50% - 85px) calc(50% + 10px);
  background-size: 64px auto; 
}
.car{
  margin-bottom: 40px;
}
.access_map{
  margin-bottom: 40px;
}
}

@media screen and (max-width: 640px) {
.access h1{
  background-position: calc(50% - 60px) calc(50% + 10px);
  background-size: 64px auto;
}
.map p{
  font-size: 16px;
}
.bus{
  width: 250px;
  padding: 10px 25px;
  font-size: 16px;
}
.img_wrapper{
  width: 80%;
}
}