@charset "utf-8";

/* ── External resources ─────────────────────────────────────────────────── */
@import url("https://unpkg.com/sanitize.css");
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@300;400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@300;400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Ma+Shan+Zheng&family=ZCOOL+XiaoWei&display=swap');
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.8.0/font/bootstrap-icons.css");

/* Sub-CSS */
@import url("animation.css");
@import url("inview.css");


/* ── Design tokens ──────────────────────────────────────────────────────── */
:root {
  --bg:          #060610;
  --glass-bg:    rgba(255,255,255,0.055);
  --glass-bg2:   rgba(255,255,255,0.09);
  --glass-bd:    rgba(255,255,255,0.13);
  --glass-bd2:   rgba(255,255,255,0.22);
  --glass-blur:  blur(22px) saturate(160%);
  --text-hi:     rgba(255,255,255,0.92);
  --text-mid:    rgba(255,255,255,0.65);
  --text-lo:     rgba(255,255,255,0.38);
  --accent-1:    #7c3aed;
  --accent-2:    #0d9488;
  --accent-3:    #2563eb;
  --accent-4:    #db2777;
  --accent-gold: #d4a853;
  --gold-soft:   rgba(212,168,83,0.22);
  --gold-glow:   0 0 28px rgba(212,168,83,0.18);
  --glow-sm:     0 0 20px rgba(124,58,237,0.30);
  --glow-md:     0 0 45px rgba(124,58,237,0.40);
  --radius-sm:   10px;
  --radius-md:   18px;
  --radius-lg:   28px;
  --transition:  0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}


/* ── Reset / Base ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  font-size: 13px;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

@media (min-width: 900px) {
  html, body { font-size: 16px; }
}

body {
  font-family: "Noto Serif JP", "Hiragino Mincho Pro", "ヒラギノ明朝 Pro W3", serif;
  -webkit-text-size-adjust: none;
  background: var(--bg);
  color: var(--text-hi);
  line-height: 2;
  min-height: 100vh;
}

body.zh {
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", "Source Han Serif CN", "STSong", serif;
  letter-spacing: 0.06em;
}

/* Chinese headings — brush calligraphy style */
body.zh main h2,
body.zh main h3,
body.zh main h4,
body.zh .title-bg h2 .tate {
  font-family: "Ma Shan Zheng", "ZCOOL XiaoWei", serif;
  letter-spacing: 0.14em;
  font-weight: 400;
}

body.zh #menubar h2 {
  font-family: "Ma Shan Zheng", serif;
}

figure  { margin: 0; }
dd      { margin: 0; }
nav     { margin: 0; padding: 0; }
table   { border-collapse: collapse; }
img     { border: none; max-width: 100%; height: auto; vertical-align: middle; }
video   { max-width: 100%; }
iframe  { width: 100%; }
ul, ol  { margin-bottom: 30px; }

section + section { margin-top: 80px; }

@media (min-width: 900px) {
  section + section { margin-top: 110px; }
}

a {
  color: var(--text-hi);
  transition: var(--transition);
}
a:hover { opacity: 0.78; }


/* ── Gas background layer ───────────────────────────────────────────────── */
#gas-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  filter: blur(90px);
  overflow: hidden;
  pointer-events: none;
}
#gas-layer canvas {
  width: 100%;
  height: 100%;
}


/* ── Glass mixin utility ────────────────────────────────────────────────── */
.glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-bd);
}

.glass-strong {
  background: var(--glass-bg2);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-bd2);
}


/* ── #container ─────────────────────────────────────────────────────────── */
#container {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  max-width: 1800px;
}


/* ── Header ─────────────────────────────────────────────────────────────── */
header {
  display: flex;
  align-items: center;
  padding: 3%;
  margin-bottom: 80px;
}

body:not(.home) header {
  background: rgba(6,6,16,0.55);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-bd);
}

.home header {
  justify-content: space-around;
  padding: 8% 0;
  position: relative;
}

/* Logo — inline SVG / text, no external image */
#logo { margin: 0; }
#logo a {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Fallback: keep img tags working if present */
#logo img { display: block; height: 100%; width: auto; }

/* Text-based logo (when no img is used) */
.logo-text-tate {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: "Noto Serif JP", serif;
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  color: var(--text-hi);
  text-shadow: 0 0 30px rgba(124,58,237,0.6);
}

.logo-text-yoko {
  font-family: "Cinzel", serif;
  font-size: 0.85rem;
  letter-spacing: 0.35em;
  color: var(--text-mid);
}

