:root {
  --bg: #ffffff;
  --bg-soft: #ffffff;
  --paper: #fffaf7;
  --ink: #2f2824;
  --muted: #6e615a;
  --line: #e8ddd3;
  --line-strong: #d9c8ba;
  --accent-rose: #b97a86;
  --accent-rose-deep: #975762;
  --accent-leaf: #6f8c7f;
  --accent-gold: #c8a87b;
  --overlay: rgba(47, 40, 36, 0.28);
  --shadow-soft: 0 16px 38px rgba(70, 40, 24, 0.08);
  --shadow-card: 0 22px 48px rgba(70, 40, 24, 0.09);
  --max-width: 1160px;
  --font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.85;
  letter-spacing: 0.02em;
  position: relative;
}

body::before,
body::after {
  content: none;
  display: none;
}

body::before {
  z-index: -4;
  background: url("images/background-brand.svg") center / cover no-repeat;
  transform: scale(1.04);
  filter: saturate(0.9);
}

body::after {
  z-index: -3;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.86));
}

body.menu-open {
  overflow: hidden;
}

.aurora {
  display: none;
}

.container {
  width: min(var(--max-width), 92%);
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 120;
  background: #ffffff;
  border-bottom: 1px solid rgba(217, 200, 186, 0.72);
  backdrop-filter: none;
}

.header-inner {
  position: relative;
  width: min(var(--max-width), 92%);
  height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-company {
  margin: 0;
  display: inline-block;
  max-width: calc(100% - 420px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.7vw, 1.38rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-align: center;
  color: var(--ink);
  text-decoration: none;
}

.header-company-desktop {
  display: inline;
}

.header-company-mobile {
  display: none;
}

.menu-button {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background-color 0.24s ease;
}

.menu-button span {
  width: 17px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.menu-button[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(42deg);
}

.menu-button[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-button[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-42deg);
}

.menu-button:hover,
.menu-button:focus-visible {
  background: transparent;
  box-shadow: none;
}

.menu-button[aria-expanded="true"] {
  background: transparent;
  box-shadow: none;
}

.header-actions {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-action-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(162, 93, 109, 0.56);
  background: #ffffff;
  color: var(--ink);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.header-phone-link {
  order: 2;
  border-color: rgba(111, 140, 127, 0.6);
  color: var(--accent-leaf);
}

.header-shop-link {
  order: 1;
  border-color: rgba(162, 93, 109, 0.56);
  color: var(--accent-rose-deep);
}

.header-action-icon {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.header-action-link:hover,
.header-action-link:focus-visible {
  border-color: var(--accent-rose);
  color: var(--accent-rose);
  background: rgba(162, 93, 109, 0.08);
  box-shadow: 0 8px 18px rgba(80, 56, 42, 0.12);
}

.header-phone-link:hover,
.header-phone-link:focus-visible {
  border-color: var(--accent-leaf);
  color: var(--accent-leaf);
  background: rgba(111, 140, 127, 0.08);
}

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 130;
  width: min(380px, 88vw);
  height: 100dvh;
  padding: 90px 24px 24px;
  border-right: 1px solid rgba(217, 200, 186, 0.9);
  background: #ffffff;
  box-shadow: 22px 0 44px rgba(70, 40, 24, 0.12);
  transform: translateX(-104%);
  opacity: 0;
  transition: transform 0.32s ease, opacity 0.32s ease;
  overflow-y: auto;
}

.site-nav::before {
  content: none;
}

.menu-close-button {
  margin: 0 8px 18px;
  min-height: 34px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.menu-close-button::before {
  content: "×";
  font-size: 2.1rem;
  font-weight: 300;
  line-height: 1;
  transform: translateY(-1px);
}

.menu-close-button:hover,
.menu-close-button:focus-visible {
  color: var(--accent-rose);
  opacity: 0.9;
}

.site-nav.open {
  transform: translateX(0);
  opacity: 1;
}

.site-nav a {
  display: block;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  transition: color 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
}

.site-nav a + a {
  margin-top: 4px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--accent-rose-deep);
  border-color: rgba(217, 200, 186, 0.9);
  background: rgba(162, 93, 109, 0.08);
}

.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 121;
  border: 0;
  margin: 0;
  padding: 0;
  background: rgba(43, 29, 22, 0.26);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s ease;
}

.menu-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

main {
  background: #ffffff;
}

.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(136px, 16vh, 190px) 0 98px;
  border-bottom: none;
  overflow: hidden;
  background: url("images/hero001.jpg") center / cover no-repeat;
}

.hero::before {
  content: none;
  display: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(var(--max-width), 92%);
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.hero-copy {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4.8vw, 4rem);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.08em;
  color: #ffffff;
  text-align: center;
  text-shadow: none;
}

.hero-ornament {
  display: none;
}

.petal {
  position: absolute;
  display: block;
  border-radius: 58% 42% 62% 38% / 42% 56% 44% 58%;
  opacity: 0.5;
  animation: petal-float 9s ease-in-out infinite;
}

.petal-a {
  width: 42%;
  aspect-ratio: 1;
  left: 2%;
  top: 26%;
  background: rgba(185, 122, 134, 0.26);
}

.petal-b {
  width: 55%;
  aspect-ratio: 1;
  right: 0;
  top: 0;
  background: rgba(111, 140, 127, 0.2);
  animation-delay: 1.2s;
}

.petal-c {
  width: 48%;
  aspect-ratio: 1;
  right: 14%;
  bottom: 0;
  background: rgba(200, 168, 123, 0.24);
  animation-delay: 2.2s;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.4;
}

.section {
  position: relative;
  padding: clamp(88px, 11vw, 130px) 0;
  border-bottom: none;
  overflow: clip;
}

.section::after {
  content: none;
}

#services,
#celebration,
#funeral {
  background: #ffffff;
}

#funeral,
#visual {
  border-bottom: none;
}

