@charset "UTF-8";
/* 下層ページ用スタイル
   トップのCSS（main.css）は mock/index.html からの移植なので、
   下層で足すスタイルはこのファイルに分ける（再移植しても消えないように）。
   色・書体・余白のトークンは main.css の :root をそのまま使う。 */

/* ============ ページヘッダー ============ */
.page-head {
  /* 固定ヘッダーの下に潜り込まないよう、ヘッダー高さ分を足す */
  padding: calc(var(--header-h) + 56px) 0 0;
  background: var(--c-bg-warm);
}
.page-head .inner { padding-bottom: 56px; }
.page-head h1 {
  font-family: var(--ff-catch);
  font-size: 2.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-align: center;
}
.page-head h1::before {
  content: "";
  display: block;
  width: 28px; height: 3px;
  background: var(--c-brand);
  margin: 0 auto 20px;
}
.page-head h1 small {
  display: block;
  font-family: var(--ff-en);
  font-size: 1.3rem;
  letter-spacing: 0.18em;
  color: var(--c-brand);
  margin-top: 12px;
  font-weight: 500;
}
.page-head .lead {
  text-align: center;
  font-size: 1.6rem;
  color: var(--c-text-sub);
  margin-top: 24px;
  line-height: 2;
}

/* ============ パンくず ============ */
.breadcrumb {
  font-size: 1.3rem;
  color: var(--c-text-sub);
  padding: 16px 0;
}
.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.breadcrumb li::after { content: "›"; margin-left: 8px; color: var(--c-line); }
.breadcrumb li:last-child::after { content: none; }
.breadcrumb a { color: var(--c-text-sub); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb a:hover { color: var(--c-brand); }

/* ============ 絞り込み ============ */
.filter-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 56px;
}
.filter-nav a {
  font-size: 1.4rem;
  letter-spacing: 0.06em;
  padding: 9px 20px;
  border: 1px solid var(--c-line-light);
  background: #fff;
  color: var(--c-text);
  transition: background .3s, color .3s, border-color .3s;
}
.filter-nav a:hover { border-color: var(--c-brand); color: var(--c-brand); }
.filter-nav a.is-current { background: var(--c-brand); border-color: var(--c-brand); color: #fff; }
/* プランの段階の絞り込み：カテゴリの行のすぐ下に、ひとまわり小さく並べる */
.filter-nav:has(+ .filter-nav--grade) { margin-bottom: 14px; }
.filter-nav--grade a { font-size: 1.3rem; padding: 6px 16px; }

/* ============ 一覧の共通枠 ============ */
.archive-body { padding: 80px 0 96px; }
.archive-count {
  text-align: center;
  font-size: 1.4rem;
  color: var(--c-text-sub);
  margin-bottom: 40px;
}
.archive-count b { font-family: var(--ff-en); font-size: 1.8rem; color: var(--c-brand); margin: 0 4px; }
.no-posts {
  text-align: center;
  font-size: 1.6rem;
  color: var(--c-text-sub);
  padding: 64px 0;
  line-height: 2;
}

/* ============ ページャ ============ */
.pager { margin-top: 72px; }
.pager .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  margin: 0 4px;
  border: 1px solid var(--c-line-light);
  font-family: var(--ff-en);
  font-size: 1.5rem;
  color: var(--c-text);
  transition: background .3s, color .3s, border-color .3s;
}
.pager .page-numbers:hover { border-color: var(--c-brand); color: var(--c-brand); }
.pager .page-numbers.current { background: var(--c-brand); border-color: var(--c-brand); color: #fff; }
.pager .page-numbers.dots { border: 0; }
.pager nav { text-align: center; }

/* ============ 記事・固定ページ本文 ============ */
.entry { padding: 72px 0 96px; }
.entry-inner { max-width: 820px; margin: 0 auto; }
.entry-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.4rem;
  color: var(--c-text-sub);
  margin-bottom: 20px;
}
.entry-meta time { font-family: var(--ff-en); letter-spacing: 0.06em; }
.entry-meta .cat {
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border: 1px solid var(--c-line-light);
  color: var(--c-text-sub);
}
.entry-title {
  font-family: var(--ff-catch);
  font-size: 2.6rem;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.06em;
  margin-bottom: 32px;
}
.entry-thumb { margin-bottom: 40px; }
.entry-thumb img { width: 100%; height: auto; }
.entry-content { font-size: 1.6rem; line-height: 2.1; }
.entry-content > * + * { margin-top: 1.6em; }
.entry-content h2 {
  font-family: var(--ff-catch);
  font-size: 2.1rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.7;
  padding-left: 16px;
  border-left: 3px solid var(--c-brand);
  margin-top: 2.4em;
}
.entry-content h3 {
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  margin-top: 2em;
}
.entry-content ul, .entry-content ol { padding-left: 1.5em; }
.entry-content li + li { margin-top: 0.6em; }
.entry-content img { max-width: 100%; height: auto; }
.entry-content a { color: var(--c-brand); text-decoration: underline; text-underline-offset: 3px; }
.entry-content blockquote {
  background: var(--c-bg-warm);
  padding: 24px 28px;
  color: var(--c-text-sub);
}
.entry-content table { width: 100%; border-collapse: collapse; font-size: 1.5rem; }
.entry-content th, .entry-content td { border: 1px solid var(--c-line-light); padding: 12px 16px; text-align: left; }
.entry-content th { background: var(--c-bg-warm); font-weight: 500; }

