footer {
  position: relative;
}

.spacer {
  width: 100%;
  height: 100%;
  aspect-ratio: 1289 / 140;
}

@media screen and (max-width: 600px) {
  .spacer {
    aspect-ratio: 375/ 71;
  }
}

.footer-main-img {
  width: 100%;
  display: block;
  position: absolute;
  top: 0;
}

@media screen and (max-width: 600px) {
  .footer-main-img {
    content: url(../img/footer_main_img_sp.png);
  }
}

.footer-tel-mail {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 100%;
}

@media screen and (max-width: 600px) {
  .footer-tel-mail {
    bottom: 0;
    position: fixed;
    z-index: 900;
  }
}

.footer-cta-btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-decoration: none;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  height: 140px;
  gap: 10px;
}

.footer-cta-btn.tel {
  background-color: #c1d72e;
}

.footer-cta-btn.mail {
  background-color: #8cba71;
}

.footer-cta-btn h4 {
  color: #fff;
  font-size: clamp(20px, calc(1.25rem + ((1vw - 6px) * 2)), 28px);
}

.footer-tel-mail .footer-cta-btn .footer-cta-btn-inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.footer-cta-btn img {
  width: 44px;
  height: 44px;
}

@media screen and (max-width: 600px) {
  .footer-cta-btn {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 5px;
    padding: 12px 0;
    height: auto;
  }
  .footer-tel-mail .footer-cta-btn .footer-cta-btn-inner {
    height: 18px;
  }
  .footer-cta-btn img {
    width: 22px;
    height: 22px;
  }
  .footer-tel-mail .footer-cta-btn img.open-icon {
    width: 18px;
    height: 18px;
    margin-left: 4px;
  }
  .footer-cta-btn h4 {
    font-size: 12px;
    line-height: 1.1;
  }
}

.footer-memu-background {
  background-color: #faffed;
  padding: 80px 0 32px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

@media screen and (max-width: 900px) {
  .footer-memu-background {
    padding: 56px 0 24px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
}

@media screen and (max-width: 600px) {
  .footer-memu-background {
    padding: 40px 0 20px;
  }
}

.footer-menu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  width: 100%;
}

@media screen and (max-width: 900px) {
  .footer-menu {
    display: none;
  }
}

.footer-menu-sp {
  display: none;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

@media screen and (max-width: 900px) {
  .footer-menu-sp {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    gap: 30px;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 0 32px;
  }
}

@media screen and (max-width: 600px) {
  .footer-menu-sp {
    padding: 0 16px 70px;
  }
}

.footer-menu-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  width: 100%;
  max-width: 1190px;
  margin: 0 auto 60px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

@media screen and (max-width: 1200px) {
  .footer-menu-list {
    padding: 40px;
  }
}

@media screen and (max-width: 900px) {
  .footer-menu-list {
    padding: 24px;
  }
}

@media screen and (max-width: 600px) {
  .footer-menu-list {
    padding: 16px;
  }
}

.footer-menu-title-icon {
  width: 16px;
}

@media screen and (max-width: 900px) {
  details .footer-menu-text {
    padding-left: 24px;
  }
}

.footer-menu-text {
  padding-left: 30px;
}

.footer-menu-text a {
  display: block;
  line-height: 1.87;
  text-decoration: none;
}

@media screen and (max-width: 900px) {
  .footer-menu-text {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 20px;
    margin: 4px 0 8px;
    padding-left: 0;
  }
}

.footer-icon-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding-left: 30px;
}

.footer-menu-sns-icon-facebook {
  width: 35px;
  height: 35px;
}

.footer-menu-sns-icon-x {
  width: 27px;
  height: 27px;
  padding-left: 12px;
}

.footer-page-link {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  text-align: left;
  -webkit-column-gap: 32px;
  column-gap: 32px;
  row-gap: 4px;
  margin-bottom: 8px;
}

.footer-page-link-text {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.06em;
}

.footer-page-link-text a {
  text-decoration: none;
}

@media screen and (max-width: 600px) {
  .footer-page-link-text {
    font-size: 13px;
  }
}

.footer-sub-menu {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 320px;
  grid-template-columns: 1fr 320px;
  padding-top: 60px;
  border-top: 1px solid #e7e7e7;
}

@media screen and (max-width: 900px) {
  .footer-sub-menu {
    -ms-grid-columns: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
    row-gap: 8px;
    -webkit-column-gap: 4px;
    column-gap: 4px;
    padding-top: 32px;
    border-top: none;
  }
}

@media screen and (max-width: 600px) {
  .footer-sub-menu {
    padding-top: 20px;
  }
}

.footer-recruit-info {
  position: relative;
  width: 320px;
}

@media screen and (max-width: 900px) {
  .footer-recruit-info {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    width: 100%;
  }
}

.footer-recruit-info-img {
  width: 100%;
  height: 80px;
}

@media screen and (max-width: 900px) {
  .footer-recruit-info-img {
    width: 100%;
    height: auto;
  }
}

.footer-recruit-info-text {
  position: absolute;
  color: #fff;
  bottom: 0;
  background-color: #c1d72e;
  text-align: center;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-decoration: none;
}

.footer-recruit-info-text img {
  width: 20px;
}

@media screen and (max-width: 900px) {
  .footer-recruit-info-text {
    height: 21px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.46px;
    letter-spacing: 0.06em;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
  }
  .footer-recruit-info-text img {
    width: 14px;
    margin-right: 6px;
  }
}

.footer-recruit-info-img-arrow {
  position: absolute;
  right: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  padding: 6px 6px 6px 0px;
}

.footer-company-icon-group {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-top: 100px;
}

.footer-company-icons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  row-gap: 16px;
}

