.footer {
  position: relative;
  padding-top: 95px;
  color: #1c1c21;
  font-size: 15px;
  line-height: 1.6;
  margin-top: -95px;
  z-index: 1;
}

.footer a {
  transition: 0.3s;
}

.footer .wcm01 {
  max-width: 1118px;
  margin: 0 auto;
  padding: 0 15px;
}

.footer img {
  display: inline;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

.gototop {
  position: fixed;
  right: 28px;
  bottom: 20px;
  z-index: 5000;
  display: flex;
  width: 69px;
  height: 69px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
}

.gototop.is-show {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
}

.gototop.is-stick {
  position: absolute;
  top: -34px;
  bottom: auto;
}

.gototop .txt {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  cursor: pointer;
  text-align: center;
}

.gototop .txt::after {
  position: absolute;
  inset: 0;
  width: 63px;
  height: 63px;
  margin: auto;
  content: '';
  border: 1px solid #1c1c21;
  border-radius: 100%;
  background: #fff;
  transition: 0.3s;
}

.gototop .txt span {
  position: relative;
  z-index: 2;
  display: block;
  padding-top: 11px;
  font-family: 'Archivo Narrow', sans-serif;
  font-size: 10px;
  font-weight: 600;
  line-height: 12px;
  letter-spacing: 0.05em;
}

.gototop .txt span::before {
  position: absolute;
  top: 1px;
  right: 0;
  left: 0;
  width: 8px;
  height: 8px;
  margin: 0 auto;
  content: '';
  border-top: 1px solid #1c1c21;
  border-left: 1px solid #1c1c21;
  transform: rotate(45deg);
}

.footer-contact .inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 69px 0 70px;
  background: url('../images/footer/bg_footer.webp') no-repeat 0 50% / cover;
}

.footer-contact .ftc-title .ttl {
  margin-bottom: 7px;
  font-family: 'Archivo Narrow', sans-serif;
  font-size: 40px;
  font-weight: 500;
  line-height: 53px;
  letter-spacing: 0.05em;
}

.footer-contact .ftc-title .subttl {
  font-weight: bold;
  letter-spacing: 0.05em;
}

.footer-contact .ftc-list a {
  display: block;
  height: 100%;
  padding: 33px 10px 31px;
  color: #1c1c21;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0.05em;
  text-align: center;
}

.footer-contact .ftc-list a > * {
  display: inline-block;
  vertical-align: middle;
}

.footer-contact .ftc-list a::before {
  display: inline-block;
  width: 0;
  height: 100%;
  content: '';
  vertical-align: middle;
}

.footer-contact .ftc-list a .break {
  display: none;
}

.footer-contact .ftc-list .fbtn01 a {
  color: #fff;
  background: #1c1c21;
}

.footer-contact .ftc-list .fbtn01 a .txt {
  padding: 0 8px 2px 35px;
  background: url('../images/footer/ico_mail01.svg') no-repeat 0 50% / 23px 17px;
}

.footer-contact .ftc-list .fbtn02 a {
  background: #fff;
}

.footer-contact .ftc-list .fbtn02 a .txt {
  padding: 1px 12px 4px 34px;
  background: url('../images/footer/ico_hotline.svg') no-repeat 0 50% / 23px 24px;
}

.footer-contact .ftc-list .fbtn03 a {
  background: #ffdf31;
}

.footer-contact .ftc-list .fbtn03 a .txt {
  padding: 1px 4px 4px 34px;
  background: url('../images/footer/ico_book.svg') no-repeat 0 50% / 23px 20px;
}

.footer .footer-wrap {
  padding: 1px 0 94px;
  color: #fff;
  background: #002c83;
}

.footer .footer-inner a {
  color: #fff;
}

.footer .f-list a {
  display: block;
  letter-spacing: 0.05em;
}

.footer .f-list .f-sub {
  margin-top: 12px;
}

.footer .f-list .f-sub li {
  margin-bottom: 10px;
}

.footer .f-list .f-sub li:last-child {
  margin-bottom: 0;
}

.footer .f-list .f-sub a {
  position: relative;
  display: block;
  padding-left: 16px;
  font-size: 13px;
  line-height: 20px;
  letter-spacing: 0.05em;
}

.footer .f-list .f-sub a::before {
  position: absolute;
  top: 10px;
  left: 0;
  width: 7px;
  height: 1px;
  margin-top: -1px;
  content: '';
  background: #fff;
}