/* ============ 前後の記事 ============ */
.entry-nav {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  max-width: 820px;
  margin: 72px auto 0;
  padding-top: 32px;
  border-top: 1px solid var(--c-line-light);
  font-size: 1.4rem;
}
.entry-nav a { color: var(--c-text-sub); }
.entry-nav a:hover { color: var(--c-brand); }
.entry-nav .next { margin-left: auto; text-align: right; }

/* ============ 施工事例の詳細 ============ */
.works-hero { padding: 56px 0 0; }
.works-hero .ba-pair { gap: 4px; }
.works-hero .ba-pair img { aspect-ratio: 4/3; }
.works-hero figcaption { font-size: 1.3rem; }
.works-data {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--c-line-light);
  border: 1px solid var(--c-line-light);
  margin: 48px 0;
}
.works-data div { background: #fff; padding: 24px 20px; text-align: center; }
.works-data dt {
  font-size: 1.3rem;
  letter-spacing: 0.1em;
  color: var(--c-text-sub);
  margin-bottom: 10px;
}
.works-data dd { font-size: 1.8rem; font-weight: 500; letter-spacing: 0.04em; }
.works-data .is-price dd { color: var(--c-brand); font-family: var(--ff-en); font-size: 2.1rem; }
.works-voice {
  background: var(--c-brand-pale);
  padding: 36px 40px;
  margin-top: 40px;
}
.works-voice h2 {
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.works-voice h2 small {
  font-family: var(--ff-en);
  font-size: 1.2rem;
  letter-spacing: 0.14em;
  color: var(--c-brand);
  margin-left: 12px;
}
.works-voice p { font-size: 1.6rem; line-height: 2.1; }
.works-voice .name { text-align: right; font-size: 1.4rem; color: var(--c-text-sub); margin-top: 16px; }

/* ============ 部位ごとのBefore/After・写真ギャラリー ============ */
/* main.css の section { padding: 96px 0 } を打ち消す（記事内の節なので余白は margin で持つ） */
.ba-list, .photo-gallery { padding: 0; margin-top: 56px; }
.ba-list > h2, .photo-gallery > h2 {
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--c-line);
}
.ba-list > h2 small, .photo-gallery > h2 small {
  font-family: var(--ff-en);
  font-size: 1.2rem;
  letter-spacing: 0.14em;
  color: var(--c-brand);
  margin-left: 12px;
}
.ba-item { margin-bottom: 32px; }
.ba-item h3 {
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.ba-item h3::before { content: "■"; color: var(--c-brand); font-size: 1rem; margin-right: 8px; }
.ba-list .ba-pair { gap: 4px; }
.ba-list .ba-pair img { aspect-ratio: 4/3; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.gallery-grid img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
[data-zoom] { display: block; cursor: zoom-in; }
[data-zoom] img { transition: opacity .3s; }
[data-zoom]:hover img { opacity: .85; }

/* 拡大表示。JSが無効でも原寸画像へのリンクとして機能する */
.zoom-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(24, 21, 19, 0.92);
}
.zoom-overlay:focus { outline: none; }
.zoom-overlay img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.zoom-overlay button {
  position: absolute;
  border: 0;
  background: none;
  color: #fff;
  line-height: 1;
  cursor: pointer;
}
.zoom-close { top: 12px; right: 16px; width: 48px; height: 48px; font-size: 2.8rem; }
.zoom-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 72px;
  font-size: 4rem;
  opacity: 0.75;
  transition: opacity .2s;
}
.zoom-nav:hover, .zoom-nav:focus-visible { opacity: 1; }
.zoom-nav.is-prev { left: 8px; }
.zoom-nav.is-next { right: 8px; }
.zoom-count {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  margin: 0;
  text-align: center;
  color: #fff;
  font-family: var(--ff-en);
  font-size: 1.3rem;
  letter-spacing: 0.1em;
  opacity: 0.8;
}

/* ============ はじめての方へ（page-guide.php） ============ */
.guide-flow, .guide-price { padding: 0; margin-top: 64px; }
.guide-flow > h2, .guide-price > h2 {
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--c-line);
}
.guide-flow > h2 small, .guide-price > h2 small {
  font-family: var(--ff-en);
  font-size: 1.2rem;
  letter-spacing: 0.14em;
  color: var(--c-brand);
  margin-left: 12px;
}
.guide-flow ol { counter-reset: none; }
.guide-flow li { display: flex; gap: 20px; padding: 0 0 28px; position: relative; }
.guide-flow li::before {
  /* ステップをつなぐ縦線。最後の項目だけ引かない */
  content: "";
  position: absolute;
  left: 21px;
  top: 44px;
  bottom: 4px;
  width: 1px;
  background: var(--c-line-light);
}
.guide-flow li:last-child { padding-bottom: 0; }
.guide-flow li:last-child::before { content: none; }
.guide-flow .num {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--c-brand);
  color: #fff;
  font-family: var(--ff-en);
  font-size: 1.4rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.guide-flow h3 { font-size: 1.6rem; font-weight: 500; letter-spacing: 0.06em; margin: 10px 0 6px; }
