/* ==========================================================================
   シンケン様 コーポレートサイト 共通スタイル
   ========================================================================== */

:root {
  --color-bg: #F6F2E9;
  --color-bg-alt: #EFE8D8;
  --color-heading: #5C3A24;
  --color-trust: #2C4A52;
  --color-eco: #6B7B4F;
  --color-eco-text: #606E47;
  --color-text: #3A332B;
  --color-white: #FFFFFF;
  --color-border: #DCD3BE;

  --font-heading: 'Shippori Mincho', serif;
  --font-body: 'Noto Sans JP', sans-serif;

  --radius: 6px;
  --shadow: 0 4px 16px rgba(92, 58, 36, 0.12);

  --header-height: 76px;
}

/* --------------------------------------------------------------------------
   リセット・基本設定
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-heading);
  line-height: 1.5;
  margin: 0 0 0.6em;
}

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 72px 0;
}

.section-alt {
  background-color: var(--color-bg-alt);
}

.section-heading {
  text-align: center;
  margin-bottom: 48px;
}

.section-heading .eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--color-eco-text);
  font-weight: 700;
  margin-bottom: 12px;
}

.section-heading h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.section-heading p {
  color: var(--color-text);
  max-width: 560px;
  margin: 12px auto 0;
}

/* --------------------------------------------------------------------------
   組子(くみこ)格子パターン
   -------------------------------------------------------------------------- */
