/*
Theme Name: Alphasounds v3
Theme URI: https://www.alphasounds.jp/
Author: Alphasounds
Description: アルファサウンド専用テーマ v3。会社カラー（ブルー×ダークネイビー）を基調に、SEO内蔵・集客導線を強化した公式サイトテーマ。
Version: 3.0.0
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: alphasounds
*/

/* ============================================================
   TOKENS
   ============================================================ */
:root {
  --ink:    #0D1B2A;
  --ink-2:  #12253C;
  --paper:  #F4F7FA;
  --card:   #FFFFFF;
  --tally:  #006EC7;
  --tally-d:#004F9A;
  --vu:     #00B4D8;
  --text:   #1E293B;
  --muted:  #64748B;
  --line:   #E2E8F0;
  --line-dark: rgba(255,255,255,.14);

  --font-display: "Shippori Mincho B1", "Hiragino Mincho ProN", serif;
  --font-body:    "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-mono:    "IBM Plex Mono", "Menlo", monospace;

  --radius: 6px;
  --shadow: 0 8px 28px rgba(13,27,42,.08);
  --maxw: 1120px;
  --header-h: 68px;

  /* 旧変数名の互換エイリアス（v2テンプレート残存分の保険） */
  --clr-primary: var(--tally);
  --clr-accent:  var(--vu);
  --clr-dark:    var(--ink);
  --clr-text:    var(--text);
  --clr-muted:   var(--muted);
  --clr-border:  var(--line);
  --clr-bg:      var(--paper);
  --radius-sm:   4px;
  --radius-md:   var(--radius);
  --radius-lg:   10px;
}

/* ============================================================
   BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.9;
  color: var(--text);
  background: var(--card);
  font-feature-settings: "palt";
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: .85; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.4; }
p { margin: 0; }
p + p { margin-top: 1em; }
.mono { font-family: var(--font-mono); letter-spacing: .04em; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 10px 18px; z-index: 999;
}
.skip-link:focus { left: 0; }

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--tally);
  outline-offset: 2px;
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 860px; }

/* ============================================================
   EYEBROW / TALLY（シグネチャー）
   ============================================================ */
.eyebrow {
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .22em;
  color: var(--tally);
  margin: 0 0 14px;
  display: flex; align-items: center; gap: 10px;
  text-transform: uppercase;
}
.eyebrow-light { color: rgba(255,255,255,.85); }

