/* =============================================================
   JXPerience デザインシステム
   Airbnb風: 白ベース / 角丸カード / コーラルピンクのアクセント
   ============================================================= */

:root {
  --brand: #f9455e;            /* ロゴの円と同じコーラルピンク */
  --brand-dark: #d92a44;
  --brand-soft: #fff0f2;
  --ink: #222325;
  --ink-soft: #55585d;
  --ink-faint: #8a8f96;
  --line: #e9e9eb;
  --bg: #ffffff;
  --bg-soft: #f7f7f8;
  --green: #0f8a5f;
  --green-soft: #e6f5ef;
  --orange: #c26a00;
  --orange-soft: #fff4e5;
  --blue: #2563eb;
  --blue-soft: #eaf1fe;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(20, 20, 25, .06), 0 2px 8px rgba(20, 20, 25, .05);
  --shadow-md: 0 4px 14px rgba(20, 20, 25, .09), 0 1px 3px rgba(20, 20, 25, .06);
  --shadow-lg: 0 12px 40px rgba(20, 20, 25, .16);
  --font: 'Inter', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Hiragino Sans', sans-serif;
  --header-h: 72px;
}

/* ---- ベース ---- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(26px, 4vw, 36px); font-weight: 800; }
h2 { font-size: clamp(20px, 3vw, 26px); font-weight: 700; }
h3 { font-size: 17px; font-weight: 700; }
p { margin: 0 0 .8em; }
hr { border: none; border-top: 1px solid var(--line); margin: 18px 0; }
code { background: var(--bg-soft); padding: 2px 6px; border-radius: 6px; font-size: 13px; }

/* ---- フォーム ---- */
label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 14px; color: var(--ink); }
input, select, textarea {
  width: 100%;
  margin-top: 6px;
  padding: 11px 14px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid #d8d9dd;
  border-radius: var(--radius-sm);
  transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(34, 35, 37, .08);
}
input[disabled] { background: var(--bg-soft); color: var(--ink-faint); }
textarea { resize: vertical; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.check-label { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.check-label input { width: auto; margin: 0; }

/* ---- ボタン ---- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  border-radius: 12px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .12s, box-shadow .15s, background .15s;
  white-space: nowrap;
}
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button.primary { background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; box-shadow: 0 4px 14px rgba(249, 69, 94, .3); }
.button.primary:hover { box-shadow: 0 6px 20px rgba(249, 69, 94, .4); }
.button.outline { background: #fff; border-color: var(--ink); color: var(--ink); }
.button.outline:hover { background: var(--bg-soft); }
.button.danger { background: #fff; border-color: #d33; color: #d33; }
.button.danger:hover { background: #fdf1f1; }
.button.light { background: #fff; color: var(--ink); }
.button.full { width: 100%; }
.button.small { padding: 8px 16px; font-size: 14px; }
.button.large { padding: 15px 26px; font-size: 16px; }
.text-link { color: var(--ink); font-weight: 600; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; background: none; border: none; cursor: pointer; font-family: inherit; padding: 0; }
.text-link:hover { color: var(--brand); }
.text-link.center { display: block; text-align: center; margin-top: 10px; }
.mini-button {
  display: inline-block;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-family: inherit;
  color: var(--ink);
}
.mini-button:hover { border-color: var(--ink); }
.mini-button.pink { border-color: var(--brand); color: var(--brand); }

/* ---- ヘッダー ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  height: var(--header-h);
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.brand img { height: 30px; width: auto; }
.header-search {
  flex: 1;
  max-width: 380px;
  display: flex;
  align-items: center;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 4px 4px 4px 18px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .15s;
  background: #fff;
}
.header-search:focus-within { box-shadow: var(--shadow-md); }
.header-search input {
  border: none;
  margin: 0;
  padding: 8px 0;
  font-size: 14px;
  background: transparent;
}
.header-search input:focus { box-shadow: none; }
.header-search button {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.header-nav { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.host-link, .ghost-link {
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 999px;
}
.host-link:hover, .ghost-link:hover { background: var(--bg-soft); }

/* 言語切替（日英）ボタン */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 13px;
  font-size: 13px;
  font-weight: 700;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  white-space: nowrap;
  transition: border-color .15s, box-shadow .15s;
}
.lang-toggle:hover { border-color: var(--ink); box-shadow: var(--shadow-sm); }

/* 会員メニュー（右上） */
.user-menu { position: relative; }
.user-menu-button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 5px 5px 12px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: box-shadow .15s;
  font-family: inherit;
  color: var(--ink-soft);
}
.user-menu-button:hover { box-shadow: var(--shadow-md); }
.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.large { width: 52px; height: 52px; font-size: 20px; }
.user-menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 240px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  padding: 8px;
  display: none;
}
.user-menu.open .user-menu-panel { display: block; animation: pop .14s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(-4px); } }
.user-menu-panel a, .user-menu-panel button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  color: var(--ink);
}
.user-menu-panel a:hover, .user-menu-panel button:hover { background: var(--bg-soft); }
.user-menu-panel hr { margin: 6px 0; }
.menu-user { padding: 10px 12px 6px; }
.menu-user strong { display: block; font-size: 14px; }
.menu-user small { color: var(--ink-faint); font-size: 12px; }
.menu-alert { color: var(--orange) !important; font-weight: 700 !important; }

