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

.p-cta .p-cta__inner {
  max-width: 1326px;
  width: 100%;
  margin-inline: auto;
}
.p-cta .p-cta__box {
  position: relative;
}
.p-cta {
  /* =========================
     背景（パララックス）
     1366時：1326px / それ以上は広げない
  ========================= */
}
.p-cta .p-cta__content {
  position: relative;
  width: 1222px;
  margin-inline: auto;
  margin-top: -196px;
  padding: clamp(24px, 4.39238653vw, 60px);
  padding-right: clamp(24px, 5.3440702782vw, 73px);
  display: grid;
  grid-template-columns: clamp(240px, 35.2122986823vw, 475px) 1fr;
          column-gap: 90px;
  row-gap: clamp(12px, 1.317715959vw, 18px);
  border-radius: 15px;
  overflow: hidden;
  z-index: 0;
  transition: transform 0.3s ease;
          transform-origin: center;
}
@media screen and (max-width: 1366px) {
  .p-cta .p-cta__content {
    max-width: 89.7510980966vw;
            column-gap: 6.588579795vw;
  }
}
@media screen and (max-width: 600px) {
  .p-cta .p-cta__content {
    margin-top: -250px;
    width: calc(100% - 32px);
    grid-template-columns: 1fr;
    row-gap: 20px;
            column-gap: 0;
    padding: 20px;
  }
}
@media (any-hover: hover) {
  .p-cta .p-cta__content:hover {
            transform: scale(1.02);
  }
  .p-cta .p-cta__content:hover .p-cta__arrowButton {
    background: #f6f6f6;
            transform: translateX(2px);
  }
}
.p-cta .p-cta__content::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  right: -5px;
  background-image: url("../images/img_cta-bg.jpg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: -1;
}
@media screen and (max-width: 600px) {
  .p-cta .p-cta__content::after {
    background-size: cover;
  }
}
.p-cta .p-cta__content > * {
  position: relative;
  z-index: 1;
}
.p-cta {
  /* =========================
     左：人物画像
  ========================= */
}
.p-cta .p-cta__image {
  grid-column: 1;
  grid-row: 1/span 2;
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 481/336;
}
@media screen and (max-width: 600px) {
  .p-cta .p-cta__image {
    grid-column: 1;
    grid-row: 1;
    aspect-ratio: auto;
  }
}
.p-cta .p-cta__image img {
  display: block;
  width: 100%;
  height: 100%;
     object-fit: cover;
}
.p-cta {
  /* =========================
     右：テキストエリア
     （中で「見出し行」と「説明文」を縦積み）
  ========================= */
}
.p-cta .p-cta__text {
  grid-column: 2;
  grid-row: 1/span 2;
  display: flex;
          flex-direction: column;
  gap: 27px;
}
@media screen and (max-width: 1366px) {
  .p-cta .p-cta__text {
    gap: 1.9765739385vw;
  }
}
@media screen and (max-width: 600px) {
  .p-cta .p-cta__text {
    width: 90%;
    grid-column: 1;
    grid-row: 2;
    gap: 16px;
    margin-inline: auto;
  }
}
.p-cta .p-cta__headline {
  margin-top: 65px;
  display: flex;
          align-items: flex-start;
          justify-content: space-between;
  gap: 16px;
}
@media screen and (max-width: 1366px) {
  .p-cta .p-cta__headline {
    margin-top: 4.7584187408vw;
    gap: 1.1713030747vw;
  }
}
.p-cta .p-cta__label {
  font-size: 14px;
  letter-spacing: 1px;
  display: inline-flex;
          align-items: center;
  gap: 10px;
  line-height: 1;
  opacity: 1;
}
@media screen and (max-width: 768px) {
  .p-cta .p-cta__label {
    margin-left: 0px;
  }
}
.p-cta .p-cta__titles {
  display: flex;
          flex-direction: column;
  gap: 8px;
}
.p-cta .p-cta__arrowButton {
  position: relative;
  margin-top: 22px;
      flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}
