:root {
  color-scheme: light;
  --bg: #fafaf8;
  --surface: #ffffff;
  --surface-soft: #fff8d6;
  --ink: #392a18;
  --muted: #786852;
  --line: #f1d37a;
  --accent: #ffd43b;
  --accent-soft: #fff7c7;
  --accent-dark: #8a5a00;
  --mint: #67c7a4;
  --mint-soft: #e7fff4;
  --coral: #ff8fae;
  --coral-soft: #fff0f5;
  --sky: #f7c7d7;
  --sky-soft: #fff7fa;
  --shadow: 0 10px 26px rgba(184, 135, 19, 0.12);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
}

.password-form .mypage-reset-button {
  grid-column: 1 / -1 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: stretch;
  min-height: 48px !important;
  padding: 0 14px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 247, 199, 0.72) 0, rgba(250, 250, 248, 0) 180px),
    var(--bg);
  color: var(--ink);
}

[id] {
  scroll-margin-top: 88px;
}

.shop-grid {
  scroll-margin-top: 88px;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 68px;
  padding: 10px clamp(18px, 4vw, 56px);
  background: rgba(255, 253, 244, 0.94);
  border-bottom: 3px solid #ffd43b;
  backdrop-filter: blur(14px);
}

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

.brand-mark,
.brand-character {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
}

.brand-character {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  background: #ffd83d;
  border: 2px solid #f4b400;
  border-radius: 50%;
  box-shadow: 0 5px 0 #f1b600, 0 12px 22px rgba(178, 117, 0, 0.14);
}

.brand-character::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 9px;
  width: 6px;
  height: 6px;
  background: #3a2b17;
  border-radius: 50%;
  box-shadow: 16px 0 0 #3a2b17;
}

.brand-character::after {
  content: "";
  position: absolute;
  top: 24px;
  left: 50%;
  width: 10px;
  height: 7px;
  background: #f29920;
  border-radius: 50% 50% 60% 60%;
  transform: translateX(-50%);
}

.brand-mark {
  background: var(--accent);
  color: #5c3a00;
  border: 1px solid #e7b226;
  border-radius: 50%;
  box-shadow: inset 0 -3px 0 rgba(141, 91, 0, 0.08), 0 8px 18px rgba(201, 146, 31, 0.18);
  font-weight: 900;
}

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

.brand span {
  min-width: 0;
}

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

.nav-links {
  display: flex;
  flex: 1;
  justify-content: flex-end;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  padding: 8px 12px;
  border: 2px solid transparent;
  border-radius: 999px;
}

.nav-links a:hover {
  background: #fff2a6;
  color: var(--ink);
}

.login-button,
.primary-action,
.secondary-action {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.login-button:hover,
.primary-action:hover,
.secondary-action:hover,
.detail-link:hover,
.back-link:hover {
  transform: translateY(-2px);
}

.login-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  padding: 0 16px;
  background: var(--surface);
  border: 2px solid var(--line);
  color: var(--ink);
  box-shadow: 0 5px 0 #f4ca52, 0 12px 24px rgba(137, 91, 12, 0.12);
}

.login-button.is-account {
  justify-content: flex-start;
  gap: 10px;
  min-height: 52px;
  max-width: min(280px, 42vw);
  padding: 7px 14px 7px 8px;
  background: #fffdf8;
  border-color: #f0c34e;
  border-radius: 18px;
  text-align: left;
}

.account-avatar {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 36px;
  height: 36px;
  aspect-ratio: 1;
  overflow: hidden;
  background: #fff8c7;
  border: 2px solid #f4b400;
  border-radius: 50%;
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 900;
}

.account-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-text {
  display: grid;
  min-width: 0;
  line-height: 1.15;
}

.account-text strong,
.account-text small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-text strong {
  font-size: 14px;
  font-weight: 900;
}

.account-text small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
}

.primary-action {
  background: var(--accent);
  color: #3a2b17;
  border: 2px solid #8f6100;
  box-shadow: 0 6px 0 #d99d00, 0 14px 24px rgba(137, 91, 12, 0.15);
}

.secondary-action {
  background: var(--surface);
  color: var(--ink);
  border: 2px solid var(--line);
  box-shadow: 0 5px 0 #f4ca52, 0 12px 22px rgba(137, 91, 12, 0.11);
}

main {
  overflow: visible;
}

.hero {
  display: block;
  padding: clamp(24px, 4vw, 46px) clamp(18px, 6vw, 88px) 64px;
}

.hero-banner {
  position: relative;
  overflow: hidden;
  max-width: 1180px;
  margin: 0 auto;
  min-height: clamp(520px, 55vw, 680px);
  border: 4px solid #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: #fffdf0;
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  width: min(560px, 58%);
  min-height: clamp(520px, 55vw, 680px);
  padding: clamp(28px, 5vw, 58px);
}

.hero-top-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 800px;
  margin-bottom: 22px;
  color: #382817;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.12;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(26px, 3.4vw, 42px);
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.hero-copy p:not(.eyebrow) {
  max-width: 540px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.hero-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  background: #fff;
  border: 2px solid #ffd43b;
  border-radius: 999px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
}

