/* header */

.nav_follow {
    width: 100%;
    position: fixed;
     z-index: 100;
    background: rgba(255,255,255,0.8);
    padding: 15px;
    box-sizing: border-box;
    top: 0;
    height: 4rem;
    /* border-bottom: 2px solid #000; */
    /* border-image: linear-gradient(to top, #0053c5 78%, #cff0f7 100%); */
    border-image-slice: 1;
}

.nav_follow .logo img {
    width: 100%;
    height: auto;
}

.nav_follow .logo {
  width: 35%;
  display: block;
}


/*hamburgermenuハンバーガー***************************************/
/*クリックされていないときのボタン*/
.toggle {
  position: fixed;
  /* bodyに対しての絶対位置指定 */
 right: 15px;
  top: 16px;
  width: 45px;
    height: 39px;
    cursor: pointer;
    z-index: 1002;
    /* background: rgba(255,255,255,0.7); */
}

.toggle span {
  display: block;
  position: absolute;
  /* .toggleに対して */
  width: 70%;
  border-bottom: solid 1px #000;
  -webkit-transition: .35s ease-in-out;
  -moz-transition: .35s ease-in-out;
  transition: .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;
  color: #454545;
  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: 28px;
    font-weight: 400;
    line-height: 1;
    text-align: center;
    padding-top: 0.2rem;
}

.nav_follow .btn_tel em{
    font-style: normal;
    font-size: 12px;
    text-align: center;
}
.btn-set-size{
  font-size: 13px!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: 0.8vw;
        width: max-content;
        text-align: center;
    }

    .global-nav_list a span{
        display: block;
        /* font-family: 'Jost', sans-serif; */
    }
    .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:90%;
    max-width: 498px;
    margin: 15px auto 60px auto;
    display: block;
    margin-bottom: 4rem;

}

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; */
  color:#212121;
}


@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;
    border-left: 1px solid #bbb;
    }
    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: absolute;
    bottom: 0;
    width: 100%;
    padding: 5px 0;
    z-index: 100;
}


.foot_navi {
    display: grid;
    justify-content: space-between;
    grid-template-columns:repeat(auto-fit,24% 24% 24% 24%);
    text-align: center;
    position: fixed;
    bottom: 0.25rem;
    width: 100%;
    z-index: 100;
    padding: 0.25rem;
    box-sizing: border-box;
}


.foot_navi li{
    /* height: 70px; */
    border-radius: 0.25rem;
    /* padding: 0.25rem; */
}
.foot_navi li:first-child{
background: #e3297fe3;
}
.foot_navi li:nth-of-type(2){
background:#efb955e3;
}
.foot_navi li:nth-of-type(3){
background: #22a6e3e3;
}
.foot_navi li:nth-of-type(4){
background:#ff62b8e3;
}

.foot_navi li a{
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 12px;
        height: 66px;
}

.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;
    }
}