@media screen and (max-width: 1366px) {
  .p-cta .p-cta__arrowButton {
    margin-top: 1.6105417277vw;
  }
}
.p-cta .p-cta__arrowButton::after {
  content: "";
  position: absolute;
  width: 60px;
  height: 60px;
  background-image: url("../images/icon_arrow-right-box.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.p-cta .p-cta__arrowButton:hover {
  background: #f6f6f6;
          transform: translateX(2px);
}
.p-cta .p-cta__description {
  margin-top: 10px;
  width: 500px;
}
@media screen and (max-width: 1366px) {
  .p-cta .p-cta__description {
    width: 36.6032210835vw;
  }
}
@media screen and (max-width: 600px) {
  .p-cta .p-cta__description {
    width: 100%;
  }
}

/* =========================
   CTA SUB
========================= */

.p-cta__sub {
  padding-block: 120px 115px;
  position: relative;
  background: linear-gradient(0deg, #ffffff 0%, #f0e2e4 100%);
}

@media screen and (max-width: 1366px) {
  .p-cta__sub {
    padding-block: 8.78477306vw 8.4187408492vw;
  }
}
.p-cta__sub .p-cta__inner {
  width: 1223px;
  margin-inline: auto;
  display: flex;
  gap: 24px;
  justify-content: space-between;
}

@media screen and (max-width: 1270px) {
  .p-cta__sub .p-cta__inner {
    width: 96.2992125984vw;
  }
}
@media screen and (max-width: 1080px) {
  .p-cta__sub .p-cta__inner {
    flex-direction: column;
    align-items: center;
  }
}
.p-cta__sub .p-cta__box--faq,
.p-cta__sub .p-cta__box--partner {
  width: 590px;
}

@media screen and (max-width: 1270px) {
  .p-cta__sub .p-cta__box--faq,
  .p-cta__sub .p-cta__box--partner {
    width: 46.4566929134vw;
  }
}
@media screen and (max-width: 1080px) {
  .p-cta__sub .p-cta__box--faq,
  .p-cta__sub .p-cta__box--partner {
    width: 590px;
  }
}
@media screen and (max-width: 650px) {
  .p-cta__sub .p-cta__box--faq,
  .p-cta__sub .p-cta__box--partner {
    width: 90.7692307692vw;
  }
}
.p-cta__sub .p-cta__content {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 590/300;
  overflow: hidden;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
  transform-origin: center;
}

@media (any-hover: hover) {
  .p-cta__sub .p-cta__content:hover {
    transform: scale(1.02);
    z-index: 2;
  }
  .p-cta__sub .p-cta__content:hover .p-cta__arrow {
    transform: translateX(2px);
  }
}
.p-cta__sub .p-cta__content::before {
  content: none;
}

.p-cta__sub .p-cta__content .p-cta__text {
  position: absolute;
  top: 0;
  right: 0;
  width: 56%;
  height: 100%;
  padding: 34px 30px 28px 4px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  z-index: 2;
}

@media screen and (max-width: 600px) {
  .p-cta__sub .p-cta__content .p-cta__text {
    padding: 5.6666666667vw 5vw 4.6666666667vw 0.6666666667vw;
  }
}
.p-cta__sub .p-cta__content .p-cta__text::before {
  content: "";
  position: absolute;
  margin-top: -120px;
  margin-left: -44px;
  width: 470px;
  height: 550px;
  inset: 0;
  background: url("../images/img_topCtaFaq--mask.png") right center/100% 100% no-repeat;
  z-index: -1;
  pointer-events: none;
}

@media screen and (max-width: 650px) {
  .p-cta__sub .p-cta__content .p-cta__text::before {
    margin-top: -18.4615384615vw;
    margin-left: -6.7692307692vw;
    width: 72.3076923077vw;
    height: 84.6153846154vw;
  }
}
.p-cta__sub .p-cta__content .p-cta__description {
  max-width: 94%;
  margin-top: 39px;
}

@media screen and (max-width: 600px) {
  .p-cta__sub .p-cta__content .p-cta__description {
    margin-top: 6.5vw;
  }
}
.p-cta__sub .p-cta__image {
  width: 100%;
  height: 100%;
  display: block;
}

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

.p-cta__sub .p-cta__content--partner .p-cta__text::before {
  content: "";
  position: absolute;
  margin-top: -120px;
  margin-left: -44px;
  width: 470px;
  height: 550px;
  inset: 0;
  background: url("../images/img_topCtaFaq--mask2.png") right center/100% 100% no-repeat;
  z-index: -1;
  pointer-events: none;
}

@media screen and (max-width: 650px) {
  .p-cta__sub .p-cta__content--partner .p-cta__text::before {
    margin-top: -18.4615384615vw;
    margin-left: -6.7692307692vw;
    width: 72.3076923077vw;
    height: 84.6153846154vw;
  }
}
.p-cta__sub .p-cta__headline {
  display: flex;
  align-items: flex-start;
}

.p-cta__sub .p-cta__titles {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.p-cta__sub .p-cta__title {
  line-height: 1;
}

.p-cta__sub .p-cta__label {
  margin-top: 0;
  line-height: 1.4;
}

.p-cta__sub .p-cta__arrow {
  position: absolute;
  right: 21px;
  bottom: 21px;
  width: 42px;
  height: 41px;
}

@media screen and (max-width: 1270px) {
  .p-cta__sub .p-cta__arrow {
    bottom: 12.5984251969vw;
  }
}
@media screen and (max-width: 1080px) {
  .p-cta__sub .p-cta__arrow {
    bottom: 21px;
  }
}
@media screen and (max-width: 550px) {
  .p-cta__sub .p-cta__arrow {
    bottom: 27.2727272727vw;
  }
}
.p-cta__sub .p-cta__arrow::after {
  content: "";
  position: absolute;
  width: 42px;
  height: 41px;
  background-image: url("../images/icon_arrow-right-box.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

@media screen and (max-width: 400px) {
  .p-cta__sub .p-cta__arrow::after {
    width: 10.5vw;
    height: 10.25vw;
  }
}

.p-footerSlider {
  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: flex;
  height: 100%;
          transition-timing-function: linear !important;
  will-change: transform;
}

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

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

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

.p-footer {
  background: #F6F6F6;
}

.p-footer__inner {
  width: min(1230px, 100% - 80px);
  margin-inline: auto;
  padding-block: 78px 28px;
}
@media screen and (max-width: 768px) {
  .p-footer__inner {
    width: calc(100% - 32px);
    padding-block: 32px 20px;
  }
}

.p-footer__content {
  display: grid;
  grid-template-columns: 320px 1fr;
          column-gap: 267px;
          align-items: start;
}
@media screen and (max-width: 1366px) {
  .p-footer__content {
            column-gap: 19.5461200586vw;
  }
}
@media screen and (max-width: 1240px) {
  .p-footer__content {
    grid-template-columns: 280px 1fr;
            column-gap: 13.17715959vw;
  }
}
@media screen and (max-width: 900px) {
  .p-footer__content {
    grid-template-columns: 1fr;
    row-gap: 32px;
    justify-items: center;
    text-align: center;
  }
}

.p-footer__left {
  display: flex;
          flex-direction: column;
          align-items: flex-start;
}

.p-footer__logo {
  display: block;
  width: 250px;
  height: 60px;
}
.p-footer__logo img {
  width: 100%;
  height: 100%;
     object-fit: cover;
  transition: transform 0.3s ease;
          transform-origin: center;
}
.p-footer__logo:hover img {
          transform: scale(1.05);
}

.p-footer__office {
  margin-top: 16px;
}

.p-footer__address {
          margin-block-end: 8px;
  display: flex;
          flex-direction: column;
  gap: 6px;
}

.p-footer__telFax {
  margin-top: 6px;
  display: flex;
          align-items: center;
      flex-wrap: wrap;
  gap: 0;
}

.p-footer__tel,
.p-footer__fax {
  display: flex;
          align-items: center;
}

.p-footer__tel::after {
  content: " / ";
  margin-inline: 2px;
  line-height: 1;
  position: relative;
  top: -1px;
}

.p-footer__right {
  padding-top: 25px;
}

.p-footer__nav {
  display: grid;
  grid-template-columns: repeat(4, max-content);
          column-gap: 34px;
  row-gap: 58px;
          justify-content: start;
}
@media screen and (max-width: 1080px) {
  .p-footer__nav {
            column-gap: 24px;
    grid-template-columns: repeat(3, max-content);
  }
}
@media screen and (max-width: 850px) {
  .p-footer__nav {
    grid-template-columns: repeat(4, max-content);
  }
}
@media screen and (max-width: 600px) {
  .p-footer__nav {
    grid-template-columns: repeat(3, max-content);
  }
}
@media screen and (max-width: 500px) {
  .p-footer__nav {
    grid-template-columns: repeat(2, max-content);
  }
}

.p-footer__nav-item {
  position: relative;
  min-width: 92px;
  padding-left: 16px;
  border-left: 1px solid #d7d7d7;
  display: inline-flex;
          align-items: center;
  gap: 12px;
  text-decoration: none;
  white-space: nowrap;
  color: #333333;
  transition: color 0.3s ease, transform 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
          transform-origin: left center;
}
.p-footer__nav-item::after {
  content: "";
  width: 0;
  height: 0;
          border-block-start: 3px solid transparent;
          border-block-end: 3px solid transparent;
          border-inline-start: 4px solid #b82634;
      flex-shrink: 0;
  transition: border-color 0.3s ease;
}
.p-footer__nav-item p,
.p-footer__nav-item span {
  color: inherit;
  transition: color 0.3s ease;
}
.p-footer__nav-item:hover {
  color: #b82634;
  border-left-color: #b82634;
          transform: scale(1.06);
  opacity: 1;
}
.p-footer__nav-item:hover::before {
          transform: scaleX(1);
}

.p-footer__copyright {
  width: 100%;
          margin-block-start: 28px;
          padding-block-start: 14px;
          border-block-start: 1px solid #d7d7d7;
  text-align: center;
}

.p-to-top {
  width: 102px;
  height: 102px;
  position: fixed;
  bottom: 150px;
  right: 20px;
  z-index: 100;
  display: flex;
          flex-direction: column;
          align-items: center;
  gap: 22px;
  background: #44423e;
  border-radius: 50%;
  cursor: pointer;
  padding-top: 12px;
          box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  opacity: 0;
  pointer-events: none;
          transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.2s ease;
}
.p-to-top::before {
  content: "";
  width: 10px;
  height: 7px;
  display: block;
  background: url("../images/icon_arrow-up-white.svg") no-repeat center/contain;
}
.p-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
          transform: translateY(0);
}
.p-to-top:hover {
          transform: translateY(-4px);
          box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}
@media screen and (max-width: 1366px) {
  .p-to-top {
    right: 20px;
  }
}
@media screen and (max-width: 1366px) and (max-width: 768px) {
  .p-to-top {
    right: 20px;
  }
}

.p-to-top__text {
  text-align: center;
}