.guide-flow p { font-size: 1.5rem; color: var(--c-text-sub); line-height: 1.9; }
.guide-price .lead { font-size: 1.5rem; line-height: 1.9; margin-bottom: 24px; }
.guide-price .lead strong { color: var(--c-brand); font-weight: 600; }
.rule-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.rule { padding: 24px 24px 20px; }
.rule.is-included { background: var(--c-brand-pale); }
.rule.is-extra { background: var(--c-bg-gray); }
.rule h3 { font-size: 1.5rem; font-weight: 600; letter-spacing: 0.06em; margin-bottom: 14px; }
.rule dt { font-size: 1.4rem; font-weight: 600; letter-spacing: 0.04em; margin-top: 14px; }
.rule dt:first-of-type { margin-top: 0; }
.rule dd { font-size: 1.4rem; color: var(--c-text-sub); line-height: 1.8; margin-top: 2px; }
.guide-price .note-sample { margin-top: 20px; }
.guide-price .btn-area { margin-top: 28px; }

/* ============ よくあるご質問・性能向上・中古物件（D8の固定ページ） ============ */
.faq-group { padding: 0; margin-top: 56px; }
.faq-group > h2, .perf-note > h2, .company-sec > h2 {
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--c-line);
}
.faq-group > h2 small, .perf-note > h2 small, .company-sec > h2 small {
  font-family: var(--ff-en);
  font-size: 1.2rem;
  letter-spacing: 0.14em;
  color: var(--c-brand);
  margin-left: 12px;
}
.faq-more { margin-top: 48px; font-size: 1.5rem; color: var(--c-text-sub); }
.faq-more a { border-bottom: 1px solid var(--c-line-light); }
/* ============ 性能向上リフォーム：家のどこに手を入れるか ============ */
.perf-sec-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.perf-sec-head h2 { font-size: 2.4rem; font-weight: 500; letter-spacing: 0.08em; line-height: 1.5; }
.perf-sec-head h2 small {
  display: block;
  font-family: var(--ff-en);
  font-size: 1.2rem;
  letter-spacing: 0.14em;
  color: var(--c-brand);
  margin-top: 10px;
}
.perf-sec-head p { font-size: 1.5rem; line-height: 1.95; color: var(--c-text-sub); margin-top: 20px; }

