@charset "UTF-8";

/* =========================================================
   09. DELIVERY
   七五三写真の納品について
   お宮参りDELIVERY寄せ
   ファイル名：09-delivery.css
   変更目印：09-delivery-section
========================================================= */

.yp-shichigosan-delivery {
  width: 100%;
  margin: 0;
  padding: 96px 0;
  background: #ffffff;
  color: #2f2a24;
}

.yp-shichigosan-delivery,
.yp-shichigosan-delivery * {
  box-sizing: border-box;
}

.yp-shichigosan-delivery__inner {
  width: min(1240px, calc(100% - 56px));
  margin: 0 auto;
}

/* =========================================================
   見出し
========================================================= */

.yp-shichigosan-delivery__head {
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(320px, 1fr);
  gap: 54px;
  align-items: start;
  margin-bottom: 58px;
}

.yp-shichigosan-delivery__title-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* DigiPress見出し装飾対策 */
.yp-shichigosan-delivery h2,
.yp-shichigosan-delivery h3 {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-top: 0 !important;
}

.yp-shichigosan-delivery h2::before,
.yp-shichigosan-delivery h2::after,
.yp-shichigosan-delivery h3::before,
.yp-shichigosan-delivery h3::after {
  display: none !important;
  content: none !important;
}

/* DigiPress本文装飾対策 */
.yp-shichigosan-delivery__label,
.yp-shichigosan-delivery__sub-label,
.yp-shichigosan-delivery__lead p,
.yp-shichigosan-delivery__number,
.yp-shichigosan-delivery__card-text,
.yp-shichigosan-delivery__note p {
  background: none !important;
  box-shadow: none !important;
}

.yp-shichigosan-delivery__label::before,
.yp-shichigosan-delivery__label::after,
.yp-shichigosan-delivery__sub-label::before,
.yp-shichigosan-delivery__sub-label::after,
.yp-shichigosan-delivery__lead p::before,
.yp-shichigosan-delivery__lead p::after,
.yp-shichigosan-delivery__number::before,
.yp-shichigosan-delivery__number::after,
.yp-shichigosan-delivery__card-text::before,
.yp-shichigosan-delivery__card-text::after,
.yp-shichigosan-delivery__note p::before,
.yp-shichigosan-delivery__note p::after {
  display: none !important;
  content: none !important;
}

/* ラベル */
.yp-shichigosan-delivery__label {
  margin: 0 0 18px;
  color: #8a7458;
  font-family: "Times New Roman", "Yu Mincho", "YuMincho", serif;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.18em;
}

/* 大見出し */
.yp-shichigosan-delivery__title {
  margin: 0;
  color: #26343d;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.24;
  letter-spacing: 0.12em;
  font-weight: 400;
}

/* 英字サブラベル */
.yp-shichigosan-delivery__sub-label {
  margin: 18px 0 0;
  color: #7a878f;
  font-family: "Times New Roman", "Yu Mincho", "YuMincho", serif;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.12em;
}

/* リード文 */
.yp-shichigosan-delivery__lead p {
  margin: 0;
  color: #5d6971;
  font-size: 15px;
  line-height: 2.15;
  letter-spacing: 0.04em;
}

.yp-shichigosan-delivery__lead p + p {
  margin-top: 14px;
}

/* =========================================================
   カード
========================================================= */

.yp-shichigosan-delivery__cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(38, 52, 61, 0.12);
  border-left: 1px solid rgba(38, 52, 61, 0.12);
}

.yp-shichigosan-delivery__card {
  position: relative;
  min-height: 300px;
  padding: 34px 28px 32px;
  background: #fbfaf8;
  border-right: 1px solid rgba(38, 52, 61, 0.12);
  border-bottom: 1px solid rgba(38, 52, 61, 0.12);
}

.yp-shichigosan-delivery__number {
  margin: 0 0 22px;
  color: #8a7458;
  font-family: "Times New Roman", "Yu Mincho", "YuMincho", serif;
  font-size: 18px;
  line-height: 1;
  letter-spacing: 0.18em;
}

