:root {
  --ink: #17264d;
  --muted: #68728d;
  --line: #e6edf5;
  --paper: #ffffff;
  --soft: #f8fbfe;
  --mint: #eaf7fc;
  --green: #7bb9d6;
  --coral: #f29ab2;
  --yellow: #f8dfe7;
  --blue: #9ed0e6;
  --shadow: 0 14px 34px rgba(23, 38, 77, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(16px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(230, 237, 245, 0.94);
  backdrop-filter: blur(10px);
}

.header-nav {
  margin-left: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-logo {
  display: block;
  width: 68px;
  height: 68px;
  object-fit: contain;
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 18px;
  line-height: 1.1;
  color: var(--ink);
}

.brand-wordmark {
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  font-size: clamp(22px, 2.3vw, 34px);
  font-weight: 900;
  line-height: 1;
  color: #17264d;
  letter-spacing: 1.5px;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85),
    0 0 0 #17264d;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.header-nav,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
  font-size: 14px;
}

.admin-header {
  position: static;
}

.header-nav a:hover,
.site-footer a:hover {
  color: var(--coral);
}

.hero {
  position: relative;
  min-height: 560px;
  display: grid;
  align-items: center;
  padding: clamp(38px, 7vw, 78px) clamp(16px, 4vw, 56px);
  background:
    linear-gradient(90deg, rgba(34, 46, 49, 0.72), rgba(34, 46, 49, 0.26)),
    url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1800&q=80") center/cover;
  color: #fff;
}

.home-search {
  padding: 26px clamp(16px, 4vw, 56px) 16px;
  background:
    linear-gradient(180deg, rgba(234, 247, 252, 0.94), rgba(255, 255, 255, 1)),
    url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1800&q=80") center 38%/cover;
}

.home-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.portal-search {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow);
}

.portal-search-main {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(180px, 0.7fr) 120px;
  gap: 12px;
  align-items: end;
  padding: 16px;
}

.portal-search-main label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.portal-search-main input,
.portal-search-main select {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
}

.search-submit {
  min-height: 48px;
}

.purpose-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px 16px;
}

.purpose-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--ink);
  background: #f8dfe7;
  font-size: 13px;
  font-weight: 800;
}

.home-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(520px, 1.3fr);
  gap: 14px;
  margin-top: 14px;
  align-items: stretch;
}

.compact-panel {
  min-height: 278px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 22px rgba(23, 38, 77, 0.08);
}

.full-area-panel {
  margin-top: 14px;
  min-height: 0;
}

.compact-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.compact-head h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
}

.compact-head a {
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.recommend-list {
  display: grid;
  gap: 8px;
}

.recommend-item {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 8px;
  border: 1px solid #f1eadf;
  border-radius: 8px;
  background: #fffdf8;
}

.recommend-item img {
  width: 76px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
}

.recommend-item strong,
.recommend-item small {
  display: block;
}

.recommend-item strong {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 14px;
}

.recommend-item small {
  color: var(--muted);
  font-size: 12px;
}

.mini-destinations {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.mini-destinations a {
  position: relative;
  min-height: 132px;
  overflow: hidden;
  border-radius: 8px;
  color: #fff;
  background: #ddd;
}

.mini-destinations img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mini-destinations a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.04), rgba(0,0,0,0.62));
}

.mini-destinations strong {
  position: absolute;
  z-index: 1;
  left: 8px;
  right: 8px;
  bottom: 7px;
  font-size: 13px;
  line-height: 1.25;
}

