/* The approved editorial welcome only. The concierge's conversation shell,
   menu behavior and visual-viewport/keyboard layout remain in style.css. */
.editorial-wordmark { display: none; }
body:not(.conversation) main:has(#welcome.home-editorial:not([hidden])) {
  --ed-forest: #17231d;
  --ed-dark: #101d17;
  --ed-ivory: #f4efe4;
  --ed-purple: #65458b;
  --ed-muted: #515b4e;
  --ed-lavender: #cbb0fa;
  --ed-rule: rgb(81 91 78 / 40%);
  --ed-rule-dark: rgb(203 176 250 / 31%);
  --ed-gutter: clamp(20px, 5.6vw, 48px);
  background: var(--ed-forest);
  color: var(--ed-ivory);
}

body:not(.conversation) main:has(#welcome.home-editorial:not([hidden])) > header {
  min-height: 56px;
  padding: max(5px, env(safe-area-inset-top)) var(--ed-gutter) 5px;
  gap: .45rem;
  justify-content: flex-end;
  background: var(--ed-forest);
  border-top: 3px solid var(--ed-lavender);
  border-bottom: 0;
}
body:not(.conversation) main:has(#welcome.home-editorial:not([hidden])) > header .editorial-wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-inline-end: auto;
  color: var(--ed-lavender);
  font-size: clamp(1rem, 5vw, 1.4rem);
  font-weight: 850;
  letter-spacing: .04em;
  line-height: 1.05;
  white-space: nowrap;
}
body:not(.conversation) main:has(#welcome.home-editorial:not([hidden])) > header .editorial-wordmark img {
  display: block;
  width: clamp(108px, 40vw, 172px);
  height: auto;
}
/* Keep the supplied wordmark; the purple rule and controls carry the accent. */
@supports (mask-image: url("/assets/utage-wordmark.svg?v=14")) {
  body:not(.conversation) main:has(#welcome.home-editorial:not([hidden])) > header .editorial-wordmark {
    position: relative;
  }
  body:not(.conversation) main:has(#welcome.home-editorial:not([hidden])) > header .editorial-wordmark img { opacity: 0; }
  body:not(.conversation) main:has(#welcome.home-editorial:not([hidden])) > header .editorial-wordmark::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: #fff;
    mask: url("/assets/utage-wordmark.svg?v=14") center / contain no-repeat;
  }
}
body:not(.conversation) main:has(#welcome.home-editorial:not([hidden])) > header .language-switch {
  background: none;
  border: 0;
  padding: 0;
  border-radius: 0;
  gap: 0;
}
body:not(.conversation) main:has(#welcome.home-editorial:not([hidden])) > header .language-switch button {
  min-height: 44px;
  min-width: 44px;
  padding: 4px 6px;
  color: var(--ed-ivory);
  border-radius: 3px;
  background: none;
  font-size: .875rem;
}
body:not(.conversation) main:has(#welcome.home-editorial:not([hidden])) > header .language-switch button[aria-pressed="true"] {
  color: var(--ed-lavender);
  font-weight: 750;
}
body:not(.conversation) main:has(#welcome.home-editorial:not([hidden])) > header #menu {
  color: var(--ed-ivory);
}
body:not(.conversation) main:has(#welcome.home-editorial:not([hidden])) > header .home-pill { display: none; }
body:not(.conversation) main:has(#welcome.home-editorial:not([hidden])) > .main-body {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

#welcome.home-editorial[hidden] { display: none; }
#welcome.home-editorial .ed-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
#welcome.home-editorial:not([hidden]) {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  text-align: left;
}
#welcome.home-editorial .ed-wrap {
  width: min(100%, 1140px);
  margin-inline: auto;
  padding-inline: var(--ed-gutter);
  min-width: 0;
}
#welcome.home-editorial #resume[hidden] { display: none; }
#welcome.home-editorial :is(a, button) {
  touch-action: manipulation;
}
#welcome.home-editorial :is(a, button, textarea):focus-visible,
body:not(.conversation) main:has(#welcome.home-editorial:not([hidden])) > header :is(a, button):focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
#welcome.home-editorial .ed-hero {
  background: var(--ed-ivory);
  color: var(--ed-dark);
}
#welcome.home-editorial .ed-hero .ed-wrap {
  padding-block: clamp(17px, 3.6vw, 41px) clamp(17px, 4vw, 38px);
}
#welcome.home-editorial .home-location,
#welcome.home-editorial .ed-label {
  margin: 0 0 .65rem;
  font-size: .8125rem;
  font-weight: 800;
  letter-spacing: .21em;
  line-height: 1.4;
}
#welcome.home-editorial .ed-experience .ed-label { color: var(--ed-lavender); }
#welcome.home-editorial .home-location { color: var(--ed-purple); border-bottom: 1px solid #d6cbbf; padding-bottom: .66rem; margin-bottom: 1rem; font-size: .72rem; letter-spacing: .15em; }
#welcome.home-editorial .outdoor-promise {
  display: block;
  position: static;
  min-height: 0;
  max-width: 16ch;
  margin: 0 0 .6rem;
  color: inherit;
  -webkit-text-fill-color: currentColor;
  font: 700 clamp(2.22rem, 10vw, 4.85rem)/1.12 "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", "Noto Serif CJK JP", Georgia, serif;
  letter-spacing: .015em;
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
#welcome.home-editorial .outdoor-promise span { display: block; }
html[lang="ja"] #welcome.home-editorial .outdoor-promise span:last-child { font-size: 1.18em; }
#welcome.home-editorial .descriptor,
#welcome.home-editorial .outdoor-status {
  display: block;
  margin: 0;
  color: var(--ed-dark);
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
}
#welcome.home-editorial .descriptor { font-size: 1.0625rem; font-weight: 700; line-height: 1.45; }
#welcome.home-editorial .outdoor-status { margin-top: .32rem; color: var(--ed-muted); font-size: .875rem; line-height: 1.45; }
#welcome.home-editorial .ed-lake { width: min(100%, 1140px); margin: 0 auto; padding-inline: var(--ed-gutter); background: transparent; }
#welcome.home-editorial .ed-lake img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 380/233;
  object-fit: cover;
  object-position: center;
  max-height: min(55vh, 520px);
}
#welcome.home-editorial .ed-lake figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .12rem 1rem;
  width: min(100%, 1140px);
  margin: 0 auto;
  padding: .42rem 0 .16rem;
  color: var(--ed-muted);
  font-size: .75rem;
  line-height: 1.45;
}
#welcome.home-editorial .ed-lake figcaption a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: .16em;
  overflow-wrap: anywhere;
}

