

:root {
  --ink: #241c16;
  --ink-soft: #5c5044;
  --paper: #fbf7f0;
  --paper2: #f2e9db;
  --white: #ffffff;
  --brand: #c0392b;
  --brand-d: #9c2d22;
  --brand-light: #fef8f7;
  --accent: #c69a4c;
  --accent-soft: #f7f1e5;
  --line: #e8dcc9;
  --line-soft: rgba(36, 28, 22, 0.08);

  --serif: 'Shippori Mincho', 'Noto Serif JP', serif;
  --sans: 'Zen Kaku Gothic New', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
  --disp: 'Cormorant Garamond', 'Shippori Mincho', serif;

  /* ファーストビュー部品用変数 */
  --fv-bg: #1c1612;
  --fv-bg-2: #241c16;
  --fv-line: rgba(255, 255, 255, 0.18);
  --fv-ink: #fbf7f0;
  --fv-accent: #c0392b;
  --fv-accent-dark: #9c2d22;
  --fv-gold: #c69a4c;
  --fv-line-green: #06c755;

  --max: 1120px;
}

/* 基本リセット */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.9;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  word-break: normal;
  overflow-wrap: anywhere;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* コンテナ */
.container, .wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  width: 100%;
}

/* 書体 */
.serif { font-family: var(--serif); }
.sans { font-family: var(--sans); }
.en { font-family: var(--disp); letter-spacing: 0.18em; text-transform: uppercase; }

/* 共通ボタン */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
  box-sizing: border-box;
  text-align: center;
}

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

.btn-primary {
  background: var(--brand);
  color: #ffffff;
  box-shadow: 0 8px 24px -6px rgba(192, 57, 43, 0.45);
}

.btn-primary:hover {
  background: var(--brand-d);
  color: #ffffff;
}

.btn-secondary {
  background: #ffffff;
  color: var(--brand-d);
  border-color: var(--line);
  box-shadow: 0 4px 14px -4px rgba(36, 28, 22, 0.08);
}

.btn-secondary:hover {
  background: var(--paper2);
  border-color: var(--brand);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #ffffff;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* =========================================================
   ヘッダー（固定・白の半透明）
   ========================================================= */
.hdr {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}

.brand-block {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  flex-shrink: 0;
}

.brand {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--ink);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.brand-sub {
  font-family: var(--disp);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--brand-d);
  text-transform: uppercase;
  white-space: nowrap;
}

.hdr-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--brand);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.94rem;
  min-height: 44px;
  box-shadow: 0 4px 14px -4px rgba(192, 57, 43, 0.4);
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.15s ease, background 0.15s ease;
}

.hdr-cta:hover {
  background: var(--brand-d);
  transform: translateY(-1px);
}

.hdr-cta svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* =========================================================
   ファーストビュー部品（3枚スライダー＋入口タイル＋数字帯）
   SPEC.md に完全準拠
   ========================================================= */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #ffffff;
  background: var(--fv-bg);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 88px;
  padding-bottom: 92px;
}

.hero-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--fv-gold);
  margin-bottom: 16px;
  line-height: 1.6;
  display: inline-block;
  background: rgba(10, 10, 10, 0.86);
  padding: 6px 12px;
  border-radius: 4px;
  border-left: 3px solid var(--fv-gold);
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(26px, 5.8vw, 48px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.65);
}

.hero-title .accent {
  color: #ffffff;
  border-bottom: 3px solid var(--accent);
  padding-bottom: 2px;
}

.hero-subtitle {
  font-size: clamp(15px, 3.2vw, 17px);
  color: #f2ece6;
  margin-top: 20px;
  line-height: 1.95;
  max-width: 680px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.65);
}

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

.hero-tag {
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(198, 154, 76, 0.6);
  color: #ffffff;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

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

.hero-buttons .btn {
  min-height: 52px;
}

.hero-buttons .btn-primary {
  background: var(--brand);
}

.hero-buttons .btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.45);
}

.hero-buttons .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* スライダー切替動作 */
.hero--slider .hs-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
  z-index: 0;
}

.hero--slider .hs-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero--slider .hs-slide picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero--slider .hs-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  display: block;
}

@media (max-width: 767px) {
  .hero--slider .hs-slide img {
    object-position: 60% 50%;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .hero--slider .hs-slide img {
    object-position: 66% 50%;
  }
}

/* 暗幕（弱め） */
.hero--slider .hero-veil {
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.5), rgba(10, 10, 10, 0.58) 55%, rgba(10, 10, 10, 0.92));
}