.tally {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--tally);
  box-shadow: 0 0 0 0 rgba(0,110,199,.45);
  animation: tally-pulse 2.2s infinite;
  flex-shrink: 0;
}
@keyframes tally-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(0,110,199,.45); }
  70%  { box-shadow: 0 0 0 9px rgba(0,110,199,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,110,199,0); }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 30px;
  font-family: var(--font-body);
  font-size: .95rem; font-weight: 700;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
  line-height: 1.4;
}
.btn:hover { opacity: 1; transform: translateY(-1px); }
.btn-primary { background: var(--tally); color: #fff; }
.btn-primary:hover { background: var(--tally-d); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { border-color: #fff; }
.btn-lg { padding: 16px 36px; font-size: 1.02rem; }
.btn-sm { padding: 9px 20px; font-size: .85rem; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 28px;
  height: var(--header-h);
}
.site-logo img { height: 34px; width: auto; }
.site-logo .custom-logo { height: 34px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.main-nav a {
  font-size: .9rem; font-weight: 500; color: var(--text);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color .15s;
}
.main-nav a:hover { border-color: var(--tally); opacity: 1; }
.nav-item { position: relative; }
.nav-item > a::after { content: " ▾"; font-size: .7em; color: var(--muted); }
.dropdown {
  position: absolute; top: 100%; left: -14px;
  min-width: 240px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 8px 0;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 9px 18px; border-bottom: none; }
.dropdown a:hover { background: var(--paper); }

.header-cta { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.header-tel { display: flex; flex-direction: column; line-height: 1.25; }
.header-tel-label { font-size: .6rem; color: var(--tally); letter-spacing: .2em; }
.header-tel-num { font-size: .95rem; font-weight: 500; color: var(--text); }

.nav-toggle {
  display: none;
  background: none; border: none; padding: 8px; cursor: pointer;
  flex-direction: column; gap: 5px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--text); transition: transform .2s, opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed; inset: var(--header-h) 0 0 0;
  background: var(--card);
  z-index: 99;
  padding: 24px;
  overflow-y: auto;
}
.mobile-nav.is-open { display: block; }
.mobile-nav a {
  display: block; padding: 13px 4px;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}
.mobile-nav-label {
  font-size: .68rem; letter-spacing: .22em; color: var(--tally);
  margin: 22px 0 4px;
}
.mobile-nav-label:first-child { margin-top: 0; }
.mobile-nav-cta { color: var(--tally); font-weight: 700; }

body.nav-open { overflow: hidden; }

/* ============================================================
   HERO（トップ）
   ============================================================ */
.hero {
  background: linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%);
  color: #fff;
  padding: 88px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 100% 56px;
  pointer-events: none;
}
.hero-inner {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px;
  align-items: center;
  position: relative;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.2vw, 3.9rem);
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1.35;
  margin-bottom: 24px;
}
.hero-lead {
  font-size: 1.02rem; color: rgba(255,255,255,.82);
  max-width: 34em;
  margin-bottom: 32px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.hero-note { font-size: .82rem; color: rgba(255,255,255,.55); }

.hero-stats {
  display: flex; gap: 40px; flex-wrap: wrap;
  margin-top: 36px; padding-top: 28px;
  border-top: 1px solid var(--line-dark);
}
.hero-stat .num { font-size: 2.1rem; font-weight: 500; color: #fff; line-height: 1.2; }
.hero-stat .num span { font-size: 1rem; margin-left: 2px; }
.hero-stat .lbl { font-size: .8rem; color: rgba(255,255,255,.6); }

.hero-media { position: relative; }
.hero-media img {
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0,0,0,.4);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}
.hero-media-chip {
  position: absolute; top: 14px; left: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(15,23,30,.82);
  border: 1px solid var(--line-dark);
  color: #fff;
  font-size: .72rem; letter-spacing: .2em;
  padding: 6px 14px;
  border-radius: 99px;
}

/* ============================================================
   PAGE HERO（下層）
   ============================================================ */
.page-hero {
  background: linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%);
  color: #fff;
  padding: 64px 0 52px;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  font-weight: 700;
  letter-spacing: .04em;
  margin-bottom: 18px;
}
.page-hero p { color: rgba(255,255,255,.78); max-width: 42em; font-size: .98rem; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section, .lp-section { padding: 84px 0; }
.bg-paper { background: var(--paper); }

.section-title { margin-bottom: 44px; }
.section-title h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  font-weight: 700;
  letter-spacing: .04em;
}
.section-title > p:not(.eyebrow) { margin-top: 12px; color: var(--muted); font-size: .95rem; }
.section-more { margin-top: 36px; }
.section-more a { font-weight: 700; color: var(--tally); font-size: .95rem; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
}
.card h3 {
  font-family: var(--font-display);
  font-size: 1.18rem; font-weight: 700;
  margin-bottom: 12px; letter-spacing: .03em;
}
.card p { font-size: .92rem; color: var(--muted); }
.card-label {
  font-family: var(--font-mono);
  font-size: .68rem; letter-spacing: .22em;
  color: var(--tally);
  margin-bottom: 14px;
}
.card-strength { border-top: 3px solid var(--tally); box-shadow: var(--shadow); }

.card-service { display: flex; flex-direction: column; transition: transform .18s, box-shadow .18s; }
.card-service:hover { transform: translateY(-4px); box-shadow: var(--shadow); opacity: 1; }
.card-service .card-more {
  margin-top: auto; padding-top: 18px;
  font-size: .85rem; font-weight: 700; color: var(--tally);
}

.card-problem { background: var(--paper); border-color: transparent; }
.card-problem h3 { font-family: var(--font-body); font-size: 1.02rem; }

/* ============================================================
   FEATURES（番号付き）
   ============================================================ */
.feature-list { display: flex; flex-direction: column; gap: 20px; max-width: 860px; }
.feature-item {
  display: flex; gap: 26px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 32px;
}
.feature-num {
  font-family: var(--font-mono);
  font-size: 1.7rem; color: var(--tally);
  line-height: 1; flex-shrink: 0;
  padding-top: 4px;
}
.feature-body h3 {
  font-family: var(--font-display);
  font-size: 1.18rem; font-weight: 700; margin-bottom: 10px;
}
.feature-body p { font-size: .93rem; color: var(--muted); }

/* ============================================================
   SPEC TABLE
   ============================================================ */
.spec-table { margin: 0; border-top: 1px solid var(--line); }
.spec-row {
  display: grid; grid-template-columns: 190px 1fr; gap: 20px;
  padding: 20px 6px;
  border-bottom: 1px solid var(--line);
}
.spec-row dt { font-weight: 700; font-size: .93rem; }
.spec-row dd { margin: 0; font-size: .93rem; color: var(--muted); }
.spec-note { margin-top: 20px; font-size: .85rem; color: var(--muted); }

/* ============================================================
   FLOW
   ============================================================ */
.flow-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.flow-steps-compact { grid-template-columns: repeat(3, 1fr); }
.flow-step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
}
.flow-num {
  font-family: var(--font-mono);
  font-size: .85rem; color: var(--tally);
  border-bottom: 2px solid var(--tally);
  display: inline-block;
  padding-bottom: 4px; margin-bottom: 14px;
}
.flow-step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.flow-step p { font-size: .85rem; color: var(--muted); }

.flow-detail { display: flex; flex-direction: column; gap: 0; }
.flow-detail-step {
  display: flex; gap: 28px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}
.flow-detail-step .flow-num { font-size: 1.3rem; height: fit-content; }
.flow-detail-body h2 {
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 700; margin-bottom: 10px;
}
.flow-detail-body > p { font-size: .95rem; color: var(--muted); }
.flow-point {
  margin-top: 14px;
  background: var(--paper);
  border-left: 3px solid var(--tally);
  padding: 12px 16px;
  font-size: .88rem;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.flow-point .mono { color: var(--tally); font-size: .7rem; letter-spacing: .2em; margin-right: 10px; }

/* ============================================================
   WORKS CARD
   ============================================================ */
.works-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .18s, box-shadow .18s;
}
.works-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.works-card-link { display: block; }
.works-card-media { position: relative; }
.works-card-media img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.works-card-tag {
  position: absolute; left: 10px; bottom: 10px;
  background: rgba(15,23,30,.85); color: #fff;
  font-size: .7rem; padding: 4px 12px; border-radius: 99px;
}
.works-card-body { padding: 20px 22px 24px; }
.works-card-meta {
  display: flex; gap: 12px; flex-wrap: wrap;
  font-size: .78rem; color: var(--muted);
  margin-bottom: 8px;
}
.works-card-body h3 { font-size: 1.02rem; font-weight: 700; line-height: 1.55; }
.works-card-excerpt { font-size: .85rem; color: var(--muted); margin-top: 8px; }

/* ============================================================
   SERVICE INDEX（/services/）
   ============================================================ */
.service-list { display: flex; flex-direction: column; gap: 20px; }
.service-row {
  display: grid;
  grid-template-columns: 260px 1fr auto;
  gap: 32px; align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 34px;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.service-row:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--tally);
  opacity: 1;
}
.service-row-head h2 {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 700;
  letter-spacing: .03em; margin-top: 4px;
}
.service-row-lead { font-size: .92rem; color: var(--muted); margin-bottom: 14px; }
.service-row-checks { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.service-row-checks li {
  font-size: .82rem; color: var(--text);
  padding-left: 20px; position: relative;
}
.service-row-checks li::before {
  content: "✓"; position: absolute; left: 0;
  color: var(--vu); font-weight: 700;
}
.service-row-more {
  font-size: .88rem; font-weight: 700; color: var(--tally);
  white-space: nowrap;
}

@media (max-width: 900px) {
  .service-row { grid-template-columns: 1fr; gap: 16px; padding: 26px; }
  .service-row-more { justify-self: start; }
}

/* ============================================================
   WORKS ARCHIVE
   ============================================================ */
.works-filter { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.works-filter-btn {
  padding: 8px 18px;
  border: 1px solid var(--line);
  border-radius: 99px;
  font-size: .85rem; font-weight: 500;
  transition: background .15s, color .15s, border-color .15s;
}
.works-filter-btn:hover { border-color: var(--tally); color: var(--tally); opacity: 1; }
.works-filter-btn.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.works-empty { text-align: center; color: var(--muted); padding: 60px 0; }

/* ============================================================
   WORK DETAIL
   ============================================================ */
.page-hero-work h1 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.work-detail-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 40px; align-items: start; }
.work-detail-media { border-radius: var(--radius); overflow: hidden; margin-bottom: 32px; }
.work-detail-media img { width: 100%; }
.work-detail-main .entry-content { padding: 0; }

.work-detail-side { display: flex; flex-direction: column; gap: 20px; position: sticky; top: calc(var(--header-h) + 24px); }
.work-detail-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.work-panel-title { font-size: .68rem; letter-spacing: .22em; color: var(--tally); margin-bottom: 14px; }
.work-detail-panel .works-meta { border-top: none; margin: 0 0 18px; }
.work-detail-panel .spec-row {
  grid-template-columns: 84px 1fr; gap: 12px;
  padding: 10px 0; font-size: .85rem;
}
.work-detail-panel .spec-row dt { color: var(--muted); font-weight: 500; font-family: var(--font-body); font-size: .8rem; }
.work-detail-panel .spec-row dd { font-size: .85rem; color: var(--text); }
.work-panel-empty { font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.work-panel-cta { width: 100%; }

.work-related-list li { margin-bottom: 14px; }
.work-related-list a { display: flex; gap: 12px; align-items: center; }
.work-related-thumb { width: 64px; height: 48px; border-radius: 4px; overflow: hidden; flex-shrink: 0; }
.work-related-thumb img { width: 100%; height: 100%; object-fit: cover; }
.work-related-title { font-size: .84rem; font-weight: 500; line-height: 1.45; }

/* ============================================================
   NEWS LIST
   ============================================================ */
.news-list li { border-bottom: 1px solid var(--line); }
.news-list a {
  display: flex; gap: 22px; align-items: baseline;
  padding: 16px 4px;
}
.news-list a:hover { background: var(--paper); opacity: 1; }
.news-list time { font-size: .82rem; color: var(--tally); flex-shrink: 0; }
.news-list span { font-size: .95rem; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.faq-item summary {
  display: flex; align-items: baseline; gap: 14px;
  padding: 18px 22px;
  font-weight: 700; font-size: .97rem;
  cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "＋"; margin-left: auto; color: var(--muted);
  font-weight: 400; flex-shrink: 0;
}
.faq-item[open] summary::after { content: "−"; }
.faq-q { font-family: var(--font-mono); color: var(--tally); flex-shrink: 0; }
.faq-a { padding: 0 22px 20px 52px; font-size: .92rem; color: var(--muted); }
.faq-a p { margin: 0 0 .8em; }
.faq-a p:last-child { margin-bottom: 0; }

.faq-group + .faq-group { margin-top: 44px; }
.faq-group-title {
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 700;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--tally);
  letter-spacing: .03em;
}

/* ============================================================
   PLAN CARD（料金ページ）
   ============================================================ */
.plan-card { display: flex; flex-direction: column; }
.plan-card h2 {
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 700; margin-bottom: 6px;
}
.plan-for { font-size: .88rem; color: var(--tally); font-weight: 700; margin-bottom: 18px; }
.plan-items { margin-bottom: 18px; }
.plan-items li {
  font-size: .9rem; padding: 8px 0 8px 24px;
  border-bottom: 1px dashed var(--line);
  position: relative;
}
.plan-items li::before {
  content: ""; position: absolute; left: 4px; top: 17px;
  width: 8px; height: 8px; border-radius: 2px;
  background: var(--tally);
}
.plan-note { font-size: .83rem; color: var(--muted); margin-bottom: 18px; }
.plan-price {
  margin-top: auto;
  text-align: center;
  background: var(--ink);
  color: #fff;
  padding: 12px;
  border-radius: var(--radius);
  font-size: .92rem; letter-spacing: .12em;
}
.check-list li {
  padding: 10px 0 10px 30px;
  border-bottom: 1px solid var(--line);
  position: relative; font-size: .95rem;
}
.check-list li::before {
  content: "✓"; position: absolute; left: 4px;
  color: var(--vu); font-weight: 700;
}
.estimate-info p { font-size: .95rem; }
.estimate-info .check-list { margin: 22px 0; }

/* ============================================================
   LP HERO
   ============================================================ */
.lp-hero {
  background: linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%);
  color: #fff;
  padding: 80px 0 68px;
}
.lp-hero-inner {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px;
  align-items: center;
}
.lp-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: .04em; line-height: 1.4;
  margin-bottom: 22px;
}
.lp-hero-lead { color: rgba(255,255,255,.82); font-size: 1rem; margin-bottom: 30px; max-width: 34em; }
.lp-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.lp-hero-note { font-size: .82rem; color: rgba(255,255,255,.55); }