.perf-map { background: #fff; }
.perf-map-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  max-width: 1040px;
  margin: 0 auto;
}
.perf-map-fig svg { width: 100%; height: auto; display: block; }
.perf-map-fig .ln { fill: none; stroke: var(--c-text); stroke-width: 1.5; stroke-linejoin: round; }
.perf-map-fig .ln-soft { fill: none; stroke: var(--c-line-light); stroke-width: 1.2; }
.perf-map-fig .fl { fill: var(--c-line); }
.perf-map-fig .fill { fill: var(--c-brand-pale); stroke: none; }
.perf-map-fig .win { fill: #fff; stroke: var(--c-text); stroke-width: 1.5; }
.perf-map-fig .mk circle { fill: var(--c-brand); }
.perf-map-fig .mk text {
  fill: #fff;
  font-family: var(--ff-en);
  font-size: 15px;
  font-weight: 600;
  text-anchor: middle;
}

.perf-map-list { display: flex; flex-direction: column; gap: 24px; list-style: none; }
.perf-map-list li { display: flex; gap: 16px; }
.perf-map-no {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--c-brand);
  color: #fff;
  font-family: var(--ff-en);
  font-size: 1.3rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
}
.perf-map-list h3 {
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.perf-map-list p { font-size: 1.45rem; line-height: 1.85; color: var(--c-text-sub); margin-top: 6px; }
.perf-tag { font-size: 1.1rem; font-weight: 500; letter-spacing: 0.06em; padding: 3px 9px; }
.perf-tag.is-seismic { background: var(--c-bg-gray); color: var(--c-text-sub); }
.perf-tag.is-insulation { background: var(--c-brand-pale); color: var(--c-brand); }

/* ---- 実際に行う工事（耐震10・断熱10） ---- */
.perf-works { background: var(--c-bg-warm); }
.perf-works.is-insulation { background: #fff; }
.perf-works-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
  max-width: 1000px;
  margin: 0 auto;
}
.perf-item {
  display: flex;
  gap: 20px;
  background: #fff;
  border: 1px solid transparent;
  padding: 26px 26px 28px;
  transition: border-color .3s;
}
.perf-works.is-insulation .perf-item { background: var(--c-bg-warm); }
.perf-item:hover { border-color: var(--c-brand); }
.perf-item-ic { flex: 0 0 auto; color: var(--c-brand); margin-top: 3px; }
.perf-item-ic svg { width: 34px; height: 34px; }
.perf-item-no {
  display: block;
  font-family: var(--ff-en);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--c-brand);
  opacity: 0.6;
}
.perf-item h3 { font-size: 1.65rem; font-weight: 600; letter-spacing: 0.03em; line-height: 1.6; margin-top: 4px; }
.perf-item p { font-size: 1.4rem; line-height: 1.85; color: var(--c-text-sub); margin-top: 8px; }

.perf-note { padding: 0; margin: 64px 0 0; }
.perf-note p { font-size: 1.5rem; line-height: 1.95; }
.perf-note p + p { margin-top: 1.2em; }
.perf-note strong { color: var(--c-brand); font-weight: 600; }
.perf-note .btn-area { margin-top: 32px; }

