/* footer.css - Footer-related styles extracted from styles.css */

/*=====
# footer__info
============*/
.footer__info {
  margin-top: 100px;
  background: #fff;
  padding: 2rem 2rem 8rem;
}

.footer__info-container {
  margin: 0 auto;
  max-width: 1200px;
  width: 100%;
}

.footer__info-items .footer__info-item .footer__info-title h3 {
  padding-left: 0;
  margin-top: 24px;
}

.footer__info-items .footer__info-item .footer__info-title {
  margin-bottom: 24px;
}

.footer__info-top {
  display: flex;
}

.footer__info-bottom {
  display: flex;
}

.footer__info-clinic-image {
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.footer__info-item:nth-child(odd) {
  width: 100%;
  margin-right: 32px;
}

.footer__info-item {
  width: 100%;
  height: auto;
}

.footer__info-item iframe {
  width: 100%;
  height: 300px;
}

.footer__info-gmap {
  width: 100%;
  height: 300px;
  overflow-y: scroll;
}

.footer__info-table-header {
  padding: 4px 0px;
  font-size: 14pxx;
  width: 100px;
  vertical-align: middle;
  line-height: 2.5;
  text-align: center;
  background-color: rgba(252, 213, 84, 0.11);
}

.footer__info-table-content {
  padding: 2px;
  padding-left: 2rem;
  font-size: 14px;
  width: calc(100% - 100px);
  vertical-align: middle;
}

.footer__info-table-content a {
  color: #0066c0;
  font-size: 16px;
}

.footer__info-clinic-name {
  font-size: 16px;
}

.footer__info-item p iframe {
  height: 280px;
}

/*=====
# フッター（メイン）
============*/
.footer {
  background: var(--section-yellow);
  padding: 8px 0;
}

.footer__top-link {
  background: var(--section-yellow);
  border: solid 1px var(--section-yellow);
  bottom: 16px;
  display: block;
  height: 50px;
  opacity: 0;
  position: fixed;
  right: 16px;
  transition: 0.5s;
  visibility: hidden;
  width: 50px;
  z-index: 100;
}

.footer__top-link:after {
  border-right: solid 3px var(--main-color);
  border-top: solid 3px var(--main-color);
  content: "";
  display: block;
  height: 15px;
  left: 15px;
  position: absolute;
  top: 20px;
  transform: rotate(-45deg);
  width: 15px;
}

.header--scrolled .footer__top-link {
  opacity: 1;
  visibility: visible;
}

.footer__copyright {
  color: var(--main-color);
  display: block;
  font-family: "メイリオ", Meiryo, "ヒラギノ角ゴシック", "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.025em;
  font-weight: 400;
  opacity: 0.6;
  margin-top: 6px;
  text-align: center;
}

/*=====
# レスポンシブ対応
============*/
@media screen and (max-width: 768px) {
  .footer__info-container {
    width: 100%;
    padding-top: 1rem;
    padding-bottom: 3rem;
  }

  .footer__info-container {
    padding: 0;
    margin: 40px auto;
    padding: 0px;
  }

  .footer__info-top {
    display: block;
  }

  .footer__info-item:nth-child(odd) {
    width: 100%;
  }

  .footer__info-item {
    width: 100%;
    margin-bottom: 5rem;
  }

  .footer__info-item p iframe {
    height: 300px;
    width: 100%;
  }

  .footer__info-item:nth-child(odd) {
    width: 100%;
  }

  .footer__info-bottom {
    display: block;
  }

  .footer {
    padding: 8px 16px;
    text-align: center;
  }
}

@media (min-width: 769px) {
  .footer__inner {
    display: flex;
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 120px;
  }

  .footer__top-link {
    bottom: 40px;
    right: 40px;
  }

  .footer__company {
    margin: 0 auto;
  }

  .footer__copyright {
    text-align: right;
  }
}
