/* ==================================================================
   あのねサービス — style.css
   Apple公式サイトを参照した、白基調・余白重視・高級感のあるデザインシステム
   ================================================================== */

:root {
  /* --- カラー: モノトーン+アクセントグリーン(庭のサービスを想起させる深緑) --- */
  --ink: #1d1d1f;
  --ink-soft: #48484a;
  --gray: #6e6e73;
  --gray-light: #86868b;
  --hairline: rgba(0, 0, 0, 0.08);
  --hairline-strong: rgba(0, 0, 0, 0.12);
  --white: #ffffff;
  --bg-subtle: #f5f5f7;
  --bg-subtle-2: #fbfbfd;

  --accent: #1f6f54;
  --accent-dark: #164f3c;
  --accent-tint: #eaf5f0;
  --accent-tint-strong: #d8ede4;

  --line-green: #06c755;
  --gold: #b08d57;
  --warn: #d9822b;

  --font-base: -apple-system, BlinkMacSystemFont, "SF Pro JP", "SF Pro Text",
    "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic",
    "Segoe UI", Roboto, sans-serif;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --radius-pill: 980px;

  --shadow-1: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-2: 0 12px 32px rgba(0, 0, 0, 0.08);
  --shadow-3: 0 24px 60px rgba(0, 0, 0, 0.14);
  --shadow-glass: 0 20px 45px rgba(29, 29, 31, 0.08), 0 2px 8px rgba(29, 29, 31, 0.04);

  --max-width: 1180px;
  --max-width-wide: 1320px;
  --max-width-narrow: 760px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- リセット ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--ink);
  background: var(--white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
h1,
h2,
h3,
h4,
p,
figure {
  margin: 0;
}
button {
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
}
table {
  border-collapse: collapse;
  width: 100%;
}
address {
  font-style: normal;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- アクセシビリティ ---------- */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--ink);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
  z-index: 999;
  transition: top 0.2s var(--ease);
}
.skip-link:focus {
  top: 12px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- レイアウト ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.container--wide {
  max-width: var(--max-width-wide);
}
.container--narrow {
  max-width: var(--max-width-narrow);
}

.section {
  padding: 120px 0;
}
.section--tight {
  padding: 80px 0;
}
.section--subtle {
  background: var(--bg-subtle);
}
.section--dark {
  background: var(--ink);
  color: var(--white);
}
.section--accent {
  background: linear-gradient(160deg, var(--accent-dark) 0%, var(--accent) 100%);
  color: var(--white);
}

@media (max-width: 860px) {
  .section {
    padding: 72px 0;
  }
  .section--tight {
    padding: 56px 0;
  }
  .container {
    padding: 0 20px;
  }
}

/* ---------- タイポグラフィ ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.section--dark .eyebrow,
.section--accent .eyebrow {
  color: #a9e0c8;
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 64px;
}
.section-head.align-left {
  text-align: left;
  margin-left: 0;
}

h1,
.h1 {
  font-size: clamp(34px, 5.4vw, 56px);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.01em;
}
h2,
.h2 {
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.005em;
}
h3,
.h3 {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.5;
}
.lead {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--gray);
  line-height: 1.9;
  margin-top: 18px;
}
.section--dark .lead,
.section--accent .lead {
  color: rgba(255, 255, 255, 0.78);
}
.text-center {
  text-align: center;
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 34px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 15.5px;
  border: 1.5px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(31, 111, 84, 0.28);
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(31, 111, 84, 0.36);
}
.btn-dark {
  background: var(--ink);
  color: var(--white);
}
.btn-dark:hover {
  background: #000;
  transform: translateY(-2px);
}
.btn-line {
  background: var(--line-green);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(6, 199, 85, 0.28);
}
.btn-line:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  border-color: var(--hairline-strong);
  color: var(--ink);
}
.btn-outline:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}
.section--dark .btn-outline,
.section--accent .btn-outline {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}
.section--dark .btn-outline:hover,
.section--accent .btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}
.btn-text {
  padding: 8px 0;
  font-weight: 700;
  color: var(--accent);
  gap: 6px;
}
.btn-text .arrow {
  transition: transform 0.25s var(--ease);
}
.btn-text:hover .arrow {
  transform: translateX(4px);
}
.btn-block {
  width: 100%;
}
.btn-lg {
  padding: 19px 40px;
  font-size: 16.5px;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.btn-row.center {
  justify-content: center;
}

/* ---------- ヘッダー ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid var(--hairline);
}
/*
  背景のぼかし(frosted glass)は疑似要素側に付与する。
  backdrop-filter を .header 本体に直接付けると、CSSの仕様上
  .header が「fixed配置される子要素(モバイルメニューの .nav)」の
  基準(containing block)になってしまい、.nav が画面全体ではなく
  .header の高さ(約68px)に押し込められてしまう不具合が発生するため。
*/
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  flex-shrink: 0;
}
.brand-text {
  line-height: 1.2;
  min-width: 0;
}
.brand-text strong {
  display: block;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand-text small {
  font-size: 10.5px;
  color: var(--gray);
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
  padding: 6px 0;
  position: relative;
  white-space: nowrap;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.25s var(--ease);
}
.nav a:hover {
  color: var(--ink);
}
.nav a:hover::after,
.nav a.active::after {
  transform: scaleX(1);
}
.nav a.active {
  color: var(--ink);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.header-tel {
  display: none;
}
@media (min-width: 1080px) {
  .header-tel {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
    text-align: right;
    white-space: nowrap;
  }
  .header-tel .num {
    font-size: 17px;
    font-weight: 800;
    color: var(--ink);
  }
  .header-tel .label {
    font-size: 10.5px;
    color: var(--gray);
  }
}
.header-cta .btn {
  padding: 11px 22px;
  font-size: 13.5px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--hairline-strong);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-shrink: 0;
}
.nav-toggle span {
  width: 20px;
  height: 1.6px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(6.6px) rotate(45deg);
}
.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-6.6px) rotate(-45deg);
}

