@charset "utf-8";

.main {
  background-color: #ffffff;
}

.title {
  height: 310px;
  background-image: url(../images/access/アクセストップ画像.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #ffffff;
}

.title h1 {
  font-family: "Potta One", system-ui;
  font-size: 32px;
  font-weight: bold;
}

.title p {
  font-family: "Potta One", system-ui;
  font-size: 14px;
  margin-top: 15px;
}

.main h2 {
  font-size: 22px;
  font-weight: bold;
  line-height: 30px;
}

.main h2::after {
  display: block;
  width: 36px;
  height: 3px;
  background-color: #000000;
  margin-top: 20px;
}

.map {
  width: 930px;
  max-width: 90%;
  margin-top: 75px;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 50px;
}

.map iframe {
  display: block;
  width: 100%;
  height: 320px;
  margin-top: 25px;
}

.footer {
  margin-top: 10px;
}

@media (max-width: 800px) {
  .map,
  .contact {
    width: 500px;
    margin-top: 45px;
  }

  .form-area dt,
  .form-area dd {
    width: 100%;
  }

  .form-area dt {
    padding-bottom: 0;
  }

  .submit-button {
    width: 100%;
  }

  .title {
    height: 150px;
    background-size: 800px;
  }
}