@charset "utf-8";
.cta {
  padding-top: 4px;
  background: #f4f4f4;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
}

@media screen and (min-width: 1000px) {
  .cta {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cta__box {
  flex: 1;
  padding-block: 68px 60px;
  color: var(--color-white);
  display: grid;
  grid-row: span 4;
  grid-template-rows: subgrid;
}

.cta__box--1 {
  border-radius: 0 20px 20px 0;
  background: #baa47b;
}

.cta__box--2 {
  border-radius: 20px;
  background: #b1a082;
}

.cta__box--3 {
  border-radius: 20px 0 0 20px;
  background: #a59e90;
}

.cta__box-inner {
  padding-inline: 4.39vw;
  color: var(--color-white);
  transition: transform 0.5s ease;
  display: grid;
  grid-row: span 4;
  grid-template-rows: subgrid;
}

.cta__box:hover .cta__box-inner,
.cta__box:focus .cta__box-inner {
  transform: scale(1.05);
}

.cta__box--1 .cta__box-inner {
  padding-inline: 4.53vw 5.85vw;
}

.cta__title-en {
  font-size: 33px;
  font-weight: 400;
  letter-spacing: calc(100 / 1000 * 1em);
}

.cta__title-ja {
  margin-top: 13px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 18px;
  font-family: var(--ff-serif);
}

.cta__title-ja::before {
  content: "";
  width: 23px;
  height: 14px;
  flex-shrink: 0;
}
.cta__box--1 .cta__title-ja::before {
  background: url(../images/partner-icon.svg) no-repeat center center/contain;
}

.cta__box--2 .cta__title-ja::before,
.cta__box--3 .cta__title-ja::before {
  background: url(../images/mail-icon.svg) no-repeat center center/contain;
}

.cta__text {
  margin-top: 37px;
  font-size: clamp(12px, 1.03vw, 14px);
  font-weight: 500;
  line-height: calc(30 / 14);
}

@media screen and (min-width: 600px) {
  .cta__text br {
    display: none;
  }
}

.cta__button-wrapper {
  text-align: center;
}

.cta__button {
  margin-top: 36px;
  color: #baa47b;
  display: inline-block;
}

.cta__button p {
  font-size: clamp(14px, 1.18vw, 16px);
  font-weight: 500;
  letter-spacing: calc(50 / 1000 * 1em);
  display: flex;
  align-items: center;
  gap: 20px;
  padding-block: 25px 23px;
  padding-inline: clamp(20px, 3.22vw, 44px);
  background: var(--color-white);
  border-radius: 33px;
}

@media screen and (min-width: 1100px) {
  .cta__button p {
    gap: 35px;
  }
}

.cta__button p::after {
  content: "";
  width: 16px;
  height: 16px;
  background: url(../images/button-arrow-g.svg) no-repeat center center/contain;
  transition: transform 0.5s ease;
}

.cta__box:hover .cta__button p::after,
.cta__box:focus .cta__button p::after {
  transform: translateX(8px);
}

.cta__tel {
  margin-top: 36px;
  font-family: var(--ff-serif);
  text-align: center;
}

.cta__tel-numbar {
  font-size: clamp(27px, 2.71vw, 37px);
  font-weight: 600;
  letter-spacing: calc(40 / 1000 * 1em);
  line-height: 1.2;
}

.cta__tel-time {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: calc(100 / 1000 * 1em);
  line-height: 1.2;
}

.footer {
  padding-block: 87px 47px;
  background: #f4f4f4;
}

.footer__inner {
  width: 81%;
  margin-inline: auto;
}

.footer__container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

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

.footer__logo {
  display: inline-block;
}

.footer__head-text {
  margin-top: 25px;
  margin-left: 3px;
}

.footer__head-text p {
  font-size: clamp(14px, 1.18vw, 16px);
  font-weight: 500;
  line-height: calc(34 / 16);
  font-family: var(--ff-serif);
}

.footer__nav {
  display: flex;
  gap: 45px;
}

@media screen and (min-width: 500px) {
  .footer__nav {
    gap: 100px;
  }
}

@media screen and (min-width: 768px) {
  .footer__nav {
    gap: 68px;
    margin-top: 6px;
  }
}

.footer__nav-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  color: #333333;
}

.footer__nav-item p {
  font-size: clamp(12px, 1.03vw, 14px);
  font-weight: 500;
  letter-spacing: calc(80 / 1000 * 1em);
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer__nav-item p::before {
  content: "";
  width: 5px;
  height: 5px;
  background: #a59e91;
  border-radius: 50%;
  flex-shrink: 0;
}

.footer__nav-sublist {
  margin-top: 26px;
  margin-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 23px;
}

.footer__nav-subitem p {
  font-size: 14px;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer__nav-subitem p::before {
  content: "";
  width: 7px;
  height: 1px;
  background: #a59e91;
  flex-shrink: 0;
}

.footer__bottom {
  margin-top: 79px;
  border-top: 1px solid #cccccc;
  display: flex;
  padding-top: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__copyright p {
  font-size: 10px;
  font-weight: 400;
  color: #333333;
}

.footer__top-button p {
  font-size: 14px;
  font-weight: 400;
  color: #333333;
  position: relative;
  padding-right: 63px;
  transition: opacity 0.3s ease;
}

.footer__top-button:hover p,
.footer__top-button:focus p {
  opacity: 0.7;
  cursor: pointer;
}

.footer__top-button p::before,
.footer__top-button p::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.footer__top-button p::before {
  right: 0;
  width: 50px;
  height: 50px;
  background: var(--color-white);
  border-radius: 50%;
}

.footer__top-button p::after {
  width: 16px;
  height: 16px;
  background: url(../images/topbutton-icon.svg) no-repeat center center/contain;
  right: 16px;
}
