@charset "UTF-8";

/* =========================================================
   10. OPTION
   納品オプション・プリント製品・交通費
   お宮参りOPTION寄せ
   ファイル名：10-option.css
   変更目印：10-option-section
========================================================= */

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

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

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

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

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

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

/* DigiPress見出し装飾対策 */
.yp-shichigosan-option h2,
.yp-shichigosan-option 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-option h2::before,
.yp-shichigosan-option h2::after,
.yp-shichigosan-option h3::before,
.yp-shichigosan-option h3::after {
  display: none !important;
  content: none !important;
}

/* DigiPress本文装飾対策 */
.yp-shichigosan-option p,
.yp-shichigosan-option a,
.yp-shichigosan-option span {
  background: none !important;
  box-shadow: none !important;
}

.yp-shichigosan-option p::before,
.yp-shichigosan-option p::after,
.yp-shichigosan-option a::before,
.yp-shichigosan-option span::before,
.yp-shichigosan-option span::after {
  display: none !important;
  content: none !important;
}

/* ラベル */
.yp-shichigosan-option__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-option__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-option__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-option__lead p {
  margin: 0;
  color: #5d6971;
  font-size: 15px;
  line-height: 2.15;
  letter-spacing: 0.04em;
}

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

/* =========================================================
   オプションカード
========================================================= */

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

.yp-shichigosan-option__item {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 18px;
  min-height: 280px;
  padding: 32px 28px;
  border-right: 1px solid rgba(38, 52, 61, 0.12);
  border-bottom: 1px solid rgba(38, 52, 61, 0.12);
  background: #ffffff;
  overflow: hidden;
  isolation: isolate;
}

/* 写真背景を使うカード */
.yp-shichigosan-option__item--print {
  background-image:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.20) 0%,
      rgba(0, 0, 0, 0.38) 100%
    ),
    url("https://yourpleasure.photo/wp-content/uploads/2026/05/daishi_2.jpeg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.yp-shichigosan-option__item--transport {
  background-image:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.20) 0%,
      rgba(0, 0, 0, 0.38) 100%
    ),
    url("https://yourpleasure.photo/wp-content/uploads/2026/05/Transportation.jpeg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* 写真背景カードの文字色 */
.yp-shichigosan-option__item--print .yp-shichigosan-option__number,
.yp-shichigosan-option__item--transport .yp-shichigosan-option__number {
  color: rgba(255, 255, 255, 0.92);
}

.yp-shichigosan-option__item--print .yp-shichigosan-option__item-title,
.yp-shichigosan-option__item--transport .yp-shichigosan-option__item-title {
  color: #ffffff;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.32),
    0 4px 14px rgba(0, 0, 0, 0.22);
}

.yp-shichigosan-option__item--print .yp-shichigosan-option__item-text,
.yp-shichigosan-option__item--transport .yp-shichigosan-option__item-text {
  color: rgba(255, 255, 255, 0.9);
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.32),
    0 4px 14px rgba(0, 0, 0, 0.22);
}

.yp-shichigosan-option__number {
  position: relative;
  z-index: 2;
  margin: 0;
  color: #8a7458;
  font-family: "Times New Roman", "Yu Mincho", "YuMincho", serif;
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: 0.16em;
}

.yp-shichigosan-option__body {
  position: relative;
  z-index: 2;
  min-width: 0;
}

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

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

/* =========================================================
   下部リンク
========================================================= */

.yp-shichigosan-option__note {
  margin-top: 38px;
  padding-top: 26px;
  border-top: 1px solid rgba(38, 52, 61, 0.12);
  text-align: center;
}

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

.yp-shichigosan-option__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 42px 13px 22px;
  border: 1px solid rgba(38, 52, 61, 0.28);
  color: #26343d !important;
  background: transparent !important;
  text-decoration: none !important;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.08em;
  transition:
    background-color 260ms ease,
    color 260ms ease,
    border-color 260ms ease,
    transform 260ms ease;
}

.yp-shichigosan-option__link::after {
  display: block !important;
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  width: 7px;
  height: 7px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-50%) rotate(-45deg);
}

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

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

  .yp-shichigosan-option__item:hover {
    transform: translateY(-2px);
  }

  .yp-shichigosan-option__item--media:hover {
    background: #f7f4ef;
  }

  .yp-shichigosan-option__item--print:hover,
  .yp-shichigosan-option__item--transport:hover {
    filter: brightness(1.04);
  }

  .yp-shichigosan-option__link:hover {
    background: #26343d !important;
    border-color: #26343d;
    color: #ffffff !important;
    transform: translateY(-2px);
  }
}

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

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

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

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

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

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

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

  .yp-shichigosan-option__item {
    min-height: 230px;
    padding: 30px 24px 28px;
  }
}

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

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

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

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

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

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

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

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

  .yp-shichigosan-option__item {
    display: block;
    min-height: 220px;
    padding: 24px 18px;
  }

  .yp-shichigosan-option__item--print,
  .yp-shichigosan-option__item--transport {
    background-position: center center;
  }

  .yp-shichigosan-option__number {
    display: block;
    margin: 0 0 14px;
    font-size: 15px;
    line-height: 1;
  }

  .yp-shichigosan-option__body {
    display: block;
    width: 100%;
  }

  .yp-shichigosan-option__item-title {
    margin: 0 0 8px;
    font-size: clamp(21px, 7vw, 29px);
  }

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

  .yp-shichigosan-option__note {
    margin-top: 30px;
    padding-top: 22px;
    text-align: left;
  }

  .yp-shichigosan-option__note p {
    margin-bottom: 22px;
    font-size: 13px;
    line-height: 2;
    text-align: left;
  }

  .yp-shichigosan-option__link {
    width: 100%;
    min-height: 50px;
    font-size: 12.5px;
  }
}

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

  .yp-shichigosan-option__item {
    min-height: 210px;
    padding: 22px 16px;
  }

  .yp-shichigosan-option__number {
    margin-bottom: 12px;
  }

  .yp-shichigosan-option__item-text,
  .yp-shichigosan-option__note p,
  .yp-shichigosan-option__lead p {
    font-size: 12.5px;
  }
}

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

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