section {
  padding: 68px clamp(18px, 6vw, 88px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section-heading h2::after {
  content: "";
  display: block;
  width: 54px;
  height: 8px;
  margin-top: 10px;
  background: linear-gradient(90deg, #ffd43b, #ff826d, #5fc5a6);
  border-radius: 999px;
}

.prefecture-heading-name {
  display: inline-block;
  margin-right: 0.05em;
  font-size: clamp(52px, 5.8vw, 82px);
  line-height: 0.95;
  letter-spacing: 0;
}

.prefecture-heading-tail {
  display: inline-block;
  font-size: 0.78em;
  line-height: 1.05;
}

.section-copy {
  max-width: 360px;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.search-band,
.review-section,
.request-section {
  background: #ffffff;
  border-top: 1px solid #efe4c7;
}

.search-band {
  padding-bottom: 40px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  background: #fffefa;
  border: 2px solid #f1d37a;
  border-radius: 8px;
  color: var(--ink);
}

input:focus,
select:focus,
textarea:focus {
  border-color: #f4b400;
  outline: 3px solid rgba(255, 212, 59, 0.35);
}

textarea {
  resize: vertical;
}

.industry-ranking-block {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.ranking-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.ranking-heading-row h2 {
  margin: 0;
  font-size: 30px;
}

.ranking-heading-row p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
}

.ranking-filter-accordion {
  overflow: hidden;
  background: #fffefa;
  border: 2px solid #f1d37a;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(137, 91, 12, 0.08);
}

.ranking-filter-options {
  background: #fffefa;
}

.industry-ranking-grid {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 2px 12px;
  scroll-padding: 2px;
  scroll-snap-type: x mandatory;
  scrollbar-color: #f0b400 #fff4c8;
}

.industry-ranking-card,
.ranking-empty {
  overflow: hidden;
  flex: 0 0 min(360px, calc(100vw - 58px));
  scroll-snap-align: start;
  scroll-snap-stop: always;
  background: var(--surface);
  border: 2px solid #f1d37a;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(137, 91, 12, 0.12);
}

.industry-ranking-grid::-webkit-scrollbar {
  height: 10px;
}

.industry-ranking-grid::-webkit-scrollbar-track {
  background: #fff4c8;
  border-radius: 999px;
}

.industry-ranking-grid::-webkit-scrollbar-thumb {
  background: #f0b400;
  border-radius: 999px;
}

.industry-ranking-title {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 12px;
  background: #fff8d6;
  border-bottom: 2px solid #f1d37a;
  color: var(--ink);
}

.ranking-industry-mark {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  background: #fff8d2;
  border-radius: 8px;
  color: #9b6a00;
  font-size: 13px;
  font-weight: 900;
}

.ranking-top-badge {
  display: inline-grid;
  place-items: center;
  min-height: 24px;
  padding: 0 10px;
  background: var(--accent);
  border-radius: 999px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
}

.industry-ranking-list {
  display: grid;
}

.industry-ranking-row {
  display: grid;
  grid-template-columns: 26px 46px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 92px;
  padding: 10px 12px;
  border-bottom: 1px solid #f0dfb5;
  background: #fff;
  transition: background 0.16s ease;
}

.qa-preview-block {
  display: grid;
  gap: 16px;
  margin-top: 38px;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(255, 248, 214, 0.9), rgba(255, 255, 255, 0.94)),
    #fff;
  border: 2px solid #f1d37a;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(137, 91, 12, 0.1);
}

.area-qa-preview {
  gap: 10px;
  margin: -8px 0 28px;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(233, 255, 247, 0.9), rgba(255, 252, 232, 0.92)),
    radial-gradient(circle at 12px 12px, rgba(95, 197, 166, 0.15) 0 4px, transparent 5px) 0 0 / 28px 28px;
  border: 0;
  border-radius: 16px;
  box-shadow: inset 0 0 0 2px #bfe9db, 0 14px 28px rgba(80, 126, 97, 0.09);
}

.area-qa-preview .ranking-heading-row {
  display: flex;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
}

.area-qa-preview .eyebrow {
  margin-bottom: 2px;
}

.area-qa-preview .ranking-heading-row h2 {
  margin: 0;
  font-size: 20px;
}

.area-qa-preview .ranking-heading-row h2::after {
  display: none;
}

.area-qa-more {
  color: #7a5200;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.area-qa-more:hover {
  color: #9b6a00;
}

.area-qa-preview .qa-preview-list {
  display: flex;
  grid-template-columns: none;
  gap: 10px;
  overflow-x: auto;
  padding: 0 2px 6px;
  scroll-padding-left: 2px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.area-qa-preview .qa-card,
.area-qa-preview .empty-result {
  flex: 0 0 min(286px, 76vw);
  min-height: 0;
  padding: 10px;
  border-color: #bfe9db;
  box-shadow: 0 8px 18px rgba(80, 126, 97, 0.08);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.area-qa-preview .qa-card {
  gap: 7px;
}

.area-qa-preview .qa-card-top {
  gap: 5px;
  flex-wrap: nowrap;
  overflow: hidden;
  font-size: 11px;
  white-space: nowrap;
}

.area-qa-preview .qa-card h3 {
  display: -webkit-box;
  overflow: hidden;
  font-size: 16px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.area-qa-preview .qa-card p {
  display: -webkit-box;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.area-qa-preview .qa-author-line {
  gap: 6px;
  flex-wrap: nowrap;
  overflow: hidden;
  font-size: 12px;
  white-space: nowrap;
}

.area-qa-preview .qa-author-line small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.area-qa-preview .qa-avatar.small {
  width: 28px;
  height: 28px;
  font-size: 12px;
}

.area-qa-preview .qa-preview-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.area-qa-preview .qa-preview-actions a {
  flex: 0 1 148px;
  min-height: 38px;
  font-size: 13px;
}

.qa-preview-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.qa-preview-actions a {
  flex: 0 1 190px;
}

.qa-preview-list,
.qa-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
}

.qa-card,
.qa-detail-card,
.qa-answer-card,
.qa-form-card,
.qa-login-cta {
  display: grid;
  gap: 14px;
  padding: 18px;
  background: #fff;
  border: 2px solid #f1d37a;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(137, 91, 12, 0.08);
}

.qa-card {
  align-content: start;
}

.qa-card-link {
  color: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.qa-card-link:hover {
  border-color: #e4b528;
  box-shadow: 0 14px 28px rgba(137, 91, 12, 0.14);
  transform: translateY(-1px);
}

.qa-card-top,
.qa-author-line,
.qa-answer-author {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.qa-card-top {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.qa-card h3,
.qa-card p,
.qa-detail-card h2,
.qa-detail-card p,
.qa-answer-card p,
.qa-login-cta h3,
.qa-login-cta p {
  margin: 0;
}

.qa-card h3 {
  font-size: 18px;
  line-height: 1.45;
}

.qa-detail-card h2 {
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.35;
}

.qa-detail-card > p {
  color: #5f5142;
  font-size: clamp(18px, 2.1vw, 24px);
  font-weight: 700;
  line-height: 1.9;
}

.qa-card h3 a {
  color: var(--ink);
  text-decoration: none;
}

.qa-card h3 a:hover {
  color: #9b6a00;
}

.qa-card p,
.qa-detail-card p,
.qa-answer-card p,
.qa-login-cta p {
  color: var(--muted);
  line-height: 1.8;
}

.qa-avatar {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  overflow: hidden;
  background: var(--accent);
  border: 2px solid #efb400;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 900;
}

.qa-avatar.small {
  width: 28px;
  height: 28px;
  font-size: 12px;
}

.qa-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qa-author-line small,
.qa-answer-author small {
  color: var(--muted);
  font-weight: 700;
}

.qa-page {
  display: grid;
  gap: 28px;
  padding: 42px clamp(18px, 6vw, 88px) 72px;
}

.qa-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.qa-hero h1 {
  margin-bottom: 14px;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1;
}

.qa-hero h1::after {
  content: "";
  display: block;
  width: 54px;
  height: 8px;
  margin-top: 12px;
  background: linear-gradient(90deg, #ffd43b, #ff826d, #5fc5a6);
  border-radius: 999px;
}

.qa-hero p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.qa-back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 30px;
  padding: 0 12px;
  background: #fff8e1;
  border: 1px solid #eadfbf;
  border-radius: 999px;
  color: #7a5b1c;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.qa-back-link:hover {
  background: #ffefad;
}

.qa-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.42fr);
  gap: 24px;
  align-items: start;
}

.qa-list-section {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 18px;
  background: #fff;
  border: 2px solid #f1d37a;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(137, 91, 12, 0.08);
}

.qa-form-card,
.qa-login-cta {
  position: sticky;
  top: 88px;
}

.qa-list-section .qa-list {
  grid-template-columns: 1fr;
}

.qa-list-section .section-heading.compact {
  margin-bottom: 0;
}

.qa-post-card h2,
.qa-post-card p {
  margin: 0;
}

.qa-post-card p {
  color: var(--muted);
  line-height: 1.8;
}

.qa-post-details {
  display: grid;
  gap: 14px;
}

.qa-post-details summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  background: var(--accent);
  border: 2px solid #3a2a12;
  border-radius: 999px;
  box-shadow: 0 5px 0 #b47a00;
  color: var(--ink);
  cursor: pointer;
  font-size: 15px;
  font-weight: 900;
  list-style: none;
}

.qa-post-details summary::-webkit-details-marker {
  display: none;
}

.qa-post-details[open] summary {
  margin-bottom: 14px;
}

.qa-post-card .qa-form {
  grid-template-columns: 1fr;
}

.section-heading.compact {
  align-items: start;
  margin-bottom: 8px;
}

.section-heading.compact h2 {
  font-size: 26px;
}

.qa-form {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 14px;
}

.qa-form .wide,
.qa-form button,
.qa-form .notice {
  grid-column: 1 / -1;
}

.qa-answer-list {
  display: grid;
  gap: 14px;
}

.qa-answer-card {
  border-color: #e9d8a7;
}

.qa-answer-section {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.qa-answer-section .section-heading.compact {
  padding-bottom: 12px;
  border-bottom: 2px solid #f1d37a;
}

.qa-answer-section .qa-answer-card {
  padding: 18px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #eadfbf;
  border-radius: 0;
  box-shadow: none;
}

.qa-answer-section .qa-answer-card:last-child {
  border-bottom: 0;
}

.qa-answer-section .qa-answer-card p {
  color: #5f5142;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.9;
}

.qa-like-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  gap: 6px;
  min-height: 38px;
  padding: 0 14px;
  background: #fff8d6;
  border: 2px solid #f1d37a;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.qa-like-button:hover,
.qa-like-button.is-liked {
  background: #ffe8f0;
  border-color: #ff8db2;
  color: #8f3550;
}

.qa-loading {
  padding: 18px;
  background: #fffefa;
  border: 2px dashed #f1d37a;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 800;
}

.mypage-qa-section {
  max-width: 980px;
  margin: 0 auto 28px;
}

.mypage-side-content {
  display: grid;
  gap: 14px;
  max-width: 980px;
  margin: 0 auto 28px;
  padding-top: 42px;
  padding-bottom: 42px;
  background:
    linear-gradient(135deg, rgba(232, 255, 247, 0.88), rgba(255, 252, 232, 0.92)),
    #f7fffb;
  border-top: 1px solid #cdeee4;
  border-bottom: 1px solid #e8ddb6;
}

.mypage-side-content .section-heading {
  margin-bottom: 4px;
}

.mypage-side-content .section-heading h2 {
  font-size: clamp(24px, 3vw, 32px);
}

.mypage-side-content .section-heading h2::after {
  width: 44px;
  height: 6px;
  margin-top: 8px;
}

.mypage-side-content .qa-preview-list {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.mypage-side-content .qa-card {
  gap: 10px;
  padding: 14px;
  border-color: #d9ead0;
  box-shadow: 0 8px 18px rgba(80, 126, 97, 0.08);
}

.mypage-side-content .qa-card h3 {
  font-size: 17px;
}

.mypage-side-content .qa-card p {
  font-size: 13px;
  line-height: 1.7;
}

.mypage-qa-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 14px;
}

.mypage-qa-actions .secondary-action {
  min-width: 190px;
}

.industry-ranking-row:last-child {
  border-bottom: 0;
}

.industry-ranking-row:hover {
  background: #fffaf0;
}

.ranking-number {
  color: #d09700;
  font-size: 17px;
  font-weight: 900;
  text-align: center;
}

.industry-ranking-row:nth-child(n + 4) .ranking-number {
  color: #9b9b9b;
}

.industry-ranking-row img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border: 1px solid #ead9af;
  border-radius: 8px;
  background: #fffefa;
}

.ranking-shop-body {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.ranking-shop-body strong,
.ranking-meta {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-shop-body strong {
  font-size: 14px;
}

.ranking-meta {
  color: #6f8791;
  font-size: 11px;
  font-weight: 700;
}

.ranking-score-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.ranking-stars {
  color: #ff8a00;
  font-size: 13px;
  letter-spacing: 0;
}

.ranking-score {
  color: #ff6fa2;
  font-size: 16px;
  font-weight: 900;
}

.ranking-review-count {
  margin-left: auto;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.ranking-empty {
  grid-column: 1 / -1;
  padding: 22px;
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.filter-panel {
  --filter-sheet-header-height: 62px;
  position: static;
  z-index: 40;
  overflow: visible;
  width: 100%;
  max-height: none;
  margin: 20px 0 0;
  background: #fffefa;
  border: 2px solid #f1d37a;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transform: none;
  transition: none;
  -webkit-overflow-scrolling: touch;
}

.filter-panel.is-open {
  transform: none;
}

.filter-sheet-open {
  overflow: hidden;
}

.filter-sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 35;
  background: rgba(53, 39, 24, 0.38);
}

.prefecture-search {
  display: grid;
  grid-template-columns: minmax(560px, 1.12fr) minmax(0, 1fr);
  gap: clamp(14px, 2vw, 24px);
  align-items: start;
  margin: 22px 0;
  padding: clamp(18px, 3vw, 30px);
  background: #fff;
  border: 1px solid #f1d37a;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.prefecture-search.is-map-commented {
  grid-template-columns: 1fr;
}

.prefecture-map-card {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  background:
    radial-gradient(circle at 14px 14px, rgba(255, 216, 90, 0.22) 0 4px, transparent 5px) 0 0 / 28px 28px,
    linear-gradient(135deg, #fffefa 0%, #fff7d7 100%);
  border: 2px solid #f6d46f;
  border-radius: 18px;
  box-shadow: inset 0 -8px 0 rgba(240, 180, 0, 0.12);
}

.prefecture-map-illustration {
  width: 100%;
  height: 100%;
  min-height: 340px;
  padding: 14px 18px 12px;
  overflow: visible;
}

.map-sign path:first-child {
  fill: rgba(0, 0, 0, 0.08);
}

.map-sign path:nth-child(2) {
  fill: rgba(255, 255, 255, 0.88);
  stroke: #e8dcc8;
  stroke-width: 2;
}

.map-sign text {
  fill: #ff7ba8;
  font-family: inherit;
  font-weight: 900;
  text-anchor: middle;
}

.map-sign text:first-of-type {
  fill: #59bdd1;
  font-size: 19px;
  font-style: italic;
  letter-spacing: 0.03em;
}

.map-sign text:nth-of-type(2),
.map-sign text:nth-of-type(3) {
  font-size: 24px;
}

.map-mascot circle:first-child {
  fill: #ffd23f;
  stroke: #e8a900;
  stroke-width: 3;
}

.map-mascot circle:not(:first-child) {
  fill: #3a2a12;
}

.map-mascot path {
  fill: none;
  stroke: #dd7a00;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.map-cell {
  stroke: #fff;
  stroke-linejoin: round;
  stroke-width: 5;
}

.map-hokkaido,
.map-tohoku {
  fill: #fff1a6;
}

.map-kita-kanto {
  fill: #e8d9ff;
}

.map-kanto {
  fill: #ffd0e0;
}

.map-hokuriku,
.map-chubu {
  fill: #c7ead9;
}

.map-shizuoka {
  fill: #ffd7c8;
}

.map-tokai {
  fill: #cfe2f7;
}

.map-kansai {
  fill: #ffd9ad;
}

.map-chugoku {
  fill: #f8bfd0;
}

.map-shikoku {
  fill: #f3c0dc;
}

.map-kyushu {
  fill: #e7f2b5;
}

.map-okinawa {
  fill: #c9eee3;
}

.map-labels text {
  fill: #5c6471;
  font-family: inherit;
  font-size: 15px;
  font-weight: 900;
  text-anchor: middle;
  dominant-baseline: central;
  paint-order: stroke;
  stroke: rgba(255, 255, 255, 0.75);
  stroke-width: 3;
}

.map-sparkles {
  fill: #f8b700;
  opacity: 0.8;
}

.prefecture-groups {
  display: grid;
  gap: 10px;
}

.prefecture-region {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
}

.prefecture-region strong {
  padding-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.prefecture-region div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.prefecture-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  background: #fff8e1;
  border: 1px solid #eadfbf;
  border-radius: 999px;
  color: #6f5d3c;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.prefecture-chip:hover,
.prefecture-chip.is-active {
  background: var(--accent);
  border-color: #f0b400;
  color: var(--ink);
  box-shadow: 0 3px 0 #d99d00;
}

.prefecture-neighbor-nav {
  display: none;
}

.area-seo-links {
  display: none;
}

.is-prefecture-landing .shop-search-sticky,
.is-prefecture-landing .filter-sheet-backdrop,
.is-prefecture-landing .filter-panel,
.is-prefecture-landing .search-result-heading,
.is-prefecture-landing .shop-grid,
.is-prefecture-landing .industry-ranking-block,
.is-prefecture-landing .qa-preview-block,
.is-prefecture-landing .request-section,
.is-prefecture-landing .policy-section {
  display: none !important;
}

.is-prefecture-landing .search-band {
  min-height: calc(100vh - 70px);
  padding-top: clamp(34px, 7vw, 76px);
}

.is-prefecture-landing .prefecture-search {
  margin-top: 24px;
}

.is-prefecture-page .area-seo-links {
  display: block;
  margin: 28px 0 2px;
  padding: 14px 2px 0;
  color: rgba(124, 108, 82, 0.38);
  font-size: 0.72rem;
  line-height: 1.9;
}

.area-seo-links span {
  color: inherit;
  font-size: inherit;
  font-weight: 700;
  margin-right: 0.4em;
}

.area-seo-links a {
  background: transparent;
  border: 0;
  border-radius: 0;
  color: rgba(124, 108, 82, 0.42);
  font-size: inherit;
  font-weight: 700;
  padding: 0;
  text-decoration: none;
}

.area-seo-links a::after {
  content: "・";
  margin: 0 0.45em;
  color: rgba(124, 108, 82, 0.28);
}

.area-seo-links a:last-child::after {
  content: "";
  margin: 0;
}

.area-seo-links a:hover {
  color: rgba(124, 108, 82, 0.78);
  text-decoration: underline;
}

.is-prefecture-page .search-band {
  padding-top: 32px;
}

.is-prefecture-page .prefecture-search {
  display: none;
}

.is-prefecture-page .prefecture-neighbor-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: -6px 0 16px;
}

.is-prefecture-page .prefecture-neighbor-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  background: #fff8e1;
  border: 1px solid #eadfbf;
  border-radius: 999px;
  color: #7c6845;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.is-prefecture-page .prefecture-neighbor-nav a:hover {
  background: #fff3bf;
  border-color: #f0b400;
  color: var(--ink);
}

.latest-prefecture-reviews {
  display: grid;
  gap: 12px;
  margin: 16px 0 26px;
  padding: 16px 14px 18px;
  background:
    linear-gradient(135deg, rgba(255, 213, 70, 0.24), rgba(255, 246, 190, 0.78)),
    radial-gradient(circle at 12px 12px, rgba(255, 190, 40, 0.2) 0 4px, transparent 5px) 0 0 / 28px 28px;
  border: 0;
  border-radius: 16px;
  box-shadow: inset 0 0 0 2px #f1d37a, 0 14px 30px rgba(125, 88, 19, 0.1);
}

.latest-prefecture-reviews[hidden] {
  display: none;
}

.latest-reviews-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  padding: 0 4px;
}

.latest-reviews-head .eyebrow {
  margin-bottom: 3px;
  font-size: 10px;
}

.latest-reviews-head h3 {
  margin: 0;
  font-size: 21px;
}

.latest-reviews-more {
  padding: 0;
  background: transparent;
  border: 0;
  color: #9a6a00;
  cursor: pointer;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.latest-reviews-rail {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 2px 2px 10px;
  scroll-padding-left: 2px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.latest-review-card {
  position: relative;
  display: block;
  flex: 0 0 min(320px, 82vw);
  min-height: 134px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #efd58b;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(125, 88, 19, 0.08);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.latest-review-card-link {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 10px;
  height: 100%;
  min-height: 134px;
  padding: 10px;
  border-radius: inherit;
}

.latest-review-card-link:hover,
.latest-review-card-link:focus-visible {
  background: #fffaf0;
  outline: 0;
}

.latest-review-thumb {
  display: block;
  overflow: hidden;
  height: 100%;
  min-height: 114px;
  border-radius: 8px;
}

.latest-review-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.latest-review-body {
  display: grid;
  min-width: 0;
  gap: 7px;
}

.latest-review-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
  font-size: 11px;
  font-weight: 900;
}

.latest-review-meta span,
.latest-review-meta strong {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 7px;
  background: #fff7d6;
  border: 1px solid #efd58b;
  border-radius: 999px;
}

.latest-review-meta strong {
  background: #fff0bd;
  color: #966500;
}

.latest-review-title {
  display: block;
  overflow: hidden;
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.latest-review-text {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.latest-review-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  font-weight: 900;
}

.latest-review-member,
.latest-review-shop {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  min-width: 0;
  color: #7f5700;
}

.latest-review-member {
  position: relative;
  z-index: 2;
}

.latest-review-member-link {
  position: absolute;
  z-index: 3;
  bottom: 10px;
  left: 104px;
  width: 72px;
  height: 28px;
  border-radius: 999px;
}

.latest-review-member-link:focus-visible {
  outline: 3px solid rgba(255, 212, 59, 0.55);
}

.latest-review-footer .member-avatar {
  width: 24px;
  height: 24px;
  border-width: 2px;
  font-size: 10px;
  box-shadow: none;
}

.latest-review-footer .member-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.prefecture-local-map {
  display: none;
}

.is-prefecture-page .prefecture-local-map {
  display: none;
}

.local-map-card {
  display: grid;
  justify-items: center;
  padding: clamp(18px, 3vw, 30px);
  background:
    radial-gradient(circle at 14px 14px, rgba(255, 216, 90, 0.16) 0 4px, transparent 5px) 0 0 / 28px 28px,
    linear-gradient(135deg, #fffefa 0%, #fff9e5 100%);
  border: 1px solid #f1d37a;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.local-map-visual {
  width: min(720px, 100%);
  min-height: clamp(260px, 34vw, 440px);
  padding: clamp(12px, 2vw, 18px);
  background: rgba(255, 255, 255, 0.72);
  border: 2px solid #f6d46f;
  border-radius: 14px;
}

.local-map-svg {
  display: block;
  width: 100%;
  height: 100%;
  min-height: clamp(240px, 32vw, 410px);
}

.local-map-cell {
  fill: #efe8d7;
  stroke: #fff;
  stroke-linejoin: round;
  stroke-width: 5;
  opacity: 0.72;
}

.local-map-cell.is-active {
  fill: #ffd23f;
  opacity: 1;
  filter: drop-shadow(4px 6px 0 rgba(216, 156, 0, 0.22));
}

.local-map-pin circle {
  display: none;
  fill: #ff7ba8;
  opacity: 0.92;
  stroke: #fff;
  stroke-width: 5;
}

.local-map-pin circle.is-shown {
  display: block;
}

.city-map-svg {
  overflow: visible;
}

.city-map-shape {
  fill: #fff7d7;
  stroke: #f1d37a;
  stroke-linejoin: round;
  stroke-width: 5;
  filter: drop-shadow(5px 7px 0 rgba(221, 163, 0, 0.14));
}

.osaka-shape {
  fill: #f7fbdf;
}

.city-map-line {
  fill: none;
  stroke: #f0d98c;
  stroke-linecap: round;
  stroke-width: 10;
}

.city-map-line.is-yamanote {
  stroke: #9edfc6;
  stroke-dasharray: 8 10;
  stroke-width: 8;
}

.city-station circle {
  fill: #fff;
  stroke: #f0b400;
  stroke-width: 5;
}

.city-station.is-main circle {
  fill: #ffd23f;
}

.city-station text {
  fill: #3a2a12;
  font-family: inherit;
  font-size: 13px;
  font-weight: 900;
  text-anchor: middle;
  dominant-baseline: central;
  paint-order: stroke;
  stroke: rgba(255, 255, 255, 0.78);
  stroke-width: 4;
}

.city-map-label {
  fill: #59bdd1;
  font-family: inherit;
  font-size: 18px;
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-anchor: middle;
}

.local-map-copy h3 {
  margin: 4px 0 8px;
  color: var(--ink);
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.15;
}

.local-map-copy p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.8;
}

.local-map-area-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.local-map-area-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  background: #fff;
  border: 1px solid #eadfbf;
  border-radius: 999px;
  color: #7c6845;
  font-size: 12px;
  font-weight: 900;
}

.shop-search-sticky {
  position: static;
  z-index: 30;
  display: none;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  width: min(720px, 100%);
  margin: 18px 0 0;
  padding: 10px 12px;
  background: rgba(255, 253, 248, 0.96);
  border: 2px solid #f1d37a;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(137, 91, 12, 0.12);
  backdrop-filter: blur(12px);
}

.shop-search-open {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px;
  align-items: center;
  min-height: 42px;
  padding: 0 6px 0 18px;
  background: #fff;
  border: 2px solid #e9d398;
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  font-weight: 900;
  text-align: left;
}

.shop-search-open strong {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-left: auto;
  background: var(--accent);
  border-radius: 50%;
  color: var(--ink);
  font-size: 18px;
}

.shop-result-count {
  color: #f04f86;
  font-size: 18px;
  font-weight: 900;
  white-space: nowrap;
}

.filter-sheet-header {
  position: static;
  top: auto;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: var(--filter-sheet-header-height);
  padding: 0 18px;
  background: #fffefa;
  border-bottom: 1px solid #f5df9c;
}

.filter-sheet-header h3 {
  margin: 0;
  font-size: 18px;
}

.filter-sheet-close {
  display: none;
  place-items: center;
  width: 38px;
  height: 38px;
  background: #f8f4e8;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.filter-mode-tabs {
  position: static;
  top: auto;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: #fff;
  border-bottom: 1px solid #f5df9c;
}

.filter-mode {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 54px;
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
}

.filter-mode span {
  display: inline;
}

.filter-mode.is-active {
  background: #fff7db;
  border-bottom-color: var(--accent);
  color: var(--accent-dark);
}

.filter-mode-panel {
  display: none;
}

.filter-mode-panel.is-active {
  display: block;
}

.similar-filter-note {
  display: grid;
  gap: 10px;
  margin: 14px;
  padding: 12px 14px;
  background: #fff0f5;
  border: 2px solid #ffd0dc;
  border-radius: 8px;
  color: #a94c65;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.6;
}

.inline-register-link {
  justify-self: start;
  min-height: 34px;
  padding: 0 14px;
  background: #ffd43b;
  border: 2px solid #9a7000;
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
  box-shadow: 0 3px 0 #d99d00;
}

.selected-filter-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  min-height: 54px;
  padding: 10px 14px;
  background: linear-gradient(180deg, #fffefa, #fff8da);
  border-bottom: 1px solid #f5df9c;
}

.search-icon {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--muted);
  font-size: 22px;
  line-height: 1;
}

.selected-filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  min-width: 0;
}

.selected-filter-tag,
.selected-filter-empty {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.selected-filter-tag {
  background: #fff8d6;
  border: 2px solid #f1d37a;
  color: var(--accent-dark);
}

.selected-filter-empty {
  color: var(--muted);
  font-weight: 700;
}

.text-button {
  min-height: 34px;
  padding: 0 8px;
  background: transparent;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
}

.keyword-field {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-bottom: 1px solid #f5df9c;
}

.keyword-field span {
  display: inline-flex;
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
}

.filter-accordion {
  border-bottom: 1px solid #f5df9c;
}

.filter-accordion:last-of-type {
  border-bottom: 0;
}

.filter-accordion summary {
  display: flex;
  align-items: center;
  min-height: 54px;
  gap: 12px;
  padding: 0 14px;
  background: #fffefa;
  color: var(--ink);
  cursor: pointer;
  font-size: 15px;
  font-weight: 900;
  list-style: none;
}

.filter-accordion summary::-webkit-details-marker {
  display: none;
}

.filter-accordion summary::before {
  content: "⌄";
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: var(--muted);
  font-size: 16px;
  transform: rotate(-90deg);
  transition: transform 0.16s ease;
}

.filter-accordion[open] summary {
  background: #fff8df;
}

.filter-accordion[open] summary::before {
  transform: rotate(0deg);
}

.filter-count {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  margin-left: auto;
  background: #fff8d6;
  border-radius: 999px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
}

.filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px;
  background: #fff;
}

.filter-chip {
  min-height: 38px;
  padding: 0 14px;
  background: #fffefa;
  border: 2px solid #e6d6ac;
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
}

.filter-chip:hover {
  background: #fff8d4;
}

.filter-chip.is-active {
  background: #fff8d6;
  border-color: #e3ad00;
  color: var(--accent-dark);
}

.filter-checkbox {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: fit-content;
  min-height: 44px;
  margin: 14px;
  padding: 8px 12px;
  background: #fffefa;
  border: 2px solid #f1d37a;
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
}

.filter-checkbox input {
  width: auto;
  min-height: auto;
  margin-right: 8px;
  accent-color: var(--mint);
}

.filter-extra-options {
  display: grid;
  gap: 12px;
  padding: 14px;
  background: #fff;
}

.sort-field {
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.sort-field select {
  cursor: pointer;
  font-weight: 900;
}

.filter-extra-options .filter-checkbox {
  margin: 0;
}

.filter-submit {
  display: flex;
  width: calc(100% - 28px);
  margin: 14px auto 8px;
  position: sticky;
  bottom: 10px;
  z-index: 2;
}

.filter-clear-button {
  display: flex;
  justify-content: center;
  width: calc(100% - 28px);
  min-height: 36px;
  margin: 0 auto 14px;
  padding: 0 16px;
  background: #fffefa;
  border: 2px solid #e6d6ac;
  border-radius: 999px;
  color: var(--muted);
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
  margin-top: 10px;
}

.search-result-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 36px 0 18px;
  padding: 16px 18px;
  background: #fff;
  border-top: 3px solid #f0b400;
  border-bottom: 1px solid #eadfbf;
  box-shadow: 0 12px 26px rgba(64, 45, 14, 0.05);
}

.search-result-heading span {
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
}

.search-result-heading strong {
  color: #e84f8a;
  font-size: 18px;
  font-weight: 900;
}

.shop-card,
.similar-review-card,
.empty-result,
.review-form,
.request-form,
.quick-signup-card,
.mypage-card,
.policy-grid article,
.admin-columns article,
.pending-item,
.admin-item {
  background: var(--surface);
  border: 2px solid #f1d37a;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.shop-card {
  position: relative;
  display: grid;
  gap: 0;
  overflow: hidden;
  padding: 0;
  text-align: left;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.empty-result {
  grid-column: 1 / -1;
  padding: 28px;
  text-align: center;
}

.empty-result h3 {
  margin-bottom: 8px;
  font-size: 22px;
}

.empty-result p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.show-all-shops {
  grid-column: 1 / -1;
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 18px;
  background: #fffefa;
  border: 2px dashed #f1d37a;
  border-radius: 8px;
}

.show-all-shops p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.show-all-shops-button {
  min-height: 38px;
  padding: 0 16px;
  background: #fff7db;
  border: 2px solid #f1d37a;
  border-radius: 999px;
  color: #8a5a00;
}

.shop-pager {
  grid-column: 1 / -1;
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 20px 16px;
  background: linear-gradient(180deg, #fffefa, #fff9df);
  border: 2px solid #f1d37a;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(137, 91, 12, 0.08);
}

.shop-pager p {
  margin: 0;
  color: var(--muted);
  font-weight: 900;
}

.shop-pager-controls {
  width: min(100%, 560px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}

.shop-pager-prev {
  justify-self: start;
}

.shop-pager-next {
  justify-self: end;
}

.shop-pager-pages {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.shop-pager-button {
  min-width: 42px;
  min-height: 40px;
  padding: 0 14px;
  background: #fffefa;
  border: 2px solid #f1d37a;
  border-radius: 999px;
  color: #8a5a00;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  box-shadow: 0 3px 0 #f4ca52;
}

.shop-pager-button:hover,
.shop-pager-button:focus-visible,
.shop-pager-button.is-active {
  background: var(--accent);
  border-color: #f0b400;
  color: var(--ink);
}

.shop-pager-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  box-shadow: none;
}

.shop-pager-ellipsis {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--muted);
  font-weight: 900;
}

.shop-card:hover {
  transform: translateY(-4px);
}

.shop-card-keep {
  position: absolute;
  z-index: 3;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.94);
  border: 2px solid #ffc6d8;
  border-radius: 999px;
  color: #a94c65;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 4px 0 #f3b2c7, 0 10px 18px rgba(87, 54, 0, 0.14);
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.shop-card-keep span {
  color: #ff6fa2;
  font-size: 17px;
  line-height: 1;
}

.shop-card-keep:hover,
.shop-card-keep:focus-visible {
  background: #fff7fb;
  outline: 0;
  transform: translateY(-2px);
}

.shop-card-keep.is-kept {
  background: #ffe8f0;
  border-color: #ff8db2;
  color: #8f3550;
  box-shadow: 0 4px 0 #ed94b2, 0 10px 18px rgba(87, 54, 0, 0.14);
}

.similar-review-card {
  display: grid;
  gap: 14px;
  padding: 20px;
  text-align: left;
}

.similar-review-shop-thumb {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  margin: -20px -20px 2px;
  background: var(--surface-soft);
  border-bottom: 2px solid #f1d37a;
  border-radius: 8px 8px 0 0;
}

.similar-review-shop-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.similar-review-shop-thumb:hover img {
  transform: scale(1.03);
}

.similar-review-card h3 {
  margin: 0;
  font-size: 20px;
}

.similar-review-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.75;
}

.similar-member-spec {
  font-size: 13px;
}

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

.similar-review-metric {
  display: grid;
  gap: 3px;
  min-height: 56px;
  padding: 9px;
  background: #fffdf0;
  border: 2px solid #f1d37a;
  border-radius: 8px;
}

.similar-review-metric small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.similar-review-metric strong {
  color: var(--accent-dark);
  font-size: 17px;
  line-height: 1.1;
}

.similar-review-metric.is-total {
  background: linear-gradient(180deg, #fff2ba 0%, #fff9df 100%);
  border-color: #ffcb32;
}

.similar-review-metric.is-earning {
  background: linear-gradient(180deg, #e4faef 0%, #fbfff9 100%);
  border-color: #63cfaa;
}

.similar-review-shop-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 46px;
  padding: 10px 12px;
  background: #fff8d4;
  border: 2px solid #f1d37a;
  border-radius: 12px;
  color: var(--ink);
  font-weight: 900;
}

.similar-review-shop-link strong {
  flex: 0 0 auto;
  color: #8a5a00;
}

.shop-card-photo {
  height: 150px;
  margin: -20px -20px 4px;
  width: calc(100% + 40px);
  object-fit: cover;
  background: var(--surface-soft);
}

.shop-card-main {
  display: grid;
  gap: 14px;
  width: 100%;
  padding: 20px;
  background: transparent;
  border: 0;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.shop-card-main:hover {
  background: #fff9cf;
}

.shop-card-main:focus-visible,
.login-button:focus-visible,
.primary-action:focus-visible,
.secondary-action:focus-visible {
  outline: 3px solid rgba(255, 130, 109, 0.55);
  outline-offset: 2px;
}

.shop-card h3 {
  margin: 0;
  font-size: 19px;
}

.card-meta,
.status-row,
.score-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.shop-sort-score {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  min-height: 30px;
  padding: 3px 9px;
  background: #fff8d4;
  border: 2px solid #f1d37a;
  border-radius: 999px;
  color: var(--accent-dark);
  font-weight: 900;
}

.shop-sort-score small {
  font-size: 11px;
}

.shop-sort-score strong {
  font-size: 18px;
  line-height: 1;
}

.shop-sort-score.is-earning {
  background: #e4faef;
  border-color: #63cfaa;
  color: #247256;
}

.shop-sort-score.is-staff,
.shop-sort-score.is-schedule {
  background: #fff7fa;
  border-color: #ffb6c9;
  color: #a94c65;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  background: var(--accent-soft);
  border: 2px solid #f2cf61;
  border-radius: 999px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
}

.pill.mint {
  background: var(--mint-soft);
  color: #247256;
  border-color: #95e0c3;
}

.pill.coral {
  background: var(--coral-soft);
  color: #a43b2e;
  border-color: #ffc4b8;
}

.pill.sky {
  background: var(--sky-soft);
  color: #14668e;
  border-color: #a8dff6;
}

.pill.muted {
  background: #f7f1df;
  color: var(--muted);
  border-color: #e5d7b8;
}

.shop-card p,
.policy-grid p,
.admin-item p,
.pending-item p {
  color: var(--muted);
  line-height: 1.7;
}

.shop-card-summary {
  display: -webkit-box;
  min-height: calc(1.7em * 3);
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.detail-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
}

.score-badge {
  min-width: 110px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.score-bars {
  display: grid;
  gap: 12px;
}

.score-bar {
  display: grid;
  grid-template-columns: 120px 1fr minmax(44px, auto);
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.bar {
  height: 9px;
  overflow: hidden;
  background: #fff1bf;
  border-radius: 999px;
}

.bar span {
  display: block;
  height: 100%;
  background: var(--mint);
}

.overview-score-featured {
  min-height: 48px;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(119, 89, 22, 0.08);
}

.overview-score-featured > span {
  color: var(--ink);
  font-weight: 900;
}

.overview-score-featured strong {
  font-size: 15px;
  white-space: nowrap;
}

.overview-score-total {
  background: linear-gradient(180deg, #fff2ba 0%, #fff9df 100%);
  border: 2px solid #ffcb32;
}

.overview-star-score {
  grid-template-columns: 82px 1fr auto;
}

.overview-score-total strong {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  min-width: 54px;
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.66);
  border-radius: 999px;
  color: #8a5a00;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.overview-stars {
  display: flex;
  gap: 3px;
  color: #ead7a4;
  font-size: 22px;
  line-height: 1;
}

.overview-star {
  position: relative;
  display: inline-block;
  color: #ead7a4;
}

.overview-star::before {
  content: "★";
  position: absolute;
  inset: 0;
  width: var(--star-fill);
  overflow: hidden;
  color: #ffbc20;
  text-shadow: 0 1px 0 #9b6a00;
}

.overview-score-earning {
  background: linear-gradient(180deg, #e4faef 0%, #fbfff9 100%);
  border: 2px solid #63cfaa;
}

.overview-score-earning strong {
  color: #247256;
}

.open-label {
  margin-left: auto;
  color: #8a5a00;
  font-weight: 800;
}

.review-snippets h4 {
  margin: 0 0 10px;
  font-size: 15px;
}

.mini-distribution {
  display: grid;
  gap: 10px;
}

.mini-distribution h4 {
  margin: 0;
  font-size: 15px;
}

.detail-link,
.back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 40px;
  padding: 0 14px;
  background: #ffcf24;
  border: 2px solid #8f6100;
  border-radius: 999px;
  color: #3a2b17;
  font-weight: 800;
  box-shadow: 0 5px 0 #d99d00;
}

.back-link {
  background: #fff;
  border: 2px solid var(--line);
  color: var(--ink);
}

.shop-page {
  overflow: visible;
}

.shop-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding-top: 56px;
  padding-bottom: 42px;
}

.shop-hero-copy {
  display: grid;
  gap: 18px;
}

.shop-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.keep-shop-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  background: #fff7fb;
  border: 2px solid #ffc6d8;
  border-radius: 999px;
  color: #a94c65;
  cursor: pointer;
  font-weight: 900;
  box-shadow: 0 5px 0 #f3b2c7, 0 12px 22px rgba(137, 91, 12, 0.11);
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.keep-shop-button span {
  color: #ff6fa2;
  font-size: 20px;
  line-height: 1;
}

.keep-shop-button:hover {
  transform: translateY(-2px);
}

.keep-shop-button.is-kept {
  background: #ffe8f0;
  border-color: #ff8db2;
  color: #8f3550;
  box-shadow: 0 5px 0 #ed94b2, 0 12px 22px rgba(137, 91, 12, 0.11);
}

.shop-hero h1 {
  margin-bottom: 0;
}

.shop-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.shop-hero-photo {
  width: 100%;
  height: min(420px, 46vw);
  min-height: 280px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.detail-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-top: 32px;
  background: var(--surface);
  border-top: 1px solid #efe4c7;
}

.detail-panel,
.review-card {
  padding: 20px;
  background: var(--surface);
  border: 2px solid #f1d37a;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.job-ad-section {
  display: grid;
  gap: 18px;
  width: min(1180px, calc(100% - clamp(36px, 12vw, 176px)));
  margin: 0 auto;
  padding: 34px 0 22px;
  background: var(--surface);
}

.job-ad-heading {
  display: grid;
  grid-template-columns: minmax(40px, 1fr) auto auto minmax(40px, 1fr);
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-align: center;
}

.job-ad-heading span {
  height: 1px;
  background: var(--ink);
  opacity: 0.75;
}

.job-ad-heading h2 {
  margin: 0;
  font-size: 18px;
}

.job-ad-heading em {
  padding: 3px 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
}

.job-ad-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  min-width: 0;
}

.job-ad-card {
  position: relative;
  display: grid;
  gap: 12px;
  min-width: 0;
  min-height: 230px;
  padding: 16px;
  background: #fff;
  border: 1.5px solid #37b24d;
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
}

.job-ad-card.is-empty {
  border-color: #d8d8d8;
  background: #f7f7f7;
  color: #777;
}

.job-ad-card.is-active:hover,
.job-ad-card.is-active:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(31, 92, 52, 0.16);
}

.job-ad-check {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  background: #37b24d;
  border-radius: 999px;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
}

.job-ad-card.is-empty .job-ad-check {
  background: #999;
}

.job-ad-logo {
  display: grid;
  place-items: center;
  min-height: 70px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  font-size: 24px;
  font-weight: 1000;
  text-align: center;
}

.job-ad-logo-pink {
  color: #ff4fa0;
}

.job-ad-logo-gray {
  color: #a0a0a0;
}

.job-ad-logo-orange {
  color: #f08a24;
}

.job-ad-logo-rainbow {
  color: #e5527f;
  text-shadow: 1px 1px 0 #ffe28a;
}

.job-ad-logo-rose {
  color: #f06f9f;
}

.job-ad-logo-peach {
  color: #f2a0b9;
}

.job-ad-card h3 {
  margin: 0;
  font-size: 15px;
  text-align: center;
}

.job-ad-copy {
  display: grid;
  gap: 6px;
  align-self: end;
  padding: 12px;
  background: #ffdf82;
  border-radius: 8px;
}

.job-ad-card.is-empty .job-ad-copy {
  background: #fff;
}

.job-ad-copy strong {
  font-size: 13px;
}

.job-ad-copy p {
  margin: 0;
  color: #5f5131;
  font-size: 12px;
  line-height: 1.55;
}

.detail-panel h2 {
  margin-bottom: 18px;
  font-size: 21px;
}

.reviews-section,
.shop-memo-section,
.bottom-nav-section {
  background: var(--surface);
  border-top: 1px solid #efe4c7;
}

.review-list {
  display: grid;
  gap: 14px;
}

.review-summary-list,
.review-slider-section {
  display: grid;
  gap: 18px;
}

.review-slider-section + .review-slider-section {
  margin-top: 20px;
}

.review-pick-heading {
  display: grid;
  gap: 6px;
}

.review-pick-heading h3 {
  margin: 0;
  font-size: 22px;
}

.review-pick-heading p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.7;
}

.review-slider {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 2px 2px 12px;
  scroll-padding-left: 2px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.review-slider .review-card {
  flex: 0 0 min(560px, 88vw);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.review-pager {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 14px 12px 4px;
}

.review-pager p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.review-pager-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.review-pager-button {
  min-width: 38px;
  min-height: 36px;
  padding: 0 12px;
  background: #fffefa;
  border: 2px solid #f1d37a;
  border-radius: 999px;
  color: #8a5a00;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 3px 0 #f4ca52;
}

.review-pager-button:hover,
.review-pager-button:focus-visible,
.review-pager-button.is-active {
  background: var(--accent);
  border-color: #f0b400;
  color: var(--ink);
}

.review-pager-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  box-shadow: none;
}

.review-slider-compact {
  gap: 10px;
}

.review-slider-compact .review-card,
.review-card.is-compact-review {
  flex-basis: min(360px, 76vw);
  padding: 12px;
  border-width: 1px;
  box-shadow: 0 10px 22px rgba(88, 59, 21, 0.08);
}

.review-card.is-compact-review .review-author-row {
  gap: 9px;
  margin-bottom: 8px;
}

.review-card.is-compact-review .member-avatar {
  width: 38px;
  height: 38px;
  border-width: 2px;
  box-shadow: none;
}

.review-card.is-compact-review .member-name {
  margin-bottom: 4px;
  font-size: 14px;
}

.review-card.is-compact-review .status-row {
  gap: 5px;
}

.review-card.is-compact-review .pill {
  min-height: 22px;
  padding: 0 7px;
  font-size: 11px;
}

.review-card.is-compact-review .review-metrics {
  gap: 6px;
  margin: 8px 0 2px;
}

.review-card.is-compact-review .review-metric {
  min-height: 54px;
  padding: 7px;
  border-width: 1px;
}

.review-card.is-compact-review .review-metric-label {
  gap: 4px;
  font-size: 10px;
}

.review-card.is-compact-review .review-metric-icon {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  font-size: 10px;
}

.review-card.is-compact-review .review-metric strong {
  font-size: 14px;
}

.review-card.is-compact-review h3 {
  margin-top: 8px;
  overflow: hidden;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.review-card.is-compact-review p {
  display: -webkit-box;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.review-card.is-compact-review .review-actions {
  display: none;
}

.review-author-row {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}

.member-avatar {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 52px;
  height: 52px;
  background: #fff8c7;
  border: 3px solid #f4b400;
  border-radius: 50%;
  color: var(--accent-dark);
  font-size: 15px;
  font-weight: 900;
  text-align: center;
  box-shadow: 0 5px 0 #f1b600, 0 12px 20px rgba(178, 117, 0, 0.14);
}

.member-avatar:hover {
  transform: translateY(-2px);
}

.member-avatar img,
.profile-icon img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.member-name {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 900;
}

.review-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0 4px;
}

.review-metric {
  display: grid;
  gap: 4px;
  min-height: 62px;
  padding: 10px;
  background: #fffdf0;
  border: 2px solid #f1d37a;
  border-radius: 8px;
}

.review-metric-label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.review-metric-icon {
  display: inline-grid;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.review-metric strong {
  color: var(--accent-dark);
  font-size: 17px;
  line-height: 1.2;
}

.review-metric-featured {
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(119, 89, 22, 0.08);
}

.review-metric-featured::after {
  position: absolute;
  right: -16px;
  bottom: -22px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 68px;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

.review-metric-total {
  background: linear-gradient(180deg, #fff2ba 0%, #fff9df 100%);
  border-color: #ffcb32;
}

.review-metric-total::after {
  content: "★";
}

.review-metric-total .review-metric-icon {
  background: #ffcb32;
  color: #3a2b17;
}

.review-metric-total strong {
  color: #8a5a00;
}

.review-metric-earning {
  background: linear-gradient(180deg, #e4faef 0%, #fbfff9 100%);
  border-color: #63cfaa;
}

.review-metric-earning::after {
  content: "¥";
}

.review-metric-earning .review-metric-icon {
  background: #5fc5a6;
  color: #fff;
}

.review-metric-earning strong {
  color: #247256;
}

.compact-review-form {
  max-width: 980px;
}

.total-rating-control {
  max-width: 360px;
}

.large-memo-textarea {
  min-height: 220px;
}

.bottom-nav-section {
  padding-top: 34px;
  padding-bottom: 54px;
}

.review-card h3 {
  margin-top: 12px;
}

.review-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.8;
}

.review-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
}

.review-like-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 12px;
  background: #fff7fb;
  border: 2px solid #ffc6d8;
  border-radius: 999px;
  color: #a94c65;
  cursor: pointer;
  font-weight: 900;
}

.review-like-button span {
  color: #ff6fa2;
  font-size: 18px;
  line-height: 1;
}

.review-like-button small {
  min-width: 1.5em;
  color: inherit;
  font-weight: 900;
  text-align: center;
}

.review-like-button:hover,
.review-like-button.is-liked {
  background: #ffe8f0;
  border-color: #ff8db2;
  color: #8f3550;
}

.review-form,
.request-form,
.quick-signup-form,
.profile-form {
  display: grid;
  gap: 16px;
  max-width: 920px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 248, 214, 0.46), rgba(255, 255, 255, 0) 180px),
    #fff;
}

.quick-signup-card,
.mypage-card {
  display: grid;
  gap: 20px;
  max-width: 980px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 248, 214, 0.52), rgba(255, 255, 255, 0) 190px),
    #fff;
}

.quick-signup-card h2,
.quick-signup-card p,
.mypage-card p {
  margin-bottom: 0;
}

.quick-signup-card p,
.mypage-card p {
  color: var(--muted);
  line-height: 1.8;
}

.quick-signup-form,
.profile-form {
  max-width: none;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.quick-signup-form small,
.auth-panel small {
  color: var(--muted);
  line-height: 1.6;
}

.email-check-page {
  min-height: calc(100vh - 80px);
}

.email-check-card {
  gap: 18px;
}

.email-check-card h1 {
  max-width: 760px;
}

.email-check-card .primary-action {
  width: fit-content;
}

.email-check-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.email-check-steps div {
  display: grid;
  gap: 8px;
  padding: 16px;
  background: #fffdfa;
  border: 2px solid #ffe28a;
  border-radius: 14px;
}

.email-check-steps span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--accent);
  border: 2px solid #b78200;
  border-radius: 50%;
  color: var(--ink);
  font-weight: 900;
}

.email-check-steps strong {
  font-size: 18px;
}

.email-check-help {
  font-size: 14px;
}

.mypage-hero {
  padding-top: 56px;
}

.mypage-keeps {
  padding-top: 20px;
  background: #fff;
}

.kept-shop-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.kept-shop-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 14px;
  overflow: hidden;
  padding: 14px;
  background: var(--surface);
  border: 2px solid #f1d37a;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.kept-shop-card img {
  width: 100%;
  height: 132px;
  object-fit: cover;
  border-radius: 8px;
}

.kept-shop-card h3 {
  margin: 8px 0;
  font-size: 20px;
}

.kept-shop-card p {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 12px;
  color: var(--muted);
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.kept-shop-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.kept-shop-foot strong {
  color: var(--ink);
  font-size: 14px;
}

.kept-shop-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.keep-remove-button {
  min-height: 38px;
  padding: 0 14px;
  background: #fffefa;
  border: 2px solid #f1d37a;
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
}

.keep-remove-button:hover,
.keep-remove-button:focus-visible {
  background: #fff2bf;
  color: var(--ink);
}

.profile-summary {
  display: flex;
  gap: 16px;
  align-items: center;
  min-width: 0;
}

.logout-button {
  justify-self: end;
  flex: 0 0 auto;
  margin-left: auto;
  padding: 10px 16px;
  background: #fff;
  border: 2px solid #e7c45b;
  border-radius: 999px;
  color: var(--accent-dark);
  font-weight: 900;
  box-shadow: 0 4px 0 #e8b100;
  cursor: pointer;
}

.logout-button:hover {
  transform: translateY(1px);
  box-shadow: 0 3px 0 #e8b100;
}

.profile-summary > div:last-child {
  min-width: 0;
}

.profile-summary h1 {
  overflow-wrap: anywhere;
}

.profile-summary p {
  overflow-wrap: anywhere;
}

.profile-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 76px;
  height: 76px;
  aspect-ratio: 1;
  overflow: hidden;
  background: #fff8c7;
  border: 3px solid #f4b400;
  border-radius: 50%;
  color: var(--accent-dark);
  font-size: 22px;
  font-weight: 900;
  text-align: center;
  box-shadow: 0 8px 0 #f1b600, 0 16px 28px rgba(178, 117, 0, 0.16);
}

.profile-form {
  grid-template-columns: 1fr;
}

.profile-image-block {
  display: grid;
}

.profile-fields-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.profile-form .primary-action {
  width: fit-content;
}

.profile-image-field small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.profile-image-field input[type="file"] {
  width: 100%;
  max-width: 420px;
  min-height: auto;
  padding: 10px;
  background: #fffefa;
}

.password-form {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: 16px;
  margin-top: 12px;
}

.password-form .primary-action,
.password-form .mypage-reset-button {
  width: 100%;
  min-width: 0;
  justify-self: stretch;
}

.password-form .primary-action {
  grid-column: 1 / -1;
}

.mypage-reset-button {
  grid-column: 1 / -1;
  min-height: 48px;
  text-align: center;
}

.member-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.member-info-grid div {
  display: grid;
  gap: 6px;
  padding: 14px;
  background: #fffdf0;
  border: 2px solid #f1d37a;
  border-radius: 12px;
}

.member-info-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.member-info-grid strong {
  color: var(--ink);
  font-size: 16px;
}

.mypage-memos {
  background: var(--surface);
  border-top: 1px solid #efe4c7;
}

.mypage-latest-memos {
  max-width: 980px;
  margin: 0 auto 28px;
}

.mypage-latest-rail {
  padding-bottom: 8px;
}

.mypage-latest-memos .latest-review-card {
  flex-basis: min(300px, 78vw);
  border-color: #d9ead0;
  box-shadow: 0 8px 18px rgba(80, 126, 97, 0.08);
}

.mypage-empty {
  display: grid;
  gap: 12px;
  justify-items: center;
}

.score-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.review-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.rating-control {
  gap: 12px;
  padding: 16px;
  background: #fffdf0;
  border: 2px solid #f1d37a;
  border-radius: 12px;
  box-shadow: inset 0 0 0 4px rgba(255, 244, 168, 0.3);
}

.rating-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
}

.rating-head strong {
  font-size: 16px;
  line-height: 1.4;
}

.rating-value {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  color: var(--accent-dark);
}

.rating-control output {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 36px;
  padding: 0 8px;
  background: #ffd43b;
  border: 2px solid #8f6100;
  border-radius: 8px;
  color: #3a2b17;
  font-size: 20px;
  font-weight: 900;
}

.money-value output {
  min-width: 88px;
  font-size: 16px;
}

.rating-value small {
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 900;
}

.rating-scale {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
}

.rating-scale span:nth-child(2) {
  text-align: center;
}

.rating-scale span:last-child {
  text-align: right;
}

.rating-control > small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.rating-control input[type="range"] {
  --range-progress: 75%;
  width: 100%;
  height: 40px;
  padding: 0;
  background: linear-gradient(to right, #2f80ed 0 var(--range-progress), #e5e7eb var(--range-progress) 100%) center / 100% 8px no-repeat;
  border: 0;
  border-radius: 999px;
  appearance: none;
}

.rating-control input[type="range"]::-webkit-slider-runnable-track {
  height: 8px;
  background: transparent;
  border-radius: 999px;
}

.rating-control input[type="range"]::-webkit-slider-thumb {
  width: 26px;
  height: 26px;
  margin-top: -9px;
  background: #fff;
  border: 3px solid #2f80ed;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(36, 76, 130, 0.22);
  appearance: none;
}

.rating-control input[type="range"]::-moz-range-track {
  height: 8px;
  background: transparent;
  border-radius: 999px;
}

.rating-control input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  background: #fff;
  border: 3px solid #2f80ed;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(36, 76, 130, 0.22);
}

fieldset {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 16px;
  border: 2px solid #f1d37a;
  background: #fffdf0;
  border-radius: 12px;
}

legend {
  padding: 0 8px;
  color: var(--muted);
  font-weight: 800;
}

fieldset label,
.checkbox-line {
  display: flex;
  align-items: center;
  gap: 8px;
}

fieldset input,
.checkbox-line input {
  width: auto;
  min-height: auto;
}

.policy-grid,
.admin-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.policy-grid article,
.admin-columns article,
.pending-item,
.admin-item {
  padding: 18px;
}

.admin-columns {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
}

.admin-columns > article:last-child {
  position: sticky;
  top: 92px;
  max-height: calc(100vh - 112px);
  overflow: auto;
}

.pending-list,
#adminMembers,
#adminMemberReviews,
#adminReviews,
#adminShops {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.admin-page .site-header {
  position: static;
}

.admin-note {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.8;
}

.admin-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0;
}

.admin-summary-card {
  display: grid;
  gap: 4px;
  padding: 16px;
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: 8px;
}

.admin-summary-card span,
.signal-source-block span,
.signal-score-row span,
.admin-action-row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.admin-summary-card strong {
  font-size: 34px;
  line-height: 1;
}

.admin-summary-card small {
  color: var(--muted);
  line-height: 1.5;
}

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

.admin-crawler-controls {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(150px, 0.6fr) auto;
  gap: 12px;
  align-items: end;
  margin-top: 16px;
}

.admin-crawler-controls label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.admin-crawler-notice {
  max-width: none;
}

.admin-filter-button {
  min-height: 34px;
  padding: 0 12px;
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.admin-filter-button.is-active {
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 4px 0 #d99d00;
}

.media-signal-card {
  display: grid;
  gap: 12px;
}

.media-signal-card h3 {
  margin: 0;
}

.signal-score-row {
  display: grid;
  grid-template-columns: auto 44px minmax(120px, 1fr);
  align-items: center;
  gap: 10px;
}

.signal-score-row strong {
  font-size: 22px;
  text-align: right;
}

.signal-score-row meter {
  width: 100%;
  height: 12px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: #f4e7bd;
}

.signal-score-row meter::-webkit-meter-bar {
  background: #f4e7bd;
  border: 0;
}

.signal-score-row meter::-webkit-meter-optimum-value {
  background: var(--mint);
}

.signal-source-block {
  display: grid;
  gap: 6px;
}

.admin-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 4px;
}

.compact-action {
  min-height: 34px;
  padding: 0 12px;
  font-size: 13px;
}

.admin-login-section {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 92px);
}

