/* header */

.nav_follow {
  width: 100%;
  position: fixed;
  z-index: 100;
  padding: 15px;
  box-sizing: border-box;
  top: 0;
  height: 4rem;
  border-image-slice: 1;
}

.nav_follow .logo img {
  width: 100%;
  height: auto;
}

.nav_follow .logo {
  width: 48px;
  display: block;
}

/*hamburgermenuハンバーガー***************************************/
/*クリックされていないときのボタン*/
.toggle {
  position: fixed;
  /* bodyに対しての絶対位置指定 */
  right: 8px;
  top: 12px;
  width: 45px;
  height: 39px;
  cursor: pointer;
  z-index: 1002;
}

.toggle span {
  display: block;
  position: absolute;
  /* .toggleに対して */
  width: 70%;
  -webkit-transition: 0.35s ease-in-out;
  -moz-transition: 0.35s ease-in-out;
  transition: 0.35s ease-in-out;
  padding-top: 5px;
  right: 7px;
}

.toggle span:nth-child(1) {
  top: 0;
}

.toggle span:nth-child(2) {
  top: 13px;
}

.toggle span:nth-child(3) {
  top: 26px;
}

.toggle span:nth-child(4) {
  border: none;
  top: 28px;
  left: 5px;
  font-size: 12px;
  font-weight: bold;
}

/*クリックされたときのボタン*/
/* 最初のspanをマイナス45度に */
.toggle.active span:nth-child(1) {
  top: 15px;
  left: 2px;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

/* 2番目と3番目のspanを45度に */
.toggle.active span:nth-child(2),
.toggle.active span:nth-child(3) {
  top: 15px;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  transform: rotate(45deg);
}

.global_nav_sp {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  transform: translateX(100%);
  z-index: 1001;
  text-align: center;
  transition: all 0.8s;
  opacity: 1;
  padding: 0 0 10px 0;
  height: 100vh;
}

.global_nav_sp.active {
  width: 100%;
  transform: translateX(0%);
}

.global_nav_sp ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, 48%);
  grid-gap: 10px;
  justify-content: center;
  padding: 65px 0 0 0;
}

.global_nav_sp ul li {
  width: 100%;
  list-style-type: none;
  box-sizing: border-box;
}

.global_nav_sp ul li a {
  display: block;
  padding: 10px 0;
  display: block;
}

.global_nav_sp a span {
  display: block;
}

.global_nav_sp .credit {
  width: 80%;
  margin: 0 auto;
  max-width: 400px;
}

.global_nav_sp .credit img {
  width: 100%;
  height: auto;
  padding: 1rem 0 0;
}

.global_nav_sp .sns {
  display: grid;
  grid-template-columns: repeat(auto-fit, 25px);
  grid-gap: 10px;
  justify-content: center;
  padding: 10px 0;
  /* display: none; */
}

.fix-header {
  top: 0;
  left: 0;
  position: fixed;
  opacity: 1;
  z-index: 1000;
  width: 100%;
}

@media screen and (min-width: 640px) {
  .nav_follow {
    padding: 0.42rem 0 0 !important;
    height: 5.5rem;
  }
  .nav_follow div {
    display: flex;
    align-items: center;
  }
  .nav_follow .logo {
    width: 160px;
    display: block;
    box-sizing: border-box;
    margin: 0 auto 0 1rem;
  }
  .global-nav {
    display: none;
  }

  .nav_follow .btn_tel {
    display: flex;
    flex-direction: column;
    margin: 0 0 0 auto;
  }
  .nav_follow .btn_tel a {
    font-size: 25px;
    font-weight: 400;
    line-height: 1;
    text-align: center;
    padding-top: 0.2rem;
    color: #0abab5;
  }

  .nav_follow .btn_tel em {
    font-style: normal;
    font-size: 12px;
    text-align: center;
  }
  .btn-set-size {
    font-size: 12px !important;
    line-height: 0.84;
    margin-top: 0.55rem;
  }

  .nav_follow .head_btn {
    margin: 0 5rem 0 1rem;
  }

  .nav_follow .head_btn a {
    display: block;
    text-align: center;
    font-size: 14px;
    padding: 13px 4px;
    width: 120px;
    box-sizing: border-box;
  }

  .nav_follow .head_btn a span {
    display: block;
    font-family: "Jost", sans-serif;
    font-size: 12px;
  }
}

