/* 100.DOTS — 共通テンプレート Architectural Aqua */

:root {
  /* 基本カラーパレット（クライアントごとの設定） */
  --color-primary: #08777d;
  --color-accent: #b8a078;
  /* 日本法律事務所と共通のUI用Gold（ブランド配色とは独立） */
  --ui-gold: #a88d61;
  --ui-gold-light: color-mix(in srgb, var(--ui-gold) 60%, var(--bg-primary));
  --ui-gold-vivid: #c9a45c;
  --ui-gold-vivid-light: #e7c77f;
  --ui-gold-border: color-mix(in srgb, var(--ui-gold) 78%, var(--bg-primary));
  /* ボタン専用カラー */
  --color-button-bg: #08777d;
  --color-button-text: var(--bg-primary);
  --color-button-border: var(--ui-gold-border);
  --color-button-hover: color-mix(
    in srgb,
    var(--color-button-bg) 94%,
    var(--color-black)
  );

  /* アウトラインボタン */
  --color-button-outline-bg: transparent;
  --color-button-outline-text: var(--text-inverse);
  --color-button-outline-border: var(--ui-gold-border);
  --color-button-outline-hover: color-mix(
    in srgb,
    var(--bg-primary) 12%,
    transparent
  );

  --bg-primary: #ffffff;
  --bg-secondary: #ddeDF0;
  --bg-tertiary: #f3f5f6;

  /* 固定色・文字色（必要に応じて個別調整） */
  --color-black: #000000;
  --text-heading: #34454e;
  --text-body: #45545e;
  --text-muted: #5c6c75;
  --text-inverse: var(--bg-primary);
  --text-on-accent: var(--text-inverse);
  --text-inverse-muted: color-mix(
    in srgb,
    var(--text-inverse) 78%,
    var(--color-primary)
  );

  /* 派生カラー：基本色を変更すると自動で連動 */
  --color-primary-dark: color-mix(
    in srgb,
    var(--color-primary) 75%,
    var(--color-black)
  );
  --color-primary-light: color-mix(
    in srgb,
    var(--color-primary) 89%,
    var(--bg-primary)
  );
  --color-accent-dark: color-mix(
    in srgb,
    var(--color-accent) 89%,
    var(--color-black)
  );
  --color-accent-light: color-mix(
    in srgb,
    var(--color-accent) 60%,
    var(--bg-primary)
  );
  /* 鮮やかなアクセントカラー */
  --color-accent-vivid: #14bbc3;
  --color-accent-vivid-light: #58c6d0;

  --text-accent: color-mix(
    in srgb,
    var(--color-accent) 73%,
    var(--color-black)
  );
  --border-color: color-mix(
    in srgb,
    var(--color-accent) 25%,
    var(--bg-tertiary)
  );
  --border-accent: color-mix(
    in srgb,
    var(--color-accent) 78%,
    var(--bg-primary)
  );

  /* 背景のグラデーション用 */
  --bg-secondary-light: color-mix(
    in srgb,
    var(--bg-secondary) 55%,
    var(--bg-primary)
  );
  --bg-tertiary-light: color-mix(
    in srgb,
    var(--bg-tertiary) 45%,
    var(--bg-primary)
  );
  --bg-tertiary-dark: color-mix(
    in srgb,
    var(--bg-tertiary) 96%,
    var(--color-black)
  );
  /* ==========================================
     TYPOGRAPHY / クライアント別設定
     通常はフォントの役割とサイズをここで変更する。
     rem はブラウザの既定文字サイズに追従する。
     ========================================== */
  --font-serif:
    "Hiragino Mincho ProN", "Yu Mincho", "游明朝", "Noto Serif JP",
    "MS PMincho", Georgia, serif;
  --font-sans:
    "Hiragino Kaku Gothic ProN", "Yu Gothic", "游ゴシック", "Noto Sans JP",
    Arial, sans-serif;
  --font-en: Georgia, "Times New Roman", serif;
  --font-symbol: Arial, sans-serif;

  /* 用途別フォント：別業種ではこの6行を調整 */
  --font-heading: var(--font-sans);
  --font-body: var(--font-sans);
  --font-navigation: var(--font-sans);
  --font-button: var(--font-sans);
  --font-caption: var(--font-sans);
  --font-kicker: var(--font-en);

  /* 文字サイズ：役割ごとの階層（PC基準） */
  --font-size-hero: clamp(1.625rem, calc(0.9rem + 3.65vw), 4.1875rem);
  --font-size-section: clamp(1.6875rem, 3.1vw, 2.625rem);
  --font-size-cta: clamp(1.6875rem, 3.1vw, 2.4375rem);
  --font-size-statement: clamp(1.5rem, 2.5vw, 2.25rem);
  --font-size-subheading: clamp(1.25rem, 2vw, 1.5rem);
  --font-size-card-title: clamp(0.9375rem, 1.75vw, 1.4375rem);
  --font-size-modal-title: clamp(1.375rem, 4vw, 1.875rem);
  --font-size-lead: clamp(1.0625rem, 1.55vw, 1.375rem);
  --font-size-body: 1rem;
  --font-size-question: 1.125rem;
  --font-size-button: 0.9375rem;
  --font-size-header-button: var(--font-size-button);
  --font-size-nav: 0.875rem;
  --font-size-mobile-nav: clamp(1.25rem, 4.6vw, 1.5rem);
  --font-size-kicker: 0.8125rem;
  --font-size-label: 0.75rem;
  --font-size-caption: 0.8125rem;
  --font-size-brand: clamp(0.9375rem, 1.35vw, 1.1875rem);
  --font-size-brand-en: 0.6875rem;
  --font-size-footer-brand: clamp(1.375rem, 2vw, 1.875rem);
  --font-size-footer-brand-en: 0.8125rem;
  --font-size-quote: 1.4375rem;
  --font-size-number: clamp(2.5rem, 4vw, 3.625rem);
  --font-size-symbol: 1.3125rem;
  --font-size-service-arrow: 1.6875rem;
  --font-size-faq-symbol: 1.4375rem;
  --font-size-check: 1rem;
  --font-size-close: 2.0625rem;

  /* 文字の太さ */
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-heading: var(--font-weight-medium);
  --font-weight-body: var(--font-weight-regular);
  --font-weight-button: var(--font-weight-medium);
  --font-weight-nav: var(--font-weight-medium);
  --font-weight-kicker: var(--font-weight-semibold);

  /* 行間：単位なしで文字サイズに連動 */
  --line-height-hero: 1.45;
  --line-height-heading: 1.45;
  --line-height-subheading: 1.5;
  --line-height-statement: 1.8;
  --line-height-lead: 1.8;
  --line-height-body: 2;
  --line-height-ui: 1.6;
  --line-height-caption: 1.7;
  --line-height-brand: 1.25;
  --line-height-symbol: 1;

  /* 字間：役割別に統一 */
  --letter-spacing-hero: 0.065em;
  --letter-spacing-heading: 0.035em;
  --letter-spacing-body: 0.03em;
  --letter-spacing-lead: 0.045em;
  --letter-spacing-ui: 0.035em;
  --letter-spacing-kicker: 0.31em;
  --letter-spacing-label: 0.15em;
  --letter-spacing-brand: 0.045em;
  --letter-spacing-brand-en: 0.09em;
  --letter-spacing-caption: 0.03em;
  --letter-spacing-page-top: 0.3em;
  /* ==========================================
     LAYOUT / 共通デザイン設定
     通常はこのブロックとレスポンシブ設定だけを調整
     ========================================== */
  /* 横幅と左右余白：通常・リスト・読み物 */
  --content: 1270px;
  --content-narrow: 880px;
  --content-reading: 760px;
  --gutter: clamp(22px, 6.3vw, 86px);
  --container-width: min(calc(100% - 2 * var(--gutter)), var(--content));

  /* ヘッダーはナビゲーションの収まりを優先した独立幅 */
  --header-content: 1530px;
  --header-gutter: clamp(21px, 3.1vw, 52px);

  /* セクション上下余白 */
  --section-padding: 96px;
  --section-padding-small: 32px;
  --section-padding-cta: 80px;
  --section-heading-gap: 40px;
  --section-heading-text-gap: 24px;
  --section-content-gap: 64px;
  /* Contact / Footer：共通の背景写真とオーバーレイ */
  --contact-overlay: 0%;
  /* Contact：コンテンツ部分だけを明るい生成り色のパネルにする */
  --contact-panel-color: #ffffff;
  --contact-panel-opacity: 95%;
  --contact-panel-max-width: var(--content-narrow);
  --contact-panel-padding-block: clamp(36px, 5vw, 64px);
  --contact-panel-padding-inline: clamp(16px, 4vw, 48px);
  --footer-image: url("assets/hero.webp");
  --footer-overlay: 70%;
  --footer-photo-position: center center;
  --footer-min-height: clamp(720px, 52vw, 900px);
  --footer-padding-top: clamp(64px, 5.5vw, 100px);
  --footer-padding-bottom: 12px;
  --footer-logo-size: 72px;
  --footer-brand-gap: 12px;
  --footer-brand-band-padding: clamp(30px, 3vw, 48px);
  --footer-brand-band-line: color-mix(
    in srgb,
    var(--text-inverse) 38%,
    transparent
  );
  --footer-accent: var(--color-accent-vivid-light);
  --footer-main-padding-top: 24px;
  --footer-column-gap: clamp(24px, 4.5vw, 72px);
  --footer-social-gap: clamp(16px, 2vw, 30px);
  --footer-social-size: 23px;
  --footer-social-note-size: 52px;
  --footer-nav-gap: 12px;
  --footer-info-gap: 20px;
  --footer-info-icon-size: 24px;
  --footer-policy-gap: 28px;
  --footer-bottom-gap: 8px;
  --footer-bottom-padding-top: clamp(48px, 5vw, 80px);
  --hero-padding-top: 96px;
  --hero-padding-bottom: 66px;

  /* 見出し下のアクセントライン（既存のゴールド配色を維持） */
  --accent-line-width: 64px;
  --accent-line-height: 2px;
  --accent-line-gap: 12px;
  --accent-line-background: linear-gradient(
    90deg,
    var(--color-accent-dark),
    var(--color-accent-light)
  );
  --hero-line-width: 83px;
  --hero-line-gap: 24px;
  --hero-line-bottom: 19px;

  /* ==========================================
     COMPONENTS / 共通コンポーネント設定
     角丸・枠線・影・アイコン・ボタンの寸法
     ========================================== */
  --radius-ui: 2px;
  --radius-card: var(--radius-ui);
  --radius-button: var(--radius-ui);
  --radius-round: 50%;
  --border-width-ui: 1px;
  --card-border: var(--border-width-ui) solid var(--border-color);
  --card-border-on-dark: var(--border-width-ui) solid
    color-mix(in srgb, var(--bg-primary) 25%, transparent);
  --shadow-card: 0 3px 12px
    color-mix(in srgb, var(--color-black) 5%, transparent);
  --shadow-button: 0 3px 12px
    color-mix(in srgb, var(--color-black) 15%, transparent);
  --shadow-button-hover: 0 5px 18px
    color-mix(in srgb, var(--color-black) 20%, transparent);
  --shadow-dialog: 0 18px 100px
    color-mix(in srgb, var(--color-black) 40%, transparent);

  /* SVGはviewBoxが違っても画面上の線幅をそろえる */
  --icon-size-feature: 44px;
  --icon-size-ui: 20px;
  --icon-stroke-width: 1.6px;
  --icon-check-size: 24px;
  --icon-feature-box-width: 52px;
  --icon-feature-box-height: 58px;
  --icon-control-size: 40px;
  --icon-touch-size: 44px;
  --page-top-size: 60px;
  --menu-button-size: 46px;
  --menu-bar-width: 22px;
  --menu-bar-height: 1px;
  --menu-bar-gap: 6px;

  /* ボタン：同じ高さを基本とし、ヘッダーは横幅のみコンパクトに */
  --button-min-height: 52px;
  --button-padding-block: 12px;
  --button-padding-inline: 28px;
  --button-gap: 16px;
  --header-button-padding-inline: 20px;
  --header-button-gap: 9px;
  --button-cta-min-width: 290px;
  --button-mobile-max-width: 310px;
  --button-mobile-padding-inline: 14px;
  --button-mobile-min-height: 48px;

  /* カード内部の余白：リストとタイムラインは個別の役割 */
  --card-list-padding: 16px 22px;
  --card-list-gap: 18px;
  --card-flow-padding: 20px 25px;
  --card-flow-min-height: 112px;
  --flow-icon-column: 90px;
  --flow-icon-height: 65px;
  --flow-icon-margin: 25px;
  --flow-icon-padding: 25px;

  /* ==========================================
     MOTION / RESPONSIVE — 共通設定
     ========================================== */
  --motion-fast: 180ms;
  --motion-ui: 250ms;
  --motion-slow: 500ms;
  --motion-reveal: 700ms;
  --motion-menu: 1500ms;
  --motion-scroll: 2200ms;
  --motion-modal: 900ms;
  --modal-reveal-distance: 16px;
  /* Hero / SCROLL DOWN */
  --scroll-label-size: 0.75rem;
  --scroll-left: clamp(12px, 1.5vw, 24px);
  --scroll-letter-spacing: 0.28em;
  --scroll-line-length: 40px;
  --scroll-dot-size: 4px;
  --scroll-bottom: 24px;
  --scroll-label-gap: 12px;
  --ease-ui: ease;
  --ease-reveal: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-menu: cubic-bezier(0.76, 0, 0.24, 1);
  --hover-lift: -2px;
  --hover-arrow-shift: 4px;
  --hover-image-scale: 1.05;
  --reveal-distance: 15px;
  --header-height: 88px;
  --menu-padding-top: calc(var(--header-height) + 26px);
  --menu-ring-width: 2px;
  --menu-ring-color: var(--color-accent-vivid);

  /* MOBILE MENU / ブランド共通デザイン */
  --menu-content-max: 600px;
  --menu-item-padding: clamp(12px, 3.4vw, 17px);
  --menu-item-gap: 16px;
  --menu-number-width: 24px;
  --menu-label-size: 0.625rem;
  --menu-tagline-size: 1.125rem;
  --menu-contact-gap: 24px;
  --menu-branding-gap: 36px;
  --menu-close-label-size: 0.5rem;
  --menu-accent: var(--color-accent-light);
  --menu-divider: color-mix(in srgb, var(--menu-accent) 30%, transparent);
  --page-top-inset: 32px;
  --page-top-bottom: 20px;
  --service-columns: 3;
  --service-card-height: clamp(162px, 17vw, 223px);
  --service-grid-gap: 17px 18px;
  --service-description-gap: 12px;
  --service-description-size: var(--font-size-caption);
  --service-description-color: var(--text-inverse-muted);
  --values-columns: 3;
  --our-values-columns: 3;

  /* NEWS / クライアント別デザイン設定（既存の共通カラーを参照） */
  --news-background: var(--bg-tertiary-light);
  --news-text: var(--text-heading);
  --news-date-color: var(--text-muted);
  --news-accent: var(--text-accent);
  --news-border: var(--border-color);
  --news-category-text: var(--text-accent);
  --news-category-border: var(--border-accent);
  --news-hover-bg: var(--bg-tertiary);
  --news-detail-bg: var(--bg-tertiary);
  --news-detail-text: var(--text-body);
  --news-item-padding: clamp(18px, 2.2vw, 30px);
  --news-toggle-size: var(--icon-touch-size);
  --news-more-width: 174px;
  --news-more-height: 56px;
  --news-more-bg: transparent;
  --news-more-text: var(--news-text);
  --news-more-border: var(--border-accent);
  --news-more-hover-bg: var(--news-hover-bg);
  --news-more-letter-spacing: 0.28em;
  --news-progress-width: 110px;
  --news-progress-height: 2px;
  --news-progress-track: var(--news-border);
  --news-progress-fill: var(--color-accent);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--text-body);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  box-shadow: 0 0 0 3px var(--bg-primary);
}