#welcome.home-editorial :is(.ed-stay, .ed-concierge, .ed-footer) {
  background: var(--ed-ivory);
  color: var(--ed-dark);
  color-scheme: light;
}
#welcome.home-editorial .ed-stay .ed-wrap { padding-block: clamp(16px, 4.2vw, 44px) clamp(18px, 5vw, 44px); }
#welcome.home-editorial :is(.ed-stay, .ed-concierge) .ed-label { color: var(--ed-purple); }
#welcome.home-editorial .home-stay-rate {
  display: block;
  width: 100%;
  margin: 0;
  padding: .85rem .95rem .8rem;
  border: 0;
  border-top: 2px solid var(--ed-purple);
  background: #fbf8f0;
  text-align: left;
}
#welcome.home-editorial .stay-rate-copy { display: block; }
#welcome.home-editorial .stay-rate-copy > p:first-child {
  margin: 0 0 .36rem;
  color: var(--ed-purple);
  font-size: .875rem;
  font-weight: 750;
  line-height: 1.45;
}
#welcome.home-editorial .stay-rate-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .2rem .7rem;
  min-width: 0;
  margin: 0;
}
#welcome.home-editorial .stay-rate-line strong {
  color: var(--ed-dark);
  font: 600 clamp(2.35rem, 10.2vw, 3.45rem)/1 Georgia, "Yu Mincho", serif;
  font-variant-numeric: lining-nums tabular-nums;
  white-space: normal;
}
#welcome.home-editorial .stay-rate-line .ed-currency {
  color: var(--ed-dark);
  font-size: clamp(.95rem, 3.3vw, 1.3rem);
  font-weight: 700;
  white-space: nowrap;
}
#welcome.home-editorial .home-stay-rate small,
#welcome.home-editorial .stay-rate-unit {
  color: var(--ed-muted);
  font-size: .875rem;
  line-height: 1.45;
}
#welcome.home-editorial .stay-rate-unit { margin: .5rem 0 .12rem; }
#welcome.home-editorial :is(.ed-primary, .ed-villa-cta, .ed-secondary) {
  display: flex;
  align-items: center;
  min-height: 48px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
