/* ======================== 全体 ======================= */
html,
body {
  margin: 0;
  overflow-x: hidden;
  min-height: 100%;
  background: #fff6f9 50%;
}

img,
svg,
video,
canvas {
  max-width: 100%;
  height: auto;
  display: block;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* ======================== トップビュー ======================== */
.kv {
  position: relative;
  width: 100%;
  aspect-ratio: 1110 / 560;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  contain: layout paint;
  isolation: isolate;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

.kv__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.kv__bg-img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  object-position: center;
  opacity: 0;
  animation-duration: 12s;
  animation-iteration-count: infinite;
  animation-fill-mode: both;
  animation-timing-function: ease-in-out;
  will-change: opacity, transform;
  backface-visibility: hidden;
}

.kv__bg-img.a {
  animation-name: kvFadeA;
}

.kv__bg-img.b {
  animation-name: kvFadeB;
}

@keyframes kvFadeA {
  0%,
  40% {
    opacity: 1;
  }

  50%,
  90% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes kvFadeB {
  0%,
  40% {
    opacity: 0;
  }

  50%,
  90% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

.kv__bg-img--pc {
  display: block;
}

.kv__bg-img--sp {
  display: none;
}

.kv__badge {
  position: absolute;
  top: 20px;
  right: 20px;
  width: min(400px, 30vw);
  height: auto;
  z-index: 2;
}

.kv__center {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  padding: 0 16px;
  transform: translateY(-10%);
  pointer-events: none;
}

.kv__tag {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid #a5713e;
  color: #a5713e;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: clamp(12px, 1.4vw, 14px);
  margin-bottom: -15px;
}

.kv__lead {
  font-family: "游明朝", "Yu Mincho", "ヒラギノ明朝 ProN W6",
    "Hiragino Mincho ProN", "ＭＳ Ｐ明朝", "MS PMincho", serif;
  font-size: 20px;
  margin-top: 24px;
  margin-bottom: 4px;
  font-weight: 800;
  color: #2b2b2b;
}

.kv__title {
  font-family: "Times New Roman", "Georgia", "游明朝", "Yu Mincho", serif;
  font-size: 52px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  color: #4db8ff;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.kv__title .en1 {
  display: block;
  font-size: 0.6em;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.kv__title .en2 {
  display: block;
  font-size: 1.1em;
  letter-spacing: 0.15em;
  margin-top: -10px;
}

.kv__city {
  margin-top: 16px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.1em;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #6c5a50;
}

.kv__ribbon {
  position: absolute;
  left: 0;
  right: 0;
  top: 40px;
  z-index: 1;
  pointer-events: none;
}

.kv__ribbon-inner {
  width: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.78) 0%,
    rgba(255, 255, 255, 0.72) 45%,
    rgba(255, 255, 255, 0) 100%
  );
  -webkit-backdrop-filter: blur(1.5px);
  backdrop-filter: blur(1.5px);
  padding: 10px 16px;
}

.kv__ribbon-text {
  display: inline-block;
  color: #2b2b2b;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 20px;
  text-shadow: none;
  pointer-events: auto;
  font-family: "游明朝", "Yu Mincho", "ヒラギノ明朝 ProN W6",
    "Hiragino Mincho ProN", "MS PMincho", serif;
}

@media (max-width: 1024px) {
  .kv__badge {
    width: min(320px, 40vw);
  }

  .kv__title {
    font-size: 42px;
  }

  .kv__lead {
    font-size: 18px;
  }

  .kv__city {
    font-size: 16px;
  }
}

@media (max-width: 800px) and (min-width: 601px) {
  .kv__ribbon-text {
    font-size: 14px;
  }
}

@media (max-width: 600px) {
  .kv {
    width: 100%;
    aspect-ratio: 43 / 50;
    min-height: 0;
    display: block;
    position: relative;
    overflow: hidden;
  }

  .kv__bg {
    inset: 0;
    overflow: hidden;
  }

  .kv__bg-img {
    left: 50%;
    top: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    object-fit: contain;
    object-position: center;
    opacity: 0;
    animation-duration: 12s;
    animation-iteration-count: infinite;
    animation-fill-mode: both;
    animation-timing-function: ease-in-out;
    backface-visibility: hidden;
  }

  .kv__bg-img--pc {
    display: none;
  }

  .kv__bg-img--sp {
    display: block;
  }

  .kv__bg-img.a {
    animation-name: kvFadeA;
  }

  .kv__bg-img.b {
    animation-name: kvFadeB;
  }

  .kv__badge {
    z-index: 4;
    width: min(400px, 70vw);
    max-width: calc(100% - 24px);
    top: 40px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .kv__center {
    inset: 0;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 12px;
    transform: translateY(-6%);
  }

  .kv__center > * {
    margin: 0;
  }

  .kv__heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    margin: 0;
    line-height: 1.1;
  }

  .kv__tag {
    position: relative;
    top: 8px;
  }

  .kv__lead {
    font-size: 14px;
    letter-spacing: 0.04em;
    margin: 0;
    line-height: 1.2;
  }

  .kv__title {
    font-size: 40px;
    line-height: 1.05;
    letter-spacing: 0.04em;
    margin-top: 2px;
  }

  .kv__title .en1 {
    margin-bottom: -4px;
  }

  .kv__title .en2 {
    font-size: 1em;
    margin-top: -6px;
  }

  .kv__city {
    font-size: 14px;
    letter-spacing: 0.04em;
    margin-top: 2px;
    line-height: 1.2;
  }

  .kv__ribbon {
    top: -1px;
    z-index: 1;
  }

  .kv__ribbon-inner {
    padding: 10px 12px;
    text-align: center;
    background: linear-gradient(
      to right,
      rgba(255, 255, 255, 0.82) 0%,
      rgba(255, 255, 255, 0.75) 35%,
      rgba(255, 255, 255, 0) 85%
    );
  }

  .kv__ribbon-text {
    font-size: clamp(15px, 4.2vw, 20px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .kv__bg-img {
    animation: none !important;
    opacity: 1 !important;
  }

  .kv__lead {
    margin-bottom: 1px;
  }
}

@media (min-width: 601px) {
  .kv__title .en1 {
    margin-top: -34px;
  }

  .kv__lead {
    margin-top: 20px;
    margin-bottom: 0;
  }

  .kv__title {
    margin-top: 6px;
    margin-bottom: 4px;
  }

  .kv__city {
    margin-top: -12px;
  }
}

@media (max-width: 900px) and (min-width: 601px) {
  body.area-saitama-fujimi-fujimino .kv__ribbon-text {
    font-size: 11.5px !important;
  }
}

/* ==============================
   スマホ時リボン文字サイズ調整
   ============================== */
@media (max-width: 600px) {

  /* 富士見・ふじみ野エリア */
  body.area-saitama-fujimi-fujimino .kv__ribbon-text {
    font-size: 12px !important;
  }

  /* さいたま市 親ページ (/area/saitama/saitamashi/) */
  body.area-saitamashi-root .kv__ribbon-text {
    font-size: 15px !important;
  }

  /* さいたま市 各区ページ (/area/saitama/saitamashi/{ward}/) */
  body.area-saitamashi-ward .kv__ribbon-text {
    font-size: 13px !important;
  }

  /* 念のため直接指定も併記しておく（クラス付与前の互換用） */
  body.area-saitama-saitamashi-nishi .kv__ribbon-text,
  body.area-saitama-saitamashi-kita .kv__ribbon-text,
  body.area-saitama-saitamashi-omiya .kv__ribbon-text,
  body.area-saitama-saitamashi-minuma .kv__ribbon-text,
  body.area-saitama-saitamashi-chuo .kv__ribbon-text,
  body.area-saitama-saitamashi-sakura .kv__ribbon-text,
  body.area-saitama-saitamashi-urawa .kv__ribbon-text,
  body.area-saitama-saitamashi-minami .kv__ribbon-text,
  body.area-saitama-saitamashi-midori .kv__ribbon-text,
  body.area-saitama-saitamashi-iwatsuki .kv__ribbon-text {
    font-size: 13px !important;
  }
}



/*　======================== アピール ======================== */
.info-section {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2.5vw, 20px);
  max-width: 1200px;
  width: 100%;
  margin: 40px auto;
  padding-inline: 16px;
  box-sizing: border-box;
  font-family: "游明朝", "Yu Mincho", "ヒラギノ明朝 ProN",
    "Hiragino Mincho ProN", "MS 明朝", serif;
}

.info-box {
  min-width: 0;
  padding: 7px 20px;
  border: 1px solid #e5cce0;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  aspect-ratio: 7 / 3;
}

.info-icon {
  height: auto;
  display: block;
  max-width: 100%;
}

.icon-ap1 {
  width: 75px;
  height: 49px;
}

.icon-ap2 {
  width: 64px;
  height: 48px;
}

.icon-ap3 {
  width: 75px;
  height: 58px;
}

.info-lead {
  margin: 0;
  color: #333;
  font-weight: 700;
  font-size: clamp(12px, 2vw, 18px);
  line-height: 1.3;
  white-space: nowrap;
  overflow-wrap: normal;
}

.info-lead .accent {
  color: #e44a3a;
  font-weight: 800;
}

.info-lead em.large {
  font-style: normal;
  font-weight: 800;
  font-size: 1.6em;
  color: #e44a3a;
  white-space: nowrap;
}

.info-note {
  margin: 0;
  color: #333;
  font-size: clamp(11px, 1.6vw, 13px);
  line-height: 1.3;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .info-section {
    gap: 12px;
  }

  .info-box {
    padding: 10px;
    aspect-ratio: 1 / 1;
  }

  .icon-ap1 {
    width: 50px;
    height: 30px;
  }

  .icon-ap2 {
    width: 45px;
    height: 30px;
  }

  .icon-ap3 {
    width: 50px;
    height: 38px;
  }

  .info-lead {
    font-size: 12px;
  }

  .info-note {
    font-size: 11px;
  }

  .info-lead em.large {
    font-size: 1.4em;
  }
}

.info-box {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.info-box.show {
  opacity: 1;
  transform: translateY(0);
}

/* ======================== CTA ======================== */
.tel-cta {
  width: 100%;
  padding: 40px 16px;
  box-sizing: border-box;
  background: linear-gradient(
    135deg,
    #bbf4ff 0%,
    #bbf4ff 18%,
    #e0faff 82%,
    #e0faff 100%
  );
  display: grid;
  gap: 20px;
  justify-items: center;
}

.tel-cta__headline {
  position: relative;
  margin: 0 0 -20px;
  text-align: center;
  font-family: "游明朝体", "Yu Mincho", "ヒラギノ明朝 ProN W3",
    "Hiragino Mincho ProN", "MS 明朝", serif;
  font-size: clamp(16px, 3vw, 28px);
  font-weight: 600;
  color: #333;
  z-index: 2;
}

.tel-cta__inner {
  width: min(100%, 1100px);
  background: #fff;
  border-radius: 16px;
  box-sizing: border-box;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: visible;
}

.tel-cta__banner {
  position: relative;
  z-index: 1;
}

.tel-cta__banner img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  position: relative;
  z-index: 2;
  margin-top: -20px;
}

.tel-cta__hit {
  position: absolute;
  left: 28%;
  right: 18%;
  top: 32%;
  bottom: 22%;
  display: block;
}

.tel-cta__actions {
  width: min(100%, 1100px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 54px;
  padding: 0 16px;
  text-decoration: none;
  font-weight: 800;
  font-size: clamp(16px, 1.8vw, 20px);
  letter-spacing: 0.02em;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.05s ease, box-shadow 0.2s ease, filter 0.2s ease;
  font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN",
    "Hiragino Mincho Pro", "MS PMincho", "Noto Serif JP", serif;
}

.cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.cta-btn:active {
  transform: translateY(0);
  filter: brightness(0.95);
}

.cta-btn__icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}

.cta-mail {
  background: #6b594f;
}

.cta-line {
  background: #06c755;
}

@media (max-width: 720px) {
  .tel-cta__actions {
    grid-template-columns: 1fr;
  }

  .cta-btn {
    height: 48px;
  }

  .cta-btn__icon img {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 580px) {
  .tel-cta__headline {
    font-size: 14px;
  }
}

@media (max-width: 465px) {
  .tel-cta__headline {
    font-size: 11px;
  }
}

/*　======================== タイトル共通 ======================== */
.special-title-wrap {
  max-width: 1080px;
  margin: 40px auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.special-title {
  display: flex;
  justify-content: center;
}

.special-title__text {
  position: relative;
  color: #6c5a50;
  font-size: clamp(20px, 2.5vw, 30px);
  letter-spacing: 0.04em;
  font-weight: 800;
  margin: 0;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1080px;
  text-align: center;
  font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN",
    "Hiragino Mincho Pro", "MS PMincho", "Noto Serif JP", serif;
}

.special-title__text::before,
.special-title__text::after {
  content: "";
  flex: 1;
  height: 2px;
  background-color: #ffa0c9;
}

.special-title__text span {
  opacity: 0;
  display: inline-flex;
  vertical-align: baseline;
  transform: translateY(1em);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.special-title__text span.show {
  opacity: 1;
  transform: translateY(0);
}

/* ======================== 料金表 ======================== */
@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@500;600;700;800&display=swap");

.course-stack {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
}

.step-card__num {
  display: inline-block;
  min-width: 36px;
  text-align: center;
  font-weight: 800;
  font-size: 13px;
  color: #f0c6d8;
  border: 1px solid #f0c6d8;
  border-radius: 999px;
  padding: 2px 8px;
  margin: 0 0 6px;
}

.price-compare {
  width: min(100%, 1000px);
  margin: 40px auto;
  padding: 0 16px;
  box-sizing: border-box;
  font-family: "Noto Serif JP", "Yu Mincho", "游明朝", "Hiragino Mincho ProN",
    "Hiragino Mincho Pro", "Source Han Serif", "源ノ明朝", "ＭＳ Ｐ明朝",
    "MS PMincho", serif;
  font-weight: 650;
  font-synthesis: weight;
}

.pc-table {
  display: grid;
  grid-auto-rows: auto;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  border: 1px solid #eadfd8;
  background: #fff;
  width: 100%;
}

.pc-row {
  display: grid;
  grid-template-columns: minmax(140px, 220px) repeat(4, 1fr);
  align-items: stretch;
}

.pc-head {
  background: #fff7f9;
  border-bottom: 1px solid #eadfd8;
}

.pc-cell {
  padding: 14px 12px;
  border-right: 1px solid #eadfd8;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.pc-row:not(.pc-head) .pc-cell {
  border-bottom: 1px solid #f0e9e3;
}

.pc-row .pc-cell:last-child {
  border-right: 1px solid transparent;
}

.pc-th {
  font-weight: 700;
}

.pc-blank {
  background: #fff7f9;
}

.pc-plan-name {
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: clamp(14px, 1.6vw, 18px);
}

.pc-feature {
  justify-content: flex-start;
  padding-left: 16px;
  background: #faf6f2;
  text-align: left;
  font-weight: 800;
  color: #6c5a50;
}

.pc-td .pc-text {
  color: #3a2f2a;
  font-weight: 700;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.pc-card-row dt {
  font-weight: 800;
}

.pc-card-row dd {
  font-weight: 650;
}

.pc-dash {
  color: #b8b0ab;
  font-weight: 800;
  font-size: 20px;
  line-height: 1;
}

.pc-paw {
  width: 26px;
  height: 26px;
  object-fit: contain;
  display: block;
}

.pc-price-row .pc-feature {
  background: #fff3f6;
}

.pc-price {
  color: #a5533b;
  font-weight: 800;
  font-size: clamp(18px, 2vw, 22px);
}

.pc-plan.misora {
  background: #fff0f5;
}

.pc-plan.tachiai {
  background: #fff6e6;
}

.pc-plan.ichinin {
  background: #eaf8ff;
}

.pc-plan.goudou {
  background: #fbffe7;
}

.pc-row.pc-cta .pc-feature {
  background: #faf6f2;
  color: #6c5a50;
  font-weight: 800;
}

.pc-row.pc-cta .pc-td {
  padding: 12px;
}

.pc-btn {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 24px;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.06s ease, box-shadow 0.12s ease;
  min-width: 120px;
}

.pc-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.pc-btn::after {
  content: " \25BC";
  display: inline-block;
  font-size: 0.9em;
  line-height: 1;
  transform: translateY(0.5px);
}

.pc-btn-misora {
  background: #fff0f5;
  color: #a5533b;
  border-color: #a5533b;
}

.pc-btn-tachiai {
  background: #fff6e6;
  color: #9a6a2f;
  border-color: #9a6a2f;
}

.pc-btn-ichinin {
  background: #eaf8ff;
  color: #2f6d9a;
  border-color: #2f6d9a;
}

.pc-btn-goudou {
  background: #fbffe7;
  color: #6a8b2c;
  border-color: #6a8b2c;
}

.pc-cards {
  display: none !important;
}

.pc-btn .btn-pc {
  display: inline;
}

.pc-btn .btn-sp {
  display: none;
}

.br-sp {
  display: none;
}

.pc-row.is-burial .pc-cell {
  align-items: flex-start;
  justify-content: center;
  padding-top: 14px;
  padding-bottom: 14px;
}

.pc-row.is-burial .pc-cell.pc-plan.goudou {
  align-items: center;
}

@media (max-width: 600px) {
  .pc-table .pc-row .pc-td .pc-text {
    line-height: 1.8 !important;
  }

  .pc-table .pc-row .pc-td .pc-text .nowrap {
    display: inline-block;
    max-width: 100%;
    line-height: 1.2 !important;
    white-space: normal;
  }
}

@media (min-width: 600px) and (max-width: 945px) {
  .pc-text .br-945 {
    display: block;
  }
}

@media (max-width: 599px), (min-width: 946px) {
  .pc-text .br-945 {
    display: none;
  }
}

@media (max-width: 900px) and (min-width: 601px) {
  .pc-row {
    grid-template-columns: minmax(110px, 180px) repeat(4, minmax(0, 1fr));
  }

  .pc-table .pc-cell {
    font-size: 12px;
    padding: 10px 6px;
  }

  .pc-plan-name {
    font-size: 14px;
  }

  .pc-price {
    font-size: 15px;
  }

  .pc-row.pc-cta .pc-td {
    padding: 8px;
  }

  .pc-row.pc-cta .pc-btn {
    min-width: 96px;
    padding: 8px 10px;
    font-size: clamp(12px, 1.5vw, 13.5px);
  }
}

@media (max-width: 713px) and (min-width: 601px) {
  .pc-table .pc-cell {
    font-size: 11.5px;
    padding: 8px 6px;
  }

  .pc-plan-name {
    font-size: 13px;
  }

  .pc-price {
    font-size: 14px;
  }
}

@media (max-width: 600px) {
  .pc-table {
    display: grid !important;
    width: 100% !important;
    min-width: 100% !important;
  }

  .pc-row {
    grid-template-columns: minmax(92px, 1.15fr) repeat(4, minmax(0, 1fr));
  }

  .pc-table .pc-cell {
    font-size: 12.5px;
    padding: 8px 4px;
  }

  .pc-plan-name {
    font-size: 12px;
  }

  .pc-price {
    font-size: 16px;
  }

  .pc-row.pc-cta .pc-btn {
    min-width: auto;
    padding: 9px 7px;
    font-size: 10px;
  }

  .pc-btn .btn-pc {
    display: none;
  }

  .pc-btn .btn-sp {
    display: inline;
  }

  .br-sp {
    display: block;
  }

  .pc-price-unit {
    font-size: 0.7em;
    opacity: 0.95;
  }
}

html {
  scroll-behavior: smooth;
}
#plan-misora,
#plan-tachiai,
#plan-ichinin,
#plan-goudou {
  scroll-margin-top: 90px;
}

.price-compare {
  overflow: visible !important;
}

.price-compare .pc-table,
.price-compare .pc-th.pc-plan,
.price-compare .pc-card-head {
  overflow: visible !important;
  position: relative;
}

.pc-badge {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;

  width: 90px;
  height: 44px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 11.5px;
  line-height: 1.2;
  color: #222;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  white-space: normal;
  padding: 4px 0 2px;
}

.pc-badge span {
  display: block;
}

.pc-badge--gold {
  background: linear-gradient(135deg, #ffe98a 0%, #fbc531 60%, #e0a100 100%);
  border: 1px solid rgba(150, 110, 0, 0.3);
}

.pc-badge--silver {
  background: linear-gradient(135deg, #f8f9fa 0%, #d1d7de 60%, #b9bec6 100%);
  border: 1px solid rgba(90, 100, 120, 0.3);
}

@media (min-width: 946px) {
  .pc-head .pc-th.pc-plan .pc-badge {
    top: -36px;
    left: 50%;
    transform: translateX(-50%);
  }
}

.price-compare .pc-card-head .pc-badge {
  top: -26px;
  left: 50%;
  transform: translateX(-50%);
}

@media (max-width: 945px) {
  .pc-badge {
    width: 76px;
    height: 38px;
    font-size: 10.5px;
  }
}

@media (max-width: 465px) {
  .pc-badge {
    width: 54px;
    height: 36px;
    font-size: 10px;
  }
}

/* ======================== プラン詳細 ======================== */
:root {
  --ink: #3b2f2f;
  --line: #ede7eb;
  --white: #fff;
}

.plan--pink {
  --plan-main: #ffa0c9;
  --plan-deep: #ffa0c9;
}

.plan--beige {
  --plan-main: #ffdfa6;
  --plan-deep: #e2cda0;
}

.plan--blue {
  --plan-main: #92daff;
  --plan-deep: #92daff;
}

.plan--yellow {
  --plan-main: #d8fb95;
  --plan-deep: #c9db87;
}

.plan-wrap {
  max-width: 1000px;
  margin: 28px auto 40px;
  padding: 0 20px;
  color: #000;
  font-family: "Noto Serif JP", "Yu Mincho", "游明朝", serif;
}

.plan-head {
  background: var(--plan-main);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.plan-head__left {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.plan-head__title {
  margin: 0;
  text-align: center;
  font-size: clamp(25px, 2.6vw, 22px);
  letter-spacing: 0.04em;
  font-weight: 700;
}

.plan-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--plan-main);
  border-top: none;
  background: var(--white);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  align-items: center;
}

.plan-top__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plan-top__media img {
  width: 100%;
  height: 100%;
  max-height: 260px;
  object-fit: cover;
  display: block;
}

.plan-lead {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 auto;
  padding: 6px 14px;
  border: 2px solid var(--plan-main);
  border-radius: 9999px;
  font-size: 17px;
  font-weight: 700;
  color: #9a5a74;
  background: #fff;
  text-align: center;
}

.plan-lead img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
}

.plan-price {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 6px;
  margin: 0 auto;
  padding: 0;
  text-align: center;
  font-size: clamp(14px, 2.5vw, 16px);
  color: var(--ink);
  flex-wrap: nowrap;
}

.plan-price .tax-note {
  font-size: 0.8em;
  color: #555;
}

.plan-price__label {
  background: var(--plan-main);
  color: #7c465d;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 9999px;
  font-size: 12px;
  border: 1px solid var(--plan-main);
  white-space: nowrap;
}

.plan-price__value {
  font-weight: 800;
  font-size: clamp(22px, 3.4vw, 28px);
  text-align: center;
  white-space: nowrap;
}

.plan-price__value em {
  font-style: normal;
  font-size: 1.2em;
}

.plan-price__tax {
  font-size: 12px;
  color: #7c465d;
  white-space: nowrap;
}

.plan-includes {
  border-radius: 8px;
  overflow: hidden;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.plan-includes__pills {
  list-style: none;
  margin: 0 auto;
  padding: 12px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
  width: 100%;
  box-sizing: border-box;
}

.plan-includes__pills li {
  background: var(--white);
  border: 1px solid var(--plan-deep);
  color: #7c465d;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.plan-includes__pills .or {
  opacity: 0.7;
  font-weight: 800;
  margin: 0 6px;
}

.plan-flow__title {
  margin: 22px 0 16px;
  font-size: clamp(18px, 2.4vw, 20px);
  padding-bottom: 6px;
  border-bottom: 2px solid var(--plan-main);
}

.plan-flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(5, 1fr);
  align-items: stretch;
  position: relative;
}

.flow-card {
  background: var(--white);
  border: 1px solid var(--line);
  overflow: visible;
  position: relative;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.flow-card__num {
  position: absolute;
  left: 8px;
  top: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: var(--plan-deep);
  color: #fff;
  border: 1px solid var(--plan-main);
  font-size: 13px;
  z-index: 2;
}

.flow-card__cap {
  font-size: 13px;
  line-height: 1.4;
  color: #543b48;
  flex: 1 1 auto;
}

.flow-card__img {
  flex: 0 0 120px;
  overflow: hidden;
}

.flow-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  padding: 5px;
}

.plan-flow .flow-card::after {
  content: "▶";
  color: var(--plan-main);
  font-weight: 800;
  font-size: 16px;
  position: absolute;
  top: 60%;
  right: -19px;
  transform: translateY(-50%);
  pointer-events: none;
}

.plan-flow .flow-card:last-child::after {
  content: none;
}

.plan-flow-box {
  grid-column: 1 / -1;
}

.plan-wrap {
  --summary-tint: 18%;
}

.plan-summary {
  margin: 6px auto 0;
  text-align: center;
  font-size: 16px;
  line-height: 1.7;
  max-width: 42em;
  padding: 10px 14px;
  color: #7c465d;
  background: #ffe6f1;
  border: 1px solid rgba(0, 0, 0, 0.03);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

@supports (background: color-mix(in srgb, white, black)) {
  .plan-summary {
    background: color-mix(in srgb, var(--plan-main) var(--summary-tint), #fff);
    border: 1px solid color-mix(in srgb, var(--plan-deep) 35%, transparent);
  }
}

.plan--pink .plan-summary {
  background: #ffe6f1;
}

.plan--blue .plan-summary {
  background: #eaf7ff;
}

.plan--beige .plan-summary {
  background: #fff5e3;
}

.plan--yellow.plan-wrap .plan-summary {
  background: #f6ffe5;
}

.plan-summary strong {
  font-weight: 800;
  color: #5a3a4a;
}

.flow-card__ttl {
  display: block;
  font-weight: 800;
  font-size: 1.05em;
  line-height: 1.5;
  letter-spacing: 0.02em;
  margin: 0 0 2px;
  color: var(--ink);
}

.flow-card__desc {
  display: block;
  font-weight: 400;
  font-size: 0.95em;
  line-height: 1.7;
  color: #6e5161;
}

.plan-flow__footer-toggle {
  display: none;
}

.plan-includes__pills li > a {
  display: inline;
  text-decoration: none;
  background: none;
  border: none;
  color: inherit;
  padding: 0;
  margin: 0;
  border-radius: 0;
  font: inherit;
  line-height: inherit;
  transition: none;
  cursor: pointer;
}

.plan-includes__pills li > a:hover,
.plan-includes__pills li > a:focus-visible {
  text-decoration: none;
  background: none;
  box-shadow: none;
  transform: none;
  outline: none;
}

@media (max-width: 980px) {
  .plan-top__media img {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: cover;
  }

  .plan-top__media {
    margin-top: 8px;
  }
}

@media (max-width: 810px) {
  .plan-price__value {
    font-size: 37px;
  }
}

@media (max-width: 900px) {
  .plan-flow__title {
    position: relative;
    cursor: pointer;
    user-select: none;
    padding: 12px 40px 12px 0;
    margin: 22px 0 10px;
  }

  .plan-flow__title::after {
    content: "▼";
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 800;
    font-size: 18px;
    color: var(--ink);
  }

  .plan-flow-box.is-open .plan-flow__title::after {
    content: "▲";
  }

  .plan-flow-box .plan-flow {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s ease;
  }

  .plan-flow-box.is-open .plan-flow {
    max-height: none;
  }

  .plan-flow__footer-toggle {
    display: none;
    text-align: center;
    font-weight: 700;
    color: var(--ink);
    cursor: pointer;
    padding: 10px 0 6px;
    user-select: none;
  }

  .plan-flow-box.is-open .plan-flow__footer-toggle {
    display: block;
    text-align: center;
    font-weight: 700;
    color: var(--ink);
    cursor: pointer;
    padding: 10px 0 6px;
    user-select: none;
  }
  .plan-flow-box.is-open .plan-flow__footer-toggle::before {
    content: "▲ ";
    font-weight: 800;
  }

  .plan-flow {
    grid-template-columns: 1fr;
    gap: 32px;
    position: relative;
  }

  .plan-flow .flow-card::after {
    content: none !important;
  }

  .plan-flow .flow-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    text-align: left;
    position: relative;
    margin: 0;
  }

  .plan-flow .flow-card + .flow-card::before {
    content: "▼";
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--plan-main);
    font-weight: 800;
    font-size: 16px;
    pointer-events: none;
    line-height: 1;
  }

  .plan-flow .flow-card__num {
    position: static !important;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    font-size: 13px;
    display: grid;
    place-items: center;
  }

  .plan-flow .flow-card__img {
    flex: 0 0 88px;
    width: 88px;
    height: 88px;
    overflow: hidden;
    background: #fff;
  }

  .plan-flow .flow-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    padding: 0 !important;
  }

  .plan-flow .flow-card__cap {
    flex: 1;
    font-size: 14px;
    line-height: 1.6;
  }

  .flow-card__ttl {
    margin-bottom: 2px;
  }
}

@media (min-width: 901px) {
  .plan-flow-box .plan-flow {
    max-height: none !important;
    overflow: visible;
  }
}

@media (max-width: 678px) {
  .plan-top {
    display: flex;
    flex-direction: column;
  }

  .plan-top__media {
    order: -1;
    margin-bottom: 12px;
  }

  .plan-top__media img {
    width: 100%;
    height: auto;
    max-height: none;
    display: block;
    object-fit: cover;
  }

  .plan-price__value {
    font-size: 28px;
  }

  .plan-includes__pills {
    padding: 12px 5px;
  }
}

@media (max-width: 420px) {
  .plan-flow .flow-card {
    gap: 10px;
    padding: 10px 12px;
  }

  .plan-flow .flow-card__num {
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    font-size: 12px;
  }

  .plan-flow .flow-card__img {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
  }

  .plan-flow .flow-card__cap {
    font-size: 13px;
  }
}

@media (min-width: 801px) {
  .plan-flow .flow-card {
    position: relative;
  }

  .plan-flow .flow-card__cap {
    padding: 10px 10px 0px 42px;
  }
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.plan-head__title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0;
  text-align: center;
  font-size: clamp(25px, 2.6vw, 22px);
  letter-spacing: 0.04em;
  font-weight: 700;
}

.plan-head__title .plan-head__icon {
  width: 28px;
  height: auto;
  display: inline-block;
}

.plan-head {
  position: relative;
  overflow: visible;
}

.rank-badge {
  position: absolute;
  top: -26px;
  right: -6px;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 800;
  font-size: 13px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  transform: rotate(-8deg);
  z-index: 5;
  box-shadow: inset 0 3px 6px rgba(255, 255, 255, 0.5),
    inset 0 -10px 14px rgba(0, 0, 0, 0.18), 0 6px 16px rgba(0, 0, 0, 0.18);
  padding-top: 2px;
}

.rank-badge__line1 {
  display: block;
  line-height: 1;
  margin-bottom: 2px;
}

.rank-badge__line2 {
  display: block;
  line-height: 1;
  font-size: 1.05em;
}

.rank-badge--gold {
  background: radial-gradient(
    60% 60% at 35% 35%,
    #fff6a8 0%,
    #ffe372 36%,
    #ffd500 62%,
    #f2bd00 100%
  );
  border: 2px solid #f6c200;
  color: #6c5a50;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6),
    0 0 1px rgba(255, 255, 255, 0.4);
}

.rank-badge--silver {
  background: radial-gradient(
    60% 60% at 35% 35%,
    #ffffff 0%,
    #f4f7fb 36%,
    #e5ecf5 62%,
    #cfd9e5 100%
  );
  border: 2px solid #cfd9e5;
  color: #334155;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7),
    0 0 1px rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
  .rank-badge {
    top: -18px;
    right: 0;
    width: 52px;
    height: 52px;
    font-size: 11px;
    transform: rotate(-6deg);
  }
}

/* ======================== 詳細ボタン ======================== */
.cta {
  text-align: center;
  margin-top: 16px;
}

.btn {
  --btn-bg: #6fd2fb;
  --btn-bg2: #49bff1;
  --btn-text: #fff;
  --btn-shadow: rgba(73, 191, 241, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 1em 1.8em;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: clamp(16px, 2vw, 19px);
  text-decoration: none;
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
  border: 1px solid rgba(30, 144, 200, 0.2);
  font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN",
    "Hiragino Mincho Pro", "MS PMincho", "Noto Serif JP", serif;
}

.btn--sky {
  background: linear-gradient(180deg, #6fd2fb, #1aa9e8);
  color: var(--btn-text);
  box-shadow: 0 8px 20px var(--btn-shadow), inset 0 -2px 0 rgba(0, 0, 0, 0.1);
}

.btn--sky:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 10px 24px rgba(73, 191, 241, 0.45);
}

.btn--sky:active {
  transform: translateY(0);
  filter: brightness(0.97);
}

.btn:focus-visible {
  outline: 3px solid rgba(79, 195, 247, 0.6);
  outline-offset: 3px;
}

/* ======================== 無料特典 ======================== */
.memvert-wrap {
  padding: 60px 16px;
}

.memvert {
  max-width: 750px;
  margin: 0 auto;
  font-family: "Noto Serif JP", "Yu Mincho", "游明朝", serif;
  color: #2f2a2b;
}

.memvert-head {
  text-align: center;
  margin-bottom: 40px;
}

.memvert-kicker {
  font-size: 13px;
  color: #6b5a5f;
  letter-spacing: 0.08em;
  margin: 0 0 10px;
}

.memvert-title {
  font-size: 30px;
  color: #232f46;
  margin: 0;
  font-weight: 700;
}

/* ===== タイトル出し分け（両クラス名に対応） ===== */
.memvert-title--pc,
.only-pc {
  display: inline;
}
.memvert-title--sp,
.only-sp {
  display: none;
}

.memvert-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.memvert-card {
  position: relative;
  display: flex;
  align-items: center;
  background: #fdf9f2;
  border: 1px solid #e2d6b8;
  box-shadow: 0 6px 18px rgba(35, 47, 70, 0.1);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  min-height: 150px;
  max-height: 190px;
  --reveal-delay: 0ms;
  --reveal-distance: 22px;
  opacity: 0;
  transform: translateY(var(--reveal-distance));
  transition: opacity 600ms ease,
    transform 600ms cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--reveal-delay);
  will-change: opacity, transform;
}

.memvert-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(35, 47, 70, 0.15);
}

.memvert-card.shift {
  margin-left: 36px;
}

.memvert-badge {
  position: absolute;
  top: 16px;
  left: -36px;
  background: linear-gradient(135deg, #eadaa9, #c2a35d);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 6px 48px;
  transform: rotate(-45deg);
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  z-index: 3;
  letter-spacing: 0.08em;
}

.memvert-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .memvert-card {
    transition: opacity 250ms linear;
    transform: none !important;
  }
}

.memvert-img {
  margin: 0;
  border-right: 1px solid #efe7d8;
  display: flex;
  flex: 0 0 30%;
  max-width: 30%;
  justify-content: center;
  align-items: center;
}

.memvert-img img {
  display: block;
  width: auto;
  height: auto;
  object-fit: contain;
  max-height: 178px;
  margin: auto;
}

.memvert-body {
  flex: 1;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.memvert-itemTitle {
  font-size: 22px;
  font-weight: 700;
  color: #232f46;
  margin: 0 0 12px;
  position: relative;
}

.memvert-itemTitle::after {
  content: "";
  display: block;
  width: 260px;
  height: 2px;
  background: #c2a35d;
  margin: 10px auto 0;
}

.memvert-desc {
  font-size: 14px;
  color: #6a5b61;
  line-height: 1.8;
  margin: 0;
}

.memvert-sep {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 10px auto 12px;
}

.memvert-sep::before,
.memvert-sep::after {
  content: "";
  flex: 1 1 0;
  height: 1px;
  background: linear-gradient(90deg, #eadaa9, #c2a35d);
  opacity: 0.9;
}

.memvert-sep__flower {
  display: block;
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.06));
}

.br--pc {
  display: inline;
}

.memvert-note-below {
  display: inline-block;
  margin-top: 4px;
  font-size: 11px;
  color: #000;
  opacity: 0.8;
}

/* ========== レスポンシブ ========== */
@media (max-width: 768px) {
  .memvert-card.shift {
    margin-left: 0;
  }

  /* タイトル出し分け（SP側を表示） */
  .memvert-title--pc,
  .only-pc {
    display: none;
  }
  .memvert-title--sp,
  .only-sp {
    display: inline;
  }
}

@media (max-width: 600px) {
  .memvert-card {
    text-align: center;
  }

  .memvert-img {
    max-width: 100%;
    flex: none;
    border-right: none;
    border-bottom: none;
  }

  .memvert-body {
    padding: 18px 16px 24px;
  }

  .memvert-itemTitle {
    font-size: 16px;
  }

  .memvert-desc {
    font-size: 13px;
    line-height: 1.6;
  }

  .memvert-img img {
    max-height: 153px;
  }
}

@media (max-width: 480px) {
  .memvert-sep {
    gap: 10px;
  }

  .memvert-sep__flower {
    width: 16px;
    height: 16px;
  }

  .memvert-itemTitle::after {
    width: 140px;
  }

  .br--pc {
    display: none;
  }
}

/* ========================三大サービス======================== */
.memgoods-wrap {
  padding: 60px 16px;
  font-family: "Noto Serif JP", "Yu Mincho", "游明朝", "Hiragino Mincho ProN",
    "Hiragino Mincho Pro", "Source Han Serif", serif;
  color: #2f2a2b;
}

.memgoods-head {
  text-align: center;
  margin: 0 0 18px;
}

.memgoods-head__title {
  font-size: 26px;
  font-weight: 700;
  color: #233046;
  margin: 0 0 6px;
  display: inline-block;
  position: relative;
  padding-bottom: 12px;
}

.memgoods-head__title::after {
  content: "◆";
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c2a35d;
  font-size: 12px;
  line-height: 1;
  margin-top: 10px;
  padding: 0 6px;
  background: linear-gradient(#c2a35d, #c2a35d) left 50% / calc(50% - 1.1em) 1px
      no-repeat,
    linear-gradient(#c2a35d, #c2a35d) right 50% / calc(50% - 1.1em) 1px
      no-repeat;
}

.memgoods-panel {
  max-width: 960px;
  margin: 0 auto;
  padding: 18px 20px;
  background: #fbf7ee;
  box-shadow: 0 4px 14px rgba(35, 47, 70, 0.05);
}

.memgoods-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: block;
}

.memgoods-row {
  display: grid;
  grid-template-columns: 1fr 96px;
  align-items: center;
  column-gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #d8c89f;
}

.memgoods-row:last-child {
  border-bottom: none;
}

.memgoods-media {
  position: relative;
  display: grid;
  place-items: center;
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
}

.memgoods-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

.memgoods-media::before,
.memgoods-media::after {
  content: "";
  position: absolute;
  inset: 0;
  box-sizing: border-box;
  pointer-events: none;
  z-index: 2;
}

.memgoods-media::before {
  border: 2px solid #c2a35d;
}

.memgoods-media::after {
  border: 1px solid #e8d8ab;
}

.memgoods-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 0.2em;
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: #231f20;
}

.memgoods-emoji {
  font-size: 20px;
  color: #000;
}

.memgoods-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #000;
  margin-right: 0.4em;
}

.memgoods-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.memgoods-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: #2f2a2b;
}

.memgoods-panel[data-reveal-init] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 800ms ease,
    transform 800ms cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}

.memgoods-panel[data-reveal-init].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.memgoods-panel[data-reveal-init] .memgoods-row {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.memgoods-panel[data-reveal-init].is-visible .memgoods-row {
  opacity: 1;
  transform: translateY(0);
}

.memgoods-panel[data-reveal-init] .memgoods-media img {
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 600ms ease, transform 600ms ease;
}

.memgoods-panel[data-reveal-init].is-visible .memgoods-media img {
  opacity: 1;
  transform: scale(1);
}

.memgoods-note {
  display: block !important;
  margin-top: 28px !important;
  text-align: center;
  font-size: 14px;
  color: #6a5a48;
  padding: 10px 14px;
  border-radius: 6px;
  line-height: 1.6;
}

.memgoods-note-below {
  display: inline-block;
  margin-top: 4px;
  font-size: 11px;
  color: #666;
  opacity: 0.8;
}

@media (prefers-reduced-motion: reduce) {
  .memgoods-panel[data-reveal-init],
  .memgoods-panel[data-reveal-init] .memgoods-row,
  .memgoods-panel[data-reveal-init] .memgoods-media img {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

@media (min-width: 769px) {
  .memgoods-panel {
    --media-h: 160px;
  }

  .memgoods-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
  }

  .memgoods-row {
    display: grid !important;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr var(--media-h);
    text-align: center;
    padding: 20px;
    border: 2px solid #eadcc8;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  }

  .memgoods-title {
    grid-row: 1;
    align-items: center;
    text-align: center;
    font-size: 17px;
    margin-bottom: 12px;
  }

  .memgoods-desc {
    grid-row: 2;
    font-size: 14px;
    line-height: 1.7;
    margin-top: 12px;
  }

  .memgoods-media {
    grid-row: 3;
    width: var(--media-h);
    height: var(--media-h);
    margin: 20px auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }

  .memgoods-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .memgoods-emoji {
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  .memgoods-panel {
    --media-h: 120px;
  }

  .memgoods-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    column-gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #d8c89f;
  }

  .memgoods-text {
    flex: 1 1 auto;
    margin-right: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .memgoods-media {
    flex: 0 0 var(--media-h);
    width: var(--media-h);
    height: var(--media-h);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 0;
  }

  .memgoods-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}

.memgoods-head__kicker {
  font-size: 15px;
  line-height: 1.9;
  color: #6a5a48;
  margin: 8px auto 14px; /* タイトルとの間・下の余白 */
  max-width: 42em; /* 行の長さを揃えて読みやすく */
}

/* セクション見出しの下マージンを少し増やす（任意） */
.memgoods-head {
  margin: 0 0 22px;
}

/* ======================== ペット別料金======================== */
:root {
  --ink: #6c5a50;
  --line: #f6dbe5;
  --panel: #fff6f9;
  --accent: #f0a7c4;
}

.acc-btn,
.acc-title,
.acc-range,
.acc-label,
.acc-name,
.acc-price,
.price-acc-section {
  font-family: "Noto Serif JP", "Yu Mincho", "游明朝", "Hiragino Mincho ProN",
    "Hiragino Mincho Pro", "Source Han Serif", "源ノ明朝", "ＭＳ Ｐ明朝",
    "MS PMincho", serif !important;
}

.price-acc-section {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 16px;
  color: var(--ink);
}

.price-acc-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 820ms ease,
    transform 820ms cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}

.price-acc-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.price-acc-section .plan-card,
.price-acc-section .acc-btn,
.price-acc-section .price-notes {
  transition: filter 400ms ease;
}

.price-acc-section:not(.is-visible) .plan-card,
.price-acc-section:not(.is-visible) .acc-btn,
.price-acc-section:not(.is-visible) .price-notes {
  filter: blur(0.3px);
}

@media (prefers-reduced-motion: reduce) {
  .price-acc-section,
  .price-acc-section .plan-card,
  .price-acc-section .acc-btn,
  .price-acc-section .price-notes {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
  }
}

.acc-btn {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 7px 16px;
  background: #fff;
  border: 1px solid var(--accent);
  color: var(--ink);
  font-weight: 700;
  font-size: clamp(12px, 2.7vw, 17px);
  cursor: pointer;
  text-align: left;
  transition: background 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.acc-btn:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  background: #fff0f5;
}

.acc-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.acc-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex: 0 0 22px;
}

.acc-caret {
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(45deg);
  transition: transform 0.2s;
}

.acc-btn[aria-expanded="true"] .acc-caret {
  transform: rotate(-135deg);
}

.acc-panel {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.28s ease, opacity 0.2s ease;
  border-radius: 0 0 10px 10px;
  background: var(--panel);
  border: 0;
}

.acc-panel.is-open {
  opacity: 1;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.acc-panel-inner {
  padding: 8px 12px;
}

.acc-h {
  margin: 0;
}

.acc-item {
  margin: 0;
}

.acc-item + .acc-item {
  margin-top: 4px;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.plan-card {
  border: 1px solid #fff;
  padding: 12px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  color: #2b2b2b;
  font-weight: 600;
}

.plan-name {
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 14px;
}

.plan-price2 {
  font-size: clamp(15px, 2.5vw, 16px);
  color: var(--ink);
  font-weight: 700;
}

.plan-price2 .tax-note {
  font-size: 0.8em;
  color: #555;
}

.plan-misora {
  background: #fff;
  border: 2px solid #ffa0c9;
}

.plan-tachiai {
  background: #fff;
  border: 2px solid #ffb84d;
}

.plan-ichinin {
  background: #fff;
  border: 2px solid #33b5e5;
}

.plan-goudou {
  background: #fff;
  border: 2px solid #99cc33;
}

.acc-range {
  margin-left: 8px;
  font-weight: 700;
  font-size: 20px;
}

.price-notes {
  margin-top: 16px;
  padding-left: 0;
  list-style: none;
  font-size: clamp(13px, 1.4vw, 14px);
  line-height: 1.8;
  color: #444;
}

.price-notes li {
  position: relative;
  padding-left: 1.2em;
}

.price-notes li::before {
  content: "※";
  position: absolute;
  left: 0;
  top: 0;
}

.price-notes li.is-em {
  color: #d84a4a;
  font-weight: 600;
}

@media (max-width: 768px) {
  .plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .acc-label {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 6px 10px;
    align-items: center;
  }

  .acc-icon {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .acc-name {
    grid-column: 2;
    grid-row: 1;
  }

  .acc-range {
    grid-column: 2;
    grid-row: 2;
    display: block;
    margin-left: 0;
    margin-top: 2px;
    font-size: 0.95em;
    overflow-wrap: anywhere;
    font-size: 15px;
  }
}

/* ======================== スタッフ紹介 ======================== */
#staff.team {
  font-family: "游明朝体", "Yu Mincho", serif;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  will-change: opacity, transform;
  margin-top: 40px;
}

#staff.team.is-visible {
  opacity: 1;
  transform: translateY(0);
}

#staff * {
  font-family: inherit;
  border-radius: 0;
}

#staff .team__inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

#staff .team__hero {
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 32px;
  align-items: start;
}

#staff .team__left {
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}

#staff .team__title {
  margin: 0 0 10px;
  color: #6c5a50;
  font-size: 26px;
  font-weight: 700;
}

#staff .team__lede {
  margin: 0;
  color: #5f6b76;
  font-size: 15px;
  line-height: 1.8;
}

