/* MIYAVI — wa-modern corporate site
   Katsu indigo, washi ivory, champagne gold, sumi ink. */

:root {
  --katsu: #14213d;
  --katsu-2: #1b2a4a;
  --katsu-3: #10192e;
  --ivory: #faf8f5;
  --ivory-2: #f3efea;
  --paper: #fffdfb;
  --gold: #b8924a;
  --gold-2: #d4bc8a;
  --gold-deep: #8c6e32;
  --ink: #1a1c1e;
  --slate: #5a6270;
  --line: rgba(20, 33, 61, 0.1);
  --line-gold: rgba(184, 146, 74, 0.55);
  --header-h: 78px;
  --serif: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", "Songti SC", serif;
  --sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "WenQuanYi Micro Hei", "Droid Sans Fallback", sans-serif;
  --shadow: 0 24px 60px rgba(20, 33, 61, 0.08);
  --measure: 68ch;
}

html[lang="zh-Hans"] {
  --serif: "Noto Serif SC", "Songti SC", "Noto Serif CJK SC", "PMingLiU", serif;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "WenQuanYi Micro Hei", "Droid Sans Fallback", sans-serif;
}

html[lang="en"] {
  --serif: "Cormorant Garamond", "Noto Serif JP", "Palatino Linotype", "Times New Roman", serif;
  --sans: "Outfit", "Noto Sans JP", "Helvetica Neue", "WenQuanYi Micro Hei", "Droid Sans Fallback", sans-serif;
}

html[lang="ja"] {
  font-feature-settings: "palt" 1;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 14px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.75;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

html[lang="ja"] body,
html[lang="zh-Hans"] body { line-break: strict; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4, p, ul, ol, dl, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--gold); color: var(--katsu); }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 80;
  background: var(--gold);
  color: var(--katsu);
  padding: 8px 14px;
  font-weight: 600;
}
.skip:focus { top: 10px; }

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--gold-deep);
}

html[lang="en"] .eyebrow {
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

html[lang="zh-Hans"] .eyebrow { letter-spacing: 0.12em; }

.hero .eyebrow,
.plate .eyebrow,
.hotel-copy .eyebrow,
.contact .eyebrow { color: var(--gold-2); }

h1, h2, h3, .brand-name, .trust-v, .step-no, .pillar-no {
  font-family: var(--serif);
  font-weight: 600;
}

html[lang="en"] h1,
html[lang="en"] h2,
html[lang="en"] .brand-name {
  font-weight: 500;
}

h1 {
  font-size: clamp(2.35rem, 4.5vw, 4.15rem);
  line-height: 1.22;
  letter-spacing: 0.02em;
  color: var(--ivory);
}

html[lang="en"] h1 {
  line-height: 1.08;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  line-height: 1.28;
  letter-spacing: 0.03em;
  color: var(--katsu);
}

html[lang="en"] h2 {
  letter-spacing: -0.015em;
  line-height: 1.12;
}

h3 {
  font-size: 1.18rem;
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: var(--katsu);
}

.sec-head { max-width: 740px; margin-bottom: 36px; }
.sec-head h2 { margin-top: 8px; }
.sec-lead {
  margin-top: 14px;
  color: var(--slate);
  max-width: var(--measure);
}

.num, .trust-v, .plate-n, .phone-no {
  font-variant-numeric: tabular-nums lining-nums;
  font-family: var(--sans);
  font-weight: 600;
}

.inline-link {
  text-decoration: underline;
  text-decoration-color: rgba(184, 146, 74, 0.85);
  text-underline-offset: 3px;
}
.inline-link:hover { color: var(--gold-deep); }

/* Header -------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: saturate(1.15) blur(16px);
  border-bottom: 1px solid rgba(20, 33, 61, 0.06);
}

.site-header::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.nav-check {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.header-bar {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand img { width: 42px; height: 42px; }

.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-kana {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--slate);
}
.brand-name {
  font-size: 22px;
  letter-spacing: 0.12em;
  color: var(--katsu);
}

html[lang="en"] .brand-name { letter-spacing: 0.18em; font-size: 24px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav a {
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--katsu);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}
.site-nav a:hover { border-bottom-color: var(--gold); color: var(--gold-deep); }

.header-cluster {
  display: flex;
  align-items: center;
  gap: 10px;
}

.reg-badge {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  padding: 6px 10px;
  border: 1px solid var(--line-gold);
  background: rgba(184, 146, 74, 0.08);
  max-width: 168px;
}
.reg-badge small {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--gold-deep);
  font-weight: 600;
}
.reg-badge strong {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--katsu);
  font-weight: 600;
}
.reg-badge-menu { display: none; }

.lang {
  display: flex;
  border: 1px solid rgba(20, 33, 61, 0.16);
  background: var(--paper);
}
.lang a {
  padding: 7px 9px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--slate);
  border-right: 1px solid rgba(20, 33, 61, 0.1);
}
.lang a:last-child { border-right: 0; }
.lang a[aria-current="page"] {
  background: var(--katsu);
  color: var(--ivory);
}
.lang a:hover:not([aria-current="page"]) { color: var(--katsu); }
.lang-short { display: none; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--katsu);
  position: relative;
  transition: transform 0.2s ease;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.nav-check:focus-visible + .header-bar .nav-toggle {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.nav-check:checked + .header-bar .nav-toggle span { background: transparent; }
.nav-check:checked + .header-bar .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-check:checked + .header-bar .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* Hero ---------------------------------------------------- */

.hero {
  position: relative;
  color: var(--ivory);
  background:
    radial-gradient(ellipse at 12% 0%, rgba(184, 146, 74, 0.18), transparent 46%),
    radial-gradient(ellipse at 90% 80%, rgba(27, 42, 74, 0.2), transparent 42%),
    var(--katsu);
  overflow: hidden;
  min-height: calc(100svh - var(--header-h) - 128px);
  display: flex;
  align-items: center;
  padding: 42px 0 56px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    90deg,
    transparent 0,
    transparent 79px,
    rgba(184, 146, 74, 0.09) 80px
  );
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 92px;
  background: url("../seigaiha.svg") repeat-x bottom left / 180px 90px;
  opacity: 0.55;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.lede {
  margin-top: 18px;
  max-width: 42rem;
  color: rgba(250, 248, 245, 0.86);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(184, 146, 74, 0.35);
}
.hero-meta dt {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--gold-2);
}
.hero-meta dd {
  margin: 2px 0 0;
  font-size: 15px;
  color: var(--ivory);
}