.admin-login-card {
  width: min(520px, 100%);
  padding: 28px;
  background: var(--surface);
  border: 2px solid #f1d37a;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.admin-login-card h1 {
  margin-bottom: 10px;
  font-size: 30px;
}

.admin-login-card p {
  color: var(--muted);
  line-height: 1.7;
}

.admin-login-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.admin-login-error {
  background: var(--coral-soft);
  border-color: #ffc4b8;
  color: #a43b2e;
}

.admin-page {
  background: #f5f7fb;
  color: #0f172a;
}

.admin-page .site-header {
  position: sticky;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.admin-page main {
  overflow: visible;
}

.admin-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px clamp(18px, 4vw, 40px) 56px;
}

.admin-section .section-heading {
  padding: 0;
  border: 0;
}

.admin-note {
  max-width: 840px;
  margin: 12px 0 0;
  color: #64748b;
}

.admin-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-top: 24px;
}

.admin-sidebar {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 8px;
  padding: 10px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
}

.admin-nav-button {
  display: grid;
  gap: 3px;
  width: 100%;
  min-height: 58px;
  padding: 10px 12px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #475569;
  cursor: pointer;
  text-align: left;
}

.admin-nav-button span {
  color: inherit;
  font-size: 14px;
  font-weight: 900;
}