/* ============ メニューの詳細 ============ */
.menu-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.menu-detail .photo img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.menu-detail .price-box {
  border: 1px solid var(--c-line-light);
  padding: 28px 32px;
  margin-bottom: 28px;
}
.menu-detail .price-box .num {
  font-family: var(--ff-en);
  font-size: 3.6rem;
  font-weight: 600;
  color: var(--c-brand);
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.menu-detail .price-box .num small { font-family: var(--ff-base); font-size: 1.6rem; color: var(--c-text); margin-left: 4px; }
.menu-detail .price-box .parts { font-size: 1.4rem; color: var(--c-text-sub); margin-top: 8px; letter-spacing: 0.02em; }
.menu-detail .price-box .incl {
  font-size: 1.4rem;
  color: var(--c-text-sub);
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--c-line-light);
}
.menu-detail .price-box .save { font-size: 1.5rem; color: var(--c-brand); font-weight: 600; margin-top: 10px; }
.menu-detail .spec { font-size: 1.6rem; line-height: 2.1; margin-bottom: 20px; }
.menu-detail .note {
  font-size: 1.4rem;
  color: var(--c-text-sub);
  line-height: 1.9;
  background: var(--c-bg-warm);
  padding: 18px 20px;
}

/* ============ スタッフ一覧 ============ */
.staff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 32px; }
.staff-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.staff-card .position { font-size: 1.3rem; color: var(--c-brand); letter-spacing: 0.08em; margin-top: 18px; }
.staff-card h2 { font-size: 1.9rem; font-weight: 500; letter-spacing: 0.06em; margin-top: 6px; }
.staff-card .career { font-size: 1.4rem; color: var(--c-text-sub); margin-top: 6px; }
.staff-card .message { font-size: 1.5rem; color: var(--c-text-sub); line-height: 1.9; margin-top: 14px; }

/* ============ 検索・404 ============ */
.simple-body { padding: 96px 0; text-align: center; }
.simple-body p { font-size: 1.6rem; line-height: 2.1; color: var(--c-text-sub); margin-bottom: 32px; }
.search-form { display: flex; justify-content: center; gap: 8px; margin-top: 32px; }
.search-form input[type="search"] {
  width: min(360px, 70vw);
  padding: 12px 16px;
  border: 1px solid var(--c-line-light);
  font-size: 1.5rem;
  font-family: inherit;
}
.search-form button {
  padding: 12px 24px;
  background: var(--c-brand);
  color: #fff;
  border: 0;
  font-size: 1.5rem;
  font-family: inherit;
  cursor: pointer;
}