/* 暗い背景では白いフォーカスリングで操作位置を表示 */
.site-header :focus-visible,
.hero :focus-visible,
.services :focus-visible {
  outline-color: var(--bg-primary);
}

::selection {
  background: var(--color-accent-light);
  color: var(--color-primary-dark);
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  background: var(--bg-primary);
  color: var(--color-black);
  padding: 12px 20px;
  z-index: 1000;
}

.skip-link:focus {
  top: 10px;
}

/* Overlay header */

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  color: var(--text-inverse);
  transition:
    background var(--motion-ui) var(--ease-ui),
    box-shadow var(--motion-ui) var(--ease-ui);
}

.site-header.is-scrolled {
  position: fixed;
  background: color-mix(in srgb, var(--color-primary-dark) 95%, transparent);
  box-shadow: 0 6px 26px color-mix(in srgb, var(--color-black) 17%, transparent);
  backdrop-filter: blur(14px);
}

.header-inner {
  height: var(--header-height);
  margin: auto;
  display: flex;
  align-items: center;
  gap: clamp(15px, 2.2vw, 40px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  margin-right: auto;
}

.brand-mark {
  width: 76px;
  height: 80px;
  flex: 0 0 76px;
  display: grid;
  place-items: center;
  position: relative;
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: 5px 3px;
  background: radial-gradient(
    ellipse,
    var(--bg-primary) 27%,
    color-mix(in srgb, var(--bg-primary) 94%, transparent) 46%,
    color-mix(in srgb, var(--bg-primary) 10%, transparent) 72%,
    transparent 75%
  );
  filter: blur(2px);
}

.brand-mark img {
  width: 75px;
  max-height: 72px;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

.brand-rule {
  height: 38px;
  width: 1px;
  background: color-mix(in srgb, var(--bg-primary) 65%, transparent);
  flex: 0 0 1px;
}

.brand-name {
  min-width: 0;
  white-space: nowrap;
  display: block;
}

.footer-nav a {
  font-family: var(--font-heading);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-ui);
  letter-spacing: var(--letter-spacing-heading);
}

.brand-name strong {
  display: block;
}

.brand-name small {
  display: block;
  margin-top: 5px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(15px, 2.1vw, 35px);
  flex: 0 0 auto;
}

.desktop-nav a {
  position: relative;
  padding: 13px 0;
  white-space: nowrap;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 6px;
  height: 1px;
  background: var(--color-accent-light);
  transition: right var(--motion-ui) var(--ease-ui);
}

.header-contact {
  display: flex;
  align-items: center;
  gap: var(--header-button-gap);
  border-radius: var(--radius-button);
  min-height: var(--button-min-height);
  padding: var(--button-padding-block) var(--header-button-padding-inline);
  white-space: nowrap;
  transition:
    transform var(--motion-ui) var(--ease-ui),
    background var(--motion-ui) var(--ease-ui),
    box-shadow var(--motion-ui) var(--ease-ui);
}

.header-contact svg,
.contact-button svg {
  fill: none;
  stroke: currentColor;
  stroke-width: var(--icon-stroke-width);
  width: var(--icon-size-ui);
  height: var(--icon-size-ui);
  flex-shrink: 0;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.menu-button,
.mobile-nav {
  display: none;
}

/* Hero */

.hero {
  min-height: 100vh;
  min-height: 100svh;
  position: relative;
  color: var(--text-inverse);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-primary-dark);
}

.hero-photo,
.hero-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-photo {
  background: url("assets/hero.webp") center center / cover no-repeat;
  transform: scale(1.015);
}

/* Hero：左側は文字の視認性を確保し、右側の写真を明るく表示 */
.hero-shade {
  background:
    linear-gradient(
      90deg,
      color-mix(in srgb, var(--color-primary) 92%, transparent) 0%,
      color-mix(in srgb, var(--color-primary) 83%, transparent) 29%,
      color-mix(in srgb, var(--color-primary) 72%, transparent) 44%,
      color-mix(in srgb, var(--color-primary) 55%, transparent) 57%,
      color-mix(in srgb, var(--color-primary) 24%, transparent) 69%,
      color-mix(in srgb, var(--color-primary) 6%, transparent) 92%
    ),
    linear-gradient(
      0deg,
      color-mix(in srgb, var(--color-primary-dark) 20%, transparent),
      transparent 30%
    );
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  color: var(--color-accent-light);
  margin: 0 0 18px;
}

.hero-title {
  margin: 0;
  filter: drop-shadow(
    0 1px 2px color-mix(in srgb, var(--color-black) 19%, transparent)
  );
}

.hero-title span {
  display: inline-block;
}

.hero-lead {
  margin: 0;
  text-shadow: 0 1px 3px var(--color-primary);
}

.hero-actions {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.button {
  min-height: var(--button-min-height);
  padding: var(--button-padding-block) var(--button-padding-inline);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--button-gap);
  border-radius: var(--radius-button);
  transition:
    transform var(--motion-ui) var(--ease-ui),
    background var(--motion-ui) var(--ease-ui),
    box-shadow var(--motion-ui) var(--ease-ui);
  white-space: nowrap;
}

.button-outline {
  background: var(--color-button-outline-bg);
  border: var(--border-width-ui) solid var(--color-button-outline-border);
  color: var(--color-button-outline-text);
}

/* SCROLL DOWN — PCは左下の縦向き、狭い画面は中央下 */
.hero-scroll {
  display: flex;
  position: absolute;
  left: max(var(--scroll-left), env(safe-area-inset-left, 0px));
  bottom: calc(var(--scroll-bottom) + env(safe-area-inset-bottom, 0px));
  z-index: 2;
  min-width: 24px;
  flex-direction: column;
  align-items: center;
  color: var(--ui-gold-light);
  text-decoration: none;
  white-space: nowrap;
}

.hero-scroll__label {
  writing-mode: vertical-rl;
  text-orientation: sideways;
  margin-bottom: var(--scroll-label-gap);
}

.hero-scroll__line {
  display: block;
  position: relative;
  width: 1px;
  height: var(--scroll-line-length);
  background: linear-gradient(
    color-mix(in srgb, var(--ui-gold-light) 55%, transparent),
    color-mix(in srgb, var(--ui-gold-light) 13%, transparent)
  );
}

.hero-scroll__line::after {
  content: "";
  position: absolute;
  top: 0;
  left: calc((1px - var(--scroll-dot-size)) / 2);
  width: var(--scroll-dot-size);
  height: var(--scroll-dot-size);
  border-radius: var(--radius-round);
  background: var(--ui-gold-vivid-light);
  animation: hero-scroll-dot var(--motion-scroll) ease-in-out infinite;
}

.hero-scroll__arrow {
  width: 12px;
  height: 9px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes hero-scroll-dot {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  75% {
    opacity: 1;
  }
  100% {
    transform: translateY(
      calc(var(--scroll-line-length) - var(--scroll-dot-size))
    );
    opacity: 0;
  }
}

/* Values */

.values {
  background: linear-gradient(
    105deg,
    var(--bg-tertiary-dark) 0%,
    var(--bg-tertiary-light) 55%,
    var(--bg-tertiary-dark) 100%
  );
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(var(--values-columns), minmax(0, 1fr));
}

.value-item {
  text-align: center;
  padding: 0 25px;
  min-height: 188px;
  position: relative;
}

.value-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 47px;
  bottom: 14px;
  width: 1px;
  background: color-mix(in srgb, var(--text-muted) 28%, transparent);
}

.value-icon {
  width: var(--icon-feature-box-width);
  height: var(--icon-feature-box-height);
  display: grid;
  place-items: center;
  margin: 0 auto 5px;
  color: var(--text-accent);
}

.value-icon svg {
  width: var(--icon-size-feature);
  height: var(--icon-size-feature);
  fill: none;
  stroke: currentColor;
  stroke-width: var(--icon-stroke-width);
  stroke-linecap: round;
  stroke-linejoin: round;
}

.value-item h2 {
  margin: 3px 0 9px;
  color: var(--text-heading);
}

.value-item p {
  margin: 0;
  color: var(--text-body);
}

/* Services */

.services {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(
    ellipse at 60% 16%,
    var(--color-primary-light) 0%,
    var(--color-primary) 38%,
    var(--color-primary-dark) 100%
  );
  color: var(--text-inverse);
}

.section-content {
  position: relative;
  z-index: 1;
}

.services-orbit {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border: 1px solid color-mix(in srgb, var(--color-accent) 43%, transparent);
  width: 940px;
  height: 620px;
  transform: rotate(-23deg);
  border-radius: 50%;
}

.orbit-one {
  top: 43px;
  right: -410px;
}

.orbit-two {
  bottom: -485px;
  left: -375px;
  width: 930px;
  height: 590px;
}

.section-heading .section-kicker,
.section-kicker {
  color: var(--color-accent-light);
  margin: 0 0 4px;
}

.section-heading h2,
.about h2,
.message h2 {
  margin: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(var(--service-columns), minmax(0, 1fr));
  gap: var(--service-grid-gap);
}

.service-card {
  height: var(--service-card-height);
  position: relative;
  overflow: hidden;
  border: var(--card-border-on-dark);
  border-radius: var(--radius-card);
  background: var(--color-primary-light);
  display: block;
  isolation: isolate;
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
  transition:
    transform var(--motion-slow) var(--ease-reveal),
    filter var(--motion-slow) var(--ease-ui);
}

.service-card-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    color-mix(in srgb, var(--color-primary-dark) 97%, transparent) 0%,
    color-mix(in srgb, var(--color-primary-dark) 74%, transparent) 28%,
    transparent 77%
  );
  z-index: 1;
}