.admin-nav-button small {
  color: #94a3b8;
  font-size: 11px;
  font-weight: 800;
}

.admin-nav-button:hover {
  background: #fff9df;
  border-color: #f1d37a;
}

.admin-nav-button.is-active {
  background: #fff3bf;
  border-color: #f0b400;
  color: #3a2a12;
  box-shadow: inset 4px 0 0 #ffca28;
}

.admin-nav-button.is-active small {
  color: #7a5200;
}

.admin-main-panels {
  min-width: 0;
}

.admin-summary-grid {
  gap: 14px;
  margin: 24px 0;
}

.admin-summary-card,
.admin-columns article,
.admin-panel-card,
.admin-item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
}

.admin-summary-card {
  gap: 6px;
  padding: 18px;
}

.admin-summary-card span,
.admin-summary-card small,
.signal-source-block span,
.signal-score-row span,
.admin-action-row span {
  color: #64748b;
}

.admin-summary-card strong {
  color: #0f172a;
}

.admin-tools-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: 16px;
  margin: 0 0 20px;
}

.admin-tool-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
}

.admin-tool-card h2,
.admin-columns h2,
.admin-panel-card h2 {
  margin: 0;
  color: #0f172a;
  font-size: 18px;
}

.admin-tab-panel[hidden] {
  display: none;
}

