@charset "UTF-8";
/* CSS Document */
footer {
  font-family: "Noto Sans Japanese", sans-serif;
  -webkit-text-size-adjust: 100%;
  font-size: 14px;
  font-size: 1.4rem;
  line-height: 1.4em;
  font-weight: 400;
  height: 100%;
  width: 100%;
  padding-top: 0;
  -webkit-font-smoothing: antialiased;
  color: #414647;
  letter-spacing: 0.025em;
}

-----------------------------------------*/ #contents {
  margin-top: 82px;
  background: rgba(152, 163, 183, 0.15);
  min-width: 1024px;
}

.inner {
  width: 1080px;
  margin: 0 auto;
}

.flex-box {
  width: 100%;
  -js-display: flex;
  display: -webkit-box;
  display: -moz-box;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-justify-content: space-between;
  /* Safari */
  justify-content: space-between;
}
.flex-box .col-2 {
  width: 47%;
  display: block;
}
.flex-box .col-3 {
  width: calc(100% / 3);
  display: block;
}

.logo-box a:hover {
  opacity: 1;
}
.logo-box img.logo {
  float: left;
  height: 53px;
}

#menu li,
#nav li {
  display: inline-block;
}
#menu li a,
#nav li a {
  color: #414647;
  font-weight: 500;
}

@media (max-width: 1100px) {
  .inner {
    width: 100%;
    margin: 0 auto;
    /*   padding: 0 4%;
 */
  }
}
@media (max-width: 767px) {
  #contents {
    margin-top: 58px;
    min-width: auto;
  }
}
/* クリアー */
.clearfix {
  zoom: 1;
}

.clearfix:after {
  content: "";
  display: block;
  clear: both;
}

/* footer
----------------------------*/
footer {
  /* background: #414647; */
  background: #303542 !important;
  width: 100%;
  height: 436px;
  position: relative;
  color: #fff;
  padding: 40px 60px 0;
  overflow: hidden;
  font-size: 14px;
  font-size: 1.4rem;
}
footer .logo-box {
  margin: 4px 0 40px;
  overflow: hidden;
  display: block;
  float: left;
}
footer .logo-box a {
  display: block;
  margin-bottom: 13px;
  overflow: hidden;
}
footer .logo-box a img.logo {
  height: 61px;
  display: block;
}
footer .logo-box span {
  font-size: 13px;
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 7px;
  display: block;
  float: left;
}
footer .adress {
  display: block;
  float: left;
  clear: left;
  font-weight: 300;
  line-height: 1.8em;
  text-align: left;
}
footer #navi {
  text-align: right;
  vertical-align: top;
  position: relative;
  font-weight: 400;
  display: block;
}
footer #navi li {
  display: inline-block;
  margin-bottom: 5px;
}
footer #navi li:not(:last-child) {
  margin-right: 25px;
}
footer #navi li a {
  font-size: 13px;
  font-size: 1.3rem;
  padding: 0 2px 3px 18px;
  color: #fff;
  position: relative;
}
footer #navi li a:before {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  width: 8px;
  height: 8px;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  transition: all 0.3s;
}
footer #navi li a:hover:before {
  left: 4px;
}
footer .copyright {
  font-weight: normal;
  font-size: 11px;
  font-size: 1.1rem;
  text-align: center;
  position: absolute;
  width: 100%;
  height: 70px;
  border-top: 1px solid #fff;
  padding-top: 22px;
  left: 0;
  bottom: 0;
}

@media (max-width: 767px) {
  footer {
    height: auto;
    padding: 6% 6% 4%;
    font-size: 12px;
    font-size: 1.2rem;
  }
  footer .logo-box {
    margin: 2px 0 20px;
    float: none;
  }
  footer .logo-box a {
    margin-bottom: 6px;
  }
  footer .logo-box a img.logo {
    height: 50px;
    width: auto;
  }
  footer .logo-box span {
    font-size: 10.5px;
    font-size: 1.05rem;
    margin-bottom: 0;
  }
  footer .adress {
    display: block;
    float: none;
    line-height: 1.7em;
    margin-bottom: 25px;
  }
  footer .adress span.tel {
    display: inline-block;
  }
  footer .adress span.tel a {
    display: inline-block;
    color: #fff;
  }
  footer #navi {
    text-align: left;
    margin: 20px 0 0;
    display: block;
    overflow: hidden;
  }
  footer #navi li {
    display: inline-block;
    float: left;
    margin-bottom: 8px;
  }
  footer #navi li:not(:last-child) {
    margin-right: 12px;
  }
  footer #navi li a {
    font-size: 11px;
    font-size: 1.1rem;
    padding: 2px 2px 2px 10px;
  }
  footer #navi li a:before {
    top: 8px;
    left: -2px;
    width: 6px;
    height: 6px;
  }
  footer #navi li a:hover:before {
    left: -2px;
  }
  footer #navi.bottom {
    margin: 0 0 35px;
  }
  footer .copyright {
    margin-top: 20px;
    font-size: 10px;
    font-size: 1rem;
    height: 36px;
    padding-top: 8px;
    letter-spacing: 0;
  }
}
@media (max-width: 320px) {
  footer .copyright {
    height: auto;
    line-height: 1.5em;
    padding: 5px 0;
  }
}