.hero-art {
  position: relative;
  justify-self: end;
  width: min(100%, 420px);
}
.hero-art img {
  width: 100%;
  border: 1px solid rgba(184, 146, 74, 0.45);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
}
.vert {
  position: absolute;
  top: 22px;
  right: 16px;
  margin: 0;
  writing-mode: vertical-rl;
  font-family: var(--serif);
  letter-spacing: 0.45em;
  color: var(--gold-2);
  font-size: 15px;
  text-shadow: 0 0 12px rgba(20, 33, 61, 0.85);
}
html[lang="en"] .vert { letter-spacing: 0.28em; font-size: 13px; }

/* Buttons ------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn svg { width: 16px; height: 16px; }
.btn-gold { background: var(--gold); color: var(--katsu); }
.btn-gold:hover { background: #c6a45e; }
.btn-ghost {
  background: transparent;
  color: var(--ivory);
  border-color: rgba(250, 248, 245, 0.5);
}
.btn-ghost:hover { border-color: var(--gold-2); color: var(--gold-2); }
.btn-ink { background: var(--katsu); color: var(--ivory); }
.btn-ink:hover { background: var(--katsu-2); }
.btn-line {
  background: transparent;
  color: var(--katsu);
  border-color: rgba(20, 33, 61, 0.35);
}
.btn-line:hover { border-color: var(--gold); color: var(--gold-deep); }
.btn-block { width: 100%; }

/* Trust --------------------------------------------------- */

.trust { position: relative; z-index: 2; margin-top: -28px; padding-bottom: 10px; }
.trust-card {
  background: var(--paper);
  border: 1px solid rgba(20, 33, 61, 0.08);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust-card li {
  padding: 18px 16px 16px;
  border-right: 1px solid var(--line);
  min-width: 0;
}
.trust-card li:last-child { border-right: 0; }
.trust-k {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--gold-deep);
  font-weight: 600;
}
.trust-v {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  color: var(--katsu);
  overflow-wrap: anywhere;
  line-height: 1.45;
}
.trust-v a,
.plate a {
  text-decoration: underline;
  text-decoration-color: rgba(184, 146, 74, 0.8);
  text-underline-offset: 3px;
}
.plate a { color: inherit; text-decoration-color: rgba(212, 188, 138, 0.75); }
.trust-s {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--slate);
}

