/* footer
--------------------------- */
#footer {
  color: #000;
  padding: 0 0 9.53rem;
  margin-top: 6rem;
}
#footer.top-m-none{
	margin-top: 0;
}
#footer.f-hosyo {
  margin-top: 0;
  border-top: 1px #ccc solid;
}
@media screen and (min-width: 768px) {
  #footer {
    padding: 0 0 5rem;
    margin-top: 7rem;
  }
}
@media screen and (min-width: 992px) {
  #footer {
    margin-top: 8rem;
  }
}
@media screen and (min-width: 1400px) {
  #footer {
    margin-top: 12rem;
    padding: 0 0 6.25rem;
  }
}
/* 767以下の表示設定
----------------------------------------------------------------------------------------------------*/
@media screen and (min-width: 576px) {
  ul.footer_menu {
    display: none;
  }
}
@media screen and (max-width: 575px) {
  /*　フッター固定メニュー　*/
  .footer_menu.show {
    opacity: 1;
    visibility: visible;
  }
  ul.footer_menu {
    width: 100%;
    display: flex;
    margin: 0;
    padding: 0;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 6665;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  ul.footer_menu li {
    width: 33.333%;
    margin: 0;
    list-style-type: none;
    border-top: 1px solid #acacac;
  }
  ul.footer_menu li:first-child {
    border-right: 1px solid #acacac;
  }
  ul.footer_menu li:nth-child(2) {
    border-right: 1px solid #acacac;
  }
  ul.footer_menu li a {
    border: none;
    display: block;
    text-align: center;
    text-decoration: none;
    width: 100%;
    height: 100%;
    font-size: 1.05rem;
    background-color: #1a1a1a;
    color: #fff;
    padding: 15px 0;
    letter-spacing: 0.05rem;
  }
}
/* catalog contact
-----------------------------------------------*/
.fwcc-btn a {
  display: block;
  text-decoration: none;
  color: #fff;
  position: relative;
  transition: .3s;
  z-index: 2;
}
.fwcc-btn a:hover {
  transition: .3s;
}
.fwcc-btn-ttl {
  margin-bottom: 0;
}
.fwcc-btn-ttl .f-eng {
  display: block;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.fwcc-btn a {
  padding: 4rem 5.555% 4.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-wrap-catalog-contact {
  position: relative;
  background-image: url(../images/footer_bg1.webp); /* デフォルト背景 */
  background-size: cover;
  background-position: center;
  transition: background-image 0.3s ease-in-out; /* Firefoxには効かないが念のため */
}

/* 背景切り替え用 */
.footer-wrap-catalog-contact.bg-contact {
  background-image: url(../images/footer_bg2.webp);
}
.footer-fade-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  z-index: 0;
  pointer-events: none;
}

.footer-wrap-catalog-contact::after {
  content: "";
  background: #000;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.5;
  z-index: 1;
}
.footer-wrap-catalog-contact .watermark::before {
  z-index: 4;
}
.footer-wrap-catalog-contact .e_title {
  margin-bottom: 0;
  text-align: center;
  position: relative;
  display: inline-block;
}
.footer-wrap-catalog-contact .e_title::before {
  content: "";
  background: url(../images/arrow_w.svg);
  width: 12px;
  height: 10px;
  position: absolute;
  top: 4px;
  right: -20px;
  background-repeat: no-repeat;
  transform: rotate(-45deg);
  transition: .3s;
}
.footer-wrap-catalog-contact a:hover .e_title::before {
  transform: rotate(0deg);
  transition: .3s;
}
@media screen and (max-width: 767px) {
  /*contact*/
  .footer-wrap-catalog-contact::before {
    content: "";
    background: #fff;
    height: 1px;
    width: 85%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    display: inline-block;
    position: absolute;
  }
}
@media screen and (min-width: 768px) {
  .footer-wrap-catalog-contact .watermark {
    display: flex;
  }
  .footer-wrap-catalog-contact .watermark::before {
    right: 2%;
  }
  .fwcc-btn {
    width: calc(100% / 2);
  }
  .fwcc-btn a {
    padding: 8rem 5.555%;
  }
  .footer-wrap-catalog-contact::before {
    content: "";
    background: #fff;
    height: 78.57%;
    width: 1px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    display: inline-block;
    position: absolute;
  }
}
@media screen and (min-width: 992px) {
  .fwcc-btn a {
    padding: 12rem 5.555%;
  }
  .fwcc-btn-ttl {
    font-size: 1.2rem;
  }
  .fwcc-btn-ttl .f-eng {
    font-size: 3rem;
  }
}
@media screen and (max-width: 1399px) {
  .fwcc-btn-ttl {
    font-size: 0.9rem;
    line-height: 1.4;
  }
}
@media screen and (min-width: 1400px) {
  .fwcc-btn a {
    padding: 18rem 11.1111%;
  }
  .fwcc-btn-ttl {
    font-size: 1.312rem;
    line-height: 1.3;
  }
  .fwcc-btn-ttl .f-eng {
    font-size: 4.375rem;
    margin-bottom: 1rem;
  }
  .footer-wrap-catalog-contact .e_title::before {
    width: 20px;
    height: 13px;
    top: 8px;
    right: -31px;
  }
}
/*company*/
.footer_inner {
  width: 85%;
  margin-right: auto;
  margin-left: auto;
  padding-top: 5rem;
}
.footer_inner .toggle_company {
  margin-top: 0;
  border-top: none;
  padding-top: 0;
}
.footer_linkwrap {
    display: flex;
    margin: 5rem 0 1rem;
}
.footer_linkwrap li a {
  padding: 0 0.8rem 0 0;
  border-right: 1px solid #cccccc;
  color: #1a1a1a;
  font-size: 0.86rem;
  transition: .3s;
}
.footer_linkwrap li a:hover {
  opacity: 0.7;
  transition: .3s;
  text-decoration: none;
}
.footer_inner .toggle_company .unit2 {
    margin-bottom: 2rem;
}
.footer_linkwrap li:last-child a {
  border-right: none;
  padding: 0 0 0 0.8rem;
}
.footer_copy {
  color: #666666;
  margin: 0;
  font-size: 0.86rem;
  letter-spacing: 0.025rem;
}
.footer_inner .toggle_logo {
    width: 230px;
}
@media screen and (min-width: 768px) {
  .footer_inner {
    padding-top: 7rem;
  }
  .footer_bottom {
    display: flex;
    justify-content: space-between;
    margin: 6rem 0 0;
  }
  .footer_linkwrap {
    margin: 0;
  }
  .toggle_company .toggle_add {
    display: flex;
    align-items: end;
  }
  .toggle_company .toggle_add a.com-map {
    margin-top: 0;
    margin-left: 0.8rem;
  }
}
@media screen and (min-width: 1400px) {
  .footer_inner {
    padding-top: 9.37rem;
  }
  .footer_linkwrap li a {
    padding: 0 0.5rem 0 0;
    font-size: 0.81rem;
  }
  .footer_linkwrap li:last-child a {
    padding: 0 0 0 0.5rem;
  }
  .footer_bottom {
    margin: 7rem 0 0;
  }
  .footer_copy {
    font-size: 0.81rem;
  }
  .footer_inner .toggle_logo {
    width: 310px;
  }
  .toggle_company .toggle_add {
    font-size: 0.95rem;
    line-height: 1.8;
  }
}