@media (max-width: 1000px) {
  .nav {
    position: fixed;
    inset: 0;
    top: 68px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 28px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform 0.3s var(--ease);
    overflow-y: auto;
  }
  .nav.is-open {
    transform: translateX(0);
  }
  .nav a {
    width: 100%;
    padding: 16px 4px;
    font-size: 17px;
    border-bottom: 1px solid var(--hairline);
  }
  .nav a::after {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .header-cta .btn-outline {
    display: none;
  }
}
@media (max-width: 480px) {
  .header-cta .btn span.full {
    display: none;
  }
}

/* ----------------------------------------------------------------
   トップページ ヒーロー(確定デザイン画像の100%トレース)
   画像そのものを表示し、ボタン3箇所にのみ透明なクリック領域を
   画像上の位置とぴったり同じ座標(%)で重ねている。
   レイアウト・余白・文字サイズ・色は画像に一切手を加えず、
   幅が変わっても画像ごと同じ比率で拡大縮小するだけにしている。
---------------------------------------------------------------- */
.hero-trace {
  padding: 0;
  background: #fff;
}
.hero-trace-frame {
  position: relative;
  width: 100%;
  max-width: 1536px;
  margin: 0 auto;
  aspect-ratio: 1536 / 1024;
  overflow: hidden;
}
.hero-trace-frame picture,
.hero-trace-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-trace-hit {
  position: absolute;
  display: block;
}
.hero-trace-hit:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.45);
  border-radius: 14px;
}

/* ---------- パンくずリスト ---------- */
.breadcrumb {
  font-size: 12.5px;
  color: var(--gray);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.breadcrumb a {
  color: var(--gray);
}
.breadcrumb a:hover {
  color: var(--accent);
}
.breadcrumb .sep {
  opacity: 0.5;
}
.breadcrumb .current {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- ページヒーロー(下層ページ共通) ---------- */
.page-hero {
  padding: 56px 0 64px;
  background: var(--bg-subtle-2);
  border-bottom: 1px solid var(--hairline);
}
.page-hero .breadcrumb {
  margin-bottom: 26px;
}
.page-hero h1 {
  font-size: clamp(30px, 4.6vw, 46px);
}
.page-hero .lead {
  max-width: 640px;
}
.page-hero-en {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

/* ---------- ホームヒーロー ---------- */
.hero {
  position: relative;
  padding: 92px 0 120px;
  background: linear-gradient(180deg, #fbfbfd 0%, #ffffff 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -220px;
  right: -180px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-tint) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--accent-tint);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}
.hero-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.hero h1 {
  letter-spacing: -0.02em;
}
.hero h1 .accent {
  color: var(--accent);
}
.hero-sub {
  margin: 26px auto 0;
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.9;
  color: var(--gray);
  max-width: 560px;
}
.hero-cta {
  margin-top: 42px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.hero-trust {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 30px;
}
.hero-trust .item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
}
.hero-trust .item::before {
  content: "✓";
  color: var(--accent);
  font-weight: 800;
}

/* ---------- クイックアクション(3ボタン) ---------- */
.quickbar {
  position: relative;
  margin-top: 64px;
}
.quickbar-inner {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-3);
  border: 1px solid var(--hairline);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
}
.quickbar-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 30px 28px;
  border-right: 1px solid var(--hairline);
  transition: background 0.25s var(--ease);
}
.quickbar-item:last-child {
  border-right: none;
}
.quickbar-item:hover {
  background: var(--bg-subtle);
}
.quickbar-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  color: var(--white);
}
.quickbar-icon.tel {
  background: var(--ink);
}
.quickbar-icon.line {
  background: var(--line-green);
}
.quickbar-icon.mail {
  background: var(--accent);
}
.quickbar-text {
  text-align: left;
}
.quickbar-text strong {
  display: block;
  font-size: 15.5px;
  color: var(--ink);
}
.quickbar-text span {
  font-size: 12.5px;
  color: var(--gray);
}
@media (max-width: 760px) {
  .quickbar-inner {
    grid-template-columns: 1fr;
  }
  .quickbar-item {
    border-right: none;
    border-bottom: 1px solid var(--hairline);
  }
  .quickbar-item:last-child {
    border-bottom: none;
  }
}