@media (min-width: 720px) {
  .hero--slider .hero-veil {
    background:
      linear-gradient(180deg, rgba(10, 10, 10, 0.3), rgba(10, 10, 10, 0.48) 58%, rgba(10, 10, 10, 0.9)),
      linear-gradient(90deg, rgba(10, 10, 10, 0.8), rgba(10, 10, 10, 0.34) 62%, rgba(10, 10, 10, 0.06));
  }
}

/* 操作（点・左右矢印・一時停止） */
.hs-ctrl {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 16px;
}

.hs-btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(10, 10, 10, 0.45);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background 0.2s, border-color 0.2s;
}

.hs-btn:hover, .hs-btn:focus-visible {
  background: rgba(10, 10, 10, 0.75);
  border-color: var(--fv-gold);
}

.hs-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hs-toggle .i-play { display: none; }
.hs-toggle.is-paused .i-play { display: block; }
.hs-toggle.is-paused .i-pause { display: none; }

.hs-dots {
  display: flex;
  gap: 0;
  margin: 0 6px;
}

.hs-dot {
  width: 40px;
  height: 44px;
  border: 0;
  background: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.hs-dot::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  transition: width 0.3s, background 0.3s;
}

.hs-dot.is-active::before {
  width: 26px;
  background: var(--fv-accent);
}

.hs-live {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (min-width: 960px) {
  .hs-ctrl {
    justify-content: flex-end;
    padding-right: max(20px, calc((100vw - 1200px) / 2 + 20px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero--slider .hs-slide {
    transition: none;
  }
}

/* =========================================================
   入口タイル4枚（ヒーロー直下に配置）
   ========================================================= */
.entry4 {
  background: var(--fv-bg);
  padding: 24px 0 28px;
  border-bottom: 1px solid var(--fv-line);
}

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

.entry-tile {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-width: 0;
  min-height: 236px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--fv-line);
  color: #ffffff;
  text-decoration: none;
  isolation: isolate;
}

.entry-tile > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  z-index: 0;
  transition: transform 0.6s ease;
}

.entry-tile:hover > img {
  transform: scale(1.05);
}

.entry-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.15) 0%, rgba(10, 10, 10, 0.65) 45%, rgba(10, 10, 10, 0.95) 100%);
}

.entry-body {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  padding: 14px 12px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

.entry-en {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  white-space: nowrap;
  color: var(--fv-gold);
  margin-bottom: 4px;
}

.entry-title {
  display: block;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  color: #ffffff;
  font-family: var(--serif);
}

.entry-desc {
  display: block;
  font-size: 13px;
  line-height: 1.6;
  color: #e8e2d8;
  margin-top: 6px;
}

.entry-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #f7a098;
}

.entry-more::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}

.entry-tile:focus-visible {
  outline: 2px solid var(--fv-gold);
  outline-offset: 2px;
}

@media (min-width: 720px) {
  .entry-tile {
    min-height: 0;
    aspect-ratio: 3/2;
  }
  .entry-body {
    padding: 18px 16px;
  }
  .entry-title {
    font-size: 18px;
  }
}

@media (min-width: 960px) {
  .entry4 {
    padding: 32px 0 36px;
  }
  .entry4-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }
  .entry-tile {
    aspect-ratio: 4/5;
  }
  .entry-title {
    font-size: 19px;
  }
}

/* =========================================================
   数字の細い帯（タイルの直下）
   ========================================================= */
.offer-band {
  background: linear-gradient(135deg, var(--brand), var(--brand-d));
}

.offer-band-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 16px;
  gap: 10px;
}