.service-card-content {
  position: absolute;
  bottom: 14px;
  left: 20px;
  right: 18px;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

/* SEO / GEO: visible service text is also the modal's single source. */
.service-item {
  min-width: 0;
}

.service-title {
  margin: 0;
  font: inherit;
  letter-spacing: inherit;
}

.service-description {
  margin: var(--service-description-gap) 0 0;
  color: var(--service-description-color);
  font-family: var(--font-body);
  font-size: var(--service-description-size);
  font-weight: var(--font-weight-body);
  line-height: var(--line-height-body);
  letter-spacing: var(--letter-spacing-body);
  overflow-wrap: anywhere;
}
/* モーダル初期化後はサービス説明文を非表示 */
.service-description.is-modal-only:not(:target) {
  display: none;
}

.service-arrow {
  transition: transform var(--motion-ui) var(--ease-ui);
}

.services-note {
  color: color-mix(in srgb, var(--bg-primary) 58%, transparent);
  margin: 16px 0 0;
  text-align: right;
}

/* About */

.about {
  min-height: 340px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: var(--bg-tertiary);
}

.about-visual {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      var(--bg-tertiary) 0%,
      var(--bg-tertiary) 34%,
      color-mix(in srgb, var(--bg-tertiary) 98%, transparent) 49%,
      color-mix(in srgb, var(--bg-tertiary) 75%, transparent) 65%,
      transparent 91%
    ),
    url("assets/about.webp") right center/auto 100% no-repeat;
}

.about-content {
  position: relative;
  z-index: 1;
}

.about .section-kicker {
  color: var(--text-accent);
}

.about p:not(.section-kicker) {
  margin: 0 0 8px;
}

/* Message */

.message {
  background: var(--bg-primary);
}

.message-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(60px, 8vw, 150px);
}

.message .section-kicker {
  color: var(--text-accent);
}

.message-en {
  color: var(--color-accent-light);
  margin-top: 50px;
}

.message-body {
  color: var(--text-body);
}

.message-body p {
  margin: 0 0 22px;
}

.message-body .message-emphasis {
  color: var(--text-heading);
  margin-bottom: 25px;
}

.message-sign {
  text-align: right;
  padding-top: 15px;
}

/* Contact / Footer：同一写真を共有する背景 */
.closing-section {
  position: relative;
  isolation: isolate;
  /* 固定背景非対応・動きを減らす設定では通常の共通背景にする。 */
  background: var(--footer-image) var(--footer-photo-position) / cover no-repeat
    var(--color-primary-dark);
}

.closing-photo {
  display: none;
  pointer-events: none;
}

/* PC・タブレット・スマートフォン共通の固定背景。
   stickyを使い、iOSのbackground-attachment: fixedの制約を回避する。
   親要素にはoverflow: hiddenを指定しない。 */
@supports (position: sticky) {
  @media (prefers-reduced-motion: no-preference) {
    .closing-section {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      grid-template-rows: auto auto;
      background-image: none;
    }

    .closing-photo {
      display: block;
      grid-area: 1 / 1 / 3 / 2;
      position: sticky;
      top: 0;
      align-self: start;
      height: 100vh;
      /* アドレスバーの開閉で写真のサイズが変わらないようにする。 */
      height: 100lvh;
      z-index: 0;
      background: var(--footer-image) var(--footer-photo-position) / cover no-repeat
        var(--color-primary-dark);
    }

    .closing-section > .contact {
      grid-area: 1 / 1 / 2 / 2;
      z-index: 1;
    }

    .closing-section > .site-footer {
      grid-area: 2 / 1 / 3 / 2;
      z-index: 1;
    }
  }
}

/* 写真を重複させず、各セクションの色だけを重ねる。 */
.closing-background {
  background-color: var(--closing-tint);
}

/* Contact：写真をそのまま見せ、中央のパネルだけに背景色を設定 */
.contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  --closing-tint: color-mix(in srgb, var(--bg-primary) var(--contact-overlay), transparent);
  color: var(--text-heading);
  padding-block: var(--section-padding-cta);
}

.contact .section-kicker {
  color: var(--text-accent);
}

.contact-content {
  max-width: var(--contact-panel-max-width);
  background: var(--contact-panel-color);
  background: color-mix(in srgb, var(--contact-panel-color) var(--contact-panel-opacity), transparent);
  border-radius: var(--radius-ui);
  text-align: center;
}

.contact h2 {
  margin: 14px auto;
}

.contact-content > p:not(.section-kicker):not(.contact-email) {
  color: var(--text-body);
  margin: 12px 0 25px;
}

.contact-button {
  min-width: var(--button-cta-min-width);
}

.contact-email {
  color: var(--text-body);
  margin-top: 17px;
}

/* Service details dialog */

.service-modal {
  position: fixed;
  inset: 0;
  max-width: min(560px, calc(100% - 32px));
  width: 100%;
  max-height: calc(100vh - 48px);
  overflow: auto;
  border: var(--border-width-ui) solid var(--border-accent);
  background: var(--bg-tertiary-light);
  color: var(--text-heading);
  padding: 35px 38px 42px;
  box-shadow: var(--shadow-dialog);
  border-radius: var(--radius-card);
}

.service-modal::backdrop {
  background: color-mix(in srgb, var(--color-primary-dark) 72%, transparent);
  backdrop-filter: blur(5px);
}

.modal-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-accent);
}

.modal-close {
  border: 0;
  background: transparent;
  color: var(--text-heading);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 var(--icon-touch-size);
  width: var(--icon-touch-size);
  height: var(--icon-touch-size);
  padding: 0;
  border-radius: var(--radius-button);
}

.service-modal h2 {
  margin: 22px 0 0;
}

.service-modal p {
  margin-bottom: 26px;
}

.service-modal .button {
  width: 100%;
}

/* Entrance effects */

.js-enabled .reveal {
  opacity: 0;
  transform: translateY(var(--reveal-distance));
  transition:
    opacity var(--motion-reveal) var(--ease-reveal),
    transform var(--motion-reveal) var(--ease-reveal);
}

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

/* PAGE TOP */

.page-top {
  position: fixed;
  right: var(--page-top-inset);
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--ui-gold-vivid);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity var(--motion-slow) var(--ease-ui),
    visibility var(--motion-slow) var(--ease-ui);
}

.page-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.page-top__text {
  writing-mode: vertical-rl;
}

.page-top__line {
  width: 1px;
  height: 55px;
  margin-top: 14px;
  background: var(--ui-gold-vivid);
}

.page-top__button {
  width: var(--page-top-size);
  height: var(--page-top-size);
  border-radius: var(--radius-button);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ui-gold-vivid-light);
  background: var(--color-primary);
  border: var(--border-width-ui) solid var(--ui-gold-vivid);
  transition:
    background var(--motion-ui) var(--ease-ui),
    color var(--motion-ui) var(--ease-ui),
    transform var(--motion-ui) var(--ease-ui);
}

/* お問い合わせボタン：上品なアンティークゴールド */

.header-contact,
.button-gold {
  background: var(--color-button-bg);
  color: var(--color-button-text);
  border: var(--border-width-ui) solid var(--color-button-border);
  box-shadow: var(--shadow-button);
  text-shadow: none;
}

/* YOUR CHALLENGES */

.challenges {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(
      110deg,
      color-mix(in srgb, var(--bg-tertiary) 88%, transparent),
      color-mix(in srgb, var(--bg-tertiary-light) 97%, transparent)
    ),
    url("assets/challenges.webp") left bottom/cover no-repeat;
}

.challenges-inner {
  position: relative;
  z-index: 1;
}

.challenges-heading {
  text-align: center;
}

.challenges-kicker {
  margin: 0 0 8px;
  color: var(--text-accent);
}

.challenges-heading h2 {
  margin: 0;
  color: var(--color-primary);
}

.challenges-lead {
  color: var(--text-body);
}

.challenges-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.challenges-list li {
  display: flex;
  align-items: center;
  gap: var(--card-list-gap);
  padding: var(--card-list-padding);
  color: var(--text-body);
  background: color-mix(in srgb, var(--bg-primary) 86%, transparent);
  border: var(--card-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.challenges-list li::before {
  content: "✓";
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--icon-check-size);
  height: var(--icon-check-size);
  flex-shrink: 0;
  color: var(--text-on-accent);
  background: var(--color-accent);
  border-radius: var(--radius-ui);
}

/* ===================================
   CONSULTATION FLOW
   ABOUT・MESSAGEと見出しを統一
=================================== */

.consultation-flow {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(
      90deg,
      color-mix(in srgb, var(--bg-tertiary) 25%, transparent) 0%,
      color-mix(in srgb, var(--bg-tertiary) 85%, transparent) 35%,
      var(--bg-tertiary) 65%
    ),
    url("assets/flow.webp") left center/cover no-repeat;
}

/* コンテンツ全体 */

.flow-inner {
  position: relative;
  z-index: 1;
}

/* 英語の小見出し */

.flow-heading .section-kicker {
  margin: 0 0 4px;
  color: var(--text-accent);
}

/* 日本語の見出し */

.flow-heading h2 {
  margin: 0;
  color: var(--text-heading);
}

/* 見出し下の説明文 */

.flow-lead {
  margin: 0;
  color: var(--text-body);
}

/* 縦方向のタイムライン */

.flow-steps {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0 0 0 46px;
  list-style: none;
}

/* ゴールドの縦線 */

.flow-steps::before {
  content: "";
  position: absolute;
  top: 47px;
  bottom: 47px;
  left: 13px;
  width: 2px;
  background: var(--color-accent);
}

/* 各STEP */

.flow-step {
  position: relative;
}

/* タイムラインの丸 */

.flow-step::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -39px;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  border: 2px solid var(--color-accent);
  border-radius: 50%;
  background: var(--bg-tertiary);
  z-index: 2;
}