.lp-hero-panel {
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 28px 30px;
}
.panel-label {
  font-family: var(--font-mono);
  font-size: .68rem; letter-spacing: .24em;
  color: rgba(255,255,255,.55);
  margin-bottom: 16px;
}
.lp-checklist li {
  padding: 11px 0 11px 30px;
  border-bottom: 1px solid var(--line-dark);
  font-size: .92rem;
  position: relative;
}
.lp-checklist li:last-child { border-bottom: none; }
.lp-checklist li::before {
  content: "✓"; position: absolute; left: 2px;
  color: var(--vu); font-weight: 700;
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background: linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}
.cta-band .eyebrow { justify-content: center; }
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  font-weight: 700; letter-spacing: .04em;
  margin-bottom: 16px;
}
.cta-band > .container > p:not(.eyebrow) {
  color: rgba(255,255,255,.75);
  max-width: 40em; margin: 0 auto 34px;
  font-size: .97rem;
}
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   BREADCRUMB / PAGINATION
   ============================================================ */
.breadcrumb {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  font-size: .8rem;
  padding: 10px 0;
  color: var(--muted);
}
.breadcrumb ul { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--tally); }

.pagination {
  display: flex; gap: 8px; justify-content: center;
  margin-top: 48px;
}
.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: .9rem;
}
.pagination .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ============================================================
   記事本文（ブログ・実績詳細・固定ページ）
   ============================================================ */
