/* ABC stay guide — isolated styles. Load after theme style.css. */
body.abc-stay-page { margin:0; background:#f8faf9; color:#25343b; }
body.abc-stay-page .abc-stay-main { box-sizing:border-box; width:100%; max-width:100%; min-width:0; min-height:100vh; padding:48px 20px 80px; }
#abc-stay-guide { box-sizing:border-box; width:100%; max-width:880px; min-width:0; margin:0 auto; color:#24343b; font-family:-apple-system,BlinkMacSystemFont,"Noto Sans JP",sans-serif; font-size:16px; line-height:1.85; overflow-wrap:anywhere; }
#abc-stay-guide *, #abc-stay-guide *::before, #abc-stay-guide *::after { box-sizing:border-box; }
#abc-stay-guide img { display:block; width:auto; max-width:100%; height:auto; min-width:0; object-fit:contain; }
#abc-stay-guide figure { max-width:100%; min-width:0; }
#abc-stay-guide [lang="en"] { display:none; }
#abc-stay-guide.abc-show-en [lang="ja"] { display:none; }
#abc-stay-guide.abc-show-en [lang="en"] { display:block; }
#abc-stay-guide.abc-show-en span[lang="en"] { display:inline; }
#abc-stay-guide.abc-show-en span[lang="ja"] { display:none; }
#abc-stay-guide .abc-lang { display:flex; flex-wrap:wrap; gap:8px; justify-content:flex-end; margin-bottom:18px; }
#abc-stay-guide button { font:inherit; cursor:pointer; max-width:100%; }
#abc-stay-guide .abc-lang button { padding:7px 18px; border:1px solid #bed0d1; border-radius:30px; background:#fff; color:#23454c; }
#abc-stay-guide .abc-lang button[aria-pressed="true"] { background:#23454c; color:#fff; }
#abc-stay-guide .abc-hero { padding:35px 28px 30px; border-radius:16px; background:#eaf2ee; text-align:center; }
#abc-stay-guide .abc-eyebrow { font-size:12px; letter-spacing:.16em; font-weight:700; margin:0 0 10px; }
#abc-stay-guide .abc-hero h1 { font-size:clamp(26px,5vw,40px); line-height:1.3; margin:0 0 12px; }
#abc-stay-guide p, #abc-stay-guide .abc-intro { margin:0 0 14px; white-space:normal; }
#abc-stay-guide p:last-child { margin-bottom:0; }
#abc-stay-guide .abc-times { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:18px 0 30px; }
#abc-stay-guide .abc-time { min-width:0; border:1px solid #dce5e3; background:#fff; padding:15px; border-radius:12px; text-align:center; }
#abc-stay-guide .abc-time small { display:block; font-size:11px; letter-spacing:.12em; }
#abc-stay-guide .abc-time strong { display:block; font-size:27px; line-height:1.5; }
#abc-stay-guide .abc-section { min-width:0; margin:0 0 38px; }
#abc-stay-guide .abc-section>h2 { font-size:clamp(21px,4vw,26px); border-left:5px solid #4b7774; padding:0 0 0 13px; line-height:1.5; margin:0 0 16px; }
#abc-stay-guide .abc-card, #abc-stay-guide .abc-accordion { min-width:0; max-width:100%; border:1px solid #dbe4e2; background:#fff; border-radius:14px; margin:0 0 14px; overflow:hidden; box-shadow:0 2px 8px rgba(0,0,0,.025); }
#abc-stay-guide .abc-card { padding:22px; }
#abc-stay-guide .abc-card h3 { font-size:19px; line-height:1.5; margin:0 0 13px; }
#abc-stay-guide .abc-note { font-size:14px; color:#52666b; margin-top:12px; }
#abc-stay-guide strong { font-weight:700; }
#abc-stay-guide .abc-wifi { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin:12px 0; }
#abc-stay-guide .abc-field { min-width:0; background:#f4f7f6; padding:12px; border-radius:9px; }
#abc-stay-guide .abc-field small { display:block; font-size:12px; color:#53666a; }
#abc-stay-guide .abc-field strong { display:block; font-size:17px; word-break:break-word; }
#abc-stay-guide .abc-copy { font-size:13px; background:#24454a; color:#fff; border:0; border-radius:7px; padding:5px 10px; margin-top:7px; }
#abc-stay-guide .abc-list { padding-left:24px; margin:8px 0 15px; }
#abc-stay-guide .abc-list li { margin:0 0 8px; padding-left:4px; }
#abc-stay-guide .abc-device { display:flex; align-items:flex-start; gap:14px; min-width:0; }
#abc-stay-guide .abc-device-icon { font-size:25px; flex:none; }
#abc-stay-guide .abc-device-body { min-width:0; flex:1; }
#abc-stay-guide .abc-guide-figure { margin:18px 0 8px; width:100%; max-width:100%; min-width:0; }
#abc-stay-guide .abc-guide-figure img { width:100%; max-width:100%; height:auto; border-radius:9px; background:#f3f4f3; }
#abc-stay-guide .abc-guide-figure figcaption { margin-top:6px; font-size:12px; line-height:1.5; color:#59676b; }
#abc-stay-guide .abc-guide-gallery { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:15px 0 0; min-width:0; max-width:100%; }
#abc-stay-guide .abc-guide-gallery .abc-guide-figure { margin:0; }
#abc-stay-guide .abc-foot { padding:22px 8px; border-top:1px solid #d8e1de; text-align:center; font-size:13px; color:#53666a; }
@media (max-width:600px) {
 body.abc-stay-page .abc-stay-main { padding:24px 12px 48px; }
 #abc-stay-guide { font-size:15px; }
 #abc-stay-guide .abc-card { padding:16px; }
 #abc-stay-guide .abc-wifi, #abc-stay-guide .abc-guide-gallery { grid-template-columns:minmax(0,1fr); }
 #abc-stay-guide .abc-hero { padding:26px 15px; }
 #abc-stay-guide .abc-device { gap:10px; }
 #abc-stay-guide .abc-detail { padding:0 15px 18px; }
 #abc-stay-guide .abc-accordion-trigger { overflow-wrap:anywhere; }
}

/* v3: native disclosure + CSS-first bilingual switching */
body.abc-stay-page { overflow-x:hidden; max-width:100%; }
html:has(body.abc-stay-page) { overflow-x:clip; }
body.abc-stay-page .abc-stay-main, body.abc-stay-page main,
body.abc-stay-page .entry-content { min-width:0; max-width:100%; }
#abc-stay-guide { overflow-x:clip; }
#abc-stay-guide .abc-lang { display:flex; gap:8px; justify-content:flex-end; flex-wrap:wrap; }
#abc-stay-guide .abc-language-radio { position:absolute; width:1px; height:1px; opacity:0; clip-path:inset(50%); overflow:hidden; }
#abc-stay-guide .abc-lang-label { display:inline-flex; align-items:center; justify-content:center; margin:0; padding:7px 18px; border:1px solid #bed0d1; border-radius:30px; color:#23454c; background:white; font:inherit; font-size:14px; cursor:pointer; user-select:none; line-height:1.5; }
#abc-stay-guide #abc-guide-ja:checked + label,
#abc-stay-guide #abc-guide-en:checked + label { background:#23454c; color:white; border-color:#23454c; }
#abc-stay-guide .abc-language-radio:focus-visible + label { outline:3px solid #8cb4f4; outline-offset:3px; }
/* Native CSS switch works even when JavaScript does not load */
#abc-stay-guide:has(#abc-guide-en:checked) [lang="ja"] { display:none; }
#abc-stay-guide:has(#abc-guide-en:checked) [lang="en"] { display:revert; }
#abc-stay-guide:has(#abc-guide-ja:checked) [lang="en"] { display:none; }
#abc-stay-guide:has(#abc-guide-ja:checked) [lang="ja"] { display:revert; }
/* Native details: explicitly hide the contents of closed panels.
   The old theme's .abc-detail and .abc-accordion rules were button-based. */
#abc-stay-guide details.abc-accordion {
  display: block;
  overflow: hidden;
  height: auto !important;
  min-height: 0 !important;
}
#abc-stay-guide details.abc-accordion > summary.abc-accordion-trigger {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 56px;
  width: 100%;
  padding: 16px 19px;
  margin: 0;
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  background: #fff;
  color: #24343b;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
}
#abc-stay-guide details.abc-accordion > summary.abc-accordion-trigger::-webkit-details-marker { display: none !important; }
#abc-stay-guide details.abc-accordion > summary.abc-accordion-trigger::marker { content: '' !important; }
#abc-stay-guide details.abc-accordion > summary.abc-accordion-trigger::after {
  content: '+' !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  position: static !important;
  width: 26px !important;
  height: 26px !important;
  flex: 0 0 26px;
  margin-left: auto;
  font: 400 26px/1 Arial, sans-serif !important;
  color: #24343b !important;
  background: transparent !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}
#abc-stay-guide details.abc-accordion[open] > summary.abc-accordion-trigger::after {
  content: '−' !important;
}
#abc-stay-guide details.abc-accordion:not([open]) > .abc-detail {
  display: none !important;
}
#abc-stay-guide details.abc-accordion[open] > .abc-detail {
  display: block !important;
  padding: 0 20px 20px;
}
@media (max-width:600px) {
  #abc-stay-guide details.abc-accordion[open] > .abc-detail { padding: 0 15px 18px; }
}
#abc-stay-guide img, #abc-stay-guide video, #abc-stay-guide iframe, #abc-stay-guide svg { max-width:100%; }
#abc-stay-guide .abc-card, #abc-stay-guide .abc-detail, #abc-stay-guide .abc-device-body { overflow-wrap:anywhere; }

/* Prevent legacy theme-wide button pseudo elements from covering the page.
   style.css defines absolute, 100%-size button::before/::after overlays. */
#abc-stay-guide button.abc-copy::before,
#abc-stay-guide button.abc-copy::after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  pointer-events: none !important;
}
