/* ---------------------------------------
 フッター
--------------------------------------- */

.l-footer {
  position: relative;
  width: 100%;
}
.l-footer a {
  color: #000000;
  line-height: 1;
}
.l-footer a:hover {
  text-decoration: underline;
}

/* ページ先頭へ戻るボタン */
.l-footer__backlink {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: fixed;
  z-index: 300;
  width: 48px;
  height: 48px;
  background-color: rgba(112, 112, 112, 0.3);
  color: #fff;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
  right: 20px;
  bottom: 85px;
}
.l-footer__backlink.is-visible {
  opacity: 1;
  visibility: visible;
}
.l-footer__backlink:not(.is-visible) {
  opacity: 0;
  visibility: hidden;
}
.l-footer__backlink:before {
  content: "";
  display: block;
  width: 17px;
  height: 17px;
  border-top: solid 3px #fff;
  border-left: solid 3px #fff;
  rotate: 45deg;
  translate: 0 25%;
}
.l-footer__backlink:hover {
  background-color: rgba(112, 112, 112, 0.7);
}
.l-footer__backlink > span {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* フッター上段（会社名・主要リンク） */
.l-footer__content {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 25px 10px 55px;
}
.l-footer__company--name {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 25px;
}
.l-footer__company--name a.is-page, .l-footer__company--name span.is-page {
  text-decoration: underline;
}
.l-footer__link--top, .l-footer__link--bottom {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.l-footer__link--top li, .l-footer__link--bottom li {
  font-size: 1.4rem;
}
.l-footer__link--bottom {
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: end;
}
.l-footer__link--bottom li {
  margin-right: 20px;
}

/* フッター下段（共通リンク・コピーライト） */
.l-footer__wrap {
  width: 100%;
}
.l-footer__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 25px 10px;
}
.l-footer__inner ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.l-footer__inner ul li a, .l-footer__inner ul li span {
  font-size: 1.2rem;
  color: #fff;
}
.l-footer__inner ul li a.is-page, .l-footer__inner ul li span.is-page {
  text-decoration: underline;
}
.l-footer__identifier {
  margin-top: 20px;
}
.l-footer__copyright {
  font-size: 1.2rem;
  line-height: 1;
  color: #fff;
}


/* SP表示時のフッター挙動 */
@media screen and ( max-width: 767.9px ) {
  .l-footer__content {
    background-color: #0064d2;
    padding: 25px 10px;
  }
  .l-footer__company--name {
    display: none;
  }
  .l-footer__link--top, .l-footer__link--bottom {
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .l-footer__link--top li, .l-footer__link--bottom li {
    margin-bottom: 15px;
  }
  .l-footer__link--top li:last-child, .l-footer__link--bottom li:last-child {
    margin-bottom: 0;
  }
  .l-footer__link--top li a, .l-footer__link--top li span, .l-footer__link--bottom li a, .l-footer__link--bottom li span {
    font-weight: 700;
    color: #fff;
  }
  .l-footer__link--top li a.is-page, .l-footer__link--top li span.is-page, .l-footer__link--bottom li a.is-page, .l-footer__link--bottom li span.is-page {
    text-decoration: underline;
  }
  .l-footer__inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .l-footer__inner ul {
    width: 100%;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  .l-footer__inner ul li {
    width: 50%;
    margin-bottom: 10px;
    text-align: center;
  }
  .l-footer__inner ul li a, .l-footer__inner ul li span {
    color: #000;
  }
  .l-footer__copyright {
    margin-top: 20px;
    color: #000;
    text-align: center;
    line-height: 1.5;
  }
}

/* PC表示時のフッター挙動 */
@media screen and ( min-width: 768px ) {
  .l-footer {
    min-width: 960px;
  }
  .l-footer__link--top li span.is-page {
    color: #000;
  }
  .l-footer__link--top li, .l-footer__link--bottom li {
    margin-bottom: 10px;
  }
  .l-footer__link--top li:last-child, .l-footer__link--bottom li:last-child {
    margin-right: 0;
  }
  .l-footer__link--top li a.is-page, .l-footer__link--top li span.is-page, .l-footer__link--bottom li a.is-page, .l-footer__link--bottom li span.is-page {
    text-decoration: underline;
  }
  .l-footer__link--top li {
    margin-right: 40px;
  }
  .l-footer__wrap {
    background-color: #0064d2;
  }
  .l-footer__inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
  .l-footer__inner ul li + li {
    margin-left: 10px;
  }
}