#staff .hero-grid {
  display: grid;
  grid-template-columns: 46% 1fr;
  gap: 14px;
  align-items: start;
  border: 1.5px solid #f0a7c4;
  background: #fff;
  box-shadow: 0 6px 18px rgba(20, 40, 60, 0.06);
  padding: 14px 16px;
  max-width: 90%;
  margin: 0 auto;
}

#staff .hero-card {
  margin: 0;
}

#staff .hero-card__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid #ccc;
  margin: 0 auto;
}

#staff .hero-meta__role {
  margin: 0 0 6px;
  color: #0ea5b5;
  font-size: 13px;
}

#staff .hero-meta__name {
  margin: 0 0 10px;
  color: #1e2a32;
  font-size: 18px;
  font-weight: 700;
}

#staff .hero-meta__note {
  margin: 0;
  color: #5f6b76;
  font-size: 14px;
  line-height: 1.8;
}

#staff .team__nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
}

#staff .team__list,
[data-team-list] {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 0 60px;
}

#staff .team__list.is-teleport,
[data-team-list].is-teleport {
  scroll-snap-type: none;
}

#staff .team__list::-webkit-scrollbar {
  display: none;
}

#staff .mini {
  flex: 0 0 calc((100% - 32px) / 3);
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 84px 1fr;
  align-items: center;
  gap: 12px;
  padding: 0 12px 0 0;
  height: 84px;
  border: 1px solid #ccc;
  background: #fff;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    border-color 0.15s ease;
  scroll-snap-align: center;
}