#welcome.home-editorial .ed-secondary { justify-content: center; padding: .62rem .82rem; border: 1px solid transparent; text-align: center; }
#welcome.home-editorial .home-stay-rate a.ed-primary {
  width: 100%; margin-top: .78rem; padding: .5rem .75rem;
  background: var(--ed-purple); color: #fff;
}
#welcome.home-editorial .home-stay-rate a.ed-primary:hover { background: var(--ed-dark); }
#welcome.home-editorial .home-stay-rate a.ed-primary:focus-visible { outline-color: var(--ed-purple); }
#welcome.home-editorial .ed-villa-cta {
  margin-top: .24rem; padding: .45rem .95rem;
  color: var(--ed-purple); background: transparent;
  font-size: .95rem; font-weight: 650;
}
#welcome.home-editorial .ed-villa-cta:hover { text-decoration: underline; text-underline-offset: .18em; }
#welcome.home-editorial :is(.ed-primary,.ed-villa-cta)::after,
#welcome.home-editorial .ed-guide-links a::after { content: "→"; content: "→" / ""; flex: none; margin-inline-start: auto; padding-inline-start: .45rem; }
#welcome.home-editorial .ed-guide-links a::after { margin-inline-start: 0; color: var(--ed-purple); }
#welcome.home-editorial .ed-villa-cta:focus-visible,
#welcome.home-editorial .ed-concierge :is(button, textarea):focus-visible { outline-color: var(--ed-purple); }
#welcome.home-editorial .ed-guide { padding-top: 1.42rem; }

#welcome.home-editorial :is(.ed-guide, .ed-experience, .ed-concierge) h2 {
  display: block;
  min-height: 0;
  max-width: none;
  margin: 0 0 .35rem;
  color: inherit;
  font: 750 clamp(1.52rem, 5.6vw, 2.55rem)/1.24 "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", "Noto Serif CJK JP", Georgia, serif;
  letter-spacing: .01em;
  overflow-wrap: anywhere;
}
#welcome.home-editorial :is(.ed-guide, .ed-experience, .ed-concierge) h2 + p {
  margin: 0 0 1rem;
  color: var(--ed-muted);
  font-size: 1.0625rem;
  line-height: 1.5;
}
#welcome.home-editorial .ed-guide-links {
  display: grid;
  gap: 0;
  border-block-start: 1px solid var(--ed-rule);
}
/* These navigation labels are text, not the sidebar's fixed-size icon spans. */
#welcome.home-editorial .ed-guide-links > a > span {
  width: auto;
  height: auto;
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}
#welcome.home-editorial .ed-guide-links > a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .2rem .55rem;
  height: auto;
  min-height: 47px;
  border-radius: 0;
  padding: .55rem 0;
  border-bottom: 1px solid var(--ed-rule);
  color: var(--ed-dark);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.4;
}
#welcome.home-editorial .ed-guide-links a:hover { color: var(--ed-purple); text-decoration: underline; }

#welcome.home-editorial .ed-experience {
  background: var(--ed-forest);
  color: var(--ed-ivory);
}
#welcome.home-editorial .ed-experience .ed-wrap,
#welcome.home-editorial .ed-concierge .ed-wrap { padding-block: clamp(22px, 6vw, 48px); }
#welcome.home-editorial .ed-experience h2 + p { color: var(--ed-ivory); }
#welcome.home-editorial .ed-activities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 .78rem;
  margin-block: .3rem 1.15rem;
}
#welcome.home-editorial .ed-activities button {
  display: flex;
  align-items: center;
  gap: .45rem;
  min-width: 0;
  min-height: 60px;
  padding: .55rem .15rem;
  border-block-start: 1px solid var(--ed-rule-dark);
  border-radius: 0;
  color: var(--ed-ivory);
  text-align: start;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