.yp-shichigosan-delivery__card-title {
  margin: 0 0 18px;
  color: #26343d;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.5;
  letter-spacing: 0.07em;
  font-weight: 400;
}

.yp-shichigosan-delivery__card-text {
  margin: 0;
  color: #5d6971;
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.04em;
}

.yp-shichigosan-delivery__note {
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid rgba(38, 52, 61, 0.12);
}

.yp-shichigosan-delivery__note p {
  margin: 0;
  color: #5d6971;
  font-size: 14px;
  line-height: 2.05;
  letter-spacing: 0.04em;
  text-align: center;
}

.yp-shichigosan-delivery__br-pc {
  display: block;
}

/* =========================================================
   HOVER
========================================================= */

@media (hover: hover) and (pointer: fine) {
  .yp-shichigosan-delivery__card {
    transition:
      background-color 320ms ease,
      transform 320ms ease;
  }

  .yp-shichigosan-delivery__card:hover {
    background: #f7f4ef;
    transform: translateY(-2px);
  }
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media screen and (max-width: 1024px) {
  .yp-shichigosan-delivery {
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .yp-shichigosan-delivery__inner {
    width: min(100%, calc(100% - 36px));
  }

  .yp-shichigosan-delivery__head {
    grid-template-columns: 230px 1fr;
    gap: 34px;
    margin-bottom: 44px;
  }

  .yp-shichigosan-delivery__title {
    font-size: clamp(36px, 5vw, 58px);
  }

  .yp-shichigosan-delivery__lead p {
    font-size: 14px;
    line-height: 2;
  }

  .yp-shichigosan-delivery__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .yp-shichigosan-delivery__card {
    min-height: 260px;
    padding: 30px 24px 28px;
  }
}

@media screen and (max-width: 767px) {
  #yp-shichigosan-delivery {
    scroll-margin-top: 80px;
  }

  .yp-shichigosan-delivery {
    padding: 58px 0;
  }

  .yp-shichigosan-delivery__inner {
    width: calc(100% - 20px);
  }

  .yp-shichigosan-delivery__head {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 34px;
  }

  .yp-shichigosan-delivery__label {
    margin-bottom: 14px;
    font-size: 12px;
  }

  .yp-shichigosan-delivery__title {
    font-size: clamp(32px, 10vw, 46px);
    line-height: 1.4;
    letter-spacing: 0.1em;
  }

  .yp-shichigosan-delivery__sub-label {
    margin-top: 10px;
    font-size: 12px;
  }

  .yp-shichigosan-delivery__lead p {
    font-size: 13px;
    line-height: 1.95;
  }

  .yp-shichigosan-delivery__cards {
    grid-template-columns: 1fr;
  }

  .yp-shichigosan-delivery__card {
    min-height: auto;
    padding: 26px 20px 26px;
  }

  .yp-shichigosan-delivery__number {
    margin-bottom: 16px;
    font-size: 16px;
  }

  .yp-shichigosan-delivery__card-title {
    margin-bottom: 14px;
    font-size: clamp(22px, 7vw, 30px);
    line-height: 1.5;
  }

  .yp-shichigosan-delivery__card-text {
    font-size: 13px;
    line-height: 1.95;
  }

  .yp-shichigosan-delivery__note {
    margin-top: 30px;
    padding-top: 22px;
  }

  .yp-shichigosan-delivery__note p {
    font-size: 13px;
    line-height: 2;
    text-align: left;
  }

  .yp-shichigosan-delivery__br-pc {
    display: none;
  }
}

@media screen and (max-width: 374px) {
  .yp-shichigosan-delivery__inner {
    width: calc(100% - 16px);
  }

  .yp-shichigosan-delivery__card {
    padding: 24px 16px;
  }

  .yp-shichigosan-delivery__card-text,
  .yp-shichigosan-delivery__note p,
  .yp-shichigosan-delivery__lead p {
    font-size: 12.5px;
  }
}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
  .yp-shichigosan-delivery__card {
    transition: none !important;
  }
}