#staff .mini:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
}

#staff .mini.is-active {
  border-color: #f0a7c4;
}

#staff .mini__img {
  width: 84px;
  height: 100%;
  border: 1px solid #ccc;
  overflow: hidden;
}

#staff .mini__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#staff .mini__meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-width: 0;
}

#staff .mini__name {
  font-size: 14px;
  font-weight: 700;
  color: #1e2a32;
}

#staff .mini__role {
  font-size: 12px;
  color: #0ea5b5;
  margin-top: 4px;
}

#staff .team__arrow,
.team__arrow--prev,
.team__arrow--next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  border: 1px solid #333;
  background: #fff;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
  z-index: 9999;
  pointer-events: auto;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

#staff .team__arrow:hover {
  background: #f3f3f3;
}

#staff .team__arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

#staff .team__arrow--prev {
  left: 10px;
}

#staff .team__arrow--next {
  right: 10px;
}

#staff .team__arrow::before {
  content: "";
  position: absolute;
  inset: -10px;
}

[data-team-list] {
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
}

[data-team-list] .mini {
  scroll-snap-align: center;
}

@media (prefers-reduced-motion: reduce) {
  #staff.team,
  #staff.team.is-visible {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

@media (max-width: 780px) {
  #staff .mini {
    flex: 0 0 calc((100% - 16px) / 2);
    grid-template-columns: 72px 1fr;
    height: 72px;
    gap: 10px;
  }

  #staff .mini__img {
    width: 72px;
  }
}