.home #logo {
  width: auto;
  height: 280px;
  order: 1;
}

/* Inner pages: compact logo */
body:not(.home) #logo {
  height: 60px;
}


/* ── Header navigation (home) ───────────────────────────────────────────── */
header ul  { margin: 0; padding: 0; }
header nav {
  letter-spacing: 0.2em;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
}

@media (max-width: 700px) {
  header nav { display: none; }
}

header nav a {
  text-decoration: none;
  display: inline-block;
  padding: 0.9em 0.6em;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

header nav a:hover {
  opacity: 1;
  background: var(--glass-bg2);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-color: var(--glass-bd2);
  box-shadow: var(--glow-sm);
}

body.ja header nav {
  writing-mode: vertical-rl;
  text-orientation: upright;
}

body.en header nav { font-size: 0.9rem; text-align: center; }
body.en header nav a { padding: 0.5em 1em; }


/* ── Language switcher ──────────────────────────────────────────────────── */
.lang-menu {
  margin: 0; padding: 0; list-style: none;
  font-family: "Cinzel", "Arial", sans-serif;
  position: absolute;
  right: 3%; top: 3%;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  z-index: 10;
}

.lang-menu li { display: inline-block; }

.lang-menu a {
  text-decoration: none;
  display: inline-block;
  padding: 0.3em 1em;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-bd2);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.lang-menu a:hover {
  background: var(--glass-bg2);
  border-color: rgba(124,58,237,0.5);
  box-shadow: var(--glow-sm);
  opacity: 1;
}


/* ── Slide show (hero, home only) ───────────────────────────────────────── */
/* Actual animations in slide.css */


/* ── Main content ───────────────────────────────────────────────────────── */
main {
  margin: 20px;
  position: relative;
  z-index: 1;
}

@media (min-width: 900px) {
  main { margin: 0 80px 100px; }
}


/* ── Glass section cards ────────────────────────────────────────────────── */
main section {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-bd);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  transition: border-color 0.4s, box-shadow 0.4s;
}

main section:hover {
  border-color: rgba(212,168,83,0.28);
  box-shadow: 0 8px 40px rgba(0,0,0,0.35), var(--glow-sm), var(--gold-glow);
}

@media (min-width: 900px) {
  main section { padding: 60px 60px; }
}


/* ── Headings ───────────────────────────────────────────────────────────── */
main h2 {
  margin: 0 0 2.5rem;
  font-weight: 300;
  font-size: 2rem;
  letter-spacing: 0.35em;
  text-indent: 0.35em;
  text-align: center;
  color: var(--text-hi);
}

main h2 span {
  display: block;
  font-size: 0.4em;
  color: var(--text-mid);
  letter-spacing: 0.3em;
  margin-top: 0.4em;
}

main h3 {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-hi);
}

p + h3, p + h2 { margin-top: 2rem; }


/* ── Title banner with tate/yoko ────────────────────────────────────────── */
.title-bg {
  display: flex;
  justify-content: center;
  padding: 40px 0;
}

.title-bg h2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
}

.title-bg h2 .tate {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 2.2rem;
  letter-spacing: 0.3em;
}

.title-bg h2 .yoko {
  margin-top: 1.2rem;
  font-size: 0.4em;
  font-family: "Cinzel", serif;
  letter-spacing: 0.4em;
  color: var(--text-mid);
}

/* #greeting section hero banner */
#greeting {
  background: linear-gradient(135deg,
    rgba(124,58,237,0.20) 0%,
    rgba(13,148,136,0.18) 50%,
    rgba(37,99,235,0.16) 100%);
  border: 1px solid rgba(124,58,237,0.25);
  padding: 1rem;
  margin-left: -30px;
  width: calc(100% + 60px);
  border-radius: var(--radius-md);
}

@media (min-width: 900px) {
  #greeting {
    margin-left: -60px;
    width: calc(100% + 120px);
  }
}


/* ── NEWS block ─────────────────────────────────────────────────────────── */
.new dl {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
}

.new dt {
  width: 8rem;
  letter-spacing: 0.08em;
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  color: var(--text-mid);
  font-size: 0.85em;
}

.new dd {
  padding: 10px 0 10px 1rem;
  width: calc(100% - 8rem);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.new dt {
  border-bottom: 1px solid rgba(255,255,255,0.07);
}


/* ── Gallery carousel (home) ────────────────────────────────────────────── */
.list-slide {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  overflow: hidden;
}

.list-slide figure {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--glass-bg);
}