.entry-header { padding: 56px 0 8px; }
.entry-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  font-weight: 700; letter-spacing: .03em;
}
.entry-meta { font-size: .82rem; color: var(--muted); margin-top: 12px; }
.entry-content { padding: 32px 0 72px; }
.entry-content h2 {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 700;
  margin: 2.2em 0 .8em;
  padding-left: 16px;
  border-left: 4px solid var(--tally);
}
.entry-content h3 { font-size: 1.2rem; font-weight: 700; margin: 1.8em 0 .7em; }
.entry-content p { margin: 0 0 1.4em; }
.entry-content ul, .entry-content ol { margin: 0 0 1.4em 1.4em; }
.entry-content ul li { list-style: disc; margin-bottom: .4em; }
.entry-content ol li { list-style: decimal; margin-bottom: .4em; }
.entry-content img { border-radius: var(--radius); margin: 1.4em 0; }
.entry-content a { color: var(--tally); text-decoration: underline; }
.entry-content blockquote {
  margin: 1.6em 0; padding: 16px 22px;
  background: var(--paper);
  border-left: 3px solid var(--muted);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* 実績詳細メタテーブル */
.works-meta {
  margin: 24px 0;
  border-top: 1px solid var(--line);
}
.works-meta .spec-row dt { color: var(--tally); font-family: var(--font-mono); font-size: .78rem; letter-spacing: .1em; }

/* ============================================================
   ABOUT
   ============================================================ */
.section-title-sm {
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 700;
  letter-spacing: .03em;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--tally);
}
.about-message { margin-bottom: 56px; }
.about-message .entry-content { padding: 0; }
.about-message .entry-content p { margin: 0 0 1.2em; }
.about-table-title { margin-top: 8px; }
.about-table { margin-bottom: 0; }
.about-table dd a { color: var(--tally); text-decoration: underline; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
.contact-h2 {
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 700; margin-bottom: 12px;
}
.contact-note { font-size: .95rem; color: var(--muted); margin-bottom: 24px; }
.contact-checklist { margin-bottom: 28px; }
.contact-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.contact-mail-btn { color: var(--tally); border-color: var(--tally); }
.contact-mail-btn:hover { background: var(--tally); color: #fff; }
.contact-cf7-hint { margin-top: 22px; font-size: .78rem; color: var(--muted); }

.contact-side { display: flex; flex-direction: column; gap: 16px; }
.contact-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.panel-label-dark { font-size: .64rem; letter-spacing: .24em; color: var(--tally); margin-bottom: 8px; }
.contact-panel-tel { font-size: 1.5rem; font-weight: 500; color: var(--ink); display: inline-block; }
.contact-panel-hours { font-size: .78rem; color: var(--muted); margin-top: 4px; }
.contact-panel-mail { font-size: 1rem; color: var(--ink); word-break: break-all; }
.contact-panel-addr { font-size: .9rem; }
.contact-panel-area { font-size: .8rem; color: var(--muted); margin-top: 6px; }

/* CF7を貼ったときの最低限の整形 */
.wpcf7-form p { margin: 0 0 16px; }
.wpcf7-form label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 6px; }
.wpcf7-form input:not([type=submit]):not([type=checkbox]):not([type=radio]),
.wpcf7-form textarea,
.wpcf7-form select {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: var(--radius);
  font-family: var(--font-body); font-size: .95rem;
  background: #fff;
}
.wpcf7-form input:focus, .wpcf7-form textarea:focus, .wpcf7-form select:focus {
  outline: 2px solid var(--tally); outline-offset: 1px; border-color: var(--tally);
}
.wpcf7-form input[type=submit] {
  background: var(--tally); color: #fff; border: none;
  padding: 14px 34px; border-radius: var(--radius);
  font-weight: 700; font-size: 1rem; cursor: pointer;
}
.wpcf7-form input[type=submit]:hover { background: var(--tally-d); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.78);
  padding: 68px 0 0;
  font-size: .9rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px;
  padding-bottom: 48px;
}
.footer-brand img { height: 32px; width: auto; }
.footer-desc { margin-top: 18px; font-size: .88rem; color: rgba(255,255,255,.65); }
.footer-address { margin-top: 16px; font-size: .8rem; color: rgba(255,255,255,.5); }
.footer-contact { margin-top: 18px; }
.footer-contact > .mono { font-size: .65rem; letter-spacing: .24em; color: var(--tally); }
.footer-tel { font-size: 1.5rem; color: #fff; font-weight: 500; display: inline-block; margin: 2px 0 4px; }
.footer-hours { font-size: .78rem; color: rgba(255,255,255,.5); }
.footer-col h4 {
  font-size: .7rem; letter-spacing: .26em;
  color: rgba(255,255,255,.45);
  margin-bottom: 18px; font-weight: 500;
}
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,.78); font-size: .88rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding: 22px 0;
  font-size: .75rem; color: rgba(255,255,255,.4);
}