#visual {
  background: #ffffff;
}

.visual {
  padding: 0;
}

.visual::after {
  display: none;
}

.visual-full {
  margin: 0;
  width: 100%;
}

.visual-full img {
  width: 100%;
  height: clamp(340px, 44vw, 680px);
  display: block;
  object-fit: cover;
}

.eyebrow {
  margin: 0;
  color: var(--accent-rose-deep);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.24em;
}

.section-head {
  margin-bottom: 34px;
}

.section-head h2 {
  margin: 11px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(1.62rem, 3.6vw, 2.7rem);
  font-weight: 500;
  letter-spacing: 0.08em;
}

.section-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.18fr;
  gap: clamp(28px, 4vw, 62px);
  align-items: start;
}

.concept .section-grid {
  grid-template-columns: 1fr;
  gap: 24px;
}

.concept {
  min-height: 80dvh;
  display: flex;
  align-items: center;
}

.concept > .container {
  width: min(var(--max-width), 92%);
}

.concept .section-head {
  margin-bottom: 0;
  justify-self: center;
  text-align: center;
}

.concept .eyebrow {
  font-size: clamp(0.98rem, 2.2vw, 1.36rem);
}

.concept-copy {
  position: relative;
  width: min(920px, 88%);
  margin: 0 auto;
}

.concept-copy p {
  margin: 0;
  padding: 0 clamp(16px, 4vw, 54px);
  color: var(--muted);
  font-size: 1rem;
}

.concept-copy p + p {
  margin-top: 16px;
}

.concept-copy-mobile {
  display: none;
}

#business-structure {
  padding-top: clamp(56px, 8vw, 96px);
  padding-bottom: clamp(56px, 8vw, 96px);
  background: #ffffff;
}

.business-structure-inner {
  max-width: 980px;
}

#business-structure .section-head {
  text-align: center;
  margin-bottom: 16px;
}

.business-structure-eyebrow-mobile {
  display: none;
}

.business-structure-lead-mobile {
  display: none;
}

.aftertherain-services-mobile {
  display: none;
}