/* ---------- グリッド ---------- */
.grid {
  display: grid;
  gap: 24px;
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 980px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 620px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* ---------- 汎用カード ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 34px 30px;
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-1);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-2);
}
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--accent-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}
.card h3 {
  margin-bottom: 10px;
}
.card p {
  color: var(--gray);
  font-size: 14.5px;
}

/* ---------- 強み(選ばれる理由) ---------- */
.strength-num {
  font-size: 12px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

/* ---------- サービスカテゴリ(サービス紹介ページ) ---------- */
.service-category {
  border-radius: var(--radius-lg);
  border: 1px solid var(--hairline);
  padding: 44px;
  margin-bottom: 28px;
  background: var(--white);
}
.service-category-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 30px;
}
.service-category-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: var(--accent-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
}
.service-category-head h2 {
  font-size: 22px;
}
.service-category-head span {
  display: block;
  font-size: 12.5px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.service-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.service-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
}
.service-item-icon {
  font-size: 20px;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-1);
}
.service-item strong {
  display: block;
  font-size: 15px;
  margin-bottom: 3px;
}
.service-item p {
  font-size: 13px;
  color: var(--gray);
}
@media (max-width: 760px) {
  .service-category {
    padding: 28px 22px;
  }
  .service-items {
    grid-template-columns: 1fr;
  }
}

/* ---------- 料金テーブル ---------- */
.pricing-note {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 30px;
  margin-bottom: 56px;
}
.pricing-note .item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--accent-dark);
  background: var(--accent-tint);
  padding: 12px 22px;
  border-radius: var(--radius-pill);
}
.pricing-note .item::before {
  content: "✓";
}

.pricing-table-wrap {
  border-radius: var(--radius-lg);
  border: 1px solid var(--hairline);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-1);
}
.pricing-table {
  width: 100%;
  font-size: 15px;
}
.pricing-table thead th {
  text-align: left;
  background: var(--bg-subtle);
  padding: 18px 28px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gray);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pricing-table thead th:last-child {
  text-align: right;
}
.pricing-table tbody tr {
  border-top: 1px solid var(--hairline);
  transition: background 0.2s var(--ease);
}
.pricing-table tbody tr:hover {
  background: var(--bg-subtle-2);
}
.pricing-table td {
  padding: 20px 28px;
  vertical-align: middle;
}
.pricing-table td:last-child {
  text-align: right;
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
  font-size: 16px;
}
.pricing-table .svc {
  display: flex;
  align-items: center;
  gap: 14px;
}
.pricing-table .svc-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.pricing-table .svc strong {
  display: block;
  font-size: 15px;
}
.pricing-table .svc small {
  font-size: 12.5px;
  color: var(--gray);
}
@media (max-width: 700px) {
  .pricing-table thead {
    display: none;
  }
  .pricing-table,
  .pricing-table tbody,
  .pricing-table tr,
  .pricing-table td {
    display: block;
    width: 100%;
  }
  .pricing-table tr {
    padding: 18px 20px;
  }
  .pricing-table td {
    padding: 4px 0;
  }
  .pricing-table td:last-child {
    text-align: left;
    margin-top: 10px;
    font-size: 18px;
  }
}