.admin-panel-card {
  padding: 18px;
}

.admin-panel-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.admin-review-queue {
  margin: 20px 0 0;
}

.admin-sort-row {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 10px;
  margin-top: 14px;
}

.admin-sort-row label {
  display: grid;
  gap: 6px;
  min-width: 180px;
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
}

.admin-sort-row select {
  min-height: 38px;
}

.admin-member-filter-box {
  margin-top: 12px;
  padding: 12px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

.admin-member-filter-panel {
  margin-bottom: 16px;
}

.admin-member-filter-panel .admin-panel-heading {
  align-items: center;
}

.admin-member-filter-panel .admin-panel-heading .admin-filter-button {
  flex: 0 0 auto;
}

.admin-member-filter-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) repeat(2, minmax(220px, 1fr));
  gap: 12px;
  align-items: stretch;
}

.admin-member-keyword-field {
  align-self: start;
}

.admin-multi-filter {
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  gap: 8px;
  min-width: 0;
  padding: 12px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

.admin-multi-filter span {
  color: #475569;
  font-size: 12px;
  font-weight: 900;
}

.admin-multi-filter button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  min-height: 30px;
  padding: 0 10px;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  color: #475569;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
}

.admin-multi-filter button:hover {
  border-color: #f0b400;
  color: #3a2a12;
}

