
.link-box {
  position: relative;
  overflow: hidden;
}
.link-box__inner {
    width: 80%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 12rem 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 120px;
}
@media screen and (max-width: 640px) {
  .link-box__inner {
    width: 90%;
  }
}
.link-box__row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 20px;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
}
@media screen and (max-width: 640px) {
  .link-box__row {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}
.link-box__item {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  text-align: center;
}
.link-box__header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  gap: min(3vw,24px);
  margin-bottom: 16px;
}
.link-box__ttl {
  margin: 0;
  font-size: clamp(2rem, 1.059rem + 4.71vw, 4rem);
  color: #2659AE;
    line-height: 1;
}
.link-box__subttl {
  margin: 4px 0 0;
  font-weight: bold;
  color: #2659AE;
    line-height: 1;
}
.link-box__img {
  width: 100%;
}
.link-box__img > img {
  height: 100%;
  aspect-ratio: 2/1;
  -o-object-fit: cover;
     object-fit: cover;
}
@media screen and (max-width: 640px) {
  .link-box__contact-btn {
    width: 100%;
  }
}
.link-box::before,
.link-box::after {
  content: "";
  position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 65%;
}
.link-box::before{
  z-index: -2;
background: url(../../img/common/bg_yonago.webp) no-repeat center / cover;
    
}
.link-box::after {
    background-color: #2659AE;
    z-index: -1;
    opacity: 0.4;
}
@media screen and (max-width: 640px) {
 .link-box::before,
.link-box::after {
    height: 56%;
  }
}

.link-contact {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  width: 100%;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  padding: 4rem 4.8rem;
  background-color: #2659AE;
}
@media screen and (max-width: 1000px) {
  .link-contact {
    padding: 4%;
  }
}
@media screen and (max-width: 640px) {
  .link-contact {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 20px;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
  }
}
.link-contact__ttl {
  font-size: clamp(2.25rem, 1.309rem + 4.71vw, 4.25rem);
  color: #ffffff;
    line-height: 1;
}
.link-contact__subttl {
  margin: 4px 0 0;
  font-weight: bold;
  font-size: 1rem;
  color: #ffffff;
}
.link-contact__text {
  margin-top: 12px;
  font-size: clamp(14px, 0.397rem + 1.76vw, 1.5rem);
  line-height: 1.6;
  color: #ffffff;
}


.footer__inner {
  width: 80%;
  max-width: 1000px;
  margin: 0 auto;
}

.footer-company {
  padding: 6.4rem 0;
}
.footer-company__rogo {
  max-width: 240px;
}
.footer-company__col {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 24px;
  font-size: 1.6rem;
}
@media screen and (max-width: 1000px) {
  .footer-company__col {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}
.footer-company__left {
  width: 30%;
}
@media screen and (max-width: 1000px) {
  .footer-company__left {
    width: 100%;
    text-align: center;
  }
}
.footer-company__right {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  row-gap: 32px;
  width: 64%;
}
@media screen and (max-width: 1000px) {
  .footer-company__right {
    width: 100%;
      text-align: center;
  }
}
.footer-company__content {
  font-size: clamp(14px, 0.456rem + 1.47vw, 1.375rem);
}
.footer-company__info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  gap: 8px;
}
@media screen and (max-width: 1000px) {
  .footer-company__info {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}
.footer-company__contact {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 16px;
  white-space: nowrap;
}

.footer-bottom {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  padding: 6.4rem 0;
  text-align: center;
}
@media screen and (max-width: 1000px) {
  .footer-bottom {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    row-gap: 40px;
  }
}

.footer-nav__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 16px;
  font-size: 1.4rem;
}
footer .menu-item {
  position: relative;
  padding: 0 8px;
}
footer .menu-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  width: 1px;
  height: 1em;
  background-color: currentColor;
  opacity: 0.4;
}

.footer-copy {
  font-size: clamp(14px, 0.574rem + 0.88vw, 1.125rem);
}