/* 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 :where(*, *::before, *::after),
.mfooter-support :where(*, *::before, *::after){
  font-family: "Noto Sans JP", sans-serif;
}

.mfooter a[href]{
  transition: opacity 0.22s ease;
}

.mfooter a[href]:where(:hover, :focus-visible){
  opacity: 0.82;
}

.mfooter__btn:where(:hover, :focus-visible, :active){
  opacity: 1;
}

/* Support section above member footer */
.mfooter-support{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: #9fcff5;
  padding: 63px 0 57px;
  font-family: "Noto Sans JP", sans-serif;
}

.mfooter-support .extract-support__title{
  text-align: center;
  color: #fff;
  font-size: 24px;
  letter-spacing: 0.2em;
  font-weight: 400;
  margin: 0 0 25px;
}

.mfooter-support .extract-support__grid{
  max-width: var(--page-w, 1040px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.mfooter-support .extract-support__btn{
  height: 80px;
  background: #fff;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #232aa8;
  letter-spacing: 0.08em;
  position: relative;
  font-size: 16px;
  font-weight: 400;
}

.mfooter-support .extract-support__btn:visited,
.mfooter-support .extract-support__btn:hover,
.mfooter-support .extract-support__btn:focus,
.mfooter-support .extract-support__btn:active{
  color: #232aa8;
  text-decoration: none;
}

.mfooter-support .extract-support__btn::after{
  content: "";
  position: absolute;
  right: 18px;
  width: 7px;
  height: 12px;
  background: url("../img/extract/right_blue.svg") center / contain no-repeat;
}

@media (max-width: 1200px){
  .ph-page .mfooter-support .extract-support__title{
    font-size: 24px;
  }
}

@media (max-width: 1024px){
  .mfooter-support{
    padding: 50px 0 64px;
  }

  .mfooter-support .extract-support__title{
    font-size: 28px;
  }

  .mfooter-support .extract-support__grid{
    grid-template-columns: 1fr;
  }

  .ph-page .mfooter-support .extract-support__grid{
    gap: 12px;
  }

  .ph-page .mfooter-support .extract-support__btn{
    height: 56px;
    font-size: 15px;
  }
}

@media (max-width: 768px){
  .mfooter-support{
    padding: 50px 0 64px;
  }

  .mfooter-support .extract-support__title{
    font-size: 20px;
    margin: 0;
  }

  .mfooter-support .extract-support__grid{
    margin-top: 20px;
    gap: 14px;
    padding: 0 20px;
    box-sizing: border-box;
  }

  .mfooter-support .extract-support__btn{
    height: 56px;
    font-size: 15px;
    letter-spacing: 0.08em;
  }

  .mfooter-support .extract-support__btn::after{
    right: 16px;
  }

  .ph-page .mfooter-support .extract-support__title{
    letter-spacing: 0.08em;
  }
}

.mfooter__inner{
  max-width: 1040px;
  margin: 0 auto;
  padding: 62px 0 0;
  display: grid;
  grid-template-columns: 257px 426px 250px;
  gap: 53px;
  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 0 58px;
  color: #1a1a1a;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-align: right;
}

.mfooter__policy a{
  color: #1a1a1a;
  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: 12px;
    margin: 4px 0 15px;
  }

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

  .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: 16px;
  }

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

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

  .mfooter:not(.mfooter--order) .mfooter__ig{
    display: inline-block;
    width: 56px;
    height: 56px;
    margin-top: 14px;
  }

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

/* Members top legacy footer variant */
.members-top-body .mfooter__btn,
.members-top-body .mfooter__btn:visited,
.members-top-body .mfooter__btn:hover,
.members-top-body .mfooter__btn:focus,
.members-top-body .mfooter__btn:active{
  color: #fff !important;
}

.members-top-body.legacy-member-frame .mfooter{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: #d0bfab;
  color: #2b2b2b;
}

.members-top-body.legacy-member-frame .mfooter__inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 18px 20px;
  display: grid;
  grid-template-columns: 250px 1fr 190px;
  gap: 28px;
}

