/* リンク */
.p-links {
  background-color: #fff;
  max-width: 600px;
  width: 100%;
  margin-inline: auto;
  padding-top: 33px;
  padding-bottom: 72px;
}
.p-links__items {
  margin-right: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  max-width: 450px;
}

.p-links__btn {
  position: relative;
  display: block;
  margin-top: 24px;
  width: 300px;
  height: 300px;
  background: url("../../img/renewal/icon_links01.png") no-repeat center/300px
    300px;
  text-decoration: none;
}
.p-links__btn--service {
  background: url("../../img/renewal/icon_links02.png") no-repeat center/300px;
}
.p-links__btn--guarantee {
  background: url("../../img/renewal/icon_links03.png") no-repeat center/300px;
}
.p-links__btnTxt {
  position: absolute;
  top: 184px;
  left: 50%;
  transform: translateX(-50%);
  font-weight: 600;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  font-size: 16px;
  letter-spacing: 0.06em;
}

.p-links__arrow {
  width: 24px;
  height: 24px;
  margin-left: 4px;
  background: url("../../img/renewal/icon_arrow.svg") no-repeat center/contain;
  display: inline-block;
}
.p-links__body {
  background: #b12c26;
  margin-top: 10px;
  margin-left: 20px;
  padding-top: 4px;
  padding-left: 8px;
  padding-bottom: 48px;
}
.p-links__ttlTop {
  font-size: 24px;
  letter-spacing: 0.06em;
  line-height: calc(25 / 24);
  font-weight: 700;
  margin-left: 28px;
  font-family: "Noto Serif JP", serif;
}
.p-links__ttl {
  color: #fff;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  font-family: "Noto Serif JP", serif;
}

.p-links__txt {
  font-size: 14px;
  margin-top: 24px;
  letter-spacing: 0.06em;
  line-height: calc(21 / 14);
  color: #fff;
}
/* 信念 */
.p-philosophy {
  padding-bottom: 48px;
  /* margin-top: 72px; */
  max-width: 600px;
  width: 100%;
  margin-inline: auto;
  background: url(../../img/renewal/philosophy_bg.jpg) top/cover no-repeat;
}
.p-philosophy__inner {
  position: relative;
}

.p-philosophy__inner {
  padding-inline: 20px;
}
.p-philosophy__ttl {
  font-family: "Noto Serif JP", serif;
  position: absolute;
  top: -42px;
  left: 20px;
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: 0.14em;
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  line-height: calc(43 / 36);
}

.p-philosophy__ttl span {
  color: #b12c26;
}

.p-philosophy__message {
  color: #fff;
  line-height: calc(35 / 14);
  font-weight: 700;
  font-size: 14px;
  padding-top: 48px;
  padding-left: 65px;
}

.p-philosophy__cards {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 100%;
  max-width: 450px;
}

.p-philosophy__card {
  max-width: 283px;
  width: 100%;
  background: rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  padding: 30px 16px 30px;
  text-align: center;
}
.p-philosophy__card + .p-philosophy__card {
  margin-top: 30px;
}
.p-philosophy__cardImg {
  margin-top: 18px;
}
.p-philosophy__cardImg img {
  aspect-ratio: 250 / 137;
  width: 100%;
  height: auto;
}
.p-philosophy__cardEn {
  font-size: 10px;
  letter-spacing: 0.06em;
  line-height: calc(25 / 10);
  font-weight: 300;
}
.p-philosophy__cardTtl {
  font-size: 16px;
  letter-spacing: 0.06em;
  line-height: calc(25 / 16);
  font-weight: 500;
}
.p-philosophy__cardTxt {
  font-size: 14px;
  letter-spacing: 0.05em;
  line-height: calc(28 / 14);
  font-weight: 700;
  color: #fff;
  margin-top: 18px;
  text-align: left;
}
/* 口コミ */
.p-gvoice {
  background-color: #fff;
  padding-block: 72px;
  max-width: 600px;
  width: 100%;
  padding-inline: 20px;
  text-align: center;
  max-width: 600px;
  width: 100%;
  padding-inline: 20px;
  margin-inline: auto;
}
.p-gvoice__ttl {
  font-family: "Noto Serif JP", serif;
  font-size: 24px;
  line-height: 2;
  font-weight: 700;
}
.p-gvoice__ttlRed {
  font-size: 36px;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  color: #b12c26;
  line-height: 1;
  margin-top: 10px;
}
.p-gvoice__txt {
  font-size: 14px;
  line-height: 2;
  font-weight: 700;
  margin-top: 8px;
}
.p-gvoice__area {
  margin-top: 24px;
}
/* case */
.p-case {
  padding-block: 48px;
  max-width: 600px;
  width: 100%;
  padding-inline: 20px;
  margin-inline: auto;
  background: url("../../img/renewal/case_bg.jpg") center / cover no-repeat;
}