.list-slide canvas.gallery-canvas {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: var(--radius-md);
  transition: transform 0.4s ease, box-shadow 0.4s;
}

.list-slide figure:hover canvas.gallery-canvas {
  transform: scale(1.04);
  box-shadow: 0 12px 40px rgba(124,58,237,0.35);
}

@media (max-width: 700px) {
  .list-slide { grid-template-columns: 1fr; }
}


/* ── Hamburger / menubar ────────────────────────────────────────────────── */
#menubar ul  { list-style: none; margin: 0; padding: 0; }
#menubar     { display: none; }
#menubar.db  { display: block; }
#menubar.dn  { display: none; }

#menubar h2 {
  margin: 0 0 24px;
  font-size: 0.85rem;
  font-family: "Cinzel", serif;
  letter-spacing: 0.35em;
  color: var(--text-mid);
  background: none;
}

#menubar {
  position: fixed; overflow: auto; z-index: 100;
  left: 0; top: 0;
  width: 100%; height: 100%;
  padding: 110px 32px 32px;
  background: rgba(6,6,16,0.75);
  backdrop-filter: blur(30px) saturate(140%);
  -webkit-backdrop-filter: blur(30px) saturate(140%);
  border-right: 1px solid var(--glass-bd);
  text-align: center;
  animation: animation1 0.25s both;
}

@media (min-width: 900px) {
  #menubar { width: 65%; }
}

#menubar a {
  display: block;
  text-decoration: none;
  text-align: center;
  padding: 14px;
  color: var(--text-hi);
  letter-spacing: 0.12em;
  transition: var(--transition);
}

#menubar a:hover {
  color: #fff;
  background: var(--glass-bg2);
  border-radius: var(--radius-sm);
  opacity: 1;
}

#menubar .submenu li {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

#menubar .submenu li:first-child {
  border-top: 1px solid rgba(255,255,255,0.08);
}


/* ── Social icons in menubar ────────────────────────────────────────────── */
.icons li {
  display: inline-block;
  margin: 10px;
  font-size: 22px;
}


/* ── Hamburger button ───────────────────────────────────────────────────── */
#menubar_hdr.db { display: flex; }
#menubar_hdr.dn { display: none; }

#menubar_hdr {
  position: fixed; z-index: 101;
  cursor: pointer;
  right: 24px; top: 24px;
  width: 52px; height: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 8px 10px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-bd);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

#menubar_hdr:hover {
  background: var(--glass-bg2);
  border-color: var(--glass-bd2);
  box-shadow: var(--glow-sm);
}

#menubar_hdr span {
  display: block;
  transition: 0.3s;
  border-top: 1.5px solid rgba(255,255,255,0.85);
}

#menubar_hdr.ham span { transform-origin: center center; }
#menubar_hdr.ham span:nth-of-type(1) { transform: rotate(45deg)  translate(5px, 5px);  }
#menubar_hdr.ham span:nth-of-type(2) { transform: rotate(-45deg) translate(5px, -5px); }


/* ── Footer ─────────────────────────────────────────────────────────────── */
footer {
  position: relative;
  z-index: 1;
  font-size: 0.72rem;
  text-align: center;
  margin-top: 60px;
  padding: 40px 20px;
  background: rgba(6,6,16,0.55);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-top: 1px solid var(--glass-bd);
}

footer small { font-size: 100%; color: var(--text-mid); }
footer a { text-decoration: none; color: var(--text-mid); }
footer a:hover { color: var(--text-hi); opacity: 1; }

.pr   { display: block; }
.copy { padding: 1%; }

#footermenu { margin: 0; padding: 1%; }
#footermenu li {
  display: inline-block;
  padding: 0 12px;
}
#footermenu a {
  text-decoration: none;
  color: var(--text-mid);
  letter-spacing: 0.08em;
  transition: var(--transition);
}
#footermenu a:hover { color: var(--text-hi); opacity: 1; }


/* ── Page-top button ────────────────────────────────────────────────────── */
.pagetop-show { display: block; }

.pagetop a {
  display: block; text-decoration: none; text-align: center; z-index: 99;
  position: fixed;
  right: 20px; bottom: 24px;
  background: var(--glass-bg2);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-bd2);
  border-radius: var(--radius-sm);
  width: 48px; height: 48px;
  line-height: 48px;
  color: var(--text-hi);
  transition: var(--transition);
  box-shadow: var(--glow-sm);
}

.pagetop a:hover {
  background: rgba(124,58,237,0.25);
  border-color: rgba(124,58,237,0.6);
  box-shadow: var(--glow-md);
  opacity: 1;
}


