/* HideOut の新デザインの土台。6 月のトップ案（黒 × メタル文字 × 明朝）をもとにする。mily.min.css とは併用しない
   body に .t-yu を付けると湯の色（灯りの銅色）になる。ヘアは既定のシルバーのまま */
:root {
  --bg: #0b0c0d; --bg2: #101214; --panel: #15181b; --panel2: #0e1012;
  --ink: #edeff1; --muted: #a3a9af; --faint: #868c93;
  --line: rgba(237, 239, 241, .10); --line2: rgba(237, 239, 241, .20);
  --accent: #c8ced3; --accent-dim: #868d93; --on-metal: #0b0c0d;
  --metal: linear-gradient(135deg, #f5f7f9 0%, #b3b9bf 34%, #eef1f3 56%, #8e959c 100%);
  --btn: linear-gradient(135deg, #f5f7f9, #c3c9ce);
  --ghost-bg: rgba(200, 206, 211, .12);
  --serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --latin: "Cormorant Garamond", var(--serif);
  --maxw: 1160px;
  --hdr: 72px;
}
.t-yu {
  --bg: #0c0a08; --bg2: #120f0b; --panel: #1b1610; --panel2: #0f0c09;
  --ink: #efe7da; --muted: #b5ab9c; --faint: #94897a;
  --line: rgba(239, 231, 218, .11); --line2: rgba(252, 159, 47, .38);
  --accent: #fc9f2f; --accent-dim: #a86f2c;
  --metal: linear-gradient(135deg, #ffe6c2 0%, #f2a445 36%, #ffd9a3 58%, #b9701f 100%);
  --btn: linear-gradient(135deg, #ffc176, #f49a2e);
  --ghost-bg: rgba(252, 159, 47, .14);
}
@media (max-width: 768px) { :root { --hdr: 64px; } }

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) - 1px); -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); background: var(--bg); color: var(--ink); font-size: 15px; line-height: 1.95; letter-spacing: .045em; font-feature-settings: "palt"; line-break: strict; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; touch-action: manipulation; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; touch-action: manipulation; }
ol, ul { list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (hover: none) { a:active, button:active { opacity: .65; } }

/* 細かな粒子 */
body::after { content: ""; position: fixed; inset: 0; z-index: 200; pointer-events: none; opacity: .035; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* 短い文だけ文節（<wbr>）で折り返す。長い文には付けず、ブラウザに任せる */
.kp { word-break: keep-all; overflow-wrap: anywhere; }

.ho-wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: 26px; }
.ho-section { position: relative; padding-block: 104px; background: var(--bg); }
.ho-section--alt { background: var(--bg2); }
@media (max-width: 768px) { .ho-section { padding-block: 68px; } }

.ho-metal { background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* 欄の見出し */
.ho-head { margin-bottom: 50px; }
.ho-head__idx { font-variant-numeric: lining-nums; display: block; font-family: var(--latin); font-size: 48px; font-weight: 500; line-height: 1; width: fit-content; background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ho-head h2 { width: fit-content; margin-top: 8px; font-family: var(--serif); font-size: clamp(22px, 5vw, 31px); font-weight: 600; line-height: 1.5; letter-spacing: .16em; background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ho-head__lat { display: block; margin-top: 6px; font-family: var(--latin); font-style: italic; font-size: 14px; letter-spacing: .2em; color: var(--accent-dim); }
.ho-head::after { content: ""; display: block; width: 46px; height: 1px; margin-top: 20px; background: var(--metal); }
.ho-head--center { text-align: center; }
.ho-head--center .ho-head__idx, .ho-head--center h2 { margin-inline: auto; }
.ho-head--center::after { margin-inline: auto; }

/* ボタン */
.ho-btn { display: inline-flex; align-items: center; justify-content: center; block-size: 52px; padding-inline: 28px; border-radius: 1px; background: var(--btn); color: var(--on-metal); font-family: var(--serif); font-size: 14px; font-weight: 600; letter-spacing: .14em; white-space: nowrap; }
.ho-btn span { text-box: trim-both cap alphabetic; }
.ho-btn--lg { block-size: 60px; min-width: min(280px, 100%); font-size: 15px; }
/* 枠だけのボタンも、地の色と分かれるよう薄く色を敷く */
.ho-btn--ghost { background: var(--ghost-bg); color: var(--ink); border: 1px solid var(--accent-dim); }
.ho-btn--ig { background: linear-gradient(45deg, #e9762b 0%, #dd2a7b 45%, #8134af 78%, #515bd4 100%); color: #fff; }
@media (hover: hover) {
  .ho-btn { transition: filter .25s, background .25s, color .25s, border-color .25s; }
  .ho-btn:hover { filter: brightness(1.1); }
  .ho-btn--ghost:hover { filter: none; background: var(--btn); color: var(--on-metal); border-color: transparent; }
}
/* 線つきの文字リンク */
.ho-line { display: inline-flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 14px; letter-spacing: .16em; color: var(--ink); }
.ho-line::before { content: ""; width: 34px; height: 1px; background: var(--metal); transition: width .3s; }
@media (hover: hover) { .ho-line:hover::before { width: 54px; } }

/* ヘッダー */
.ho-header { position: fixed; inset: 0 0 auto 0; z-index: 120; border-bottom: 1px solid transparent; transition: background .4s, border-color .4s; }
.ho-header.is-scrolled { background: rgba(10, 10, 10, .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.ho-nav { display: flex; align-items: center; justify-content: space-between; height: calc(var(--hdr) - 1px); max-width: 1320px; margin-inline: auto; padding-inline: 26px; }
.ho-brand { display: flex; align-items: baseline; gap: 9px; font-family: var(--serif); font-weight: 700; letter-spacing: .14em; line-height: 1; }
.ho-brand b { font-size: 19px; font-weight: 700; background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ho-brand span { font-size: 10px; font-weight: 500; color: var(--muted); letter-spacing: .22em; }
.ho-brand small { margin-left: .12em; font-size: .7em; letter-spacing: .04em; }
.ho-nav__links { display: flex; align-items: center; gap: 30px; }
.ho-nav__links a:not(.ho-btn) { position: relative; white-space: nowrap; font-family: var(--serif); font-size: 13px; font-weight: 500; letter-spacing: .12em; }
.ho-nav__links a:not(.ho-btn)::after { content: ""; position: absolute; left: 0; bottom: -7px; width: 0; height: 1px; background: var(--metal); transition: width .3s; }
@media (hover: hover) { .ho-nav__links a:not(.ho-btn):hover::after { width: 100%; } }
/* 湯のナビは湯のページだけで組み、お隣のヘアへの入口を 1 つ、区切って添える（2026-11-13） */
/* 区切り線はリンクの外（::before）に置く。リンクに余白を付けると、下線（::after）がその余白の上まで伸びる */
.ho-nav__links .ho-nav__other { margin-left: 30px; color: var(--muted); }
.ho-nav__links .ho-nav__other::before { content: ""; position: absolute; left: -30px; top: 50%; width: 1px; height: 26px; margin-top: -13px; background: var(--line); }
/* 今いるページ（ho.js が aria-current="page" を付ける） */
.ho-nav__links a[aria-current="page"], .ho-drawer a[aria-current="page"], .ho-footer__col a[aria-current="page"] { color: var(--accent); }
.ho-nav__links a[aria-current="page"]::after { width: 100%; }
.ho-nav__links .ho-btn { block-size: 42px; padding-inline: 22px; font-size: 13px; }
.ho-nav__links .ho-btn + .ho-btn { margin-left: -18px; }  /* Instagram とご予約の 2 つのボタンは、文字の項目より詰めて並べる */
.ho-burger { display: none; position: relative; width: 30px; height: 30px; }
.ho-burger span { position: absolute; left: 0; right: 0; top: 50%; height: 1.4px; margin-top: -.7px; background: var(--ink); transition: transform .3s, opacity .3s; }
.ho-burger span:nth-child(1) { transform: translateY(-8px); }
.ho-burger span:nth-child(3) { transform: translateY(8px); }
.menu-open .ho-burger span:nth-child(1) { transform: rotate(45deg); }
.menu-open .ho-burger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-open .ho-burger span:nth-child(3) { transform: rotate(-45deg); }
.menu-open { overflow: hidden; }
.menu-open .ho-header { background: none; -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom-color: transparent; }

/* ドロワー */
.ho-drawer { position: fixed; inset: 0; z-index: 110; padding: calc(var(--hdr) + 12px) 26px 40px; overflow-y: auto; overscroll-behavior: contain; background: rgba(8, 8, 8, .985); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; text-align: center; }
.menu-open .ho-drawer { opacity: 1; visibility: visible; }
.ho-drawer a { display: block; padding: 9px 0; font-family: var(--serif); font-size: 15px; letter-spacing: .14em; line-height: 1.6; }
.ho-drawer .ho-drawer__other { margin-top: 18px; padding-top: 22px; border-top: 1px solid var(--line); }

/* 料金の行 */
.ho-menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 52px; }
.ho-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-block: 18px; border-bottom: 1px solid var(--line); min-width: 0; }
.ho-row .l { display: flex; flex-direction: column; min-width: 0; }
.ho-row .nm { font-family: var(--serif); font-size: 16px; font-weight: 600; letter-spacing: .06em; line-height: 1.7; }
.ho-row .ds { margin-top: 3px; font-size: 12.5px; line-height: 1.8; color: var(--muted); }
.ho-row .ds a { text-decoration: underline; text-underline-offset: .25em; margin-left: .5em; }
.ho-row .r { font-variant-numeric: lining-nums; flex: none; font-family: var(--latin); font-size: 19px; color: var(--accent); white-space: nowrap; }
.ho-row .r--soon { font-family: var(--serif); font-size: 12.5px; letter-spacing: .1em; color: var(--faint); }
.ho-note { margin-top: 28px; font-size: 12.5px; color: var(--faint); text-align: center; }
@media (max-width: 768px) { .ho-menu { grid-template-columns: minmax(0, 1fr); } }

/* 人物の紹介 */
.ho-staff { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.ho-staff__photo { position: relative; isolation: isolate; }
.ho-staff__photo img { width: 100%; }
.ho-staff__photo::after { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid var(--accent-dim); z-index: -1; }
.ho-staff__role { font-family: var(--serif); font-size: 13px; letter-spacing: .1em; color: var(--accent); }
.ho-staff__name { margin-top: 4px; font-family: var(--serif); font-size: 26px; font-weight: 700; letter-spacing: .08em; line-height: 1.5; }
.ho-staff__name small { margin-left: 8px; font-family: var(--latin); font-size: 15px; font-weight: 500; color: var(--muted); }
.ho-staff__from { margin-bottom: 20px; font-size: 12.5px; letter-spacing: .1em; color: var(--faint); }
.ho-staff__text blockquote p { color: var(--muted); font-size: 14px; line-height: 2.1; }
@media (max-width: 980px) {
  .ho-staff { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .ho-staff__photo { margin-right: 14px; }
}

/* パンくず */
.ho-crumb { padding-block: 14px; background: var(--bg); border-bottom: 1px solid var(--line); font-size: 12px; color: var(--faint); }
.ho-crumb ol { display: flex; flex-wrap: wrap; gap: 0 .9em; }
.ho-crumb li + li::before { content: "/"; margin-right: .9em; color: var(--accent-dim); }

/* フッター */
.ho-footer { padding-block: 66px 40px; background: var(--panel2); border-top: 1px solid var(--line); }
.ho-footer__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)); gap: 42px; align-items: start; }  /* 湯の列と、お隣のヘアの列 */
.ho-footer__brand b { display: block; width: fit-content; font-family: var(--serif); font-size: 22px; font-weight: 700; letter-spacing: .1em; line-height: 1.5; background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ho-footer__brand span { display: block; font-size: 11px; letter-spacing: .22em; color: var(--muted); }
.ho-footer__brand p { margin-top: 18px; font-size: 13px; line-height: 2; color: var(--muted); }
.ho-footer__brand a { text-decoration: underline; text-underline-offset: .25em; }
.ho-footer__col h2 { margin-bottom: 12px; font-family: var(--serif); font-size: 13px; font-weight: 600; letter-spacing: .12em; color: var(--accent); }
.ho-footer__col a { display: block; padding-block: 5px; font-size: 13px; line-height: 1.7; color: var(--muted); }
@media (hover: hover) { .ho-footer__col a { transition: color .2s; } .ho-footer__col a:hover { color: var(--ink); } }
.ho-copy { margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); font-family: var(--latin); font-style: italic; font-size: 13px; letter-spacing: .08em; color: var(--faint); text-align: center; }
@media (max-width: 980px) { .ho-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ho-footer__brand { grid-column: 1 / -1; } }

/* Instagram の一覧（instagram.js が中身を入れる） */
.integration--Instagram { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.integration--Instagram .api-image { display: block; overflow: hidden; background: var(--panel); }
.integration--Instagram .api-image img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .5s; }
@media (hover: hover) { .integration--Instagram .api-image:hover img { transform: scale(1.04); } }
.modal-dialog { width: 90%; max-width: 500px; margin: auto; border: 1px solid var(--line2); border-radius: 1px; background: var(--panel); color: var(--ink); }
.modal-dialog::backdrop { background: rgba(0, 0, 0, .78); }
.modal-content { padding: 20px; }
.media-container { position: relative; max-height: 60vh; margin-bottom: 1em; overflow-y: auto; text-align: center; }
.media-img { aspect-ratio: 3 / 2; object-fit: contain; margin-inline: auto; background: #000; }
.media-video { width: auto; height: auto; max-width: 100%; max-height: 59vh; aspect-ratio: 3 / 2; margin-inline: auto; background: #000; }
.fallback-text { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 90%; color: #fff; font-size: 14px; text-align: center; }
.instagram-button { display: flex; align-items: center; justify-content: center; block-size: 46px; background: var(--btn); color: var(--on-metal); font-family: var(--serif); font-weight: 600; letter-spacing: .1em; }
.instagram-button .fab { display: none; }
.close-button { display: block; width: 100%; block-size: 44px; margin-top: 12px; border: 1px solid var(--line2); font-size: 14px; color: var(--ink); }

/* 営業日カレンダー（business-calendar-js.php が中身を入れる） */
div#business-calendar { position: relative; width: 100%; max-width: 26rem; font-size: 14px; line-height: 1.3; letter-spacing: 0; }
div#business-calendar table { width: 100%; margin-top: 40px; border-collapse: collapse; }
div#business-calendar table:first-child { margin-top: 0; }
div#business-calendar table th, div#business-calendar table td { border-bottom: 1px solid var(--line); text-align: center; color: var(--ink); }
div#business-calendar table th { font-weight: 600; line-height: 2; }
div#business-calendar table td { padding: .2rem; line-height: 2.3; }
div#business-calendar tr#year-month td, div#business-calendar tr#year-month th { padding-block: 10px; }
div#business-calendar tr#year-month th { position: relative; }
div#business-calendar tr#year-month th p { font-family: var(--serif); font-size: 120%; color: var(--ink); }
div#business-calendar tr#year-month th ul { position: absolute; left: 0; bottom: 11px; width: 100%; overflow: hidden; }
div#business-calendar tr#year-month ul li#prev { float: left; margin-left: 5px; }
div#business-calendar tr#year-month ul li#next { float: right; margin-right: 5px; }
div#business-calendar tr#year-month ul li a { position: relative; font-size: 85%; font-weight: 400; color: var(--muted); cursor: pointer; }
div#business-calendar tr#year-month ul li#prev a { padding-left: 15px; }
div#business-calendar tr#year-month ul li#next a { padding-right: 15px; }
div#business-calendar tr#year-month ul li#prev a::before, div#business-calendar tr#year-month ul li#next a::after { content: ""; position: absolute; top: 50%; transform: translateY(-50%); border-style: solid; }
div#business-calendar tr#year-month ul li#prev a::before { left: 0; border-width: 6px 6px 6px 0; border-color: transparent currentColor transparent transparent; }
div#business-calendar tr#year-month ul li#next a::after { right: 0; border-width: 6px 0 6px 6px; border-color: transparent transparent transparent currentColor; }
@media (hover: hover) { div#business-calendar tr#year-month ul li a:hover { color: var(--accent); } }
div#business-calendar td.saturday, div#business-calendar th.saturday { color: #8fb0ff; }
div#business-calendar td.sunday, div#business-calendar th.sunday, div#business-calendar td.festival { color: #ff9486; }
div#business-calendar td.holiday { color: inherit; }
div#business-calendar td.holiday > div { border-radius: 2px; background: var(--accent); color: var(--on-metal); }
div#business-calendar p.holiday-string { margin: 15px 0 10px; font-size: 95%; color: var(--ink); }
div#business-calendar p.holiday-string::before { content: "■ "; color: var(--accent); }

/* 湯のナビは項目とボタンが多く、1090px 以下ではロゴとの間が詰まるので、ここからハンバーガーにする */
@media (max-width: 1090px) {
  .ho-nav__links { display: none; }
  .ho-burger { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