/* カード */

.flow-card {
  display: flex;
  align-items: center;
  min-height: var(--card-flow-min-height);
  padding: var(--card-flow-padding);
  background: color-mix(in srgb, var(--bg-primary) 91%, transparent);
  border: var(--card-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

/* アイコン */

.flow-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 var(--flow-icon-column);
  height: var(--flow-icon-height);
  margin-right: var(--flow-icon-margin);
  padding-right: var(--flow-icon-padding);
  border-right: 1px solid
    color-mix(in srgb, var(--color-accent) 50%, transparent);
  color: var(--color-accent);
}

.flow-icon svg {
  width: var(--icon-size-feature);
  height: var(--icon-size-feature);
  fill: none;
  stroke: currentColor;
  stroke-width: var(--icon-stroke-width);
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* STEP番号 */

.flow-number {
  display: block;
  margin-bottom: 3px;
  color: var(--text-accent);
}

/* STEP見出し */

.flow-card-text h3 {
  margin: 0;
  color: var(--text-heading);
}

/* STEP説明文 */

.flow-card-text p {
  margin: 4px 0 0;
  color: var(--text-body);
}

/* ==========================================
   FOOTER — Editorial / 中央ロゴ・3列・ポリシー
   ========================================== */
.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  --closing-tint: color-mix(in srgb, var(--color-primary) var(--footer-overlay), transparent);
  color: var(--text-inverse);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  min-height: var(--footer-min-height);
}

/* ロゴの上下の線はコンテンツ幅に制限せず、画面いっぱいに表示 */
.footer-brand-band {
  border-block: var(--border-width-ui) solid var(--footer-brand-band-line);
  padding-block: var(--footer-brand-band-padding);
  text-align: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--footer-brand-gap);
  color: var(--text-inverse);
  text-align: center;
}

.footer-brand img {
  width: var(--footer-logo-size);
  height: var(--footer-logo-size);
  object-fit: contain;
  border-radius: var(--radius-card);
}

.footer-brand-text {
  overflow-wrap: anywhere;
}
.footer-brand small {
  display: block;
  margin-top: 10px;
  color: var(--text-inverse);
}

/* 左右を等幅にし、SNSと縦メニューを画面中央に保つ */
.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr) minmax(0, 1fr);
  grid-template-areas: "social social social" "office menu contact";
  column-gap: var(--footer-column-gap);
  row-gap: 22px;
  padding-top: var(--footer-main-padding-top);
  flex: 1;
  align-content: start;
  align-items: start;
}

.footer-social {
  grid-area: social;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  max-width: 100%;
  min-width: 0;
  gap: var(--footer-social-gap);
}

.footer-social-link {
  display: grid;
  place-items: center;
  width: var(--footer-social-note-size);
  height: var(--footer-social-note-size);
  flex: 0 0 auto;
  color: var(--text-inverse);
  transition:
    color var(--motion-ui) var(--ease-ui),
    transform var(--motion-ui) var(--ease-ui);
}

/* hidden属性を付けたSNSは表示せず、残りのアイコンを中央に配置する。 */
.footer-social[hidden],
.footer-social-link[hidden] {
  display: none;
}

/* 全SNSが未設定の場合はSNS用の行を省く。 */
.footer-main:has(.footer-social[hidden]) {
  grid-template-areas: "office menu contact";
}

.footer-social-glyph {
  width: var(--footer-social-size);
  height: var(--footer-social-size);
  object-fit: contain;
}

/* 公式SVGは内側に余白があるため、画像枠を大きくして表示寸法を合わせる。 */
.footer-social-note {
  width: var(--footer-social-note-size);
  height: var(--footer-social-note-size);
  object-fit: contain;
}

.footer-office {
  grid-area: office;
  display: grid;
  gap: var(--footer-info-gap);
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  font-style: normal;
  font-weight: var(--font-weight-regular);
  line-height: 1.8;
  letter-spacing: var(--letter-spacing-body);
  min-width: 0;
  overflow-wrap: anywhere;
}

.footer-info-row {
  display: grid;
  grid-template-columns: var(--footer-info-icon-size) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.footer-info-icon {
  width: var(--footer-info-icon-size);
  height: var(--footer-info-icon-size);
  fill: none;
  stroke: var(--footer-accent);
  stroke-width: var(--icon-stroke-width);
  stroke-linecap: round;
  stroke-linejoin: round;
}
.footer-info-icon {
  margin-top: 3px;
}
.footer-info-latin {
  font-family: var(--font-en);
}

.footer-nav {
  grid-area: menu;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--footer-nav-gap);
  text-align: center;
}

.footer-nav a {
  color: var(--text-inverse);
  padding-block: 4px;
  overflow-wrap: anywhere;
  transition: color var(--motion-ui) var(--ease-ui);
}

.footer-contact {
  grid-area: contact;
  min-width: 0;
  width: 100%;
  max-width: 300px;
  justify-self: end;
}

.footer-contact p {
  margin: 0 0 24px;
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
  letter-spacing: var(--letter-spacing-body);
}

/* 共通のお問い合わせボタンを使用し、フッターの列幅だけに合わせる。 */
.footer-contact .contact-button {
  min-width: 0;
  width: 100%;
  padding-inline: var(--button-mobile-padding-inline);
  white-space: normal;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--footer-bottom-gap);
  padding-top: var(--footer-bottom-padding-top);
}

.footer-policy {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px var(--footer-policy-gap);
  font-family: var(--font-caption);
  font-size: var(--font-size-caption);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-caption);
  letter-spacing: var(--letter-spacing-caption);
}
.footer-policy a {
  padding-block: 6px;
  transition: color var(--motion-ui) var(--ease-ui);
}
.footer-copyright {
  color: var(--text-inverse);
  overflow-wrap: anywhere;
}
.site-footer :focus-visible {
  outline-color: var(--bg-primary);
}
.site-footer [aria-disabled="true"] {
  cursor: default;
}

/* ==========================================
   FAQ - Frequently Asked Questions
   ========================================== */

.faq {
  position: relative;
  background: linear-gradient(
    115deg,
    var(--bg-primary) 0%,
    var(--bg-tertiary-light) 65%,
    var(--bg-tertiary) 100%
  );
}

.faq-heading .section-kicker {
  color: var(--text-accent);
}

.faq-heading h2 {
  margin: 0;
  color: var(--text-heading);
}

/* FAQ全体 */

.faq-list {
  border-top: var(--border-width-ui) solid var(--border-color);
}

/* 各FAQ */

.faq-item {
  border-bottom: var(--border-width-ui) solid var(--border-color);
  transition: background var(--motion-ui) var(--ease-ui);
}

.faq-item[open] {
  background: color-mix(in srgb, var(--bg-tertiary) 70%, transparent);
}

/* 質問 */

.faq-item summary {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) var(--icon-control-size);
  align-items: center;
  gap: 18px;
  padding: 25px 18px;
  color: var(--text-heading);
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

/* Qマーク */

.faq-item summary::before {
  content: "Q.";
  color: var(--text-accent);
}

/* プラス・マイナスアイコン */

.faq-item summary::after {
  content: "+";
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--icon-control-size);
  height: var(--icon-control-size);
  border: var(--border-width-ui) solid var(--color-button-bg);
  border-radius: var(--radius-round);
  color: var(--color-button-bg);
  transition:
    background var(--motion-ui) var(--ease-ui),
    color var(--motion-ui) var(--ease-ui);
}

.faq-item[open] summary::after {
  content: "−";
  background: var(--color-button-bg);
  color: var(--color-button-text);
}

/* 回答 */

.faq-answer {
  padding: 0 70px 28px 66px;
}

.faq-answer p {
  margin: 0;
  color: var(--text-body);
}

/* ==========================================
   OUR VALUES
   Light Editorial Philosophy Section
   ========================================== */

.our-values {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 82% 18%,
      color-mix(
          in srgb,
          color-mix(
              in srgb,
              var(--color-primary) 22%,
              var(--bg-secondary-light)
            )
            24%,
          transparent
        )
        0%,
      transparent 38%
    ),
    radial-gradient(
      circle at 12% 82%,
      color-mix(
          in srgb,
          color-mix(in srgb, var(--color-accent) 45%, var(--bg-tertiary)) 20%,
          transparent
        )
        0%,
      transparent 35%
    ),
    linear-gradient(
      135deg,
      var(--bg-tertiary) 0%,
      var(--bg-tertiary-light) 52%,
      var(--bg-secondary) 100%
    );
  color: var(--text-body);
}

/* 淡い円弧の装飾（コンテンツに干渉しない） */

.our-values::before,
.our-values::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.our-values::before {
  top: -260px;
  right: -280px;
  width: 760px;
  height: 760px;
  border: 1px solid color-mix(in srgb, var(--color-accent) 16%, transparent);
}

.our-values::after {
  top: -180px;
  right: -200px;
  width: 620px;
  height: 620px;
  border: 1px solid color-mix(in srgb, var(--color-accent) 8%, transparent);
}

.our-values-inner {
  position: relative;
  z-index: 1;
}

/* セクション見出し：ABOUT / MESSAGEと統一 */

.our-values-heading .section-kicker {
  color: var(--text-accent);
}

.our-values-heading h2 {
  margin: 0;
  color: var(--text-heading);
}

/* 上段：ストーリー部分 */

.our-values-intro {
  display: grid;
  grid-template-columns:
    minmax(0, 0.95fr)
    minmax(0, 1.05fr);
  gap: clamp(45px, 6vw, 110px);
  align-items: start;
}

/* 左側の大きなメッセージ */

.our-values-statement {
  padding-left: 30px;
  border-left: 2px solid var(--color-accent);
}

.our-values-eyebrow {
  margin: 0 0 22px;
  color: var(--text-accent);
}

.our-values-statement h3 {
  margin: 0;
  color: var(--text-heading);
}

/* 右側のストーリー本文 */

.our-values-story {
  color: var(--text-body);
}

.our-values-story p {
  margin: 0 0 20px;
}

.our-values-story p:last-child {
  margin-bottom: 0;
}

/* 下段：3つの価値観 */

.our-values-list {
  display: grid;
  grid-template-columns: repeat(var(--our-values-columns), minmax(0, 1fr));
  border-top: 1px solid color-mix(in srgb, var(--color-accent) 35%, transparent);
  border-bottom: 1px solid
    color-mix(in srgb, var(--color-accent) 35%, transparent);
}

.our-values-item {
  min-width: 0;
  padding: 38px 34px 42px 0;
}

.our-values-item:not(:first-child) {
  padding-left: 34px;
  border-left: 1px solid
    color-mix(in srgb, var(--color-accent) 22%, transparent);
}

/* 大きな番号 */

.our-values-number {
  display: block;
  margin-bottom: 20px;
  color: var(--color-accent);
}

/* 英語のタイトル */

.our-values-label {
  margin: 0 0 8px;
  color: var(--text-accent);
}

/* 日本語の見出し */

.our-values-item h3 {
  margin: 0 0 18px;
  color: var(--text-heading);
}

/* 価値観の説明文 */

.our-values-item > p:last-child {
  margin: 0;
  color: var(--text-body);
}

/* モバイルメニューの円形アニメーション用プロパティ */
@property --menu-radius {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}

/* ==========================================
   TYPOGRAPHY / 共通適用ルール
   セクション固有の色・余白とは分離
   ========================================== */