.kumiko-bg {
  background-image:
    linear-gradient(45deg, rgba(92, 58, 36, 0.08) 1px, transparent 1px),
    linear-gradient(-45deg, rgba(92, 58, 36, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92, 58, 36, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(92, 58, 36, 0.05) 1px, transparent 1px);
  background-size: 48px 48px, 48px 48px, 24px 24px, 24px 24px;
  background-position: center;
}

.kumiko-dark {
  background-color: var(--color-trust);
  background-image:
    linear-gradient(45deg, rgba(246, 242, 233, 0.08) 1px, transparent 1px),
    linear-gradient(-45deg, rgba(246, 242, 233, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 242, 233, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(246, 242, 233, 0.05) 1px, transparent 1px);
  background-size: 48px 48px, 48px 48px, 24px 24px, 24px 24px;
}

.section-divider {
  height: 64px;
  background-color: var(--color-bg);
}

/* --------------------------------------------------------------------------
   ボタン
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

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

.btn-primary {
  background-color: var(--color-trust);
  color: var(--color-white);
}

.btn-eco {
  background-color: var(--color-eco);
  color: var(--color-white);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--color-white);
  color: var(--color-white);
}

.btn-outline-dark {
  background-color: transparent;
  border-color: var(--color-trust);
  color: var(--color-trust);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   ヘッダー
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background-color: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: clamp(16px, 3vw, 24px);
  padding-right: clamp(16px, 3vw, 24px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-heading);
  line-height: 1.3;
  white-space: nowrap;
}

.logo-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 8px;
}

.logo-text {
  display: block;
}

.logo small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--color-eco-text);
  letter-spacing: 0.1em;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 3vw, 32px);
  min-width: 0;
}

.global-nav ul {
  display: flex;
  gap: clamp(8px, 2.2vw, 28px);
  flex-shrink: 0;
}

.global-nav ul a {
  display: inline-block;
  font-weight: 700;
  font-size: clamp(0.72rem, 1.4vw, 0.95rem);
  position: relative;
  padding-bottom: 4px;
  white-space: nowrap;
}

.global-nav ul a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-eco);
  transition: width 0.2s ease;
}

.global-nav ul a:hover::after,
.global-nav ul a[aria-current="page"]::after {
  width: 100%;
}

.header-tel {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
  white-space: nowrap;
  margin-top: 8px;
  margin-bottom: 8px;
}

.tel-badge,
a[href^="tel:"] {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--color-trust);
  color: var(--color-bg);
  padding: 8px 18px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(0.9rem, 1.6vw, 1.15rem);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tel-badge:hover,
a[href^="tel:"]:hover {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

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

.header-tel .tel-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-text);
}

.hamburger {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 200;
}

.hamburger span {
  display: block;
  position: absolute;
  left: 8px;
  right: 8px;
  height: 2px;
  background-color: var(--color-heading);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hamburger span:nth-child(1) { top: 13px; }
.hamburger span:nth-child(2) { top: 19px; }
.hamburger span:nth-child(3) { top: 25px; }

.hamburger.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.hamburger.is-open span:nth-child(2) {
  opacity: 0;
}
.hamburger.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   フッター
   -------------------------------------------------------------------------- */
.site-footer {
  color: var(--color-bg);
  padding: 64px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-grid h3 {
  color: var(--color-bg);
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer-grid p, .footer-grid a {
  color: rgba(246, 242, 233, 0.8);
  font-size: 0.9rem;
}

.footer-grid ul li {
  margin-bottom: 10px;
}

.footer-grid ul a:hover {
  color: var(--color-bg);
}

.footer-bottom {
  border-top: 1px solid rgba(246, 242, 233, 0.2);
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(246, 242, 233, 0.6);
}

/* --------------------------------------------------------------------------
   カード
   -------------------------------------------------------------------------- */
.card {
  background-color: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-body h3 {
  font-size: 1.15rem;
}

.card-body > .btn {
  margin-top: auto;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

/* 会社概要：代表挨拶用グリッド */
.greeting-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .greeting-grid {
    grid-template-columns: 240px 1fr;
  }
}

/* 画像プレースホルダー(実写真差し替え前提) */
.img-placeholder {
  aspect-ratio: 4 / 3;
  background: repeating-linear-gradient(
    45deg,
    var(--color-border),
    var(--color-border) 10px,
    #efe8d8 10px,
    #efe8d8 20px
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-heading);
  font-size: 0.85rem;
  text-align: center;
  padding: 12px;
}

img.img-placeholder {
  background: #efe8d8;
  padding: 0;
}

/* --------------------------------------------------------------------------
   ヒーロー(メインビジュアル)
   nakamura-build.jp の .mv_inner 構造(絶対配置の大見出し+装飾イラスト)を
   シンケン用のデザイントークンで再構成したもの。
   -------------------------------------------------------------------------- */
.mv {
  position: relative;
  width: 100%;
  height: 640px;
  overflow: hidden;
}

.mv::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(0deg, rgba(44, 74, 82, 0.82), rgba(44, 74, 82, 0.55)),
    url('../images/index-hero-bg-01.jpg');
  background-size: cover;
  background-position: center;
  animation: heroZoom 20s infinite alternate ease-in-out;
  z-index: 0;
}

@keyframes heroZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  .mv::before {
    animation: none;
  }
}

.mv-inner {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 1100px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 72px;
}

.mv-inner h1 {
  color: var(--color-bg);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
  text-shadow: 0 0 16px rgba(0, 0, 0, 0.35);
  margin: 0;
  max-width: 640px;
}

.mv-inner h1 span {
  display: block;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: normal;
  color: rgba(246, 242, 233, 0.9);
  margin-top: 16px;
}

.mv-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 40px;
}

@media (max-width: 768px) {
  .mv { height: 460px; }

  .mv-inner {
    padding-bottom: 40px;
  }

  .mv-inner h1 {
    font-size: 1.7rem;
  }

  .mv-inner h1 span {
    font-size: 0.9rem;
  }
  
  .mv-cta {
    margin-top: 24px;
  }
}

/* --------------------------------------------------------------------------
   信頼の実績数字バッジ
   -------------------------------------------------------------------------- */
.trust-stats-bar {
  padding: 40px 0;
  border-bottom: 1px solid var(--color-border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.stat-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}

.stat-card:hover {
  transform: translateY(-3px);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--color-trust);
  line-height: 1.1;
  margin-bottom: 8px;
}

.stat-number small {
  font-size: 1.1rem;
  margin-left: 2px;
  color: var(--color-eco);
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-heading);
  line-height: 1.4;
}

.stat-label small {
  display: block;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--color-text);
  margin-top: 4px;
}

/* --------------------------------------------------------------------------
   選ばれる理由・安心の約束
   -------------------------------------------------------------------------- */
.promise-card {
  border-top: 4px solid var(--color-trust);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.promise-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(92, 58, 36, 0.15);
}

.promise-num {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-eco);
  line-height: 1;
  margin-bottom: 12px;
  border-bottom: 2px solid var(--color-border);
  padding-bottom: 4px;
}

.promise-card h3 {
  font-size: 1.1rem;
  color: var(--color-heading);
  margin-bottom: 12px;
}

.promise-card p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   パンくずリスト
   -------------------------------------------------------------------------- */