.business-structure-lead {
  margin: 0 0 22px;
  text-align: center;
  color: var(--muted);
}

.business-structure-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
}

.business-unit {
  margin: 0;
  padding: clamp(22px, 2.6vw, 30px);
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.business-unit-name {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.18rem, 2.2vw, 1.5rem);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.06em;
  text-align: center;
}

.business-unit-services {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.business-unit-services a {
  color: var(--accent-rose-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.business-unit-services a:hover,
.business-unit-services a:focus-visible {
  color: var(--accent-rose);
}

.service-cards {
  margin-top: 24px;
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-cards-single {
  grid-template-columns: 1fr;
  max-width: 900px;
  margin-inline: auto;
}

#services .section-head {
  max-width: 980px;
  margin-inline: auto;
}

#celebration .section-head {
  max-width: 980px;
  margin-inline: auto;
}

#services .service-cards-single {
  max-width: 980px;
  margin-inline: auto;
}

#celebration .service-cards-single,
#funeral .service-cards-single {
  max-width: 980px;
  margin-inline: auto;
}

.service-card {
  position: relative;
  min-width: 0;
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid var(--line-strong);
  border-top: 5px solid var(--accent-rose);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-card);
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 26px;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.62);
}

.service-index {
  margin: 0;
  color: var(--accent-rose-deep);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
}

.service-card h3 {
  margin: 10px 0 16px;
  font-family: var(--font-serif);
  font-size: clamp(1.38rem, 2.7vw, 2.02rem);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.service-description {
  margin-top: 20px;
}

.saishokuka-description-mobile {
  display: none;
}

.shukuka-description-mobile {
  display: none;
}

.sougiseika-description-mobile {
  display: none;
}

.saishokuka-gallery-label-mobile {
  display: none;
}

.shukuka-gallery-label-mobile {
  display: none;
}

.sougiseika-gallery-label-mobile {
  display: none;
}

.service-description a {
  color: var(--accent-rose-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.service-description a:hover,
.service-description a:focus-visible {
  color: var(--accent-rose);
}

#services .service-layout,
#celebration .service-layout {
  margin-top: 10px;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.24fr);
  gap: clamp(20px, 3vw, 36px);
  align-items: start;
}

#services .service-layout-copy .service-description,
#celebration .service-layout-copy .service-description {
  margin-top: 0;
}

#services .service-layout-visual .flow-gallery,
#celebration .service-layout-visual .flow-gallery {
  margin-top: 0;
}

#services .service-layout-stack,
#celebration .service-layout-stack {
  display: block;
}

#services .service-layout-stack .flow-gallery,
#celebration .service-layout-stack .flow-gallery {
  margin-top: 0;
}

#services .service-layout-stack .service-description,
#celebration .service-layout-stack .service-description {
  margin-top: 20px;
}

.service-gallery-button {
  margin-top: 18px;
  min-width: 158px;
  padding: 10px 22px;
  border-color: var(--accent-rose-deep);
  color: var(--accent-rose-deep);
  background: rgba(255, 255, 255, 0.92);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: border-color 0.26s ease, color 0.26s ease, transform 0.26s ease;
}

.service-gallery-button::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(151, 87, 98, 0.18), rgba(151, 87, 98, 0.3));
  transform: translateX(-104%);
  transition: transform 0.36s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 0;
}

.service-gallery-button > span {
  position: relative;
  z-index: 1;
}

#services .service-actions,
#celebration .service-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
}

#funeral .service-actions {
  margin-top: 18px;
  display: flex;
  justify-content: flex-start;
}

#funeral .service-description {
  margin-top: 30px;
}

#services .service-actions .service-gallery-button,
#celebration .service-actions .service-gallery-button {
  margin-top: 0;
  flex: 1 1 0;
  min-width: 0;
  padding-inline: 14px;
  white-space: nowrap;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}

#services .service-actions .service-gallery-button,
#celebration .service-actions .service-gallery-button {
  flex: 0 0 auto;
  min-width: 158px;
  padding-inline: 22px;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
}