.admin-multi-filter button.is-active {
  background: #fff3bf;
  border-color: #f0b400;
  color: #3a2a12;
  box-shadow: 0 3px 0 #d99d00;
}

.admin-multi-filter {
  grid-template-columns: repeat(auto-fit, minmax(84px, auto));
}

.admin-multi-filter span {
  grid-column: 1 / -1;
}

.admin-member-filter-box summary {
  cursor: pointer;
  color: #0f172a;
  font-size: 14px;
  font-weight: 900;
}

.admin-member-filter-grid label {
  display: grid;
  gap: 6px;
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
}

.admin-member-filter-grid input,
.admin-member-filter-grid select {
  min-height: 38px;
}

.admin-member-filter-box > .admin-filter-button {
  margin-top: 12px;
}

.admin-member-card.is-selected {
  border-color: #0f172a;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
}

.admin-member-card[data-admin-member-select] {
  cursor: pointer;
}

.admin-member-card[data-admin-member-select]:hover {
  border-color: #94a3b8;
  transform: translateY(-1px);
}

.admin-member-card[data-admin-member-select]:focus-visible {
  outline: 3px solid #93c5fd;
  outline-offset: 3px;
}

.admin-selected-member {
  display: grid;
  gap: 3px;
  padding: 14px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

.admin-selected-member strong {
  color: #0f172a;
  font-size: 18px;
}

.admin-selected-member span {
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}

.admin-member-detail-list {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
}

.admin-member-detail-list div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid #e5e7eb;
}