.breadcrumb {
  font-size: 0.85rem;
  color: rgba(246, 242, 233, 0.8);
}

.breadcrumb a {
  color: rgba(246, 242, 233, 0.8);
  text-decoration: underline;
}

.breadcrumb a:hover {
  color: var(--color-bg);
}

/* --------------------------------------------------------------------------
   手続きの流れ(ステップリスト)
   -------------------------------------------------------------------------- */
.step-list {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}

.step-list li {
  position: relative;
  padding: 4px 0 24px 48px;
  border-left: 2px solid var(--color-border);
  margin-left: 16px;
}

.step-list li:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}

.step-list li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: -17px;
  top: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: var(--color-eco);
  color: var(--color-white);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-list h4 {
  margin: 0 0 6px;
  font-size: 1rem;
  color: var(--color-heading);
}

.step-list p {
  margin: 0;
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   注意事項ボックス
   -------------------------------------------------------------------------- */
.note-box {
  background: #FFF7E8;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 20px 24px;
}

.note-box p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   補助金カード内の対象・補助額・条件(構造化リスト)
   -------------------------------------------------------------------------- */
.update-badge {
  display: inline-block;
  background-color: rgba(246, 242, 233, 0.15);
  border: 1px solid rgba(246, 242, 233, 0.4);
  color: var(--color-bg);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.subsidy-facts {
  margin: 0 0 12px;
  display: grid;
  grid-template-columns: 72px 1fr;
  border-top: 1px solid var(--color-border);
}

.subsidy-facts dt {
  grid-column: 1;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-eco);
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
}

.subsidy-facts dd {
  grid-column: 2;
  margin-left: 0;
  font-size: 0.9rem;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
}

/* --------------------------------------------------------------------------
   補助金バナー
   -------------------------------------------------------------------------- */
.subsidy-banner {
  background-color: var(--color-eco);
  color: var(--color-bg);
  padding: 48px 0;
  text-align: center;
}

.subsidy-banner h2 {
  color: var(--color-bg);
}

.subsidy-banner p {
  color: rgba(246, 242, 233, 0.9);
}

/* --------------------------------------------------------------------------
   お客様の声
   -------------------------------------------------------------------------- */
.voice-card {
  background-color: var(--color-white);
  border-left: 4px solid var(--color-eco);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.voice-card .voice-name {
  margin-top: 16px;
  font-weight: 700;
  color: var(--color-heading);
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   詳細ページ本文カード(subsidy詳細ページ等)
   -------------------------------------------------------------------------- */
.detail-content {
  max-width: 820px;
  margin: 0 auto;
  background-color: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px 48px;
}

@media (max-width: 768px) {
  .detail-content {
    padding: 28px 24px;
  }
}

/* --------------------------------------------------------------------------
   会社概要表
   -------------------------------------------------------------------------- */
.info-table {
  width: 100%;
  border-collapse: collapse;
}

.info-table a[href^="tel:"] {
  display: inline;
  background: none;
  color: var(--color-trust);
  padding: 0;
  border-radius: 0;
  font-family: inherit;
  font-weight: 700;
  font-size: inherit;
  text-decoration: underline;
}

.info-table a[href^="tel:"]:hover {
  transform: none;
  box-shadow: none;
}

.info-table th, .info-table td {
  text-align: left;
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-border);
}

.info-table th {
  width: 220px;
  color: var(--color-heading);
  font-weight: 700;
  background-color: var(--color-bg-alt);
}

@media (max-width: 768px) {
  .info-table, .info-table tbody, .info-table tr, .info-table th, .info-table td {
    display: block;
    width: 100%;
  }
  
  .info-table th {
    border-bottom: none;
    padding: 16px 20px 4px 20px;
    width: 100%;
  }
  
  .info-table td {
    padding: 4px 20px 16px 20px;
  }
}

/* --------------------------------------------------------------------------
   FAQアコーディオン
   -------------------------------------------------------------------------- */
.accordion-item {
  border-bottom: 1px solid var(--color-border);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 4px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-heading);
  cursor: pointer;
}

.accordion-trigger .icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  position: relative;
}

.accordion-trigger .icon::before,
.accordion-trigger .icon::after {
  content: '';
  position: absolute;
  background-color: var(--color-eco);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.accordion-trigger .icon::before {
  width: 16px;
  height: 2px;
}

.accordion-trigger .icon::after {
  width: 2px;
  height: 16px;
  transition: transform 0.2s ease;
}

.accordion-item.is-open .icon::after {
  transform: translate(-50%, -50%) rotate(90deg) scaleX(0);
}

.accordion-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease;
}