.footer .f-logo a {
  display: inline-block;
}

.footer .f-map {
  margin-top: 13px;
  font-size: 14px;
  line-height: 25px;
  letter-spacing: 0.05em;
}

.footer .f-map a {
  position: relative;
  display: inline-block;
  text-decoration: underline;
}

.footer .f-map a > span {
  margin-right: 9px;
}

.footer .f-map a i {
  display: inline-block;
  vertical-align: top;
  line-height: 1.4;
}

.footer .f-link a {
  position: relative;
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.05em;
}

.footer .copyright {
  padding: 18px 10px;
  font-family: 'Archivo Narrow', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
  letter-spacing: 0.1em;
  text-align: center;
  background: #fff;
}

@media only screen and (min-width: 1025px) {
  .gototop .txt:hover {
    color: #fff;
    opacity: 1;
  }

  .gototop .txt:hover::after {
    width: 100%;
    height: 100%;
    background: #1c1c21;
  }

  .gototop .txt:hover span::before {
    border-top-color: #fff;
    border-left-color: #fff;
  }

  .footer-contact .ftc-list a:hover {
    opacity: 0.75;
  }

  .footer-contact .ftc-list .fbtn01 a:hover {
    opacity: 0.85;
  }
}

@media (min-width: 768px) {
  .footer-contact {
    margin: -96px auto 0;
    padding: 0 65px;
  }

  .footer-contact .wcm01,
  .footer .f-list {
    display: flex;
    justify-content: space-between;
  }

  .footer-contact .ftc-title {
    width: 30%;
  }

  .footer-contact .ftc-list {
    display: flex;
    width: 69.2%;
    margin: 0 -3px;
  }

  .footer-contact .ftc-list li {
    width: 33.33%;
    padding: 0 3px;
  }

  .footer-contact .ftc-list .fbtn03 a .txt {
    padding: 0 0 4px 32px;
  }

  .is-safari .footer-contact .ftc-list .fbtn03 a .txt {
    white-space: nowrap;
  }

  .footer .footer-inner {
    padding-top: 87px;
  }

  .footer .footer-inner .wcm01::before,
  .footer .footer-inner .wcm01::after {
    display: table;
    content: ' ';
  }

  .footer .footer-inner .wcm01::after {
    clear: both;
  }

  .footer .footer-inner .f-block01 {
    float: right;
    width: 61.6%;
  }

  .footer .footer-inner .f-block02 {
    float: left;
    width: 32%;
    padding-top: 2px;
  }

  .footer .f-list {
    flex-wrap: wrap;
  }

  .footer .f-list > ul.first {
    width: 23.6%;
  }

  .footer .f-list > ul.second {
    width: 30.6%;
  }

  .footer .f-list > ul.third {
    width: 28.33%;
  }

  .footer .f-list > ul > li {
    max-width: 202px;
    margin-bottom: 32px;
  }

  .footer .f-list > ul > li:last-child {
    margin-bottom: 0;
  }

  .footer .f-list > ul > li > a {
    position: relative;
    padding-right: 18px;
  }

  .footer .f-list > ul > li > a::before {
    position: absolute;
    top: 50%;
    right: 1px;
    width: 15px;
    height: 11px;
    margin-top: -6px;
    content: '';
    background: url('../images/footer/ico_arrow01_white.svg') no-repeat 100% 50% / 100% 100%;
  }

  .footer .f-link {
    margin-top: 50px;
  }

  .footer .f-link li:not(:last-child) {
    margin-bottom: 10px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1236px) {
  .footer-contact {
    padding: 0 4.759%;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1080px) {
  .footer-contact .ftc-list .fbtn03 a .txt {
    padding-right: 0;
    padding-left: 28px;
  }

  .footer-contact .ftc-title .subttl {
    font-size: 14px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .footer .f-list > ul.third {
    width: 31%;
  }

  .footer .f-list > ul > li {
    max-width: 100%;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1000px) {
  .footer-contact .ftc-list .fbtn03 a .txt .break {
    display: block;
  }

  .footer-contact .ftc-title .ttl {
    font-size: 38px;
  }

  .footer-contact .ftc-title .subttl {
    font-size: 13px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 992px) {
  .footer .f-list .f-sub a {
    font-size: 12px;
  }

  .footer .f-list > ul > li > a {
    font-size: 13px;
  }

  .footer .f-map {
    font-size: 12px;
  }

  .footer .f-map a i {
    margin-top: 2px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 920px) {
  .footer-contact .ftc-title .ttl {
    font-size: 33px;
  }

  .footer-contact .ftc-title .subttl {
    font-size: 11px;
  }

  .footer-contact .ftc-list .fbtn01 a .txt,
  .footer-contact .ftc-list .fbtn03 a .txt {
    padding-right: 0;
    padding-left: 32px;
  }
}

@media (max-width: 767px) {
  .footer {
    padding-top: 75px;
  }

  .gototop {
    right: 6px;
    width: 56px;
    height: 56px;
  }

  .gototop.is-stick {
    top: -28px;
  }

  .gototop .txt::after {
    width: 100%;
    height: 100%;
  }

  .gototop .txt span {
    font-size: 11px;
    line-height: 14px;
  }

  .gototop .txt span::before {
    top: 3px;
    width: 6px;
    height: 6px;
  }

  .footer-contact {
    margin: -76px auto 0;
    padding: 0 15px;
  }

  .footer-contact .inner {
    padding: 68px 0 50px;
    background-image: url('../images/footer/bg_footer_sp.webp');
  }

  .footer-contact .ftc-title {
    margin-bottom: 32px;
    text-align: center;
  }

  .footer-contact .ftc-title .ttl {
    margin-bottom: 4px;
    font-size: 33px;
    line-height: 44px;
  }

  .footer-contact .ftc-list {
    padding: 0 13px;
  }

  .footer-contact .ftc-list li {
    margin-bottom: 13px;
  }

  .footer-contact .ftc-list li:last-child {
    margin-bottom: 0;
  }

  .footer-contact .ftc-list a {
    min-height: 75px;
    padding: 24px 10px 26px;
  }

  .footer .footer-wrap {
    padding-bottom: 37px;
  }

  .footer .footer-inner {
    padding: 52px 0 0;
  }

  .footer .footer-inner .f-block02 {
    display: flex;
    flex-direction: column-reverse;
    flex-wrap: wrap;
    margin-top: 12px;
    padding-top: 25px;
    border-top: 1px solid #2a53a3;
    text-align: center;
  }

  .footer .f-list {
    padding-left: 8px;
  }

  .footer .f-list ul,
  .footer .f-link {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .footer .f-list ul li {
    width: 48%;
    margin-bottom: 32px;
  }

  .footer .f-list ul li.full {
    width: 100%;
  }

  .footer .f-list ul li.cover > ul {
    display: block;
  }

  .footer .f-list ul li.cover > ul li {
    width: auto;
  }

  .footer .f-list ul li.cover > ul li:last-child {
    margin-bottom: 0;
  }

  .footer .f-list .f-sub {
    display: block;
    margin: 13px 0 0;
    padding: 0 10px 0 0;
  }

  .footer .f-list .f-sub li {
    width: auto;
    margin: 0 0 15px;
    padding: 0;
  }

  .footer .f-list .f-sub a::before {
    top: 11px;
  }

  .footer .f-logo {
    margin-top: 35px;
  }

  .footer .f-logo a {
    width: 324px;
  }

  .footer .f-logo img {
    width: 100%;
  }

  .footer .f-map {
    margin-top: 10px;
  }

  .footer .f-map a > span {
    margin: 0 6px 0 13px;
  }

  .footer .f-link li {
    width: 52%;
  }

  .footer .f-link li:first-child a {
    padding-left: 15px;
    text-align: left;
  }

  .footer .f-link li:nth-child(2n) {
    width: 48%;
  }

  .footer .f-link li:nth-child(2n) a::before {
    display: none;
    content: '';
  }

  .footer .f-link a {
    display: block;
    padding: 0 10px;
  }

  .footer .f-link a::before {
    position: absolute;
    top: 0;
    right: 0;
    content: '｜';
    letter-spacing: 0;
  }
}

@media only screen and (max-width: 767px) and (max-width: 370px) {
  .footer .f-list ul li > a {
    font-size: 14px;
  }
}

@media only screen and (max-width: 767px) and (max-width: 350px) {
  .footer-contact .ftc-title .subttl {
    font-size: 14px;
  }

  .footer .f-list ul li > a {
    font-size: 12px;
  }

  .footer .f-list .f-sub a,
  .footer .f-map a {
    font-size: 11px;
  }

  .footer .f-map a > span,
  .footer .f-link li:first-child a {
    margin-left: 0;
    padding-left: 5px;
  }

  .footer .f-map a i {
    margin-top: 3px;
  }
}