body {
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-body);
  line-height: var(--line-height-body);
  letter-spacing: var(--letter-spacing-body);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: var(--font-size-hero);
  font-weight: var(--font-weight-heading);
  line-height: var(--line-height-hero);
  letter-spacing: var(--letter-spacing-hero);
}

.section-heading h2,
.about h2,
.message h2,
.challenges-heading h2,
.flow-heading h2,
.faq-heading h2,
.our-values-heading h2 {
  font-family: var(--font-heading);
  font-size: var(--font-size-section);
  font-weight: var(--font-weight-heading);
  line-height: var(--line-height-heading);
  letter-spacing: var(--letter-spacing-heading);
}

.contact h2 {
  font-family: var(--font-heading);
  font-size: var(--font-size-cta);
  font-weight: var(--font-weight-heading);
  line-height: var(--line-height-heading);
  letter-spacing: var(--letter-spacing-heading);
}

.our-values-statement h3 {
  font-family: var(--font-heading);
  font-size: var(--font-size-statement);
  font-weight: var(--font-weight-heading);
  line-height: var(--line-height-statement);
  letter-spacing: var(--letter-spacing-heading);
}

.value-item h2,
.flow-card-text h3,
.our-values-item h3 {
  font-family: var(--font-heading);
  font-size: var(--font-size-subheading);
  font-weight: var(--font-weight-heading);
  line-height: var(--line-height-subheading);
  letter-spacing: var(--letter-spacing-heading);
}

.service-card-content {
  font-family: var(--font-heading);
  font-size: var(--font-size-card-title);
  font-weight: var(--font-weight-heading);
  line-height: var(--line-height-heading);
  letter-spacing: var(--letter-spacing-heading);
}

.service-modal h2 {
  font-family: var(--font-heading);
  font-size: var(--font-size-modal-title);
  font-weight: var(--font-weight-heading);
  line-height: var(--line-height-heading);
  letter-spacing: var(--letter-spacing-heading);
}

.hero-lead {
  font-family: var(--font-heading);
  font-size: var(--font-size-lead);
  font-weight: var(--font-weight-heading);
  line-height: var(--line-height-lead);
  letter-spacing: var(--letter-spacing-lead);
}

.message-body .message-emphasis {
  font-family: var(--font-heading);
  font-size: var(--font-size-subheading);
  font-weight: var(--font-weight-heading);
  line-height: var(--line-height-lead);
  letter-spacing: var(--letter-spacing-lead);
}

.value-item p,
.about p:not(.section-kicker),
.message-body,
.contact-content > p:not(.section-kicker):not(.contact-email),
.challenges-lead,
.flow-lead,
.flow-card-text p,
.faq-answer p,
.our-values-story,
.our-values-item > p:last-child,
.service-modal p {
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-body);
  line-height: var(--line-height-body);
  letter-spacing: var(--letter-spacing-body);
}

.challenges-list li {
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-ui);
  letter-spacing: var(--letter-spacing-body);
}

.faq-item summary {
  font-family: var(--font-heading);
  font-size: var(--font-size-question);
  font-weight: var(--font-weight-heading);
  line-height: var(--line-height-ui);
  letter-spacing: var(--letter-spacing-heading);
}

.section-heading .section-kicker,
.section-kicker,
.challenges-kicker,
.flow-heading .section-kicker {
  font-family: var(--font-kicker);
  font-size: var(--font-size-kicker);
  font-weight: var(--font-weight-kicker);
  line-height: var(--line-height-ui);
  letter-spacing: var(--letter-spacing-kicker);
}

.hero-eyebrow {
  font-family: var(--font-heading);
  font-size: var(--font-size-label);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-ui);
  letter-spacing: var(--letter-spacing-kicker);
}

.flow-number,
.our-values-eyebrow,
.our-values-label,
.modal-top {
  font-family: var(--font-kicker);
  font-size: var(--font-size-label);
  font-weight: var(--font-weight-kicker);
  line-height: var(--line-height-ui);
  letter-spacing: var(--letter-spacing-label);
}

.header-contact,
.button,
.button-gold {
  font-family: var(--font-button);
  font-size: var(--font-size-button);
  font-weight: var(--font-weight-button);
  line-height: var(--line-height-ui);
  letter-spacing: var(--letter-spacing-ui);
}

.header-contact {
  font-size: var(--font-size-header-button);
}

.desktop-nav a {
  font-family: var(--font-navigation);
  font-size: var(--font-size-nav);
  font-weight: var(--font-weight-nav);
  line-height: var(--line-height-ui);
  letter-spacing: var(--letter-spacing-ui);
}

.brand-name strong {
  font-family: var(--font-heading);
  font-size: var(--font-size-brand);
  font-weight: var(--font-weight-heading);
  line-height: var(--line-height-brand);
  letter-spacing: var(--letter-spacing-brand);
}

.brand-name small {
  font-family: var(--font-en);
  font-size: var(--font-size-brand-en);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-brand);
  letter-spacing: var(--letter-spacing-brand-en);
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: var(--font-size-footer-brand);
  font-weight: var(--font-weight-heading);
  line-height: var(--line-height-brand);
  letter-spacing: var(--letter-spacing-brand);
}

.footer-brand small {
  font-family: var(--font-en);
  font-size: var(--font-size-footer-brand-en);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-brand);
  letter-spacing: 0.18em;
}

.message-en {
  font-family: var(--font-en);
  font-size: var(--font-size-quote);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-heading);
  letter-spacing: var(--letter-spacing-heading);
  font-style: italic;
}

.our-values-number {
  font-family: var(--font-en);
  font-size: var(--font-size-number);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-symbol);
  letter-spacing: var(--letter-spacing-heading);
}

.message-sign span {
  font-family: var(--font-en);
  font-size: var(--font-size-label);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-ui);
  letter-spacing: var(--letter-spacing-label);
}

.services-note,
.contact-email,
.footer-copyright,
.skip-link {
  font-family: var(--font-caption);
  font-size: var(--font-size-caption);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-caption);
  letter-spacing: var(--letter-spacing-caption);
}

.page-top__text {
  font-family: var(--font-navigation);
  font-size: var(--font-size-label);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-symbol);
  letter-spacing: var(--letter-spacing-page-top);
}

.hero-scroll {
  font-family: var(--font-en);
  font-size: var(--scroll-label-size);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-symbol);
  letter-spacing: var(--scroll-letter-spacing);
}

.button span:last-child {
  font-family: var(--font-symbol);
  font-size: var(--font-size-symbol);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-symbol);
  letter-spacing: var(--letter-spacing-ui);
}

.service-arrow {
  font-family: var(--font-symbol);
  font-size: var(--font-size-service-arrow);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-symbol);
  letter-spacing: var(--letter-spacing-ui);
}

.faq-item summary::before {
  font-family: var(--font-en);
  font-size: var(--font-size-faq-symbol);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-symbol);
  letter-spacing: var(--letter-spacing-ui);
}

.faq-item summary::after {
  font-family: var(--font-symbol);
  font-size: var(--font-size-faq-symbol);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-symbol);
  letter-spacing: var(--letter-spacing-ui);
}

.challenges-list li::before {
  font-family: var(--font-symbol);
  font-size: var(--font-size-check);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-symbol);
  letter-spacing: var(--letter-spacing-ui);
}

.modal-close {
  font-family: var(--font-symbol);
  font-size: var(--font-size-close);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-symbol);
  letter-spacing: var(--letter-spacing-ui);
}

.brand-name {
  line-height: var(--line-height-brand);
}

/* ==========================================
   LAYOUT / 共通適用ルール
   ========================================== */

/* 主要コンテナ：外側の左右位置を統一 */

.content-width,
.flow-inner,
.challenges-inner {
  width: var(--container-width);
  margin-inline: auto;
}

/* 縦方向のリスト・タイムラインは共通の狭幅 */

.challenges-heading,
.challenges-list,
.flow-steps,
.faq-list {
  max-width: var(--content-narrow);
  margin-inline: auto;
}

.challenges-list,
.flow-steps,
.faq-list {
  margin-block: 0;
}

/* 写真との重なり・読みやすさを考慮した文章幅 */

.about h2,
.about p:not(.section-kicker) {
  max-width: var(--content-reading);
}

/* ヘッダー：従来の幅を維持し、変数で管理 */

.header-inner {
  max-width: var(--header-content);
  padding-inline: var(--header-gutter);
}

/* 通常セクション：上下の余白を統一 */

.section-content,
.challenges,
.about-content,
.our-values,
.message,
.consultation-flow,
.faq {
  padding-block: var(--section-padding);
}

/* 短い導入セクション・CTA・Hero・Footerは別の役割 */

.values-grid {
  padding-block: var(--section-padding-small);
}

.contact-content {
  padding-block: var(--contact-panel-padding-block);
  padding-inline: var(--contact-panel-padding-inline);
}

.hero-content {
  padding-block: var(--hero-padding-top) var(--hero-padding-bottom);
}

.footer-inner {
  padding-block: var(--footer-padding-top) var(--footer-padding-bottom);
}

/* 通常見出しと次のコンテンツの間隔 */

.section-heading,
.challenges-heading,
.flow-heading,
.faq-heading,
.our-values-heading {
  margin-bottom: var(--section-heading-gap);
}

.challenges-lead {
  margin: var(--section-heading-text-gap) auto 0;
}

.our-values-intro {
  margin: 0 0 var(--section-content-gap);
}

/* 装飾ライン：HTMLの .gold-line を基本に統一。
   お悩みセクションのみHTMLを変えず疑似要素で補う。 */

.gold-line,
.challenges-heading h2::after {
  display: block;
  width: var(--accent-line-width);
  height: var(--accent-line-height);
  background: var(--accent-line-background);
  margin: var(--accent-line-gap) 0 0;
}

.challenges-heading h2::after {
  content: "";
  margin-inline: auto;
}

/* ライン直後に文章がある場合の共通余白 */

.about .gold-line,
.message .gold-line,
.flow-heading > .gold-line,
.service-modal .gold-line {
  margin-bottom: var(--section-heading-text-gap);
}

/* Heroのみ専用のライン寸法・余白 */

.hero .gold-line {
  width: var(--hero-line-width);
  margin-block: var(--hero-line-gap) var(--hero-line-bottom);
}

/* ==========================================
   RESPONSIVE / 長い文章・小さな画面への安全策
   ========================================== */

.flow-card-text,
.service-title,
.message-body,
.our-values-story,
.our-values-statement {
  min-width: 0;
  overflow-wrap: anywhere;
}

.button {
  overflow-wrap: anywhere;
}

.modal-close {
  transition: color var(--motion-fast) var(--ease-ui);
}

/* ==========================================
   COMPONENTS / 共通適用・レスポンシブ
   ========================================== */

/* SVGの図形自体に指定し、座標系の拡大縮小による線幅の差を防ぐ。 */