.offer-item {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  text-align: center;
  gap: 4px 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.offer-item .oi-lbl {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.offer-item .oi-big {
  font-size: clamp(20px, 4.8vw, 28px);
  font-weight: 900;
  line-height: 1;
}

.offer-item .oi-small {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.94);
}

@media (min-width: 720px) {
  .offer-band-inner {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* =========================================================
   セクション共通設定
   ========================================================= */
.sec {
  padding: 84px 0;
  border-bottom: 1px solid var(--line);
}

.sec-white {
  background: var(--white);
}

.sec-paper {
  background: var(--paper);
}

.sec-paper2 {
  background: var(--paper2);
}

.sec-dark {
  background: #1e1814;
  color: #ffffff;
}

.sec-kicker {
  font-family: var(--disp);
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-d);
  text-align: center;
  margin-bottom: 12px;
  font-weight: 600;
}

.sec-dark .sec-kicker {
  color: var(--accent);
}

.sec-title {
  font-family: var(--serif);
  font-size: clamp(24px, 4.2vw, 36px);
  text-align: center;
  line-height: 1.45;
  margin-bottom: 16px;
  font-weight: 700;
  color: var(--ink);
}

.sec-dark .sec-title {
  color: #ffffff;
}

.sec-lead {
  max-width: 820px;
  margin: 0 auto 48px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.9;
}

.sec-dark .sec-lead {
  color: #e0d8cf;
}

/* =========================================================
   お悩み（#issues）
   ========================================================= */
.issues-grid {
  display: grid;
  gap: 16px;
  max-width: 840px;
  margin: 0 auto 40px;
}

.issue-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 24px;
  box-shadow: 0 4px 12px -4px rgba(36, 28, 22, 0.05);
}

.issue-num {
  flex: 0 0 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand-light);
  border: 1px solid rgba(192, 57, 43, 0.25);
  color: var(--brand-d);
  font-family: var(--disp);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.issue-body h3 {
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--ink);
  line-height: 1.5;
}

.issue-body p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.85;
}

.solution-box {
  max-width: 840px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--white), var(--paper2));
  border: 1px solid var(--line);
  border-left: 5px solid var(--brand);
  border-radius: 16px;
  padding: 32px 34px;
  box-shadow: 0 12px 28px -10px rgba(36, 28, 22, 0.1);
}

.solution-box h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--brand-d);
  margin-bottom: 12px;
  line-height: 1.45;
}

.solution-box p {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.9;
}

/* =========================================================
   グルメ探偵とは（#about）
   ========================================================= */
.about-wrap {
  max-width: 860px;
  margin: 0 auto;
}

.about-intro {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--accent);
  border-radius: 16px;
  padding: 30px 32px;
  margin-bottom: 32px;
  box-shadow: 0 4px 16px -6px rgba(36, 28, 22, 0.06);
}

.about-intro h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--brand-d);
  margin-bottom: 12px;
}

.about-intro p {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 14px;
}

.about-intro p:last-child {
  margin-bottom: 0;
}

.about-channel {
  background: var(--paper2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 30px;
  text-align: center;
}

.about-channel h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--ink);
}

.about-channel p {
  max-width: 680px;
  margin: 0 auto 20px;
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.85;
}

/* =========================================================
   できること（#service）
   ========================================================= */
.service-main {
  max-width: 980px;
  margin: 0 auto 36px;
  background: var(--white);
  border: 2px solid var(--brand);
  border-radius: 18px;
  padding: 36px 36px;
  box-shadow: 0 8px 26px -8px rgba(192, 57, 43, 0.2);
}

.service-main-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.service-main-badge {
  background: var(--brand);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.service-main h3 {
  font-family: var(--serif);
  font-size: clamp(20px, 3.5vw, 24px);
  color: var(--ink);
}

.service-main p {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 16px;
}

.service-steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px dashed var(--line);
}

.s-step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 12px;
  text-align: center;
}

.s-step-num {
  font-family: var(--disp);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-d);
  margin-bottom: 4px;
}

.s-step-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.s-step-desc {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 980px;
  margin: 0 auto;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 26px;
  box-shadow: 0 4px 16px -6px rgba(36, 28, 22, 0.06);
}

.service-card-ic {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--paper2);
  color: var(--brand-d);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.service-card-ic svg {
  width: 24px;
  height: 24px;
}

.service-card h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--ink);
  line-height: 1.45;
}

.service-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.85;
}

.service-card .note {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-d);
  background: var(--brand-light);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(192, 57, 43, 0.2);
}

/* =========================================================
   来店につながる見せ方・役割分担（#edit）
   ========================================================= */
.roles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
}

.role-col {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 18px -8px rgba(36, 28, 22, 0.08);
}

.role-head {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}

.role-col.client .role-head {
  background: var(--paper2);
}

.role-col.agency .role-head {
  background: var(--brand);
  color: #ffffff;
}

.role-kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.role-col.client .role-kicker { color: var(--brand-d); }
.role-col.agency .role-kicker { color: #f9dcd8; }

.role-head h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.4;
}

.role-col.client h3 { color: var(--ink); }
.role-col.agency h3 { color: #ffffff; }

.role-list {
  padding: 24px;
  list-style: none;
  display: grid;
  gap: 16px;
}

.role-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.role-icon {
  flex: 0 0 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
}

.role-col.client .role-icon {
  background: #e4d7c3;
  color: var(--ink);
}

.role-col.agency .role-icon {
  background: var(--brand-light);
  color: var(--brand-d);
}

.role-icon svg {
  width: 14px;
  height: 14px;
}

.role-text h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--ink);
}

