/* member-footer.css: Member footer only */

.mfooter{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: #F9F7F4;
  color: #1a1a1a;
  font-family: "Noto Sans JP", sans-serif;
}

.mfooter__inner{
  max-width: 1040px;
  margin: 0 auto;
  padding: 62px 20px 0px;
  display: grid;
  grid-template-columns: 233px 426px 250px;
  gap: 68px;
  align-items: start;
}

.mfooter__brand img{
  width: 242px;
  height: auto;
  margin-bottom: 16px;
}

.mfooter__addr p{
  margin: 0 0 5px;
  font-size: 14px;
  line-height: 1.36;
}

.mfooter__addr{
  font-weight: 300;
}

.mfooter__ig{
  display: inline-block;
  width: 60px;
  height: 60px;
  margin-top: 12px;
  border-radius: 6px;
  background: url("../../footer_insta_icon.svg") center / contain no-repeat;
}

.mfooter__cols{
  display: grid;
  grid-template-columns: 244px 124px;
  gap: 58px;
}

.mfooter__group{
  min-width: 0;
}

.mfooter__split{
  display: grid;
  width: 244px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 22px;
  align-items: start;
}

.mfooter__split > .mfooter__links{
  margin: 0;
  padding-top: 2px;
  padding-bottom: 2px;
}

.mfooter__group--public .mfooter__head{
  width: 213px;
}

.mfooter__group--member .mfooter__head{
  width: 124px;
}

.mfooter__group--member{
  margin-left: -12px;
}

.mfooter__group--member .mfooter__links{
  width: 124px;
  font-size: 13px;
}

.mfooter__head{
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #c9c9c9;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
}

.mfooter__links{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
}

.mfooter__links li{
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.mfooter__links li::before{
  content: "・";
  line-height: 1.35;
}

.mfooter__links a{
  color: inherit;
  text-decoration: none;
}

.mfooter__links a:hover,
.mfooter__links a:focus,
.mfooter__links a:active{
  text-decoration: none;
}

.mfooter--order .mfooter__cols{
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.mfooter__actions{
  display: grid;
  gap: 12px;
}

.mfooter__btn{
  height: 48px;
  background: #3fa6f2;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-decoration: none;
}

.mfooter__btn:visited,
.mfooter__btn:hover,
.mfooter__btn:focus,
.mfooter__btn:active{
  color: #fff;
  text-decoration: none;
}

.mfooter__btn::after{
  content: "";
  width: 8px;
  height: 8px;
  border-right: 1px solid #fff;
  border-top: 1px solid #fff;
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.mfooter__policy{
  max-width: 1040px;
  margin: -25px auto 0;
  padding: 0 20px 58px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-align: right;
}

.mfooter__policy a{
  text-decoration: none;
}

.mfooter__policy a:hover,
.mfooter__policy a:focus,
.mfooter__policy a:active{
  text-decoration: none;
}

.mfooter__bottom{
  background: #232aa8;
  color: #fff;
  text-align: center;
  font-size: 12px;
  height: 40px;
  line-height: 40px;
  padding: 0 18px;
}

@media (max-width: 980px){
  .mfooter__inner{
    padding: 36px 20px 26px;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .mfooter__cols{
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .mfooter__split{
    width: auto;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .mfooter__group--public .mfooter__head,
  .mfooter__group--public .mfooter__links,
  .mfooter__group--member .mfooter__head,
  .mfooter__group--member .mfooter__links{
    width: auto;
  }

  .mfooter__group--member{
    margin-left: 0;
  }

  .mfooter__head{
    font-size: 16px;
    margin-bottom: 10px;
    padding-bottom: 6px;
  }

  .mfooter__links{
    gap: 6px;
    font-size: 14px;
  }

  .mfooter__addr p{
    font-size: 14px;
    margin-bottom: 4px;
  }

  .mfooter__brand img{
    width: 180px;
    margin-bottom: 12px;
  }

  .mfooter__ig{
    width: 56px;
    height: 56px;
    margin-top: 12px;
  }

  .mfooter__btn{
    height: 52px;
    font-size: 16px;
  }

  .mfooter__btn::after{
    right: 20px;
  }

  .mfooter__policy{
    max-width: 1080px;
    padding: 0 20px 28px;
    font-size: 14px;
    text-align: left;
  }

  .mfooter__bottom{
    font-size: 12px;
    height: 40px;
    line-height: 40px;
    padding: 0 16px;
  }
}

@media (max-width: 767px){
  .mfooter:not(.mfooter--order){
    padding-top: 46px;
  }

  .mfooter:not(.mfooter--order) .mfooter__inner{
    padding: 0 20px 30px;
    gap: 18px;
  }

  .mfooter:not(.mfooter--order) .mfooter__actions{
    order: 1;
    gap: 30px;
    margin: 4px 0 15px;
  }

  .mfooter:not(.mfooter--order) .mfooter__btn{
    min-height: 56px;
    height: auto;
    font-size: 14px;
    padding: 10px 40px 10px 16px;
  }

  .mfooter:not(.mfooter--order) .mfooter__btn::after{
    right: 22px;
  }

  .mfooter:not(.mfooter--order) .mfooter__brand{
    order: 2;
    display: grid;
    justify-items: center;
    text-align: center;
    margin-top: 2px;
  }

  .mfooter:not(.mfooter--order) .mfooter__brand img{
    width: 227.7px;
    margin-bottom: 20px;
  }

  .mfooter:not(.mfooter--order) .mfooter__addr,
  .mfooter:not(.mfooter--order) .mfooter__ig,
  .mfooter:not(.mfooter--order) .mfooter__cols{
    display: none;
  }

  .mfooter:not(.mfooter--order) .mfooter__policy{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    text-align: center;
    font-size: 12px;
    padding-top: 14px;
    padding-bottom: 18px;
    margin-top: 0;
  }

  .mfooter:not(.mfooter--order) .mfooter__policy span:first-child,
  .mfooter:not(.mfooter--order) .mfooter__policy span:last-child{
    display: none;
  }

  .mfooter:not(.mfooter--order) .mfooter__policy span{
    margin: 0 8px;
  }

  .mfooter:not(.mfooter--order) .mfooter__bottom{
    font-size: 12px;
    line-height: 1.4;
    height: auto;
    padding: 12px 20px;
  }
}