.footer-company-icons-text {
  margin-right: 38px;
}

.footer-company-groupicon {
  width: 225px;
  margin-right: 20px;
}

.footer-company-senioricon {
  width: 380px;
}

.company_logo-sp,
.footer-menu-sp-type {
  display: none;
}

.footer-company-tag-sp {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  height: 38px;
  font-size: 13px;
  font-weight: 400;
  line-height: 38px;
  letter-spacing: 0.06em;
  text-align: center;
}

.footer-menu-parts-sp {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
}

.footer-menu-list-sp {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
}

@media screen and (max-width: 900px) {
  .company_logo-sp {
    width: 263px;
    height: 62.26px;
    top: 3009px;
    left: 56px;
    gap: 0px;
    opacity: 0px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin: 0px 56px 19.74px;
  }
  .company_logo-sp div {
    /* width: 82px; */
    height: 19px;
    top: 3009px;
    left: 146px;
    gap: 0px;
    opacity: 0px;
    margin-bottom: 10px;
  }
  .company_logo-sp img {
    width: 263px;
    height: auto;
    top: 3037.66px;
    left: 56px;
    padding: 0px;
    gap: 0px;
    opacity: 0px;
  }
  .footer-menu-containar {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    gap: 30px;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
  .footer-menu-parts-sp {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .footer-menu-parts-sp details {
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
  }
  .footer-menu-parts-sp details .footer-menu-title {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 9px;
  }
  .footer-menu-parts-sp details .footer-menu-title h4 {
    font-size: 15px;
    line-height: 2.53;
  }
  .footer-menu-parts-sp details .footer-menu-title img {
    width: 14px;
  }
  .footer-menu-parts-sp details .footer-menu-title::marker {
    display: none;
  }
  .footer-menu-sns-icon-x,
  .footer-menu-sns-icon-facebook {
    width: 24px;
    height: 24px;
  }
  .footer-page-link,
  .footer-company-icons {
    display: none;
  }
  .footer-company-tag-sp {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin: 0px 0px 10px;
  }
  .footer-plan-text {
    width: 100%;
    font-size: clamp(12px, calc(0.75rem + ((1vw - 6px) * 1)), 15px);
    font-weight: 400;
    line-height: 1.83;
    letter-spacing: 0.06em;
    text-align: left;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin: 20px 16px 0px;
  }
}

.footer-plan-text a {
  text-decoration: none;
}

.small-text-link {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 4px;
}

.small-text-link img {
  width: 14px;
  height: 14px;
}