.service-gallery-button:hover,
.service-gallery-button:focus-visible,
.service-gallery-button:active {
  background: #ffffff;
  border-color: var(--accent-rose);
  color: var(--ink);
  transform: translateY(-1px);
}

.service-gallery-button:hover::before,
.service-gallery-button:focus-visible::before,
.service-gallery-button:active::before {
  transform: translateX(0);
}

.flow-gallery {
  margin-top: 18px;
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  overflow: hidden;
}

.flow-gallery[role="link"] {
  cursor: pointer;
}

.flow-gallery[role="link"]:focus-visible {
  outline: 2px solid var(--accent-rose);
  outline-offset: 2px;
}

.flow-track {
  display: flex;
  width: max-content;
  animation: flow-left 24s linear infinite;
}

.flow-item {
  margin: 0;
  flex: 0 0 clamp(280px, 36vw, 420px);
  aspect-ratio: 16 / 10;
  border-right: 1px solid var(--line);
}

.flow-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.flow-gallery:hover .flow-track,
.flow-gallery:focus-within .flow-track {
  animation-play-state: paused;
}

.slideshow {
  position: relative;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  overflow: hidden;
}

.slideshow-track {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.slideshow-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.56s ease;
}

.slideshow-slide.is-active {
  opacity: 1;
}

.slideshow-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.slideshow-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border: 1px solid rgba(47, 40, 36, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.slideshow-control span {
  font-size: 1.3rem;
  line-height: 1;
}

.slideshow-control:hover,
.slideshow-control:focus-visible {
  background: #ffffff;
  border-color: var(--accent-leaf);
  transform: translateY(-50%) scale(1.05);
}

.slideshow-prev {
  left: 12px;
}

.slideshow-next {
  right: 12px;
}

.slideshow-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 11px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.slideshow-dot {
  width: 8px;
  height: 8px;
  border: 1px solid rgba(47, 40, 36, 0.34);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  padding: 0;
  cursor: pointer;
}

.slideshow-dot.is-active {
  background: #ffffff;
  border-color: var(--accent-leaf);
}

.message-box,
.company-box,
.contact-box {
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(28px, 3.2vw, 44px);
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.message-content {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.message-content h3 {
  margin: 0 0 16px;
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.3vw, 1.58rem);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.message-content p {
  margin: 0;
  color: var(--muted);
}

.message-content p + p {
  margin-top: 14px;
}

.company-list {
  margin: 24px 0 0;
}

.company-row {
  margin: 0;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 16px;
}

.company-row:first-child {
  border-top: 1px solid var(--line);
}

.company-row dt {
  margin: 0;
  color: var(--accent-leaf);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
}

.company-row dd {
  margin: 0;
  color: var(--ink);
  word-break: break-word;
}

.company-row dd a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--accent-rose);
}

.company-row dd a:hover,
.company-row dd a:focus-visible {
  border-bottom-color: var(--accent-leaf);
}

.screen-links {
  padding-top: clamp(56px, 8vw, 86px);
  padding-bottom: clamp(56px, 8vw, 96px);
  border-top: 1px solid var(--line);
  border-bottom: none;
}

.screen-links::after {
  display: none;
}

.screen-links-inner {
  width: min(var(--max-width), 92%);
}

.screen-links-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 44px);
}

.screen-links-column {
  min-width: 0;
}

