:root {
  --bg: #fbf5ea;
  --surface: #fffaf2;
  --panel: #ffffff;
  --ink: #2c241b;
  --muted: #776a5d;
  --line: rgba(80, 58, 33, 0.14);
  --green: #2f8a5f;
  --tomato: #de5b3d;
  --amber: #d99a35;
  --blue: #3f7e9f;
  --plum: #8a5f78;
  --shadow: 0 18px 42px rgba(72, 48, 22, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
  line-height: 1.7;
}

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;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 242, 0.9);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(47, 138, 95, 0.32);
  border-radius: 8px;
  background: #e8f3df;
  color: var(--green);
  font-weight: 900;
}

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

.brand strong {
  font-size: 15px;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #4c4034;
  font-size: 14px;
}

.nav-links a {
  padding: 8px 10px;
  border-radius: 7px;
}

.nav-links a:hover {
  background: rgba(47, 138, 95, 0.1);
}

.hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: #2e241b;
  color: #fffaf2;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-image: url("./assets/katsutadai-food-hero.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(42, 30, 21, 0.92) 0%, rgba(42, 30, 21, 0.72) 42%, rgba(42, 30, 21, 0.18) 100%),
    linear-gradient(180deg, rgba(42, 30, 21, 0.06), #fbf5ea 98%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100% - 36px));
  margin: 0 auto;
  padding: 112px 0 72px;
}

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

.hero .eyebrow {
  color: #b9e2a3;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

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

h2 {
  margin: 0;
  font-size: clamp(26px, 3.5vw, 40px);
  line-height: 1.25;
}

h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.35;
}

.hero-copy {
  max-width: 690px;
  margin: 22px 0 0;
  color: #fff1dd;
  font-size: clamp(16px, 2vw, 20px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--tomato);
  color: #fffaf2;
}

.button.secondary {
  border-color: rgba(255, 250, 242, 0.34);
  background: rgba(255, 250, 242, 0.12);
  color: #fffaf2;
}

.button.tertiary {
  border-color: rgba(44, 36, 27, 0.16);
  background: #2f8a5f;
  color: #fffaf2;
}

.compact-button {
  margin-top: 14px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(760px, 100%);
  margin: 52px 0 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 250, 242, 0.2);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.18);
}

.trust-strip div {
  padding: 18px;
  background: rgba(42, 30, 21, 0.7);
}

.trust-strip dt {
  color: #e7d4bd;
  font-size: 12px;
}

.trust-strip dd {
  margin: 4px 0 0;
  font-weight: 900;
}

.quick-search,
.content-band,
.split-section,
.standards,
.pricing-section,
.guide-section,
.publish-section {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.quick-search {
  padding: 42px 0 24px;
}

.section-head {
  margin-bottom: 22px;
}

.section-head.inline {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.text-link {
  color: var(--green);
  font-weight: 900;
}

.source-note {
  max-width: 840px;
  margin: -6px 0 20px;
  color: var(--muted);
}

.genre-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.genre-button {
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.genre-button.active,
.genre-button:hover {
  border-color: rgba(47, 138, 95, 0.52);
  background: rgba(47, 138, 95, 0.12);
}

.content-band {
  padding: 54px 0;
}

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

.shop-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.shop-card.is-hidden {
  display: none;
}

.shop-photo {
  min-height: 138px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0)),
    radial-gradient(circle at 72% 28%, rgba(255, 255, 255, 0.42), transparent 18%),
    #d99a35;
}

.shop-photo.food,
.shop-photo.night {
  background-position: center;
  background-size: cover;
}

.shop-photo.food {
  background-image: linear-gradient(rgba(44, 36, 27, 0.04), rgba(44, 36, 27, 0.14)), url("./assets/restaurant-card-food.png");
}

.shop-photo.night {
  background-image: linear-gradient(rgba(44, 36, 27, 0.08), rgba(44, 36, 27, 0.2)), url("./assets/restaurant-card-night.png");
}

.shop-photo.lunch {
  background-color: #dfb65c;
  background-image: linear-gradient(135deg, rgba(217, 154, 53, 0.88), rgba(47, 138, 95, 0.25));
}

.shop-photo.cafe {
  background-color: #b58d63;
  background-image: linear-gradient(135deg, rgba(130, 92, 58, 0.82), rgba(255, 250, 242, 0.4));
}

.shop-photo.izakaya {
  background-color: #cf6545;
  background-image: linear-gradient(135deg, rgba(222, 91, 61, 0.84), rgba(217, 154, 53, 0.34));
}

.shop-photo.ramen {
  background-color: #c74e36;
  background-image: linear-gradient(135deg, rgba(199, 78, 54, 0.86), rgba(63, 126, 159, 0.24));
}

.shop-photo.yakiniku {
  background-color: #6b3b2b;
  background-image: linear-gradient(135deg, rgba(107, 59, 43, 0.9), rgba(222, 91, 61, 0.42));
}

.shop-photo.takeout {
  background-color: #719c60;
  background-image: linear-gradient(135deg, rgba(47, 138, 95, 0.82), rgba(217, 154, 53, 0.3));
}

.shop-body {
  padding: 18px;
}

.shop-body h3 a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(47, 138, 95, 0.35);
  text-underline-offset: 4px;
}