.area-compact .area-map {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.area-compact .area-cards {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.area-compact .area-card {
  min-height: 44px;
  padding: 10px;
  text-align: center;
}

.area-compact .area-card strong {
  font-size: 14px;
}

.area-compact .area-card span {
  display: none;
}

.area-compact .pref-panel {
  min-height: 92px;
  padding: 12px;
}

.area-compact .pref-links {
  gap: 6px;
}

.area-compact .pill {
  min-height: 28px;
  padding: 4px 8px;
  font-size: 12px;
}

.area-card.active {
  color: #fff;
  background: var(--green);
}

.hero-inner {
  width: min(1040px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(34px, 7vw, 76px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin: 18px 0 26px;
  font-size: clamp(16px, 2.4vw, 20px);
}

.search-panel {
  display: grid;
  gap: 12px;
  max-width: 880px;
  padding: 14px;
  background: rgba(255, 253, 248, 0.96);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.search-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.search-row input,
.filter-grid select,
.form-grid input,
.form-grid select,
.form-grid textarea,
.admin-login input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
}

.search-row input {
  font-size: 16px;
}

.primary-btn,
.secondary-btn,
.ghost-btn,
.danger-btn {
  min-height: 44px;
  padding: 10px 16px;
  border: 0;
  border-radius: 8px;
  font-weight: 700;
}

.primary-btn {
  color: #fff;
  background: var(--ink);
}

.secondary-btn {
  color: var(--ink);
  background: var(--yellow);
}

.ghost-btn {
  color: var(--ink);
  background: #eaf7fc;
}

.danger-btn {
  color: #fff;
  background: #b85050;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.pill,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--soft);
  font-size: 13px;
  font-weight: 700;
}

.tag {
  color: var(--ink);
  background: var(--mint);
}

.section {
  padding: clamp(36px, 6vw, 72px) clamp(16px, 4vw, 56px);
}

.section.alt {
  background: #f8fbfe;
}

.story-section {
  overflow: hidden;
  padding: 14px clamp(16px, 4vw, 56px) 22px;
  background: #ffffff;
}

.compact-story {
  border-top: 1px solid var(--line);
}

.story-marquee {
  width: 100%;
  overflow: hidden;
}

.story-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: storyScroll 48s linear infinite;
}

.story-track:hover {
  animation-play-state: paused;
}

.story-empty {
  display: grid;
  gap: 4px;
  width: min(720px, 100%);
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfe;
}

.story-empty span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

@keyframes storyScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.story-card {
  display: grid;
  grid-template-columns: 150px 260px;
  gap: 14px;
  width: 430px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(83, 63, 35, 0.08);
}

.story-card img {
  width: 150px;
  height: 112px;
  border-radius: 8px;
  object-fit: cover;
}

.story-card strong,
.story-card span {
  display: block;
}

.story-card span {
  color: var(--muted);
  font-size: 12px;
}

.story-card p {
  display: -webkit-box;
  margin: 6px 0 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.story-card-muted {
  grid-template-columns: 260px;
  background: #fff;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  width: min(1120px, 100%);
  margin: 0 auto 24px;
}

.section-head h2,
.page-head h1 {
  margin: 0;
  font-size: clamp(26px, 4.6vw, 42px);
  line-height: 1.2;
  letter-spacing: 0;
}

.section-head p,
.page-head p {
  margin: 8px 0 0;
  color: var(--muted);
}

.grid {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.grid.cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.clickable-card {
  cursor: pointer;
}

.clickable-card:focus-visible {
  outline: 3px solid rgba(63, 143, 104, 0.35);
  outline-offset: 3px;
}

.hotel-card,
.review-card,
.feature-card,
.admin-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(83, 63, 35, 0.07);
}

.hotel-card img,
.hotel-hero img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--soft);
}

.card-body {
  padding: 16px;
}

.card-body h3 {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.35;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: var(--muted);
  font-size: 13px;
}

.rating-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.rating-box {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 4px 9px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}

.rating-box.rakuten {
  color: var(--ink);
  background: #f8dfe7;
}

.mini-link {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 4px 9px;
  border-radius: 8px;
  color: var(--ink);
  background: #eaf7fc;
  font-size: 13px;
  font-weight: 800;
}

.score {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--coral);
  font-weight: 800;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.map-wrap {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 22px;
  align-items: start;
}

.hero-jump-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.area-map {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 18px;
}

.area-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.area-card,
.pref-panel {
  min-height: 112px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  text-align: left;
  box-shadow: 0 8px 20px rgba(83, 63, 35, 0.07);
}

.area-card strong,
.area-card span {
  display: block;
}

.area-card strong {
  font-size: 18px;
}

.area-card span,
.pref-panel p {
  color: var(--muted);
  font-size: 13px;
}

.area-card:hover {
  background: #fff8df;
}

.pref-panel h3 {
  margin-top: 0;
}

.pref-links.expanded {
  gap: 10px;
}

.japan-map {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(223, 243, 232, 0.85), rgba(255, 244, 220, 0.95));
  box-shadow: var(--shadow);
}

.pref-tile {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 3px 0 rgba(63, 143, 104, 0.16);
}

.pref-tile:hover {
  transform: translateY(-1px);
  background: #fff8df;
}

.pref-list {
  display: grid;
  gap: 12px;
}

.pref-region {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.pref-region h3 {
  margin: 0 0 8px;
  font-size: 15px;
}

.pref-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.budget-grid,
.destination-grid,
.feature-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.destination-grid.photo-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.destination-card,
.budget-card {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(83, 63, 35, 0.07);
}

.destination-card.photo-card {
  min-height: 210px;
  position: relative;
  overflow: hidden;
  justify-content: end;
  color: #fff;
  border: 0;
  padding: 0;
}

.photo-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.58));
}