.screen-links-title {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.screen-links-column a {
  display: block;
  color: var(--muted);
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.9;
  letter-spacing: 0.04em;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.screen-links-column a:hover,
.screen-links-column a:focus-visible {
  color: var(--accent-rose-deep);
  padding-left: 5px;
}

.contact {
  padding-top: clamp(96px, 12vw, 140px);
  padding-bottom: clamp(96px, 12vw, 140px);
}

.contact-box {
  text-align: center;
  background: #ffffff;
}

.contact-box h2 {
  margin: 10px 0 14px;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3.2vw, 2.16rem);
  font-weight: 500;
  letter-spacing: 0.08em;
}

.contact-box p {
  margin: 0 0 26px;
  color: var(--muted);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  padding: 13px 26px;
  border: 1px solid var(--accent-leaf);
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.button-primary {
  background: #ffffff;
  color: var(--accent-leaf);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #ffffff;
  border-color: var(--accent-rose);
  color: var(--accent-rose);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(151, 87, 98, 0.22);
}

.site-footer {
  border-top: none;
  background: #ffffff;
}

.footer-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.12s;
}

.delay-2 {
  transition-delay: 0.24s;
}

.delay-3 {
  transition-delay: 0.34s;
}

@keyframes flow-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes atmosphere-shift {
  from {
    transform: translate3d(-2%, 0, 0) scale(1);
  }
  to {
    transform: translate3d(2%, -2%, 0) scale(1.03);
  }
}

@keyframes petal-float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(5deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .flow-track,
  .aurora,
  .petal {
    animation: none;
  }

  .service-gallery-button,
  .service-gallery-button::before {
    transition: none;
  }
}

@media (max-width: 980px) {
  .section-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .service-cards {
    grid-template-columns: 1fr;
  }

  #services .service-layout,
  #celebration .service-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 100dvh;
  }

  .hero-ornament {
    opacity: 0.65;
  }

  .header-company {
    max-width: calc(100% - 200px);
  }

  .header-shop-label {
    display: none;
  }

  .header-action-link {
    min-height: 36px;
    padding: 6px 10px;
  }

  .screen-links-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .service-gallery-button::before {
    transform: translateX(-62%);
  }

  .header-inner {
    height: 68px;
    width: min(var(--max-width), 95%);
  }

  .header-company {
    max-width: calc(100% - 150px);
    font-size: clamp(0.82rem, 3.7vw, 0.98rem);
    letter-spacing: 0.03em;
  }

  .header-company-desktop {
    display: none;
  }

  .header-company-mobile {
    display: inline;
  }

  .menu-button {
    width: 42px;
    height: 42px;
  }

  .site-nav {
    top: 0;
    left: 0;
    width: min(320px, 88vw);
    height: 100dvh;
    padding: 84px 16px 20px;
  }

  .menu-close-button {
    position: absolute;
    top: 13px;
    left: 24px;
    margin: 0;
    min-height: 42px;
    line-height: 1;
  }

  .menu-close-button::before {
    display: inline-block;
    line-height: 1;
    transform: none;
  }

  .header-actions {
    gap: 6px;
  }

  .header-action-label {
    display: none;
  }

  .header-action-link {
    min-height: 34px;
    min-width: 34px;
    justify-content: center;
    padding: 6px;
    gap: 0;
    font-size: 0.62rem;
    letter-spacing: 0.03em;
  }

  .header-action-icon {
    width: 13px;
    height: 13px;
  }

  .hero {
    padding: 118px 0 76px;
  }

  .hero-copy {
    font-size: clamp(1.45rem, 8.1vw, 2.3rem);
  }

  .hero-ornament {
    right: 8px;
    bottom: 26px;
    width: 144px;
    height: 160px;
    opacity: 0.44;
  }

  .visual-full img {
    height: clamp(420px, 96vw, 620px);
  }

  .section {
    padding: 76px 0;
  }

  #services {
    padding-bottom: 24px;
  }

  #celebration {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  #funeral {
    padding-top: 24px;
  }

  .section-head {
    margin-bottom: 28px;
  }

  #services .section-head {
    text-align: center;
  }

  #message .section-head {
    text-align: center;
  }

  .concept-copy {
    width: min(920px, 94%);
  }

  .concept-copy p {
    padding: 0 18px;
  }

  .concept-copy-desktop {
    display: none;
  }

  .concept-copy-mobile {
    display: block;
  }

  #business-structure {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  #business-structure .section-head {
    text-align: center;
  }

  .business-structure-eyebrow-desktop {
    display: none;
  }

  .business-structure-eyebrow-mobile {
    display: inline;
  }

  .business-structure-lead-desktop {
    display: none;
  }

  .business-structure-lead-mobile {
    display: inline;
  }

  .aftertherain-services-desktop {
    display: none;
  }

  .aftertherain-services-mobile {
    display: inline-block;
    width: min(17em, 100%);
    text-align: left;
    margin-bottom: 10px;
  }

  .business-structure-lead {
    text-align: center;
    margin-bottom: 26px;
    font-size: 0.7rem;
  }

  .business-structure-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .business-unit {
    border: none;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    padding: 10px 0 14px;
  }

  .business-unit:last-child {
    border-bottom: none;
  }

  .business-unit-services {
    text-align: center;
  }

  .business-unit-services-stack {
    display: inline-block;
    width: min(17em, 100%);
    text-align: left;
  }

  #saishokuka .saishokuka-description-desktop {
    display: none;
  }

  #saishokuka .saishokuka-description-mobile {
    display: block;
  }

  #saishokuka .saishokuka-gallery-label-desktop {
    display: none;
  }

  #saishokuka .saishokuka-gallery-label-mobile {
    display: block;
    text-align: left;
  }

  #saishokuka .service-actions {
    justify-content: flex-start;
  }

  #saishokuka .service-actions .service-gallery-button {
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    justify-content: flex-start;
    text-align: left;
    padding-inline: 0;
  }

  #saishokuka .service-gallery-button,
  #saishokuka .service-gallery-button:hover,
  #saishokuka .service-gallery-button:focus-visible {
    border: none;
    box-shadow: none;
  }

  #saishokuka {
    border: none;
    box-shadow: none;
  }

  #saishokuka::after {
    border: none;
  }

  #celebration .shukuka-description-desktop {
    display: none;
  }

  #celebration .shukuka-description-mobile {
    display: block;
  }

  #celebration .shukuka-gallery-label-desktop {
    display: none;
  }

  #celebration .shukuka-gallery-label-mobile {
    display: block;
    text-align: left;
  }

  #celebration .service-actions {
    justify-content: flex-start;
  }

  #celebration .service-actions .service-gallery-button {
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    justify-content: flex-start;
    text-align: left;
    padding-inline: 0;
  }

  #celebration .service-gallery-button,
  #celebration .service-gallery-button:hover,
  #celebration .service-gallery-button:focus-visible {
    border: none;
    box-shadow: none;
  }

  #celebration .service-card {
    border: none;
    box-shadow: none;
  }

  #celebration .service-card::after {
    border: none;
  }

  #funeral .sougiseika-description-desktop {
    display: none;
  }

  #funeral .sougiseika-description-mobile {
    display: block;
  }

  #funeral .sougiseika-gallery-label-desktop {
    display: none;
  }

  #funeral .sougiseika-gallery-label-mobile {
    display: block;
    text-align: left;
  }

  #funeral .service-actions {
    justify-content: flex-start;
  }

  #funeral .service-actions .service-gallery-button {
    margin-top: 0;
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    justify-content: flex-start;
    text-align: left;
    padding-inline: 0;
  }

  #funeral .service-gallery-button,
  #funeral .service-gallery-button:hover,
  #funeral .service-gallery-button:focus-visible {
    border: none;
    box-shadow: none;
  }

  #funeral .service-card {
    border: none;
    box-shadow: none;
  }

  #funeral .service-card::after {
    border: none;
  }

  #message .message-box {
    border: none;
    box-shadow: none;
  }

  #contact .contact-box {
    border: none;
    box-shadow: none;
  }

  #company .company-box {
    border: none;
    box-shadow: none;
  }

  .service-card,
  .message-box,
  .company-box,
  .contact-box {
    padding: 26px 20px;
    border-radius: 20px;
  }

  .slideshow-control {
    width: 34px;
    height: 34px;
  }

  .slideshow-prev {
    left: 8px;
  }

  .slideshow-next {
    right: 8px;
  }

  .company-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .screen-links-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .screen-links-column a {
    font-size: 0.97rem;
    line-height: 1.8;
  }
}
