@charset 'UTF-8';

.footerFixed {
  background: #fff;
  bottom: 0;
  box-shadow: 0 0 6px #c5c5c5;
  display: none;
  position: fixed;
  height: 64px;
  width: 100%;
  z-index: 9999;
  /* 領域で指定されていることがあるので打ち消し */
  font-feature-settings: 'palt' 0;
}

@media screen and (max-width: 767px) {
  .footerFixed {
    box-shadow: 0 0px 8px #9c9c9c;
    line-height: 1.5;
    height: 65px;
  }
}

@media screen and (min-width: 768px) {
  .footerFixed.sp {
    display: none !important;
  }
}

.footerFixed * {
  box-sizing: border-box;
}

@media screen and (min-width: 768px) {
  .footerFixed--minimum .footerFixed__button {
    max-width: 460px;
  }
}
@media screen and (max-width: 767px) {
  .footerFixed--minimum .footerFixed__button {
    justify-content: center;
  }
}

.footerFixed__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.footerFixed__entryArea {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin: 0 auto;
}

@media screen and (min-width: 768px) {
  .footerFixed__entryArea {
    width: 95%;
    /* width: 100%; */
    max-width: 1000px;
  }
}

@media screen and (min-width: 768px) and (max-width: 820px) {
  .footerFixed__entryArea .footerFixed__anchor {
    font-size: 14px;
  }
  .footerFixed__entryArea .footerFixed__anchorArrow {
    width: 18px;
    height: 18px;
  }
  .footerFixed__entryArea .footerFixed__anchorArrow::before {
    width: 5px;
    height: 5px;
  }
  .footerFixed__entryArea .footerFixed__button {
    /* font-size: 14px; */
  }
}

@media screen and (max-width: 767px) {
  .footerFixed__entryArea {
    flex-direction: row-reverse;
    max-width: 350px;
    /* margin: 0 auto; */

    width: 95%;
    gap: 5%;
  }
}

/* header_fixedと共通 */
.footerFixed__button {
  /* max-width: 340px; */
  /* width: 100%; */

  position: relative;
  display: flex;
  align-items: center;
  /* justify-content: center; */
  /* height: 100%; */
  padding-right: 20px;
  border-radius: 10px;
  box-shadow: 0px 3px 12px rgba(0, 0, 0, 0.16);
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  /* line-height: 45px; */
  background: #d10042;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  transition: all .2s;
}
.footerFixed__button:hover {
  text-decoration: none;
}

@media screen and (min-width: 768px) {
  .footerFixed__button {
    justify-content: center;
    max-width: 340px;
    width: 100%;
    line-height: 45px;
  }

  .footerFixed__button::before {
    content: "";
    background: rgba(255, 255, 255, .15);
    transform: rotate(-45deg);
    position: absolute;
    top: -10%;
    left: -100%;
    transition: .5s ease-in-out;
    height: 100%;
    width: 110%;
  }

  /* .footerFixed__button::after {
    content: "";
    width: 8px;
    height: 8px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%) rotate(45deg);
  } */

  .footerFixed__button:hover {
    transform: scale(1.05);
    transition: all .2s;
    text-decoration: none;
  }

  .footerFixed__button:hover:before {
    left: 80%;
  }
}

@media screen and (max-width: 767px) {
  .footerFixed__button {
    /* width: 67%; */

    /* width: auto; */
    /* height: 40px; */
    font-size: 13px;
    padding-right: 10px;
    border-radius: 6px;
    box-shadow: 1px 1px 4px rgba(109, 109, 109, 0.6);
    /* line-height: 25.5px; */

    width: 100%;
  }
}

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

.footerFixed__buttonText--bgWhite {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 20px;
  margin-right: 12px;
  padding: 3px 9px;
  border-radius: 10px;
  background: #fff;
  font-size: 10px;
  font-weight: bold;
  line-height: 25.5px;
  color: #d10042;

  flex-shrink: 0;
}

@media screen and (min-width: 768px) {
  .footerFixed__buttonText--bgWhite {
    padding: 0 9px;
  }
}

@media screen and (max-width: 767px) {
  .footerFixed__buttonText--bgWhite {
    height: 27px;
    margin-right: 11px;
    padding: 1px 6px;
    border-radius: 5px;
    font-size: 10px;
    line-height: 11px;
    letter-spacing: 0.06em;

    margin-top: 6px;
    margin-bottom: 6px;
    margin-left: 6px;

    /* @include mq(sxs) { */
      /* width: 32px; */
      /* height: 32px; */
      /* margin-right: 3%; */
      /* padding: 1px 0 0 1px; */
    /* } */
  }
}
/* /header_fixedと共通 */

.footerFixed__anchorOuter {
  display: flex;
  align-items: center;
  width: auto;
}

.footerFixed__anchor {
  position: relative;
  padding: 0 50px 0 0;
  font-weight: bold;
  font-size: 16px;
  transition: opacity .3s;
  text-decoration: none;

  flex-shrink: 0;
  color: #000;
}

.footerFixed__anchor:hover {
  opacity: 0.8;
  text-decoration: none;
}

.footerFixed__anchor:nth-of-type(2) {
  margin-left: 15px;
}

.footerFixed__anchor::after {
  content: "";
  width: 100%;
  height: 2px;
  background-color: #005eab;
  position: absolute;
  bottom: -11px;
  left: 0;
}

@media screen and (max-width: 767px) {
  .footerFixed__anchor {
    padding: 0 25px 3px 0;
    font-size: 14px;
    line-height: 18px;
  }

  .footerFixed__anchor::after {
    bottom: 0;
  }
}

.footerFixed__anchorColored {
  color: #005eab;
}

.footerFixed__anchorArrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 15px;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #005eab;
  border: 1px solid #005eab;
}

.footerFixed__anchorArrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border: 0;
  position: absolute;
  top: 50%;
  left: 45%;
  transform: translate(-50%, -50%) rotate(45deg);
  border-top: solid 1px #005eab;
  border-right: solid 1px #005eab;
}

@media screen and (max-width: 767px) {
  .footerFixed__anchorArrow {
    width: 18px;
    height: 18px;
  }

  .footerFixed__anchorArrow::before {
    width: 5px;
    height: 5px;
  }
}

/* TOP */
.footerFixed__entryArea--top {
  gap: 8px;
}
.footerFixed__entryArea--top .footerFixed__button {
  height: 40px;
}
.footerFixed__entryArea--top .footerFixed__button--blue {
  justify-content: center;
  width: 44%;
  padding-right: 0;
  background-color: #005eab;
  line-height: 1.2;
}

/* 領域別色指定 */
/* it */
.footerFixed--it .footerFixed__anchor::after {
  background-color: #005eab;
}

.footerFixed--it .footerFixed__anchorColored {
  color: #005eab;
}

.footerFixed--it .footerFixed__anchorArrow {
  color: #005eab;
  border-color: #005eab;
}

.footerFixed--it .footerFixed__anchorArrow::before {
  border-top-color: #005eab;
  border-right-color: #005eab;
}

/* maker */
.footerFixed--maker .footerFixed__anchor::after {
  background-color: #3fb284;
}

.footerFixed--maker .footerFixed__anchorColored {
  color: #3fb284;
}

.footerFixed--maker .footerFixed__anchorArrow {
  color: #3fb284;
  border-color: #3fb284;
}

.footerFixed--maker .footerFixed__anchorArrow::before {
  border-top-color: #3fb284;
  border-right-color: #3fb284;
}