.admin-member-detail-list dt {
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
}

.admin-member-detail-list dd {
  min-width: 0;
  margin: 0;
  color: #0f172a;
  font-size: 13px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.admin-member-review-heading {
  margin: 0;
  font-size: 16px;
}

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

.admin-member-review-toolbar p {
  margin: 4px 0 0;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.admin-member-review-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.admin-member-review-controls[hidden] {
  display: none;
}

.admin-member-review-controls span {
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.admin-member-review-window {
  display: grid;
  gap: 12px;
}

.admin-member-review-card h3 {
  margin-bottom: 8px;
}

.admin-edit-card {
  overflow: hidden;
}

.admin-edit-card + .admin-edit-card {
  margin-top: 14px;
}

.admin-edit-form,
.admin-answer-form {
  display: grid;
  gap: 14px;
}

.admin-edit-card-head,
.admin-answer-form-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.admin-edit-card-head h3 {
  margin: 8px 0 4px;
  color: #0f172a;
  font-size: 18px;
}

.admin-edit-card-head p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}

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

.admin-edit-grid label,
.admin-answer-form label {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: #475569;
  font-size: 12px;
  font-weight: 900;
}

.admin-edit-grid .wide,
.admin-answer-form label:first-of-type {
  grid-column: 1 / -1;
}

.admin-edit-grid input,
.admin-edit-grid textarea,
.admin-answer-form input,
.admin-answer-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #dbe2ea;
  border-radius: 8px;
  background: #fff;
  color: #0f172a;
  font: inherit;
  font-weight: 800;
}

.admin-edit-grid input,
.admin-answer-form input {
  min-height: 38px;
  padding: 0 10px;
}

.admin-edit-grid textarea,
.admin-answer-form textarea {
  padding: 10px;
  resize: vertical;
  line-height: 1.7;
}

.admin-danger-button {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 12px;
  background: #fff5f5;
  border: 1px solid #fecaca;
  border-radius: 999px;
  color: #b91c1c;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
}

.admin-danger-button:hover {
  background: #fee2e2;
}

.admin-danger-button.ghost {
  min-height: 30px;
  background: #fff;
}

.admin-answer-admin-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #e5e7eb;
}

.admin-answer-form {
  padding: 12px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

.admin-answer-form-head strong {
  color: #0f172a;
  font-size: 14px;
}

.admin-empty-mini {
  margin: 0;
  padding: 12px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}

.admin-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

.admin-pagination [hidden] {
  display: none;
}

.admin-pagination > span {
  color: #64748b;
  font-size: 13px;
  font-weight: 900;
}

.admin-page-size-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #64748b;
  font-size: 13px;
  font-weight: 900;
}

.admin-page-size-label select {
  min-height: 34px;
  padding: 0 28px 0 10px;
  background-color: #fff;
  border: 1px solid #dbe2ea;
  border-radius: 8px;
  color: #0f172a;
  font-weight: 900;
}

.admin-pagination > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.admin-page-button {
  min-width: 38px;
  min-height: 34px;
  padding: 0 10px;
  background: #fff;
  border: 1px solid #dbe2ea;
  border-radius: 8px;
  color: #475569;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
}

.admin-page-button.is-active {
  background: #0f172a;
  color: #fff;
}

.admin-page-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.admin-page-gap {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  color: #94a3b8;
  font-weight: 900;
}

.admin-mini-form,
.admin-shop-form {
  display: grid;
  gap: 12px;
}

.admin-shop-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.admin-media-links {
  display: grid;
  gap: 12px;
  padding: 14px;
  background: #fffdf5;
  border: 1px solid #f1d37a;
  border-radius: 8px;
}

.admin-media-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.admin-media-heading h4 {
  margin: 0 0 4px;
  font-size: 16px;
}

.admin-media-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.admin-media-count {
  flex: 0 0 auto;
  padding: 6px 10px;
  background: #fff3bf;
  border: 1px solid #f1c44f;
  border-radius: 999px;
  color: #7a5200;
  font-size: 12px;
  font-weight: 900;
}

.admin-media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.admin-media-field {
  display: grid;
  gap: 10px;
  padding: 12px;
  background: #fff;
  border: 1px solid #eadfbf;
  border-radius: 8px;
}

.admin-media-field.is-active {
  border-color: #48b564;
  box-shadow: inset 0 0 0 1px #48b564;
}

.admin-media-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 8px;
  align-items: center;
}

.admin-media-top strong {
  color: var(--ink);
  font-size: 14px;
}

.admin-media-top small {
  grid-column: 1 / 2;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.admin-media-top em {
  grid-row: 1 / span 2;
  grid-column: 2 / 3;
  align-self: start;
  padding: 4px 8px;
  background: #f4f4f1;
  border-radius: 999px;
  color: #8b8574;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.admin-media-field.is-active .admin-media-top em {
  background: #dcfce7;
  color: #15803d;
}

.admin-media-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.admin-media-control input {
  min-width: 0;
}

.admin-media-control a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid #f1c44f;
  border-radius: 999px;
  color: #7a5200;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.admin-inline-notice {
  max-width: none;
  margin: 0;
}

.admin-hero-preview {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

.admin-member-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
}

.admin-member-avatar {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: #fff7cc;
  border: 2px solid #f4ca52;
  border-radius: 50%;
  color: #8a5a00;
  font-weight: 900;
}

.admin-member-card h3 {
  margin: 0 0 4px;
}

.admin-member-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.admin-member-heading h3 {
  margin: 0;
}

.admin-member-heading span {
  padding: 3px 8px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 900;
}

.admin-wide-columns {
  grid-template-columns: 1fr;
  margin-top: 16px;
}

.admin-filter-button {
  background: #fff;
  border: 1px solid #dbe2ea;
  color: #475569;
}

.admin-filter-button.is-active {
  background: #0f172a;
  color: #fff;
  box-shadow: none;
}

.admin-login-section {
  min-height: calc(100dvh - 68px);
  padding: 32px 18px;
  background:
    radial-gradient(circle at top left, rgba(255, 216, 90, 0.22), transparent 34%),
    #f5f7fb;
}

.admin-login-card {
  padding: 30px;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}

.admin-login-card h1 {
  color: #0f172a;
}

.admin-login-card p {
  color: #64748b;
}

.notice {
  max-width: 920px;
  margin-top: 12px;
  padding: 14px 16px;
  background: #e7f6ef;
  border: 2px solid #b8e3d0;
  border-radius: 8px;
  color: #247256;
  font-weight: 700;
}

dialog {
  width: min(420px, calc(100vw - 32px));
  border: 2px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

dialog::backdrop {
  background: rgba(44, 37, 32, 0.35);
}

.login-form {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 16px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 4px;
  background: #fff6d8;
  border: 2px solid var(--line);
  border-radius: 999px;
}

.auth-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.auth-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
}

#authLogin:checked ~ .auth-tabs label[for="authLogin"],
#authRegister:checked ~ .auth-tabs label[for="authRegister"] {
  background: #ffd43b;
  color: var(--ink);
  box-shadow: 0 4px 0 #d99d00;
}

.auth-panel {
  display: none;
  gap: 14px;
}

#authLogin:checked ~ #loginPanel,
#authRegister:checked ~ #registerPanel,
#authReset:checked ~ #resetPanel {
  display: grid;
}

.auth-panel h3 {
  margin-bottom: 0;
  font-size: 22px;
}

.auth-back-link {
  justify-self: start;
  width: fit-content;
  cursor: pointer;
}

.auth-panel.has-error::before {
  content: attr(data-error);
  padding: 10px 12px;
  background: var(--coral-soft);
  border: 1px solid #f3c0b8;
  border-radius: 8px;
  color: #a43b2e;
  font-size: 13px;
  font-weight: 700;
}

.auth-panel.has-notice::before {
  content: attr(data-notice);
  padding: 10px 12px;
  background: #e4faef;
  border: 1px solid #95e0c3;
  border-radius: 8px;
  color: #247256;
  font-size: 13px;
  font-weight: 700;
}