.shop-body h3 a:hover,
.mini-info a:hover {
  color: var(--green);
}

.shop-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 10px;
}

.shop-meta span,
.job-list span,
.ad-label {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 0 8px;
  border-radius: 6px;
  background: rgba(47, 138, 95, 0.12);
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.shop-body p,
.job-panel p,
.publish-section p,
.standards-grid p,
.ad-band p,
.job-list p {
  color: var(--muted);
}

.mini-info {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
}

.mini-info div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.mini-info dt {
  color: var(--muted);
}

.mini-info dd {
  margin: 0;
  font-weight: 900;
  text-align: right;
}

.mini-info a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(47, 138, 95, 0.35);
  text-underline-offset: 3px;
}

.review-rail {
  display: grid;
  grid-auto-columns: minmax(210px, 86%);
  grid-auto-flow: column;
  gap: 10px;
  margin-top: 16px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding-bottom: 6px;
  scroll-snap-type: inline mandatory;
}

.review-rail blockquote {
  min-height: 74px;
  margin: 0;
  padding: 12px;
  border-left: 3px solid rgba(47, 138, 95, 0.45);
  border-radius: 8px;
  background: #fff7e9;
  color: #5f5144;
  font-size: 13px;
  line-height: 1.55;
  scroll-snap-align: start;
}

.ad-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1120px, calc(100% - 36px));
  margin: 8px auto 30px;
  padding: 24px;
  border-radius: 8px;
  background: linear-gradient(135deg, #e8f3df, #ffe0c7);
  color: var(--ink);
}

.ad-band strong {
  display: block;
  margin-top: 8px;
  font-size: 22px;
}

.ad-band p {
  margin: 4px 0 0;
}

.split-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
  padding: 54px 0;
}

.job-panel,
.job-list article,
.standards-grid article,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 10px 28px rgba(72, 48, 22, 0.08);
}

.job-panel {
  padding: 28px;
}

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

.job-list article {
  padding: 20px;
}

.job-list h3 {
  margin-top: 10px;
}

.standards {
  padding-top: 48px;
}

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

.standards-grid article {
  padding: 20px;
}

.pricing-section {
  padding-top: 54px;
}

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

.pricing-grid article {
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 260px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 10px 28px rgba(72, 48, 22, 0.08);
}

.pricing-grid span {
  width: fit-content;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 6px;
  background: rgba(222, 91, 61, 0.12);
  color: var(--tomato);
  font-size: 12px;
  font-weight: 900;
}

.pricing-grid strong {
  color: var(--green);
  font-size: 24px;
}

.pricing-grid p {
  margin: 0;
  color: var(--muted);
}

.pricing-grid small {
  color: var(--ink);
  font-weight: 800;
  line-height: 1.6;
}

.guide-section {
  padding-top: 54px;
}

.flow-grid,
.faq-grid {
  display: grid;
  gap: 14px;
}

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

.faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.flow-grid article,
.faq-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 10px 28px rgba(72, 48, 22, 0.08);
}

.flow-grid article {
  padding: 20px;
}

.faq-grid article {
  padding: 18px;
}

.flow-grid span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--green);
  color: #fffaf2;
  font-weight: 900;
}

.flow-grid h3,
.faq-grid h3 {
  margin-top: 10px;
}

.flow-grid p,
.faq-grid p {
  margin: 8px 0 0;
  color: var(--muted);
}

.publish-points {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.publish-points li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  font-weight: 800;
}

.publish-points li::before {
  position: absolute;
  left: 0;
  color: var(--green);
  content: "✓";
}

.publish-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: start;
  padding: 60px 0 78px;
}

.result-section {
  margin: 40px auto 80px;
  max-width: 920px;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
  color: var(--ink);
  padding: 11px 12px;
}

.contact-form textarea {
  resize: vertical;
}

.form-trap {
  display: none;
}

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

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 28px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--surface);
}

.site-footer strong {
  display: block;
  color: var(--ink);
}

.site-footer span,
.site-footer small {
  display: block;
}

.footer-company {
  display: grid;
  gap: 2px;
  text-align: right;
}

