@charset "utf-8";
/* ========== Company Page ========== */
.company-hero .lead {
  max-width: 780px;
  margin-inline: auto;
  text-shadow: 1px 1px 0 hsl(0deg 0% 100% / 80%), -1px -1px 0 hsl(0deg 0% 100% / 80%), -1px 1px 0 hsl(0deg 0% 100% / 80%), 1px -1px 0 hsl(0deg 0% 100% / 80%), 0px 1px 0 hsl(0deg 0% 100% / 80%), 0 -1px 0 hsl(0deg 0% 100% / 80%), -1px 0 0 hsl(0deg 0% 100% / 80%), 1px 0 0 hsl(0deg 0% 100% / 80%); /* font-weight: bold; */ text-align: center;
}
.company-split {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
  align-items: start;
}
.company-story {
  padding: 0;
}
.company-story__text h2 {
  margin: 0;
}
.company-quote {
  margin: 14px 0 0;
  padding: 12px 14px;
  background: #F6F1EF;
  border-radius: 8px;
}
.company-story__media img {
  display: block;
  width: 100%;
  height: clamp(220px, 40vw, 420px);
  object-fit: contain;
}
.profile-table {
  display: grid;
  gap: 6px;
  margin-top: 14px;
}
.profile-table > div {
  display: grid;
  gap: 0;
  grid-template-columns: 180px 1fr;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
}
.profile-table dt {
  padding: 12px;
  font-weight: 700;
  background: #F7F9F7;
  border-right: 1px solid #eee;
}
.profile-table dd {
  padding: 12px;
  margin: 0;
}
.company-profile {
  background: #EEF2EE;
}
.company-vision {
  background: #fff;
}
.company-vision h2 {
  max-width: clamp(560px, 70vw, 720px);
  margin: 80px auto 30px;
  text-align: center;
}
.company-vision p {
  max-width: clamp(560px, 70vw, 720px);
  margin: 0 auto 80px;
}
@media (min-width: 768px) {
  .company-split {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }
}
@media (max-width: 640px) {
  .profile-table > div {
    grid-template-columns: 1fr;
  }
  .profile-table dt {
    border-right: none;
    border-bottom: 1px solid #eee;
  }
}
section.pd-16 p {
  padding-bottom: 40px;
}
/* ========== Access Page ========== */
.access-hero .lead {
  max-width: 780px;
  margin-inline: auto;
}
/* Google Map responsive wrapper */
.mapWrap {
  position: relative;
  width: 100%;
  aspect-ratio: 9/16;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.mapWrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.accessGrid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  align-items: stretch;
}
.accessCard {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 16px;
  box-shadow: var(--shadow-sm);
}
.accessIcon {
  display: flex;
  place-items: center;
  color: var(--blue, #2F6A9E);
  margin-bottom: 8px;
  flex-direction: column;
  gap: 10px;
}
.accessCard h3 {
  padding-left: 10px;
}
.accessText {
  margin: 0;
  font-size: clamp(14px, 1.2vw, 16px);
}
.accessList {
  margin: 8px 0 0;
  padding-left: 1.2em;
}
.accessList li {
  margin: .25em 0;
}
.infoGrid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
.infoCard {
  background: #F7F9F7;
  border: 1px solid #e7eee7;
  border-radius: 12px;
  padding: 16px;
}
.infoCard h3 {
  display: inline-flex;
  gap: 10px;
}
.accessNote {
  color: var(--muted, #666);
  font-size: var(--fz-sm, 13px);
}
.access-downloads {
  display: flex;
  flex-direction: column;
  align-items: baseline;
}
.mapFigure {
  margin: 10px auto 0;
  max-width: 920px;
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.mapFigure img {
  display: block;
  width: 100%;
  height: auto;
}
.mapFigure figcaption {
  font-size: 13px;
  color: var(--muted, #666);
  padding: 8px 10px;
}
@media (min-width: 768px) {
  .accessGrid {
    grid-template-columns: repeat(3, 1fr);
  }
  .infoGrid {
    grid-template-columns: 1fr 1fr;
  }
  .mapWrap {
    aspect-ratio: 21/9;
  }
  .accessIcon {
    display: flex;
    place-items: center;
    color: var(--blue, #2F6A9E);
    margin-bottom: 8px;
    flex-direction: row;
  }
  .access-downloads {
    flex-direction: row;
  }
}
@media (max-width: 640px) {
  .access-hero .lead {
    padding: 0 8px;
  }
}
/* ========== Plans Page ========== */
.plans-hero .lead {
  max-width: 820px;
  margin-inline: auto;
}
/* Tabs */
.tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}
.tab {
  appearance: none;
  border: 1px solid #dfe6df;
  background: #fff;
  color: #333;
  padding: 10px 14px;
  border-radius: 9999px;
  cursor: pointer;
  font-weight: 700;
}
.tab.is-active {
  background: var(--blue, #2F6A9E);
  color: #fff;
  border-color: transparent;
}
/* Layout */
.plans-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  align-items: start;
}
.plans-stack {
  display: grid;
  gap: 28px;
}
.plans-media .swiper {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #fff;
}
.plans-media img {
  display: block;
  width: 100%;
  height: clamp(260px, 40vw, 420px);
  object-fit: cover;
}
.plans-panel {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 16px;
  box-shadow: var(--shadow-sm);
}
.plans-title {
  margin: 0 0 4px;
}
.plans-title small {
  font-weight: 400;
  color: var(--muted, #666);
  font-size: .8em;
}
.plans-copy {
  margin: .2em 0 10px;
  color: #555;
}
/* Pricing */
.priceBox {
  background: #F7F9F7;
  border: 1px solid #e9efe9;
  border-radius: 10px;
  padding: 12px;
}
.price {
  --fz-h3: clamp(24px, 2.4vw, 26px);
  font-weight: 800;
  margin: .1em auto;
}
.price span {
  font-size: .8em;
  font-weight: 700;
  color: #356;
  margin-right: .2em;
}
.price .tax {
  font-size: .65em;
  color: #667;
  margin-left: .3em;
}
.priceBox .sub {
  margin: .2em 0;
  font-weight: 700;
  color: #2f6a9e;
}
.priceBox .note, .tierList em {
  color: var(--muted, #666);
  font-size: 13px;
}
.tierList {
  list-style: none;
  padding: 0;
  margin: 0 0 6px;
  display: grid;
  gap: 6px;
}
.tierList li {
  background: #fff;
  border: 1px dashed #e2e8e2;
  border-radius: 8px;
  padding: 8px 10px;
}
/* Badges */
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  margin: 10px 0 0;
  list-style: none;
}
.badges li {
  background: #EEF2EE;
  border: 1px solid #dfe6df;
  color: #355;
  padding: 6px 10px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 700;
}
/* CTA Row */
.ctaRow {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
  justify-content: center;
  flex-direction: row;
}
.ctaRow a {
  width: 48%;
}
/* Common section */
.plans-common {
  background: #EEF2EE;
}
.commonList {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 14px;
  padding: 0;
  margin: 12px 0 10px;
  list-style: none;
}
.commonList li::before {
  content: "✔ ";
  color: #2f6a9e;
  font-weight: 700;
}
.notes {
  color: var(--muted, #666);
  font-size: 13px;
  margin: 8px 0 0;
}
.plans-section[hidden] {
  display: none;
}
/* Responsive */
@media (min-width: 768px) {
  .plans-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
  .commonList {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 640px) {
  .ctaRow .btn {
    width: 48%;
    justify-content: center;
  }
}
.section--new {
  background: #FBF9F6;
  position: relative;
}
.section--new .plans-panel {
  border-color: #eadfcd;
  box-shadow: 0 4px 20px rgba(184, 154, 103, .08);
}
/* パネル見出し周り */
.plans-introTitle {
  margin: 0 0 .4em;
}
.plans-introLead {
  margin: 0 0 .8em;
}
.plans-introPoints {
  margin: 0 0 12px;
  padding-left: 1.2em;
}
.plans-introPoints li {
  margin: .25em 0;
}
.introCtaRow {
  margin-top: 10px;
}
#panel-2 {
  scroll-margin-top: 84px;
}
@media (max-width: 768px) {
  #panel-2 {
    scroll-margin-top: 72px;
  }
}
/* ========== Feature Page ========== */
.feature-hero .lead {
  max-width: 800px;
  margin-inline: auto;
}
.page .feature-hero div {
  min-height: 450px;
  background: url("https://rindo-heart.com/ushigome-teien/assets/img/feature_hero.jpg?ver=1") top right;
  background-size: cover;
  filter: opacity(0.8);
  box-shadow: 0px 0px 18px 21px inset #fff;
  border-radius: 500px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
}
/* 3ポイント */
.pointsGrid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}
.point {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 14px;
  box-shadow: var(--shadow-sm);
}
.point__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #F2F6F2;
  color: var(--blue, #2F6A9E);
  margin-bottom: 8px;
}
.point h3 {
  margin: .2em 0 .2em;
}
/* 左右分割（about / staff / temple） */
.featureSplit {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  align-items: center;
}
.feature-media img {
  display: block;
  width: 100%;
  height: clamp(220px, 42vw, 420px);
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}
.feature-panel {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 16px;
  box-shadow: var(--shadow-sm);
}
.miniBadges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
}
.miniBadges li {
  background: #EEF2EE;
  border: 1px solid #dfe6df;
  color: #355;
  padding: 6px 10px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 700;
}
/* ギャラリー */
.feature-gallery .swiper {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #fff;
}
.galleryFigure {
  position: relative;
  margin: 0;
}
.galleryFigure img {
  display: block;
  width: 100%;
  height: clamp(220px, 42vw, 440px);
  object-fit: cover;
}
.galleryFigure figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0));
  color: #fff;
  padding: 18px 14px 10px;
  font-size: clamp(14px, 1.6vw, 16px);
}
.feature-summary .commonList {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
}
.feature-summary .commonList li::before {
  content: "✔ ";
  color: #2f6a9e;
  font-weight: 700;
}
.feature-cta .lead {
  max-width: 760px;
  margin-inline: auto;
}
@media (min-width: 768px) {
  .pointsGrid {
    grid-template-columns: repeat(3, 1fr);
  }
  .featureSplit {
    grid-template-columns: 1.1fr 0.9fr;
  }
  .featureSplit.rev {
    grid-template-columns: 0.9fr 1.1fr;
  }
  .featureSplit.rev .feature-media {
    order: 2;
  }
  .featureSplit.rev .feature-panel {
    order: 1;
  }
  .feature-summary .commonList {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 640px) {
  .feature-hero .lead {
    padding: 0 8px;
  }
}
/* ========== Voice Page ========== */
.page-hero .lead {
  max-width: 760px;
  margin-inline: auto;
}
.voiceGrid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
  margin-bottom: 100px;
}
.voiceCard {
  position: relative;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 18px 16px 14px 16px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.voiceDeco {
  position: absolute;
  top: 10px;
  left: 12px;
  font-size: 36px;
  line-height: 1;
  color: rgba(0, 0, 0, .10);
  font-weight: 700;
  font-family: serif;
}
.voiceText {
  margin: 0;
  white-space: pre-line;
  color: #333;
  font-size: clamp(14px, 1.6vw, 16px);
}
.voiceMeta {
  margin: 10px 0 0;
  color: var(--muted, #666);
  font-size: 13px;
  text-align: right;
}
.voiceText::first-line {
  /* font-weight: 600; */
}
/* レスポンシブ */
@media (min-width: 768px) {
  .voiceGrid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .voiceGrid {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* ========== Voice Hero ========== */
.page-hero {
  position: relative;
  background: #fff;
  padding: clamp(40px, 8vw, 80px) 0;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  inset: 0;
  background-size: contain;
  background-repeat: no-repeat;
  width: 100%;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 1;
  opacity: 0.9;
}
.page-a::after {
  background-image: url("https://rindo-heart.com/ushigome-teien/assets/img/voice_hero.jpg?ver=1");
}
.page-b::after {
  background-image: url("https://rindo-heart.com/ushigome-teien/assets/img/contact_hero.jpg?ver=1");
}
.page-heroInner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: clamp(260px, 50vh, 200px);
}
.page-heroText {
  width: 60%;
  background: rgba(255, 255, 255, 0.85);
  padding: clamp(20px, 4vw, 40px);
  border-radius: 12px;
}
.page-heroText h1 {
  font-size: clamp(22px, 2.4vw, 28px);
  margin-bottom: 0.4em;
}
.page-heroText .lead {
  font-size: clamp(14px, 1.6vw, 16px);
  color: #555;
  line-height: 1.6;
}
@media (max-width: 768px) {
  .page-hero {
    background: none;
    padding: 0;
  }
  .page-hero::after {
    position: absolute;
    width: 100%;
    background-position: center top;
    border-radius: 0;
    background-size: cover;
  }
  .page-heroInner {
    flex-direction: column;
    text-align: center;
    padding: 24px 16px 40px;
  }
}
/* ===== 墓碑デザイン ===== */ :root {
  --sd-green: #6aa56a;
  --sd-deep: #2e4a2f;
  --sd-line: #e5e8e2;
  --sd-bg: #f6faf5;
}
.stone-design {
  background: var(--sd-bg);
  border: 1px solid var(--sd-line);
  border-radius: 16px;
  padding: clamp(20px, 3vw, 36px);
  margin-top: clamp(32px, 6vw, 72px);
}
.stone-design__head {
  text-align: center;
  margin-bottom: clamp(16px, 3vw, 28px);
}
.stone-design__head h2 {
  font-size: clamp(20px, 2.4vw, 28px);
  letter-spacing: .06em;
}
.stone-design__lead {
  margin-top: 6px;
  color: #466047;
  font-weight: 600;
}
.stone-design__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(12px, 2.4vw, 24px);
  align-items: stretch;
}
.stone-design__card {
  background: #fff;
  border: 1px solid var(--sd-line);
  border-radius: 14px;
  padding: clamp(16px, 2vw, 22px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .03);
}
.stone-design__card--intro {
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 55%, #eef6ee 100%);
}
.stone-design__list {
  padding-left: 1.1em;
  margin: 0 0 10px;
}
.stone-design__list li {
  line-height: 1.75;
  margin: .1em 0;
  list-style: disc;
}
.stone-design__note {
  font-size: 12px;
  color: #6b756d;
  margin-top: .6em;
}
.stone-design__gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(10px, 1.6vw, 16px);
}
.stone-design__fig {
  background: #fff;
  border: 1px solid var(--sd-line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .03);
}
.stone-design__fig img {
  width: 100%;
  height: clamp(160px, 16vw, 220px);
  object-fit: cover;
  display: block;
}
.stone-design__fig figcaption {
  padding: 10px 12px;
  font-size: 13px;
  color: #3c3f3b;
  border-top: 1px solid var(--sd-line);
}
.stone-design__cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: clamp(16px, 3vw, 28px);
}
.stone-design__cta .btn {
  min-width: 220px;
}
@media (max-width: 960px) {
  .stone-design__grid {
    grid-template-columns: 1fr;
  }
  .stone-design__gallery {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .stone-design__gallery {
    grid-template-columns: 1fr;
  }
  .sp {
    display: inline;
  }
}
@media (min-width: 561px) {
  .sp {
    display: none;
  }
}
/* ===== ご供養の流れ ===== */
.memorial-flow {
  background: #f7f7f4;
  border-radius: 16px;
  padding: clamp(20px, 3vw, 32px);
  margin-top: clamp(32px, 6vw, 64px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .03);
}
.memorial-flow .container {}
.memorial-flow__head {
  text-align: center;
  margin-bottom: clamp(16px, 3vw, 28px);
}
.memorial-flow__head h2 {
  font-size: clamp(20px, 2.4vw, 28px);
  letter-spacing: .06em;
}
.memorial-flow__sub {
  margin-top: 4px;
  color: #7f8a7f;
  font-size: 13px;
}
:root {
  --flow-gold: #c7a045;
  --flow-green: #5f8b6a;
  --flow-green-deep: #2e5c43;
  --flow-edge: #e5e5e5;
  --flow-dot: #b9b9b9;
}
.memorial-flow__wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(72px, 110px);
  gap: clamp(8px, 2vw, 20px);
  align-items: start;
}
.memorial-flow__aside {
  display: grid;
  place-items: center;
  padding: 8px 0;
  position: relative;
}
.memorial-flow__aside::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6%;
  bottom: 6%;
  width: 2px;
  border-left: 2px dotted var(--flow-dot);
}
.memorial-flow__aside span {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-weight: 700;
  letter-spacing: .08em;
  color: #334;
  line-height: 1.6;
  font-size: clamp(12px, 1.6vw, 14px);
}
.memorial-flow__steps {
  list-style: none;
  margin: 0;
  padding: clamp(6px, 1vw, 12px);
  background: #fff;
  border: 1px solid var(--flow-edge);
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .03);
}
.memorial-flow__steps .step {
  position: relative;
  background: #e7f0ea;
  color: #214536;
  border-radius: 14px;
  padding: clamp(12px, 1.6vw, 18px) clamp(16px, 2vw, 22px);
  font-weight: 700;
  text-align: center;
  margin: 0 10px clamp(12px, 1.6vw, 18px);
}
.memorial-flow__steps .step:not(:last-child)::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  margin: clamp(8px, 1.2vw, 10px) auto;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #a8b9af;
}
.step__label {
  display: inline-block;
  font-size: clamp(16px, 2vw, 20px);
  letter-spacing: .06em;
}
.step__label small {
  display: block;
  font-weight: 500;
  font-size: clamp(11px, 1.4vw, 12px);
  color: #66726b;
  margin-top: 4px;
}
.step.step--contract {
  background: #f2e6c7;
  color: #614b12;
  border: 2px solid var(--flow-gold);
}
.step.step--eternal {
  background: #e5efe9;
  color: #0d3a2b;
  border: 2px solid var(--flow-green-deep);
}
.step.step--note {
  background: #fff;
  border: 1.5px dashed #b7c3bc;
  color: #2e3b35;
}
.step.step--note strong {
  font-size: clamp(18px, 2.2vw, 22px);
}
@media (max-width: 768px) {
  .memorial-flow__wrap {
    grid-template-columns: 1fr; /* 注釈を下へ */
  }
  .memorial-flow__aside {
    margin-top: 8px;
    padding-top: 12px;
  }
  .memorial-flow__aside::before {
    top: 0;
    bottom: auto;
    height: 2px;
    width: auto;
    left: 6%;
    right: 6%;
    border-left: none;
    border-top: 2px dotted var(--flow-dot);
  }
  .memorial-flow__aside span {
    writing-mode: horizontal-tb;
    letter-spacing: .12em;
  }
}