/* =========================================================
   TAMCHANG プロトタイプ v3 共通スタイル
   トンマナ: TAMCHANG Web 適用版
   375px 起点 / 1024px 以上で PC（TAMCHANG TOP PC1280.dc.html 準拠）
   ========================================================= */
:root {
  --yellow: #FFCA00;
  --blue: #007CBD;
  --navy: #183058;
  --ink: #111111;
  --muted: #6B7280;
  --bg-sub: #F5F5F5;
  --line: #F0F0F0;
  --line-strong: #E5E7EB;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: #FFFFFF;
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--navy); text-decoration: underline; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
img { max-width: 100%; display: block; }

.page {
  max-width: 480px;
  margin: 0 auto;
  background: #FFFFFF;
  padding-bottom: 84px;
}

.pc-br { display: none; }

/* ===== ヘッダー ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; flex-direction: column; gap: 1px; }
a.brand, a.brand:hover { text-decoration: none; }
.brand-name {
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--ink);
  line-height: 1.2;
  display: block;
}
.header-right { display: flex; align-items: center; gap: 32px; }
.pc-nav { display: none; }
.pc-nav-label { display: none; }
.pc-header-cta { display: none; }
.menu-btn {
  width: 44px;
  height: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--ink); }

/* ===== ドロワー ===== */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 17, 0.4);
  z-index: 70;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 300px;
  max-width: 85vw;
  background: #FFFFFF;
  z-index: 80;
  transform: translateX(100%);
  transition: transform 0.25s;
  overflow-y: auto;
  padding: 16px 24px 32px;
}
body.drawer-open { overflow: hidden; }
body.drawer-open .drawer-overlay { opacity: 1; pointer-events: auto; }
body.drawer-open .drawer { transform: translateX(0); }
@media (prefers-reduced-motion: reduce) {
  .drawer, .drawer-overlay { transition: none; }
}
.drawer-close {
  width: 44px;
  height: 44px;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
  color: var(--ink);
}
.drawer-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  margin: 12px 0 4px;
}
.drawer-nav { display: flex; flex-direction: column; }
.drawer-nav a {
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  min-height: 48px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.drawer-nav a[aria-current="page"] { color: var(--blue); font-weight: 700; }
.drawer-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  background: var(--yellow);
  color: var(--ink) !important;
  font-size: 16px;
  font-weight: 700;
  border-radius: 999px;
  margin-top: 24px;
  padding: 0 52px 0 24px;
  position: relative;
}
.drawer-cta::after {
  content: "→";
  position: absolute;
  right: 9px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #FFFFFF;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  font-weight: 500;
}
.drawer-cta:hover { text-decoration: none; }

/* ===== 共通 ===== */
section { padding: 56px 20px; }
.bg-sub { background: var(--bg-sub); }
h1 { font-size: 29px; font-weight: 900; line-height: 1.55; margin: 0 0 16px; text-wrap: pretty; }
h2 { font-size: 25px; font-weight: 900; line-height: 1.55; margin: 0 0 28px; text-wrap: pretty; }
h3 { font-weight: 900; margin: 0; }
.lead { margin: 0; font-size: 16px; line-height: 1.9; }
.note { font-size: 14px; color: var(--muted); }

