/* =========================
   CTA
========================= */
.p-cta {
  position: relative;
}

.p-cta-bg {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 176px;
  background-color: #f3f3f3;
  z-index: 0;
}
@media screen and (max-width: 600px) {
  .p-cta-bg {
    height: 120px;
  }
}

.p-cta__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-inline: auto;
  overflow: hidden;
}

.p-cta__box {
  position: relative;
  z-index: 1;
  padding-bottom: 40px;
}
@media screen and (max-width: 1366px) {
  .p-cta__box {
    padding-bottom: 2.9282576867vw;
  }
}
@media screen and (max-width: 500px) {
  .p-cta__box {
    padding-top: 2.9282576867vw;
  }
}

.p-cta__background {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.p-cta__background-image {
  width: 100%;
  height: 100%;
}

.p-cta__background img,
.p-cta__background-image img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.p-cta__background::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(44, 44, 44, 0.48);
  pointer-events: none;
}

.p-cta__content {
  position: relative;
  z-index: 1;
  width: 1141px;
  margin: 0;
  margin-inline: auto;
  padding-inline: 0px 20px;
  display: grid;
  grid-template-columns: 500px 1fr;
  -webkit-column-gap: 90px;
     -moz-column-gap: 90px;
          column-gap: 90px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;

  /* CONTACT背景画像をCMSで選択しやすくする */
  pointer-events: none;
}
@media screen and (max-width: 1366px) {
  .p-cta__content {
    width: 83.5285505124vw;
    padding-inline: 0vw 1.4641288433vw;
    grid-template-columns: 36.6032210835vw 1fr;
    -webkit-column-gap: 6.588579795vw;
       -moz-column-gap: 6.588579795vw;
            column-gap: 6.588579795vw;
  }
}
@media screen and (max-width: 750px) {
  .p-cta__content {
    grid-template-columns: 60vw 1fr;
    gap: 0;
  }
}
@media screen and (max-width: 500px) {
  .p-cta__content {
    grid-template-columns: 1fr;
    row-gap: 18px;
    padding: 4.8vw 4vw;
  }
}
@media screen and (max-width: 375px) {
  .p-cta__content {
    width: 100%;
  }
}
.p-cta__content > * {
  position: relative;
  z-index: 2;
  margin: 0;
}

.p-cta__text {
  grid-column: 1;
  padding-block: 153px 118px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 38px;
  color: #ffffff;

  /* テキスト編集・選択はできるように戻す */
  pointer-events: auto;
}
@media screen and (max-width: 1366px) {
  .p-cta__text {
    padding-block: 11.2005856515vw 8.6383601757vw;
    gap: 2.7818448023vw;
  }
}
@media screen and (max-width: 500px) {
  .p-cta__text {
    width: 300px;
    max-width: 100%;
    margin-inline: auto;
    padding-block: 0;
    gap: 15px;
  }
}
@media screen and (max-width: 375px) {
  .p-cta__text {
    width: 95%;
  }
}

.p-topCta__title {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  color: #ffffff;
}
.p-topCta__title h2,
.p-topCta__title p {
  color: #ffffff;
}

.p-topCta__title--ja {
  padding-bottom: 5px;
}

.p-cta__description {
  width: 480px;
  max-width: 100%;
  margin-top: 0;
  color: #ffffff;
}
@media screen and (max-width: 1366px) {
  .p-cta__description {
    width: 35.1390922401vw;
  }
}
@media screen and (max-width: 500px) {
  .p-cta__description {
    width: 100%;
    padding-bottom: 0;
  }
}
.p-cta__description p {
  margin: 0;
}

.p-cta__image {
  grid-column: 2;
  justify-self: center;
  align-self: center;
  width: 100%;
  margin: 0;
  margin-top: 70px;
  margin-right: 20px;
  color: #ffffff;
  text-decoration: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: end;

  /* CONTACTボタンはクリックできるように戻す */
  pointer-events: auto;
}
@media screen and (max-width: 1366px) {
  .p-cta__image {
    margin-top: 5.1244509517vw;
    margin-right: 1.4641288433vw;
  }
}
@media screen and (max-width: 500px) {
  .p-cta__image {
    grid-column: 1;
    width: min(40%, 220px);
    margin-inline: auto;
  }
}
.p-cta__image:hover .p-cta__image--text {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
}

.p-cta__image--text {
  width: min(100%, 240px);
  aspect-ratio: 1/1;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}
@media screen and (max-width: 500px) {
  .p-cta__image--text {
    width: 100%;
  }
}