.footer-company span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.footer-company a {
  color: var(--green);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.detail-hero,
.detail-layout,
.category-hero,
.media-hero,
.media-summary,
.media-menu,
.media-contact {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.media-hero {
  padding: 72px 0 34px;
}

.media-hero h1 {
  color: var(--ink);
}

.media-hero p {
  max-width: 780px;
  color: var(--muted);
  font-size: 18px;
}

.media-summary,
.media-menu {
  padding: 44px 0 0;
}

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

.media-stat-grid article,
.media-contact {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 10px 28px rgba(72, 48, 22, 0.08);
}

.media-stat-grid article {
  padding: 20px;
}

.media-stat-grid span {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.media-stat-grid strong {
  display: block;
  margin-top: 8px;
  font-size: 24px;
}

.media-stat-grid p,
.media-contact p {
  margin: 8px 0 0;
  color: var(--muted);
}

.media-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 52px;
  margin-bottom: 72px;
  padding: 24px;
}

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

.category-hero {
  padding: 64px 0 20px;
}

.category-hero h1 {
  color: var(--ink);
}

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

.category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.category-links a,
.category-count {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--green);
  font-weight: 900;
}

.category-count {
  color: var(--ink);
}

.quick-links {
  margin-top: 18px;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: center;
  padding: 52px 0 34px;
}

.detail-photo {
  min-height: 360px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background-position: center;
  background-size: cover;
}

.detail-photo.food {
  background-image: linear-gradient(rgba(44, 36, 27, 0.04), rgba(44, 36, 27, 0.14)), url("./assets/restaurant-card-food.png");
}

.detail-photo.night {
  background-image: linear-gradient(rgba(44, 36, 27, 0.08), rgba(44, 36, 27, 0.2)), url("./assets/restaurant-card-night.png");
}

.recruit-box {
  display: grid;
  gap: 18px;
}

.recruit-box .eyebrow {
  margin-bottom: 8px;
}

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

.recruit-list div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.recruit-list dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.recruit-list dd {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
}

.detail-copy h1 {
  margin: 10px 0 16px;
  color: var(--ink);
  font-size: clamp(34px, 5vw, 58px);
}

.detail-copy p {
  color: var(--muted);
  font-size: 18px;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.call-button {
  background: var(--green);
  color: #fffaf2;
}

.official-button {
  border-color: rgba(47, 138, 95, 0.28);
  background: #e8f3df;
  color: var(--green);
}

.call-button.is-disabled,
.official-button.is-disabled {
  pointer-events: none;
  border-color: #c7bdae;
  background: #c7bdae;
  color: #fffaf2;
}

.phone-display {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.detail-secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.detail-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 20px 0 76px;
}

.detail-panel,
.detail-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 10px 28px rgba(72, 48, 22, 0.08);
}

.detail-panel {
  position: sticky;
  top: 92px;
  padding: 22px;
}

.detail-panel h2,
.detail-section h2 {
  margin: 0 0 16px;
  font-size: 22px;
}

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

.detail-list div {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.detail-list dt {
  color: var(--muted);
  font-size: 13px;
}

.detail-list dd {
  margin: 4px 0 0;
  font-weight: 900;
}

.detail-list a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.detail-main {
  display: grid;
  gap: 14px;
}

.detail-section {
  padding: 24px;
}

.detail-section p {
  color: var(--muted);
  margin: 0;
}

.detail-reviews {
  grid-auto-columns: minmax(240px, 46%);
  margin-top: 0;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero {
    min-height: 590px;
  }

  .shop-grid,
  .standards-grid,
  .pricing-grid,
  .flow-grid,
  .faq-grid,
  .media-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-section,
  .publish-section,
  .detail-hero,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .detail-panel {
    position: static;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 64px;
  }

  .brand {
    min-width: 0;
  }

  .hero-content {
    padding-top: 86px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(42, 30, 21, 0.95), rgba(42, 30, 21, 0.7)),
      linear-gradient(180deg, rgba(42, 30, 21, 0.04), #fbf5ea 96%);
  }

  .trust-strip,
  .shop-grid,
  .standards-grid,
  .pricing-grid,
  .flow-grid,
  .faq-grid,
  .media-stat-grid {
    grid-template-columns: 1fr;
  }

  .ad-band {
    align-items: stretch;
    flex-direction: column;
  }

  .media-contact {
    align-items: stretch;
    flex-direction: column;
  }

  .media-contact-actions {
    justify-content: stretch;
  }

  .media-contact-actions .button {
    width: 100%;
  }

  .footer-company {
    text-align: left;
  }

  .section-head.inline {
    align-items: start;
    flex-direction: column;
  }

  .mini-info div {
    display: grid;
  }

  .mini-info dd {
    text-align: left;
  }

  .detail-photo {
    min-height: 250px;
  }

  .detail-reviews {
    grid-auto-columns: minmax(220px, 88%);
  }

  .recruit-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