/* ============================================================
   モバイル固定CTAバー
   ============================================================ */
.mobile-cta-bar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: 90;
  box-shadow: 0 -6px 20px rgba(13,27,42,.18);
}
.mobile-cta-bar a {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 8px;
  font-size: .92rem; font-weight: 700;
}
.mobile-cta-tel { background: var(--ink); color: #fff; }
.mobile-cta-tel .mono { font-size: .6rem; letter-spacing: .2em; color: var(--vu); }
.mobile-cta-form { background: var(--tally); color: #fff; }

/* ============================================================
   汎用テンプレート補完（single / archive / index / search / 404）
   ============================================================ */
.content-with-sidebar {
  display: grid; grid-template-columns: 1fr 300px; gap: 48px;
  align-items: start;
}
.content-with-sidebar .main-content { min-width: 0; }
.sidebar { display: flex; flex-direction: column; gap: 24px; }
.sidebar .widget {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.widget-title {
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 700;
  margin-bottom: 14px;
}

.post-card { overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.post-card .card-body { padding: 22px 24px 26px; }
.post-card-thumb img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.post-card h2 { font-family: var(--font-display); }
.post-card h2 a:hover { color: var(--tally); opacity: 1; }

.post-meta {
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
  font-size: .8rem; color: var(--muted);
}
.post-meta time { font-family: var(--font-mono); }
.post-cat {
  background: var(--ink); color: #fff;
  font-size: .72rem; padding: 3px 10px; border-radius: 99px;
}
a.post-cat:hover { background: var(--tally); opacity: 1; }

/* 旧ボタンクラスの互換（CTA帯などで残存） */
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: #fff; }
.btn-outline { background: transparent; color: var(--tally); border-color: var(--tally); }
.btn-outline:hover { background: var(--tally); color: #fff; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   REVEAL（スクロール表示）
   ============================================================ */
.reveal, .reveal-group > * {
  opacity: 0; transform: translateY(16px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.is-visible, .reveal-group > *.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tally { animation: none; }
  .reveal, .reveal-group > * { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card-service:hover, .works-card:hover { transform: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner, .lp-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-media { max-width: 560px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .flow-steps { grid-template-columns: repeat(3, 1fr); }
  .main-nav { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .header-cta { margin-left: auto; }
  .header-cta .btn { display: none; }
}

@media (max-width: 768px) {
  .section, .lp-section { padding: 60px 0; }
  .hero { padding: 60px 0 52px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .flow-steps, .flow-steps-compact { grid-template-columns: 1fr; }
  .spec-row { grid-template-columns: 1fr; gap: 4px; }
  .feature-item { flex-direction: column; gap: 12px; padding: 24px; }
  .flow-detail-step { flex-direction: column; gap: 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .header-cta .header-tel { display: none; }
  .mobile-cta-bar { display: flex; }
  body { padding-bottom: 54px; }
  .faq-a { padding-left: 22px; }
}