.role-text p {
  font-size: 0.94rem;
  color: var(--ink-soft);
  line-height: 1.8;
}

/* =========================================================
   静岡県内と県外（#area）
   ========================================================= */
.area-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.area-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px 28px;
  box-shadow: 0 6px 18px -8px rgba(36, 28, 22, 0.08);
  display: flex;
  flex-direction: column;
}

.area-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 13px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 6px;
  background: var(--paper2);
  color: var(--brand-d);
  margin-bottom: 14px;
  letter-spacing: 0.05em;
}

.area-card h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  margin-bottom: 14px;
  color: var(--ink);
  line-height: 1.45;
}

.area-card p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.9;
  margin-bottom: 20px;
  flex-grow: 1;
}

.area-price-tag {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  text-align: center;
}

.area-price-tag .lbl {
  font-size: 13px;
  color: var(--ink-soft);
  display: block;
  margin-bottom: 2px;
}

.area-price-tag .val {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--brand-d);
}

.area-price-tag .tax {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin-left: 4px;
}

/* =========================================================
   料金（#price）
   ========================================================= */
.price-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 980px;
  margin: 0 auto 32px;
}

.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 34px 30px;
  box-shadow: 0 8px 24px -10px rgba(36, 28, 22, 0.08);
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border: 2px solid var(--brand);
  position: relative;
}

.price-card-label {
  display: inline-block;
  align-self: flex-start;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 6px;
  background: var(--brand-light);
  color: var(--brand-d);
  margin-bottom: 12px;
}

.price-card h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--ink);
  margin-bottom: 12px;
}

.price-box-main {
  margin: 16px 0 22px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.price-box-main .amount {
  font-size: clamp(28px, 5vw, 38px);
  font-weight: 900;
  color: var(--brand-d);
  line-height: 1.1;
}

.price-box-main .unit {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-left: 4px;
}

.price-box-main .sub {
  display: block;
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 4px;
}

.price-items {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
  flex-grow: 1;
}

.price-items li {
  position: relative;
  padding-left: 24px;
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.7;
}

.price-items li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}

.price-notice {
  max-width: 860px;
  margin: 0 auto 32px;
  background: var(--paper2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 22px;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.85;
}

.price-cta {
  text-align: center;
}

/* =========================================================
   導入の流れ（#flow）
   ========================================================= */
.flow-list {
  max-width: 820px;
  margin: 0 auto;
  list-style: none;
  counter-reset: flow-step;
  display: grid;
  gap: 0;
}

.flow-step {
  position: relative;
  counter-increment: flow-step;
  padding: 0 0 40px 72px;
}

.flow-step::before {
  content: "0" counter(flow-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--disp);
  font-weight: 700;
  font-size: 1.15rem;
  box-shadow: 0 4px 12px -2px rgba(192, 57, 43, 0.4);
}

.flow-step::after {
  content: "";
  position: absolute;
  left: 23.5px;
  top: 48px;
  bottom: 8px;
  width: 1px;
  background: var(--line);
}

.flow-step:last-child {
  padding-bottom: 0;
}

.flow-step:last-child::after {
  display: none;
}

.flow-step h3 {
  font-family: var(--serif);
  font-size: 1.18rem;
  margin-bottom: 8px;
  color: var(--ink);
  line-height: 1.45;
}

.flow-step p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.9;
}

/* =========================================================
   進め方の違い・比較表（#compare）
   ========================================================= */
.tbl-wrap {
  max-width: 960px;
  margin: 0 auto;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 4px 16px -6px rgba(36, 28, 22, 0.06);
}

table {
  border-collapse: collapse;
  width: 100%;
  min-width: 620px;
  font-size: 0.95rem;
}

th, td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.6;
}