/* Sections ------------------------------------------------ */

.section { padding: 88px 0; }
.section-alt { background: var(--ivory-2); }

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.pillar {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 22px 18px 18px;
  background: var(--paper);
  border: 1px solid rgba(20, 33, 61, 0.08);
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.pillar::before,
.pillar::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--gold);
  border-style: solid;
  opacity: 0.85;
}
.pillar::before { top: 6px; left: 6px; border-width: 1px 0 0 1px; }
.pillar::after { right: 6px; bottom: 6px; border-width: 0 1px 1px 0; }
.pillar:hover { transform: translateY(-4px); border-color: var(--gold); }
.pillar-no {
  font-size: 28px;
  color: var(--gold);
  letter-spacing: 0.06em;
}
.pillar h3 { margin-top: 12px; font-size: 1.12rem; }
.pillar p { margin-top: 10px; color: var(--slate); font-size: 0.95rem; flex: 1; }
.pillar-more {
  margin-top: 16px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--gold-deep);
  font-weight: 600;
}

/* Practice / tabs ----------------------------------------- */

.tabrow,
.tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tabrow { margin-bottom: 18px; align-items: stretch; }
.tab {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 8px 14px;
  border: 1px solid rgba(20, 33, 61, 0.16);
  background: transparent;
  color: var(--katsu);
  font-size: 14px;
  letter-spacing: 0.04em;
  text-align: left;
}
.tab:hover { border-color: var(--gold); }
.practice:not(:has(.anchor:target)) .tab[href="#support"],
.practice:has(#support:target) .tab[href="#support"],
.practice:has(#visa:target) .tab[href="#visa"],
.practice:has(#study:target) .tab[href="#study"] {
  background: var(--katsu);
  color: var(--ivory);
  border-color: var(--katsu);
}
.tab-jump { background: rgba(184, 146, 74, 0.12); border-color: var(--line-gold); }

.panel { display: none; }
.practice:not(:has(.anchor:target)) .panel[data-panel="support"],
.practice:has(#support:target) .panel[data-panel="support"],
.practice:has(#visa:target) .panel[data-panel="visa"],
.practice:has(#study:target) .panel[data-panel="study"] { display: block; }

.panel-card {
  background: var(--paper);
  border: 1px solid rgba(20, 33, 61, 0.08);
  padding: 28px 26px 26px;
}
.panel-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
}
.panel p + p { margin-top: 12px; }
.muted { color: var(--slate); }

.icon-list { display: grid; gap: 10px; }
.icon-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 10px;
  align-items: start;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.icon-list li:last-child { border-bottom: 0; }
.item-no {
  font-family: var(--serif);
  color: var(--gold);
  font-size: 18px;
  line-height: 1.4;
}
.icon-list strong { display: block; color: var(--katsu); font-weight: 600; }
.icon-list span { display: block; color: var(--slate); font-size: 0.94rem; }

.callout {
  margin-top: 18px;
  padding: 14px 16px;
  border-left: 3px solid var(--gold);
  background: var(--ivory-2);
  color: var(--ink);
  font-size: 0.96rem;
}
.callout strong { color: var(--katsu); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chips li {
  border: 1px solid rgba(20, 33, 61, 0.12);
  padding: 7px 10px;
  font-size: 13.5px;
  background: var(--ivory);
  color: var(--katsu);
}

.mini-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 16px;
}
.mini-steps li {
  padding: 12px;
  background: var(--ivory);
  border-top: 2px solid var(--gold);
}
.mini-steps strong { display: block; font-size: 14px; color: var(--katsu); }
.mini-steps span { display: block; margin-top: 4px; color: var(--slate); font-size: 13px; }

.apply-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}
.apply-grid article {
  padding: 14px;
  border: 1px solid var(--line);
}
.apply-grid h3 { font-size: 1rem; }
.apply-grid p { margin-top: 6px; color: var(--slate); font-size: 0.92rem; }

/* Hotel --------------------------------------------------- */

.hotel-wrap {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  background: var(--paper);
  border: 1px solid rgba(20, 33, 61, 0.08);
  box-shadow: var(--shadow);
}
.hotel-visual {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(184, 146, 74, 0.16), transparent 55%),
    var(--katsu);
  color: var(--ivory);
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hotel-visual img {
  border: 1px solid rgba(184, 146, 74, 0.4);
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  object-position: center 18%;
}
.hotel-visual h2 { color: var(--ivory); }
.plate {
  border: 1px solid var(--line-gold);
  padding: 12px 14px;
  background: rgba(250, 248, 245, 0.04);
}
.plate-k {
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--gold-2);
}
.plate-n {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  letter-spacing: 0.03em;
  overflow-wrap: anywhere;
}
.plate-d { display: block; margin-top: 4px; color: rgba(250, 248, 245, 0.75); font-size: 13px; }

.hotel-copy { padding: 32px 28px 28px; }
.hotel-copy h2 { margin-top: 8px; }
.hotel-copy .lede-ink {
  margin-top: 14px;
  color: var(--slate);
  max-width: 62ch;
}

.times {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 18px 0;
}
.times div {
  padding: 12px 14px;
  background: var(--ivory);
  border-top: 2px solid var(--gold);
}
.times dt { font-size: 12px; letter-spacing: 0.12em; color: var(--gold-deep); }
.times dd { margin: 4px 0 0; font-size: 1.35rem; font-family: var(--serif); color: var(--katsu); }

.room-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.room {
  padding: 14px;
  border: 1px solid var(--line);
}
.room h3 { font-size: 1.02rem; }
.room p { margin-top: 6px; color: var(--slate); font-size: 0.92rem; }

.amen-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.amen-list li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  background: var(--ivory-2);
  font-size: 13px;
  color: var(--katsu);
}
.amen-list svg { width: 16px; height: 16px; color: var(--gold-deep); }

.access-diagram {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  align-items: stretch;
}
.node {
  border: 1px solid rgba(20, 33, 61, 0.14);
  padding: 12px;
  background: var(--ivory);
}
.node-kicker { display: block; font-size: 11px; letter-spacing: 0.08em; color: var(--slate); }
.node strong { display: block; margin-top: 2px; color: var(--katsu); font-size: 1.02rem; }
.node span:last-child { display: block; color: var(--slate); font-size: 13px; }
.node-goal { background: var(--katsu); color: var(--ivory); border-color: var(--katsu); }
.node-goal strong, .node-goal .node-kicker, .node-goal span { color: var(--ivory); }
.node-goal .node-kicker { color: var(--gold-2); }
.walk {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  gap: 6px;
}
.walk-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.walk-time {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--gold-deep);
  font-weight: 600;
}
.nearby {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.nearby li {
  font-size: 13px;
  padding: 4px 8px;
  border: 1px solid var(--line);
  color: var(--katsu);
}
.nearby-note { margin-top: 8px; color: var(--slate); font-size: 0.92rem; }

.book-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

/* Flow ---------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  list-style: none;
}
.steps li {
  padding: 18px 14px 16px;
  background: var(--paper);
  border: 1px solid rgba(20, 33, 61, 0.08);
  position: relative;
}
.step-no {
  color: var(--gold);
  font-size: 26px;
  letter-spacing: 0.04em;
}
.steps h3 { margin-top: 8px; font-size: 1.05rem; }
.steps p { margin-top: 8px; color: var(--slate); font-size: 0.94rem; }

.path-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}
.path-grid article {
  padding: 16px;
  border-top: 2px solid var(--gold);
  background: rgba(255, 253, 251, 0.7);
}
.path-grid h3 { font-size: 1rem; }
.path-grid p { margin-top: 6px; color: var(--slate); font-size: 0.94rem; }

.lang-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.lang-grid li {
  padding: 16px 10px;
  text-align: center;
  background: var(--katsu);
  color: var(--ivory);
}
.lang-grid strong { display: block; font-family: var(--serif); font-size: 1.2rem; font-weight: 600; }
.lang-grid span { display: block; margin-top: 4px; color: var(--gold-2); font-size: 12px; letter-spacing: 0.06em; }

/* FAQ ----------------------------------------------------- */

.faq-list { display: grid; gap: 8px; }
.faq-item {
  background: var(--paper);
  border: 1px solid rgba(20, 33, 61, 0.08);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  font-weight: 600;
  color: var(--katsu);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  background:
    linear-gradient(var(--katsu), var(--katsu)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--katsu), var(--katsu)) center / 1.5px 12px no-repeat;
}
.faq-item[open] summary::after {
  background: linear-gradient(var(--gold-deep), var(--gold-deep)) center / 12px 1.5px no-repeat;
}
.faq-body { padding: 0 18px 16px; color: var(--slate); max-width: 78ch; }
.faq-body p + p { margin-top: 8px; }