@media (max-width: 755px) {
  #staff .team__hero {
    grid-template-columns: 1fr;
  }

  #staff .hero-grid {
    grid-template-columns: 50% 1fr;
    gap: 12px;
    padding: 12px;
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  #staff .mini {
    flex: 0 0 100%;
  }

  #staff .team__arrow {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }

  #staff .mini__role {
    font-size: 11px;
  }
}

@media (max-width: 560px) {
  #staff .hero-grid {
    grid-template-columns: 45% 1fr;
    gap: 10px;
    padding: 10px;
  }
}

@media (max-width: 780px) and (min-width: 600px) {
  #staff .hero-card__img {
    width: 62%;
  }
}

/* ======================== 提携納骨堂紹介 ======================== */
.temple-wrap {
  width: min(100%, 1100px);
  margin: 32px auto 48px;
  padding: 0 16px;
  box-sizing: border-box;
  font-family: "Noto Serif JP", "Yu Mincho", "游明朝", "Hiragino Mincho ProN",
    serif;
  color: #3a2f2a;
}

.temple-lead {
  font-weight: 700;
  font-size: clamp(13px, 2.2vw, 18px);
  text-align: center;
  margin: 0 0 18px;
}

.temple-grid {
  display: grid;
  gap: clamp(16px, 2.5vw, 28px);
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 768px) {
  .temple-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.temple-card {
  position: relative;
  margin: 0;
}

.temple-card a.temple-open {
  display: block;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  background: #fff;
}

.temple-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .temple-card img {
    height: 180px;
  }
}