.value-icon svg :is(path, rect, circle, line, polyline, polygon, ellipse),
.flow-icon svg :is(path, rect, circle, line, polyline, polygon, ellipse),
.header-contact svg :is(path, rect, circle, line, polyline, polygon, ellipse),
.contact-button svg :is(path, rect, circle, line, polyline, polygon, ellipse),
.page-top__button
  svg
  :is(path, rect, circle, line, polyline, polygon, ellipse) {
  vector-effect: non-scaling-stroke;
  stroke-width: var(--icon-stroke-width);
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-top__button svg {
  width: var(--icon-size-ui);
  height: var(--icon-size-ui);
}

.faq-item summary::after {
  letter-spacing: 0;
}

/* 長い文言のクライアントでもボタン内で折り返せるようにする */

.button {
  max-width: 100%;
}

/* ==========================================
   INTERACTION — キーボードとポインター
   ========================================== */
.desktop-nav a:focus-visible::after {
  right: 0;
}

.header-contact:focus-visible {
  transform: translateY(var(--hover-lift));
}

.button:focus-visible {
  transform: translateY(var(--hover-lift));
}

.button-outline:focus-visible {
  background: var(--color-button-outline-hover);
}

.service-card:focus-visible img {
  transform: scale(var(--hover-image-scale));
  filter: saturate(1.1);
}

.service-card:focus-visible .service-arrow {
  transform: translateX(var(--hover-arrow-shift));
}

.page-top:focus-visible .page-top__button {
  background: var(--color-button-hover);
  color: var(--color-button-text);
  border-color: var(--ui-gold-vivid);
  transform: translateY(var(--hover-lift));
}

.header-contact:focus-visible,
.button-gold:focus-visible {
  background: var(--color-button-hover);
  color: var(--color-button-text);
  filter: none;
  box-shadow: var(--shadow-button-hover);
}

.footer-policy a[href]:focus-visible {
  color: var(--footer-accent);
}

.footer-nav a:focus-visible {
  color: var(--footer-accent);
}

.faq-item summary:focus-visible {
  color: var(--text-accent);
}

.modal-close:focus-visible {
  color: var(--text-accent);
}

@media (hover: hover) and (pointer: fine) {
  .desktop-nav a:hover::after {
    right: 0;
  }

  .header-contact:hover {
    transform: translateY(var(--hover-lift));
  }

  .button:hover {
    transform: translateY(var(--hover-lift));
  }

  .button-outline:hover {
    background: var(--color-button-outline-hover);
  }

  .service-card:hover img {
    transform: scale(var(--hover-image-scale));
    filter: saturate(1.1);
  }

  .service-card:hover .service-arrow {
    transform: translateX(var(--hover-arrow-shift));
  }

  .page-top:hover .page-top__button {
    background: var(--color-button-hover);
    color: var(--color-button-text);
    border-color: var(--ui-gold-vivid);
    transform: translateY(var(--hover-lift));
  }

  .header-contact:hover,
  .button-gold:hover {
    background: var(--color-button-hover);
    color: var(--color-button-text);
    filter: none;
    box-shadow: var(--shadow-button-hover);
  }

  .footer-social-link[href]:hover {
    transform: translateY(var(--hover-lift));
  }
  .footer-policy a[href]:hover {
    color: var(--footer-accent);
  }

  .footer-nav a:hover {
    color: var(--footer-accent);
  }

  .faq-item summary:hover {
    color: var(--text-accent);
  }

  .modal-close:hover {
    color: var(--text-accent);
  }
}

/* ==========================================
   RESPONSIVE — ブレークポイント別に一元管理
   ========================================== */

@media (max-width: 1150px) {
  :root {
    --font-size-brand: 0.9375rem;
    --font-size-brand-en: 0.625rem;
    --font-size-nav: 0.8125rem;
    --font-size-header-button: 0.8125rem;
    --header-gutter: 26px;
    --header-button-padding-inline: 12px;
    --header-button-gap: 8px;
  }

  .header-inner {
    gap: 15px;
  }

  .brand-mark {
    width: 68px;
    flex-basis: 68px;
  }

  .brand-mark img {
    width: 68px;
  }

  .desktop-nav {
    gap: 16px;
  }

  .header-contact {
    padding-inline: var(--header-button-padding-inline);
  }
}

@media (max-width: 920px) {
  :root {
    --font-size-card-title: clamp(0.9375rem, 1.9vw, 1.25rem);
    --section-padding: 80px;
    --hero-padding-top: 104px;
    --header-height: 78px;
  }

  .desktop-nav,
  .header-contact {
    display: none;
  }

  .brand-mark {
    height: 72px;
  }

  .menu-button {
    display: flex;
    margin-left: auto;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--menu-bar-gap);
    width: var(--menu-button-size);
    height: var(--menu-button-size);
    flex: 0 0 var(--menu-button-size);
    padding: 0;
    border: none;
    background: color-mix(in srgb, var(--color-primary-dark) 15%, transparent);
    color: var(--text-inverse);
    cursor: pointer;
  }

  .menu-button span {
    display: block;
    background: currentColor;
    width: var(--menu-bar-width);
    height: var(--menu-bar-height);
    transition:
      transform var(--motion-ui) var(--ease-ui),
      opacity var(--motion-ui) var(--ease-ui);
  }

  .site-header.menu-open .menu-button span:nth-child(1) {
    transform: translateY(calc(var(--menu-bar-gap) + var(--menu-bar-height)))
      rotate(45deg);
  }

  .site-header.menu-open .menu-button span:nth-child(2) {
    opacity: 0;
  }

  .site-header.menu-open .menu-button span:nth-child(3) {
    transform: translateY(
        calc(-1 * (var(--menu-bar-gap) + var(--menu-bar-height)))
      )
      rotate(-45deg);
  }

  /* メニュー：開閉用の3本線は既存JavaScriptとの互換性を維持 */
  .menu-button {
    position: relative;
    border: var(--border-width-ui) solid transparent;
    border-radius: var(--radius-round);
  }

  .site-header.menu-open .menu-button {
    background: transparent;
    border-color: var(--menu-divider);
    color: var(--menu-accent);
  }

  .site-header.menu-open .menu-button::after {
    content: "CLOSE" / "";
    position: absolute;
    top: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%);
    color: var(--menu-accent);
    font-family: var(--font-kicker);
    font-size: var(--menu-close-label-size);
    letter-spacing: var(--letter-spacing-label);
    line-height: var(--line-height-ui);
    pointer-events: none;
  }

  /* すべてのリンクをnavの直下に置き、既存のリンク開閉処理を維持 */
  .mobile-nav > * {
    flex-shrink: 0;
    width: 100%;
    max-width: var(--menu-content-max);
    margin-inline: auto;
  }

  .mobile-menu-kicker,
  .mobile-menu-contact-label {
    font-family: var(--font-kicker);
    font-size: var(--menu-label-size);
    font-weight: var(--font-weight-kicker);
    letter-spacing: var(--letter-spacing-kicker);
    line-height: var(--line-height-ui);
    color: var(--menu-accent);
    margin-block: 0 8px;
  }

  .mobile-menu-kicker {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .mobile-menu-kicker::before {
    content: "";
    width: 26px;
    height: var(--accent-line-height);
    background: var(--menu-accent);
  }

  .mobile-menu-link {
    display: grid;
    grid-template-columns: var(--menu-number-width) minmax(0, 1fr) var(
        --icon-size-ui
      );
    align-items: center;
    gap: var(--menu-item-gap);
    padding-block: var(--menu-item-padding);
    border-bottom: var(--border-width-ui) solid var(--menu-divider);
    color: var(--text-inverse);
    transition: color var(--motion-ui) var(--ease-ui);
  }

  .mobile-menu-number {
    align-self: start;
    padding-top: 4px;
    color: var(--menu-accent);
    font-family: var(--font-en);
    font-size: var(--font-size-label);
    font-style: italic;
    line-height: var(--line-height-ui);
    font-variant-numeric: tabular-nums;
  }

  .mobile-menu-label {
    display: grid;
    gap: 3px;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .mobile-menu-jp {
    font-family: var(--font-heading);
    font-size: var(--font-size-mobile-nav);
    font-weight: var(--font-weight-heading);
    line-height: var(--line-height-heading);
    letter-spacing: var(--letter-spacing-heading);
  }

  .mobile-menu-en {
    color: var(--menu-accent);
    font-family: var(--font-kicker);
    font-size: var(--menu-label-size);
    line-height: var(--line-height-ui);
    letter-spacing: var(--letter-spacing-kicker);
  }

  .mobile-menu-arrow,
  .mobile-menu-mail {
    width: var(--icon-size-ui);
    height: var(--icon-size-ui);
    flex-shrink: 0;
    stroke: currentColor;
    transition: transform var(--motion-ui) var(--ease-ui);
  }

  .mobile-menu-arrow path,
  .mobile-menu-mail :is(path, rect) {
    vector-effect: non-scaling-stroke;
    stroke-width: var(--icon-stroke-width);
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .mobile-menu-link .mobile-menu-arrow {
    color: var(--menu-accent);
  }
  .mobile-menu-contact-label {
    margin-block: var(--menu-contact-gap) 10px;
    text-align: center;
  }

  .mobile-menu-contact.button {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--button-gap);
    text-align: center;
    white-space: normal;
    min-height: var(--button-min-height);
    padding-inline: calc(var(--icon-size-ui) + var(--button-gap));
    overflow-wrap: anywhere;
  }

  .mobile-menu-contact .mobile-menu-arrow {
    position: absolute;
    right: var(--button-padding-inline);
  }

  .mobile-menu-branding {
    text-align: center;
    margin-block: auto 0;
    padding-top: var(--menu-branding-gap);
  }

  .mobile-menu-branding[hidden] {
    display: none;
  }
  .mobile-menu-branding::before {
    content: "";
    display: block;
    width: 32px;
    height: var(--border-width-ui);
    background: var(--menu-accent);
    margin: 0 auto 14px;
  }

  .mobile-menu-tagline {
    color: var(--menu-accent);
    font-family: var(--font-en);
    font-size: var(--menu-tagline-size);
    font-style: italic;
    line-height: var(--line-height-heading);
    letter-spacing: var(--letter-spacing-brand);
    margin: 0;
  }

  .mobile-menu-signature {
    color: var(--text-inverse-muted);
    font-family: var(--font-kicker);
    font-size: var(--menu-label-size);
    letter-spacing: var(--letter-spacing-label);
    line-height: var(--line-height-caption);
    margin: 12px 0 0;
    overflow-wrap: anywhere;
  }

  .mobile-menu-link:focus-visible {
    color: var(--menu-accent);
  }
  .mobile-menu-link:focus-visible .mobile-menu-arrow {
    transform: translateX(var(--hover-arrow-shift));
  }

  @media (hover: hover) and (pointer: fine) {
    .mobile-menu-link:hover {
      color: var(--menu-accent);
    }
    .mobile-menu-link:hover .mobile-menu-arrow {
      transform: translateX(var(--hover-arrow-shift));
    }
  }

  .service-card-content {
    left: 13px;
    right: 12px;
  }

  .our-values-intro {
    gap: 36px;
  }

  .our-values-statement {
    padding-left: 22px;
  }

  .our-values-item {
    padding-right: 20px;
  }

  .our-values-item:not(:first-child) {
    padding-left: 20px;
  }

  .header-inner {
    position: relative;
    z-index: 2;
  }

  .site-header.menu-open,
  .site-header.menu-open.is-scrolled {
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  body:has(.site-header.menu-open) {
    overflow: hidden;
  }

  body:has(.site-header.menu-open) .page-top {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .mobile-nav {
    --menu-radius: 0px;
    --menu-x: calc(100% - var(--header-gutter) - var(--menu-button-size) / 2);
    --menu-y: calc(var(--header-height) / 2);
    /* 最も遠い角まで届く半径。横長画面にも対応 */
    --menu-max-radius: hypot(
      max(
        calc(100vw - var(--header-gutter) - var(--menu-button-size) / 2),
        calc(var(--header-gutter) + var(--menu-button-size) / 2)
      ),
      max(calc(100dvh - var(--menu-y)), var(--menu-y))
    );
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 1;
    flex-direction: column;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    padding: var(--menu-padding-top) var(--gutter)
      max(24px, env(safe-area-inset-bottom));
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    visibility: hidden;
    pointer-events: none;
    background: var(--color-primary-dark);
    /* ゴールドの円形開閉アニメーションを維持（背景装飾なし） */
    background: radial-gradient(
      circle at var(--menu-x) var(--menu-y),
      var(--color-primary-dark) 0px,
      var(--color-primary-dark)
        max(0px, calc(var(--menu-radius) - var(--menu-ring-width))),
      var(--menu-ring-color)
        max(0px, calc(var(--menu-radius) - var(--menu-ring-width))),
      var(--menu-ring-color) var(--menu-radius)
    );
    clip-path: circle(var(--menu-radius) at var(--menu-x) var(--menu-y));
    transition:
      --menu-radius var(--motion-menu) var(--ease-menu),
      visibility 0s linear var(--motion-menu);
  }

  .site-header.menu-open .mobile-nav {
    --menu-radius: var(--menu-max-radius, 150vmax);
    visibility: visible;
    pointer-events: auto;
    transition:
      --menu-radius var(--motion-menu) var(--ease-menu),
      visibility 0s linear 0s;
  }

  /* メニュー起点は固定ヘッダーの実位置に合わせる */

  .site-header.menu-open {
    position: fixed;
  }
}

@media (max-width: 768px) {
  :root {
    --scroll-label-size: 0.625rem;
    --scroll-bottom: 18px;
    --font-size-footer-brand: 1.25rem;
    --font-size-footer-brand-en: 0.6875rem;
    --footer-min-height: 0px;
    --footer-padding-top: 52px;
    --footer-padding-bottom: 12px;
    --footer-overlay: 70%;
    --footer-photo-position: 62% center;
    --footer-logo-size: 64px;
    --footer-brand-band-padding: 32px;
    --footer-main-padding-top: 20px;
    --footer-bottom-padding-top: 48px;
    --footer-column-gap: 24px;
    --page-top-size: 48px;
    --page-top-inset: 12px;
  }

  /* 狭い画面では従来の中央下・横書きに戻す */
  .hero-scroll {
    left: 50%;
    transform: translateX(-50%);
  }

  .hero-scroll__label {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
  }

  .page-top {
    right: max(var(--page-top-inset), env(safe-area-inset-right));
    top: auto;
    bottom: max(var(--page-top-bottom), env(safe-area-inset-bottom));
    transform: none;
  }

  .page-top__text,
  .page-top__line {
    display: none;
  }

  .footer-main {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "social" "menu" "office" "contact";
    row-gap: 30px;
    justify-items: center;
  }
  .footer-main:has(.footer-social[hidden]) {
    grid-template-areas: "menu" "office" "contact";
  }
  /* スマホ：事務所情報は内容幅で中央配置し、文字は左揃え */
  .footer-office {
    width: fit-content;
    max-width: 100%;
    justify-self: center;
    text-align: left;
    margin-top: 8px;
  }

  .footer-info-row {
    column-gap: 14px;
  }
  .footer-contact {
    justify-self: center;
    text-align: center;
  }
}

@media (max-width: 640px) {
  :root {
    --font-size-section: 1.625rem;
    --font-size-cta: var(--font-size-section);
    --font-size-statement: clamp(1.3125rem, 5.4vw, 1.75rem);
    --font-size-subheading: 1.3125rem;
    --font-size-card-title: clamp(0.875rem, 3.1vw, 1.125rem);
    --font-size-lead: 1rem;
    --font-size-body: 0.9375rem;
    --font-size-question: 1rem;
    --font-size-kicker: 0.75rem;
    --font-size-brand: clamp(0.75rem, 3.3vw, 0.875rem);
    --font-size-brand-en: 0.5625rem;
    --font-size-number: 2.625rem;
    --font-size-service-arrow: 1.125rem;
    --font-size-faq-symbol: 1.25rem;
    --font-size-check: 0.875rem;
    --line-height-hero: 1.55;
    --line-height-lead: 1.9;
    --letter-spacing-hero: 0.025em;
    --letter-spacing-brand: 0em;
    --letter-spacing-brand-en: 0.05em;
    --gutter: 22px;
    --header-gutter: 16px;
    --section-padding: 64px;
    --section-padding-small: 24px;
    --section-padding-cta: 64px;
    --section-heading-gap: 32px;
    --section-heading-text-gap: 20px;
    --section-content-gap: 48px;
    --hero-padding-top: 108px;
    /* スクロール誘導と本文・ボタンの重なりを防ぐ */
    --hero-padding-bottom: calc(
      var(--scroll-bottom) + var(--scroll-line-length) + 3rem +
        env(safe-area-inset-bottom, 0px)
    );
    --accent-line-width: 56px;
    --accent-line-gap: 10px;
    --icon-size-feature: 36px;
    --icon-feature-box-height: 48px;
    --icon-check-size: 22px;
    --icon-control-size: 36px;
    --menu-button-size: var(--icon-touch-size);
    --button-min-height: var(--button-mobile-min-height);
    --button-padding-block: 10px;
    --button-padding-inline: var(--button-mobile-padding-inline);
    --button-gap: 12px;
    --card-list-padding: 14px 15px;
    --card-list-gap: 12px;
    --card-flow-min-height: 95px;
    --card-flow-padding: 15px 12px;
    --flow-icon-column: 52px;
    --flow-icon-height: 50px;
    --flow-icon-margin: 14px;
    --flow-icon-padding: 12px;
    --header-height: 71px;
    --menu-padding-top: calc(var(--header-height) + 24px);
    --menu-item-gap: 12px;
    --menu-contact-gap: 22px;
    --menu-branding-gap: 28px;
    --service-columns: 2;
    --service-card-height: clamp(160px, 37vw, 225px);
    --service-grid-gap: 12px;
    --values-columns: 1;
    --our-values-columns: 1;
  }

  .brand {
    gap: 7px;
  }

  .brand-mark {
    width: 52px;
    height: 64px;
    flex-basis: 52px;
  }

  .brand-mark img {
    width: 51px;
    max-height: 56px;
  }

  .brand-rule {
    height: 34px;
  }

  .menu-button {
    width: var(--menu-button-size);
    height: var(--menu-button-size);
    flex: 0 0 var(--menu-button-size);
  }

  .hero {
    min-height: 100vh;
    min-height: 100svh;
    align-items: center;
  }

  .hero-photo {
    background-position: 65% center;
  }

  /* スマートフォン：文字が写真全体に重なるため、適度な濃さを維持 */
  .hero-shade {
    background:
      linear-gradient(
        90deg,
        color-mix(in srgb, var(--color-primary-dark) 78%, transparent) 0%,
        color-mix(in srgb, var(--color-primary-dark) 72%, transparent) 48%,
        color-mix(in srgb, var(--color-primary-dark) 65%, transparent) 100%
      ),
      linear-gradient(
        0deg,
        color-mix(in srgb, var(--color-primary-dark) 30%, transparent),
        transparent 50%
      );
  }

  .desktop-only {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 27px;
  }

  .hero-actions .button {
    width: min(100%, var(--button-mobile-max-width));
  }

  .hero-scroll {
    display: flex;
  }

  .value-item {
    min-height: auto;
    padding: 20px 4px 25px;
  }

  .value-item:not(:last-child)::after {
    top: auto;
    bottom: 0;
    left: 15%;
    right: 15%;
    height: 1px;
    width: auto;
  }

  .value-icon {
    margin-bottom: 3px;
  }

  .service-card-content {
    left: 10px;
    right: 8px;
    bottom: 11px;
  }

  .services-note {
    text-align: left;
  }

  .about {
    min-height: 390px;
  }

  .about-visual {
    background:
      linear-gradient(
        90deg,
        var(--bg-tertiary) 0%,
        color-mix(in srgb, var(--bg-tertiary) 96%, transparent) 47%,
        color-mix(in srgb, var(--bg-tertiary) 82%, transparent) 100%
      ),
      url("assets/about.webp") right center/auto 100% no-repeat;
  }

  .message-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .message-en {
    display: none;
  }

  .contact-button {
    min-width: 0;
    width: min(100%, var(--button-mobile-max-width));
    padding-inline: var(--button-mobile-padding-inline);
    white-space: normal;
  }

  .challenges-lead br {
    display: none;
  }

  .challenges-list {
    gap: 10px;
  }

  .consultation-flow {
    background:
      linear-gradient(
        color-mix(in srgb, var(--bg-tertiary) 93%, transparent),
        color-mix(in srgb, var(--bg-tertiary) 97%, transparent)
      ),
      url("assets/flow.webp") center/cover no-repeat;
  }

  .flow-steps {
    gap: 15px;
    padding-left: 30px;
  }

  .flow-steps::before {
    left: 7px;
    top: 40px;
    bottom: 40px;
  }

  .flow-step::before {
    left: -29px;
    width: 12px;
    height: 12px;
  }

  .faq-item summary {
    grid-template-columns: 24px minmax(0, 1fr) var(--icon-control-size);
    gap: 10px;
    padding: 20px 8px;
  }

  .faq-answer {
    padding: 0 40px 22px 42px;
  }

  .our-values-intro {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .our-values-statement {
    padding-left: 20px;
  }

  .our-values-item,
  .our-values-item:not(:first-child) {
    padding: 28px 4px 30px;
    border-left: none;
  }

  .our-values-item:not(:first-child) {
    border-top: 1px solid
      color-mix(in srgb, var(--color-accent) 22%, transparent);
  }

  .our-values-number {
    margin-bottom: 16px;
  }

  .our-values-item h3 {
    margin-bottom: 12px;
  }

  .flow-step::before {
    left: -28px;
  }

  .service-modal {
    padding: 24px 20px 28px;
  }

  .hero-title span {
    display: inline;
  }

  .button {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 380px) {
  :root {
    --font-size-brand: 0.6875rem;
    --font-size-brand-en: 0.5rem;
    --service-columns: 1;
    --service-card-height: 190px;
  }
}

/* ==========================================
   REDUCED MOTION — 動きを減らすユーザー設定
   ========================================== */
@media (prefers-reduced-motion: reduce) {
  :root {
    --hover-lift: 0px;
    --hover-arrow-shift: 0px;
    --hover-image-scale: 1;
    --reveal-distance: 0px;
  }
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
  .hero-scroll__line::after {
    animation: none;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
  }
  .js-enabled .reveal {
    opacity: 1;
    transform: none;
  }
  .mobile-nav,
  .site-header.menu-open .mobile-nav {
    transition: none !important;
  }
}

/* ==========================================
   SERVICE MODAL / 表示アニメーション
   ========================================== */
.service-modal[open] {
  animation: modal-appear var(--motion-modal) var(--ease-reveal) both;
}

/* モーダルの背景もゆっくり表示 */
.service-modal[open]::backdrop {
  animation: modal-backdrop-appear var(--motion-modal) var(--ease-ui) both;
}

/* モーダル本体 */
@keyframes modal-appear {
  from {
    opacity: 0;
    transform: translateY(var(--modal-reveal-distance));
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 背景 */
@keyframes modal-backdrop-appear {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* アニメーション抑制設定への対応 */
@media (prefers-reduced-motion: reduce) {
  .service-modal[open],
  .service-modal[open]::backdrop {
    animation: none;
  }
}

/* ==========================================
   HERO — 初回から表示（イントロ演出なし）
   ========================================== */
/* Heroはスクロール連動のreveal対象から外し、文字を待たせない */
.js-enabled .hero-content.reveal,
.js-enabled .hero-content .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

/* ==========================================
   NEWS — Editorial list / HTML標準アコーディオン
   ========================================== */
.news {
  padding-block: var(--section-padding);
  background: var(--news-background);
  color: var(--news-text);
}
.news-heading { text-align: left; }
.news .news-heading .section-kicker { color: var(--news-accent); }
.news-heading h2 { color: var(--news-text); }
.news-lead {
  margin: var(--section-heading-text-gap) 0 0;
  color: var(--news-date-color);
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
}
.news-demo-note {
  margin: 6px 0 0;
  font-family: var(--font-caption);
  font-size: var(--font-size-caption);
  color: var(--news-date-color);
}
.news-list { border-top: var(--border-width-ui) solid var(--news-border); }
.news-item { border-bottom: var(--border-width-ui) solid var(--news-border); }
.news-summary {
  display: grid;
  grid-template-columns: max-content minmax(6.5rem, 8rem) minmax(0, 1fr) var(--news-toggle-size);
  gap: clamp(12px, 2.6vw, 32px);
  align-items: center;
  padding-block: var(--news-item-padding);
  cursor: pointer;
  list-style: none;
  transition: background-color var(--motion-ui) var(--ease-ui);
}
.news-summary::-webkit-details-marker { display: none; }
.news-summary::marker { content: ""; }
.news-summary:focus-visible { outline-offset: -3px; }
.news-date {
  font-family: var(--font-en);
  font-size: var(--font-size-body);
  font-variant-numeric: tabular-nums;
  color: var(--news-date-color);
  white-space: nowrap;
}
.news-category {
  display: block;
  padding: 4px 8px;
  text-align: center;
  border: var(--border-width-ui) solid var(--news-category-border);
  color: var(--news-category-text);
  font-family: var(--font-caption);
  font-size: var(--font-size-caption);
  line-height: var(--line-height-caption);
  overflow-wrap: anywhere;
}
/* PCではカテゴリなしでもタイトル位置を揃える */
.news-category[hidden] { display: block; visibility: hidden; }
.news-title {
  min-width: 0;
  overflow-wrap: anywhere;
  font-family: var(--font-heading);
  font-size: var(--font-size-question);
  font-weight: var(--font-weight-heading);
  line-height: var(--line-height-heading);
  letter-spacing: var(--letter-spacing-heading);
}
.news-toggle {
  display: grid;
  place-items: center;
  position: relative;
  width: var(--news-toggle-size);
  height: var(--news-toggle-size);
  border: var(--border-width-ui) solid var(--news-category-border);
  border-radius: var(--radius-round);
  color: var(--news-accent);
}
.news-toggle::before,
.news-toggle::after,
.news-more-icon::before,
.news-more-icon::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 1.5px;
  background: currentColor;
  transition: transform var(--motion-ui) var(--ease-ui);
}
.news-toggle::after,
.news-more-icon::after { transform: rotate(90deg); }
.news-item[open] .news-toggle::after,
.news-more[data-mode="close"] .news-more-icon::after { transform: rotate(0); }
.news-detail {
  margin: 0 0 20px;
  padding: clamp(16px, 3vw, 30px);
  background: var(--news-detail-bg);
  color: var(--news-detail-text);
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
  letter-spacing: var(--letter-spacing-body);
}
.news-detail p {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

/* MORE / 件数・プログレスバー：角丸なしの細枠ボタン */
.news-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  margin-top: clamp(24px, 4vw, 48px);
}
.news-count {
  margin: 0;
  color: var(--news-date-color);
  font-family: var(--font-caption);
  font-size: var(--font-size-caption);
  font-variant-numeric: tabular-nums;
  line-height: var(--line-height-ui);
}
.news-progress {
  display: block;
  appearance: none;
  -webkit-appearance: none;
  width: var(--news-progress-width);
  height: var(--news-progress-height);
  border: 0;
  border-radius: 0;
  background: var(--news-progress-track);
  color: var(--news-progress-fill);
}
.news-progress::-webkit-progress-bar { background: var(--news-progress-track); }
.news-progress::-webkit-progress-value { background: var(--news-progress-fill); }
.news-progress::-moz-progress-bar { background: var(--news-progress-fill); }
.news-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: var(--news-more-width);
  max-width: 100%;
  min-height: var(--news-more-height);
  padding: 12px 20px;
  background: var(--news-more-bg);
  color: var(--news-more-text);
  border: var(--border-width-ui) solid var(--news-more-border);
  border-radius: 0;
  cursor: pointer;
  font-family: var(--font-navigation);
  font-size: var(--font-size-button);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-ui);
  letter-spacing: var(--news-more-letter-spacing);
  transition: background-color var(--motion-ui) var(--ease-ui);
}
.news-more-icon {
  display: grid;
  place-items: center;
  position: relative;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  color: var(--news-accent);
}
/* JSで非表示にした要素がdisplay指定で復活しないようにする */
.news-item[hidden],
.news-controls[hidden],
.news-progress[hidden],
.news-more[hidden] { display: none; }
/* 件数非表示でも支援技術への更新通知を残す */
.news-count.is-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@media (hover: hover) and (pointer: fine) {
  .news-summary:hover { background-color: var(--news-hover-bg); }
  .news-more:hover { background-color: var(--news-more-hover-bg); }
}
@media (max-width: 768px) {
  .news-summary {
    grid-template-columns: max-content minmax(0, 1fr) var(--news-toggle-size);
    gap: 8px 12px;
  }
  .news-date { grid-area: 1 / 1; }
  .news-category { grid-area: 1 / 2; justify-self: start; }
  .news-category[hidden] { display: none; }
  .news-title { grid-area: 2 / 1 / 3 / 3; }
  .news-toggle { grid-area: 1 / 3 / 3 / 4; }
}

/* 空のNEWSを非表示にする場合のフォールバック */
.news[hidden],
a[href="#news"][hidden] { display: none; }

/* === 3-page reusable extension / Architectural Aqua === */
:root{--brand-color:#14bbc3;--aqua-glacier:#58c6d0;--gold-deep:#80663c;--text-heading:#34454e;--footer-photo-position:center center;--sub-hero-height:360px;--hero-shade-pc:98%,94%,88%,60%,20%,0%;--hero-shade-mobile:96%,90%,84%;--hero-shade-pc-bottom:0%;--hero-shade-mobile-bottom:0%;}
.site-header{color:var(--text-heading);background:rgba(255,255,255,.95);border-bottom:1px solid rgba(184,160,120,.3)}
.site-header.is-scrolled{background:rgba(255,255,255,.97);box-shadow:0 3px 16px #45545e12}
.site-header :focus-visible,.hero :focus-visible{outline-color:var(--color-primary)}
.brand-rule{background:var(--color-accent)} .brand-mark::before{display:none} .brand-mark img{width:56px;height:56px} .brand-mark{flex-basis:64px;width:64px}
.header-contact{background:var(--color-button-bg);color:white} .desktop-nav a::after{background:var(--color-accent)} .desktop-nav a[aria-current=page]::after{right:0}
.hero{background:#f3f5f6;color:var(--text-heading)} .hero-photo{background-position:center center;transform:none}
.hero-shade{background:linear-gradient(90deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.94) 29%,rgba(255,255,255,.88) 44%,rgba(255,255,255,.60) 57%,rgba(255,255,255,.20) 69%,rgba(255,255,255,0) 92%)}
.hero-eyebrow{color:var(--color-primary)} .hero-title{filter:none;letter-spacing:.015em;font-size:clamp(1.8rem,4vw,3.75rem)} .hero-title span{color:var(--color-primary)} .hero-lead{text-shadow:none;max-width:39rem;color:var(--text-body)}
.hero .button-outline{color:var(--color-primary);border-color:var(--color-button-outline-border);background:#ffffffb8}.hero .button-outline:hover{background:#ddeDF0}
html.js-enabled .hero .reveal{opacity:1;transform:none;animation:none;transition:none}
.services{background:var(--bg-secondary);color:var(--text-heading)} .services .section-heading h2,.services .section-kicker,.services-note{color:var(--text-heading)} .services .service-description{color:var(--text-body)} .service-card-shade{background:linear-gradient(0deg,#173b40e8,transparent 85%)} .service-card .service-title,.service-card .service-arrow{color:#fff} .services :focus-visible{outline-color:var(--color-primary)}
.message-en{color:var(--gold-deep)} .message-sign{color:var(--text-heading)} .section-kicker{color:var(--gold-deep)}
.about-content p{max-width:55ch}.text-link{display:inline-block;color:var(--color-primary);font-weight:600;text-decoration:underline;text-underline-offset:.25em;margin-top:12px}
.section-actions{display:flex;justify-content:center;margin-top:30px}
.works,.service-detail,.scope,.fees{padding:var(--section-padding) 0;background:var(--bg-primary)} .works{background:var(--bg-tertiary)} .works-lead{margin:0 0 24px;color:var(--text-body)}
.works-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.work-card{border:1px solid var(--border-color);background:white;box-shadow:var(--shadow-card)}.work-card img{width:100%;aspect-ratio:8/5;object-fit:cover;height:auto}.work-copy{padding:clamp(18px,3vw,32px)}.work-copy h3{font-size:var(--font-size-subheading);margin:8px 0;color:var(--text-heading)}.work-label{font-size:.82rem;color:var(--text-muted)}
.sub-hero{min-height:var(--sub-hero-height);padding:calc(var(--header-height) + 40px) 0 40px;background:linear-gradient(90deg,#f3f5f6f9 0%,#ddeDF0dc 52%,#ffffff80 100%),url("assets/hero.webp") center/cover no-repeat;color:var(--text-heading)}.sub-hero h1{font-size:clamp(2rem,4vw,3.5rem);line-height:1.4;margin:0}.sub-hero p{margin-bottom:0}.breadcrumbs{font-size:.85rem;margin-bottom:24px}.breadcrumbs a{text-decoration:underline;text-underline-offset:3px}
.detail-list{display:grid;gap:30px}.detail-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:clamp(20px,4vw,56px);border:1px solid var(--border-color);padding:clamp(16px,3vw,34px);align-items:center;scroll-margin-top:20px}.detail-card img{width:100%;height:auto;object-fit:cover;aspect-ratio:16/11}.detail-card h3{font-size:var(--font-size-subheading);margin:0;color:var(--text-heading)}.fee-label,.fee-heading{color:var(--color-primary);font-weight:700}.fee-heading{font-size:clamp(1.5rem,3vw,2.4rem)}.scope{background:var(--bg-tertiary)}.scope-list{padding-left:1.4em;max-width:70ch}.scope-list li{margin-bottom:.7em}.office-list{display:grid;grid-template-columns:minmax(95px,1fr) 3fr;gap:12px;max-width:760px}.office-list dt{font-weight:600}.office-list dd{margin:0;overflow-wrap:anywhere}.office-list a{margin:0}.fees{text-align:center;background:var(--bg-secondary)}.fees .gold-line{margin-inline:auto}.fees p{margin-inline:auto;max-width:60ch}
.footer-main{grid-template-areas:"office menu contact"}.site-footer{--text-inverse:#fff}.footer-brand small{color:#fff}.footer-copyright{color:#fff}.contact-button[aria-disabled=true]{cursor:default;opacity:1;background:#e8eff0;color:#45545e;border-color:var(--ui-gold-border);box-shadow:none}
@media(max-width:768px){.hero-photo{background-position:65% center}.hero-shade{background:linear-gradient(90deg,rgba(255,255,255,.96) 0%,rgba(255,255,255,.90) 48%,rgba(255,255,255,.84) 100%)}.hero-title{font-size:clamp(1.7rem,6vw,2.5rem)}.works-grid,.detail-card{grid-template-columns:1fr}.works,.service-detail,.scope,.fees{padding:58px 0}.sub-hero{min-height:310px}.site-header.menu-open{color:#fff}.site-header.menu-open .menu-button{color:#fff}.footer-main{grid-template-areas:"office" "menu" "contact"}.about-content{max-width:var(--container-width)}}
/* Light-header menu contrast: retain original circular opening animation. */
@media(max-width:920px){.site-header:not(.menu-open) .menu-button{color:#08777d;background:#ddeDF0;border-color:#b8a078}.site-header.menu-open .brand-name,.site-header.menu-open .brand-name strong,.site-header.menu-open .brand-name small{color:#fff}.site-header.menu-open .menu-button{color:#fff}}