/* ============ タブレット ============ */
@media (max-width: 1024px) {
  .perf-works-grid { grid-template-columns: 1fr; }
  .perf-map-body { grid-template-columns: 1fr; gap: 44px; }
  .perf-map-fig { max-width: 520px; margin: 0 auto; }
  .works-data { grid-template-columns: 1fr; }
  .menu-detail { grid-template-columns: 1fr; gap: 32px; }
  .staff-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============ スマートフォン ============ */
@media (max-width: 767px) {
  .page-head { padding-top: calc(var(--header-h) + 40px); }
  .page-head .inner { padding-bottom: 40px; }
  .page-head h1 { font-size: 2.3rem; }
  .archive-body { padding: 48px 0 64px; }
  .entry { padding: 48px 0 64px; }
  .entry-title { font-size: 2.1rem; }
  .entry-content { font-size: 1.5rem; }
  .staff-grid { grid-template-columns: 1fr; gap: 40px; }
  .works-voice { padding: 24px 22px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .rule-cols { grid-template-columns: 1fr; }
  .guide-flow, .guide-price { margin-top: 48px; }
  .zoom-overlay { padding: 12px; }
  .zoom-nav { width: 48px; height: 64px; font-size: 3.2rem; top: auto; bottom: 12px; transform: none; }
  .zoom-nav.is-prev { left: 4px; }
  .zoom-nav.is-next { right: 4px; }
  .zoom-count { bottom: 32px; }
  .ba-list, .photo-gallery { margin-top: 40px; }
  .entry-nav { flex-direction: column; gap: 12px; }
  .entry-nav .next { margin-left: 0; text-align: left; }
  /* SP固定CTAに隠れないよう下に余白 */
  .footer { padding-bottom: 64px; }
}

/* ============ 料金・費用の目安（D7 / page-price.php） ============ */
/* main.css の section { padding: 96px 0 } を打ち消す（下層は margin で間隔をとる） */
.price-pack, .price-single, .price-incl, .price-faq { padding: 0; margin-top: 64px; }
.price-pack.is-first { margin-top: 0; }
/* 階段は本文幅の外。前後の余白はセクションとして持つ */
.price-steps-sec { padding: 56px 0 0; }
.price-steps-sec .price-grid { margin-top: 0; }
.price-steps-sec h2, .price-pack > h2, .price-single > h2, .price-incl > h2, .price-faq > h2 {
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--c-line);
}
.price-steps-sec h2 small, .price-pack > h2 small, .price-single > h2 small,
.price-incl > h2 small, .price-faq > h2 small {
  font-family: var(--ff-en);
  font-size: 1.2rem;
  letter-spacing: 0.14em;
  color: var(--c-brand);
  margin-left: 12px;
}
.price-steps-sec .lead, .price-pack .lead, .price-single .lead, .price-incl .lead {
  font-size: 1.5rem;
  line-height: 1.9;
  color: var(--c-text-sub);
  margin-bottom: 24px;
}

/* まとめてお得なパッケージ */
.pack-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.pack-card { border: 1px solid var(--c-line-light); padding: 24px 22px 22px; display: flex; flex-direction: column; }
.pack-card h3 { font-size: 1.6rem; font-weight: 600; letter-spacing: 0.04em; line-height: 1.6; }
.pack-card h3 a { display: block; }
.pack-price {
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--c-brand);
  font-family: var(--ff-en);
  letter-spacing: 0.02em;
  margin-top: 10px;
}
.pack-off {
  display: inline-block;
  align-self: flex-start;
  font-size: 1.3rem;
  background: var(--c-brand-pale);
  color: var(--c-brand);
  padding: 4px 12px;
  margin-top: 8px;
}
.pack-off strong { font-weight: 700; }
.pack-desc { font-size: 1.4rem; color: var(--c-text-sub); line-height: 1.8; margin-top: 12px; }
.pack-more {
  margin-top: auto;
  padding-top: 16px;
  font-size: 1.4rem;
  color: var(--c-brand);
}
.pack-more::after { content: "›"; margin-left: 6px; }
.price-pack .note-sample { margin-top: 20px; }

/* メニューごとの価格 */
.table-scroll { overflow-x: auto; }
.price-table { width: 100%; border-collapse: collapse; min-width: 520px; }
.price-table th, .price-table td { padding: 14px 12px; border-bottom: 1px solid var(--c-line-light); text-align: left; vertical-align: top; }
.price-table thead th {
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--c-text-sub);
  border-bottom: 1px solid var(--c-line);
  padding-bottom: 10px;
}
.price-table tbody th { font-size: 1.5rem; font-weight: 500; }
.price-table tbody th a { border-bottom: 1px solid var(--c-line-light); }
.price-table .c-price {
  white-space: nowrap;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--c-brand);
  font-family: var(--ff-en);
  letter-spacing: 0.02em;
}
.price-table .c-spec { font-size: 1.4rem; color: var(--c-text-sub); line-height: 1.8; }
.price-single .btn-area { margin-top: 28px; }

/* 価格に含まれるもの */
.incl-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0 24px;
  background: var(--c-brand-pale);
  padding: 24px 24px 22px;
}
.incl-list dt { font-size: 1.4rem; font-weight: 600; letter-spacing: 0.04em; margin-top: 14px; }
.incl-list dt:first-of-type { margin-top: 0; }
.incl-list dd { font-size: 1.4rem; color: var(--c-text-sub); line-height: 1.8; margin-top: 2px; }
.incl-more { font-size: 1.5rem; line-height: 1.9; margin-top: 22px; }
.incl-more strong { font-weight: 600; }
.incl-more a { color: var(--c-brand); border-bottom: 1px solid var(--c-line-light); }
.price-incl .note-sample { margin-top: 18px; }
.price-incl .price-free { margin-top: 18px; }
.price-faq .faq-group { margin-top: 0; }
.price-faq .btn-area { margin-top: 28px; }

