/* ==========================================================
   フッター共通スタイル
   ※ style2.css より抽出（2026/06）
   ========================================================== */

/* ベースフッター */
.wrap-footer {
  background: #35B1BC;
  padding: 16px 0;
  color: #ffffff;
  font-size: 14px;
}

.wrap-footerBox {
  width: 100%;
  max-width: 1024px;
  margin: auto;
  display: -webkit-box;
  display: flex;
  -webkit-box-align: start;
  align-items: flex-start;
  padding-top: 16px;
  padding-bottom: 16px;
}

@media screen and (min-width: 426px) and (max-width: 1024px) {
  .wrap-footerBox {
    width: 96%;
  }
}

@media screen and (max-width: 425px) {
  .wrap-footerBox {
    padding-top: 0;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
  }
}

/* トップへ戻る */
#page-top {
  display: none;
}

@media screen and (max-width: 425px) {
  #page-top {
    display: block;
    position: relative;
    width: 100%;
    top: -16px;
    right: 0;
    bottom: 0;
  }
  #page-top a {
    background: #607D8B;
    text-decoration: none;
    color: #ffffff;
    padding: 12px;
    text-align: center;
    display: block;
  }
  #page-top a:hover {
    text-decoration: none;
    background: #999;
  }
}

@media screen and (min-width: 426px) {
  #page-top {
    position: fixed;
    z-index: 1000;
    right: 40px;
    bottom: 80px;
    width: 50px;
    height: 50px;
  }
  #page-top a {
    border-radius: 50px;
    background: rgba(51, 51, 51, 0.5);
    display: block;
    width: 50px;
    height: 50px;
    color: #ffffff;
    text-decoration: none;
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
    -webkit-transition: .3s;
    transition: .3s;
  }
  #page-top a:after {
    content: "";
    background-image: url("/p/images/icon-pagetop.svg");
    background-repeat: no-repeat;
    background-size: contain;
    width: 20px;
    height: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  #page-top a:hover {
    background: rgba(51, 51, 51, 0.7);
    -webkit-transform: translateY(-3px);
    transform: translateY(-3px);
  }
}

/* フッターリンク */
.footer-left {
  width: 50%;
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: justify;
  justify-content: space-between;
  flex-wrap: wrap;
}

@media screen and (max-width: 425px) {
  .footer-left {
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
    justify-content: space-around;
  }
}

.footer-left li {
  width: 50%;
}

@media screen and (max-width: 425px) {
  .footer-left li {
    width: auto;
  }
}

.footer-left a {
  color: #ffffff;
  text-decoration: none;
  -webkit-transition: .5s;
  transition: .5s;
  line-height: 2.4em;
  position: relative;
}

@media screen and (max-width: 425px) {
  .footer-left a {
    padding: 8px;
  }
}

.footer-left a:after {
  content: "";
  width: 100%;
  border-bottom: 2px solid #35B1BC;
  position: absolute;
  bottom: -4px;
  left: 0;
  -webkit-transition: .5s;
  transition: .5s;
}

@media screen and (min-width: 835px) {
  .footer-left a:hover:after {
    border-bottom: 2px solid rgba(255, 255, 255, 0.7);
  }
}

.footer-left li i {
  font-size: 40px;
  margin-right: 8px;
}

/* フッター右カラム */
.footer-right {
  width: 50%;
}

@media screen and (max-width: 425px) {
  .footer-right {
    width: 100%;
    text-align: center;
  }
}

.wrap-footer-copy {
  font-size: 12px;
  text-align: right;
  display: block;
  color: rgba(255, 255, 255, 0.6);
}

@media screen and (max-width: 425px) {
  .wrap-footer-copy {
    text-align: center;
  }
}

/* 768px以下：2カラム→1カラム・中央寄せ（コピーライトを下に） */
@media screen and (max-width: 768px) {
  .wrap-footerBox {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
  }
  .footer-left,
  .footer-right {
    width: 100%;
  }
  .footer-left {
    -webkit-box-pack: center;
    justify-content: center;
  }
  .footer-left li {
    width: auto;
  }
  .footer-left a {
    padding: 8px 12px;
    white-space: nowrap;
  }
  .wrap-footer-copy {
    text-align: center;
  }
}

/* SNS */
.footerSns {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 16px;
}

@media screen and (max-width: 425px) {
  .footerSns {
    margin-top: 16px;
    justify-content: center;
  }
}

.footerSns li {
  line-height: 1;
}

.footerSns li:nth-child(n+2) {
  margin-left: 1.6em;
}

.footerSns a {
  display: inline-block;
  color: #ffffff;
  transition: .3s;
}

.footerSns a:hover {
  opacity: .5;
}

.footerSns .ig img {
  width: 40px;
}

.footerSns .tw img {
  width: 34px;
}

.footerSns .fb img {
  width: 40px;
}

/* バナーエリア */
footer .banner-area {
  position: relative;
  background: #ffffff;
}

footer .banner-area > div {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* セキュリティフッター */
.security-footer {
  width: 100%;
}

.security-footer .logos {
  width: auto;
  margin: 0 auto;
  padding: 20px 20px;
  .logo {
    display: flex;
    justify-content: center;
    padding-bottom: 20px;
    img {
      width: auto;
      height: 18px;
    }
  }
  .sns-logos {
    display: flex;
    justify-content: center;
    gap: 0 10px;
    > li {
      height: 20px;
    }
    > li > a > img {
      width: 20px;
      height: 20px;
    }
  }
}

.siteseals-wrap {
  padding: 40px 0;
}

.siteseals-wrap .siteseals {
  display: flex;
  justify-content: center;
  gap: 0 10px;
}

@media screen and (min-width: 600px) {
  .security-footer {
    width: 1024px;
    margin: 0 auto;
  }

  .security-footer .logos {
    width: 100%;
    max-width: 1020px;
    display: flex;
    padding: 20px 10px;
    .logo {
      padding-bottom: 0;
    }
    .sns-logos {
      padding-left: 20px;
    }
  }
}