thead th {
  background: var(--paper2);
  font-family: var(--serif);
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

thead th.highlight {
  background: var(--brand-light);
  color: var(--brand-d);
  border-left: 2px solid var(--brand);
  border-right: 2px solid var(--brand);
}

tbody th {
  font-weight: 700;
  color: var(--ink);
  background: var(--paper);
  white-space: nowrap;
}

tbody tr:last-child td, tbody tr:last-child th {
  border-bottom: none;
}

td.own {
  color: var(--brand-d);
  font-weight: 700;
  background: var(--brand-light);
  border-left: 2px solid var(--brand);
  border-right: 2px solid var(--brand);
}

caption {
  caption-side: bottom;
  padding: 14px 18px;
  font-size: 13px;
  color: var(--ink-soft);
  text-align: left;
}

/* =========================================================
   よくあるご質問（#faq）
   ========================================================= */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

details.faq {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 3px 10px -4px rgba(36, 28, 22, 0.05);
}

details.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 54px 20px 22px;
  position: relative;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink);
}

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

details.faq summary::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}

details.faq[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}

details.faq .faq-answer {
  padding: 0 22px 22px;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.9;
  border-top: 1px dashed var(--line);
  padding-top: 16px;
}

/* =========================================================
   最後の帯（#contact）
   ========================================================= */
.final-cta {
  background: linear-gradient(135deg, #241c16 0%, #3d2a1f 100%);
  color: #ffffff;
  text-align: center;
  padding: 84px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.final-cta h2 {
  font-family: var(--serif);
  font-size: clamp(24px, 4.5vw, 36px);
  line-height: 1.45;
  margin-bottom: 18px;
  color: #ffffff;
}

.final-cta p {
  max-width: 680px;
  margin: 0 auto 34px;
  color: #f2e9db;
  font-size: 1.05rem;
  line-height: 1.9;
}

.final-cta .hero-buttons {
  justify-content: center;
}

/* =========================================================
   フッター
   ========================================================= */
.ft {
  background: #1a1410;
  color: rgba(255, 255, 255, 0.85);
  padding: 56px 0 44px;
  font-size: 0.88rem;
  line-height: 1.9;
}

.ft .wrap {
  display: grid;
  gap: 22px;
}

.ft .ft-brand {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.25rem;
  color: #ffffff;
}

.ft a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 2px 0;
}

.ft .fine {
  opacity: 0.78;
  font-size: 13px;
  line-height: 1.8;
}

/* =========================================================
   スマホ下部固定帯（.mobile-actions）
   ========================================================= */
.mobile-actions {
  display: none;
}

@media (max-width: 767px) {
  body {
    padding-bottom: 72px;
  }
  .mobile-actions {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(28, 22, 18, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    padding: 10px 14px;
    gap: 10px;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.25);
  }
  .mobile-actions a {
    flex: 1;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    box-sizing: border-box;
    white-space: nowrap;
  }
  .btn-mobile-primary {
    background: var(--brand);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(192, 57, 43, 0.35);
  }
  .btn-mobile-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.35);
  }
}

/* レスポンシブ微調整 */
@media (max-width: 767px) {
  .sec {
    padding: 60px 0;
  }
  .service-cards, .roles-grid, .area-grid, .price-cards {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .service-steps-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-main {
    padding: 24px 20px;
  }
  .solution-box {
    padding: 24px 20px;
  }
  .hdr {
    padding: 12px 16px;
  }
  .hdr-cta {
    padding: 8px 14px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .hdr {
    gap: 8px 12px;
  }
  .brand {
    font-size: 1.1rem;
  }
  .brand-sub {
    font-size: 0.72rem;
  }
  .hdr-cta {
    padding: 8px 12px;
    font-size: 13px;
  }
}

/* 調整：ヘッダー1行・タイル英字の折り返し・表のスマホ表示・金の罫 */
.brand-block{flex-direction:row;align-items:baseline;gap:10px;flex:0 0 auto;white-space:nowrap}
.brand-block>*{white-space:nowrap}
.sec-title::after{content:"";display:block;width:52px;height:3px;background:#b8935a;margin:14px auto 0;border-radius:2px}
.entry-en{white-space:normal;overflow-wrap:anywhere;min-width:0;max-width:100%}
.hdr-cta{white-space:nowrap}
@media (max-width:767px){
  .brand-block>*:not(:first-child){display:none}
  .tbl-wrap{overflow-x:visible}
  .tbl-wrap table{min-width:0 !important;width:100%;table-layout:fixed}
  .tbl-wrap table th,.tbl-wrap table td,.tbl-wrap thead th,.tbl-wrap tbody th{font-size:13px !important;padding:10px 6px !important;word-break:break-all;overflow-wrap:anywhere;white-space:normal !important}
}
@media (max-width:360px){
  .hdr{padding-left:12px;padding-right:12px;gap:8px}
  .hdr-cta{padding:8px 12px;font-size:13px}
}
.brand-block>*:not(:first-child){display:none}
