/* ========================================
   Access Page Styles
   ======================================== */

/* ----------------------------------------
   Access Information Section
   ---------------------------------------- */
.l-section--access {
  padding: 65px 0 60px;
  background-color: #fff;
}

.l-access-info {
  display: flex;
  justify-content: center;
  align-items: center;
}

.c-access-box {
  background-color: #fff;
  border: 1px solid var(--col-accent);
  width: 809px;
  padding: 15px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

.c-access-box__clinic-name {
  font-family: 'Shippori Mincho', serif;
  font-size: 24px;
  font-weight: 700;
  color: #666;
  margin: 0 0 20px 0;
  text-align: center;
  padding: 0 24px 6px;
  border-bottom: 1px solid var(--col-accent);
}

.c-access-box__address {
  font-family: 'Shippori Mincho', serif;
  font-size: 20px;
  font-weight: 600;
  color: #666;
  margin: 0 0 25px 0;
  text-align: center;
  line-height: 1.6;
}

.c-access-box__transport {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.c-access-box__transport-item {
  font-family: 'Shippori Mincho', serif;
  font-size: 18px;
  font-weight: 600;
  color: #666;
  margin: 0;
  line-height: 26px;
}

/* ----------------------------------------
   Access Map Section
   ---------------------------------------- */
.l-section--access-map {
  padding: 0 0 110px 0;
  background-color: #fff;
}

.l-access-map {
  display: flex;
  justify-content: center;
  align-items: center;
}

.c-access-map__wrapper {
  width: 100%;
  max-width: 1054px;
  height: 592px;
  overflow: hidden;
}

.c-access-map__iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ----------------------------------------
   Responsive
   ---------------------------------------- */
@media (max-width: 1200px) {
  .c-access-box {
    width: 90%;
    max-width: 809px;
  }

  .c-access-map__wrapper {
    max-width: 90%;
  }
}

@media (max-width: 768px) {
  .l-section--access {
    padding: 40px 0 30px;
  }

  .l-section--access-map {
    padding: 0 0 60px 0;
  }

  .c-access-box {
    width: 95%;
    padding: 40px 30px;
  }

  .c-access-box__clinic-name {
    font-size: 20px;
  }

  .c-access-box__address {
    font-size: 16px;
  }

  .c-access-box__divider {
    width: 100%;
    max-width: 315px;
  }

  .c-access-box__transport-item {
    font-size: 16px;
  }

  .c-access-map__wrapper {
    height: 400px;
  }
}

@media (max-width: 480px) {
  .c-access-box {
    padding: 30px 20px;
  }

  .c-access-box__clinic-name {
    font-size: 18px;
  }

  .c-access-box__address {
    font-size: 14px;
  }

  .c-access-box__transport-item {
    font-size: 14px;
  }

  .c-access-map__wrapper {
    height: 300px;
  }
}

