/* Footer (design): pastel sakura background with a lavender wave, logo + X link, three glassy cards, legal links on a fading line. */
.ft2 { position: relative; overflow: hidden; padding: clamp(64px, 7vw, 110px) clamp(18px, 4vw, 64px) calc(24px + env(safe-area-inset-bottom, 0px)); color: #3b1d5c;
  background:
    url(/img/art/f-sakura-tl.webp) no-repeat left top / min(17.4vw, 340px) auto,
    url(/img/art/f-sakura-br.webp) no-repeat right bottom / min(13.6vw, 266px) auto,
    url(/img/art/f-wave.webp) no-repeat center bottom / 100% min(14vw, 270px),
    url(/img/art/f-petals.webp) no-repeat center / cover,
    linear-gradient(180deg, #fdf9f7, #fbf3fa); }
.ft2-in { position: relative; max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: 1.12fr 1fr 1fr 1fr; gap: clamp(18px, 2.4vw, 38px); align-items: start; }

/* brand column */
.ft2-brand { display: grid; justify-items: center; align-content: start; text-align: center; padding-top: 8px; }
.ft2-logo img { display: block; width: clamp(200px, 19vw, 300px); height: auto; }
.ft2-x { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 14px 20px 14px 26px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: #3b1d5c; font-size: clamp(14px, 1.1vw, 17px); font-weight: 800; text-decoration: none; box-shadow: 0 10px 28px rgba(150, 110, 200, .16); transition: background .25s, color .25s, transform .25s, box-shadow .25s; }
.ft2-x:hover { background: #7a3f9a; color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(122, 63, 154, .32); }
.ft2-x:focus-visible, .ft2-card a:focus-visible, .ft2-legal a:focus-visible, .ft2-logo:focus-visible { outline: 3px solid #f59a3a; outline-offset: 3px; }
.ft2-chev { flex: none; width: 9px; height: 9px; margin-left: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); transition: transform .25s; }
.ft2-x:hover .ft2-chev { transform: translateX(3px) rotate(45deg); }
.ft2-brand p { margin: 24px 0 0; font-size: clamp(12.5px, 1vw, 15px); font-weight: 600; line-height: 1.8; color: #8a6aa8; }

/* cards */
.ft2-card { position: relative; overflow: hidden; padding: clamp(24px, 2.4vw, 36px) clamp(22px, 2.4vw, 38px) clamp(22px, 2.2vw, 32px); border-radius: clamp(26px, 2.6vw, 40px); background: linear-gradient(160deg, rgba(255, 255, 255, .92), rgba(250, 243, 255, .8)); border: 1px solid rgba(255, 255, 255, .95); box-shadow: 0 18px 46px rgba(150, 110, 200, .16); transition: transform .35s, box-shadow .35s; }
.ft2-card:hover { transform: translateY(-4px); box-shadow: 0 24px 54px rgba(150, 110, 200, .22); }
.ft2-card::before { content: ""; position: absolute; right: -40px; top: -30px; width: 62%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 40% 40%, rgba(214, 190, 250, .4), transparent 70%); pointer-events: none; }
.ft2-card > * { position: relative; }
.ft2-ico { display: block; width: clamp(56px, 5vw, 76px); height: clamp(56px, 5vw, 76px); filter: drop-shadow(0 10px 14px rgba(138, 63, 160, .25)); }
.ft2-ico img { display: block; width: 100%; height: 100%; }
.ft2-card small { display: block; margin-top: 26px; font-size: clamp(12px, .95vw, 15px); font-weight: 800; letter-spacing: .18em; color: #9a6dbf; }
.ft2-title { display: block; position: relative; margin-top: 4px; padding-bottom: 18px; font-size: clamp(28px, 2.5vw, 40px); font-weight: 800; letter-spacing: .01em; line-height: 1.3; color: #3b1d5c; text-decoration: none; }
.ft2-title::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, #efb9de, #e6d6f6 65%, rgba(230, 214, 246, 0)); }
.ft2-card ul { list-style: none; margin: 10px 0 0; padding: 0; }
.ft2-card li a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 0; color: #3b1d5c; font-size: clamp(14.5px, 1.12vw, 17.5px); font-weight: 700; text-decoration: none; transition: color .25s, padding-left .25s; }
.ft2-card li a::after { content: ""; flex: none; width: 9px; height: 9px; border-top: 2px solid #4a2a6e; border-right: 2px solid #4a2a6e; transform: rotate(45deg); transition: transform .25s, border-color .25s; }
.ft2-card li a:hover { color: #8a3fa0; padding-left: 6px; }
.ft2-card li a:hover::after { border-color: #8a3fa0; transform: translateX(3px) rotate(45deg); }
.ft2-title:hover { color: #8a3fa0; }
/* news card: two stacked items (Japanese label above a large English name) */
.ft2-two li + li { margin-top: 6px; padding-top: 6px; border-top: 2px solid #f1e3f3; }
.ft2-card .ft2-two a { display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 8px 0; }
.ft2-card .ft2-two a span { grid-column: 1; font-size: clamp(14px, 1.05vw, 16px); font-weight: 700; }
.ft2-card .ft2-two a b { grid-column: 1; font-size: clamp(22px, 1.9vw, 30px); font-weight: 800; line-height: 1.3; color: #3b1d5c; }
.ft2-card .ft2-two a::after { grid-column: 2; grid-row: 1 / span 2; }

/* legal links */
.ft2-legal { grid-column: 1 / -1; display: flex; align-items: center; justify-content: flex-end; margin: clamp(28px, 3.4vw, 52px) 0 0; padding: 0; list-style: none; }
.ft2-legal::before { content: ""; flex: 1; height: 1px; margin-right: 24px; background: linear-gradient(90deg, rgba(217, 200, 240, 0), #d9c8f0 30%, #e6d9f5); }
.ft2-legal li + li::before { content: "|"; margin: 0 22px; color: #b7a0d0; }
.ft2-legal a { color: #8a2f7a; font-size: clamp(13px, 1vw, 16px); font-weight: 700; text-decoration: none; }
.ft2-legal a:hover { text-decoration: underline; }

@media (max-width: 1100px) {
  .ft2-in { grid-template-columns: repeat(3, 1fr); }
  .ft2-brand { grid-column: 1 / -1; margin-bottom: 8px; }
}
@media (max-width: 820px) { .ft2-in { grid-template-columns: repeat(2, 1fr); } .ft2-card:last-of-type { grid-column: 1 / -1; } }
@media (max-width: 560px) {
  .ft2-in { grid-template-columns: 1fr; }
  .ft2-legal { flex-wrap: wrap; justify-content: center; row-gap: 8px; }
  .ft2-legal::before { display: none; }
}
@media print { .ft2 { background: none; } }

/* tuned to the design: wider layout, lighter titles, larger logo */
.ft2-in { max-width: 1640px; grid-template-columns: 1.2fr .95fr 1.1fr 1.1fr; }
.ft2-logo img { width: clamp(220px, 21vw, 360px); }
.ft2-title { font-weight: 600; font-size: clamp(30px, 2.7vw, 48px); }
.ft2-card { border-radius: clamp(30px, 3vw, 48px); }
.ft2-card li a { font-weight: 600; font-size: clamp(15px, 1.2vw, 19px); }
.ft2-card small { font-weight: 700; color: #8f67b3; }
.ft2-x { font-weight: 700; padding: 16px 24px 16px 34px; }
.ft2-brand p { color: #8e7aa6; }
.ft2-legal a { font-weight: 600; color: #7b2a78; }

/* responsive grid (must follow the desktop override above) */
@media (max-width: 1100px) { .ft2-in { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) { .ft2-in { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ft2-in { grid-template-columns: 1fr; } }
/* Leave room for the fixed reservation controls only where they are present. */
@media (max-width: 760px) {
  body:has(.fix-bar) .ft2 { padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
}