/* ---- フラッシュ ---- */
.flash {
  position: sticky;
  top: var(--header-h);
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  animation: pop .2s ease;
}
.flash-success { background: var(--green-soft); color: var(--green); }
.flash-danger { background: #fdecec; color: #c22; }
.flash-warning { background: var(--orange-soft); color: var(--orange); }
.flash button { background: none; border: none; font-size: 18px; cursor: pointer; color: inherit; line-height: 1; }

/* ---- レイアウト共通 ---- */
.section { max-width: 1240px; margin: 0 auto; padding: 36px 24px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.section-heading.center { justify-content: center; text-align: center; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin: 0 0 4px; }
.eyebrow.light { color: rgba(255, 255, 255, .85); }
.result-count { color: var(--ink-faint); font-size: 14px; margin: 4px 0 0; }
.small-note { font-size: 13px; color: var(--ink-faint); }
.small-note a { text-decoration: underline; text-underline-offset: 2px; }
.small-note.center { text-align: center; }
.back-link { display: inline-block; font-size: 14px; font-weight: 600; color: var(--ink-soft); margin-bottom: 14px; }
.back-link:hover { color: var(--ink); }
.mt { margin-top: 26px; }

/* ---- ヒーロー ---- */
.hero { position: relative; max-width: 1240px; margin: 20px auto 0; padding: 0 24px; }
.hero-media { position: relative; border-radius: 24px; overflow: hidden; height: clamp(420px, 56vh, 560px); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 10, 15, .18), rgba(10, 10, 15, .5)); }
.hero-copy {
  position: absolute;
  inset: 0;
  padding: 0 clamp(24px, 6vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  max-width: 900px;
}
.hero-copy h1 { font-size: clamp(30px, 4.6vw, 52px); text-shadow: 0 2px 18px rgba(0, 0, 0, .3); margin-bottom: 10px; }
.hero-copy > p { font-size: clamp(15px, 1.8vw, 18px); text-shadow: 0 1px 10px rgba(0, 0, 0, .4); margin-bottom: 26px; }

.hero-search {
  display: flex;
  align-items: stretch;
  background: #fff;
  border-radius: 999px;
  padding: 6px;
  box-shadow: var(--shadow-lg);
  max-width: 720px;
  gap: 0;
}
.hero-search-field { flex: 1; padding: 6px 20px; border-right: 1px solid var(--line); min-width: 0; }
.hero-search-field:last-of-type { border-right: none; }
.hero-search-field label { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); margin: 0; }
.hero-search-field input, .hero-search-field select {
  border: none;
  margin: 0;
  padding: 2px 0 0;
  font-size: 14px;
  color: var(--ink-soft);
  background: transparent;
  width: 100%;
}
.hero-search-field input:focus, .hero-search-field select:focus { box-shadow: none; }
.hero-search-button {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 26px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: box-shadow .15s;
}
.hero-search-button:hover { box-shadow: 0 4px 16px rgba(249, 69, 94, .45); }