/* ── Animation button (border-trace) ────────────────────────────────────── */
@keyframes w { 0%{width:0} 100%{width:100%} }
@keyframes h { 0%{height:0} 100%{height:100%} }

.animation-btn {
  position: relative;
  display: inline-block;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.28) inset;
  border-radius: var(--radius-sm);
}

.animation-btn-inner {
  display: block; text-decoration: none;
  padding: 0.55em 2.8em;
  letter-spacing: 0.1em; text-indent: 0.1em;
  color: var(--text-hi);
  transition: var(--transition);
}

.animation-btn:hover .animation-btn-inner {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-sm);
}

.animation-btn-inner i {
  display: inline-block;
  transition: 0.3s;
  padding-left: 0.9em;
}

.animation-btn-inner:hover i { transform: translateX(5px); }

.animation-btn::before, .animation-btn::after,
.animation-btn-inner::before, .animation-btn-inner::after {
  content: "";
  position: absolute;
  background-color: rgba(124,58,237,0.8);
  animation-duration: 0.22s;
  animation-fill-mode: forwards;
  animation-timing-function: linear;
}

.animation-btn:hover::before  { left:0; top:0; height:1px; animation-name:w; }
.animation-btn:hover::after   { right:0; top:0; width:1px; animation-name:h; animation-delay:0.22s; }
.animation-btn-inner:hover::before { right:0; bottom:0; height:1px; animation-name:w; animation-delay:0.44s; }
.animation-btn-inner:hover::after  { left:0; bottom:0; width:1px; animation-name:h; animation-delay:0.66s; }


/* ── 2-column layout ────────────────────────────────────────────────────── */
.c2 { display: flex; flex-direction: column; }
.c2 h2 { font-size: 2rem; }
.c2 .image { order: -1; }

@media (min-width: 900px) {
  .c2 {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
  }
  .c2 .image { width: 48%; order: initial; }
  .c2 .text  { width: 52%; padding: 0 20px; }
  .c2 .text-l { order: -1; }
  .c2 .image-r {
    overflow: hidden;
    border-radius: 60px 0 0 60px;
  }
  .c2 .image-l {
    overflow: hidden;
    border-radius: 0 60px 60px 0;
  }
}

/* Canvas in c2 image blocks (replaces photos) */
.c2 .image canvas.gallery-canvas {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: inherit;
  display: block;
}

/* Real photo in c2 image blocks */
.c2 .image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: inherit;
  display: block;
  transition: transform 0.4s ease, box-shadow 0.4s;
}


/* ── List block (about/service pages) ───────────────────────────────────── */
.list {
  display: flex;
  padding: 20px 0;
  gap: 20px;
  align-items: flex-start;
}

.list figure {
  width: 22%;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.list canvas.gallery-canvas {
  width: 100%;
  aspect-ratio: 1;
  display: block;
}

/* Real photo in list blocks */
.list figure img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-md);
  transition: transform 0.4s ease, box-shadow 0.4s;
}

.list figure:hover img {
  transform: scale(1.04);
  box-shadow: 0 12px 40px rgba(124,58,237,0.35);
}

.list div { flex: 1; }
.list h4  { margin: 0 0 0.5em; font-size: 1.15rem; }
.list p   { margin: 0 0 0.8em; font-size: 0.85rem; color: var(--text-mid); }

@media (min-width: 900px) {
  .list { padding-left: 10px; }
}


/* ── Table line (dl grid) ───────────────────────────────────────────────── */
dl.line {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.82em;
  border-top: 1px solid rgba(255,255,255,0.12);
}

dl.line dt, dl.line dd {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 4px 12px;
}

dl.line dt { width: 8em; color: var(--text-mid); }
dl.line dd { width: calc(100% - 8em); }

@media (min-width: 900px) {
  .list dl.line dd { width: calc(50% - 8em - 12px); margin-right: 12px; }
  .list dl.line { border-top: none; }
  .list dl.line dt:nth-of-type(1), .list dl.line dd:nth-of-type(1),
  .list dl.line dt:nth-of-type(2), .list dl.line dd:nth-of-type(2) {
    border-top: 1px solid rgba(255,255,255,0.12);
  }
}


/* ── Table ──────────────────────────────────────────────────────────────── */
.ta1 caption {
  font-weight: 600;
  padding: 10px 5px;
  background: rgba(124,58,237,0.18);
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: var(--radius-sm);
  color: var(--text-hi);
  margin-bottom: 14px;
}