/* Company ------------------------------------------------- */

.company-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  align-items: start;
}
.profile {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  border: 1px solid rgba(20, 33, 61, 0.08);
}
.profile th,
.profile td {
  text-align: left;
  vertical-align: top;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  font-weight: 400;
}
.profile th {
  width: 34%;
  color: var(--slate);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: rgba(243, 239, 234, 0.55);
}
.profile tr:last-child th,
.profile tr:last-child td { border-bottom: 0; }
.profile a { text-decoration: underline; text-decoration-color: rgba(184, 146, 74, 0.85); text-underline-offset: 3px; }

.map-card {
  background: var(--paper);
  border: 1px solid rgba(20, 33, 61, 0.08);
  overflow: hidden;
}
.map-frame {
  width: 100%;
  height: 320px;
  border: 0;
  background:
    linear-gradient(180deg, rgba(20, 33, 61, 0.04), rgba(20, 33, 61, 0.02)),
    var(--ivory-2);
}
.map-caption { padding: 14px 16px 16px; }
.map-caption h3 { font-size: 1.05rem; }
.map-caption p { margin-top: 6px; color: var(--slate); font-size: 0.95rem; }

/* Contact ------------------------------------------------- */

.contact {
  background:
    radial-gradient(ellipse at 0% 0%, rgba(184, 146, 74, 0.18), transparent 42%),
    var(--katsu);
  color: var(--ivory);
}
.contact h2 { color: var(--ivory); }
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
}
.contact-side p { color: rgba(250, 248, 245, 0.82); margin-top: 12px; }
.phone-block { margin-top: 18px; display: grid; gap: 10px; }
.phone-block a.phone-link {
  display: flex;
  flex-direction: column;
  padding: 12px 14px;
  border: 1px solid rgba(184, 146, 74, 0.45);
}
.phone-link span { font-size: 12px; letter-spacing: 0.1em; color: var(--gold-2); }
.phone-link strong { font-size: 1.25rem; letter-spacing: 0.03em; }
.phone-link small { color: rgba(250, 248, 245, 0.7); font-size: 12px; }