#welcome.home-editorial .ed-activities button:nth-last-child(-n + 2) { border-block-end: 1px solid var(--ed-rule-dark); }
#welcome.home-editorial .ed-activities button:hover { color: var(--ed-lavender); text-decoration: underline; }
#welcome.home-editorial .ed-activities button svg {
  flex: 0 0 1.3rem;
  width: 1.3rem;
  height: 1.3rem;
  color: var(--ed-lavender);
}
#welcome.home-editorial .ed-secondary {
  color: var(--ed-lavender);
  border-color: var(--ed-lavender);
}
#welcome.home-editorial .ed-secondary:hover { color: var(--ed-forest); background: var(--ed-lavender); }

#welcome.home-editorial #home-editorial-composer #input-area {
  width: 100%;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
}
#welcome.home-editorial #home-editorial-composer .composer-label {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
#welcome.home-editorial #home-editorial-composer #composer {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: .36rem .48rem .36rem .7rem;
  border: 1px solid var(--ed-purple);
  border-radius: 5px;
  background: var(--ed-ivory);
  box-shadow: none;
}
#welcome.home-editorial #home-editorial-composer #composer textarea {
  min-width: 0;
  color: var(--ed-dark);
  font-size: 1.0625rem;
  line-height: 1.5;
}
#welcome.home-editorial #home-editorial-composer #composer textarea::placeholder { color: var(--ed-muted); }
#welcome.home-editorial #home-editorial-composer #composer .send {
  min-width: 44px;
  min-height: 44px;
  color: var(--ed-ivory);
  background: var(--ed-purple);
  border-radius: 4px;
}
#welcome.home-editorial #home-editorial-composer #composer .send:hover { background: var(--ed-dark); }
#welcome.home-editorial #home-editorial-composer .helper { color: var(--ed-muted); }

#welcome.home-editorial .ed-footer {
  padding: 0;
  text-align: left;
}
#welcome.home-editorial .ed-footer .ed-wrap { padding-bottom: calc(1.4rem + env(safe-area-inset-bottom)); }
#welcome.home-editorial .ed-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: space-between;
  gap: 0 .65rem;
  border-block: 1px solid var(--ed-rule);
}
#welcome.home-editorial .ed-footer nav a,
#welcome.home-editorial .ed-footer a.ed-base {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--ed-dark);
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 700;
  overflow-wrap: anywhere;
}
#welcome.home-editorial .ed-base {
  display: grid;
  justify-items: start;
  gap: .25rem;
  padding-block: .3rem;
  margin-block: .5rem 1rem;
  color: var(--ed-dark);
}
#welcome.home-editorial .ed-base p,
#welcome.home-editorial .ed-base small {
  margin: 0;
  color: var(--ed-muted);
  font-size: 1rem;
  line-height: 1.45;
}
#welcome.home-editorial .ed-footer-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .4rem 1rem;
  color: var(--ed-dark);
  font-size: 1.125rem;
  font-weight: 800;
}
#welcome.home-editorial .ed-footer-brand small { color: var(--ed-muted); font-size: .875rem; font-weight: 600; }
#welcome.home-editorial #resume {
  min-height: 44px;
  margin-block: 1rem 0;
  position: static;
  color: var(--ed-ivory);
  background: var(--ed-purple);
}