@media (max-width: 900px) {
  .incl-list { grid-template-columns: 1fr; }
  .price-steps-sec, .price-pack, .price-single, .price-incl, .price-faq { margin-top: 48px; }
}

/* ============ お問い合わせフォーム（D5 / page-contact.php） ============ */
/* 入力欄は 1.6rem（＝16px）を下回らせない。iOSが小さい文字の入力欄で勝手に拡大するため */
.contact {
  /* エラー表示の色。テーマ本体のトークンには無いのでここで持つ */
  --c-alert: #a4231c;         /* on #fff = 6.4:1 AA可 */
  --c-alert-bg: #fbecea;
}
.contact-lead { font-size: 1.6rem; line-height: 1.9; }
.contact-lead strong { font-weight: 600; }
.contact-note { font-size: 1.4rem; line-height: 1.9; color: var(--c-text-sub); margin-top: 20px; }

.contact-alert {
  border: 1px solid var(--c-alert);
  background: var(--c-alert-bg);
  color: var(--c-alert);
  font-size: 1.5rem;
  line-height: 1.8;
  padding: 16px 20px;
  margin-bottom: 28px;
}

/* ---- 入力欄 ---- */
.contact-form { margin-top: 32px; }
.cf-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0 24px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid var(--c-line-light);
}
.cf-row:first-of-type { border-top: 1px solid var(--c-line-light); }
.cf-label {
  display: block;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.7;
  padding-top: 0.9em;
}
.cf-mark {
  display: inline-block;
  margin-left: 10px;
  padding: 3px 8px;
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  border: 1px solid var(--c-line-light);
  color: var(--c-text-sub);
  vertical-align: 2px;
}
.cf-mark.is-req { border-color: var(--c-brand); background: var(--c-brand); color: #fff; }
.cf-note { font-size: 1.4rem; line-height: 1.8; color: var(--c-text-sub); margin-bottom: 8px; }

/* ラジオは別扱い。ここに含めると丸が消えて四角い箱になる */
.cf-input input:not([type="radio"]),
.cf-input textarea,
.cf-input select {
  width: 100%;
  font-family: inherit;
  font-size: 1.6rem;
  line-height: 1.7;
  color: var(--c-text);
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: 2px;
  padding: 0.9em 1em;
}
.cf-input input:not([type="radio"]),
.cf-input textarea { -webkit-appearance: none; appearance: none; }
.cf-input textarea { resize: vertical; min-height: 12em; }
.cf-input ::placeholder { color: #999; }
.cf-input input:focus,
.cf-input textarea:focus,
.cf-input select:focus,
.cf-radio input:focus-visible {
  outline: 2px solid var(--c-brand);
  outline-offset: 1px;
  border-color: var(--c-brand);
}
.cf-row.is-error .cf-input input:not([type="radio"]),
.cf-row.is-error .cf-input textarea,
.cf-row.is-error .cf-input select { border-color: var(--c-alert); background: #fffafa; }
.cf-error { font-size: 1.4rem; font-weight: 500; line-height: 1.7; color: var(--c-alert); margin-top: 8px; }

.cf-radios { display: flex; flex-wrap: wrap; gap: 10px 28px; padding-top: 0.9em; }
.cf-radio { display: inline-flex; align-items: center; gap: 8px; font-size: 1.6rem; cursor: pointer; }
.cf-radio input { width: 20px; height: 20px; accent-color: var(--c-brand); }

/* 自動投稿よけ。display:none にすると機械に気づかれるので画面の外へ逃がす */
.cf-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 40px; }
.contact-actions .btn { font-family: inherit; cursor: pointer; }
.contact-back { padding: 1.4em 3em 1.4em 4.2em; }
.contact-back::after { right: auto; left: 1.6em; transform: translateY(-50%) rotate(-135deg); }

/* ---- 確認画面 ---- */
.contact-check { margin-top: 28px; border-top: 1px solid var(--c-line-light); }
.contact-check-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--c-line-light);
}
.contact-check dt { font-size: 1.5rem; font-weight: 600; line-height: 1.8; }
.contact-check dd { font-size: 1.6rem; line-height: 1.9; margin: 0; }
.contact-check dd.is-empty { color: var(--c-text-sub); }