@media screen and (min-width: 768px) {
  .fix-header {
    top: -66px;
    left: 0;
    position: fixed;
    /* opacity: 0; */
    z-index: 1000;
    width: 100%;
  }
}

@media screen and (min-width: 1381px) {
  .toggle {
    display: none;
  }

  .global-nav {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    width: 60%;
  }

  .nav_follow .btn_tel.pc {
    width: 19%;
  }
  .global-nav_list {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    /* flex-wrap: wrap; */
    width: 100%;
    margin: 0 auto 0 0;
  }
  .global-nav_list li {
    padding: 0 1.2%;
  }

  .global-nav_list a {
    display: block;
    font-size: 14px;
    width: max-content;
    text-align: center;
    color: #0abab5;
  }

  .global-nav_list a span {
    display: block;
    font-size: 11px;
    color: #0abab5;
  }
  .nav_follow .head_btn {
    margin: 0 0.5rem;
    /* margin: 0 1rem 0 0; */
  }
}

/*footer */

footer {
  padding: 0 0 85px 0;
}

footer .inner {
  padding: 30px 0 0 0;
  margin: 0 auto;
}

footer .logo {
  width: 240px;
  margin: 15px auto 0 auto;
  display: block;
  margin-bottom: 2rem;
}

footer .logo img {
  width: 100%;
  height: auto;
}

footer .sns {
  display: flex;
  justify-content: center;
  margin: 25px 0;
  /* display: none; */
}

footer .sns li {
  width: 26px;
  margin: 0 5px;
}

footer ul.foot_navi_list {
  display: grid;
  grid-template-columns: repeat(auto-fit, 48%);
  justify-content: space-between;
  text-align: center;
  grid-gap: 4px 0;
}

footer ul.foot_navi_list li span {
  display: none;
}

@media screen and (max-width: 640px) {
  footer ul.foot_navi_list li {
    display: flex;
    width: 67%;
    margin: 0 auto;
  }
}
footer ul.foot_navi_list a {
  /* text-decoration: underline;
  text-decoration-skip-ink: none; */
}

@media screen and (max-width: 640px) {
  .foot_navi_list {
    width: 90%;
    margin: 4rem auto 2rem;
  }
  .foot_navi_list a::before {
    content: "▶";
    margin-right: 2px;
    margin-bottom: 2px;
    text-decoration-skip-ink: none;
  }
}
@media screen and (min-width: 640px) {
  footer ul.foot_navi_list {
    display: flex;
    grid-template-columns: max-content;
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
  }

  footer ul.foot_navi_list li {
    padding: 0px 10px;
  }
  footer ul.foot_navi_list li:first-child {
    border: none;
  }
}

footer small {
  text-align: center;
  width: 100%;
  display: block;
  padding: 15px 0 45px 0;
  box-sizing: border-box;
  margin: 0 auto;
}

.f-hours {
  display: grid;
  grid-template-columns: repeat(auto-fit, 50%);
  text-align: center;
  position: fixed;
  bottom: 69px;
  width: 100%;
  padding: 5px 0;
  z-index: 100;
}

.foot_navi {
  display: grid;
  grid-template-columns: repeat(auto-fit, 25%);
  text-align: center;
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 100;
}

.foot_navi li {
  height: 70px;
}

.foot_navi li a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 12px;
  height: 70px;
}

.foot_navi li a img {
  height: 20px;
  width: auto;
}

@media screen and (min-width: 640px) {
  p.btn_totop.pc {
    position: fixed;
    right: 0;
    bottom: 0;
  }

  p.btn_totop.pc a {
    padding: 15px 15px;
    display: block;
    cursor: pointer;
    line-height: 1;
  }
}
