/* =========================
   Foundation
========================= */
/* width */
/* =========================
   Object
========================= */
/* Project */
.p-subcontract__main {
  display: grid;
}
.p-subcontract__main-bg, .p-subcontract__main-container {
  grid-column: 1/2;
  grid-row: 1/2;
}
.p-subcontract__main-container {
  position: relative;
  z-index: 1;
}
.p-subcontract__main-hgroup {
  width: fit-content;
  display: flex;
  flex-direction: column;
}
.p-subcontract__main-title {
  font-size: clamp(60px, 5.859375vw, 75px);
  line-height: 1.4;
  font-weight: 500;
  font-family: "Noto Serif JP", serif;
}
@media screen and (max-width: 640px) {
  .p-subcontract__main-title {
    font-size: clamp(47px, 7.65625vw, 49px);
  }
}
.p-subcontract__main-title-en {
  font-size: clamp(20px, 1.953125vw, 25px);
  line-height: 2.2;
  font-weight: 500;
  font-family: "Noto Serif JP", serif;
  color: #C49D50;
}
@media screen and (max-width: 640px) {
  .p-subcontract__main-title-en {
    font-size: clamp(13px, 2.34375vw, 15px);
  }
}
.p-subcontract__main-copy {
  font-size: clamp(28px, 2.734375vw, 35px);
  line-height: 1.57;
  font-weight: 500;
  font-family: "Noto Serif JP", serif;
  display: flex;
  flex-direction: column;
  gap: 6px 0;
}
@media screen and (max-width: 640px) {
  .p-subcontract__main-copy {
    font-size: clamp(19px, 3.28125vw, 21px);
    margin-top: 12px;
  }
}
.p-subcontract__main-copy-text {
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  font-family: inherit;
  color: #FFF;
  background: #2D2A29;
  display: flex;
  width: fit-content;
  align-items: center;
  padding: 0 7px 2px;
}
.p-subcontract__main-copy-in {
  font-size: clamp(20px, 1.953125vw, 25px);
  line-height: inherit;
  font-weight: inherit;
  font-family: inherit;
  color: inherit;
}
.p-subcontract__banner {
  display: grid;
  position: relative;
  margin-top: 100px;
}
.p-subcontract__banner::after {
  content: "";
  display: block;
  width: 100vw;
  height: calc(50% + 100px);
  margin-inline: calc(50% - 50vw);
  background: #EFE9E6;
  position: absolute;
  top: -100px;
  left: 0;
  z-index: -1;
}
.p-subcontract__banner-img {
  grid-column: 1/2;
  grid-row: 1/3;
}
@media screen and (max-width: 640px) {
  .p-subcontract__banner-img {
    width: 100vw;
    margin-inline: calc(50% - 50vw);
  }
}
.p-subcontract__banner-contents {
  grid-column: 1/2;
  grid-row: 1/2;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 3vw 0;
}
.p-subcontract__banner-body {
  margin-top: auto;
}
.p-subcontract__banner-title {
  font-size: clamp(20px, 1.953125vw, 25px);
  color: #FFF;
  background: #2D2A29;
  display: flex;
  width: fit-content;
  align-items: center;
  padding: 0 7px 2px;
  margin-inline: auto;
  font-weight: 700;
  translate: 0 -50%;
}
@media screen and (max-width: 640px) {
  .p-subcontract__banner-title {
    font-size: clamp(15px, 2.34375vw, 17px);
    padding: 4px 8px 6px;
  }
}
.p-subcontract__banner-copy {
  font-size: clamp(24px, 2.34375vw, 30px);
  color: #FFF;
  font-weight: 500;
  font-family: "Noto Serif JP", serif;
  letter-spacing: 0.05rem;
  text-align: center;
}
@media screen and (max-width: 640px) {
  .p-subcontract__banner-copy {
    font-size: clamp(18px, 3.125vw, 20px);
  }
}
.p-subcontract__banner-copy .highlights {
  color: inherit;
  font-weight: inherit;
  font-size: clamp(40px, 2.34375vw, 50px);
  display: inline-block;
  position: relative;
  letter-spacing: 0.05rem;
}
@media screen and (max-width: 640px) {
  .p-subcontract__banner-copy .highlights {
    font-size: clamp(28px, 4.6875vw, 30px);
  }
}
.p-subcontract__banner-copy .highlights::after {
  content: "";
  display: block;
  width: 100%;
  height: 4px;
  background: #FFF;
  position: absolute;
  bottom: 0;
  left: 0;
}
@media screen and (max-width: 640px) {
  .p-subcontract__banner-copy .highlights::after {
    height: 2px;
  }
}
.p-subcontract__banner-caption {
  padding: 60px;
  background: #FFF;
  position: relative;
  z-index: 1;
  translate: 0 -50%;
  width: calc(100% - 120px);
  margin-inline: auto;
}
@media screen and (max-width: 640px) {
  .p-subcontract__banner-caption {
    width: calc(100% - 24px);
    padding: 20px 15px;
  }
}
.p-subcontract__title-en {
  font-size: clamp(52px, 5.078125vw, 65px);
  color: #E8DED1;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  letter-spacing: 0.05rem;
  text-align: center;
  translate: 0 -50%;
  line-height: 1;
}
@media screen and (max-width: 640px) {
  .p-subcontract__title-en {
    font-size: clamp(65px, 10.46875vw, 67px);
  }
}
.p-subcontract__title-ja {
  font-size: clamp(28px, 2.734375vw, 35px);
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  letter-spacing: 0.05rem;
  text-align: center;
  line-height: 1.2;
}
@media screen and (max-width: 640px) {
  .p-subcontract__title-ja {
    font-size: clamp(25px, 4.21875vw, 27px);
  }
}
.p-subcontract__appeal-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 30px;
}
@media screen and (max-width: 640px) {
  .p-subcontract__appeal-list {
    display: flex;
    flex-direction: column;
    gap: 30px 0;
  }
}
.p-subcontract__appeal-item {
  padding: 40px 30px;
  background: #FFF;
  border-radius: 5px 0 0 0;
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
  gap: 20px 0;
  position: relative;
}
@media screen and (max-width: 640px) {
  .p-subcontract__appeal-item {
    padding: 40px 15px 30px;
  }
}
.p-subcontract__appeal-item::before {
  content: "";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  border-radius: 5px 0 0 0;
  background: #2D2A29;
  font-size: 20px;
  color: #FFF;
  font-weight: 500;
  font-family: "Noto Serif JP", serif;
  position: absolute;
  top: 0;
  left: 0;
}
.p-subcontract__appeal-item:nth-of-type(1)::before {
  content: "1";
}
.p-subcontract__appeal-item:nth-of-type(2)::before {
  content: "2";
}
.p-subcontract__appeal-item:nth-of-type(3)::before {
  content: "3";
}
.p-subcontract__appeal-icon {
  margin-inline: auto;
}
.p-subcontract__appeal-copy {
  font-size: clamp(20px, 1.953125vw, 25px);
  letter-spacing: 0.05rem;
  text-align: center;
  font-weight: 500;
}
@media screen and (max-width: 640px) {
  .p-subcontract__appeal-copy {
    font-size: clamp(18px, 3.125vw, 20px);
  }
}
.p-subcontract__appeal-copy .highlights {
  color: inherit;
  font-weight: inherit;
  font-size: inherit;
  display: inline-block;
  position: relative;
  letter-spacing: 0.05rem;
  color: #C49D50;
}
.p-subcontract__appeal-copy .highlights::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background: #C49D50;
  position: absolute;
  bottom: 0;
  left: 0;
}
.p-subcontract__appeal-copy br {
  display: none;
}
.p-subcontract__appeal-check {
  background: #2D2A29;
  padding: 32px 60px 36px;
  position: relative;
  margin-bottom: 37px;
}
@media screen and (max-width: 640px) {
  .p-subcontract__appeal-check {
    width: 100vw;
    margin-inline: calc(50% - 50vw);
    padding: 32px 12px 21px;
  }
}
.p-subcontract__appeal-check::after {
  content: "";
  display: block;
  width: 99px;
  height: 37px;
  background: url(../images/subcontract/appeal_deco.svg) no-repeat left top;
  background-size: 99px 37px;
  position: absolute;
  bottom: -37px;
  left: 50%;
  translate: -50% 0;
}
@media screen and (max-width: 640px) {
  .p-subcontract__appeal-check::after {
    width: 29px;
    height: 17px;
    background: url(../images/subcontract/appeal_deco_sp.svg) no-repeat left top;
    background-size: 29px 17px;
    bottom: -17px;
  }
}
.p-subcontract__appeal-check-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  font-size: clamp(14.4px, 1.40625vw, 18px);
  color: #FFF;
  position: relative;
}
@media screen and (max-width: 640px) {
  .p-subcontract__appeal-check-item {
    font-size: clamp(18px, 3.125vw, 20px);
  }
}
.p-subcontract__appeal-check-item::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-image: url(../images/subcontract/icon_check.svg);
  background-repeat: no-repeat;
  background-position: left 9px;
  background-size: 15px 15px;
}
.p-subcontract__appeal-check-item + .p-subcontract__appeal-check-item {
  border-top: 1px solid #555;
  padding-top: 30px;
  margin-top: 30px;
}
@media screen and (max-width: 640px) {
  .p-subcontract__appeal-check-item + .p-subcontract__appeal-check-item {
    margin-top: 20px;
    padding-top: 15px;
  }
}
.p-subcontract__appeal-check-bg {
  margin-top: 20px;
  position: relative;
}
.p-subcontract__appeal-check-bg .c-common-btn {
  background: #C49D50;
  border: 1px solid #C49D50;
  position: absolute;
  bottom: 0;
  left: 50%;
  translate: -50% 50%;
}
.p-subcontract__appeal-check-bg img {
  margin-inline: auto;
}
.p-subcontract__appeal-point {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 20px 0;
}
.p-subcontract__appeal-point-text {
  font-size: clamp(16px, 1.5625vw, 20px);
  line-height: 1.75;
  text-align: center;
}
@media screen and (max-width: 640px) {
  .p-subcontract__appeal-point-text {
    font-size: clamp(15px, 2.34375vw, 17px);
    text-align: left;
  }
}

.c-section:has(.p-subcontract__title-ja) {
  background: #EFE9E6;
}
/*# sourceMappingURL=p-subcontract.css.map */