.photo-card strong,
.photo-card span {
  position: relative;
  z-index: 1;
  padding: 0 16px;
}

.photo-card strong {
  padding-bottom: 16px;
}

.photo-card span {
  color: rgba(255,255,255,0.86);
}

.photo-card:hover img {
  transform: scale(1.04);
}

.destination-card strong,
.budget-card strong {
  font-size: 18px;
}

.destination-card span,
.budget-card span {
  color: var(--muted);
  font-size: 13px;
}

.page {
  min-height: 60vh;
  padding: 38px clamp(16px, 4vw, 56px) 70px;
}

.page-head,
.content-wrap {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 10px;
  margin: 22px 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.search-layout {
  width: min(1220px, 100%);
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.search-sidebar {
  position: sticky;
  top: 92px;
}

.side-filter {
  display: grid;
  gap: 13px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(83, 63, 35, 0.07);
}

.side-filter label {
  display: grid;
  gap: 6px;
  font-weight: 800;
}

.side-filter input,
.side-filter select {
  min-height: 42px;
  width: 100%;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.side-filter input[type="range"] {
  padding: 0;
}

.search-pager {
  display: grid;
  grid-template-columns: 110px 1fr 110px;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  text-align: center;
  font-weight: 900;
}

.hotel-detail-wide {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.hotel-gallery {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.main-photo {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.gallery-nav {
  position: absolute;
  top: 42%;
  z-index: 2;
  width: 44px;
  height: 58px;
  border: 0;
  color: #fff;
  background: rgba(40, 52, 58, 0.5);
  font-size: 36px;
}

.gallery-nav.prev {
  left: 12px;
}

.gallery-nav.next {
  right: 12px;
}

.thumb-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
}

.thumb-button {
  padding: 0;
  border: 3px solid transparent;
  border-radius: 8px;
  background: transparent;
  overflow: hidden;
}

.thumb-button.active {
  border-color: var(--green);
}

.photo-more-button {
  display: grid;
  place-items: center;
  min-height: 100%;
  color: var(--ink);
  background: #f8fbfe;
  font-weight: 900;
}

.photo-more-button small {
  color: var(--muted);
  font-size: 12px;
}

.gallery-footer {
  display: flex;
  justify-content: flex-end;
  padding: 0 10px 10px;
}

.thumb-row img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  object-fit: cover;
}

.photo-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  padding: 24px;
  background: rgba(40, 52, 58, 0.58);
}

.photo-modal.active {
  display: grid;
  place-items: center;
}

.photo-modal-panel {
  width: min(960px, 100%);
  max-height: min(820px, 88vh);
  overflow-y: auto;
  padding: 18px;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.photo-modal-panel h2 {
  margin-top: 0;
}

.photo-modal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}

.photo-modal-item {
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  overflow: hidden;
}

.photo-modal-item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.detail-jump {
  display: flex;
  justify-content: center;
}

.hotel-scoreline {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #a65d00;
  font-weight: 900;
}

.hotel-no {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.star-rating {
  position: relative;
  display: inline-block;
  color: #f3aa24;
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0;
}

.star-base {
  color: #c8c8c8;
}

.star-fill {
  position: absolute;
  inset: 0 auto 0 0;
  overflow: hidden;
  white-space: nowrap;
  color: #f3aa24;
}

.muted-stars {
  color: #c8c8c8;
}

.own-info-panel {
  background: #fffaf0;
}

.review-standalone-action {
  display: flex;
  align-items: center;
  gap: 12px;
}

.subtle-link-btn {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font-size: 13px;
  font-weight: 700;
}

.stacked-actions {
  display: grid;
}

.like-btn:disabled {
  opacity: 0.75;
  cursor: default;
}

.detail-panel,
.review-form,
.policy-box {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.detail-panel h2,
.review-form h2 {
  margin-top: 0;
}

.info-list {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.info-list div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1eadf;
}

.info-list dt {
  color: var(--muted);
  font-weight: 700;
}

.info-list dd {
  margin: 0;
}

.reviews {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.review-card {
  position: relative;
  padding: 16px;
  padding-left: 66px;
}

.review-card blockquote {
  margin: 12px 0 0;
  padding: 0;
}

.review-avatar {
  position: absolute;
  left: 16px;
  top: 16px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(23, 38, 77, 0.08);
  overflow: hidden;
}

.avatar-img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: contain;
}

.form-grid {
  display: grid;
  gap: 12px;
}

.form-grid label {
  display: grid;
  gap: 6px;
  font-weight: 700;
}

.child-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 8px;
}

.tag-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.icon-picker {
  --icon-cell: 39px;
  --icon-height: 45px;
  --icon-img-width: 36px;
  --icon-img-height: 45px;
  display: grid;
  grid-template-columns: repeat(15, var(--icon-cell));
  grid-auto-rows: var(--icon-height);
  gap: 1px 0;
  margin-top: 6px;
  width: max-content;
  max-width: 100%;
}

.icon-choice {
  position: relative;
  display: grid;
  place-items: center;
  width: var(--icon-cell);
  height: var(--icon-height);
  padding: 0;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  overflow: visible;
}

.icon-choice input {
  position: absolute;
  opacity: 0;
}

.icon-choice .avatar-img {
  width: var(--icon-img-width);
  height: var(--icon-img-height);
  border-radius: 0;
  object-fit: contain;
}

.icon-choice:has(input:checked) {
  border-color: var(--ink);
  background: #eaf7fc;
  box-shadow: inset 0 0 0 2px rgba(23, 38, 77, 0.08);
}

.check-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
}

.form-note {
  color: var(--muted);
  font-size: 13px;
}

.instagram-tags {
  gap: 9px;
}

.tag-search {
  width: 100%;
  min-height: 42px;
  margin: 8px 0 10px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.selected-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 36px;
  margin-bottom: 10px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.selected-tag {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: #fff;
  background: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.hash-chip {
  display: inline-flex;
}

.hash-chip input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
}

.hash-chip span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid #d5edf7;
  border-radius: 999px;
  color: var(--ink);
  background: #f8fbfe;
  font-size: 14px;
  font-weight: 800;
}

.hash-chip input:checked + span {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.tag-empty {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  align-items: end;
  background: rgba(40, 52, 58, 0);
  pointer-events: none;
  transition: background 0.22s ease;
}

.modal-backdrop.active {
  background: rgba(40, 52, 58, 0.42);
  pointer-events: auto;
}

.bottom-sheet {
  max-height: 88vh;
  overflow-y: auto;
  width: min(760px, calc(100% - 24px));
  margin: 0 auto 12px;
  padding: 20px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 -18px 40px rgba(0, 0, 0, 0.2);
  transform: translateY(108%);
  transition: transform 0.24s ease;
}

.modal-backdrop.active .bottom-sheet {
  transform: translateY(0);
}

.modal-close {
  float: right;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #f5ede2;
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
}

.admin-shell {
  display: grid;
  gap: 16px;
}

.admin-card {
  padding: 16px;
}

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.admin-sync-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.rakuten-sync-form {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 8px;
  margin-top: 12px;
}

.rakuten-sync-form input {
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-list {
  display: grid;
  gap: 12px;
}

.admin-db-filter {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.admin-db-filter select,
.admin-db-filter input {
  min-height: 42px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-table {
  display: grid;
  gap: 10px;
}

.admin-row {
  display: grid;
  grid-template-columns: 92px 42px 86px 1.25fr 0.8fr 110px auto;
  align-items: center;
  gap: 8px 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.admin-row p {
  grid-column: 4 / 7;
  margin: 0;
  color: var(--muted);
}

.admin-row .admin-actions {
  grid-column: 7;
  grid-row: 1 / 3;
  justify-content: flex-end;
  margin-top: 0;
}

.admin-hotel-no {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.admin-review-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  overflow: hidden;
}

.status-badge {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 5px 9px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.status-approved { background: #2f7dd1; }
.status-pending { background: #d9a020; }
.status-rejected { background: #c74f4f; }
.status-deleted { background: #7a7f84; }

.admin-hotel-table {
  display: grid;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.admin-hotel-head,
.admin-hotel-row {
  display: grid;
  grid-template-columns: 130px minmax(220px, 1.3fr) 72px minmax(260px, 1.5fr) 170px;
  min-width: 860px;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
}

.admin-hotel-head {
  color: var(--muted);
  background: #f8fbfe;
  font-size: 12px;
  font-weight: 900;
}

.admin-hotel-row a {
  color: var(--ink);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.admin-hotel-row:last-child {
  border-bottom: 0;
}

.admin-edit-head {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 14px;
}

.admin-hotel-summary {
  display: grid;
  gap: 10px;
  margin: 0;
}

.admin-hotel-summary div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1eadf;
}

.admin-hotel-summary dt {
  color: var(--muted);
  font-weight: 900;
}

.admin-hotel-summary dd {
  margin: 0;
  font-weight: 800;
}

.admin-hotel-edit-form {
  display: grid;
  gap: 12px;
}

.admin-hotel-edit-form label {
  display: grid;
  gap: 6px;
  font-weight: 800;
}

.admin-hotel-edit-form input,
.admin-hotel-edit-form textarea {
  width: 100%;
  min-height: 42px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-hotel-link,
.admin-row a {
  color: var(--ink);
  font-weight: 800;
}

.image-fallback {
  min-height: 180px;
  background:
    linear-gradient(135deg, #f8dfe7, #eaf7fc);
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.empty {
  padding: 24px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #fff;
}

.site-footer {
  display: grid;
  gap: 14px;
  padding: 30px clamp(16px, 4vw, 56px);
  color: #fff;
  background: var(--ink);
}

.site-footer p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.credit {
  font-size: 12px;
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .grid.cards,
  .budget-grid,
  .destination-grid,
  .feature-grid,
  .map-wrap,
  .hotel-detail,
  .search-layout,
  .area-map,
  .home-grid,
  .portal-search-main {
    grid-template-columns: 1fr;
  }

  .home-search {
    padding-top: 18px;
  }

  .compact-panel {
    min-height: 0;
  }

  .area-compact .area-map {
    grid-template-columns: 1fr;
  }

  .search-sidebar {
    position: static;
  }

  .filter-grid {
    grid-template-columns: 1fr 1fr;
  }

  .japan-map {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 620px;
    padding-top: 42px;
  }

  .search-row,
  .filter-grid,
  .child-row,
  .destination-grid.photo-grid,
  .area-cards,
  .admin-db-filter,
  .admin-row {
    grid-template-columns: 1fr;
  }

  .icon-picker {
    --icon-cell: min(39px, calc((100vw - 64px) / 15));
    --icon-height: min(45px, calc((100vw - 64px) / 13));
    --icon-img-width: var(--icon-cell);
    --icon-img-height: var(--icon-height);
    grid-template-columns: repeat(15, var(--icon-cell));
    justify-content: start;
  }

  .review-card {
    padding-left: 16px;
    padding-top: 64px;
  }

  .story-card {
    grid-template-columns: 120px 220px;
    width: 360px;
  }

  .story-card img {
    width: 120px;
    height: 110px;
  }

  .japan-map {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .section-head {
    display: block;
  }

  .info-list div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}