.auth-lead {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.dialog-close {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 22px;
}

@media (min-width: 981px) {
  .search-band > .section-heading,
  .search-band > .prefecture-neighbor-nav,
  .search-band > .latest-prefecture-reviews,
  .search-band > .filter-panel,
  .search-band > .search-result-heading,
  .search-band > .shop-grid,
  .search-band > .industry-ranking-block,
  .search-band > .qa-preview-block {
    width: min(100% - 48px, 1280px);
    margin-right: auto;
    margin-left: auto;
  }
}

@media (max-width: 980px) {
  .site-header {
    align-items: center;
    flex-wrap: nowrap;
    gap: 12px;
    overflow: hidden;
  }

  .site-header .nav-links {
    display: none !important;
    visibility: hidden;
    width: 0;
    height: 0;
    overflow: hidden;
  }

  .shop-grid,
  .score-grid,
  .review-profile-grid,
  .similar-review-metrics,
  .prefecture-search,
  .local-map-card,
  .member-info-grid,
  .profile-fields-grid,
  .policy-grid,
  .admin-summary-grid,
  .admin-columns,
  .admin-tools-grid,
  .admin-layout,
  .admin-shop-fields,
  .admin-crawler-controls,
  .admin-edit-grid,
  .admin-media-grid,
  .job-ad-grid,
  .shop-hero,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .admin-edit-card-head,
  .admin-answer-form-head {
    align-items: stretch;
  }

  .review-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .review-metric {
    min-height: 68px;
    padding: 9px 10px;
  }

  .review-metric-featured::after {
    right: -12px;
    bottom: -20px;
    font-size: 58px;
  }

  .admin-media-heading,
  .admin-media-control {
    grid-template-columns: 1fr;
  }

  .admin-media-heading {
    display: grid;
  }

  .profile-summary h1 {
    font-size: clamp(32px, 9vw, 54px);
    line-height: 1.12;
  }

  .profile-summary {
    flex-wrap: wrap;
  }

  .logout-button {
    width: min(220px, 100%);
    margin-left: 0;
  }

  .password-form {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .password-form .primary-action,
  .password-form .mypage-reset-button {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 48px;
    white-space: normal;
  }

  .password-form .mypage-reset-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .section-heading {
    display: grid;
    align-items: start;
    gap: 8px;
  }

  .section-copy {
    max-width: none;
  }

  .prefecture-search {
    gap: 12px;
    padding: 14px;
  }

  .prefecture-map-card {
    min-height: 260px;
  }

  .prefecture-map-illustration {
    min-height: 260px;
    padding: 10px 10px 8px;
  }

  .local-map-card {
    gap: 14px;
  }

  .local-map-visual {
    width: min(620px, 100%);
    min-height: 240px;
  }

  .local-map-svg {
    min-height: 220px;
  }

  .prefecture-region {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 10px;
  }

  .prefecture-region strong {
    padding-top: 10px;
    font-size: 15px;
  }

  .prefecture-region div {
    gap: 10px;
  }

  .prefecture-chip {
    min-height: 42px;
    padding: 0 16px;
    font-size: 16px;
    font-weight: 900;
  }

  .admin-layout {
    gap: 12px;
  }

  .admin-sidebar {
    position: sticky;
    top: 74px;
    z-index: 5;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 8px;
    scrollbar-width: none;
  }

  .admin-sidebar::-webkit-scrollbar {
    display: none;
  }

  .admin-nav-button {
    flex: 0 0 168px;
  }

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

  .admin-columns > article:last-child {
    position: static;
    max-height: none;
    overflow: visible;
  }

  .admin-member-review-toolbar {
    display: grid;
  }

  .ranking-heading-row {
    display: grid;
    gap: 6px;
  }

  .ranking-heading-row p {
    max-width: none;
  }

  .similar-review-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .email-check-steps {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-banner {
    min-height: 620px;
  }

  .hero-copy {
    width: min(620px, 72%);
    min-height: 620px;
  }

  .hero-top-photo {
    object-position: 62% center;
  }

  .shop-hero-photo {
    height: 320px;
    min-height: 0;
  }
}

@media (max-width: 760px) {
  .job-ad-section {
    width: min(100% - 32px, 1180px);
  }

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

  body.is-prefecture-page:not(.is-prefecture-landing) main {
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  }

  body.is-prefecture-page:not(.is-prefecture-landing) .search-band {
    padding-bottom: 10px;
  }

  .filter-panel {
    position: fixed;
    left: 50%;
    bottom: 0;
    overflow: auto;
    width: min(720px, 100vw);
    max-height: 84dvh;
    margin: 0;
    border-bottom: 0;
    border-radius: 18px 18px 0 0;
    transform: translate(-50%, 104%);
    transition: transform 0.22s ease;
  }

  .filter-panel.is-open {
    transform: translate(-50%, 0);
  }

  .shop-search-sticky {
    display: grid;
    position: fixed;
    left: 50%;
    right: auto;
    top: auto;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 24px);
    width: min(720px, calc(100vw - 28px));
    margin: 0;
    transform: translateX(-50%);
  }

  .filter-sheet-header {
    position: sticky;
    top: 0;
  }

  .filter-sheet-close {
    display: grid;
  }

  .filter-mode-tabs {
    position: sticky;
    top: var(--filter-sheet-header-height);
  }
}

@media (max-width: 560px) {
  html {
    scroll-padding-top: 76px;
  }

  [id],
  .shop-grid {
    scroll-margin-top: 76px;
  }

  .site-header {
    padding: 10px 14px;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .brand strong {
    white-space: nowrap;
  }

  .brand small {
    display: none;
  }

  .login-button {
    margin-left: auto;
    min-height: 38px;
    padding: 0 14px;
  }

  .login-button.is-account {
    min-height: 46px;
    max-width: 170px;
    padding: 6px 10px 6px 6px;
    border-radius: 16px;
  }

  .local-map-card {
    padding: 14px;
  }

  .local-map-visual {
    min-height: 220px;
  }

  .local-map-svg {
    min-height: 200px;
  }

  .local-map-copy h3 {
    font-size: 25px;
  }

  .local-map-copy p:not(.eyebrow) {
    font-size: 13px;
  }

  .review-slider {
    gap: 10px;
  }

  .review-slider .review-card {
    flex-basis: min(330px, 86vw);
  }

  .review-slider-compact .review-card,
  .review-card.is-compact-review {
    flex-basis: min(260px, 72vw);
  }

  .prefecture-heading-name {
    display: block;
    margin: 0 0 4px;
    font-size: clamp(52px, 15vw, 72px);
    overflow-wrap: anywhere;
  }

  .prefecture-heading-tail {
    display: block;
    font-size: clamp(28px, 8vw, 36px);
  }

  .local-map-area-pills {
    gap: 6px;
    margin-top: 12px;
  }

  .account-avatar {
    width: 32px;
    height: 32px;
  }

  .account-text strong {
    font-size: 13px;
  }

  .prefecture-region {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 10px;
  }

  .prefecture-region strong {
    padding-top: 10px;
    font-size: 15px;
  }

  .prefecture-region div {
    gap: 10px;
  }

  .prefecture-chip {
    min-height: 42px;
    padding: 0 16px;
    font-size: 16px;
    font-weight: 900;
  }

  .filter-mode {
    flex-direction: column;
    gap: 0;
    padding: 0 8px;
    font-size: 15px;
  }

  .filter-mode span {
    display: block;
  }

  h1 {
    font-size: 38px;
  }

  section,
  .hero {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero {
    padding-top: 18px;
  }

  .hero-banner {
    display: block;
    min-height: 530px;
    background: #fffdf0;
  }

  .hero-copy {
    position: relative;
    z-index: 1;
    display: grid;
    align-content: start;
    width: 100%;
    min-height: 530px;
    padding: 28px 24px 18px;
  }

  .hero-copy::before {
    content: "";
    position: absolute;
    top: 18px;
    left: 14px;
    right: 14px;
    height: 318px;
    background: linear-gradient(90deg, rgba(255, 253, 240, 0.96), rgba(255, 253, 240, 0.78));
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 8px;
    box-shadow: 0 14px 30px rgba(74, 52, 18, 0.08);
  }

  .hero-copy > * {
    position: relative;
    z-index: 1;
  }

  .hero-copy h1 {
    max-width: 315px;
    margin-bottom: 20px;
    padding: 0;
  }

  .hero-copy p:not(.eyebrow) {
    max-width: 300px;
    padding: 0;
    color: #554536;
  }

  .hero-top-photo {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 88% 58%;
    background: #fffdf0;
  }

  .hero-copy p:not(.eyebrow) {
    font-size: 15px;
    line-height: 1.8;
  }

  .hero-actions {
    margin-top: 14px;
    padding: 0;
  }

  .detail-header {
    grid-template-columns: 1fr;
  }

  .score-bar {
    grid-template-columns: 1fr auto;
    gap: 8px 12px;
  }

  .score-bar .bar {
    grid-column: 1 / -1;
    order: 3;
  }

  .score-bar strong {
    justify-self: end;
  }

  .overview-star-score .overview-stars {
    grid-column: 1 / -1;
    order: 3;
  }

  .shop-hero-photo {
    height: 260px;
  }

  .shop-card-photo {
    height: 132px;
  }

  .kept-shop-card {
    grid-template-columns: 1fr;
  }

  .kept-shop-card img {
    height: 160px;
  }

  .kept-shop-foot {
    align-items: flex-start;
    flex-direction: column;
  }

  .kept-shop-actions {
    justify-content: flex-start;
    width: 100%;
  }

  .ranking-heading-row {
    display: grid;
    gap: 6px;
  }

  .ranking-heading-row h2 {
    font-size: 24px;
  }

  .industry-ranking-grid {
    gap: 12px;
    scroll-snap-type: x mandatory;
  }

  .industry-ranking-card,
  .ranking-empty {
    flex-basis: min(330px, calc(100vw - 56px));
  }

  .qa-preview-block {
    padding: 18px;
  }

  .area-qa-preview {
    gap: 10px;
    margin: 0 0 24px;
    padding: 10px 12px 12px;
  }

  .area-qa-preview .ranking-heading-row {
    display: flex;
    grid-template-columns: 1fr auto;
  }

  .area-qa-preview .ranking-heading-row h2 {
    font-size: 21px;
  }

  .area-qa-preview .qa-preview-list {
    display: flex;
    grid-template-columns: none;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .area-qa-preview .qa-card,
  .area-qa-preview .empty-result {
    flex: 0 0 min(286px, 78vw);
    min-height: 0;
    padding: 10px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .area-qa-preview .qa-card h3 {
    font-size: 16px;
  }

  .area-qa-preview .qa-card p {
    font-size: 12px;
    -webkit-line-clamp: 1;
  }

  .latest-reviews-rail {
    margin-right: -14px;
    padding-right: 34px;
    scroll-padding-left: 0;
  }

  .latest-review-card {
    flex-basis: min(300px, 76vw);
  }

  .latest-review-card-link {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .latest-review-thumb {
    min-height: 110px;
  }

  .latest-review-member-link {
    left: 98px;
  }

  .qa-preview-actions {
    justify-content: space-between;
  }

  .qa-preview-actions a {
    flex: 1 1 138px;
  }

  .area-qa-preview .qa-preview-actions {
    justify-content: flex-end;
  }

  .area-qa-preview .qa-preview-actions a {
    flex: 0 1 calc(50% - 5px);
    min-height: 38px;
    font-size: 13px;
  }

  .qa-page {
    padding: 24px 14px 54px;
  }

  .qa-hero,
  .qa-layout {
    grid-template-columns: 1fr;
  }

  .qa-hero {
    display: grid;
    gap: 14px;
    padding: 0;
  }

  .qa-hero h1 {
    margin-bottom: 12px;
    font-size: clamp(42px, 12vw, 58px);
  }

  .qa-hero h1::after {
    width: 54px;
    height: 8px;
    margin-top: 10px;
  }

  .qa-back-link {
    justify-self: start;
  }

  .qa-form-card,
  .qa-list-section,
  .qa-login-cta {
    padding: 16px;
  }

  .qa-form-card,
  .qa-login-cta {
    position: static;
  }

  .qa-form {
    grid-template-columns: 1fr;
  }

  .qa-preview-list,
  .qa-list {
    grid-template-columns: 1fr;
  }

  .password-form {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .password-form .primary-action,
  .password-form .mypage-reset-button {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 48px;
    white-space: normal;
  }

  .industry-ranking-row {
    grid-template-columns: 24px 42px minmax(0, 1fr);
    gap: 8px;
    min-height: 86px;
    padding: 10px;
  }

  .industry-ranking-row img {
    width: 42px;
    height: 42px;
  }

  .ranking-score-line {
    flex-wrap: wrap;
    gap: 4px 6px;
  }

  .ranking-review-count {
    width: 100%;
    margin-left: 0;
  }

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

  .signal-score-row,
  .admin-action-row {
    grid-template-columns: 1fr;
  }

  .admin-action-row {
    display: grid;
    justify-items: start;
  }

  .text-button:not(.filter-clear-button) {
    grid-column: 2;
    justify-self: start;
    min-height: 28px;
    padding: 0;
  }

  .filter-options {
    gap: 8px;
  }

  .filter-chip {
    min-height: 36px;
    padding: 0 12px;
    font-size: 13px;
  }

  .filter-submit {
    width: calc(100% - 28px);
    margin: 14px auto 8px;
  }

  .filter-clear-button {
    justify-content: center;
    width: calc(100% - 28px);
    margin: 0 auto 14px;
  }
}