/* CSS Document */
* {
  box-sizing: border-box;
}

footer #navi li a:before {
  top: 6px !important;
}

@media (max-width: 767px) {
  footer #navi li a:before {
    top: 8px !important;
  }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  footer {
    min-width: auto !important;
  }
}

.footer {
  padding: 0;
  position: relative;
}

.footer_wrap {
  background-color: #DCF0F4;

  padding: calc(28 / 1366 * 100%) 0 calc(68 / 1366 * 100%) 0;
  /* padding: calc(72 / 1366 * 100%) 0; */
  position: relative;
  /* padding: 66px 0; */
}

@media screen and (max-width: 767px) {
  .footer_wrap {
    padding: calc(23 / 375 * 100%) 0 calc(40 / 375 * 100%) 0;
  }
}


.footer_menu {
  /* width: 200px; */
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}

@media screen and (max-width: 767px) {
  .footer_menu {
    width: 183px;
  }
}

.footer_menu.alone {
  justify-content: center;
}

.footer_menu_link {
  display: block;
  font-size: 16px;
  font-size: 1.6rem;
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
  color: #303542;
  font-weight: bold;
  position: relative;
  padding: 0 20px;
}

/* .footer_menu_link:first-of-type {
  padding-left: 20px;
}

.footer_menu_link:last-of-type {
  padding-right: 20px;
} */

.footer_menu .arrow_prev:before,
.footer_menu .arrow_next:before {
  content: "";
  background-image: url(../img/common/arrow.svg);
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 10px;
  height: 19px;
}

.footer_menu .arrow_next:before {
  left: auto;
  right: 0;
  transform: translateY(-50%) rotate(180deg);
}

.footer .pagetop {
  display: block;
  position: absolute;
  z-index: 10;
  
  /* Vertical Centering logic */
  top: 35%;
  transform: translateY(-50%);
  
  /* Horizontal positioning */
  right: 40px; 
  
  /* Size for PC */
  width: 60px;
  height: 60px;
}

@media screen and (max-width: 767px) {
  .footer .pagetop {
    /* top: 50%; */
    top: 40%;
    transform: translateY(-50%);
    
    right: 15px; 
    
    width: calc(60 / 375 * 100vw);
    height: calc(60 / 375 * 100vw);
    
    /* Optional: prevent it from getting too small/large */
    min-width: 45px;
    max-width: 70px;
  }
}


.footer .pagetop_wrap img {
  vertical-align: top;
  width: 100%;
  height: auto;
}

/* @media screen and (max-width: 767px) {
  .footer .pagetop {
    right: 20px; 
    top: 50%; 
  }
} */

/* @media screen and (max-width: 767px) {
    .footer .pagetop {
        transform: translate(-35%, -30%);
        width: calc(60 / 375 * 100%);
    }
} */


.footer_wrap {
  background-color: #DCF0F4;
  position: relative;
  width: 100%;
}

.footer_wrap::before {
  content: "";
  position: absolute;
  /* top: -35px; */
  top: -68px;
  left: 0;
  width: 100%;
  /* height: 35px; */
  height: 68px; 
  /* background-image: url(../img/common/bgwaves-footer.png); */
  background-image: url(../img/common/bg-waves.png);
  background-repeat: no-repeat;
  background-size: cover;

  background-repeat: repeat-x;
  /* background-size: auto 100%; */
  
  pointer-events: none;
  z-index: 1;
}

@media screen and (max-width: 768px) {
  .footer_wrap::before {
    top: -35px;
    height: 35px;
  }
}



.footer_menu {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2; /* Keeps the link above the wave */
}

/* Fix for the Pagetop button position */
.footer .pagetop {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 3;
}