footer {
  height: auto;
  background: #EBECF0;
  padding: 96px;
}
@media screen and (max-width: 768px) {
  footer {
      height: auto;
      min-width: 320px;
      padding: 48px 0;
      margin-bottom: 48px;
  }
}
.footer-logo {
    max-width: 1508px;
    margin: 0 auto;
}
.footer-logo-img {
  width: 308px;
}
@media screen and (max-width: 768px) {
  .footer-logo-img {
      width: 264px;
      height: 48px;
      margin: 0 auto;
      display: block;
  }
}
.footer-contents {
  display: flex;
  max-width: 1508px;
  margin: 48px auto 0;
}
@media screen and (max-width: 768px) {
  .footer-contents {
    display: block;
    margin-top: 48px;
    padding: 0 50px;
  }
}
.footer-individual-wrap {
  margin-right: 16px;
  width: 240px;
}
@media screen and (max-width: 768px) {
  .footer-individual-wrap {
    margin-right: 0;
    padding-bottom: 16px;
  }
}
.footer-individual-wrap li {
  margin-bottom: 16px;
}
.footer-company li {
  margin-bottom: 16px;
  line-height: 19.2px;
}
@media screen and (max-width: 768px) {
  .footer-company li {
    line-height: 19.2px;
  }
}
.footer-list-title {
  font-weight: 400;
  font-size: 16px;
  line-height: 19.2px;
  font-family: 'Playfair Display', serif;
  margin-bottom: 16px;
}
@media screen and (max-width: 768px) {
  .footer-list-title {
    font-size: 16px;
    line-height: 19.2px;
    margin-bottom: 18px;
  }
}

.footer-item {
  position: relative;
  color: #222A42;
  font-family: "YuMincho Demibold", "Yu Mincho Demibold", "游明朝体", "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
  font-weight: bold;
}

.footer-item span{
  display: block;
  font-size: 12px;
  font-weight: normal;
  line-height: 14.4px;
}

.footer-bottom {
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  max-width: 1508px;
  margin: 48px auto 0;
}
@media screen and (max-width: 768px) {
  .footer-bottom{
    padding-left: 0;
    flex-direction: column;
    align-items: center;
    max-width: 315px;
    min-width: 315px;
    font-size: 12px;
    margin-top: 16px;
    line-height: 21.6px;
    text-align: center;
  }
}
/* Licence line (added): same type as the address line above it */
.footer-bottom-license {
  font-size: 12px;
  line-height: 21.6px;
  font-weight: 500;
}
  .footer-bottom-copyright {
  font-family: 'Playfair Display', serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 14.4px;
}
.footer-policy a {
  font-size: 12px;
  font-weight: 500;
  line-height: 14.4px;
  color: #222A42;
}
@media screen and (max-width: 768px) {
  .footer-policy a {
    display: inline-block;
    margin-bottom: 12px;
  }
}
.footer-bottom-center {
  text-align: center;
  font-size: 12px;
  line-height: 21.6px;
  font-weight: 500;
  position: relative;
}
@media screen and (max-width: 768px) {
  .footer-bottom-center {
    text-align: center;
  }
}
.footer-bottom-center:before {
  content: url(/img/map.svg);
  position: absolute;
  top: 2px;
  left: -18px;
}
@media screen and (max-width: 768px) {
  .footer-bottom-center:before {
    left: -8px;
  }
}
.footer-bottom-center:after {
  content: url(/img/tel.svg);
  position: absolute;
  right: 78px; /* was 72px for 06-6258-6178; 050-1754-3686 is one digit wider */
  top: 3px;
}
@media screen and (max-width: 768px) {
  .footer-bottom-center:after {
    right: 197px; /* was 194px; see note above */
    top: 24px;
  }
}
.footer-bottom-right {
  width: 120px;
}
.bottom-right-tel {
  margin-left: 25px;
}
@media screen and (max-width: 768px) {
  .bottom-right-tel {
    margin: 0;
    margin-bottom: 12px;
    display: inline-block;
  }
}
.footer-button {
  display: none;
}
@media screen and (max-width: 768px) {
  /* footerのボタン */
  .footer-button {
    width: 100vw;
    margin-top: 48px;
    display: flex;
    align-items: center;
    bottom: 0;
    left: 0;
    position: fixed;
    background: #fff;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .footer-button span {
    display: block;
  }
  .button {
    width: 50%;
    text-align: center;
  }
  .button a {
    height: 48px;
    padding: 7px 0;
    display: block;
  }

  .button-heading {
    font-size: 12px;
    font-weight: 500;
    line-height: 14.4px;
  }
  .button-primary-each {
    color: #222A42;
  }
  .button-secondary-each {
    color: #fff;
  }
  .button-text {
    font-family: "YuMincho Demibold", "Yu Mincho Demibold", "游明朝体", "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
    font-weight: bold;
    line-height: 19.2px;
  }
  .button-primary {
    background: #FFFFFF;
    border: 1px solid #222A42;
    box-sizing: border-box;
  }
  .button-secondary{
    background: #BE1E2D;
    border: 1px solid #BE1E2D;
    box-sizing: border-box;
  }
}
.bottom-right-tel a {
  color: #222A42;
}