.temple-badge {
  position: absolute;
  inset: 10px 10px auto 10px;
  padding: 6px 10px;
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(2px);
}

.temple-caption {
  text-align: center;
  padding: 10px 6px 0;
}

.temple-name {
  font-weight: 800;
  font-size: 20px;
  margin-top: 10px;
}

.temple-addr {
  font-weight: 650;
  opacity: 0.9;
  margin-top: 6px;
  font-size: 14px;
}

.temple-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.temple-modal.is-open {
  display: flex;
}

.temple-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.temple-modal__dialog {
  position: relative;
  max-width: 1000px;
  width: min(92vw, 1000px);
  max-height: 85vh;
  background: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.temple-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid #ddd;
  background: #fff;
  font-size: 20px;
  cursor: pointer;
  z-index: 3;
}

.temple-modal__head {
  display: grid;
  grid-template-columns: 480px 1fr;
  min-height: 46vh;
}

.temple-modal__text {
  padding: clamp(12px, 1.8vw, 20px);
}

.temple-modal__info {
  margin-bottom: 14px;
}

.temple-modal__title {
  font-weight: 800;
  font-size: clamp(18px, 2.2vw, 24px);
  margin: 0 0 8px;
}

.temple-modal__badge {
  font-weight: 700;
  color: #6c5a50;
  margin: 6px 0;
}

.temple-modal__addr,
.temple-modal__tel {
  margin: 6px 0;
  font-weight: 650;
}

.temple-modal__desc {
  font-size: 13.5px;
  line-height: 1.4;
  color: #3a2f2a;
  font-weight: 400;
  margin: 6px 0;
}

.temple-modal__image {
  padding: 12px;
  background: #fff;
  box-sizing: border-box;
  text-align: center;
}

.temple-modal__image img {
  width: 100%;
  height: auto;
  max-height: 45vh;
  object-fit: cover;
  display: inline-block;
}

.temple-modal__list {
  margin: 8px 0 0;
  padding-left: 1em;
}

.temple-modal__list li {
  margin: 2px 0;
  line-height: 1.4;
}

.temple-modal__thumbs {
  padding: 16px;
  display: flex;
  justify-content: center;
  gap: 14px;
  background: #fafafa;
  border-top: 1px solid #eee;
}

.temple-thumb {
  text-align: center;
  flex: 0 1 200px;
}

.temple-thumb button {
  border: 0;
  padding: 0;
  background: #fff;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  width: 100%;
  display: block;
}

.temple-thumb img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}

.temple-thumb button.is-active {
  outline: 2px solid #e38aa8;
  outline-offset: 2px;
}

.temple-thumb__caption {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 650;
  color: #3a2f2a;
}

@media (min-width: 769px) {
  .temple-modal__text {
    overflow: visible;
  }
  .temple-modal__dialog {
    overflow-y: auto;
  }
}

html.temple-lock,
body.temple-lock {
  overflow: hidden;
}

.temple-modal__thumbs:empty {
  display: none;
  padding: 0;
  border-top: none;
}

.temple-modal__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
}

.temple-modal__prev {
  left: calc(max(calc((100vw - 1000px) / 2), 4vw) - 20px);
}

.temple-modal__next {
  right: calc(max(calc((100vw - 1000px) / 2), 4vw) - 20px);
}

@media (max-width: 768px) {
  .temple-modal {
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 16px;
  }

  .temple-modal__dialog {
    position: relative;
    width: min(92vw, 420px);
    max-height: 80vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-gutter: stable both-edges;
    display: flex;
    flex-direction: column;
    position: relative;
  }

  .temple-modal__close {
    position: sticky;
    top: 8px;
    right: 8px;
    margin-left: auto;
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 20px;
    cursor: pointer;
  }

  .temple-modal__head {
    display: flex;
    flex-direction: column;
    flex: none;
  }

  .temple-modal__text {
    padding: 16px;
    flex: none;
    overflow: auto;
  }

  .temple-modal__image {
    padding: 12px;
    background: #fff;
    text-align: center;
    flex: none;
  }

  .temple-modal__image img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
  }

  .temple-modal__desc {
    font-size: 13px;
    line-height: 1.5;
    flex: none;
  }

  .temple-modal__thumbs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    padding: 16px;
    background: #fafafa;
    border-top: 1px solid #eee;
  }

  .temple-thumb {
    flex: none;
    text-align: center;
  }

  .temple-thumb button {
    width: 100%;
    border: 0;
    padding: 0;
    background: #fff;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  }

  .temple-thumb img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
  }

  .temple-modal__prev {
    left: calc(4vw - 20px);
  }

  .temple-modal__next {
    right: calc(4vw - 20px);
  }
}

.temple-wrap[data-reveal-init] .temple-card {
  --reveal-delay: 0ms;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 620ms ease,
    transform 620ms cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--reveal-delay);
  will-change: opacity, transform;
}

.temple-wrap[data-reveal-init] .temple-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.temple-wrap[data-reveal-init] .temple-card img {
  opacity: 0.001;
  transform: scale(0.985);
  transition: opacity 520ms ease, transform 520ms ease;
  will-change: opacity, transform;
}