.pricing-cta {
  margin-top: 56px;
  text-align: center;
  padding: 48px 32px;
  border-radius: var(--radius-lg);
  background: var(--bg-subtle);
}

/* ---------- お客様の声 ---------- */
.rating-summary {
  text-align: center;
}
.rating-stars {
  color: var(--gold);
  font-size: 26px;
  letter-spacing: 4px;
  margin-bottom: 14px;
}
.rating-summary .count {
  font-size: 15px;
  color: var(--gray);
  font-weight: 600;
}
.rating-summary .score {
  font-size: 15px;
  color: var(--gray);
  font-weight: 600;
}
.rating-summary .quote {
  margin-top: 22px;
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.9;
}

.point-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.point-card {
  text-align: center;
  padding: 30px 18px;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
}
.point-card .ic {
  font-size: 26px;
  margin-bottom: 12px;
}
.point-card span {
  font-size: 14px;
  font-weight: 700;
}
@media (max-width: 900px) {
  .point-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.review-card {
  background: var(--white);
  border-radius: 24px;
  padding: 32px 28px;
  box-shadow: var(--shadow-glass);
  border: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.review-card .stars {
  color: var(--gold);
  font-size: 15px;
  letter-spacing: 2px;
}
.review-card .who {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-card .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-tint);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  flex-shrink: 0;
}
.review-card .who strong {
  display: block;
  font-size: 15px;
}
.review-card .who span {
  font-size: 12.5px;
  color: var(--accent);
  font-weight: 700;
}
.review-card p.comment {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.9;
  flex-grow: 1;
}
.review-card .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.review-card .tags span {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--accent-dark);
  background: var(--accent-tint);
  padding: 6px 13px;
  border-radius: var(--radius-pill);
}
@media (max-width: 980px) {
  .review-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .review-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- 施工事例(ギャラリー) ---------- */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 56px;
}
.gallery-filters button {
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 700;
  border: 1.5px solid var(--hairline-strong);
  color: var(--ink-soft);
  transition: all 0.22s var(--ease);
}
.gallery-filters button:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.gallery-filters button.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.case-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--hairline);
  background: var(--white);
  box-shadow: var(--shadow-1);
}
.case-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.case-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--bg-subtle);
}
.case-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.case-photo:hover img {
  transform: scale(1.05);
}
.case-photo .tag {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(29, 29, 31, 0.72);
  color: var(--white);
  backdrop-filter: blur(6px);
}
.case-photo.after .tag {
  background: var(--accent);
}
.case-photo .zoom-hint {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}
.case-photo:hover .zoom-hint {
  opacity: 1;
}
.case-photo-ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-light);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  padding: 20px;
}
.case-body {
  padding: 28px 26px;
}
.case-cat {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.case-body h3 {
  margin-bottom: 10px;
}
.case-body .work {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 18px;
}
.case-review {
  border-top: 1px solid var(--hairline);
  padding-top: 18px;
  display: flex;
  gap: 12px;
}
.case-review .avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-tint);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  flex-shrink: 0;
}
.case-review .stars {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.case-review p {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.8;
}
@media (max-width: 900px) {
  .case-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ---------- ライトボックス ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}
.lightbox img {
  max-width: 100%;
  max-height: 86vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-3);
}
.lightbox-caption {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13.5px;
  margin-top: 16px;
  text-align: center;
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.22);
}
.lightbox-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1000px;
}

/* ---------- 会社概要 ---------- */
.info-table {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--hairline);
  overflow: hidden;
}
.info-table tr {
  border-top: 1px solid var(--hairline);
}
.info-table tr:first-child {
  border-top: none;
}
.info-table th {
  text-align: left;
  padding: 22px 30px;
  width: 200px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--gray);
  background: var(--bg-subtle);
  vertical-align: top;
}
.info-table td {
  padding: 22px 30px;
  font-size: 15px;
  line-height: 1.8;
}
.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.area-tags span {
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  background: var(--accent-tint);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
}
@media (max-width: 700px) {
  .info-table th {
    display: block;
    width: 100%;
    padding: 18px 20px 4px;
  }
  .info-table td {
    display: block;
    width: 100%;
    padding: 4px 20px 18px;
  }
}