.inquiry {
  background: var(--paper);
  color: var(--ink);
  padding: 22px;
  border: 1px solid rgba(250, 248, 245, 0.2);
}
.inquiry legend {
  padding: 0;
  font-weight: 600;
  color: var(--katsu);
  margin-bottom: 8px;
}
.choice-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
.choice {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 64px;
  padding: 8px;
  border: 1px solid rgba(20, 33, 61, 0.14);
  font-size: 13px;
  line-height: 1.35;
  color: var(--katsu);
  cursor: pointer;
}
.choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.choice:has(input:checked) {
  border-color: var(--gold);
  background: #f7f1e6;
  box-shadow: inset 0 0 0 1px var(--gold);
}
.choice:focus-within { outline: 2px solid var(--gold); outline-offset: 2px; }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field { display: flex; flex-direction: column; gap: 4px; }
.field-wide { grid-column: 1 / -1; }
.field span { font-size: 12px; letter-spacing: 0.06em; color: var(--slate); }
.field input,
.field select,
.field textarea {
  width: 100%;
  background: #fff;
  border: 1px solid #e4ddd2;
  border-radius: 0;
  padding: 12px;
  font-size: 16px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { border-color: var(--gold); }

.hotel-note {
  margin: 12px 0;
  padding: 10px 12px;
  background: var(--ivory-2);
  border-left: 3px solid var(--gold);
  color: var(--katsu);
  font-size: 0.95rem;
}

.preview-label {
  margin-top: 14px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--slate);
}
.preview {
  margin-top: 6px;
  padding: 12px;
  background: var(--katsu);
  color: var(--ivory);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 12.5px;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
  min-height: 160px;
}
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.form-note { margin-top: 8px; color: var(--slate); font-size: 13px; }

/* Footer -------------------------------------------------- */