.ta1 { border-top: 1px solid rgba(255,255,255,0.12); width: 100%; margin: 0 auto 30px; }
.ta1 tr { border-bottom: 1px solid rgba(255,255,255,0.08); }
.ta1 th, .ta1 td { padding: 10px 5px; word-break: break-all; }
.ta1 th { width: 30%; text-align: left; color: var(--text-mid); }

@media (min-width: 900px) {
  .ta1 caption { padding: 5px 15px; }
  .ta1 th, .ta1 td { padding: 20px 15px; }
  .ta1 th { width: 20%; }
}


/* ── FAQ ─────────────────────────────────────────────────────────────────── */
.faq { padding: 0 5px; }

.faq dt {
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-bd);
  text-indent: -2em;
  padding: 8px 1em 8px 3em;
}

.faq dt::before {
  font-family: bootstrap-icons;
  content: "\F504";
  color: var(--accent-1);
  padding-right: 1em;
}

.faq dd { padding: 5px 1em 28px 3em; color: var(--text-mid); }
.openclose { cursor: pointer; }


/* ── Utility classes ────────────────────────────────────────────────────── */
.clearfix::after { content: ""; display: block; clear: both; }
.color-check, .color-check a { color: #ffc500 !important; }
.color-theme, .color-theme a { color: #9d7fea !important; }
.c  { text-align: center !important; }
.r  { text-align: right !important; }
.ws { width: 95%; display: block; }
.wl { width: 95%; display: block; }
.mb0  { margin-bottom: 0 !important; }
.mb30 { margin-bottom: 30px !important; }
.mt30 { margin-top:    30px !important; }
.look {
  display: inline-block; padding: 0 10px;
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.35);
  border-radius: 4px; margin: 5px 0;
  word-break: break-all;
}
.small  { font-size: 0.75em; }
.large  { font-size: 3em; letter-spacing: 0.2em; }
.pc     { display: none; }
.dn     { display: none !important; }
.sh     { }

@media (min-width: 900px) {
  .ws { width: 48%; display: inline; }
  .sh { display: none; }
  .pc { display: block; }
}


/* ── Glow accent divider ────────────────────────────────────────────────── */
.glow-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124,58,237,0.6), transparent);
  margin: 40px 0;
  border: none;
}

/* ── Japanese luxury: gold heading underline ────────────────────────────── */
main h2::after {
  content: '';
  display: block;
  margin: 0.7rem auto 0;
  width: 2.8rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
  opacity: 0.7;
}

/* ── Hero decoration SVG ────────────────────────────────────────────────── */
.hero-deco {
  position: absolute;
  right: 0;
  top: 0;
  width: min(420px, 55vw);
  height: auto;
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}

/* ── Japanese ornament divider ──────────────────────────────────────────── */
.ja-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2rem 0;
  color: var(--text-lo);
  font-size: 0.7rem;
  letter-spacing: 0.35em;
}
.ja-divider::before,
.ja-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-soft), transparent);
}

/* ── Kamon seal badge ───────────────────────────────────────────────────── */
.kamon {
  display: inline-block;
  width: 4rem; height: 4rem;
  margin: 1rem auto;
}

/* ── Gallery caption label ──────────────────────────────────────────────── */
.list-slide figure {
  position: relative;
}
.gallery-label {
  position: absolute;
  bottom: 0.6rem; left: 0.7rem;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.45);
  font-family: "Cinzel", serif;
  pointer-events: none;
}

/* ── Lang menu: support 3 items ─────────────────────────────────────────── */
.lang-menu li + li::before {
  content: '|';
  padding: 0 0.4em;
  color: var(--text-lo);
  font-size: 0.7em;
}

/* ── English version: horizontal SVG logo — constrain height ──────────── */
body.en.home #logo {
  height: auto;
}
body.en.home #logo svg {
  width: auto;
  height: 90px;
}

/* ── Hero slide photo underlay ──────────────────────────────────────────── */
.slide-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  z-index: 0;
  border-radius: inherit;
}

/* ── Footer logo ────────────────────────────────────────────────────────── */
.footer-logo {
  margin: 10px auto 4px;
}
.footer-logo img {
  height: 28px;
  width: auto;
  opacity: 0.30;
  filter: brightness(3) saturate(0);
  transition: opacity 0.3s;
}
.footer-logo img:hover {
  opacity: 0.55;
}

/* ── Chinese gallery label override ────────────────────────────────────── */
body.zh .gallery-label {
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
}