.contact-method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.contact-method-card {
  text-align: center;
  padding: 40px 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--hairline);
  background: var(--white);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.contact-method-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-2);
}
.contact-method-card .ic {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 22px;
  color: var(--white);
}
.contact-method-card.tel .ic {
  background: var(--ink);
}
.contact-method-card.line .ic {
  background: var(--line-green);
}
.contact-method-card.mail .ic {
  background: var(--accent);
}
.contact-method-card h3 {
  margin-bottom: 8px;
}
.contact-method-card p {
  font-size: 13.5px;
  color: var(--gray);
  margin-bottom: 22px;
}
.contact-method-card .value {
  display: block;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 22px;
}
@media (max-width: 900px) {
  .contact-method-grid {
    grid-template-columns: 1fr;
  }
}

.free-banner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  text-align: center;
  padding: 56px 32px;
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, var(--accent-dark), var(--accent));
  color: var(--white);
}
.free-banner .item strong {
  display: block;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  margin-bottom: 6px;
}
.free-banner .item span {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.8);
}

/* ---------- お問い合わせフォーム ---------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-1);
}
.form-row {
  margin-bottom: 24px;
}
.form-row label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
}
.form-row label .req {
  color: #d0364a;
  margin-left: 6px;
  font-size: 12px;
}
.form-row label .opt {
  color: var(--gray);
  margin-left: 6px;
  font-size: 12px;
  font-weight: 500;
}
.form-row input[type="text"],
.form-row input[type="tel"],
.form-row input[type="email"],
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 15px 18px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--hairline-strong);
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.2s var(--ease);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--accent);
  outline: none;
}
.form-row textarea {
  resize: vertical;
  min-height: 140px;
}
.form-check-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.form-check-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  background: var(--bg-subtle);
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  cursor: pointer;
}
.form-note {
  font-size: 12.5px;
  color: var(--gray);
  margin-top: 18px;
  line-height: 1.8;
}
@media (max-width: 700px) {
  .form-card {
    padding: 28px 22px;
  }
}

/* ---------- ご依頼の流れ(ステップ) ---------- */
.step-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.step {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 28px;
  padding: 40px 0;
  border-top: 1px solid var(--hairline);
}
.step:first-child {
  border-top: none;
  padding-top: 0;
}
.step-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent-tint);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
}
.step-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.step-icon {
  font-size: 26px;
}
.step-body h3 {
  font-size: 20px;
}
.step-body p {
  color: var(--gray);
  font-size: 15px;
  max-width: 640px;
}
.step-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}
.step-tags span {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent-dark);
  background: var(--accent-tint);
  padding: 7px 16px;
  border-radius: var(--radius-pill);
}
@media (max-width: 620px) {
  .step {
    grid-template-columns: 56px 1fr;
    gap: 18px;
    padding: 30px 0;
  }
  .step-num {
    width: 48px;
    height: 48px;
    font-size: 17px;
  }
}

/* ---------- FAQ ---------- */
.faq-list {
  border-top: 1px solid var(--hairline);
}
.faq-item {
  border-bottom: 1px solid var(--hairline);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 4px;
  text-align: left;
  font-size: 16px;
  font-weight: 700;
}
.faq-q .plus {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--hairline-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: transform 0.3s var(--ease);
}
.faq-item.is-open .faq-q .plus {
  transform: rotate(135deg);
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}
.faq-a-inner {
  padding: 0 40px 26px 4px;
  color: var(--gray);
  font-size: 14.5px;
  line-height: 1.9;
}

/* ---------- CTAフッター前(共通) ---------- */
.cta-block {
  text-align: center;
  padding: 72px 32px;
  border-radius: var(--radius-xl);
  background: var(--bg-subtle);
}
.cta-block h2 {
  margin-bottom: 14px;
}
.cta-block p {
  color: var(--gray);
  margin-bottom: 36px;
}

/* ---------- フッター ---------- */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 76px 0 34px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-brand .brand-mark {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
}
.footer-brand p {
  margin-top: 18px;
  font-size: 13.5px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.55);
  max-width: 280px;
}
.footer-brand .brand-text strong {
  color: var(--white);
}
.footer h4 {
  color: var(--white);
  font-size: 13px;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}
.footer-links li {
  margin-bottom: 12px;
}
.footer-links a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.62);
}
.footer-links a:hover {
  color: var(--white);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 30px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

/* ---------- 404 ---------- */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}
.error-page .code {
  font-size: clamp(64px, 12vw, 120px);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 24px;
}

/* ---------- スクロールフェードイン ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.03s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.09s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.15s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.21s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.27s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.33s; }

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-stagger > * {
    opacity: 1;
    transform: none;
  }
}