/* ---- カテゴリーチップ ---- */
.category-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.category-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: border-color .15s, box-shadow .15s, transform .12s;
  background: #fff;
}
.category-chip:hover { border-color: var(--ink); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.category-chip span { font-size: 18px; }

/* ---- ワークショップカード ---- */
.ws-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 26px; }
.ws-grid.two-col { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.ws-card { border-radius: var(--radius); overflow: hidden; transition: transform .18s, box-shadow .18s; background: #fff; }
.ws-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.ws-card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); }
.ws-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.ws-card:hover .ws-card-media img { transform: scale(1.045); }
.ws-card-category {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, .94);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.ws-card-body { padding: 13px 6px 6px; }
.ws-card-meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-faint); margin-bottom: 4px; }
.ws-card-body h3 { font-size: 16px; margin: 0 0 2px; }
.ws-host { font-size: 13px; color: var(--ink-faint); margin: 0 0 8px; }
.ws-card-bottom { display: flex; align-items: baseline; gap: 5px; }
.ws-card-bottom strong { font-size: 16px; }
.ws-card-bottom span { font-size: 13px; color: var(--ink-faint); }

/* ---- 都市カード ---- */
.city-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.city-card { position: relative; border-radius: var(--radius); overflow: hidden; height: 130px; transition: transform .18s, box-shadow .18s; }
.city-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.city-card-bg { position: absolute; inset: 0; }
.city-card-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 85% 15%, rgba(255, 255, 255, .35), transparent 55%);
}
.city-tokyo { background: linear-gradient(135deg, #5b6bda, #8f5bd9); }
.city-kyoto { background: linear-gradient(135deg, #d9435b, #f08a3c); }
.city-osaka { background: linear-gradient(135deg, #f0763c, #e8b432); }
.city-nara { background: linear-gradient(135deg, #3f9d63, #82c26a); }
.city-kanazawa { background: linear-gradient(135deg, #b8912f, #e0c14c); }
.city-hiroshima { background: linear-gradient(135deg, #d94366, #a03fb0); }
.city-fukuoka { background: linear-gradient(135deg, #2f8fb8, #45c9c0); }
.city-sapporo { background: linear-gradient(135deg, #3b6fd9, #58b8e8); }
.city-okinawa { background: linear-gradient(135deg, #12a3a8, #4fd0a4); }
.city-kamakura { background: linear-gradient(135deg, #4a7ec2, #6fb3d9); }
.city-takayama { background: linear-gradient(135deg, #7a5c3e, #b08a56); }
.city-sendai { background: linear-gradient(135deg, #38855c, #62b088); }
.city-card-copy { position: absolute; inset: 0; padding: 18px 20px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; }
.city-card-copy h3 { margin: 0; font-size: 20px; text-shadow: 0 1px 6px rgba(0, 0, 0, .2); }
.city-card-copy span { font-size: 12.5px; opacity: .92; }

/* ---- How it works ---- */
.how-section { text-align: center; }
.how-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; margin-top: 8px; }
.how-card { background: var(--bg-soft); border-radius: var(--radius); padding: 30px 24px; text-align: left; }
.how-num {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  margin-bottom: 14px;
}
.how-card p { font-size: 14px; color: var(--ink-soft); margin: 0; }

/* ---- ホスト募集CTA ---- */
.host-cta {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(120deg, #1c1d21, #37383f);
  color: #fff;
  min-height: 320px;
}
.host-cta-copy { padding: clamp(28px, 5vw, 56px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.host-cta-copy h2 { font-size: clamp(22px, 3vw, 32px); }
.host-cta-copy p { color: rgba(255, 255, 255, .82); max-width: 460px; margin-bottom: 22px; }
.host-cta img { width: 100%; height: 100%; object-fit: cover; }

/* ---- フッター ---- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); margin-top: 50px; }
.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 46px 24px 30px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
}
.footer-brand img { height: 26px; width: auto; margin-bottom: 12px; }
.footer-brand p { font-size: 13.5px; color: var(--ink-faint); }
.footer-col h3 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 12px; }
.footer-col a { display: block; font-size: 14px; padding: 4px 0; color: var(--ink-soft); }
.footer-col a:hover { color: var(--brand); }
.footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 24px 26px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ink-faint);
}

/* ---- 一覧ページ ---- */
.listing-filter { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: var(--header-h); z-index: 50; }
.filter-bar {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.filter-bar input, .filter-bar select { width: auto; margin: 0; padding: 9px 13px; font-size: 14px; }
.filter-bar input[type="search"] { min-width: 180px; flex: 1; max-width: 260px; }

/* ---- 詳細ページ ---- */
.detail-page { max-width: 1240px; margin: 0 auto; padding: 22px 24px 40px; }
.detail-gallery { display: grid; gap: 10px; border-radius: 20px; overflow: hidden; max-height: 460px; }
.detail-gallery img { width: 100%; height: 100%; object-fit: cover; min-height: 0; }
.detail-gallery img.main { grid-row: 1 / -1; }
.detail-gallery.multi { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
/* 画像が2枚のときは2枚目を縦いっぱいに伸ばして空白を防ぐ */
.detail-gallery.multi img:nth-child(2):last-child { grid-row: 1 / -1; }
.detail-gallery:not(.multi) img.main { max-height: 460px; }
.detail-breadcrumb { font-size: 13.5px; color: var(--ink-faint); margin-bottom: 10px; }
.detail-breadcrumb a:hover { color: var(--brand); }
.detail-layout {
  max-width: 1240px;
  margin: 0 auto;
  padding: 30px 0 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 44px;
  align-items: start;
}
.biz-page .detail-layout, .detail-page .detail-layout { padding-left: 0; padding-right: 0; }
.title-ja { color: var(--ink-faint); margin-top: -6px; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14.5px; color: var(--ink-soft); font-weight: 600; padding: 14px 0 20px; border-bottom: 1px solid var(--line); }
.host-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.host-strip img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); }
.host-strip p { margin: 0; font-size: 12.5px; color: var(--ink-faint); }
.host-strip a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.host-strip a:hover { color: var(--brand); }
.host-langs { margin-left: auto; font-size: 13px; color: var(--ink-faint); }
.detail-section { padding: 24px 0; border-bottom: 1px solid var(--line); }
.detail-section:last-child { border-bottom: none; }
.prose { font-size: 15.5px; color: var(--ink-soft); }
.includes-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px; }
.includes-list li { font-size: 15px; color: var(--ink-soft); }

/* 予約カード（サイド・スティッキー） */
.booking-card {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 24px;
  background: #fff;
}
.booking-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 16px; }
.booking-price strong { font-size: 26px; font-weight: 800; }
.booking-price span { color: var(--ink-faint); font-size: 14px; }
.booking-facts { list-style: none; padding: 0; margin: 0 0 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.booking-facts li { display: flex; justify-content: space-between; padding: 10px 14px; font-size: 14px; border-bottom: 1px solid var(--line); }
.booking-facts li:last-child { border-bottom: none; }
.booking-facts span { color: var(--ink-faint); }
.booking-card .small-note { margin-top: 12px; }

/* ---- ビジネスページ ---- */
.biz-page { max-width: 1240px; margin: 0 auto; padding: 22px 24px 40px; }
.biz-hero { position: relative; border-radius: 20px; overflow: hidden; min-height: 340px; display: flex; }
.biz-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.biz-hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 8, 12, .25), rgba(8, 8, 12, .62)); }
.biz-hero-copy { position: relative; margin-top: auto; padding: clamp(22px, 4vw, 40px); color: #fff; }
.biz-logo { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; margin-bottom: 14px; box-shadow: var(--shadow-md); }
.biz-hero-copy h1 { margin-bottom: 4px; }
.biz-badges { display: flex; gap: 16px; font-size: 14px; margin-top: 8px; }
.biz-info-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); position: sticky; top: calc(var(--header-h) + 24px); background: #fff; }
.biz-info-card ul { list-style: none; padding: 0; margin: 0 0 16px; }
.biz-info-card li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.biz-info-card li span { display: block; font-size: 12px; color: var(--ink-faint); }
.biz-links { display: grid; gap: 10px; }

/* ---- 認証ページ ---- */
.auth-body { background: var(--bg-soft); }
.auth-page { min-height: calc(100vh - var(--header-h)); display: grid; place-items: center; padding: 40px 20px; }
.auth-card {
  width: 100%;
  max-width: 440px;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  padding: 38px 34px;
  text-align: center;
}
.auth-card.wide { max-width: 640px; text-align: left; }
.auth-card.wide h1, .auth-card.wide .auth-lead { text-align: center; }
.auth-logo { height: 26px; width: auto; margin: 0 auto 22px; }
.auth-card.wide .auth-logo { margin: 0 auto 22px; }
.auth-card h1 { font-size: 24px; }
.auth-lead { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 22px; }
.auth-card form { text-align: left; }
.auth-links { font-size: 14px; color: var(--ink-soft); margin: 14px 0 0; }
.auth-links a { text-decoration: underline; text-underline-offset: 3px; }
.auth-links a:hover { color: var(--brand); }
.auth-icon { font-size: 44px; display: block; margin-bottom: 10px; }
.admin-tag { font-size: 11.5px; font-weight: 800; letter-spacing: .14em; color: var(--brand); margin: -8px 0 6px; }
.form-section-title { font-size: 15px; border-left: 3px solid var(--brand); padding-left: 10px; margin: 24px 0 14px; }

/* ---- 汎用フォームページ（お問い合わせ等） ---- */
.form-page { max-width: 720px; margin: 0 auto; padding: 40px 24px 60px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-sm); padding: clamp(24px, 4vw, 44px); }
.form-lead { color: var(--ink-soft); margin-bottom: 26px; }

/* ---- 静的ページ ---- */
.static-page { padding: 46px 24px 60px; }
.static-inner { max-width: 760px; margin: 0 auto; }
.static-cta { margin-top: 30px; }

/* ---- 空状態 ---- */
.empty-page { min-height: 60vh; display: grid; place-items: center; padding: 40px 20px; }
.empty-state { text-align: center; padding: 60px 24px; color: var(--ink-soft); }
.empty-icon { font-size: 46px; display: block; margin-bottom: 12px; }
.empty-state .button { margin-top: 14px; }

/* ---- バッジ ---- */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.badge-pending { background: var(--orange-soft); color: var(--orange); }
.badge-confirmed { background: var(--green-soft); color: var(--green); }
.badge-cancelled { background: #f2f2f4; color: var(--ink-faint); }
.badge-completed { background: var(--blue-soft); color: var(--blue); }
.badge-pay-unpaid { background: #fdecec; color: #c22; }
.badge-pay-paid { background: var(--green-soft); color: var(--green); }
.badge-pay-refunded { background: #f2f2f4; color: var(--ink-faint); }
.badge-row { display: flex; gap: 8px; margin: 8px 0; flex-wrap: wrap; }

/* ---- 通知バナー ---- */
.notice-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 13px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 18px;
}
.notice-banner.warning { background: var(--orange-soft); color: var(--orange); }
.notice-banner.success { background: var(--green-soft); color: var(--green); }
.notice-banner a { text-decoration: underline; text-underline-offset: 2px; }
.notice-banner form { margin: 0; }

/* ---- マイページ ---- */
.account-page {
  max-width: 1240px;
  margin: 0 auto;
  padding: 34px 24px 60px;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.account-nav { position: sticky; top: calc(var(--header-h) + 24px); }
.account-user { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.account-user strong { display: block; font-size: 15px; line-height: 1.3; }
.account-user small { color: var(--ink-faint); font-size: 12px; word-break: break-all; }
.account-nav nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-soft);
}
.account-nav nav a:hover { background: var(--bg-soft); color: var(--ink); }
.account-nav nav a.active { background: var(--brand-soft); color: var(--brand); }
.account-heading { margin-bottom: 20px; }
.account-heading p { color: var(--ink-faint); font-size: 14.5px; margin: 0; }

.booking-list { display: grid; gap: 16px; }
.booking-row {
  display: flex;
  align-items: center;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background: #fff;
  transition: box-shadow .15s;
}
.booking-row:hover { box-shadow: var(--shadow-md); }
.booking-row > img { width: 130px; height: 96px; object-fit: cover; border-radius: var(--radius-sm); flex-shrink: 0; }
.booking-row-body { flex: 1; min-width: 0; }
.booking-row-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.booking-row-top h2 { font-size: 17px; margin: 0; }
.booking-row-top h2 a:hover { color: var(--brand); }
.booking-row-body p { margin: 2px 0; font-size: 13.5px; color: var(--ink-faint); }
.booking-row-meta { font-weight: 600; color: var(--ink-soft) !important; }

.booking-detail-head { display: flex; gap: 20px; align-items: center; margin-bottom: 24px; }
.booking-detail-head img { width: 150px; height: 106px; object-fit: cover; border-radius: var(--radius); }
.booking-detail-head p { color: var(--ink-faint); margin: 2px 0; }
.booking-detail-head a { text-decoration: underline; text-underline-offset: 2px; }
.booking-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; }
.panel h2 { font-size: 17px; }
.fact-list, .answer-list { list-style: none; padding: 0; margin: 0 0 12px; }
.fact-list li, .answer-list li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.fact-list span, .answer-list span { color: var(--ink-faint); flex-shrink: 0; }
.answer-list li { flex-direction: column; gap: 2px; }
.answer-list b { font-weight: 600; }

/* ---- チャット ---- */
.chat-panel { display: flex; flex-direction: column; max-height: 640px; }
.message-list { flex: 1; overflow-y: auto; padding: 6px 2px; display: flex; flex-direction: column; gap: 14px; min-height: 200px; }
.chat-empty { color: var(--ink-faint); font-size: 14px; text-align: center; margin: auto; }
.message { max-width: 82%; align-self: flex-start; }
.message.mine { align-self: flex-end; text-align: right; }
.message-bubble {
  display: inline-block;
  background: var(--bg-soft);
  padding: 10px 15px;
  border-radius: 16px 16px 16px 4px;
  font-size: 14.5px;
  text-align: left;
}
.message.mine .message-bubble { background: var(--brand-soft); border-radius: 16px 16px 4px 16px; }
.message small { display: block; margin-top: 3px; font-size: 11.5px; color: var(--ink-faint); }
.chat-form { display: flex; gap: 10px; margin-top: 14px; align-items: flex-end; }
.chat-form textarea { margin: 0; }
.chat-form .button { flex-shrink: 0; }

/* ---- プロフィール ---- */
.profile-form { max-width: 640px; }
.avatar-edit { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.file-label { font-size: 13.5px; font-weight: 600; color: var(--brand); cursor: pointer; margin: 0; }
.file-label input { display: none; }

/* ---- 予約フロー ---- */
.booking-page { max-width: 1140px; margin: 0 auto; padding: 30px 24px 60px; }
.booking-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 46px; align-items: start; }
.booking-step { padding: 22px 0; border-bottom: 1px solid var(--line); }
.booking-step:last-of-type { border-bottom: none; }
.booking-step h2 { display: flex; align-items: center; gap: 10px; font-size: 18px; margin-bottom: 14px; }
.step-num {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}
.optional { font-size: 13px; color: var(--ink-faint); font-weight: 500; }
.pay-note { background: var(--bg-soft); border-radius: var(--radius-sm); padding: 14px 16px; font-size: 14px; color: var(--ink-soft); }
.booking-summary { position: sticky; top: calc(var(--header-h) + 24px); }
.summary-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); background: #fff; }
.summary-card > img { width: 100%; height: 170px; object-fit: cover; }
.summary-body { padding: 18px 20px; }
.summary-body h3 { font-size: 16px; margin-bottom: 2px; }
.summary-body p { font-size: 13.5px; color: var(--ink-faint); }
.summary-row { display: flex; justify-content: space-between; font-size: 14.5px; padding: 4px 0; }
.summary-row.total { font-size: 16px; font-weight: 700; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 10px; }
.booking-summary .small-note { margin-top: 12px; text-align: center; }

/* ---- CMS ---- */
.cms-body { background: var(--bg-soft); }
.cms-shell { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: 100vh; }
.cms-sidebar {
  background: #1c1d21;
  color: #fff;
  padding: 22px 14px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}
.cms-brand { display: flex; flex-direction: column; gap: 6px; padding: 4px 10px 20px; border-bottom: 1px solid rgba(255, 255, 255, .12); margin-bottom: 14px; }
.cms-brand img { height: 22px; width: auto; align-self: flex-start; }
.cms-brand span { font-size: 10.5px; font-weight: 800; letter-spacing: .16em; color: var(--brand); }
.cms-sidebar nav { display: grid; gap: 3px; }
.cms-sidebar nav a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, .72);
  transition: background .12s, color .12s;
}
.cms-sidebar nav a:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.cms-sidebar nav a.active { background: var(--brand); color: #fff; }
.cms-sidebar-bottom { margin-top: auto; display: grid; gap: 2px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .12); }
.cms-sidebar-bottom a { padding: 8px 12px; font-size: 13px; color: rgba(255, 255, 255, .6); border-radius: 8px; }
.cms-sidebar-bottom a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.cms-topbar {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 40;
}
.cms-topbar-right { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--ink-soft); }
.cms-topbar button { background: none; border: 1.5px solid var(--line); padding: 7px 14px; border-radius: 8px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.cms-topbar button:hover { border-color: var(--ink); }
.cms-content { padding: 28px; max-width: 1160px; }
.cms-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.cms-heading h1 { font-size: 24px; margin: 0; }
.cms-heading span { color: var(--ink-faint); font-size: 14px; }
.cms-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; }
.cms-panel h2 { font-size: 16.5px; }
.panel-title { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 12px; flex-wrap: wrap; }
.panel-title h2 { margin: 0; }
.panel-title small { color: var(--ink-faint); }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; margin-bottom: 22px; }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; position: relative; overflow: hidden; }
.stat-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; }
.stat-card.pink::before { background: var(--brand); }
.stat-card.green::before { background: var(--green); }
.stat-card.orange::before { background: #f59e0b; }
.stat-card.blue::before { background: var(--blue); }
.stat-card span { font-size: 12.5px; font-weight: 700; color: var(--ink-faint); }
.stat-card strong { display: block; font-size: 26px; font-weight: 800; margin: 2px 0; }
.stat-card small { color: var(--ink-faint); font-size: 12px; }

.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th {
  text-align: left;
  font-size: 12px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding: 8px 12px;
  border-bottom: 1.5px solid var(--line);
  white-space: nowrap;
}
.data-table td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--bg-soft); }
.table-thumb { width: 64px; height: 46px; object-fit: cover; border-radius: 8px; }
.table-actions { display: flex; gap: 8px; align-items: center; }
.table-actions form { margin: 0; }
.table-actions button { background: none; border: none; color: #c22; font-size: 13px; cursor: pointer; font-family: inherit; padding: 6px 4px; }
.empty-cell { text-align: center; color: var(--ink-faint); padding: 34px 12px !important; }

.status-tabs { display: flex; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.status-tabs a {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 96px;
  padding: 10px 18px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color .12s;
}
.status-tabs a:hover { border-color: var(--ink); }
.status-tabs a.active { border-color: var(--brand); background: var(--brand-soft); }
.status-tabs b { font-size: 19px; }
.status-tabs small { font-size: 12px; color: var(--ink-faint); }

.edit-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; }
.edit-main { min-width: 0; }
.form-panel h2 { margin-bottom: 16px; }
.sticky-panel { position: sticky; top: 84px; }
.toggle { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.toggle input { width: auto; margin: 0; transform: scale(1.3); accent-color: var(--brand); }
.action-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0 8px; }
.action-row form { margin: 0; }

.image-upload {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  border: 2px dashed #cfd0d4;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-soft);
  margin-bottom: 12px;
}
.image-upload:hover { border-color: var(--brand); }
.image-upload img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.image-upload span { color: var(--ink-faint); font-size: 14px; font-weight: 600; }
.image-upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.image-upload.logo { aspect-ratio: 1; width: 130px; }
.image-upload-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.image-upload-grid .image-upload { margin-bottom: 0; }

/* 設問ビルダー */
.question-row { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px; margin-bottom: 12px; background: var(--bg-soft); }
.question-row-main { display: grid; grid-template-columns: minmax(0, 1fr) 150px auto auto; gap: 10px; align-items: center; }
.question-row-main input[type="text"], .question-row-main input:not([type]) { margin: 0; background: #fff; }
.question-row-main select { margin: 0; width: auto; background: #fff; }
.question-row textarea { margin-top: 10px; background: #fff; }
.question-row .check-label { margin: 0; white-space: nowrap; font-size: 13px; }

.review-card h3 { font-size: 14px; color: var(--ink-faint); margin: 14px 0 4px; }
.review-form textarea { margin-bottom: 4px; }

/* ---- レスポンシブ ---- */
@media (max-width: 1000px) {
  .detail-layout, .booking-layout { grid-template-columns: 1fr; }
  .booking-card, .booking-summary, .biz-info-card { position: static; }
  .booking-detail-grid { grid-template-columns: 1fr; }
  .edit-layout { grid-template-columns: 1fr; }
  .sticky-panel { position: static; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .host-cta { grid-template-columns: 1fr; }
  .host-cta img { max-height: 220px; }
}

@media (max-width: 820px) {
  :root { --header-h: 62px; }
  .header-search { display: none; }
  .host-link { display: none; }
  .account-page { grid-template-columns: 1fr; gap: 20px; padding-top: 22px; }
  .account-nav { position: static; }
  .account-nav nav { display: flex; overflow-x: auto; gap: 6px; }
  .account-nav nav a { white-space: nowrap; }
  .cms-shell { grid-template-columns: 1fr; }
  .cms-sidebar { position: sticky; top: 0; height: auto; flex-direction: row; align-items: center; gap: 6px; padding: 10px 14px; overflow-x: auto; z-index: 60; }
  .cms-brand { flex-direction: row; align-items: center; border: none; padding: 0 10px 0 0; margin: 0; }
  .cms-brand span { display: none; }
  .cms-sidebar nav { display: flex; gap: 4px; }
  .cms-sidebar nav a { white-space: nowrap; padding: 9px 11px; font-size: 13px; }
  .cms-sidebar-bottom { display: none; }
  .cms-content { padding: 18px 14px; }
  .hero-search { flex-direction: column; border-radius: 20px; gap: 4px; }
  .hero-search-field { border-right: none; border-bottom: 1px solid var(--line); padding: 10px 16px; }
  .hero-search-field:last-of-type { border-bottom: none; }
  .hero-search-button { padding: 13px; justify-content: center; border-radius: 14px; }
  .hero-media { height: auto; min-height: 520px; }
  .two-col { grid-template-columns: 1fr; }
  .detail-gallery.multi { grid-template-columns: 1fr; grid-template-rows: auto; max-height: none; }
  .detail-gallery.multi img:not(.main) { display: none; }
  .booking-row { flex-direction: column; align-items: stretch; }
  .booking-row > img { width: 100%; height: 160px; }
  .booking-detail-head { flex-direction: column; align-items: flex-start; }
  .question-row-main { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 4px; }
  .data-table { display: block; overflow-x: auto; white-space: nowrap; }
}

@media (max-width: 560px) {
  .footer-inner { grid-template-columns: 1fr; }
  .ws-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .ws-card-body h3 { font-size: 14px; }
  .city-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 26px 16px; }
  .auth-card { padding: 28px 22px; }
}
