/* ===========================================================
   Aifit — reasons (選ばれる理由) + plans (料金)
   =========================================================== */

/* ---------- reasons ---------- */
.reasons { background: var(--lav); padding: clamp(3.5rem, 7vh, 5.5rem) 0; }
.reasons-head { text-align: center; max-width: 42rem; margin: 0 auto clamp(2rem, 4vh, 3rem); }
.reasons-title { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin: 1rem 0 0.9rem; }
.reasons-lead { color: var(--text); font-size: 0.96rem; }
.reasons-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 1.8vw, 1.4rem); }
.rcard { background: var(--white); border-radius: 16px; padding: clamp(1.4rem, 2vw, 1.9rem); box-shadow: var(--shadow-sm); border-top: 3px solid var(--purple); position: relative; transition: transform .3s, box-shadow .3s; }
.rcard:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.rcard-no { font-family: var(--mincho); font-weight: 700; font-size: 1.9rem; color: var(--gold); line-height: 1; opacity: .9; display: block; margin-bottom: 0.6rem; }
.rcard-title { font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: var(--ink); margin-bottom: 0.5rem; line-height: 1.45; }
.rcard-desc { font-size: 0.82rem; color: var(--text); line-height: 1.8; }

/* ---------- plans ---------- */
.plans { background: var(--white); padding: clamp(3.5rem, 7vh, 6rem) 0; scroll-margin-top: 96px; }
.plans-head { text-align: center; max-width: 44rem; margin: 0 auto clamp(2rem, 4vh, 3rem); }
.plans-title { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin: 1rem 0 0.9rem; }
.plans-lead { color: var(--text); font-size: 0.96rem; }
.plans-lead strong { color: var(--purple-deep); font-weight: 700; }
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 1.8vw, 1.4rem); }
.pcard { display: flex; flex-direction: column; background: var(--lav); border: 1px solid var(--line-soft); border-radius: 16px; padding: clamp(1.3rem, 2vw, 1.7rem); transition: transform .3s, box-shadow .3s, border-color .3s; }
.pcard:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--purple); }
.pcard-top { margin-bottom: 0.6rem; }
.pcard-people { display: inline-flex; align-items: center; gap: 0.35em; font-size: 0.68rem; font-weight: 700; color: var(--purple); background: var(--white); border-radius: 999px; padding: 0.3em 0.8em; margin-bottom: 0.7rem; }
.pcard-people .ic { width: 0.95em; height: 0.95em; }
.pcard-name { font-size: clamp(1.05rem, 1.6vw, 1.26rem); color: var(--ink); line-height: 1.4; }
.pcard-note { font-size: 0.82rem; color: var(--text); line-height: 1.75; flex: 1; margin-bottom: 1rem; }
.pcard-price { display: flex; flex-direction: column; gap: 0.1rem; padding-top: 0.9rem; border-top: 1px solid var(--line); }
.pcard-reg { font-size: 0.72rem; color: var(--muted); font-weight: 600; }
.pcard-reg s { color: var(--muted); }
.pcard-member { font-size: 0.66rem; font-weight: 700; color: var(--purple); letter-spacing: .04em; }
.pcard-num { font-family: var(--mincho); font-weight: 700; font-size: 2rem; color: var(--purple-deep); line-height: 1.1; }
.pcard-num i { font-style: normal; font-size: 0.42em; margin-left: 0.15em; color: var(--text); font-family: var(--gothic); font-weight: 600; }
.pcard-tax { font-size: 0.7rem; color: var(--muted); }
.pcard-cta { display: inline-flex; align-items: center; justify-content: center; gap: 0.4em; margin-top: 1.1rem; padding: 0.7em 1em; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-weight: 700; font-size: 0.84rem; color: var(--purple-deep); transition: background .25s, color .25s, border-color .25s; }
.pcard-cta .ic { width: 1em; height: 1em; transition: transform .25s; }
.pcard:hover .pcard-cta { background: var(--purple); color: #fff; border-color: var(--purple); }
.pcard:hover .pcard-cta .ic { transform: translateX(3px); }
.plans-note { text-align: center; font-size: 0.8rem; color: var(--muted); margin: 1.4rem auto 0; max-width: 50rem; line-height: 1.8; }

/* 出張葬（自宅・集会所・聖苑）feature band */
.pshucchou { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); margin-top: clamp(1.4rem, 2.5vw, 2rem); background: var(--lav); border: 1px solid var(--line-soft); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s, border-color .3s; }
.pshucchou:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--purple); }
.pshucchou-media { position: relative; min-height: 230px; }
.pshucchou-media image-slot { position: absolute; inset: 0; }
.pshucchou-scrim { position: absolute; inset: 0; background: linear-gradient(to right, transparent 58%, var(--lav)); pointer-events: none; }
.pshucchou-body { padding: clamp(1.4rem, 2.5vw, 2.1rem); display: flex; flex-direction: column; gap: 0.55rem; }
.pshucchou-tag { font-size: 0.72rem; font-weight: 700; letter-spacing: .04em; color: var(--gold-deep); }
.pshucchou-title { font-family: var(--mincho); font-weight: 700; font-size: clamp(1.3rem, 2.2vw, 1.8rem); color: var(--ink); line-height: 1.35; }
.pshucchou-desc { font-size: 0.86rem; color: var(--text); line-height: 1.85; }
.pshucchou-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.2rem; }
.pshucchou-chips span { font-size: 0.74rem; font-weight: 600; color: var(--purple-deep); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 0.3em 0.85em; }
.pshucchou-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.8rem; margin-top: 0.7rem; }
.pshucchou-price { font-family: var(--mincho); font-weight: 700; font-size: 1.9rem; color: var(--purple-deep); line-height: 1; display: inline-flex; align-items: baseline; gap: 0.3em; flex-wrap: wrap; }
.pshucchou-price i { font-style: normal; font-size: 0.36em; font-family: var(--gothic); font-weight: 700; color: #fff; background: var(--purple); border-radius: 6px; padding: 0.4em 0.65em; align-self: center; }
.pshucchou-price b { font-size: 0.42em; font-weight: 600; color: var(--text); font-family: var(--gothic); }
.pshucchou-price em { font-style: normal; font-size: 0.36em; font-weight: 600; color: var(--muted); font-family: var(--gothic); width: 100%; }
.pshucchou-cta { display: inline-flex; align-items: center; gap: 0.4em; font-weight: 700; font-size: 0.88rem; color: #fff; background: linear-gradient(135deg, var(--purple) 0%, var(--purple-deep) 100%); border-radius: 999px; padding: 0.7em 1.3em; transition: transform .2s, box-shadow .2s; }
.pshucchou-cta .ic { width: 1em; height: 1em; transition: transform .25s; }
.pshucchou:hover .pshucchou-cta { box-shadow: var(--shadow-sm); }
.pshucchou:hover .pshucchou-cta .ic { transform: translateX(3px); }
@media (max-width: 760px) {
  .pshucchou { grid-template-columns: 1fr; }
  .pshucchou-media { min-height: 0; aspect-ratio: 16 / 9; }
  .pshucchou-scrim { background: linear-gradient(to top, var(--lav), transparent 55%); }
}
.plans-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.9rem; margin-top: 1.6rem; }
.plans-foot-note { width: 100%; text-align: center; font-size: 0.74rem; color: var(--muted); margin-top: 0.2rem; }

@media (max-width: 980px) {
  .reasons-grid { grid-template-columns: 1fr 1fr; }
  .plans-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .reasons-grid { grid-template-columns: 1fr; }
  .plans-grid { grid-template-columns: 1fr; }
}

/* ---------- large-scale / corporate ---------- */
.large { background: linear-gradient(180deg, var(--lav-2), var(--lav)); padding: clamp(3.5rem, 7vh, 6rem) 0; }
.large-head { text-align: center; max-width: 46rem; margin: 0 auto clamp(1.8rem, 3.5vh, 2.6rem); }
.large-title { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin: 1rem 0 0.9rem; }
.large-lead { color: var(--text); font-size: 0.96rem; }
.large-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin: 0 auto clamp(2rem, 4vh, 3rem); max-width: 56rem; }
.lstat { flex: 1; min-width: 180px; display: flex; flex-direction: column; align-items: center; text-align: center; background: #fff; border: 1px solid var(--line-soft); border-radius: 14px; padding: 1.1rem 1rem; box-shadow: var(--shadow-sm); }
.lstat-num { font-family: var(--mincho); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--purple-deep); line-height: 1.1; }
.lstat-num i { font-style: normal; font-size: 0.5em; margin-left: 0.15em; color: var(--gold-deep); }
.lstat-label { font-size: 0.78rem; color: var(--muted); margin-top: 0.4rem; }
.large-venues { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 1.8vw, 1.4rem); }
.lvenue { display: flex; flex-direction: column; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line-soft); transition: transform .35s, box-shadow .35s; }
.lvenue:hover { transform: translateY(-6px); box-shadow: 0 34px 60px -28px rgba(60,48,96,.55); }
.lvenue-media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.lvenue-media image-slot::part(empty) { background: linear-gradient(140deg, var(--lav-2), var(--lav-3)); color: var(--purple); }
.lvenue-scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(47,41,66,.72) 0%, rgba(47,41,66,.1) 45%, transparent 100%); }
.lvenue-cap { position: absolute; top: 0.9rem; right: 0.9rem; z-index: 2; font-size: 0.72rem; font-weight: 700; color: var(--purple-ink); background: linear-gradient(135deg, #EFE2BC, var(--gold) 60%, var(--gold-deep)); padding: 0.4em 0.9em; border-radius: 999px; box-shadow: 0 8px 18px -8px rgba(159,130,56,.55); }
.lvenue-name { position: absolute; left: 1.1rem; right: 1.1rem; bottom: 0.95rem; z-index: 2; color: #fff; font-size: clamp(1.05rem, 1.6vw, 1.28rem); text-shadow: 0 2px 14px rgba(47,41,66,.6); }
.lvenue-desc { padding: 1.1rem 1.2rem 1.3rem; font-size: 0.86rem; color: var(--text); line-height: 1.8; }
.large-gallery { margin-top: clamp(1.6rem, 3vw, 2.4rem); }
.large-gallery-cap { display: flex; align-items: center; justify-content: center; gap: 0.5em; font-family: var(--mincho); font-size: 1rem; color: var(--ink); margin-bottom: 1rem; }
.large-gallery-cap .ic { width: 1.2em; height: 1.2em; color: var(--purple); }
.lgal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; }
.lgal-cell { display: block; padding: 0; border: 0; background: none; cursor: pointer; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.lgal-cell:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.lgal-cell:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }
.lgal-cell > image-slot { display: block; width: 100%; height: 100%; }
.lgal-cell > image-slot::part(empty) { background: linear-gradient(140deg, #fff, var(--lav-2)); color: var(--purple); font-size: 0.6rem; }
.lgal-lightbox { position: fixed; inset: 0; z-index: 999; display: flex; align-items: center; justify-content: center; padding: clamp(1rem, 4vw, 3rem); background: rgba(20, 16, 30, 0.88); backdrop-filter: blur(4px); cursor: zoom-out; animation: lgalFade .18s ease; }
.lgal-lightbox img { max-width: 100%; max-height: 100%; border-radius: 8px; box-shadow: 0 24px 60px rgba(0,0,0,.5); cursor: default; }
.lgal-lightbox-close { position: absolute; top: clamp(0.8rem, 3vw, 1.6rem); right: clamp(0.8rem, 3vw, 1.6rem); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 1.7rem; line-height: 1; cursor: pointer; transition: background .15s ease; }
.lgal-lightbox-close:hover { background: rgba(255,255,255,.28); }
@keyframes lgalFade { from { opacity: 0; } to { opacity: 1; } }
.lgal-toggle-wrap { display: flex; justify-content: center; margin-top: 1.1rem; }
.lgal-toggle { display: inline-flex; align-items: center; gap: 0.5em; padding: 0.7rem 1.5rem; border: 1px solid var(--purple); border-radius: 999px; background: #fff; color: var(--purple); font-family: var(--mincho); font-size: 0.95rem; cursor: pointer; transition: background .15s ease, color .15s ease; }
.lgal-toggle:hover { background: var(--purple); color: #fff; }
.lgal-toggle-ic { width: 1.1em; height: 1.1em; transform: rotate(90deg); transition: transform .2s ease; }
.lgal-toggle-ic--up { transform: rotate(-90deg); }
.large-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem; margin-top: clamp(1.6rem, 3vh, 2.2rem); }

@media (max-width: 880px) {
  .large-venues { grid-template-columns: 1fr; max-width: 32rem; margin: 0 auto; }
}
@media (max-width: 560px) {
  .lgal-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 380px) {
  .lgal-grid { grid-template-columns: 1fr; }
}