.site-footer {
  background: var(--katsu-3);
  color: rgba(250, 248, 245, 0.82);
  padding: 48px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 24px;
}
.site-footer h2 {
  color: var(--ivory);
  font-size: 1.15rem;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0.08em;
}
.site-footer p { margin-top: 10px; font-size: 0.92rem; }
.site-footer a { text-decoration: underline; text-decoration-color: rgba(184, 146, 74, 0.7); text-underline-offset: 3px; }
.footer-brand { display: flex; gap: 10px; align-items: center; }
.footer-brand img { width: 36px; height: 36px; }
.footer-brand strong {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: 0.12em;
  color: var(--ivory);
  font-weight: 600;
}
.legal-list { margin-top: 8px; display: grid; gap: 10px; font-size: 0.92rem; }
.legal-list li span:first-child {
  display: block;
  color: var(--gold-2);
  font-size: 11px;
  letter-spacing: 0.08em;
}
.footer-bottom {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(184, 146, 74, 0.25);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(250, 248, 245, 0.62);
}
.footer .lang a { color: var(--slate); }
.site-footer .lang { background: transparent; border-color: rgba(250, 248, 245, 0.25); }
.site-footer .lang a {
  color: rgba(250, 248, 245, 0.8);
  text-decoration: none;
  border-right-color: rgba(250, 248, 245, 0.15);
}
.site-footer .lang a[aria-current="page"] { background: var(--gold); color: var(--katsu); }

.anchor { position: relative; display: block; height: 0; overflow: hidden; }

/* Responsive ---------------------------------------------- */

@media (max-width: 1120px) {
  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    z-index: 40;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 8px 16px;
    background: var(--ivory);
    border-bottom: 1px solid var(--line-gold);
  }
  .nav-check:checked + .header-bar .site-nav { display: flex; }
  .site-nav a {
    padding: 12px 10px;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }
  .nav-toggle { display: inline-flex; }
  .header-cluster .reg-badge { display: none; }
  .reg-badge-menu {
    display: flex;
    max-width: none;
    margin: 4px 10px 8px;
  }
  .pillar-grid { grid-template-columns: 1fr 1fr; }
  .panel-grid,
  .hotel-wrap,
  .company-grid,
  .contact-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .mini-steps,
  .steps,
  .lang-grid { grid-template-columns: 1fr 1fr; }
  .choice-grid { grid-template-columns: 1fr 1fr; }
  .choice:last-child { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .hero {
    min-height: 0;
    padding: 28px 0 48px;
  }
  .hero-inner { grid-template-columns: 1fr; gap: 22px; }
  .hero-art { order: 2; width: min(100%, 360px); justify-self: start; }
  .vert { right: 8px; }
  .trust-card,
  .apply-grid,
  .path-grid { grid-template-columns: 1fr 1fr; }
  .trust-card li:nth-child(odd) { border-right: 1px solid var(--line); }
  .trust-card li:nth-child(2) { border-right: 0; }
  .trust-card li:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .section { padding: 56px 0; }
  .fields { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container, .hero-inner { width: min(1120px, calc(100% - 32px)); }
  .brand-kana { display: none; }
  .lang a { padding: 7px 7px; }
  .lang-full { display: none; }
  .lang-short { display: inline; }
  .pillar-grid,
  .trust-card,
  .steps,
  .mini-steps,
  .lang-grid,
  .room-grid,
  .apply-grid,
  .path-grid,
  .choice-grid { grid-template-columns: 1fr; }
  .choice:last-child { grid-column: auto; }
  .trust-card li { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .access-diagram { grid-template-columns: 1fr; }
  .walk { min-height: 42px; }
  .walk-line { width: 1px; height: 22px; background: linear-gradient(180deg, transparent, var(--gold), transparent); }
  .profile th, .profile td { display: block; width: 100%; }
  .profile th { padding-bottom: 0; background: transparent; color: var(--gold-deep); }
  .profile tr { border-bottom: 1px solid var(--line); }
  .profile tr:last-child { border-bottom: 0; }
  .times { grid-template-columns: 1fr; }
  .hero-art { width: 100%; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media print {
  .site-header, .hero-actions, .form-actions, .nav-toggle, .lang, .book-row { display: none !important; }
  .hero, .contact, .site-footer, .lang-grid li, .node-goal {
    background: #fff !important;
    color: #000 !important;
  }
  h1, h2, .hero, .contact h2 { color: #000 !important; }
  .panel { display: block !important; page-break-inside: avoid; }
  .faq-body { display: block !important; }
  body { background: #fff; }
}
