@charset "utf-8";

/*--------------------------------------------------------------
  フッター設定
--------------------------------------------------------------*/

#footer {
  position: sticky;
  width: 100vw;

  display: grid;
  grid-template-areas:
    'areaA areaA areaB'
    'areaC areaC areaC';
  column-gap: 1rem;
  row-gap: 1rem;
  background-color: rgb(var(--main-color) / 1.0);
  color: #fff;
}

#footer * {
  margin: 0;
  padding: 0;
}

#footer>div:first-child {
  grid-area: areaA;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 0;
  align-items: center;
}

#footer>div:first-child a {
  width: 300px;
  height: 56.25px;
  margin: 0;
  padding: 0;
  text-decoration: none;
}

#footer>div:first-child img {
  width: 300px;
  height: 56.25px;
  margin: 0;
  padding: 0;
}

#footer>div:first-child p {
  margin: 0;
  padding: 0;
  font-size: 0.8rem;
  line-height: 0.8rem;
}

#footer>div:nth-child(2) {
  grid-area: areaB;
  display: flex;
  justify-content: center;
  align-items: center;
}

#footer>div:nth-child(2) ul,
#footer>div:nth-child(2) li {
  text-decoration: none;
  list-style-type: none;
  padding: 0;
  font-size: 0.8rem;
  line-height: 1.2rem;
}

#footer>div:nth-child(2) a {
  margin: 0;
  padding: 0;
  font-size: 0.8rem;
  line-height: 1.0rem;
}

#footer>div:last-child {
  grid-area: areaC;
  display: flex;
  justify-content: center;
  align-items: center;

  font-size: 0.7rem;
  margin: 0;
  padding: 0;
}

#footer>div:last-child a {
  text-decoration: none;
  font-size: 0.7rem;
  margin: 0;
  padding: 0;
}

@media (max-width: 767.98px) {

  /* sm 以下の画面サイズの場合のスタイル */
  #footer {
    grid-template-areas:
      'areaA'
      'areaB'
      'areaC';
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {

  /* md の画面サイズの場合のスタイル */
  #footer {
    grid-template-areas:
      'areaA'
      'areaB'
      'areaC';
  }
}

@media (min-width: 992px) {
  /* lg 以上の画面サイズの場合のスタイル */

}



/*--------------------------------------------------------------
  電話
--------------------------------------------------------------*/
#footer span.material-symbols-outlined {
  font-size: 1.8rem;
  line-height: 2rem;
  vertical-align: -0.3rem;
}

#footer .tel {
  font-size: 1.5rem !important;
  line-height: 2rem !important;
  font-weight: 600;
}

@media(min-width: 768px) {
  a[href^="tel:"] {
    pointer-events: none;
  }
}