.p-case__mainTtl {
  font-size: 24px;
  letter-spacing: 0.06em;
  line-height: calc(32 / 24);
  font-weight: 700;
  color: #fff;
  font-family: "Noto Serif JP", serif;
}
.p-case__message {
  font-size: 14px;
  letter-spacing: 0.06em;
  line-height: 2;
  font-weight: 700;
  margin-top: 12px;
  color: #fff;
}
.p-case__splide {
  margin-top: 24px;
}
.p-case-card__body {
  background-color: #fff;
  padding: 8px 7px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.p-case-card__num {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.p-case-card__ttl {
  margin-top: 4px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: calc(25 / 15);
}

.p-case-card__txt {
  margin-top: 8px;
  font-size: 14px;
  letter-spacing: 0.03em;
  line-height: 2;
  font-weight: 500;
  flex: 1;
}

.p-case-card__paint {
  margin-top: 8px;
  font-size: 14px;
  letter-spacing: 0.03em;
  line-height: 2;
  font-weight: 500;
}

.p-case-card__paint + .p-case-card__txt {
  margin-top: 14px;
}

.p-case-card__author {
  margin-top: auto;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: calc(25 / 10);
  padding-bottom: 3px;
  border-bottom: solid 1px #000;
  display: inline-block;
  align-self: flex-end;
}
.p-case-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.p-case__splide .splide__track,
.p-case__splide .splide__list {
  height: 100%;
}
.p-case-card__img img {
  width: 100%;
  height: auto;
  display: block;
}
.p-case__splide .splide__list {
  display: flex;
}

.p-case__splide .splide__slide {
  flex-shrink: 0;
  display: flex;
  height: auto;
}
.p-case__splide .splide__track {
  overflow: hidden;
}
.p-case-card__img {
  width: 100%;
  aspect-ratio: 335 / 216;
  overflow: hidden;
}

.p-case-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.p-case__progress {
  width: 100%;
  height: 4px;
  background: #fff;
  margin-top: 16px;
  overflow: hidden;
}

.p-case__progress-bar {
  width: 0%;
  height: 100%;
  background: #000;
}

.p-case__progress-bar.is-animating {
  animation: caseProgress 6s linear forwards;
}

@keyframes caseProgress {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}
/* 保証 */
.p-guarantee {
  max-width: 600px;
  margin-inline: auto;
  width: 100%;
}
/* sticky */
.p-guarantee__sticky {
  position: sticky;
  top: 0;
  z-index: 1;
}
.p-guarantee__bg {
  background: url("../../img/renewal/guarantee-bg.jpg") center / cover no-repeat;
  /* display: flex;
  align-items: center;
  justify-content: center; */
  padding: 48px 20px;
}
.p-guarantee__sticky::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -70px;
  width: 100%;
  height: 70px;

  background: linear-gradient(
    to bottom,
    #fff 0%,
    rgba(255, 255, 255, 0.7) 40%,
    rgba(255, 255, 255, 0) 100%
  );

  pointer-events: none;
}
.p-guarantee__catch {
  color: #fff;
}

.p-guarantee__catchTtl {
  font-family: "Noto Serif JP", serif;
  font-size: 24px;
  font-weight: 700;
  line-height: calc(32 / 24);
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.p-guarantee__txt {
  font-size: 14px;
  line-height: calc(28 / 14);
}

.p-guarantee__content {
  background: #fff;
  padding: 72px 20px 0px;
}

.p-guarantee__block + .p-guarantee__block {
  margin-top: 32px;
}

.p-guarantee__heading {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.p-guarantee__heading span {
  margin-right: 8px;
  font-weight: 300;
} /* シミュレーション */
.p-step__mainMessageWrap {
  display: flex;
  justify-content: center;
  background-color: #b12c26;
  padding-top: 48px;
}
.p-step__mainMessage {
  font-family: "Noto Serif JP", serif;
  writing-mode: vertical-rl;
  text-orientation: upright;
  line-height: 1.6;
  font-size: 24px;
  letter-spacing: 0.3em;
  font-weight: 700;
  color: #fff;
}
.p-step__subMessageWrap {
  text-align: center;
  background-color: #b12c26;
}
.p-step__subMessage {
  color: #fff;
  letter-spacing: 0.03em;
  line-height: calc(28 / 14);
  font-weight: 500;
  font-size: 14px;
}
/* メッセージ */
.p-message {
  padding-block: 72px;
  max-width: 600px;
  margin-inline: auto;
  padding-inline: 20px;
  background-color: #fff;
}
.p-message__txtWrap {
  margin-top: 12px;
  text-align: right;
  margin-top: 32px;
}
.p-message__txtWrap--l {
  text-align: left;
}
.p-message__txtMain {
  font-size: 24px;
  font-weight: 700;
  line-height: calc(25 / 24);
  font-family: "Noto Serif JP", serif;
}
.p-message__txtSub {
  font-size: 14px;
  font-weight: 500;
  margin-top: 16px;
  line-height: calc(28 / 14);
}
.p-message__messageWrap {
  text-align: center;
  margin-top: 32px;
}
.p-message__message {
  font-family: "Noto Serif JP", serif;
  font-size: 18px;
  font-weight: 700;
  line-height: calc(36 / 18);
}
.p-message__imgL img {
  aspect-ratio: 168 / 216;
  width: calc(168 / 375 * 100vw);
  height: auto;
  max-width: 310px;
}
.p-message__imgL--mt {
  margin-top: 32px;
}
.p-message__imgR {
  margin-top: 12px;
  text-align: right;
}
.p-message__imgL--mt {
  margin-top: 12px;
}
.p-message__imgR img {
  aspect-ratio: 231 / 168;
  width: calc(231 / 375 * 100vw);
  max-width: 395px;
  height: auto;
}
@media (min-width: 875px) {
  .p-links__txt,
  .p-case-card__txt,
  .p-gvoice__txt,
  .p-guarantee__txt,
  .p-step__subMessage,
  .p-message__txtSub,
  .p-philosophy__cardTxt,
  .p-case__message,
  .p-philosophy__message {
    font-size: 16px;
    line-height: 1.9;
  }
  .p-links {
    padding-bottom: 80px;
  }
  .p-links__ttlTop {
    font-size: 28px;
    margin-left: 56px;
  }

  .p-links__ttl {
    font-size: 42px;
  }
  .p-links__body {
    margin-left: 40px;
    padding-left: 16px;
    padding-top: 8px;
  }
  .p-links__btn {
    width: 330px;
    height: 330px;
    background-size: 330px;
  }

  .p-links__items {
    align-items: center;
    max-width: 100%;
  }
  .p-links__btnTxt {
    font-size: 18px;
    top: 195px;
  }
  .p-philosophy {
    padding-bottom: 80px;
  }
  .p-philosophy__inner {
    padding-inline: 40px;
  }
  .p-philosophy__message {
    padding-left: 80px;
    padding-top: 60px;
  }
  .p-philosophy__ttl {
    font-size: 42px;
    left: 40px;
  }
  .p-philosophy__cards {
    max-width: 100%;
    margin-top: 85px;
    align-items: center;
  }
  .p-philosophy__card {
    max-width: 400px;
  }
  .p-philosophy__cardTtl {
    font-size: 18px;
  }
  .p-philosophy__cardEn {
    font-size: 12px;
  }
  .p-gvoice {
    padding: 80px 40px;
  }
  .p-gvoice__ttl {
    font-size: 28px;
  }

  .p-gvoice__ttlRed {
    font-size: 42px;
  }
  .p-case {
    padding: 80px 40px;
  }
  .p-case-card__num {
    font-size: 12px;
  }
  .p-case__mainTtl {
    font-size: 36px;
  }
  .p-case-card__author {
    font-size: 12px;
  }
  .p-case-card__body {
    padding: 8px 15px 20px;
  }
  .p-guarantee__bg {
    padding-inline: 40px;
  }
  .p-guarantee__catchTtl {
    font-size: 36px;
  }
  .p-guarantee__content {
    padding-inline: 40px;
  }
  .p-guarantee__heading {
    font-size: 20px;
  }

  .p-step__mainMessage {
    font-size: 28px;
  }
  .p-message {
    padding: 80px 40px;
  }
  .p-message__txtMain {
    font-size: 28px;
  }

  .p-message__message {
    font-size: 20px;
  }
}