.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 58px;
  background: var(--yellow);
  color: var(--ink) !important;
  font-size: 18px;
  font-weight: 700;
  border-radius: 999px;
  padding: 0 64px 0 32px;
  position: relative;
}
.btn-primary::after {
  content: "→";
  position: absolute;
  right: 10px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #FFFFFF;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 500;
}
.btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  background: var(--ink);
  color: #FFFFFF !important;
  font-size: 16px;
  font-weight: 700;
  border-radius: 8px;
}
.btn-primary:hover, .btn-secondary:hover { text-decoration: none; opacity: 0.9; }
.btn-note { margin: 10px 0 0; text-align: center; font-size: 14px; color: var(--muted); }
.text-link {
  font-size: 16px;
  font-weight: 700;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.num-chip {
  background: var(--yellow);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: var(--ink);
  flex-shrink: 0;
}

.ph { background: #E9EAEC; }

/* ===== TOP: MV ===== */
.mv { padding: 36px 20px 56px; }
.mv-display {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 900;
  color: var(--navy);
  font-size: 40px;
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}
.mv-display .dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: var(--yellow);
  margin-left: 4px;
}
.mv p.sub { margin: 0 0 28px; }
.mv-cta-row { margin: 0; }
.mv-trust { margin: 20px 0 0; font-size: 14px; color: var(--muted); text-align: center; }
.mv-photo-wrap { position: relative; margin-top: 32px; }
.mv-photo-accent {
  display: none;
}
.mv-photo {
  position: relative;
  height: 210px;
  border-radius: 8px;
  background-color: #FFFFFF;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

/* ===== TOP: 3者体制 ===== */
.trio-figure { position: relative; width: 335px; height: 310px; margin: 0 auto 24px; }
.trio-circle {
  position: absolute;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: var(--blue);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  line-height: 1.4;
}
.trio-c1 { left: 111px; top: 0; font-size: 16px; }
.trio-c2 { left: 8px; top: 186px; }
.trio-c3 { left: 215px; top: 186px; }
.trio-arrow {
  position: absolute;
  width: 56px;
  height: 16px;
  background: var(--yellow);
  clip-path: polygon(0 50%, 14px 0, 14px 30%, calc(100% - 14px) 30%, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, calc(100% - 14px) 70%, 14px 70%, 14px 100%);
}
.trio-a1 { left: 87px; top: 141px; transform: rotate(-61deg); }
.trio-a2 { left: 191px; top: 141px; transform: rotate(61deg); }
.trio-a3 { left: 139px; top: 234px; }

/* ===== TOP: 実績の数字 ===== */
.stats { display: flex; flex-direction: column; gap: 28px; }
.stat-num { color: var(--blue); font-weight: 900; line-height: 1; }
.stat-num .big { font-size: 68px; letter-spacing: -0.02em; }
.stat-num .word { display: block; font-size: 30px; line-height: 1.35; }
.stat-num .unit { font-size: 24px; margin-left: 4px; }
.stat-label { font-size: 16px; color: var(--ink); font-weight: 700; margin-top: 10px; }

/* ===== TOP: サービス ===== */
.services h2 { margin-bottom: 12px; }
.services .intro { margin: 0 0 28px; }
.svc-card { background: var(--bg-sub); border-radius: 10px; padding: 22px 24px; }
.svc-card.main { padding: 28px 24px; margin-bottom: 16px; }
.svc-head-main { margin-bottom: 0; }
.svc-head-main .num-chip { width: 44px; height: 44px; font-size: 20px; margin-bottom: 16px; }
.svc-head-main h3 { font-size: 23px; margin: 0 0 10px; line-height: 1.5; }
.svc-main-left p { margin: 0 0 18px; }
.svc-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 18px; }
.svc-price .label { font-size: 14px; color: var(--muted); }
.svc-price .value { color: var(--blue); font-weight: 900; }
.svc-price .value .big { font-size: 34px; }
.svc-price .value .unit { font-size: 20px; }
.svc-card.main .svc-price .label,
.svc-card.main .svc-price .value,
.svc-card.main .svc-price .value .big,
.svc-card.main .svc-price .value .unit,
.price-box .svc-price .label,
.price-box .svc-price .value,
.price-box .svc-price .value .big,
.price-box .svc-price .value .unit {
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
}
.svc-grid { display: flex; flex-direction: column; gap: 16px; }
.svc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.svc-head .num-chip { width: 34px; height: 34px; font-size: 16px; border-radius: 6px; }
.svc-head h3 { font-size: 19px; line-height: 1.4; }
.svc-card p { margin: 0 0 12px; }
.svc-foot { display: flex; align-items: center; justify-content: space-between; }
.svc-foot .price { font-size: 14px; font-weight: 700; color: var(--blue); }

/* ===== 番号付きリスト（選ばれる理由・成果物・対応範囲）===== */
.reasons { display: flex; flex-direction: column; gap: 32px; }
.reason { display: flex; gap: 16px; }
.reason .num-chip { width: 40px; height: 40px; font-size: 18px; }
.page:not(.service-page) .reason .num-chip { border-radius: 50%; }
.reason h3 { font-size: 19px; margin: 0 0 8px; line-height: 1.5; }
.reason p { margin: 0; }

/* ===== TOP: 進め方（縦の矢羽 → PC 横）===== */
.flow { display: flex; flex-direction: column; gap: 6px; margin-bottom: 24px; }
.flow-step { padding: 26px 16px 32px; text-align: center; }
.flow-step .step-label { font-size: 14px; font-weight: 700; color: var(--navy); }
.flow-step .step-name { font-size: 19px; font-weight: 900; color: var(--ink); }
.flow-s0 {
  background: #FFCA00;
  padding-top: 20px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), 50% 100%, 0 calc(100% - 14px));
}
.flow-s1 { background: #FDC00C; clip-path: polygon(0 0, 50% 14px, 100% 0, 100% calc(100% - 14px), 50% 100%, 0 calc(100% - 14px)); }
.flow-s2 { background: #FBB818; clip-path: polygon(0 0, 50% 14px, 100% 0, 100% calc(100% - 14px), 50% 100%, 0 calc(100% - 14px)); }
.flow-s3 { background: #FAB024; clip-path: polygon(0 0, 50% 14px, 100% 0, 100% calc(100% - 14px), 50% 100%, 0 calc(100% - 14px)); }
.flow-s4 { background: #F8A830; padding-bottom: 20px; clip-path: polygon(0 0, 50% 14px, 100% 0, 100% 100%, 0 100%); }

/* ===== TOP: 代表 ===== */
.ceo-inner {
  display: grid;
  grid-template-areas: "t t" "ph meta" "body body";
  grid-template-columns: 128px 1fr;
  column-gap: 20px;
}
.ceo-inner h2 { grid-area: t; }
.ceo-photo-wrap {
  grid-area: ph;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  overflow: hidden;
}
.ceo-photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: 51% 31%;
  transform: scale(1.5);
}
.ceo-meta { grid-area: meta; align-self: center; }
.ceo-body { grid-area: body; margin-top: 20px; }
.ceo-role { font-size: 14px; color: var(--muted); }
.ceo-name { font-size: 24px; font-weight: 900; line-height: 1.4; }

/* ===== TOP: 実績 ===== */
.works h2 { margin-bottom: 12px; }
.works-note { margin: 0 0 24px; }
.works-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }
.work-card { background: #FFFFFF; border-radius: 10px; padding: 24px; }
.work-client { font-size: 14px; font-weight: 700; color: var(--blue); margin-bottom: 12px; }
.work-rows { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.work-row { display: flex; gap: 10px; }
.work-row .tag { font-size: 14px; font-weight: 700; color: var(--muted); flex-shrink: 0; padding-top: 3px; }
.work-row .body { font-size: 16px; line-height: 1.8; }
.work-result { display: flex; align-items: baseline; gap: 10px; }
.work-result .tag { font-size: 14px; font-weight: 700; color: var(--muted); flex-shrink: 0; white-space: nowrap; }
.work-result .value { color: var(--blue); font-weight: 900; }
.work-result .value .big { font-size: 40px; }
.work-result .value .unit { font-size: 20px; }
.work-result .desc { font-size: 14px; color: var(--muted); }

/* ===== FAQ ===== */
.faq-inner { margin: 0 auto; }
.faq-list { display: flex; flex-direction: column; }
.faq-list details { border-bottom: 1px solid var(--line-strong); }
.faq-list summary {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-q-chip {
  width: 30px;
  height: 30px;
  background: var(--yellow);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 900;
  color: var(--ink);
  flex-shrink: 0;
}
.faq-q { font-size: 16px; font-weight: 700; line-height: 1.7; flex: 1; }
.faq-chevron {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-top: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: transform 0.2s;
}
details[open] .faq-chevron { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) {
  .faq-chevron { transition: none; }
}
.faq-a { margin: 0; padding: 0 0 20px 42px; font-size: 16px; line-height: 1.9; }

/* ===== 最終CTA ===== */
.contact { padding: 64px 20px 72px; }
.contact h2 { text-align: center; }
.formrun-wrap { width: 100%; max-width: 760px; margin: 0 auto; }
.formrun-embed { width: 100%; }
.formrun-embed iframe {
  display: block;
  width: 100% !important;
  border: 0;
}
.formrun-fallback { width: 100%; max-width: 420px; margin: 0 auto; }
.formrun-wrap.formrun-loaded .formrun-fallback { display: none; }
.contact-ctas { display: flex; flex-direction: column; }
.cta-block { display: flex; flex-direction: column; }
.cta-block + .cta-block { margin-top: 24px; }

/* ===== フッター ===== */
.footer { padding: 48px 20px 40px; border-top: 1px solid var(--line); }
.footer-inner {
  display: grid;
  grid-template-areas: "brand" "cols" "legal";
}
.footer-brand { grid-area: brand; margin-bottom: 24px; }
.footer-cols { grid-area: cols; display: flex; flex-direction: column; }
.footer-group { display: flex; flex-direction: column; gap: 4px; }
.footer-group-label { display: none; }
.footer-group a {
  color: var(--ink);
  font-size: 14px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.footer-group a[aria-current="page"] { color: var(--blue); font-weight: 700; }
.footer-legal { grid-area: legal; margin-top: 28px; }
.footer-legal p { margin: 0 0 6px; font-size: 14px; color: var(--muted); }
.footer-legal p:last-child { margin-bottom: 0; }

/* ===== 下部固定CTA ===== */
.fixed-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--line);
}
.fixed-cta-inner { max-width: 480px; margin: 0 auto; padding: 10px 12px 14px; }
.fixed-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  background: var(--yellow);
  color: var(--ink) !important;
  font-size: 17px;
  font-weight: 700;
  border-radius: 999px;
  position: relative;
  padding: 0 52px 0 20px;
}
.fixed-cta a::after {
  content: "→";
  position: absolute;
  right: 8px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #FFFFFF;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.fixed-cta a:hover { text-decoration: none; }

/* =========================================================
   サービス下層ページ共通
   ========================================================= */
.fv { padding: 48px 20px 56px; }
.fv h1 { margin-bottom: 16px; }
.fv .lead { margin: 0 0 28px; }

.pains { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.pain {
  background: var(--bg-sub);
  border-radius: 10px;
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
  margin: 0;
}
.bg-sub .pain { background: #FFFFFF; }
.pains-after { margin-top: 24px; }

.compare-wrap { overflow-x: auto; }
.compare { width: 100%; min-width: 560px; border-collapse: collapse; background: #FFFFFF; }
.compare th, .compare td {
  border: 1px solid var(--line-strong);
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  font-size: 15px;
  line-height: 1.8;
}
.compare thead th { background: var(--bg-sub); font-size: 14px; }
.compare th[scope="row"] { background: var(--bg-sub); font-size: 14px; white-space: nowrap; font-weight: 700; }
.compare td.hl { color: var(--blue); font-weight: 700; }

.steps { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 28px; }
.step-item { display: flex; gap: 16px; }
.step-item .num-chip { width: 40px; height: 40px; font-size: 18px; }
.step-item h3 { font-size: 19px; margin: 0 0 6px; line-height: 1.5; }
.step-item p { margin: 0; }

.price-box { background: var(--bg-sub); border-radius: 12px; padding: 28px 24px; }
.bg-sub .price-box { background: #FFFFFF; }
.price-box .svc-price { margin-bottom: 12px; }
.price-box p { margin: 0; }

.pricing-cards { display: flex; flex-direction: column; gap: 16px; }
.pricing-card { background: var(--bg-sub); border-radius: 12px; padding: 28px 24px; }
.bg-sub .pricing-card { background: #FFFFFF; }
.pricing-card .pc-step { font-size: 14px; font-weight: 700; color: var(--blue); margin: 0 0 6px; }
.pricing-card h3 { font-size: 20px; margin: 0 0 8px; line-height: 1.5; }
.pricing-card .range { color: var(--blue); font-weight: 900; font-size: 24px; margin: 0 0 12px; line-height: 1.4; }
.pricing-card p { margin: 0; }

.section-note { margin-top: 16px; }

/* サービスページ FV のイメージ画像スロット
   assets/img/fv-{slug}.png を置くと表示される。無ければ薄グレーの面のまま */
.fv-visual-wrap { position: relative; margin-top: 32px; }
.fv-visual-accent {
  display: none;
}
.fv-visual {
  position: relative;
  height: 220px;
  border-radius: 8px;
  background-color: #E9EAEC;
  background-size: cover;
  background-position: center;
}

/* ===== スクロールモーション ===== */
body.motion-ready .motion-item {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  transition:
    opacity 0.62s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.72s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--motion-delay, 0ms);
  will-change: opacity, transform;
}
body.motion-ready .motion-item.motion-media {
  transform: translate3d(0, 22px, 0) scale(0.97);
}
body.motion-ready .motion-item.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}
.header {
  transition: border-color 0.25s, background-color 0.25s;
}
.header.is-scrolled {
  border-bottom-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.97);
}

@media (prefers-reduced-motion: reduce) {
  body.motion-ready .motion-item,
  body.motion-ready .motion-item.motion-media,
  body.motion-ready .motion-item.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .header { transition: none; }
}

/* =========================================================
   PC（1024px 以上）
   ========================================================= */
@media (min-width: 1024px) {
  .page { max-width: none; padding-bottom: 0; }
  .pc-br { display: inline; }
  .sp-br { display: none; }

  section { padding: 88px max(40px, calc((100% - 1120px) / 2)); }

  h1 { font-size: 38px; margin-bottom: 20px; }
  h2 { font-size: 33px; }

  .header { padding: 0 24px; height: 78px; }
  .brand-name { font-size: 20px; white-space: nowrap; }
  .header-right { flex: 1; min-width: 0; justify-content: flex-end; gap: 16px; }
  .menu-btn { display: none; }
  .pc-nav { display: flex; align-items: center; gap: 0; white-space: nowrap; }
  .pc-nav-label {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--ink);
    font-size: 12px;
    font-weight: 900;
    padding-right: 7px;
  }
  .pc-nav a {
    color: var(--ink);
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0;
    min-height: 44px;
    padding: 0 7px;
    position: relative;
  }
  .pc-nav a + a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    height: 18px;
    border-left: 1px solid var(--line-strong);
    transform: translateY(-50%);
  }
  .pc-nav a[aria-current="page"] { border-bottom: 2px solid var(--yellow); }
  .pc-header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 14px;
    background: var(--yellow);
    color: var(--ink) !important;
    font-size: 13px;
    font-weight: 700;
    border-radius: 999px;
    position: relative;
    padding-right: 48px;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .pc-header-cta::after {
    content: "→";
    position: absolute;
    right: 8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #FFFFFF;
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
  }
  .pc-header-cta:hover { text-decoration: none; opacity: 0.9; }

  /* TOP: MV */
  .mv { padding: 56px max(40px, calc((100% - 1200px) / 2)) 32px; }
  .mv-inner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
  }
  .mv-display { font-size: 72px; line-height: 1.0; margin-bottom: 32px; }
  .mv-display .dot { width: 18px; height: 18px; margin-left: 8px; }
  .mv p.sub { font-size: 17px; line-height: 2.0; max-width: 540px; margin-bottom: 32px; }
  .mv-cta-row { display: flex; align-items: center; gap: 20px; margin-bottom: 24px; }
  .mv-cta-row .btn-primary {
    display: inline-flex;
    height: 62px;
    padding: 0 56px;
    font-size: 19px;
  }
  .mv-cta-row .btn-note { margin: 0; text-align: left; }
  .mv-trust { margin: 0; text-align: left; }
  .mv-photo-wrap { margin-top: 0; }
  .mv-photo { height: 330px; border-radius: 10px; }

  /* FV と次のセクションの間に生まれていた過剰な空白を圧縮 */
  .mv + section { padding-top: 40px; }

  /* TOP: 3者体制 */
  .trio-inner {
    display: grid;
    grid-template-columns: 1fr 520px;
    gap: 64px;
    align-items: start;
  }
  .trio-inner h2 { margin-bottom: 24px; }
  .trio-inner .lead { font-size: 16px; line-height: 2.0; }
  .trio-figure { width: 480px; height: 420px; margin: 0; justify-self: end; }
  .trio-circle { width: 132px; height: 132px; font-size: 16px; }
  .trio-c1 { left: 174px; top: 0; font-size: 18px; }
  .trio-c2 { left: 30px; top: 240px; }
  .trio-c3 { left: 318px; top: 240px; }
  .trio-arrow { width: 64px; }
  .trio-a1 { left: 136px; top: 178px; transform: rotate(-59deg); }
  .trio-a2 { left: 280px; top: 178px; transform: rotate(59deg); }
  .trio-a3 { left: 208px; top: 298px; }

  /* TOP: 実績の数字 */
  .stats-section h2 { margin-bottom: 48px; }
  .stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; }
  .stat-num .big { font-size: 88px; }
  .stat-num .word { font-size: 38px; line-height: 1.35; }
  .stat-num .unit { font-size: 28px; margin-left: 6px; }
  .stat-label { font-size: 16px; margin-top: 14px; }

  /* TOP: サービス */
  .services .intro { margin-bottom: 40px; }
  .svc-card { border-radius: 12px; padding: 28px 32px; display: flex; flex-direction: column; }
  .svc-card.main {
    flex-direction: row;
    gap: 48px;
    align-items: center;
    padding: 40px 44px;
    margin-bottom: 20px;
  }
  .svc-main-left { flex: 1; }
  .svc-head-main { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
  .svc-head-main .num-chip { width: 48px; height: 48px; font-size: 22px; margin-bottom: 0; }
  .svc-head-main h3 { font-size: 27px; margin: 0; line-height: 1.4; }
  .svc-main-left p { margin: 0; line-height: 2.0; max-width: 560px; }
  .svc-main-right { width: 260px; flex-shrink: 0; display: flex; flex-direction: column; gap: 16px; }
  .svc-price { gap: 10px; margin-bottom: 0; }
  .svc-price .value .big { font-size: 40px; }
  .svc-price .value .unit { font-size: 22px; }
  .svc-main-right .btn-secondary { height: 54px; }
  .svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .svc-head { margin-bottom: 12px; }
  .svc-head .num-chip { width: 36px; height: 36px; font-size: 17px; }
  .svc-head h3 { font-size: 20px; }
  .svc-card p { margin: 0 0 16px; flex: 1; }

  /* 番号付きリスト */
  .reasons-section h2 { margin-bottom: 48px; }
  .reasons { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; }
  .reasons.cols2 { grid-template-columns: 1fr 1fr; gap: 32px 40px; }
  .reason { display: block; }
  .reason .num-chip { width: 44px; height: 44px; font-size: 20px; margin-bottom: 18px; }
  .reason h3 { font-size: 20px; margin-bottom: 12px; line-height: 1.55; }

  /* TOP: 進め方 */
  .flow-section h2 { margin-bottom: 40px; }
  .flow { flex-direction: row; gap: 4px; margin-bottom: 28px; }
  .flow-step { flex: 1; padding: 26px 8px 26px 24px; }
  .flow-step .step-name { font-size: 18px; }
  .flow-step .step-sub { font-size: 15px; }
  .flow-s0 {
    padding-left: 16px;
    clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%);
  }
  .flow-s1 {
    flex: 1.3;
    clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%, 18px 50%);
  }
  .flow-s2, .flow-s3 {
    clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%, 18px 50%);
  }
  .flow-s4 {
    padding-bottom: 26px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 18px 50%);
  }

  /* TOP: 代表 */
  .ceo-inner {
    grid-template-areas: "ph t" "ph meta" "ph body";
    grid-template-columns: 220px 1fr;
    column-gap: 56px;
    align-items: center;
  }
  .ceo-inner h2 { margin-bottom: 20px; }
  .ceo-photo-wrap { width: 220px; height: 220px; align-self: center; grid-row: span 3; }
  .ceo-photo { width: 100%; height: 100%; }
  .ceo-meta { display: flex; align-items: baseline; gap: 12px; margin-bottom: 12px; align-self: start; }
  .ceo-body { margin-top: 0; line-height: 2.0; max-width: 680px; }

  /* TOP: 実績 */
  .works-note { margin-bottom: 32px; }
  .works-list { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 32px; }
  .work-card { border-radius: 12px; padding: 32px; }
  .work-client { font-size: 15px; margin-bottom: 16px; }
  .work-rows { gap: 10px; margin-bottom: 20px; }
  .work-row { gap: 12px; }
  .work-result { gap: 12px; }
  .work-result .value .big { font-size: 44px; }
  .work-result .value .unit { font-size: 22px; }

  /* FAQ */
  .faq-inner { max-width: 800px; }
  .faq-list summary { gap: 14px; padding: 22px 0; }
  .faq-q-chip { width: 32px; height: 32px; font-size: 16px; }
  .faq-q { font-size: 17px; }
  .faq-a { padding: 0 0 24px 46px; }

  /* 最終CTA */
  .contact { padding-top: 96px; padding-bottom: 96px; }
  .contact h2 { margin-bottom: 40px; }
  .contact-ctas {
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 24px;
  }
  .cta-block { align-items: center; gap: 10px; }
  .cta-block + .cta-block { margin-top: 0; }
  .cta-block .btn-primary,
  .cta-block .btn-secondary {
    display: inline-flex;
    height: 62px;
    padding: 0 48px;
    font-size: 18px;
  }
  .cta-block .btn-note { margin: 0; }

  /* フッター */
  .footer { padding: 64px max(40px, calc((100% - 1120px) / 2)) 48px; }
  .footer-inner {
    grid-template-areas: "brand cols" "legal cols";
    grid-template-columns: auto auto;
    justify-content: space-between;
    align-content: start;
  }
  .footer-brand { margin-bottom: 20px; }
  .footer-brand .brand-name { font-size: 20px; }
  .footer-cols { flex-direction: row; gap: 64px; }
  .footer-group { gap: 2px; }
  .footer-group-label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 8px;
  }
  .footer-group a { min-height: 32px; }
  .footer-legal { margin-top: 0; }

  .fixed-cta { display: none; }

  /* サービス下層ページ（本文幅 880px） */
  .service-page section { padding: 88px max(40px, calc((100% - 880px) / 2)); }
  .service-page .fv { padding: 72px max(40px, calc((100% - 880px) / 2)) 88px; }
  .service-page .fv .lead { font-size: 17px; line-height: 2.0; margin-bottom: 32px; }
  .service-page .fv .btn-primary { display: inline-flex; height: 62px; padding: 0 56px; font-size: 19px; }
  .service-page .fv .btn-note { text-align: left; }
  .service-page .fv-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
    align-items: center;
  }
  .service-page .fv h1 { font-size: 34px; }
  .fv-visual-wrap { margin-top: 0; }
  .fv-visual { height: 320px; border-radius: 10px; }
  .pains { gap: 14px; }
  .pain { padding: 20px 26px; }
  .steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 36px 32px; }
  .step-item { display: block; }
  .step-item .num-chip { margin-bottom: 14px; }
  .price-box { padding: 36px 40px; }
  .pricing-cards { flex-direction: row; align-items: stretch; }
  .pricing-card { flex: 1; padding: 32px 36px; }
}

@media (min-width: 1200px) {
  .header { padding-left: 32px; padding-right: 32px; }
  .pc-nav-label,
  .pc-nav a { font-size: 13px; }
  .pc-nav-label { padding-right: 9px; }
  .pc-nav a { padding-left: 9px; padding-right: 9px; }
  .pc-header-cta { padding-left: 20px; padding-right: 52px; font-size: 14px; }
}
