/* A stationary sakura canvas with softly blended section edges. */
.page-home .home-background {
  inset: 0;
  overflow: hidden;
  background: linear-gradient(#fbf4fa55, #fbf4fa55), #fbf4fa url(/img/art/page-bg.webp) center / cover no-repeat;
}
/* Keep the hero full bleed while dissolving its lower edge into the shared surface. */
.page-home .hero-image-frame { -webkit-mask-image: linear-gradient(#000 calc(100% - 100px), transparent); mask-image: linear-gradient(#000 calc(100% - 100px), transparent); }
/* Recent mockup decorations used opaque gradients that restarted at section edges. */
body.page-home .hero > .wrap:has(> .mk-cta) { position: relative; isolation: isolate; background: none; }
body.page-home #gallery.gal-sec { isolation: isolate; background: none; }
.page-home .hero > .wrap:has(> .mk-cta)::before,
.page-home #gallery::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; -webkit-mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent); }
.page-home .hero > .wrap:has(> .mk-cta)::before { background: url(/img/art/h-tl.webp) left top / clamp(150px, 25vw, 500px) auto no-repeat, url(/img/art/h-br.webp) right bottom / clamp(90px, 13vw, 250px) auto no-repeat, url(/img/art/h-petals.webp) center / 100% auto no-repeat; }
.page-home #gallery::before { background: url(/img/art/g-tl.webp) left top / clamp(180px, 23vw, 460px) auto no-repeat, url(/img/art/g-tr.webp) right top / clamp(140px, 18vw, 350px) auto no-repeat, url(/img/art/g-bl.webp) left bottom / clamp(140px, 20vw, 390px) auto no-repeat, url(/img/art/g-br.webp) right bottom / clamp(150px, 22vw, 430px) auto no-repeat; }
/* A consistent rhythm joins the open sections without adding separator bands. */
body.page-home #news { padding-bottom: clamp(36px, 5vw, 64px); }
body.page-home #flow { padding-top: 0; padding-bottom: clamp(48px, 6vw, 80px); }
body.page-home #rules { padding-top: 0; padding-bottom: clamp(48px, 6vw, 80px); }
body.page-home #safety { padding-top: 0; padding-bottom: clamp(48px, 6vw, 80px); }
body.page-home #gallery { padding-top: clamp(32px, 4vw, 56px); padding-bottom: clamp(32px, 4vw, 56px); }
body.page-home .site-surface .ft2 { padding-top: clamp(32px, 4vw, 56px); }
@media (max-width: 700px) {
  .page-home .hero-image-frame { -webkit-mask-image: linear-gradient(#000 calc(100% - 72px), transparent); mask-image: linear-gradient(#000 calc(100% - 72px), transparent); }
}

/* Mobile preserves the landscape composition; desktop keeps its full-screen hero. */
body.page-home .hero2.no-text { height: auto; aspect-ratio: auto; }
body.page-home .hero2-wrap, body.page-home .hero2.no-text, .page-home .hero2-stage { border: 0; outline: 0; box-shadow: none; background: transparent; }
.hero2-stage { position: relative; width: 100%; aspect-ratio: 1672 / 941; overflow: hidden; isolation: isolate; }
body.page-home .hero2.no-text .hero2-slide img { object-fit: contain; object-position: center; }
.page-home .hero2-stage .hero-image-frame { -webkit-mask-image: linear-gradient(transparent, #000 16px, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(transparent, #000 16px, #000 calc(100% - 24px), transparent); }
.page-home .hero2-stage .hero-image-frame::after { content: none; }
body.page-home .hero2 .hero-copy { inset: 12% 4% 14% 53%; width: auto; height: auto; padding: 0; }
body.page-home .hero2 .hero-copy-label { margin-bottom: clamp(4px, 1.4vw, 20px); padding: clamp(3px, .6vw, 8px) clamp(6px, 1.2vw, 18px); font-size: clamp(10px, 1.1vw, 18px); }
body.page-home .hero2 .hero-copy-title { font-size: clamp(18px, 5.2vw, 84px); line-height: 1.22; }
body.page-home .hero2 .hero-copy-tagline { margin-top: clamp(4px, 1.2vw, 18px); font-size: clamp(10px, 1.6vw, 25px); line-height: 1.6; }
body.page-home .hero2.no-text .hero2-arrow { top: 50%; }

/* Restore the desktop first view, including the overlaid news and laurel badges. */
@media (min-width: 601px) {
  body.page-home .hero2.no-text { height: 100svh; }
  .page-home .hero2-stage { height: 100%; aspect-ratio: auto; }
  body.page-home .hero2.no-text .hero2-slide img { object-fit: cover; object-position: center; }
  .page-home .hero2-stage .hero-image-frame { -webkit-mask-image: linear-gradient(#000 calc(100% - 100px), transparent); mask-image: linear-gradient(#000 calc(100% - 100px), transparent); }
  body.page-home .hero2 .hero-copy { inset: var(--hd-h, 104px) 4% 110px 53%; }
  body.page-home .hero2 .hero-copy-title { font-size: clamp(44px, min(5.2vw, 10svh), 84px); }
  body.page-home .hero2 .hero-copy-label { margin-bottom: 20px; padding: 8px 18px; font-size: clamp(13px, 1.1vw, 18px); }
  body.page-home .hero2 .hero-copy-tagline { margin-top: 18px; font-size: clamp(17px, 1.6vw, 25px); line-height: 1.7; }
}
@media (min-width: 601px) and (max-height: 600px) {
  body.page-home .hero2 .hero-copy { bottom: 72px; }
  body.page-home .hero2 .hero-copy-title { font-size: clamp(30px, 8svh, 48px); }
  body.page-home .hero2 .hero-copy-label { margin-bottom: 8px; padding: 4px 10px; font-size: 11px; }
  body.page-home .hero2 .hero-copy-tagline { margin-top: 14px; font-size: 14px; }
}

/* Original laurel badges and compact news pill, sized to fit mobile screens. */
@media (max-width: 600px) {
  .page-home .hero2-stage .hero-image-frame { -webkit-mask-image: linear-gradient(#000 calc(100% - 24px), transparent); mask-image: linear-gradient(#000 calc(100% - 24px), transparent); }
  body.page-home .hero2-wrap { padding-top: 0; margin-top: 0; }
  body.page-home .hd-fixed:not(.hd-solid) { height: 56px; }
  body.page-home .hd-fixed:not(.hd-solid) .hd-menu { width: 44px; height: 44px; }
  body.page-home .hd-fixed:not(.hd-solid) .hd-btn { --size: 32px; min-height: 44px; gap: 8px; padding: 5px 12px 5px 5px; font-size: 13px; }
  body.page-home .hero2 .hero-copy { top: 64px; bottom: 8px; }
  body.page-home .hero2 .hero-copy-label { line-height: 1.4; }
  body.page-home .hero2 .hero-copy-title { font-size: clamp(16px, 5vw, 30px); line-height: 1.2; }
  body.page-home .hero-awards { position: relative; left: auto; bottom: auto; width: min(340px, calc(100% - 32px)); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 8px auto 12px; padding: 0; transform: none; }
  body.page-home .hero-award { width: 100%; min-width: 0; }
  body.page-home .hero-award-copy > span, body.page-home .hero-award-copy > small { font-size: clamp(9px, 2.6vw, 11px); }
  body.page-home .hero-award-copy > strong { font-size: clamp(22px, 6.4vw, 28px); }
  body.page-home .hero .hero2-news { position: relative; left: auto; right: auto; bottom: auto; width: calc(100% - 28px); min-height: 46px; margin: 0 auto; padding: 0; display: flex; gap: 0; border: 0; border-radius: 999px; background: #fff; box-shadow: 0 6px 20px #7845961a; }
  body.page-home .hero .hero2-news > b { flex: 0 0 56px; justify-content: center; gap: 0; padding: 0 6px; font-size: 12px; letter-spacing: .06em; white-space: nowrap; }
  body.page-home .hero .hero2-news > b::before { display: none; }
  body.page-home .hero .hero2-news .tk-more { flex: 0 0 40px; align-items: center; justify-content: center; min-height: 46px; }
  body.page-home .hero .hero2-news .tk-more em { gap: 0; padding: 0; font-size: 0; letter-spacing: 0; white-space: nowrap; } /* arrow only; the text stays for screen readers */
  body.page-home .hero .hero2-news .tk-more em::after { width: 16px; height: 16px; }
  body.page-home .hero .hero2-news .tk-list { flex: 1; min-width: 0; min-height: 46px; }
  body.page-home .hero .hero2-news .tk { padding: 0 8px 0 12px; }
  body.page-home .hero .hero2-news .tk i, body.page-home .hero .hero2-news .tk-count { display: none; }
  body.page-home .hero .hero2-news .tk span { display: block; padding: 0; font-size: 13px; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #48265f; }
  body.page-home .hero2-dots { position: relative; inset: auto; width: 100%; justify-content: center; margin: 14px 0 18px; transform: none; }
}

@media print { .page-home .home-background { display: none; } }

/* very narrow phones: slightly smaller news text so every item stays on one line */
@media (max-width: 370px) { body.page-home .hero .hero2-news .tk span { font-size: 12px; } }

/* Phones: shorter hero buttons (予約ページへ / 予約確認・変更) */
@media (max-width: 760px) {
  body .hero-body.mk-cta .hb-btn { min-width: 0; width: min(68vw, 236px); padding-right: 16px; }
}

/* Boundary between the first view (hero slider) and the intro section below it: that section's top edge is a wide, shallow arc (after the reference LP) */
body.page-home .hero > .wrap:has(> .mk-cta) { --dome: clamp(60px, 8vw, 150px); background: #fff3f9d9; border-radius: 50% 50% 0 0 / var(--dome) var(--dome) 0 0; overflow: clip; box-shadow: 0 -14px 34px #7a3f9a1f; }
body.page-home .hero .hero-body.mk-cta { padding-top: calc(var(--dome, 60px) * .55 + 24px); }
@media (max-width: 600px) { body.page-home .hero > .wrap:has(> .mk-cta) { --dome: 44px; } }

/* Intro section: three circular photos with speech bubbles and captions (after the reference LP), replacing the plain paragraph */
.mk-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 44px); max-width: 1420px; margin: clamp(28px, 4vw, 64px) auto clamp(28px, 3.4vw, 56px); align-items: start; }
.mk-trio-item { position: relative; margin: 0; display: flex; flex-direction: column; align-items: center; }
.mk-trio-photo { width: min(100%, 450px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #f5e6f4; box-shadow: 0 14px 36px #8a4f8a2e, 0 0 0 6px #ffffffcc; }
.mk-trio-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mk-trio-bubble { position: absolute; z-index: 2; display: block; max-width: 72%; padding: 12px 18px; border-radius: 18px; background: linear-gradient(120deg, #8e43b3, #b457c4 60%, #d96fb8); color: #fff; font: 700 clamp(14px, 1.25vw, 19px)/1.5 "Noto Sans JP", sans-serif; letter-spacing: .03em; text-align: left; box-shadow: 0 8px 20px #8a3fa040; }
.mk-trio-item.t1 .mk-trio-bubble { left: 0; bottom: 34%; border-top-right-radius: 0; }
.mk-trio-item.t2 .mk-trio-bubble { left: 0; bottom: 30%; border-top-right-radius: 0; } /* low on the circle: the face in the photo stays clear */
.mk-trio-item.t3 .mk-trio-bubble { right: 0; bottom: 30%; border-top-left-radius: 0; }
body .hero .hero-body.mk-cta .mk-trio figcaption { margin: clamp(16px, 1.8vw, 28px) 0 0; font: 500 clamp(14px, 1.3vw, 19px)/1.95 var(--mk-font, "Noto Sans JP", sans-serif); letter-spacing: .03em; color: #4a2a63; text-align: center; max-width: none; }
@media (max-width: 760px) {
  .mk-trio { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .mk-trio-photo { width: min(88vw, 360px); }
  .mk-trio-item.t1 .mk-trio-bubble { left: calc(50% - min(44vw, 180px) - 6px); }
  .mk-trio-item.t2 .mk-trio-bubble { left: calc(50% - min(44vw, 180px) - 6px); }
  .mk-trio-item.t3 .mk-trio-bubble { right: calc(50% - min(44vw, 180px) - 6px); }
}

/* Trio refined to the design mockup: circles with a white ring and a pale lavender halo; the speech label is a centred pill
   straddling the lower edge of each circle, with the caption below. */
.mk-trio { gap: clamp(18px, 3vw, 56px); }
.mk-trio-photo { width: min(100%, 440px); border: 5px solid #fff; box-shadow: 0 0 0 11px #efdcf8b3, 0 18px 44px #9a5fb838; background: #f5e6f4; }
body .mk-trio-item .mk-trio-bubble { position: relative; inset: auto; z-index: 2; max-width: none; margin: -24px auto 0; padding: 9px clamp(20px, 2.2vw, 36px); border-radius: 999px; white-space: nowrap; font-size: clamp(15px, 1.35vw, 21px); line-height: 1.4; text-align: center; box-shadow: 0 8px 22px #8a3fa04d; }
body .hero .hero-body.mk-cta .mk-trio figcaption { margin-top: clamp(14px, 1.6vw, 26px); font-size: clamp(15px, 1.45vw, 21px); }
@media (max-width: 760px) {
  body .mk-trio-item .mk-trio-bubble { margin-top: -22px; }
}

/* Hero buttons in the design-mockup format: wide white pill with a thin lavender ring and soft glow, bold dark-purple label, thin arrow.
   予約ページへ = plain purple line icon; 予約確認・変更 = icon in a purple gradient circle. */
body .hero-body.mk-cta .hb-btn { --size: clamp(42px, 3.4vw, 52px); min-height: clamp(58px, 4.8vw, 70px); min-width: clamp(240px, 21vw, 320px); gap: clamp(14px, 1.6vw, 24px); border: 2px solid #e8d7f7; background: #fff; color: #3a1d5c; font-weight: 800; letter-spacing: .05em; box-shadow: 0 10px 28px #b27fdc33, 0 0 0 4px #ffffffa6; }
body .hero-body.mk-cta .hb-btn:not(.ghost)::before { background-color: transparent; background-image: var(--ic-on); background-size: 74%; margin-left: clamp(8px, .9vw, 14px); }
body .hero-body.mk-cta .hb-btn.ghost::before { background-color: transparent; background-image: var(--ic), linear-gradient(140deg, #a05ccb, #6c3399); background-size: 54%, 100%; }
body .hero-body.mk-cta .hb-btn:hover { background: #7a3f9a; border-color: #7a3f9a; color: #fff; }
body .hero-body.mk-cta .hb-btn:not(.ghost):hover::before { background-color: transparent; background-image: var(--ic); }
body .hero-body.mk-cta .hb-btn.ghost:hover::before { background-color: #fff; background-image: var(--ic-on); background-size: 54%; }

/* First-view feature badges, matched to the design mockup: near-round glass badges, thin gold ring + white inner ring, solid purple icon on top,
   label / very large value / sub-label in heavy dark purple, and real-looking sakura blossoms overlapping the corners. */
body .hero-awards { gap: clamp(12px, 1.4vw, 24px); }
body .hero-award { --a: var(--award-size); aspect-ratio: 1 / 1.04; border-radius: 40%; border: 2px solid transparent; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: linear-gradient(165deg, #ffffffd6, #fff1f8bf 70%, #ffe9f4b3) padding-box, linear-gradient(140deg, #f1d49c, #f6c2dc 48%, #e8c88f) border-box;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 0 0 5px #ffffff59, 0 12px 30px #a35d9f38, inset 0 0 0 5px #ffffff99; }
body .hero-award .ha-ico { display: block; width: calc(var(--a) * .2); aspect-ratio: 1; color: #4d2a73; margin-bottom: calc(var(--a) * .015); }
body .hero-award .ha-ico svg { display: block; width: 100%; height: 100%; fill: currentColor; }
body .hero-award .hero-award-copy { position: static; inset: auto; gap: 0; color: #4d2a73; }
body .hero-award .hero-award-copy > span { font-size: calc(var(--a) * .125); font-weight: 800; line-height: 1.25; color: #4d2a73; }
body .hero-award .hero-award-copy > strong { font-size: calc(var(--a) * .25); font-weight: 900; line-height: 1.1; letter-spacing: .01em; color: #4d2a73; }
body .hero-award .hero-award-copy em { font-size: .72em; font-style: normal; margin-left: 1px; font-weight: 900; }
body .hero-award .hero-award-copy > small { font-size: calc(var(--a) * .088); font-weight: 700; line-height: 1.3; color: #5a3a7c; margin-top: calc(var(--a) * .02); }
body .hero-award .ha-bloom { position: absolute; z-index: 2; display: block; height: auto; pointer-events: none; filter: drop-shadow(0 3px 5px #b4577a40); }
body .hero-award .b1a { width: 48%; left: -17%; top: -14%; transform: rotate(-8deg); }
body .hero-award .b1b { width: 34%; right: -11%; bottom: 4%; transform: rotate(18deg); }
body .hero-award .b2a { width: 34%; right: -9%; bottom: 0; transform: rotate(-12deg); }
body .hero-award .b2b { width: 20%; right: -13%; top: 6%; transform: rotate(24deg); }
body .hero-award .b3a { width: 34%; right: -8%; bottom: 2%; transform: rotate(10deg); }
body .hero-award .b3b { width: 20%; left: -9%; bottom: 8%; transform: rotate(-30deg); }
