@charset "utf-8";

.info__cards {
  overflow: hidden;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@media screen and (min-width: 768px) {
  .info__cards {
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
  }
}

.info__card {
  width: 100%;
  position: relative;
}

.info__card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(../images/info-bg.png) no-repeat center center / cover;
  pointer-events: none;
  z-index: 1;
}

.info__card-image {
  aspect-ratio: 455 / 400;
  width: 100%;
  height: auto;
  overflow: hidden;
}

@media screen and (min-width: 768px) {
  .info__card-image {
    aspect-ratio: 455/530;
  }
}

.info__card-image img {
  aspect-ratio: 455 / 400;
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
  transition: all 0.7s ease;
}

@media screen and (min-width: 768px) {
  .info__card-image img {
    aspect-ratio: 455/530;
  }
}

.info__card:hover .info__card-image img {
  transform: scale(1.1);
}

.info__card-heading {
  position: absolute;
  left: 11%;
  width: 82%;
  bottom: 46px;
  z-index: 2;
  color: var(--color-white);
  padding-right: 31%;
  display: inline-block;
}

.info__card-heading::before,
.info__card-heading::after {
  content: "";
  position: absolute;
  top: 59%;
  transform: translateY(-50%);
}

.info__card-heading::before {
  background: var(--color-white);
  right: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

@media screen and (min-width: 1000px) {
  .info__card-heading::before {
    width: 60px;
    height: 60px;
  }
}

.info__card:hover .info__card-heading::before {
  background-color: #333;
}

.info__card-heading::after {
  aspect-ratio: 15/14;
  width: 12px;
  height: auto;
  right: 14px;
  background-color: #333;
  -webkit-mask: url(../images/service-arrow-icon.svg) no-repeat center / contain;
  mask: url(../images/service-arrow-icon.svg) no-repeat center / contain;
}

@media screen and (min-width: 1000px) {
  .info__card-heading::after {
    width: 15px;
    right: 22px;
  }
}

.info__card:hover .info__card-heading::after {
  background-color: #fff;
}

.info__card-title-en {
  font-family: var(--ff-en);
  font-size: clamp(14px, 2.67vw, 16px);
  font-weight: 600;
}

@media screen and (min-width: 768px) {
  .info__card-title-en {
    font-size: clamp(14px, 1.18vw, 16px);
  }
}

.info__card-title-ja {
  font-size: clamp(18px, 2.2vw, 30px);
  font-weight: 700;
  margin-top: 14px;
}

/* ==========================
cta
============================= */

.cta {
  background: url(../images/cta-gb.png) no-repeat center center / cover;
  width: 100%;
  height: auto;
  padding-block: 94px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta__slider-container {
  padding-inline: 20px;
}

@media screen and (min-width: 768px) {
  .cta__slider-container {
    padding-inline: 40px;
  }
}

.cta__slide-text-wrapper {
  overflow: hidden;
  display: flex;
  list-style: none;
  padding-inline: 0;
  margin-inline: 0;
  gap: 0;
  position: absolute;
  top: 59%;
  transform: translateY(-50%);
  left: 0;
  width: 100%;
}

@media screen and (min-width: 900px) {
  .cta__slide-text-wrapper {
    top: 50%;
  }
}

.cta__slide-text {
  white-space: nowrap;
  font-family: var(--ff-en);
  font-size: 3em;
  letter-spacing: calc(-30 / 1000 * 1em);
  color: rgba(255, 255, 255, 0.13);
  font-weight: 500;
  padding: 0 0.5em 0 0;
  animation: marquee-left 14s linear infinite;
}

@media screen and (min-width: 600px) {
  .cta__slide-text {
    font-size: 100px;
  }
}

@media screen and (min-width: 1100px) {
  .cta__slide-text {
    font-size: 140px;
  }
}

@media (min-width: 1367px) {
  .cta__slide-text {
    font-size: 10.24vw;
  }
}

@keyframes marquee-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.cta__box {
  margin-inline: auto;
  background: rgba(255, 255, 255, 0.47);
  border-radius: 20px;
  padding: 58px 30px 59px 30px;
  color: var(--color-white);
  width: 100%;
  max-width: 800px;
  position: relative;
  z-index: 1;
}

@media screen and (min-width: 900px) {
  .cta__box {
    padding: 58px 65px 59px 74px;
  }
}

.cta__description {
  font-size: 16px;
  font-weight: 400;
  line-height: calc(30 / 14);
}

@media screen and (min-width: 768px) {
  .cta__description {
    font-size: 14px;
  }
  .cta__description br {
    display: none;
  }
}

.cta__box-wrap {
  margin-top: 43px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

@media screen and (min-width: 900px) {
  .cta__box-wrap {
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
  }
}

.cta__tel-wrap {
  display: block;
  position: relative;
  padding-left: 32px;
}

@media screen and (min-width: 768px) {
  .cta__tel-wrap {
    padding-left: 45px;
  }
}

.cta__tel-wrap::before {
  content: "";
  position: absolute;
  display: block;
  width: 24px;
  aspect-ratio: 24/24;
  height: auto;
  white-space: nowrap;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  background-color: #fff;
  -webkit-mask: url(../images/tel-icon.svg) no-repeat center / contain;
  mask: url(../images/tel-icon.svg) no-repeat center / contain;
}

@media screen and (min-width: 768px) {
  .cta__tel-wrap::before {
    width: 36px;
    aspect-ratio: 36/36;
  }
}

.cta__tel-number {
  font-family: var(--ff-en);
  font-weight: 700;
  font-size: 22px;
}

@media screen and (min-width: 768px) {
  .cta__tel-number {
    font-size: 36px;
  }
}

.cta__tel-time {
  text-align: center;
  font-size: 12px;
  font-weight: 400;
  margin-top: 3px;
}
@media screen and (min-width: 768px) {
  .cta__tel-time {
    font-size: 13px;
  }
}

.c-button__contact-link p.cta__contact-text {
  font-size: 14px;
  height: 50px;
  padding-inline: 27px;
  gap: 15px;
}

@media screen and (min-width: 768px) {
  .c-button__contact-link p.cta__contact-text {
    font-size: 18px;
    height: 80px;
    padding-inline: 71px;
    gap: 15px;
  }
}

.c-button__contact-link p::before.cta__contact-text::before {
  content: "";
  width: 20px;
  aspect-ratio: 20/15;
  height: auto;
  background: url(../images/mail-icon.svg) no-repeat center center / contain;
}

@media screen and (min-width: 768px) {
  .c-button__contact-link p::before.cta__contact-text::before {
    width: 24px;
    aspect-ratio: 24/18;
  }
}

/* フッター */
.footer {
  padding-block: 35px 36px;
}

.footer__container {
  width: 81vw;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media screen and (min-width: 768px) {
  .footer__container {
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
  }
}

.footer__head {
  margin-left: 8px;
}

.footer__logo {
  display: block;
  aspect-ratio: 108/108;
  width: 108px;
  height: auto;
  margin-left: -23px;
}

.footer__logo img {
  aspect-ratio: 108/108;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.footer__title {
  margin-top: 19px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: calc(80 / 1000 * 1em);
}

.footer__text {
  margin-top: 20px;
  font-size: 14px;
  line-height: calc(25 / 14);
}

.footer__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 20px;
  margin-left: 40px;
}

@media screen and (min-width: 768px) {
  .footer__list {
    column-gap: 40px;
    margin-right: 30px;
    margin-left: 0;
    margin-top: 66px;
  }
}

@media screen and (min-width: 1000px) {
  .footer__list {
    column-gap: 80px;
  }
}

.footer__list-left {
  display: flex;
  flex-direction: column;
  gap: 31px;
}

.footer__list-right {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer__item-link:hover .footer__item-text {
  opacity: 0.7;
}

.footer__item-text {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: calc(80 / 1000 * 1em);
  display: flex;
  align-items: center;
  gap: 10px;
}

@media screen and (min-width: 768px) {
  .footer__item-text {
    font-size: 14px;
  }
}

.footer__item-text::before {
  content: "";
  width: 5px;
  height: 5px;
  background: #007989;
  flex-shrink: 0;
}

.footer__item-box {
  margin-left: 20px;
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.footer__item-box-text {
  font-size: 12px;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 6px;
}

@media screen and (min-width: 768px) {
  .footer__item-box-text {
    font-size: 14px;
  }
}

.footer__item-box-text::before {
  content: "";
  width: 7px;
  height: 1px;
  background: #007989;
  flex-shrink: 0;
}

.footer__bottom {
  width: 81vw;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 74px;
  border-top: 1px solid #cccccc;
  padding-top: 31px;
}

.footer__copyright {
  font-size: 10px;
  font-weight: 400;
}

.footer__top {
}

.footer__top-button {
}

.footer__top-button-text {
  font-size: 14px;
  font-family: var(--ff-en);
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
}

.footer__top-button-text::after {
  content: "";
  width: 50px;
  height: 50px;
  background: url(../images/top-button-icon.svg) no-repeat center center /
    contain;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.footer__top-button:hover {
  opacity: 0.7;
}

.footer__top-button:hover .footer__top-button-text::after {
  background: url(../images/top-button-icon-b.svg) no-repeat center center /
    contain;
}