.p-cta__image--textbox {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 8px;
  text-align: center;
}
@media screen and (max-width: 550px) {
  .p-cta__image--textbox {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 6px;
  }
}
.p-cta__image--textbox p {
  margin: 0;
  line-height: 1;
}
.p-cta__image--textbox::after {
  content: "";
  display: block;
  width: 7px;
  height: 5px;
  background: url("../images/icon_arrow-right.svg") no-repeat center/contain;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

.p-footerSlider {
  margin-top: 115px;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.p-footerSlider__inner {
  position: relative;
  width: 100%;
}

.p-footerSlider__img {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.p-footerSlider__img::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/img_topCta--fill.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  z-index: 1;
}

.p-footerSlider__slider {
  position: relative;
  width: 100%;
  height: 465px;
  z-index: 0;
}

.p-footerSlider__swiper {
  position: relative;
  width: 100%;
  height: 465px;
  overflow: hidden;
  z-index: 0;
}

.p-footerSlider__swiper .swiper-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 100%;
  -webkit-transition-timing-function: linear !important;
          transition-timing-function: linear !important;
  will-change: transform;
}

.p-footerSlider__swiper .swiper-slide.p-footerSlider__slide {
  width: 503px;
  height: 100%;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  overflow: hidden;
}

.p-footerSlider__swiper-img {
  width: 100%;
  height: 100%;
}

.p-footerSlider__swiper-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

/* =========================
   FOOTER
========================= */
.p-footer {
  position: relative;
  min-height: 420px;
  background-color: #f3f3f3;
}
@media screen and (max-width: 900px) {
  .p-footer {
    min-height: auto;
  }
}

.p-footer__inner {
  width: 1144px;
  margin-inline: auto;
  padding-top: 86px;
}
@media screen and (max-width: 1366px) {
  .p-footer__inner {
    width: 84.1vw;
    padding-top: 6.2957540264vw;
  }
}
@media screen and (max-width: 768px) {
  .p-footer__inner {
    width: calc(100% - 40px);
    padding-block: 40px 70px;
  }
}

.p-footer__content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
}
@media screen and (max-width: 650px) {
  .p-footer__content {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 48px;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
}

.p-footer__left {
  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-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  gap: 6px;
}
@media screen and (max-width: 650px) {
  .p-footer__left {
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
}

.p-footer__logo {
  width: 120px;
  height: 89px;
}
.p-footer__logo img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.p-footer__office {
  margin-top: 34px;
  margin-left: 4px;
}
@media screen and (max-width: 650px) {
  .p-footer__office {
    margin-top: 28px;
    margin-left: 0px;
  }
}

.p-footer__officeName {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 16px;
}
@media screen and (max-width: 650px) {
  .p-footer__officeName {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    gap: 8px;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
}
.p-footer__officeName p {
  margin: 0;
}

.p-footer__address {
  margin-top: 16px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 17px;
}
@media screen and (max-width: 600px) {
  .p-footer__address {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    gap: 6px;
  }
}
.p-footer__address p {
  margin: 0;
}

.p-footer__telFax {
  margin-top: 14px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
}
@media screen and (max-width: 650px) {
  .p-footer__telFax {
    margin-top: 5px;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
}

.p-footer__tel,
.p-footer__fax {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 6px;
}
.p-footer__tel p,
.p-footer__fax p {
  margin: 0;
}
.p-footer__tel::after {
  content: "/";
  display: inline-block;
  margin-inline: 1px;
  position: relative;
  top: -2px;
}

.p-footer__tel--content,
.p-footer__fax--content {
  color: inherit;
  text-decoration: none;
}

.p-footer__right {
  padding-top: 25px;
}
@media screen and (max-width: 900px) {
  .p-footer__right {
    padding-top: 0;
  }
}

.p-footer__nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 34px;
  margin-top: 10px;
}
@media screen and (max-width: 600px) {
  .p-footer__nav {
    -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;
    gap: 18px;
  }
}


.p-footer__nav-item {
  color: inherit;
  text-decoration: none;
}
.p-footer__nav-item p {
  position: relative;
  display: inline-block;
  margin: 0;
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
}
.p-footer__nav-item p::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background-color: #333333;
  -webkit-transform: translateX(-50%) scaleX(0);
          transform: translateX(-50%) scaleX(0);
  -webkit-transform-origin: center;
          transform-origin: center;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}
.p-footer__nav-item:hover p {
  color: #333333;
}
.p-footer__nav-item:hover p::after {
  -webkit-transform: translateX(-50%) scaleX(1);
          transform: translateX(-50%) scaleX(1);
}

.p-footer__copyright {
  position: absolute;
  left: 50%;
  bottom: 22px;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  text-align: center;
}
@media screen and (max-width: 900px) {
  .p-footer__copyright {
    position: static;
    -webkit-transform: none;
            transform: none;
    padding-bottom: 24px;
  }
}
.p-footer__copyright p {
  margin: 0;
}

/* =========================
   TO TOP
========================= */
.p-to-top {
  position: fixed;
  right: 8.0527086384vw;
  bottom: 48px;
  z-index: 100;
  width: 102px;
  height: 102px;
  border-radius: 50%;
  background-color: #fff;
  -webkit-box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
          box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  display: block;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  -webkit-transform: translateY(10px);
          transform: translateY(10px);
  -webkit-transition: opacity 0.3s ease, -webkit-transform 0.3s ease, -webkit-box-shadow 0.25s ease;
  transition: opacity 0.3s ease, -webkit-transform 0.3s ease, -webkit-box-shadow 0.25s ease;
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.25s ease;
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.25s ease, -webkit-transform 0.3s ease, -webkit-box-shadow 0.25s ease;
}
.p-to-top::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 6px solid #333;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}
.p-to-top::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: 43px;
  height: 54px;
  background: url("../images/img_toTopChar.png") no-repeat center/contain;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}
.p-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  -webkit-transform: translateY(0);
          transform: translateY(0);
}
.p-to-top:hover {
  -webkit-transform: translateY(-4px);
          transform: translateY(-4px);
  -webkit-box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
          box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.p-to-top__text {
  position: absolute;
  top: 25px;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  z-index: 1;
  text-align: center;
  font-size: 7px;
  line-height: 1;
  color: #111;
  white-space: nowrap;
}
.p-to-top__text div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 1px;
}
.p-to-top__text p {
  margin: 0;
  line-height: 1;
}