.temple-wrap[data-reveal-init] .temple-card.is-visible img {
  opacity: 1;
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .temple-wrap[data-reveal-init] .temple-card,
  .temple-wrap[data-reveal-init] .temple-card img {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* ======================== 掲載実績 ======================== */
.results-section {
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 20px;
  font-family: "Noto Serif JP", "Yu Mincho", "游明朝", "Hiragino Mincho ProN",
    "Hiragino Mincho Pro", "Source Han Serif", "ＭＳ Ｐ明朝", "MS PMincho",
    serif;
  color: #6c5a50;
}

.results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.results-heading {
  font-size: 60px;
  font-weight: 700;
  margin-top: -16px;
  margin-bottom: 8px;
}

.results-logo-line {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  text-align: center;
  font-size: 18px;
}

.results-logo {
  max-height: 40px;
  width: auto;
  display: block;
}

.results-text {
  font-size: 18px;
}

.results-left .results-img img,
.results-right .results-img img {
  display: block;
  max-width: 100%;
  width: 100%;
  height: auto;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.results-right .results-img img {
  max-width: 260px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .results-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.results-section[data-reveal-init] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 820ms ease,
    transform 820ms cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}

.results-section[data-reveal-init].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.results-section[data-reveal-init] .results-img img {
  opacity: 0.001;
  transform: scale(0.985);
  transition: opacity 520ms ease, transform 520ms ease;
  will-change: opacity, transform;
}

.results-section[data-reveal-init].is-visible .results-img img {
  opacity: 1;
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .results-section[data-reveal-init],
  .results-section[data-reveal-init] .results-img img {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* ======================== ペットシッターからの声 ======================== */
:root {
  --ink: #6c5a50;
  --line: #f3d7e3;
  --bg: #fff6f9;
  --panel: #ffeaf1;
  --accent: #f0a7c4;
}

.endorse-wrap {
  max-width: 1000px;
  margin: 30px auto;
  padding: 0 20px;
  box-sizing: border-box;
  font-family: "Noto Serif JP", "Yu Mincho", "游明朝", serif;
  color: var(--ink);
}

.endorse {
  display: grid !important;
  grid-template-columns: 320px 1fr !important;
  gap: 18px !important;
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 16px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
  align-items: start;
}

.endorse__body {
  display: contents !important;
}

.endorse__media {
  grid-column: 1 !important;
  grid-row: 1 / span 2 !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.endorse__media img {
  width: 100%;
  max-height: 380px;
  height: auto;
  object-fit: cover;
}

.endorse__head {
  grid-column: 2 !important;
  grid-row: 1 !important;
}
.endorse__lead {
  grid-column: 2 !important;
  grid-row: 2 !important;
}

.endorse__text {
  grid-column: 1 / -1 !important;
  grid-row: 3 !important;
}

.endorse__cv {
  grid-column: 1 / -1 !important;
  grid-row: 4 !important;
}

.endorse__head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 0;
}

.endorse__badge em {
  font-style: normal;
  font-weight: 900;
}

.endorse__title {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.endorse__org {
  font-weight: 800;
  font-size: 18px;
  color: #5a4a3f;
}

.endorse__role {
  font-weight: 700;
  font-size: 16px;
  color: #5a4a3f;
}

.endorse__lead {
  margin: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 10px 12px;
  line-height: 1.8;
  font-size: 14px;
}

.endorse__text p {
  margin: 0 0 10px;
  line-height: 1.9;
  font-size: 14px;
}

.endorse__cvhead {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 800;
  color: #5a4a3f;
  border-left: 4px solid var(--accent);
  padding-left: 8px;
}

.endorse__timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.endorse__timeline li {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 8px 10px;
}

.endorse__timeline .y {
  font-weight: 800;
  color: #7a6a5d;
}

.endorse__timeline .d {
  color: #5b5149;
}

@media (max-width: 860px) {
  .endorse {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .endorse__media,
  .endorse__head,
  .endorse__lead,
  .endorse__text,
  .endorse__cv {
    grid-row: auto !important;
  }

  .endorse__media img {
    width: 100%;
    max-height: 260px;
    object-fit: cover;
  }

  .endorse__lead {
    font-size: 12.5px;
  }

  .endorse__collapse {
    grid-column: 1 / -1 !important;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .endorse.is-open .endorse__collapse {
    max-height: 1000vh;
  }

  .endorse__toggle {
    font-family: "Noto Serif JP", "Yu Mincho", "游明朝", serif;
    grid-column: 1 / -1 !important;
    margin-top: 8px;
    align-self: center;
    border: 1px solid var(--accent);
    background: #fff;
    color: #7c465d;
    border-radius: 9999px;
    padding: 8px 16px;
    font-weight: 700;
    cursor: pointer;
    line-height: 1;
  }
}

@media (min-width: 861px) {
  .endorse__collapse {
    grid-column: 1 / -1 !important;
    max-height: none;
    display: grid;
    justify-items: center;
    row-gap: 18px;
  }

  .endorse__text,
  .endorse__cv {
    width: min(900px, 100%);
    margin: 0;
    justify-self: center;
    grid-column: auto !important;
    grid-row: auto !important;
  }

  .endorse__text:not(:where(.endorse__collapse *)),
  .endorse__cv:not(:where(.endorse__collapse *)) {
    grid-column: 1 / -1 !important;
    justify-self: center;
    width: min(900px, 100%);
    grid-row: auto !important;
  }

  .endorse__toggle {
    display: none !important;
  }
}

@supports not (display: contents) {
  .endorse {
    grid-template-columns: 1fr !important;
  }

  .endorse__body {
    display: block !important;
  }
}

@media (max-width: 860px) and (min-width: 601px) {
  .endorse {
    grid-template-columns: minmax(220px, 36%) 1fr !important;
    gap: 12px !important;
  }

  .endorse__media {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
  }

  .endorse__head {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }

  .endorse__lead {
    grid-column: 2 !important;
    grid-row: 2 !important;
  }

  .endorse__media img {
    width: 100%;
    max-height: clamp(200px, 32vw, 300px);
    object-fit: cover;
  }

  .endorse.is-open .endorse__collapse {
    max-height: none;
  }

  .endorse__toggle {
    display: none !important;
  }
}

@media (max-width: 600px) {
  .endorse {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .endorse__media,
  .endorse__head,
  .endorse__lead,
  .endorse__text,
  .endorse__cv {
    grid-column: 1 !important;
    grid-row: auto !important;
  }

  .endorse__media img {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
  }

  .endorse__lead {
    font-size: 15px;
    line-height: 1.9;
  }

  .endorse__collapse {
    grid-column: 1 / -1 !important;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .endorse.is-open .endorse__collapse {
    max-height: 1000vh;
  }

  .endorse__toggle {
    font-family: "Noto Serif JP", "Yu Mincho", "游明朝", serif;
    grid-column: 1 / -1 !important;
    margin-top: 8px;
    align-self: center;
    border: 1px solid var(--accent);
    background: #fff;
    color: #7c465d;
    border-radius: 9999px;
    padding: 8px 16px;
    font-weight: 700;
    cursor: pointer;
    line-height: 1;
  }
}

.endorse-wrap[data-reveal-init] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 820ms ease,
    transform 820ms cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}

.endorse-wrap[data-reveal-init].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.endorse-wrap[data-reveal-init] .endorse__media img {
  opacity: 0.001;
  transform: scale(0.985);
  transition: opacity 520ms ease, transform 520ms ease;
  will-change: opacity, transform;
}
.endorse-wrap[data-reveal-init].is-visible .endorse__media img {
  opacity: 1;
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .endorse-wrap[data-reveal-init],
  .endorse-wrap[data-reveal-init] .endorse__media img {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* ======================== Google口コミ ======================== */
.stories__reviews {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 16px;
}

.stories__reviews .ti-widget.ti-goog .ti-review-item > .ti-inner {
  border: 2px solid #f3d7e3 !important;
  background: #fff !important;
  padding: 16px !important;
  margin-bottom: 16px !important;
  box-shadow: 0 6px 16px rgba(243, 215, 227, 0.25);
}

.stories__reviews[data-reveal-init] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 820ms ease,
    transform 820ms cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}

.stories__reviews[data-reveal-init].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.stories__reviews[data-reveal-init]
  .ti-widget.ti-goog
  .ti-review-item
  > .ti-inner {
  opacity: 0.001;
  transform: scale(0.985);
  transition: opacity 520ms ease, transform 520ms ease;
  will-change: opacity, transform;
}

.stories__reviews[data-reveal-init].is-visible
  .ti-widget.ti-goog
  .ti-review-item
  > .ti-inner {
  opacity: 1;
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .stories__reviews[data-reveal-init],
  .stories__reviews[data-reveal-init]
    .ti-widget.ti-goog
    .ti-review-item
    > .ti-inner {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* ======================== 葬儀後の声 ======================== */
.voiceSlider-wrap {
  width: min(100%, 1000px);
  margin: 40px auto;
  padding: 0 16px;
  box-sizing: border-box;
  font-family: "Noto Serif JP", "Yu Mincho", "游明朝", "Hiragino Mincho ProN",
    "Hiragino Mincho Pro", "Source Han Serif", serif;
}

.voiceSlider {
  position: relative;
  overflow: hidden;
}

.voiceSlider-track {
  --gap: 40px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--gap) * 2)) / 3);
  gap: var(--gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 2px 2px 8px;
  margin: 0;
  list-style: none;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.voiceSlider-track::-webkit-scrollbar {
  display: none;
}

@media (max-width: 900px) {
  .voiceSlider-track {
    grid-auto-columns: calc((100% - var(--gap)) / 2);
  }
}

@media (max-width: 520px) {
  .voiceSlider-track {
    grid-auto-columns: 100%;
  }
}

.voiceSlider-head {
  display: none;
}

.voiceSlider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 36px;
  height: 36px;
  border: 1px solid #e1e1e1;
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.voiceSlider-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.voiceSlider-btn.prev {
  left: 3px;
}

.voiceSlider-btn.next {
  right: 3px;
}

.voiceSlider-card {
  background: #fff;
  border: 1px solid #e6e6e6;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.voiceSlider-card__link {
  display: block !important;
  position: relative !important;
  padding: 16px !important;
  color: inherit;
  text-decoration: none;
}

.voiceSlider-card__title {
  margin: 0 0 6px;
  font-weight: 800;
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.5;
}

.voiceSlider-card__date {
  display: block;
  margin: 0 0 12px;
  font-size: 13px;
  color: #2aa3a3;
}

.voiceSlider-card__thumb {
  position: relative !important;
  z-index: 0 !important;
  margin: 0 0 12px !important;
  overflow: hidden !important;
  aspect-ratio: 16/10 !important;
  display: block !important;
  float: none !important;
  clear: both !important;
}

.voiceSlider-card__thumb img {
  position: static !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.voiceSlider-card__body {
  font-size: 14px;
  line-height: 1.7;
  color: #333;
}

.voice-label-plan,
.voice-label-area,
.voice-label-price {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
}

.voice-label-plan::before,
.voice-label-area::before,
.voice-label-price::before {
  content: "";
  display: inline-block;
  min-width: 72px;
  padding: 6px 10px;
  background: #2aa3a3;
  color: #fff;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.03em;
}

.voice-label-plan::before {
  content: "プラン";
}

.voice-label-area::before {
  content: "エリア";
}

.voice-label-price::before {
  content: "料金";
}

.voice-label-price {
  color: #e86d8b;
  font-weight: 800;
}

.voiceBanner {
  background: #ffeaf1;
  color: #6c5a50;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 12px;
  margin: 12px 0;
  line-height: 1.6;
  text-align: center;
}

.show-on-single {
  display: none;
}

.single-voice .show-on-single {
  display: block;
}

.voiceSlider-empty {
  padding: 24px;
  border: 1px dashed #ddd;
  border-radius: 8px;
  text-align: center;
}

.voiceModal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
  font-family: "Noto Serif JP", "Yu Mincho", "游明朝", "Hiragino Mincho ProN",
    "Hiragino Mincho Pro", "Source Han Serif", serif;
}

.voiceModal[aria-hidden="false"] {
  display: block;
}

.voiceModal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.voiceModal__dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(600px, calc(100vw - 80px));
  aspect-ratio: 1 / 1;
  max-height: calc(100dvh - 80px);
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
  padding: 16px;
  position: relative;
}

.voiceModal__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
}

.voiceModal__content {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 6px;
}

.voiceModal .voiceSlider-card {
  margin: 0 auto;
  width: 100%;
  max-width: none;
  border: 0;
  box-shadow: none;
}

.voiceModal .voiceSlider-card__thumb {
  width: 100%;
  margin: 0 0 12px !important;
  padding: 0 !important;
  aspect-ratio: 16/9 !important;
}

.voice-label-plan::before html.is-modal-open,
body.is-modal-open {
  overflow: hidden;
}

.voiceModal .show-on-single {
  display: block;
}

.voiceModal__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.85);
  border: none;
  font-size: 32px;
  font-weight: bold;
  line-height: 1;
  color: #333;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, opacity 0.2s;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.voiceModal__arrow:hover:not(:disabled) {
  background: #f06292;
  color: #fff;
}

.voiceModal__prev {
  left: 16px;
}

.voiceModal__next {
  right: 16px;
}

.voiceModal__arrow:disabled,
.voiceModal__arrow[aria-disabled="true"] {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.voiceModal__arrow:focus-visible {
  outline: 2px solid #f06292;
  outline-offset: 2px;
}

@media (max-width: 520px) {
  .voiceModal__dialog {
    width: calc(100vw - 32px);
    max-height: calc(100dvh - 32px);
  }
}

@media (max-width: 900px) {
  .voiceSlider-progress {
    width: min(80%, 360px);
    margin: 10px auto 0;
    display: block;
    position: relative;
    height: 3px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 999px;
    overflow: hidden;
  }

  .voiceSlider-progress__bar {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 0%;
    background: rgba(0, 0, 0, 0.42);
    border-radius: inherit;
    transition: left 0.08s linear, width 0.08s linear;
  }

  .voiceSlider-track {
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .voiceSlider-track::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 640px) {
  .voiceModal__arrow {
    width: 44px;
    height: 44px;
    font-size: 28px;
  }

  .voiceModal__prev {
    left: 8px;
  }

  .voiceModal__next {
    right: 8px;
  }
}

@media (max-width: 380px) {
  .voiceModal__prev {
    left: 4px;
  }

  .voiceModal__next {
    right: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .voiceModal__arrow {
    transition: none;
  }
}

.voiceSlider-wrap[data-reveal-init],
.memoryWall-wrap[data-reveal-init] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 820ms ease,
    transform 820ms cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}

.voiceSlider-wrap[data-reveal-init].is-visible,
.memoryWall-wrap[data-reveal-init].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.voiceSlider-wrap[data-reveal-init] .voiceSlider-card__thumb img,
.memoryWall-wrap[data-reveal-init] .memoryWall-card__thumb img {
  opacity: 0.001;
  transform: scale(0.985);
  transition: opacity 520ms ease, transform 520ms ease;
  will-change: opacity, transform;
}

.voiceSlider-wrap[data-reveal-init].is-visible .voiceSlider-card__thumb img,
.memoryWall-wrap[data-reveal-init].is-visible .memoryWall-card__thumb img {
  opacity: 1;
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .voiceSlider-wrap[data-reveal-init],
  .memoryWall-wrap[data-reveal-init],
  .voiceSlider-wrap[data-reveal-init] .voiceSlider-card__thumb img,
  .memoryWall-wrap[data-reveal-init] .memoryWall-card__thumb img {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* ======================== お別れの時に大切なこと ======================== */
:root {
  --ink: #3a2f2a;
  --panel: #fff;
  --line: #f0e2ea;
  --pink: #ffeaf1;
  --pink-deep: #f8c9dc;
  --accent-blue: #3aa8ff;
  --accent-blue-deep: #1e86d6;
  --cta-bg: #fff6d8;
  --cta-text: #7a6230;
}

.step-pink {
  max-width: 1000px;
  margin: 28px auto 40px;
  padding: 0 16px;
  font-family: "Noto Serif JP", "Yu Mincho", "游明朝", serif;
  color: #6c5a50;
  display: grid;
  gap: 20px;
}

.step-card {
  background: var(--panel);
  border: 1px solid var(--pink-deep);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  overflow: visible;
}

.step-card__head {
  position: relative;
  background: var(--pink);
  padding: 14px 16px 12px;
  border-bottom: 1px solid var(--pink-deep);
  display: grid;
  align-items: center;
}

.step-card__flag {
  position: absolute;
  left: 12px;
  top: -14px;
  background: var(--accent-blue);
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.step-card__title {
  margin: 0;
  text-align: left;
  font-size: clamp(16px, 2.6vw, 20px);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.step-card__body {
  display: grid;
  grid-template-columns: 1.6fr 0.9fr;
  gap: 16px;
  padding: 14px 16px 16px;
  align-items: start;
}

.step-card__text p {
  line-height: 1.75;
  font-size: clamp(14px, 2.1vw, 15.5px);
}

.step-card__badge {
  display: inline-block;
  margin-top: 6px;
  padding: 6px 10px;
  border: 1px solid var(--accent-blue);
  color: var(--accent-blue-deep);
  font-weight: 800;
  font-size: 12px;
  border-radius: 999px;
  background: #fff;
}

.step-card__media {
  margin: 0;
  justify-self: end;
  align-self: start;
  max-width: clamp(220px, 30vw, 320px);
}

.step-card__media img {
  width: 100%;
  height: auto;
  max-height: clamp(160px, 26vw, 220px);
  object-fit: contain;
  display: block;
  border-radius: 8px;
}

.step-card__cta {
  background: var(--cta-bg);
  border-top: 1px solid var(--pink-deep);
  padding: 14px 12px 16px;
  text-align: center;
}

.step-card__cta-note {
  margin: 0 0 6px;
  color: var(--cta-text);
  font-weight: 700;
  font-size: 14px;
}

.step-card__cta-tel {
  margin: 0 0 4px;
  font-weight: 900;
  font-size: clamp(20px, 7.6vw, 30px);
  letter-spacing: 0.04em;
}

.step-card__cta-tel a {
  color: var(--accent-blue-deep);
  text-decoration: none;
}

.step-card__cta-tel a:hover {
  text-decoration: underline;
}

.step-card__cta-small {
  margin: 0;
  color: #000000;
  font-size: 17px;
}

.hl {
  color: #4fa3d9;
  font-weight: 800;
}

@media (max-width: 580px) {
  .step-card__body {
    grid-template-columns: 1fr;
    gap: 0 !important;
  }

  .step-card__media {
    order: 2;
    justify-self: center;
    max-width: min(560px, 100%);
    margin-top: 10px;
  }

  .step-card__media img {
    max-height: clamp(180px, 50vw, 280px);
  }

  .step-card__flag {
    left: 10px;
    top: -17px;
  }
}

@media (max-width: 420px) {
  .step-card__title {
    font-size: 16px;
  }

  .step-card__badge {
    font-size: 11px;
  }
}

.step-pink[data-reveal-init] .step-card {
  --reveal-delay: 0ms;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 640ms ease,
    transform 640ms cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--reveal-delay);
  will-change: opacity, transform;
}

.step-pink[data-reveal-init] .step-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.step-pink[data-reveal-init] .step-card__media img {
  opacity: 0.001;
  transform: scale(0.985);
  transition: opacity 520ms ease, transform 520ms ease;
  will-change: opacity, transform;
}

.step-pink[data-reveal-init] .step-card.is-visible .step-card__media img {
  opacity: 1;
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .step-pink[data-reveal-init] .step-card,
  .step-pink[data-reveal-init] .step-card__media img {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* ======================== 専門家声（！！！php公開停止中！！！） ======================= */
.voices {
  max-width: 1000px;
  margin: 28px auto 40px;
  padding: 0 16px;
  font-family: "Noto Serif JP", "Yu Mincho", "游明朝", serif;
  color: #6c5a50;
  display: grid;
  gap: 28px;
}

.voice-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 18px;
  align-items: start;
  padding: 18px 0;
  border-top: 1px dotted #bfbfbf;
}

.voice-card:first-child {
  border-top: none;
}

.voice-media {
  margin: 0;
}

.voice-media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border: 1px solid #dcdcdc;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.voice-title {
  margin: 0 0 8px;
  font-size: clamp(16px, 2.2vw, 18px);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-align: left;
}

.voice-text {
  font-size: 14.5px;
  line-height: 1.9;
  color: #3a3a3a;
}

.voice-text a {
  color: #2f6db3;
  text-decoration: underline;
}

.voice-sign {
  margin: 10px 0 0;
  text-align: right;
  color: #6c5a50;
  font-size: 13px;
}

.voice-sign__name {
  display: inline-block;
  margin-top: 4px;
  font-weight: 800;
  font-size: 14px;
}

@media (max-width: 680px) {
  .voice-card {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .voice-media {
    max-width: 70%;
    margin: 0 auto;
  }

  .voice-sign {
    font-size: 12.5px;
  }

  .voice-sign__name {
    font-size: 13.5px;
  }
}

/* ======================== よくある質問 ======================== */
.dogfaq {
  --ink: #6c5a50;
  --line: #f3d7e3;
  --bg: #fff;
  --pink-weak: #fff3f8;
  --blue-weak: #f3f9ff;
  max-width: 1000px;
  margin: 32px auto;
  padding: 0 16px;
  font-weight: 700;
  font-family: "Noto Serif JP", "Yu Mincho", "游明朝", "Hiragino Mincho ProN",
    "Hiragino Mincho Pro", "Source Han Serif", "源ノ明朝", "ＭＳ Ｐ明朝",
    "MS PMincho", serif;
  color: var(--ink);
  line-height: 1.8;
}

.dogfaq__item {
  border: 1px solid var(--line);
  background: var(--bg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  margin: 12px 0;
}

.dogfaq__qwrap {
  border-bottom: 1px dashed var(--line);
}

.dogfaq__item.is-open .dogfaq__qwrap {
  background: linear-gradient(90deg, var(--pink-weak), transparent);
}

.dogfaq__qbtn {
  all: unset;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 14px 16px;
  cursor: pointer;
  color: var(--ink);
}

.dogfaq__qbtn:focus-visible {
  outline: 2px solid #6bb6ff;
}

.dogfaq__icon {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 40px;
}

.dogfaq__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.dogfaq__icon--q::after {
  content: "Q";
  position: absolute;
  top: 61%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 16px;
  font-weight: 700;
  color: #6c5a50;
}

.dogfaq__icon--a::after {
  content: "A";
  position: absolute;
  top: 64%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 16px;
  font-weight: 700;
  color: #6bb6ff;
}

.dogfaq__pm {
  display: inline-grid;
  place-items: center;
  width: 1.6em;
  height: 1.6em;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  color: #6c5a50;
  pointer-events: none;
  margin-right: 8px;
}

.dogfaq__pm::before {
  content: "+";
}

.dogfaq__qbtn[aria-expanded="true"] .dogfaq__pm::before {
  content: "−";
}

.dogfaq__apanel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
  padding: 0 16px;
  background: var(--blue-weak);
}

.dogfaq__abody {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: flex-start;
  padding: 14px 0;
}

.dogfaq__atext {
  margin: 0;
  color: var(--ink);
}

@media (max-width: 640px) {
  .dogfaq__qbtn {
    padding: 14px 12px;
  }

  .dogfaq__pm {
    margin-right: 6px;
    font-size: 20px;
  }

  .dogfaq__apanel {
    padding: 0 12px;
  }
}

.img-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.img-modal.is-open {
  display: block;
}

.img-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
}

.img-modal__dialog {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

#imgModalTarget {
  display: block;
  max-width: 96vw;
  max-height: 88vh;
  width: auto;
  height: auto;
  border-radius: 8px;
  object-fit: contain;
  animation: modal-pop 0.18s ease-out;
}

.img-modal__close {
  position: fixed;
  top: 60px;
  right: 30px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  backdrop-filter: blur(2px);
}

.img-modal__close:hover,
.img-modal__close:focus-visible {
  border-color: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
}

.img-modal__caption {
  margin-top: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
}

@keyframes modal-pop {
  from {
    opacity: 0;
    transform: translateY(6px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 560px) {
  .img-modal__close {
    top: 84px;
    right: 12px;
    width: 36px;
    height: 36px;
    font-size: 20px;
  }

  #imgModalTarget {
    border-radius: 6px;
  }
}

.dogfaq[data-reveal-init] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 820ms ease,
    transform 820ms cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}

.dogfaq[data-reveal-init].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.dogfaq[data-reveal-init] .dogfaq__item {
  transition: filter 400ms ease;
}

.dogfaq[data-reveal-init]:not(.is-visible) .dogfaq__item {
  filter: blur(0.2px);
}

@media (prefers-reduced-motion: reduce) {
  .dogfaq[data-reveal-init],
  .dogfaq[data-reveal-init] .dogfaq__item {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
  }
}

/* ======================== 対応エリア ======================== */
.area-list {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 16px;
  font-family: "Noto Serif JP", "Yu Mincho", "游明朝", "Hiragino Mincho ProN",
    "Hiragino Mincho Pro", "Source Han Serif", "源ノ明朝", "ＭＳ Ｐ明朝",
    "MS PMincho", serif;
  line-height: 1.9;
  text-align: center;
}

.area-lead {
  margin-bottom: 32px;
  font-weight: 700;
  color: #6c5a50;
}

.area-pref {
  margin: 24px 0 8px;
  font-size: 1.2em;
  font-weight: 700;
  color: #6c5a50;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.area-pref .mark {
  width: 14px;
  height: 14px;
}

.area-cities {
  margin: 0 0 24px;
  font-size: 0.95em;
  color: #6c5a50;
}

.area-accordion {
  margin: 0 auto 16px;
  background: none;
  border: none;
  text-align: center;
}

.area-accordion > summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: #6c5a50;
  font-size: 1.05em;
  padding: 6px 8px;
  border-radius: 6px;
}

.area-accordion > summary::-webkit-details-marker {
  display: none;
}

.area-accordion__icon {
  font-size: 0.9em;
  transition: transform 0.2s ease;
}

.area-accordion[open] .area-accordion__icon {
  transform: rotate(180deg);
}

.area-accordion__body {
  margin-top: 8px;
}

.area-cities a {
  color: #6c5a50;
  text-decoration: underline;
  transition: color 0.25s ease;
}

.area-cities a:hover,
.area-cities a:focus {
  color: #0073e6;
}

@media (max-width: 640px) {
  .area-pref {
    font-size: 1.1em;
  }

  .area-accordion > summary {
    font-size: 1em;
    padding: 5px 6px;
  }

  .area-cities {
    font-size: 0.92em;
  }
}

/* ======================== 流れ ======================== */
.flow-steps {
  --pink: #f0a7c4;
  --pink-weak: #fff3f8;
  --blue: #6bb6ff;
  --ink: #6c5a50;
  --line: #f3d7e3;
  --note: #fff6a8;
  max-width: 1000px;
  margin: 24px auto;
  padding: 0 16px;
  font-family: "Noto Serif JP", "Yu Mincho", "游明朝", "Hiragino Mincho ProN",
    "Hiragino Mincho Pro", "Source Han Serif", "源ノ明朝", "ＭＳ Ｐ明朝",
    "MS PMincho", serif;
  color: var(--ink);
  line-height: 1.9;
  background: transparent; /* ← ここは消す or transparent に */
}

.flow-step {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  padding: 18px;
  margin: 18px 0;
  position: relative;
  overflow: hidden;
}

.flow-step__head {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--pink-weak);
  border: 1px solid var(--pink);
  color: var(--ink);
  font-weight: 700;
  padding: 10px 12px;
  margin-bottom: 10px;
}

.flow-step__num {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 9999px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: var(--blue);
  border: 2px solid var(--blue);
  background: #fff;
  line-height: 1;
}

.flow-step__body {
  font-size: 15px;
}

.flow-step__notes {
  margin-top: 6px;
  display: grid;
  gap: 4px;
}

.flow-step__note {
  margin: 0;
  padding: 0;
  font-size: 0.9em;
  color: var(--ink);
  background: none;
  border: none;
  font-weight: 400;
}

.flow-step__imgwrap {
  border: 1px solid var(--line);
  overflow: hidden;
  background: #fff;
}

.flow-step__imgwrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.accent {
  color: #4fa3d9;
  font-weight: 800;
}

@media (max-width: 650px) {
  .flow-step {
    grid-template-columns: 1fr;
    padding: 14px;
    gap: 0;
  }

  .flow-step__imgwrap {
    order: 2;
    max-width: 260px;
    margin: 12px auto 0;
  }

  .flow-step__imgwrap img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
  }
}

.flow-steps[data-reveal-init] .flow-step {
  --reveal-delay: 0ms;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 640ms ease,
    transform 640ms cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--reveal-delay);
  will-change: opacity, transform;
}

.flow-steps[data-reveal-init] .flow-step.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.flow-steps[data-reveal-init] .flow-step__imgwrap img {
  opacity: 0.001;
  transform: scale(0.985);
  transition: opacity 520ms ease, transform 520ms ease;
  will-change: opacity, transform;
}

.flow-steps[data-reveal-init] .flow-step.is-visible .flow-step__imgwrap img {
  opacity: 1;
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .flow-steps[data-reveal-init] .flow-step,
  .flow-steps[data-reveal-init] .flow-step__imgwrap img {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* ====================== 思い出写真館 ====================== */
.seo-mw .memoryWall-wrap {
  width: min(100%, 1000px);
  margin: 40px auto;
  padding: 0 16px;
  box-sizing: border-box;
  font-family: "Noto Serif JP", "Yu Mincho", "游明朝", "Hiragino Mincho ProN",
    "Hiragino Mincho Pro", "Source Han Serif", serif;
}

.seo-mw .memoryWall-head {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 12px;
}

.seo-mw .memoryWall-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  inline-size: 36px;
  block-size: 36px;
  border: 1px solid #e1e1e1;
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 20px;
  line-height: 1;
  z-index: 10;
}

.seo-mw .memoryWall-btn.prev {
  left: 0;
}
.seo-mw .memoryWall-btn.next {
  right: 0;
}

.seo-mw .memoryWall-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.seo-mw .memoryWall {
  position: relative;
  overflow: hidden;
}

.seo-mw .memoryWall-track {
  --gap: 16px;
  --cols: 5;
  --rows: 3;
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(var(--rows), auto);
  grid-template-columns: repeat(
    var(--cols),
    calc((100% - (var(--gap) * (var(--cols) - 1))) / var(--cols))
  );
  grid-auto-columns: calc(
    (100% - (var(--gap) * (var(--cols) - 1))) / var(--cols)
  );
  gap: var(--gap);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  padding: 2px 2px 8px;
  margin: 0;
  list-style: none;
  scrollbar-width: none;
}
.seo-mw .memoryWall-track::-webkit-scrollbar {
  display: none;
}

@media (max-width: 1100px) {
  .seo-mw .memoryWall-track {
    --cols: 4;
  }
}
@media (max-width: 900px) {
  .seo-mw .memoryWall-track {
    --cols: 3;
  }
}
@media (max-width: 600px) {
  .seo-mw .memoryWall-thumb {
    aspect-ratio: 4 / 3;
  }
}
@media (max-width: 500px) {
  .seo-mw .memoryWall-track {
    --cols: 2;
    --rows: 1;
    padding-inline: 0;
    -webkit-overflow-scrolling: touch;
    scroll-padding-inline: 0;
  }
}

.seo-mw .memoryWall-card {
  background: #fff;
  border: 1px solid #e6e6e6;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.seo-mw .memoryWall-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
  padding: 0;
  height: 100%;
}

.seo-mw .memoryWall-card__link::before,
.seo-mw [data-title-raw]::before {
  content: none !important;
}

.seo-mw .memoryWall-thumb {
  overflow: hidden;
  aspect-ratio: 3 / 2;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  margin: 0 0 6px;
}

.seo-mw .memoryWall-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0;
}

.seo-mw .memoryWall-card__title {
  margin: 8px 0 0;
  font-weight: 800;
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 1.7;
  text-align: center;
  color: #333;
  white-space: pre-line;
}
.seo-mw .memoryWall-card__title br {
  display: block;
}

.seo-mw .memoryWall-empty {
  padding: 24px;
  border: 1px dashed #ddd;
  border-radius: 8px;
  text-align: center;
}

.seo-mw .memoryWall-card__body {
  display: none;
}

/* ========== モーダル（SEO専用） ========== */
.seo-mw .memoryModal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
  font-family: "Noto Serif JP", "Yu Mincho", "游明朝", "Hiragino Mincho ProN",
    "Hiragino Mincho Pro", "Source Han Serif", serif;
}
.seo-mw .memoryModal[aria-hidden="false"] {
  display: block;
}

.seo-mw .memoryModal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.seo-mw .memoryModal__dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 450px;
  max-height: calc(100dvh - 80px);
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
  padding: 16px;
}

@media (max-width: 520px) {
  .seo-mw .memoryModal__dialog {
    height: auto !important;
    max-height: calc(100dvh - 24px) !important;
    padding: 12px;
  }
  .seo-mw .memoryModal__header {
    padding: 2px 6px 8px;
  }
  .seo-mw .memoryModal__header .memoryWall-card__title {
    font-size: 14px;
    line-height: 1.5;
  }
  .seo-mw .memoryModal__content {
    padding-right: 4px;
  }
  .seo-mw .memoryModal__content .memoryWall-thumb:first-of-type {
    aspect-ratio: 3 / 2;
    margin-bottom: 10px;
  }
  .seo-mw .memoryModal__content .memoryWall-thumb:first-of-type img {
    object-fit: contain;
  }
}

.seo-mw .memoryModal__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  font-size: 20px;
  cursor: pointer;
  z-index: 60;
}

.seo-mw .memoryModal__header,
.seo-mw .memoryModal__content {
  position: relative;
  z-index: 1;
}

.seo-mw .memoryModal__header {
  flex: 0 0 auto;
  padding: 4px 8px 10px;
  text-align: center;
}

.seo-mw .memoryModal__header .memoryWall-card__title {
  margin: 0;
  font-weight: 800;
  line-height: 1.7;
  color: #333;
  white-space: pre-line;
}

.seo-mw .memoryModal__content {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-right: 6px;
}

.seo-mw .memoryModal .memoryWall-thumb {
  flex: 0 0 auto !important;
  aspect-ratio: 16/9;
  margin: 0 0 12px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.seo-mw .memoryModal .memoryWall-thumb img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.seo-mw .memoryModal__nav {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 50;
}

.seo-mw .memoryModal__navBtn {
  pointer-events: auto;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  font-size: 20px;
  z-index: 51;
}
.seo-mw .memoryModal__navBtn.prev {
  left: 8px;
}
.seo-mw .memoryModal__navBtn.next {
  right: 8px;
}

.seo-mw .is-modal-open {
  overflow: hidden;
}

@media (max-width: 680px), (max-height: 520px) {
  .seo-mw .memoryModal__dialog {
    width: calc(100vw - 20px);
    max-height: none;
  }
  .seo-mw .memoryModal .memoryWall-thumb {
    aspect-ratio: auto;
  }
  .seo-mw .memoryModal .memoryWall-thumb img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}

.seo-mw .memoryModal .memoryModal-text p,
.seo-mw .memoryModal .mw-text p {
  margin: 0.4em 0;
}

.seo-mw .memoryModal .memoryModal-text p:first-child,
.seo-mw .memoryModal .mw-text p:first-child {
  margin-top: 0;
}

.seo-mw .memoryModal .memoryModal-text p:last-child,
.seo-mw .memoryModal .mw-text p:last-child {
  margin-bottom: 0;
}

.seo-mw .memoryModal .mw-text,
.seo-mw .memoryModal .memoryModal-text {
  margin: 10px auto;
  max-width: min(520px, calc(100% - 24px));
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  font-size: 14px;
  line-height: 1.8;
}

.seo-mw .memoryModal .mw-text {
  padding: 14px 16px;
  border: 1px solid #e9e9ee;
  background: #fff;
  color: #333;
}

.seo-mw .memoryModal .memoryModal-text {
  padding: 14px 16px;
  border: 1px solid #ffd5e8;
  background: #fff7fb;
  color: #7c465d;
}

@media (max-width: 900px) {
  .seo-mw .memoryWall-rangeWrap {
    width: min(80%, 360px);
    margin: 10px auto 0;
    display: block;
  }
  .seo-mw .memoryWall-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 3px;
    border-radius: 999px;
    background: #e5e5e5;
    outline: none;
  }
  .seo-mw .memoryWall-range::-webkit-slider-runnable-track {
    height: 3px;
    border-radius: 999px;
    background: #e5e5e5;
  }
  .seo-mw .memoryWall-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 56px;
    height: 3px;
    border-radius: 999px;
    background: #6b6b6b;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
    margin-top: 0;
    cursor: pointer;
  }
  .seo-mw .memoryWall-range:active::-webkit-slider-thumb {
    background: #4f4f4f;
  }
  .seo-mw .memoryWall-range::-moz-range-track {
    height: 3px;
    border-radius: 999px;
    background: #e5e5e5;
  }
  .seo-mw .memoryWall-range::-moz-range-thumb {
    width: 56px;
    height: 3px;
    border-radius: 999px;
    background: #6b6b6b;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
    border: none;
    cursor: pointer;
  }
  .seo-mw .memoryWall-track {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }
  .seo-mw .memoryWall-track::-webkit-scrollbar {
    display: none !important;
  }
}

@media (min-width: 901px) {
  .seo-mw .memoryWall-rangeWrap {
    display: none !important;
  }
}

.seo-mw .memoryWall-wrap[data-card-reveal] .memoryWall-card {
  --card-delay: 0ms;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease,
    transform 520ms cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--card-delay);
  will-change: opacity, transform;
}
.seo-mw .memoryWall-wrap[data-card-reveal].cards-visible .memoryWall-card {
  opacity: 1;
  transform: translateY(0);
}
.seo-mw
  .memoryWall-wrap[data-card-reveal]
  .memoryWall-card
  .memoryWall-thumb
  img {
  transform: scale(0.985);
  transition: transform 520ms ease;
}
.seo-mw
  .memoryWall-wrap[data-card-reveal].cards-visible
  .memoryWall-card
  .memoryWall-thumb
  img {
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .seo-mw .memoryWall-wrap[data-card-reveal] .memoryWall-card,
  .seo-mw
    .memoryWall-wrap[data-card-reveal]
    .memoryWall-card
    .memoryWall-thumb
    img {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* ======================== 代表挨拶 ======================== */
.lastmsg {
  --ink: #6c5a50;
  --pink: #f0a7c4;
  --line: #f0a7c4;
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 16px;
  font-family: "Noto Serif JP", "Yu Mincho", "游明朝", "Hiragino Mincho ProN",
    "Hiragino Mincho Pro", "Source Han Serif", "源ノ明朝", "ＭＳ Ｐ明朝",
    "MS PMincho", serif;
  color: var(--ink);
  line-height: 1.9;
}

.lastmsg__title {
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin: 0 0 18px;
  font-size: 19px;
}

.lastmsg__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  background: #fff;
  border: 2px solid var(--line);
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.lastmsg__card,
.lastmsg__message {
  border: none;
  box-shadow: none;
  background: transparent;
  padding: 0;
}

.lastmsg__photo {
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  margin-bottom: 12px;
}

.lastmsg__name {
  text-align: center;
  font-weight: 700;
  margin: 6px 0 10px;
  color: var(--ink);
  font-size: 16px;
}

.lastmsg__message {
  position: relative;
  padding: 12px 20px;
}

.lastmsg__message::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px dashed rgba(240, 167, 196, 0.45);
  pointer-events: none;
}

.lastmsg__book {
  position: absolute;
  right: -8px;
  bottom: -10px;
  width: 78px;
  height: auto;
  transform: rotate(-6deg);
}

.lastmsg__toggle-inner {
  max-height: none;
  overflow: visible;
}

.lastmsg__toggle-btn {
  display: none;
}

.lastmsg__toggle-wrap {
  grid-column: 1 / -1;
}

.lastmsg__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.memoryWall-card__title {
  font-size: clamp(12px, 1.2vw, 14px);
  line-height: 1.5;
  margin-top: 6px;
  margin: 8px 0 0;
  height: 3.4em;
  line-height: 1.7;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
}

@media (max-width: 600px) {
  .lastmsg__grid {
    grid-template-columns: 1fr;
  }

  .lastmsg__book {
    display: none;
  }

  .lastmsg__toggle-inner {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .lastmsg__toggle-inner.is-open {
    max-height: 9999px;
  }

  .lastmsg__toggle-btn {
    display: block;
    margin: 12px auto 0;
    padding: 6px 16px;
    font-size: 14px;
    font-weight: 600;
    font-family: "Noto Serif JP", "Yu Mincho", "游明朝", "Hiragino Mincho ProN",
      "Hiragino Mincho Pro", "Source Han Serif", "源ノ明朝", "ＭＳ Ｐ明朝",
      "MS PMincho", serif;
    color: var(--pink, #f0a7c4);
    background: #fff;
    border: 2px solid var(--pink, #f0a7c4);
    border-radius: 999px;
    cursor: pointer;
  }

  .lastmsg__message-body br {
    display: none;
  }

  .lastmsg__message-body br.keep-br {
    display: inline;
  }

  .lastmsg__message::before {
    display: none;
  }

  .lastmsg__title {
    font-size: 17px;
  }
}

@media (min-width: 601px) {
  .lastmsg__toggle-inner {
    max-height: none;
    overflow: visible;
  }

  .lastmsg__toggle-btn {
    display: none;
  }
}

.lastmsg[data-reveal-init] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 820ms ease,
    transform 820ms cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}

.lastmsg[data-reveal-init].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.lastmsg[data-reveal-init] .lastmsg__grid {
  transform: translateZ(0);
}

.lastmsg[data-reveal-init] .lastmsg__photo {
  transition: transform 520ms ease;
  transform: scale(0.985);
}

.lastmsg[data-reveal-init].is-visible .lastmsg__photo {
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .lastmsg[data-reveal-init],
  .lastmsg[data-reveal-init] .lastmsg__photo {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* ======================== お問い合わせフォーム ======================== */
.contact-form-section .section-title {
  position: relative;
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  color: #ff7da3;
  padding: 0.5em 0;
  font-family: "Noto Serif JP", "Yu Mincho", "游明朝", "Hiragino Mincho ProN",
    "Hiragino Mincho Pro", serif;
}

.contact-form-section .section-title::before,
.contact-form-section .section-title::after {
  content: "";
  display: block;
  width: 85%;
  height: 4px;
  margin: 0 auto;
  background: #aee1ff;
}

.contact-form-section .section-title::before {
  top: 0;
}
.contact-form-section .section-title::after {
  bottom: 0;
}