/* ---- 完了画面 ---- */
.contact-done { text-align: center; padding: 32px 0 0; }
.contact-done-mark {
  width: 64px; height: 64px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--c-brand-pale);
  color: var(--c-brand);
  font-size: 3.2rem;
  line-height: 64px;
}
.contact-done h2 { font-size: 2.4rem; font-weight: 600; letter-spacing: 0.04em; margin-top: 20px; }
.contact-done .contact-lead { margin-top: 16px; }

/* ---- フォーム以外の導線（お電話・LINE） ---- */
.contact-other { margin-top: 64px; padding: 40px 24px; background: var(--c-bg-warm); text-align: center; }
.contact-other h2 { font-size: 1.9rem; font-weight: 600; letter-spacing: 0.04em; }
.contact-other .contact-lead { margin-top: 12px; font-size: 1.5rem; }
.contact-tel {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--ff-en);
  font-size: 3.4rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: var(--c-text);
}
.contact-hours { font-size: 1.4rem; color: var(--c-text-sub); margin-top: 6px; }
.contact-line { margin-top: 24px; }

@media (max-width: 767px) {
  .perf-works-grid { grid-template-columns: 1fr; gap: 14px; }
  .perf-map-body { gap: 36px; }
  .perf-sec-head { margin-bottom: 36px; }
  .perf-sec-head h2 { font-size: 2.1rem; }
  .perf-item { padding: 22px 20px 24px; }
  .cf-row,
  .contact-check-row { grid-template-columns: 1fr; gap: 8px 0; }
  .cf-label { padding-top: 0; }
  .cf-radios { padding-top: 0; }
  .contact-actions { margin-top: 32px; }
  .contact-actions .btn { width: 100%; text-align: center; }
  .contact-other { margin-top: 48px; padding: 32px 20px; }
  .contact-tel { font-size: 2.8rem; }
}

/* 個人情報の取り扱い案内（送信ボタンの手前） */
.cf-consent {
  font-size: 1.4rem;
  line-height: 1.9;
  color: var(--c-text-sub);
  text-align: center;
  margin-top: 32px;
}
.cf-consent a { color: var(--c-brand); border-bottom: 1px solid var(--c-line-light); }

/* ============ 会社概要（page-company.php・2026-10-07） ============ */
/* 見出しは .faq-group > h2 と共通。section の上下 padding は main.css の指定を打ち消す */
.company-sec { padding: 0; margin-top: 56px; }
.company-sec:first-of-type { margin-top: 0; }
.company-table > div {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 6px 32px;
  padding: 20px 4px;
  border-bottom: 1px solid var(--c-line-light);
}
.company-table dt { font-size: 1.5rem; font-weight: 500; letter-spacing: 0.08em; color: var(--c-text-sub); }
.company-table dd { font-size: 1.6rem; line-height: 1.9; letter-spacing: 0.04em; }
.company-links { display: flex; flex-wrap: wrap; gap: 12px 16px; list-style: none; padding: 0; }
.company-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border: 1px solid var(--c-line);
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  transition: border-color .2s, color .2s;
}
.company-links a:hover { border-color: var(--c-brand); color: var(--c-brand); }
.company-links .ext::after { content: "↗"; font-size: 1.3rem; color: var(--c-brand); }
@media (max-width: 767px) {
  .company-table > div { grid-template-columns: 1fr; gap: 2px; padding: 16px 0; }
  .company-links { flex-direction: column; }
}