@media (min-width: 761px) {
  #welcome.home-editorial .ed-hero {
    width: min(100%, 1140px);
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: stretch;
  }
  #welcome.home-editorial .ed-hero .ed-wrap {
    align-self: center;
    padding-block: clamp(32px, 7vh, 100px);
  }
  #welcome.home-editorial .ed-lake { display: flex; flex-direction: column; justify-content: center; padding-block: 1.8rem .4rem; padding-inline-start: 0; }
  #welcome.home-editorial .ed-lake img {
    min-height: 240px;
    max-height: 480px;
    height: auto;
    object-fit: cover;
  }
  #welcome.home-editorial .outdoor-promise { font-size: clamp(2.2rem, 5.25vw, 4.6rem); }
  #welcome.home-editorial .ed-guide { padding-top: 1.65rem; }
  #welcome.home-editorial .ed-activities { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  #welcome.home-editorial .ed-activities button { border-block-end: 1px solid var(--ed-rule-dark); }
}
@media (max-width: 360px) {
  body:not(.conversation) main:has(#welcome.home-editorial:not([hidden])) { --ed-gutter: 16px; }
  body:not(.conversation) main:has(#welcome.home-editorial:not([hidden])) > header { gap: .2rem; }
  body:not(.conversation) main:has(#welcome.home-editorial:not([hidden])) > header .editorial-wordmark img {
    width: min(37vw, 120px);
  }
  #welcome.home-editorial .ed-activities { column-gap: .5rem; }
}
/* Keep the mobile menu as the final header target, not over the wordmark. */
body:not(.conversation) main:has(#welcome.home-editorial:not([hidden])) > header #menu {
  position: static;
  inset: auto;
  flex: 0 0 44px;
}
#welcome.home-editorial #home-editorial-composer #input-area,
#welcome.home-editorial #home-editorial-composer #composer { position: static; }
#welcome.home-editorial .ed-footer a.ed-base { display: inline-grid; }
#welcome.home-editorial .stay-rate-line .ed-currency { margin-inline-start: .3em; }


/* The question field is part of the editorial page, never a homepage overlay. */
#welcome.home-editorial .ed-concierge .ed-wrap {
  padding-block: clamp(14px, 4vw, 30px) clamp(13px, 4vw, 27px);
}
#welcome.home-editorial .ed-ask-heading { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: baseline; gap: .2rem .6rem; margin-bottom: .52rem; }
#welcome.home-editorial .ed-ask-heading h2 { margin: 0; }
#welcome.home-editorial .ed-ask-heading > span { color: var(--ed-purple); font-size: .75rem; font-weight: 750; }
#welcome.home-editorial .ed-ask-hint { margin: .55rem 0 .28rem; color: var(--ed-muted); font-size: .75rem; }
#welcome.home-editorial .ed-ask-choices { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; }
#welcome.home-editorial .ed-ask-choices button { min-height: 44px; min-width: 0; background: #ede3f6; color: var(--ed-purple); border: 1px solid #d8c7e4; border-radius: 4px; padding: .3rem .2rem; font-size: .8rem; font-weight: 750; line-height: 1.4; overflow-wrap: anywhere; }
#welcome.home-editorial .ed-ask-choices button:hover { background: #e2d3ef; }
#welcome.home-editorial #home-editorial-composer #composer textarea { font-size: 1rem; }
#welcome.home-editorial .ed-stay .home-stay-rate { border-top: 1px solid var(--ed-rule); padding-inline: 0; background: transparent; }
@media (max-width: 760px) {
 #welcome.home-editorial .ed-hero .ed-wrap { padding-block: 19px 17px; }
 #welcome.home-editorial .outdoor-promise { font-size: clamp(2.05rem, 8.9vw, 3.35rem); line-height: 1.14; margin-bottom: .55rem; }
 #welcome.home-editorial .outdoor-status { font-size: .77rem; }
 #welcome.home-editorial .ed-lake { width: 100%; padding-inline: 0; }
 #welcome.home-editorial .ed-lake img { aspect-ratio: 430 / 147; max-height: min(24vh, 195px); }
 #welcome.home-editorial .ed-lake figcaption { background: var(--ed-forest); color: var(--ed-ivory); padding: .38rem var(--ed-gutter); font-size: .67rem; }
}

@media (max-width: 360px) {
 #welcome.home-editorial .ed-ask-choices { grid-template-columns: minmax(0,.95fr) minmax(0,1.1fr) minmax(0,.95fr); }
 #welcome.home-editorial .ed-ask-choices button { font-size: .75rem; }
}