.members-top-body.legacy-member-frame .mfooter__brand img{
  width: 170px;
  height: auto;
  margin-bottom: 10px;
}

.members-top-body.legacy-member-frame .mfooter__addr p{
  margin: 0 0 4px;
  font-size: 10px;
  line-height: 1.45;
}

.members-top-body.legacy-member-frame .mfooter__ig{
  width: 24px;
  height: 24px;
  margin-top: 10px;
  border-radius: 4px;
  background: #111;
}

.members-top-body.legacy-member-frame .mfooter__cols{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.members-top-body.legacy-member-frame .mfooter__head{
  margin: 0 0 7px;
  font-size: 10px;
  font-weight: 500;
}

.members-top-body.legacy-member-frame .mfooter__links{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
  font-size: 10px;
}

.members-top-body.legacy-member-frame .mfooter__actions{
  display: grid;
  gap: 10px;
}

.members-top-body.legacy-member-frame .mfooter__btn{
  height: 30px;
  background: #4f99df;
  color: #fff;
  border: 1px solid #6aa9e6;
  font-size: 10px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.members-top-body.legacy-member-frame .mfooter__btn::after{
  content: "";
  width: 6px;
  height: 10px;
  background: url("../img/top/arrow_w.svg") center / contain no-repeat;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
}

.members-top-body.legacy-member-frame .mfooter__policy{
  max-width: 1100px;
  margin: 0 auto;
  padding: 8px 18px 12px;
  font-size: 10px;
  text-align: right;
}

.members-top-body.legacy-member-frame .mfooter__bottom{
  background: #232aa8;
  color: #fff;
  text-align: center;
  font-size: 9px;
  padding: 8px 18px;
}

@media (max-width: 980px){
  .members-top-body.legacy-member-frame .mfooter__inner{
    grid-template-columns: 1fr;
  }

  .members-top-body.legacy-member-frame .mfooter__cols{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .members-top-body.legacy-member-frame .mfooter__policy{
    text-align: left;
  }
}

/* Order page legacy footer variant */
.order-body.legacy-member-frame .mfooter{
  background: #f7f4f2;
  color: #333;
  font-family: "Noto Sans JP", sans-serif;
}

.order-body.legacy-member-frame .mfooter :where(*, *::before, *::after){
  box-sizing: border-box;
}

.order-body.legacy-member-frame .mfooter a{
  color: inherit;
  text-decoration: none;
}

.order-body.legacy-member-frame .mfooter__inner{
  max-width: 1440px;
  margin: 0 auto;
  padding: 34px 18px 22px;
  display: grid;
  grid-template-columns: 360px 1fr 260px;
  gap: 34px;
  align-items: start;
}

.order-body.legacy-member-frame .mfooter__brand img{
  width: 220px;
  height: auto;
  display: block;
  margin-bottom: 14px;
}

.order-body.legacy-member-frame .mfooter__addr p{
  margin: 0 0 6px;
  font-size: 12px;
  line-height: 1.5;
}

.order-body.legacy-member-frame .mfooter__cols{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.order-body.legacy-member-frame .mfooter__head{
  font-size: 14px;
  font-weight: 500;
  margin: 0 0 10px;
}

.order-body.legacy-member-frame .mfooter__links{
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 13px;
}

.order-body.legacy-member-frame .mfooter__actions{
  display: grid;
  gap: 14px;
}

.order-body.legacy-member-frame .mfooter__btn{
  height: 52px;
  background: #5aa6e8;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  letter-spacing: 0.10em;
}

.order-body.legacy-member-frame .mfooter__policy{
  max-width: 1440px;
  margin: 0 auto;
  padding: 10px 18px 16px;
  font-size: 12px;
  text-align: right;
}

.order-body.legacy-member-frame .mfooter__bottom{
  background: #232aa8;
  color: #fff;
  text-align: center;
  font-size: 12px;
  padding: 12px 18px;
}

@media (max-width: 980px){
  .order-body.legacy-member-frame .mfooter__inner{
    grid-template-columns: 1fr;
  }

  .order-body.legacy-member-frame .mfooter__policy{
    text-align: left;
  }
}
