@charset "UTF-8";

.map {
  margin: 0 auto;
  max-width: 1066px;
}

.map .m-tit01{
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-weight: normal;
  text-align: center;
  background: transparent;
  margin: 60px 0 40px;
}

.map .m-tit01::after {
  content: "";
  flex: 1 1 0;
  height: 1px;
  background: #231f20;
}

.map .m-tit01::before {
  content: "";
  flex: 1 1 0;
  height: 1px;
  background: #231f20;
}

.map_img {
  width: fit-content;
  border: 1px solid #a0a0a0;
  margin: 0 auto;
  text-align: center;
}

.mg_address p{
    text-align: center;
}

.mg_address p:first-of-type{
    margin-top: 20px;
}
.lowerpage .main{padding: 80px 0 120px;}

.map .caption {
  text-align: center;
  margin: 10px 0 0;
}
@media screen and (max-width: 768px){
    .mg_address{font-size: 1.6rem;}
    .map_attention {
        font-size: 1.2rem;
    }
      .lowerpage .main{padding: 60px 0 60px;}
}

.map_BtnLink{
    width: 318px;
    height: 78px;
    flex-wrap: wrap;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    color: #fff;
    font-size: 2.5rem;
    line-height: 1.2;
    padding: 0 18px 7px 0;
    position: relative;
    margin: 70px auto 0;
    background: linear-gradient(45deg, #afafaf, #818285);
    cursor: pointer;
}

.map_BtnLink:hover {
  background: linear-gradient(45deg, #818285, #818285);
}

.map_BtnLink::after {
  content: "";
  width: 262px;
  height: 22px;
  background: url("../img/common/arrow-btn.svg") no-repeat bottom center/100% auto;
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  bottom: 20px;
  transition: .3s;
}

.map_BtnLink:hover::after {
  right: -10px;
}

@media screen and (max-width: 768px){
  .map .m-tit01{
    font-size: min(5vw, 2.3rem);

  }
  .map .m-tit02 {
    margin: 40px 0 20px;
  }
  
  .map_BtnLink {
    max-width: 165px;
    height: 40px;
    font-size: 1.4rem;
    margin: 40px auto 0;
  }
  
  .map_BtnLink::after {
      width: 136px;
      height: 12px;
      bottom: 10px;
  }
}