.accordion-item.is-open .accordion-panel {
  grid-template-rows: 1fr;
}

.accordion-panel-inner {
  overflow: hidden;
}

.accordion-panel p {
  padding: 0 4px 20px;
  color: var(--color-text);
}

/* --------------------------------------------------------------------------
   目次(subsidy.html)
   -------------------------------------------------------------------------- */
.toc {
  background-color: var(--color-white);
  border-radius: var(--radius);
  padding: 24px 28px;
  box-shadow: var(--shadow);
}

.toc h2 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.toc ol {
  list-style: decimal;
  padding-left: 1.2em;
}

.toc li {
  margin-bottom: 8px;
}

.toc a {
  color: var(--color-trust);
  font-weight: 700;
}

.toc a:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   お問い合わせ
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-tel-box {
  background-color: var(--color-trust);
  color: var(--color-bg);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
}

.contact-tel-box .tel-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  display: block;
  margin: 12px 0;
}

.map-placeholder {
  background-color: var(--color-bg-alt);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius);
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-heading);
  text-align: center;
  padding: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-heading);
}

.form-group .required {
  color: #B3452C;
  font-size: 0.75rem;
  margin-left: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  background-color: var(--color-white);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-message {
  padding: 16px 20px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  line-height: 1.7;
}

.form-message-success {
  background-color: rgba(107, 123, 79, 0.12);
  border: 1px solid var(--color-eco);
  color: var(--color-heading);
}

.form-message-error {
  background-color: rgba(179, 69, 44, 0.1);
  border: 1px solid #B3452C;
  color: var(--color-heading);
}

.form-message-error a {
  color: var(--color-trust);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   スクロールリビール
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html { scroll-behavior: auto; }
}

/* --------------------------------------------------------------------------
   パンくず・下層ページヘッダー
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding: 72px 0;
  color: var(--color-bg);
  text-align: center;
}

.page-hero.kumiko-dark {
  background-image:
    linear-gradient(0deg, rgba(44, 74, 82, 0.88), rgba(44, 74, 82, 0.65)),
    url('../images/subsidy-hero-bg-01.jpg');
  background-size: cover;
  background-position: center;
}

.page-hero.page-hero-company {
  background-image:
    linear-gradient(0deg, rgba(44, 74, 82, 0.88), rgba(44, 74, 82, 0.65)),
    url('../images/company-hero-bg-01.jpg');
  background-size: cover;
  background-position: center;
}

.page-hero.page-hero-service {
  background-image:
    linear-gradient(0deg, rgba(44, 74, 82, 0.88), rgba(44, 74, 82, 0.65)),
    url('../images/service-hero-bg-01.jpg');
  background-size: cover;
  background-position: center;
}

.page-hero h1 {
  color: var(--color-bg);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
}

/* --------------------------------------------------------------------------
   レスポンシブ
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .hamburger { display: block; }

  .global-nav {
    position: fixed;
    inset: 0;
    top: var(--header-height);
    background-color: var(--color-bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }

  .global-nav.is-open {
    transform: translateX(0);
  }

  .global-nav ul {
    flex-direction: column;
    gap: 24px;
    width: 100%;
  }

  .header-tel {
    display: none;
  }

  .global-nav .header-tel {
    display: flex;
    align-items: flex-start;
    margin-top: 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  section { padding: 48px 0; }

  /* スマホ固定追従CTAバー */
  body {
    padding-bottom: 64px;
  }

  .mobile-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    display: flex;
    gap: 8px;
    padding: 10px 16px;
    background-color: rgba(246, 242, 233, 0.95);
    backdrop-filter: blur(8px);
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -4px 16px rgba(92, 58, 36, 0.15);
  }

  .mobile-cta-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 8px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 0.88rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .mobile-cta-btn.btn-tel {
    background-color: var(--color-trust);
    color: var(--color-bg);
  }

  .mobile-cta-btn.btn-form {
    background-color: var(--color-eco);
    color: var(--color-white);
  }
}

/* --------------------------------------------------------------------------
   スマホ固定追従CTAバー (PC非表示)
   -------------------------------------------------------------------------- */
.mobile-cta-bar {
  display: none;
}
