:root {
  --bg: #f2f5f8;
  --section-soft-bg: linear-gradient(180deg, #f7fcfb 0%, #f2f8f6 100%);
  --section-soft-bg-accent: radial-gradient(120% 70% at 50% 100%, rgba(170, 222, 218, 0.16) 0%, rgba(170, 222, 218, 0) 58%);
  --surface: #ffffff;
  --line: #d7e0e9;
  --text: #14283d;
  --muted: #5d7188;
  --blue: #1a63a9;
  --teal: #39c2bf;
  --teal-soft: #e8f8f7;
  --deep: #24384d;
  --mint: #43b895;
  --lav: #7c72d0;
  --yellow: #e4b44d;
  --btn-cta-gradient: linear-gradient(90deg, #1db7a1 0%, #0cb4c1 100%);
  --btn-cta-border: 1px solid rgba(255, 255, 255, 0.75);
  --btn-cta-shadow: 0 10px 28px rgba(13, 160, 150, 0.38);
  --btn-cta-shadow-hover: 0 14px 34px rgba(13, 160, 150, 0.45);
  /* CTAと共通の薄いグラスモーフィズム（カード全般） */
  --glass-bg: rgba(255, 255, 255, 0.38);
  --glass-bg-fallback: rgba(255, 255, 255, 0.88);
  --glass-border: 1px solid rgba(255, 255, 255, 0.55);
  --glass-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 12px 40px rgba(20, 45, 60, 0.06);
  --glass-blur: blur(12px) saturate(140%);
  /* モバイル展開ナビ: 親ヘッダーの blur と干渉しにくいよう強め＋視認性用 */
  --glass-nav-blur: blur(32px) saturate(175%);
  --glass-nav-tint: rgba(248, 252, 253, 0.58);
  --glass-radius: clamp(16px, 2.5vw, 24px);
  /* タイポ: 使うファミリーはすべて Web フォントで読み込み、スタックは「その名 + 汎用ファミリーのみ」（OS バンドル名を挟まない） */
  --font-sans: "Noto Sans JP", sans-serif;
  --font-accent: "Yomogi", sans-serif;
  /* 欧文 UI（ティッカー等）。追加する場合は index.html の Google Fonts link に同ファミリーを足す */
  --font-latin: "Plus Jakarta Sans", sans-serif;
  --font-heading-color: #17324b;
  --font-heading-leading: 1.45;
  --font-body-leading-tight: 1.75;
  /* Miraiでできることセクション基調の背景（以降のパララックス帯で共用） */
  --bg-parallax-mirai-1: radial-gradient(ellipse 42% 70% at 0% 45%, rgba(120, 200, 175, 0.48) 0%, rgba(120, 200, 175, 0) 72%);
  --bg-parallax-mirai-2: radial-gradient(ellipse 42% 70% at 100% 45%, rgba(120, 200, 175, 0.48) 0%, rgba(120, 200, 175, 0) 72%);
  --bg-parallax-mirai-base: var(--section-soft-bg);
  /* About 用: ティール〜ミント（縦方向の主グラデ） */
  --about-section-bg:
    radial-gradient(120% 88% at 50% 0%, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0) 48%),
    radial-gradient(95% 60% at 100% 100%, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 55%),
    linear-gradient(180deg, #7ad8cc 0%, #5ec9ba 38%, #4bb8a8 72%, #42ae9f 100%);
  /* SKILL UP の斜め clip 裏に SUPPORT/FLOW の白を重ねる量（#skills の余白 clamp と同系） */
  --skill-slant-white-overlap: clamp(40px, 10vw, 180px);
  /* ヘッダー fixed 時のオフセット（ビューポート上端〜本文開始） */
  --site-header-h: 76px;
  /* 共通インタラクション（末尾の prefers-reduced-motion で duration を潰す） */
  --motion-ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --motion-duration-soft: 0.42s;
  --motion-duration-tap: 0.26s;
  --ui-soft-dur: 0.62s;
  --ui-soft-ease: cubic-bezier(0.22, 1, 0.36, 1);
  /* スクロール入場（下からふわっと）。prefers-reduced-motion で無効化 */
  --reveal-enter-dur: 1.18s;
  --reveal-enter-y: 9px;
  --reveal-scale-from: 0.987;
  /* 終端だけゆっくり抜ける（キーワードの ease-out で単調に） */
  --reveal-ease: ease-out;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding-top: var(--site-header-h);
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: var(--font-body-leading-tight);
}

/**
 * ミント帯: header 直下 .services-mint-layer（viewport 固定）。#services / #partners / #overview は透過で共有。
 * 3D シーケンスは .services-3d-fixed の canvas（public/frames/seedance2_Video_20260510_014538/）。PARTNERS・OVERVIEW でも同レイヤーを透過背景越しに表示。
 * #skills は About 同色の独立背景。
 */

/* Miraiでできること用: sticky では fixed 背景が効かないため body 直下でビューポート固定 */
.services-mint-layer {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--site-header-h);
  bottom: 0;
  z-index: 0;
  pointer-events: none;
  background-color: transparent;
  background-image: var(--bg-parallax-mirai-1), var(--bg-parallax-mirai-2), var(--bg-parallax-mirai-base);
  background-position: 0% 42%, 100% 42%, 50% 0%;
  background-size: min(95vw, 1400px) min(120vh, 1700px), min(95vw, 1400px) min(120vh, 1700px), 100% 100%;
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-attachment: scroll, scroll, scroll;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.42s ease, visibility 0.42s ease;
}

.services-mint-layer.is-active {
  opacity: 1;
  visibility: visible;
}

@media (min-width: 768px) {
  .services-mint-layer.is-active {
    background-attachment: fixed, fixed, fixed;
  }
}

@media (prefers-reduced-motion: reduce) {
  .services-mint-layer.is-active {
    background-attachment: scroll, scroll, scroll;
  }
}

/* Miraiでできること用 3D（canvas フレーム列）: viewport 固定 */
.services-3d-fixed {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--site-header-h);
  bottom: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.services-3d-fixed.is-active {
  opacity: 1;
  visibility: visible;
}

.services-3d-fixed .services-sequence__canvas {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.services-3d-fixed.is-services-sequence-ready .services-sequence__canvas {
  opacity: 1;
}

/* #services（z-index:1）より下に置き、透過背景越しに映る（sticky+isolate 内の fixed は避ける） */
.services-sequence-scene > .services-3d-fixed {
  z-index: 0;
}

@media (prefers-reduced-motion: reduce) {
  .services-3d-fixed {
    display: none;
  }
}

main {
  position: relative;
  z-index: 2;
}

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

.container,
.content-wrapper,
.section-inner {
  max-width: 1200px;
  width: calc(100% - 200px);
  margin: 0 auto;
}

/* セクション間の縦余白（読みやすいリズム。上下非対称で隣接セクションの「すき」が詰まりすぎないように） */
.section-space { padding: 96px 0 80px; }

#about, #services, #skills, #flow, #work-transition, #faq, #instagram, #overview, #contact, #partners { scroll-margin-top: calc(var(--site-header-h) + 10px); }

.section__kicker {
  margin: 0 0 12px;
  font-family: var(--font-sans);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7389a2;
  font-weight: 700;
}

.section__title {
  margin: 0 0 20px;
  font-family: var(--font-sans);
  font-size: clamp(2.2rem, 3.5vw, 3.9rem);
  font-weight: 700;
  line-height: var(--font-heading-leading);
  letter-spacing: 0.02em;
  color: var(--font-heading-color);
}

.section__title::after {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  margin-top: 12px;
  background: #90a6bc;
}

.section__desc {
  font-family: var(--font-sans);
  color: var(--muted);
  font-size: 0.86rem;
  line-height: var(--font-body-leading-tight);
  font-weight: 400;
}

.card h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.card {
  border: var(--glass-border);
  border-radius: var(--glass-radius);
  background: var(--glass-bg);
  padding: 24px;
  box-shadow: var(--glass-shadow);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  isolation: isolate;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 2px;
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: none;
  font-weight: 700;
}

.btn--primary { background: var(--blue); color: #fff; }
.btn--line {
  background: #fff;
  border-color: var(--line);
  transition:
    background-color var(--motion-duration-tap) var(--motion-ease-soft),
    color var(--motion-duration-tap) var(--motion-ease-soft),
    border-color var(--motion-duration-tap) var(--motion-ease-soft),
    box-shadow var(--motion-duration-soft) var(--motion-ease-soft),
    transform var(--motion-duration-soft) var(--motion-ease-soft);
}

.btn--line:hover {
  background: var(--btn-cta-gradient);
  border: var(--btn-cta-border);
  color: #fff;
  box-shadow: var(--btn-cta-shadow);
}

.btn--line:focus-visible {
  background: var(--btn-cta-gradient);
  border: var(--btn-cta-border);
  color: #fff;
  box-shadow: var(--btn-cta-shadow);
  outline: 2px solid #17324b;
  outline-offset: 3px;
}

/* Header（全幅・常にビューポート上端固定。本文は body の padding-top で下げる） */
.site-header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  z-index: 100;
  font-family: var(--font-sans);
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 26px rgba(16, 40, 64, 0.12);
}

.site-header__inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 20px;
  background: transparent;
}

.site-header__brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(3px, 0.45vw, 6px);
  flex-shrink: 1;
  min-width: 0;
  max-width: min(100%, 560px);
  text-decoration: none;
  color: inherit;
}

.site-header__brand-image {
  display: block;
  width: auto;
  height: 34px;
  max-width: 200px;
  object-fit: contain;
  flex-shrink: 0;
}

.site-header__tagline {
  margin: 0;
  max-width: 100%;
  font-size: 0.58rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.1em;
  color: #4b6078;
  text-align: left;
  display: block;
}

.site-header__nav {
  margin-left: auto;
  display: flex;
  gap: 24px;
  font-size: 0.72rem;
  letter-spacing: 0.11em;
  text-transform: none;
}

/* PC: ラッパーを無視してリンクだけを nav の flex 子にする */
.site-header__nav-backdrop {
  display: none;
}

.site-header__nav-scroll {
  display: contents;
}

/* PC グローバルナビ: ホバーは緑の光彩のみ（背景ボックスなし） */
@media (min-width: 1400px) {
  .site-header__nav-scroll a {
    color: #4b6078;
    text-decoration: none;
    padding: 6px 4px;
    transition:
      color var(--motion-duration-tap) var(--motion-ease-soft),
      text-shadow var(--motion-duration-tap) var(--motion-ease-soft);
  }

  .site-header__nav-scroll a:hover {
    color: var(--mint);
    text-shadow:
      0 0 6px rgba(57, 194, 191, 0.55),
      0 0 14px rgba(29, 183, 161, 0.4),
      0 0 22px rgba(67, 184, 149, 0.28);
  }

  .site-header__nav-scroll a:focus-visible {
    color: var(--deep);
    outline: 2px solid rgba(57, 194, 191, 0.55);
    outline-offset: 2px;
    text-shadow: none;
  }

  .site-header__nav-details {
    position: relative;
  }

  .site-header__nav-details-sum {
    list-style: none;
    cursor: pointer;
    color: #4b6078;
    text-decoration: none;
    padding: 6px 4px;
    font: inherit;
    letter-spacing: inherit;
    text-transform: none;
    transition:
      color var(--motion-duration-tap) var(--motion-ease-soft),
      text-shadow var(--motion-duration-tap) var(--motion-ease-soft);
  }

  .site-header__nav-details-sum::-webkit-details-marker {
    display: none;
  }

  .site-header__nav-details-sum:hover {
    color: var(--mint);
    text-shadow:
      0 0 6px rgba(57, 194, 191, 0.55),
      0 0 14px rgba(29, 183, 161, 0.4),
      0 0 22px rgba(67, 184, 149, 0.28);
  }

  .site-header__nav-details-sum:focus-visible {
    color: var(--deep);
    outline: 2px solid rgba(57, 194, 191, 0.55);
    outline-offset: 2px;
    text-shadow: none;
  }

  .site-header__nav-details-panel {
    position: absolute;
    left: 0;
    top: calc(100% + 4px);
    z-index: 200;
    min-width: 240px;
    padding: 6px 0;
    border-radius: var(--glass-radius);
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(215, 224, 233, 0.85);
    box-shadow: 0 14px 36px rgba(20, 45, 60, 0.12);
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .site-header__nav-details-panel a {
    display: block;
    padding: 10px 14px;
    color: var(--font-heading-color);
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    transition: background-color var(--motion-duration-tap) var(--motion-ease-soft), color var(--motion-duration-tap) var(--motion-ease-soft);
  }

  .site-header__nav-details-panel a:hover {
    background: rgba(57, 194, 191, 0.08);
    color: var(--mint);
  }

  .site-header__nav-details-panel a:focus-visible {
    outline: 2px solid rgba(57, 194, 191, 0.55);
    outline-offset: -2px;
  }

  .site-header__nav-details:not([open]) .site-header__nav-details-panel {
    display: none;
  }

  .site-header__nav-details[open] .site-header__nav-details-panel {
    display: flex;
  }
}

.site-header__actions {
  display: flex;
  align-items: center;
  margin-left: 18px;
  gap: 22px;
}

.site-header__contact {
  min-height: 76px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: #fff;
  background: var(--btn-cta-gradient);
  border: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35), 0 6px 20px rgba(13, 160, 150, 0.28);
  transition:
    filter var(--motion-duration-tap) var(--motion-ease-soft),
    box-shadow var(--motion-duration-soft) var(--motion-ease-soft),
    transform var(--motion-duration-soft) var(--motion-ease-soft);
}

.site-header__contact:hover {
  filter: brightness(1.04);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45), 0 8px 26px rgba(13, 160, 150, 0.36);
}

.site-header__contact:focus-visible {
  outline: 2px solid #17324b;
  outline-offset: -2px;
}

.site-header__insta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #4b6078;
  text-decoration: none;
  transition:
    color var(--motion-duration-tap) var(--motion-ease-soft),
    transform var(--motion-duration-soft) var(--motion-ease-soft);
}

.site-header__insta-link:hover {
  color: #2a9f99;
}

.site-header__insta-link:focus-visible {
  outline: 2px solid #17324b;
  outline-offset: 2px;
}

.site-header__menu-button {
  width: auto;
  height: auto;
  padding: 2px 0 0;
  margin: 0;
  border: 0;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: none;
  outline: none;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  color: #4b6078;
  transition: color var(--motion-duration-tap) var(--motion-ease-soft);
}

.site-header__menu-button:hover {
  color: #2a4a62;
}

.site-header__menu-button:focus-visible {
  outline: 2px solid #17324b;
  outline-offset: 3px;
}

.site-header__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 22px;
}

.site-header__hamburger-line {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  border-radius: 1px;
  transform-origin: center;
  transition:
    transform var(--motion-duration-tap) var(--motion-ease-soft),
    opacity var(--motion-duration-tap) var(--motion-ease-soft);
}

@media (prefers-reduced-motion: reduce) {
  .site-header__hamburger-line {
    transition-duration: 0.01ms;
  }
}

/* メニュー展開時: 3 本 → X（メディアクエリ外。main.js でボタンに is-open / aria-expanded を同期） */
.site-header__menu-button.is-open,
.site-header__menu-button[aria-expanded="true"] {
  overflow: visible;
}

.site-header__menu-button.is-open .site-header__hamburger,
.site-header__menu-button[aria-expanded="true"] .site-header__hamburger {
  position: relative;
  gap: 0;
  width: 22px;
  min-height: 22px;
  height: 22px;
  justify-content: center;
  overflow: visible;
}

.site-header__menu-button.is-open .site-header__hamburger-line,
.site-header__menu-button[aria-expanded="true"] .site-header__hamburger-line {
  position: absolute;
  left: 0;
  width: 100%;
  top: 50%;
  margin-top: -1px;
}

/* 修飾子 + 直接子の nth-of-type の両方（片方だけデプロイされた環境でも X になるようフォールバック） */
.site-header__menu-button.is-open .site-header__hamburger-line--top,
.site-header__menu-button[aria-expanded="true"] .site-header__hamburger-line--top,
.site-header__menu-button.is-open .site-header__hamburger > .site-header__hamburger-line:nth-of-type(1),
.site-header__menu-button[aria-expanded="true"] .site-header__hamburger > .site-header__hamburger-line:nth-of-type(1) {
  transform: rotate(45deg);
}

.site-header__menu-button.is-open .site-header__hamburger-line--mid,
.site-header__menu-button[aria-expanded="true"] .site-header__hamburger-line--mid,
.site-header__menu-button.is-open .site-header__hamburger > .site-header__hamburger-line:nth-of-type(2),
.site-header__menu-button[aria-expanded="true"] .site-header__hamburger > .site-header__hamburger-line:nth-of-type(2) {
  opacity: 0;
  transform: scaleX(0);
}

.site-header__menu-button.is-open .site-header__hamburger-line--bot,
.site-header__menu-button[aria-expanded="true"] .site-header__hamburger-line--bot,
.site-header__menu-button.is-open .site-header__hamburger > .site-header__hamburger-line:nth-of-type(3),
.site-header__menu-button[aria-expanded="true"] .site-header__hamburger > .site-header__hamburger-line:nth-of-type(3) {
  transform: rotate(-45deg);
}

.site-header__menu-label {
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: currentColor;
  line-height: 1;
}

.site-header__insta-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  color: inherit;
}

.site-header__insta-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (min-width: 1400px) {
  .site-header__menu-button {
    display: none;
  }

  .site-header__nav-cta {
    display: none;
  }
}

/* Hero */
.hero-scene {
  position: relative;
  scroll-margin-top: var(--site-header-h);
  --hero-viewport-h: calc(100vh - var(--site-header-h));
  min-height: var(--hero-viewport-h);
}

@media (prefers-reduced-motion: reduce) {
  .hero-scene {
    min-height: var(--hero-viewport-h);
  }
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--site-header-h));
  background:
    radial-gradient(circle at 14% 20%, rgba(255, 255, 255, 0.85) 0 20%, rgba(255, 255, 255, 0) 52%),
    linear-gradient(112deg, rgba(242, 252, 255, 0.96) 0%, rgba(233, 247, 255, 0.68) 34%, rgba(224, 243, 249, 0.26) 54%, rgba(255, 255, 255, 0) 100%),
    url("../images/fv-hero.png") center right/cover no-repeat;
}

.hero.hero--sequence {
  position: sticky;
  top: var(--site-header-h);
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 20%, rgba(255, 255, 255, 0.85) 0 20%, rgba(255, 255, 255, 0) 52%),
    linear-gradient(112deg, rgba(242, 252, 255, 0.96) 0%, rgba(233, 247, 255, 0.68) 34%, rgba(224, 243, 249, 0.26) 54%, rgba(255, 255, 255, 0) 100%);
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  pointer-events: none;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(248, 252, 255, 0.97) 0%, rgba(248, 252, 255, 0.92) 36%, rgba(248, 252, 255, 0.55) 52%, rgba(248, 252, 255, 0) 68%, rgba(248, 252, 255, 0) 100%);
}

.hero--sequence .hero__overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(248, 252, 255, 0.97) 0%, rgba(248, 252, 255, 0.92) 36%, rgba(248, 252, 255, 0.55) 52%, rgba(248, 252, 255, 0) 68%, rgba(248, 252, 255, 0) 100%),
    radial-gradient(circle at 14% 20%, rgba(255, 255, 255, 0.85) 0 20%, rgba(255, 255, 255, 0) 52%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - var(--site-header-h));
  display: flex;
  align-items: center;
}

.hero.hero--sequence .hero__inner {
  z-index: 2;
}

.hero__content {
  max-width: 640px;
  padding: 94px 0 94px;
  position: relative;
}

/* PC・タブレット: キャッチとボタン列を一体で中央揃え（スマホは下の max-width:767 で上書き） */
@media (min-width: 768px) {
  .hero.hero--sequence .hero__content {
    display: grid;
    justify-items: center;
    width: max-content;
    max-width: min(640px, 100%);
  }

  .hero.hero--sequence .hero__title--image {
    justify-self: center;
    width: fit-content;
    max-width: 100%;
  }

  .hero.hero--sequence .hero__actions {
    justify-content: center;
    width: 100%;
    max-width: 100%;
  }

  .hero__tel-btn .hero__tel-label--text {
    display: none;
  }

  .hero__tel-btn .hero__tel-label--num {
    display: inline;
  }
}

.hero__title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(2.8rem, 5.6vw, 5.4rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0.02em;
  color: var(--font-heading-color);
  text-shadow: 0 8px 30px rgba(255, 255, 255, 0.55);
}

.hero__title--image {
  text-shadow: none;
}

.hero__title-visual {
  position: relative;
  display: block;
  width: fit-content;
  max-width: 100%;
  overflow: visible;
}

.hero__title-image {
  display: block;
  position: relative;
  z-index: 1;
  width: clamp(260px, 42vw, 420px);
  height: auto;
}

.hero__crayon-layer {
  position: absolute;
  left: 0;
  width: 100%;
  height: 20%;
  pointer-events: none;
  z-index: 2;
  overflow: visible;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.45)) drop-shadow(0 2px 4px rgba(20, 40, 55, 0.12));
}

/* fv-catchcopy.png（約 988×449）の1行目・2行目のベースライン付近 */
.hero__crayon-layer--1 {
  top: 32%;
}

/* 2行目は PNG 最下部付近に帯を置き、線をベースライン〜下端寄りに */
.hero__crayon-layer--2 {
  top: auto;
  bottom: 0;
  height: 18%;
}

.hero__crayon-path {
  stroke: #2ea896;
}

/* ストロークの dash アニメはフィルタ bbox と相性が悪いため、マスクの横展開で左→右に見せる */
.hero__crayon-mask-reveal {
  transform: scaleX(0);
}

.hero__crayon-mask-reveal--1 {
  transform-origin: 0 14px;
}

.hero__crayon-mask-reveal--2 {
  transform-origin: 0 20px;
}

.hero__title-visual.is-crayon-active .hero__crayon-mask-reveal--1 {
  animation: heroCrayonRevealMask 1s cubic-bezier(0.25, 0.9, 0.35, 1) forwards;
}

.hero__title-visual.is-crayon-active .hero__crayon-mask-reveal--2 {
  animation: heroCrayonRevealMask 1.05s cubic-bezier(0.25, 0.9, 0.35, 1) 0.52s forwards;
}

@keyframes heroCrayonRevealMask {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__title-visual.is-crayon-active .hero__crayon-mask-reveal--1,
  .hero__title-visual.is-crayon-active .hero__crayon-mask-reveal--2 {
    transform: scaleX(1);
    animation: none;
  }
}

.u-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;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero__actions-note {
  margin: 12px 0 0;
  flex-basis: 100%;
  width: 100%;
  text-align: center;
  font-size: 0.76rem;
  line-height: 1.55;
  color: #334757;
  font-weight: 400;
}

.hero__actions .btn,
.cta__actions .btn {
  min-height: 50px;
  border-radius: 999px;
  padding: 0 28px;
  font-size: 0.75rem;
}

.hero__actions .btn--primary,
.cta__actions .btn--primary {
  background: var(--btn-cta-gradient);
  border: var(--btn-cta-border);
  color: #fff;
  font-weight: 700;
  box-shadow: var(--btn-cta-shadow);
  transition:
    transform var(--motion-duration-soft) var(--motion-ease-soft),
    box-shadow var(--motion-duration-soft) var(--motion-ease-soft);
}

.hero__actions .btn--primary.hero__form-btn,
.cta__actions .btn--primary.hero__form-btn {
  gap: 12px;
  padding: 0 24px 0 16px;
}

.hero__form-icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-left: -2px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transition:
    background var(--motion-duration-tap) var(--motion-ease-soft),
    box-shadow var(--motion-duration-soft) var(--motion-ease-soft);
}

.hero__form-icon svg {
  display: block;
}

.hero__actions .btn--primary.hero__form-btn:hover .hero__form-icon,
.cta__actions .btn--primary.hero__form-btn:hover .hero__form-icon {
  background: rgba(255, 255, 255, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

.hero__actions .btn--primary:hover,
.cta__actions .btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--btn-cta-shadow-hover);
}

.hero__actions .btn--primary:focus-visible,
.cta__actions .btn--primary:focus-visible {
  outline: 2px solid #17324b;
  outline-offset: 3px;
}

/* FV・CTA 電話ボタン（他セクションの .btn--line とは別トーン） */
.hero__actions .hero__tel-btn,
.cta__actions .hero__tel-btn {
  gap: 12px;
  padding: 0 24px 0 16px;
  border: 1px solid rgba(57, 194, 191, 0.45);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(241, 251, 249, 0.95) 100%);
  color: var(--font-heading-color);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 6px 22px rgba(16, 72, 68, 0.07);
  text-decoration: none;
  transition:
    border-color var(--motion-duration-tap) var(--motion-ease-soft),
    box-shadow var(--motion-duration-soft) var(--motion-ease-soft),
    color var(--motion-duration-tap) var(--motion-ease-soft),
    transform var(--motion-duration-soft) var(--motion-ease-soft),
    background var(--motion-duration-tap) var(--motion-ease-soft);
}

.hero__actions .hero__tel-btn:hover,
.cta__actions .hero__tel-btn:hover {
  border-color: rgba(29, 183, 161, 0.75);
  background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(228, 248, 245, 0.98) 100%);
  color: #0a5c55;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 10px 30px rgba(13, 160, 150, 0.2);
  transform: translateY(-1px);
}

.hero__actions .hero__tel-btn:focus-visible,
.cta__actions .hero__tel-btn:focus-visible {
  outline: 2px solid rgba(57, 194, 191, 0.75);
  outline-offset: 3px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(241, 251, 249, 0.95) 100%);
  border: 1px solid rgba(57, 194, 191, 0.55);
  color: var(--font-heading-color);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 6px 22px rgba(16, 72, 68, 0.07);
}

.hero__actions .hero__tel-btn:focus-visible .hero__tel-icon,
.cta__actions .hero__tel-btn:focus-visible .hero__tel-icon {
  color: #148a7f;
  background: linear-gradient(145deg, rgba(57, 194, 191, 0.26) 0%, rgba(29, 183, 161, 0.14) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.hero__tel-icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-left: -2px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(57, 194, 191, 0.26) 0%, rgba(29, 183, 161, 0.14) 100%);
  color: #148a7f;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
  transition: background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}

.hero__tel-icon svg {
  display: block;
}

.hero__actions .hero__tel-btn:hover .hero__tel-icon,
.cta__actions .hero__tel-btn:hover .hero__tel-icon {
  color: #fff;
  background: linear-gradient(145deg, #3bc9b8 0%, #1db7a1 52%, #17a89a 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 4px 14px rgba(13, 160, 150, 0.35);
}

.hero__actions .hero__tel-btn .hero__tel-label--num,
.cta__actions .hero__tel-btn .hero__tel-label--num {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
}

.hero__actions .hero__tel-btn .hero__tel-label--text,
.cta__actions .hero__tel-btn .hero__tel-label--text {
  letter-spacing: 0.1em;
}

/* 主要CTA：控えめな発光パルス（CVR向け・ホバー時は停止して既存トランジションを優先） */
@media (prefers-reduced-motion: no-preference) {
  @keyframes btn-cta-glow-pulse {
    0%,
    100% {
      box-shadow: var(--btn-cta-shadow);
    }

    50% {
      box-shadow: var(--btn-cta-shadow), 0 0 22px rgba(13, 160, 150, 0.42), 0 0 44px rgba(29, 183, 161, 0.18);
    }
  }

  @keyframes site-header-contact-glow {
    0%,
    100% {
      box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35), 0 6px 20px rgba(13, 160, 150, 0.28);
    }

    50% {
      box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.45),
        0 6px 22px rgba(13, 160, 150, 0.32),
        0 0 26px rgba(13, 160, 150, 0.38),
        0 0 42px rgba(29, 183, 161, 0.2);
    }
  }

  @keyframes hero-tel-glow-pulse {
    0%,
    100% {
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.88),
        0 6px 22px rgba(16, 72, 68, 0.07);
    }

    50% {
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.88),
        0 6px 22px rgba(16, 72, 68, 0.07),
        0 0 0 1px rgba(57, 194, 191, 0.32),
        0 0 20px rgba(57, 194, 191, 0.28);
    }
  }

  @keyframes cta-line-link-glow {
    0%,
    100% {
      box-shadow: none;
    }

    50% {
      box-shadow: 0 0 18px rgba(57, 194, 191, 0.22), 0 0 32px rgba(29, 183, 161, 0.1);
    }
  }

  .hero__actions .btn--primary.hero__form-btn,
  .cta__actions .btn--primary.hero__form-btn,
  .page-sub.page-contact .contact-form__actions .btn--primary.hero__form-btn {
    animation: btn-cta-glow-pulse 2.8s ease-in-out infinite;
  }

  .hero__actions .btn--primary.hero__form-btn:hover,
  .hero__actions .btn--primary.hero__form-btn:focus-visible,
  .cta__actions .btn--primary.hero__form-btn:hover,
  .cta__actions .btn--primary.hero__form-btn:focus-visible,
  .page-sub.page-contact .contact-form__actions .btn--primary.hero__form-btn:hover,
  .page-sub.page-contact .contact-form__actions .btn--primary.hero__form-btn:focus-visible {
    animation: none;
  }

  .site-header__contact {
    animation: site-header-contact-glow 2.8s ease-in-out infinite;
  }

  .site-header__contact:hover,
  .site-header__contact:focus-visible {
    animation: none;
  }

  .hero__actions .hero__tel-btn,
  .cta__actions .hero__tel-btn {
    animation: hero-tel-glow-pulse 3s ease-in-out infinite;
  }

  .hero__actions .hero__tel-btn:hover,
  .hero__actions .hero__tel-btn:focus-visible,
  .cta__actions .hero__tel-btn:hover,
  .cta__actions .hero__tel-btn:focus-visible {
    animation: none;
  }

  .access__gmap-btn.btn {
    animation: cta-line-link-glow 3.2s ease-in-out infinite;
  }

  .access__gmap-btn.btn:hover,
  .access__gmap-btn.btn:focus-visible {
    animation: none;
  }

  .services__cta-link.btn.btn--line,
  .skill__cta-link.btn.btn--line,
  .flow__cta-link.btn.btn--line,
  .partners__cta-link.btn.btn--line,
  .access__cta-link.btn.btn--line,
  .instagram-feed__follow.btn.btn--line {
    animation: cta-line-link-glow 3.4s ease-in-out infinite;
  }

  .services__cta-link.btn.btn--line:hover,
  .services__cta-link.btn.btn--line:focus-visible,
  .skill__cta-link.btn.btn--line:hover,
  .skill__cta-link.btn.btn--line:focus-visible,
  .flow__cta-link.btn.btn--line:hover,
  .flow__cta-link.btn.btn--line:focus-visible,
  .partners__cta-link.btn.btn--line:hover,
  .partners__cta-link.btn.btn--line:focus-visible,
  .access__cta-link.btn.btn--line:hover,
  .access__cta-link.btn.btn--line:focus-visible,
  .instagram-feed__follow.btn.btn--line:hover,
  .instagram-feed__follow.btn.btn--line:focus-visible {
    animation: none;
  }
}

.hero__audience {
  margin-top: 30px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero__audience a {
  border: 1px solid #c6d8e9;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  padding: 10px 14px;
  font-size: 0.67rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__word {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  right: 0;
  bottom: 14px;
  margin: 0;
  font-size: clamp(4.2rem, 8.4vw, 8.6rem);
  line-height: 0.9;
  letter-spacing: 0.01em;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 150px;
  background: linear-gradient(180deg, rgba(242, 245, 248, 0) 0%, rgba(242, 245, 248, 1) 92%);
}

.hero.hero--sequence::after {
  z-index: 3;
  pointer-events: none;
}

/* Section backgrounds */
.concerns {
  background: linear-gradient(180deg, rgba(57, 194, 191, 0.14), rgba(57, 194, 191, 0.14)), #f8fbfe;
}

/* Miraiでできること以降: 白セクションで区切り。Instagram はグラス背景。FAQ は白。事業所概要は緑系ソフト背景 */
.support,
.flow {
  background: var(--section-soft-bg-accent), var(--section-soft-bg);
}

section.section--parallax-gap {
  position: relative;
  z-index: 2;
  background: #fff;
}

/* SUPPORT: 下方向へ白を伸ばし clip で透ける三角を --bg で埋めない */
.support.section--parallax-gap.section-space {
  margin-bottom: calc(-1 * var(--skill-slant-white-overlap));
  padding-bottom: calc(80px + var(--skill-slant-white-overlap));
}

/* FLOW: 上方向へ白を伸ばす（.flow の装飾用 ::before/::after はそのまま） */
.flow.section--parallax-gap.section-space {
  margin-top: calc(-1 * var(--skill-slant-white-overlap));
  padding-top: calc(96px + var(--skill-slant-white-overlap));
}

/* ご利用の流れ「下層」のみ: MV 直下の .flow の負 margin を無効化し、MV 高さが視覚的に欠けないようにする（TOP の FLOW は上記のまま） */
body.page-sub main > section.section.flow.section--parallax-gap.section-space {
  margin-top: 0;
  padding-top: 96px;
}

.cta {
  background: #fff;
}

/* CTAはフッター直前のため、section-space の下余白だけ詰める */
.cta.section-space {
  padding-bottom: 0;
}

/* Miraiでできること: シーンの縦長でスクロール → #services は sticky。canvas をスクロール連動 */
.services-sequence-scene {
  position: relative;
  --services-seq-viewport-h: calc(100vh - var(--site-header-h));
  --services-seq-extra: 110vh;
  min-height: calc(var(--services-seq-viewport-h) + var(--services-seq-extra));
}

.services-sequence-scene > #services.section.services.services--mirai {
  position: sticky;
  top: var(--site-header-h);
  z-index: 1;
  min-height: var(--services-seq-viewport-h);
}

@media (prefers-reduced-motion: reduce) {
  .services-sequence-scene {
    min-height: 0;
  }

  .services-sequence-scene > #services.section.services.services--mirai {
    position: relative;
    top: auto;
    min-height: 0;
  }
}

/* Miraiでできること: セクション本体は透過。ミントは .services-mint-layer。sticky は上記セレクタで指定 */
#services.section.services.services--mirai {
  overflow: visible;
  isolation: isolate;
  background: none;
  background-color: transparent;
}

/* PARTNERS: 透過は TOP のみ（3D / ミント帯と共有）。下層の PARTNERS ハブは白背景でレイアウトを安定させる */
body:not(.page-sub) #partners.section {
  background-color: transparent;
  background-image: none;
  background-attachment: scroll;
}

body:not(.page-sub) #partners.section .section-inner {
  position: relative;
  z-index: 1;
}

body.page-sub #partners.section.partners {
  background-color: #fff;
  background-image: none;
  background-attachment: scroll;
}

body.page-sub #partners.section.partners .section-inner {
  position: relative;
  z-index: 1;
}

/* SKILL UP: 平行四辺形 clip（5° は main.js）。緑 ::before 展開前は #fff（上下・斜め下も SUPPORT/FLOW と連続）。緑は左上原点 scale イン */
#skills.section.skill {
  position: relative;
  z-index: 3;
  isolation: isolate;
  overflow: hidden;
  transform: translateZ(0);
  background: #fff;
  clip-path: polygon(0% 0%, 100% 2%, 100% 100%, 0% 98%);
  -webkit-clip-path: polygon(0% 0%, 100% 2%, 100% 100%, 0% 98%);
}

#skills.section.skill::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--about-section-bg);
  transform-origin: 0 0;
  transform: scale(0.001);
  pointer-events: none;
}

#skills.section.skill.is-skill-bg-revealed::before {
  animation: skill-bg-from-tl 1.05s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes skill-bg-from-tl {
  from {
    transform: scale(0.001);
  }
  to {
    transform: scale(1.002);
  }
}

@media (prefers-reduced-motion: reduce) {
  #skills.section.skill.is-skill-bg-revealed::before {
    animation: none !important;
    transform: scale(1);
  }
}

#skills.section.skill .section-inner {
  position: relative;
  z-index: 1;
}

/* 斜め clip で上下が欠ける分の縦余白 */
#skills.section.skill.section-space {
  padding-top: calc(84px + clamp(40px, 10vw, 180px));
  padding-bottom: calc(68px + clamp(40px, 10vw, 180px));
}

/* よくある質問: 背景白（パララックス帯なし） */
#faq.section {
  background-color: #fff;
  background-image: none;
  background-attachment: scroll;
}

/* Instagram: セクション背景をグラス（section--parallax-gap の白を上書き） */
#instagram.section.instagram-feed.section--parallax-gap,
#instagram.section.instagram-feed {
  background: var(--glass-bg);
  background-image: none;
  background-attachment: scroll;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

/* FAQ: 固定 3D レイヤーが帯域判定の余裕で重なるのを防ぐ（前面＋白を維持） */
#faq.section {
  position: relative;
  z-index: 3;
}

/* FAQ の直後は CTA。section-space の上＋下で二重になるため CTA 側の上余白のみ詰める（FAQ の下余白は維持） */
#contact.section.cta.section-space {
  padding-top: 0;
}

/* OVERVIEW: 背景透過。section--parallax-gap の白を明示的に打ち消し（3D を背後に） */
#overview.section.access {
  background-color: transparent;
  background-image: none;
  background-attachment: scroll;
}

#overview.section.access.section--parallax-gap {
  background-color: transparent;
  background-image: none;
}

#overview.section.access .section-inner {
  position: relative;
  z-index: 1;
}

/* overflow:hidden は sticky と同じ要素に付くと position:sticky が効かず 3D 装飾ごと流れる */
.about {
  position: relative;
  z-index: 2;
  overflow: visible;
}

/* About */
.about__copy { margin: 0 0 10px; font-weight: 700; color: #324d68; }
.about__lead { margin: 0; color: var(--muted); }
.about__grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.about__grid .card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}
.about__grid .card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

/* Common grids */
.concerns__grid,
.skill__grid,
.flow__grid,
.partners__grid,
.faq__grid {
  display: grid;
  gap: 14px;
}

.concerns__grid {
  margin: 0;
  padding: 0;
  list-style: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.concerns__grid li,
.support__steps li {
  border: var(--glass-border);
  border-radius: var(--glass-radius);
  background: var(--glass-bg);
  box-shadow: var(--glass-shadow);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  isolation: isolate;
}

.concerns__grid li { padding: 11px 12px; }

.skill__tags li {
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fff;
}

.support__layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 14px;
}

.support__steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.support__steps li { padding: 12px 14px; }

.skill__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.skill__tags {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.skill__tags li { padding: 8px 10px; font-size: 0.78rem; }

.flow__grid {
  margin: 0;
  padding: 0;
  list-style: none;
}

.partners__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.faq__grid { grid-template-columns: 1fr; }

.faq details.card {
  transition:
    border-color var(--motion-duration-soft) var(--motion-ease-soft),
    box-shadow var(--motion-duration-soft) var(--motion-ease-soft);
}

.faq details.card:hover,
.faq details.card:focus-within {
  border-color: rgba(57, 194, 191, 0.55);
  box-shadow:
    var(--glass-shadow),
    0 0 0 1px rgba(57, 194, 191, 0.2),
    0 12px 36px rgba(13, 160, 150, 0.12),
    0 0 44px rgba(57, 194, 191, 0.28);
}

.faq details summary {
  cursor: pointer;
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--font-heading-color);
  transition: color var(--motion-duration-tap) var(--motion-ease-soft);
}

.faq details.card:hover summary,
.faq details.card:focus-within summary {
  color: var(--teal);
}

@media (prefers-reduced-motion: reduce) {
  .faq details.card,
  .faq details summary {
    transition: none;
  }

  .faq details.card:hover,
  .faq details.card:focus-within {
    border-color: rgba(57, 194, 191, 0.45);
    box-shadow: var(--glass-shadow);
  }
}

.faq__answer {
  margin-top: 10px;
}

.faq__answer p {
  margin: 0 0 0.75em;
  font-family: var(--font-sans);
  color: var(--muted);
  font-size: 0.86rem;
  line-height: var(--font-body-leading-tight);
  font-weight: 400;
}

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

.faq__marks {
  margin: 0.4em 0 0.75em;
  padding: 0;
  list-style: none;
}

.faq__marks li {
  margin: 0.35em 0;
  font-family: var(--font-sans);
  color: var(--muted);
  font-size: 0.86rem;
  line-height: var(--font-body-leading-tight);
  font-weight: 400;
}

#instagram.section.instagram-feed.section-space {
  padding-block: clamp(36px, 4.5vw, 52px);
}

.instagram-feed__lead {
  margin: 0 0 clamp(14px, 2vw, 20px);
  max-width: 100%;
  white-space: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  color: var(--muted);
  font-size: clamp(0.88rem, 1.35vw, 0.94rem);
  line-height: var(--font-body-leading-tight);
  font-weight: 400;
}

.instagram-feed__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(6px, 1vw, 11px);
}

.instagram-feed__item {
  margin: 0;
}

.instagram-feed__link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
  border-radius: clamp(8px, 1.2vw, 12px);
}

.instagram-feed__link:focus-visible {
  outline: 2px solid rgba(57, 194, 191, 0.65);
  outline-offset: 3px;
}

.instagram-feed__figure {
  margin: 0;
  border-radius: clamp(8px, 1.2vw, 12px);
  overflow: hidden;
  aspect-ratio: 1;
  box-shadow: 0 8px 26px rgba(20, 45, 60, 0.07);
  border: 1px solid rgba(215, 224, 233, 0.85);
  background: rgba(255, 255, 255, 0.35);
  transition:
    box-shadow var(--motion-duration-soft) var(--motion-ease-soft),
    border-color var(--motion-duration-soft) var(--motion-ease-soft);
}

.instagram-feed__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--motion-duration-soft) var(--motion-ease-soft);
}

.access__layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.access__list {
  margin: 0;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 8px 12px;
}
.access__list dt { font-weight: 700; }
.access__list dd { margin: 0; color: var(--muted); }

.access__address {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.access__gmap-btn {
  margin-top: 12px;
  width: fit-content;
  max-width: 100%;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
}

@media (min-width: 1200px) {
  #overview .access__layout > article.card {
    padding: clamp(30px, 2.6vw, 42px) clamp(26px, 2.2vw, 34px) clamp(26px, 2vw, 32px);
  }

  #overview .access__list {
    row-gap: 12px;
    column-gap: 16px;
  }

  #overview .access__list dt {
    padding-top: 3px;
  }
}
.access__map {
  padding: 0;
  display: block;
}

/* 地図 iframe は親の backdrop-filter + isolation と相性が悪く描画が消えることがあるため、このカードだけぼかしを外す */
.card.access__map {
  padding: 0;
  position: relative;
  z-index: 2;
  isolation: auto;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: rgba(255, 255, 255, 0.94);
}

.access__map-inner {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 3;
  min-height: 260px;
  width: 100%;
  border-radius: inherit;
  overflow: hidden;
}

.access__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* CTA：背景画像はセクション幅100％（角丸なし）、テキストは薄いグラスモーフィズム */
.cta__shell {
  position: relative;
  width: 100%;
  overflow: hidden;
  min-height: clamp(300px, 42vw, 440px);
  isolation: isolate;
  box-shadow: 0 18px 48px rgba(20, 45, 60, 0.1);
}

/* 背景: 動画（cta_mov.mp4）＋グラデオーバーレイ。低モーション時は静止画にフォールバック */
.cta__panel-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #fff;
  background-image: none;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.cta__panel-media-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .cta__panel-media-video {
    display: none;
  }

  .cta__panel-media {
    background-image: url("../images/cta-section-bg.png");
  }
}

.cta__panel-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0.18) 0%,
    rgba(255, 255, 255, 0) 42%,
    rgba(20, 45, 60, 0.05) 100%
  );
  pointer-events: none;
}

.cta__shell-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: clamp(300px, 42vw, 440px);
  padding-block: clamp(20px, 3vw, 36px);
}

.cta__inner {
  position: relative;
  z-index: 1;
  max-width: min(520px, 100%);
  padding: clamp(26px, 4.5vw, 44px) clamp(22px, 3.5vw, 36px);
  border-radius: var(--glass-radius);
  background: var(--glass-bg);
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  isolation: isolate;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .card,
  .about-card,
  .concerns__grid li,
  .support__steps li,
  .service-card,
  .cta__inner,
  #instagram.section.instagram-feed.section--parallax-gap,
  #instagram.section.instagram-feed {
    background: var(--glass-bg-fallback);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .site-header__nav.is-open .site-header__nav-backdrop {
    background: var(--glass-bg-fallback);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

.cta .section__kicker {
  margin: 0 0 10px;
}

.cta__eyebrow-block {
  --cta-eyebrow-line-w: min(240px, 100%);
  margin: 0 0 14px;
}

.cta__eyebrow-row {
  margin: 0;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cta__eyebrow {
  margin: 0;
  font-family: var(--font-accent);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.2;
  color: #00a699;
  letter-spacing: 0.02em;
}

/* 見出し「まずは相談から。」は支給 PNG を表示。テキストはアクセシビリティ用に視覚のみ隠す */
.cta__eyebrow--text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

.cta__eyebrow-img {
  display: block;
  height: auto;
  width: var(--cta-eyebrow-line-w);
  max-width: var(--cta-eyebrow-line-w);
  flex-shrink: 0;
  object-fit: contain;
  object-position: left center;
  /* 透過PNG: blend をかけると backdrop-filter 越しに黒い縁・箱が乗るため通常合成のみ */
  mix-blend-mode: normal;
  background: none;
  vertical-align: top;
}

.cta__eyebrow-wave {
  display: block;
  width: var(--cta-eyebrow-line-w);
  height: 12px;
  margin-top: -3px;
  overflow: visible;
}

/* FV のクレヨン下線と同じ考え方: マスク内を scaleX で左→右に開く */
.cta__eyebrow-wave-reveal {
  transform: scaleX(0);
  transform-origin: 0 6px;
}

.cta__eyebrow-block.is-reveal-visible .cta__eyebrow-wave-reveal {
  animation: ctaEyebrowWaveReveal 1s cubic-bezier(0.25, 0.9, 0.35, 1) 0.18s forwards;
}

@keyframes ctaEyebrowWaveReveal {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta__eyebrow-wave-reveal {
    transform: scaleX(1);
    animation: none;
  }

  .cta__eyebrow-block.is-reveal-visible .cta__eyebrow-wave-reveal {
    animation: none;
  }
}

.cta__title {
  margin: 0 0 16px;
  font-family: var(--font-sans);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.02em;
  color: var(--font-heading-color);
}

.cta__lead {
  margin: 0 0 28px;
  font-family: var(--font-sans);
  font-size: clamp(0.84rem, 1.35vw, 0.95rem);
  line-height: var(--font-body-leading-tight);
  color: var(--font-heading-color);
  font-weight: 400;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: center;
  margin: 0 0 16px;
}

.cta__actions .btn {
  min-height: 54px;
}

.cta__tip {
  margin: 0 0 22px;
  padding: 12px 18px;
  border-radius: 12px;
  background: rgba(57, 194, 191, 0.12);
  border: 1px solid rgba(57, 194, 191, 0.32);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  line-height: 1.55;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #0a5c55;
  text-align: center;
}

.cta__note {
  margin: 22px 0 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  line-height: var(--font-body-leading-tight);
  color: var(--font-heading-color);
  font-weight: 400;
}

.cta__note-icon {
  flex-shrink: 0;
  margin-top: 1px;
}

.cta__note-text {
  display: block;
}

/* TOP: FV 通過後〜CTA 手前のみ表示するお問い合わせフロート（Lucide send 系） */
.contact-float-fab {
  position: fixed;
  z-index: 45;
  right: max(14px, env(safe-area-inset-right, 0px));
  bottom: max(18px, env(safe-area-inset-bottom, 0px));
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  text-decoration: none;
  color: inherit;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition:
    opacity var(--motion-duration-soft) var(--motion-ease-soft),
    visibility 0s linear var(--motion-duration-soft);
}

.contact-float-fab.is-visible {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transition:
    opacity var(--motion-duration-soft) var(--motion-ease-soft),
    visibility 0s linear 0s;
}

.contact-float-fab__inner {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  color: #fff;
  background: var(--btn-cta-gradient);
  border: none;
  box-shadow: var(--btn-cta-shadow);
}

.contact-float-fab__inner svg {
  display: block;
  width: 24px;
  height: 24px;
}

.contact-float-fab:focus-visible {
  outline: 2px solid rgba(23, 50, 75, 0.85);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: no-preference) {
  .contact-float-fab.is-visible .contact-float-fab__inner {
    animation: contact-float-fab-float-glow 2.85s ease-in-out infinite;
  }
}

@keyframes contact-float-fab-float-glow {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
    box-shadow:
      0 10px 28px rgba(13, 160, 150, 0.38),
      0 0 18px rgba(29, 183, 161, 0.22);
  }

  50% {
    transform: translate3d(0, -8px, 0);
    box-shadow:
      0 16px 40px rgba(13, 160, 150, 0.48),
      0 0 32px rgba(29, 183, 161, 0.42),
      0 0 52px rgba(12, 180, 193, 0.2);
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-float-fab.is-visible .contact-float-fab__inner {
    animation: none;
    box-shadow: var(--btn-cta-shadow);
  }
}

/* responsive */
@media (max-width: 1399px) {
  .site-header__brand-image {
    height: 30px;
    max-width: 180px;
  }

  .site-header__tagline {
    max-width: 100%;
    font-size: 0.54rem;
    letter-spacing: 0.09em;
  }

  .site-header__inner {
    position: relative;
    min-height: 66px;
    border: 0;
    border-radius: 0;
    margin-top: 8px;
    padding: 0 12px;
    justify-content: space-between;
  }

  .site-header__actions {
    margin-left: auto;
    flex-shrink: 0;
    gap: clamp(12px, 2.5vw, 22px);
  }

  .site-header__nav {
    display: none;
  }

  .site-header__contact {
    display: none;
  }

  .site-header__menu-button {
    display: inline-flex;
    padding: 2px 0 0;
    margin: 0;
  }

  /* 親ヘッダー側の blur と競合すると子の backdrop が効かない環境があるため、展開中はオフ */
  .site-header:has(.site-header__nav.is-open) {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(255, 255, 255, 0.78);
  }

  .site-header__nav.is-open {
    /* fixed + 子で scroll を分離: 同一要素に overflow と backdrop があると iOS/WebKit で blur が無効になりやすい */
    position: fixed;
    left: 12px;
    right: 12px;
    top: calc(env(safe-area-inset-top, 0px) + var(--site-header-h));
    z-index: 150;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    margin: 0 auto;
    max-width: min(1200px, calc(100vw - 24px));
    max-height: min(72vh, calc(100dvh - var(--site-header-h) - env(safe-area-inset-bottom, 0px) - 16px));
    border-radius: var(--glass-radius);
    background: transparent;
    border: var(--glass-border);
    box-shadow:
      var(--glass-shadow),
      0 22px 50px rgba(16, 52, 75, 0.12);
    overflow: visible;
  }

  .site-header__nav.is-open .site-header__nav-backdrop {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    background: var(--glass-nav-tint);
    backdrop-filter: var(--glass-nav-blur);
    -webkit-backdrop-filter: var(--glass-nav-blur);
    transform: translateZ(0);
    pointer-events: none;
  }

  .site-header__nav.is-open .site-header__nav-scroll {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    position: relative;
    z-index: 1;
    border-radius: inherit;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* ホバー時の左ボーダーがパネル角丸に沿うよう、先頭・末尾の左角をパネルと同じ半径に */
  .site-header__nav.is-open .site-header__nav-scroll a:first-child {
    border-top-left-radius: var(--glass-radius);
  }

  .site-header__nav.is-open .site-header__nav-scroll a:last-child {
    border-bottom-left-radius: var(--glass-radius);
  }

  .site-header__nav.is-open .site-header__nav-scroll a {
    display: flex;
    align-items: center;
    min-height: 50px;
    padding: 12px 18px 12px 15px;
    margin: 0;
    border: 0;
    border-bottom: 1px solid rgba(215, 224, 233, 0.55);
    border-left: 3px solid transparent;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--font-heading-color);
    text-decoration: none;
    transition:
      color var(--motion-duration-tap) var(--motion-ease-soft),
      text-shadow var(--motion-duration-tap) var(--motion-ease-soft),
      border-left-color var(--motion-duration-tap) var(--motion-ease-soft);
  }

  .site-header__nav.is-open .site-header__nav-scroll a:last-child {
    border-bottom: 0;
  }

  .site-header__nav.is-open .site-header__nav-scroll a:hover {
    background: transparent;
    color: var(--mint);
    border-left-color: transparent;
    text-shadow:
      0 0 6px rgba(57, 194, 191, 0.5),
      0 0 14px rgba(29, 183, 161, 0.35),
      0 0 20px rgba(67, 184, 149, 0.25);
  }

  .site-header__nav.is-open .site-header__nav-scroll a:focus-visible {
    outline: 2px solid rgba(57, 194, 191, 0.55);
    outline-offset: -2px;
  }

  .site-header__nav.is-open .site-header__nav-scroll .site-header__nav-details {
    border-bottom: 1px solid rgba(215, 224, 233, 0.55);
  }

  .site-header__nav.is-open .site-header__nav-scroll .site-header__nav-details-sum {
    display: flex;
    align-items: center;
    min-height: 50px;
    padding: 12px 18px 12px 15px;
    margin: 0;
    border: 0;
    border-left: 3px solid transparent;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--font-heading-color);
    cursor: pointer;
    list-style: none;
    width: 100%;
    text-align: left;
    background: transparent;
  }

  .site-header__nav.is-open .site-header__nav-scroll .site-header__nav-details-sum::-webkit-details-marker {
    display: none;
  }

  .site-header__nav.is-open .site-header__nav-scroll .site-header__nav-details-panel {
    position: static;
    min-width: 0;
    padding: 0 0 6px 10px;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }

  .site-header__nav.is-open .site-header__nav-scroll .site-header__nav-details-panel a {
    min-height: 44px;
    padding: 10px 18px 10px 22px;
    margin: 0;
    border: 0;
    border-bottom: 0;
    border-left: 3px solid rgba(57, 194, 191, 0.22);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--font-heading-color);
    text-decoration: none;
  }
}

@media (max-width: 1199px) {
  .container, .content-wrapper, .section-inner { width: calc(100% - 80px); }
  .section-space { padding: 80px 0 68px; }

  .about__grid,
  .skill__grid,
  .access__layout,
  .concerns__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #skills.section.skill.section-space {
    padding-top: calc(72px + clamp(36px, 9vw, 150px));
    padding-bottom: calc(58px + clamp(36px, 9vw, 150px));
  }

  .support.section--parallax-gap.section-space {
    margin-bottom: calc(-1 * var(--skill-slant-white-overlap));
    padding-bottom: calc(68px + var(--skill-slant-white-overlap));
  }

  .flow.section--parallax-gap.section-space {
    margin-top: calc(-1 * var(--skill-slant-white-overlap));
    padding-top: calc(80px + var(--skill-slant-white-overlap));
  }

  .services__cta-link {
    min-width: 0;
    width: fit-content;
    max-width: min(340px, calc(100% - 40px));
    margin-inline: auto;
  }
}

@media (max-width: 767px) {
  .site-header__inner {
    width: 100%;
    justify-content: space-between;
  }

  .site-header__actions {
    margin-left: auto;
  }

  .container, .content-wrapper, .section-inner { width: calc(100% - 40px); }
  .section-space { padding: 72px 0 60px; }

  .site-header__brand-image {
    height: 26px;
    max-width: 150px;
  }

  .site-header__brand {
    gap: 3px;
    max-width: calc(100% - 120px);
  }

  .site-header__tagline {
    font-size: 0.5rem;
    letter-spacing: 0.06em;
    line-height: 1.3;
  }

  .hero__content {
    padding: 74px 0 56px;
  }

  /* スマホFV: キャッチ・本文・ボタン上寄せ。動画すき間はフラット背景 */
  .hero.hero--sequence {
    background: #eaf2f6;
  }

  /* PC 左オーバーレイと同系の白ボカシ（本文削除に合わせて縦の伸びを短く） */
  .hero--sequence .hero__overlay {
    background:
      linear-gradient(
        180deg,
        rgba(248, 252, 255, 0.97) 0%,
        rgba(248, 252, 255, 0.9) 14%,
        rgba(248, 252, 255, 0.52) 26%,
        rgba(248, 252, 255, 0) 38%,
        rgba(248, 252, 255, 0) 80%,
        rgba(248, 252, 255, 0.16) 100%
      ),
      radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.82) 0 14%, rgba(255, 255, 255, 0) 38%);
  }

  /* FV下の別セクションへの白フェード（スマホではシェルに見えるためオフ） */
  .hero.hero--sequence::after {
    display: none;
  }

  .hero.hero--sequence .hero__inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding-top: clamp(28px, 4vh, 52px);
    min-height: calc(100vh - var(--site-header-h));
    box-sizing: border-box;
  }

  /* 縦に伸ばして、CTA ブロックを下端（ティッカー分は padding で確保）へ */
  .hero.hero--sequence .hero__content {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    padding-top: 0;
    padding-bottom: clamp(36px, 8vh, 68px);
  }

  .hero.hero--sequence .hero__actions {
    position: relative;
    z-index: 6;
    width: 100%;
    max-width: none;
    margin-top: auto;
    flex-shrink: 0;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  /* 右のスクロールインジケータと干渉しにくいよう幅をわずかに縮める */
  .hero.hero--sequence .hero__actions .btn {
    width: calc(100% - 26px);
    max-width: calc(100% - 26px);
    flex: none;
    min-height: 50px;
    font-size: 0.75rem;
    padding: 0 20px;
  }

  /* スマホのみ「電話で無料相談」表示（768px+ は上の min-width ブロックで番号表示） */
  .hero__tel-btn .hero__tel-label--num {
    display: none;
  }

  .hero__tel-btn .hero__tel-label--text {
    display: inline;
  }

  /* 1 行のまま（改行なし）。極窄のみ横スクロール */
  .hero.hero--sequence .hero__actions-note {
    margin: 0;
    flex-basis: auto;
    width: 100%;
    max-width: 100%;
    white-space: nowrap;
    font-size: clamp(0.58rem, 2.65vw, 0.7rem);
    letter-spacing: 0.02em;
    line-height: 1.35;
    text-align: center;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .hero.hero--sequence .hero__actions-note::-webkit-scrollbar {
    display: none;
  }

  .hero__title {
    font-size: clamp(2.4rem, 9vw, 3.7rem);
    line-height: 1.08;
  }

  /* FV 動画: scale+translate は左右に背景帯（シェル）が出るため使わない。右固定で幅だけ拡大し object-position で右寄せ */
  .hero.hero--sequence .hero__video {
    inset: unset;
    left: auto;
    right: 0;
    top: 0;
    bottom: 0;
    width: min(132vw, 200%);
    max-width: none;
    height: 100%;
    object-fit: cover;
    object-position: 88% 50%;
    transform: none;
  }

  .hero__actions .btn,
  .hero__audience a {
    width: 100%;
  }

  .cta__shell-inner {
    align-items: stretch;
    min-height: 0;
    padding-block: clamp(18px, 4vw, 28px);
  }

  .cta__shell {
    min-height: 0;
  }

  .cta__inner {
    max-width: none;
    width: 100%;
    padding: 28px 20px 26px;
    background: rgba(255, 255, 255, 0.5);
  }

  .card,
  .about-card,
  .concerns__grid li,
  .support__steps li,
  .service-card {
    background: rgba(255, 255, 255, 0.5);
  }

  .cta__panel-media::after {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.22) 0%,
      rgba(255, 255, 255, 0) 55%,
      rgba(20, 45, 60, 0.06) 100%
    );
  }

  .cta__actions {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
  }

  .cta__actions .btn {
    width: calc(100% - 26px);
    max-width: calc(100% - 26px);
    justify-content: center;
  }

  .cta__tip {
    width: calc(100% - 26px);
    max-width: calc(100% - 26px);
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
  }

  .about__grid,
  .concerns__grid,
  .skill__grid,
  .flow__grid,
  .partners__grid,
  .faq__grid,
  .access__layout {
    grid-template-columns: 1fr;
  }

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

  /* 見出しはフォントを潰さず、コンテンツラッパー（.section-inner）幅いっぱいに使う */
  .about .section__title.about__headline,
  .concerns .section__title.concerns__title,
  .section.support .section__title.support__section-title,
  #skills.section.skill .section__title.skill__section-title,
  body:not(.page-sub) #partners.section .section__title.partners__section-title {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .access__list { grid-template-columns: 1fr; }
  .instagram-feed__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .instagram-feed__lead {
    white-space: normal;
    overflow-x: visible;
    overflow-y: visible;
  }

  #skills.section.skill.section-space {
    padding-top: calc(64px + clamp(32px, 10vw, 140px));
    padding-bottom: calc(52px + clamp(32px, 10vw, 140px));
  }

  .support.section--parallax-gap.section-space {
    margin-bottom: calc(-1 * var(--skill-slant-white-overlap));
    padding-bottom: calc(60px + var(--skill-slant-white-overlap));
  }

  .flow.section--parallax-gap.section-space {
    margin-top: calc(-1 * var(--skill-slant-white-overlap));
    padding-top: calc(72px + var(--skill-slant-white-overlap));
  }

  /* FLOW セクション見出し（ご利用の流れ／ステップ一覧）: スマホでは共通 .section__title より一段小さく */
  .flow .flow__section-title {
    font-size: clamp(1.38rem, 4.6vw, 1.88rem);
    line-height: 1.28;
  }

  .hero__word { display: none; }
}

/* LAYOUT SHIFT: not just color */
.about__grid {
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: auto auto;
}

.about__grid .card:nth-child(1) {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  display: grid;
  align-content: center;
}

.about__grid .card:nth-child(2) { grid-column: 2 / 3; grid-row: 1 / 2; }
.about__grid .card:nth-child(3) { grid-column: 3 / 4; grid-row: 1 / 2; }
.about__grid .card:nth-child(4) { grid-column: 2 / 4; grid-row: 2 / 3; }

/* Flow（ご利用の流れ）— kicker + flow__intro（装飾）+ flow__section-title。横並び6ステップ・下層リンク */
.flow {
  position: relative;
  overflow: hidden;
}

.flow::before,
.flow::after {
  content: "";
  position: absolute;
  bottom: -18%;
  width: min(300px, 42vw);
  height: min(180px, 26vw);
  pointer-events: none;
  opacity: 0.32;
  background: radial-gradient(circle, rgba(170, 215, 195, 0.4) 0%, transparent 72%);
}

.flow::before { left: -10%; }
.flow::after { right: -10%; }

.flow .section__kicker {
  text-align: center;
}

.flow__intro {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.flow__sprig {
  display: flex;
  flex-shrink: 0;
  line-height: 0;
}

/* Lucide「leaf」（data-lucide → createIcons() で公式 SVG に置換） */
.flow__leaf-icon {
  display: block;
  width: 40px;
  height: 40px;
  color: #3d8f82;
  stroke-width: 1.35;
}

.flow__sprig--mirror .flow__leaf-icon {
  transform: scaleX(-1);
}

.flow .flow__section-title {
  margin: 0;
  text-align: center;
}

.flow .flow__section-title::after {
  margin: 14px auto 0;
  width: min(240px, 72vw);
  height: 2px;
  background: linear-gradient(90deg, transparent, #8fcdca 18%, #8fcdca 82%, transparent);
}

.flow__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(10px, 1.8vw, 20px);
  margin: 36px 0 0;
  padding: 0;
  align-items: start;
}

.flow__grid::before {
  content: "";
  position: absolute;
  left: calc(100% / 12);
  right: calc(100% / 12);
  /* アイコン76px + 列のgap14px + 番号円の中心22px */
  top: 112px;
  height: 0;
  border-top: 2px dotted rgba(110, 184, 176, 0.55);
  z-index: 0;
  pointer-events: none;
}

.flow-step {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
  gap: 14px;
}

.flow-step__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(110, 184, 176, 0.85);
  background: rgba(255, 255, 255, 0.92);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #2a9f99;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.85);
}

.flow-step__title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(0.78rem, 1.15vw, 0.9rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.45;
  color: var(--font-heading-color);
}

.flow-step__icon-wrap {
  margin: 0;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 8px 24px rgba(20, 45, 60, 0.06);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
}

.flow-step__icon {
  display: block;
  width: 40px;
  height: 40px;
  color: #5aa99e;
  stroke-width: 1.4;
}

.flow__cta,
.skill__cta,
.services__cta,
.access__cta,
.partners__cta {
  margin: 36px 0 0;
  padding: 0;
  text-align: center;
}

.instagram-feed__cta {
  margin: clamp(16px, 2.4vw, 22px) 0 0;
  padding: 0;
  text-align: center;
}

.flow__cta-link,
.partners__cta-link,
.instagram-feed__follow {
  min-width: min(240px, 100%);
  min-height: 42px;
  padding: 0 28px;
  text-transform: none;
  letter-spacing: 0.06em;
  font-size: 0.8rem;
  font-weight: 600;
  color: #2a7f7a;
  border-color: rgba(110, 184, 176, 0.75);
  background: rgba(255, 255, 255, 0.75);
}

/* SERVICES・SKILL・事業所概要: セクション下部 CTA は透過なしの白 */
.services__cta-link,
.skill__cta-link,
.access__cta-link {
  min-width: min(240px, 100%);
  min-height: 42px;
  padding: 0 28px;
  text-transform: none;
  letter-spacing: 0.06em;
  font-size: 0.8rem;
  font-weight: 600;
  color: #2a7f7a;
  border-color: rgba(110, 184, 176, 0.75);
  background: #fff;
}

.flow__cta-link:focus-visible,
.partners__cta-link:focus-visible,
.skill__cta-link:focus-visible,
.services__cta-link:focus-visible,
.access__cta-link:focus-visible,
.instagram-feed__follow:focus-visible {
  outline: 2px solid rgba(57, 194, 191, 0.65);
  outline-offset: 2px;
}

.partners__grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.partners__grid .card:nth-child(1) { grid-column: 1 / 3; }
.partners__grid .card:nth-child(2) { grid-column: 3 / 5; }
.partners__grid .card:nth-child(3) { grid-column: 5 / 7; }
.partners__grid .card:nth-child(4) { grid-column: 2 / 4; }
.partners__grid .card:nth-child(5) { grid-column: 4 / 6; }

#partners .partners__grid > a.card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

/* TOP PARTNERS: カード内レイアウト・矢印ヒント・下部 CTA は不透明白 */
#partners .partners__grid > a.partners__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px clamp(16px, 2.4vw, 22px) 20px clamp(18px, 2.6vw, 24px);
  text-align: left;
}

#partners .partners__card-text {
  flex: 1 1 auto;
  min-width: 0;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.35;
}

/* PARTNERS カード: Lucide arrow-big-right-dash（HTML内 SVG）／色はヘッダーお問い合わせ CTA と同系（--btn-cta-gradient 先端） */
#partners .partners__card-arrow {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1db7a1;
  animation: partners-arrow-shift 1.15s ease-in-out infinite;
  will-change: transform;
}

#partners .partners__card-arrow svg {
  display: block;
  width: 100%;
  height: 100%;
}

@keyframes partners-arrow-shift {
  0%,
  100% {
    transform: translateX(-4px);
  }

  50% {
    transform: translateX(4px);
  }
}

#partners .partners__grid > a.partners__card:hover .partners__card-arrow,
#partners .partners__grid > a.partners__card:focus-visible .partners__card-arrow {
  animation-duration: 0.78s;
}

#partners .partners__cta .partners__cta-link.btn.btn--line {
  background: #fff;
}

#partners .partners__cta .partners__cta-link.btn.btn--line:hover,
#partners .partners__cta .partners__cta-link.btn.btn--line:focus-visible {
  background: var(--btn-cta-gradient);
  border: var(--btn-cta-border);
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  #partners .partners__card-arrow {
    animation: none;
  }
}

@media (max-width: 1199px) {
  .about__grid,
  .partners__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }

  .about__grid .card:nth-child(1),
  .about__grid .card:nth-child(2),
  .about__grid .card:nth-child(3),
  .about__grid .card:nth-child(4),
  .partners__grid .card:nth-child(1),
  .partners__grid .card:nth-child(2),
  .partners__grid .card:nth-child(3),
  .partners__grid .card:nth-child(4),
  .partners__grid .card:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
    min-height: 0;
  }

  .flow__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px 16px;
    margin-top: 28px;
  }

  .flow__grid::before {
    display: none;
  }
}

/* FV bottom slide-in text */
.hero__word {
  display: none;
}

.hero__ticker {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  z-index: 2;
  overflow: hidden;
  /* マーキー時の右端クリップを減らす（トラックをわずかに左右へ広げる） */
  padding: 0 clamp(4px, 1.2vw, 14px);
  margin: 0 calc(-1 * clamp(4px, 1.2vw, 14px));
  width: auto;
  pointer-events: none;
  box-shadow: none;
  filter: none;
}

.hero.hero--sequence .hero__ticker {
  z-index: 4;
}

.hero__scroll-indicator {
  position: absolute;
  right: 26px;
  left: auto;
  bottom: 96px;
  z-index: 3;
  display: grid;
  gap: 12px;
  justify-items: center;
  pointer-events: none;
}

.hero.hero--sequence .hero__scroll-indicator {
  z-index: 5;
}

.hero__scroll-label {
  font-family: var(--font-latin);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.9);
  writing-mode: vertical-rl;
}

.hero__scroll-icon {
  width: 1px;
  height: 92px;
  border: 0;
  border-radius: 0;
  position: relative;
  display: inline-block;
  background: rgba(255, 255, 255, 0.45);
}

.hero__scroll-dot {
  position: absolute;
  left: 50%;
  top: 0;
  width: 3px;
  height: 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.2));
  transform: translateX(-50%);
  animation: heroScrollDot 1.6s ease-in-out infinite;
}

.hero__ticker-track {
  display: flex;
  width: fit-content;
  margin: 0;
  gap: 0;
  animation: heroTickerMarquee 36s linear infinite;
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0);
  box-shadow: none;
  filter: none;
}

.hero__ticker-seg {
  flex-shrink: 0;
  white-space: nowrap;
  font-family: var(--font-latin);
  font-size: clamp(2.2rem, 6vw, 5.8rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.86);
  text-transform: uppercase;
  box-shadow: none;
  filter: none;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
  /* ループ継ぎ目・端での字形欠けを抑える */
  padding-inline: 0.04em;
}

@keyframes heroTickerMarquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(calc(-100% / 3), 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__ticker-track {
    animation: none;
    transform: none;
  }
}

@keyframes heroScrollDot {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(0);
  }
  20% {
    opacity: 1;
  }
  75% {
    opacity: 0.95;
    transform: translateX(-50%) translateY(68px);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(72px);
  }
}

@media (max-width: 767px) {
  .hero__scroll-indicator {
    right: 12px;
    bottom: 72px;
    gap: 8px;
  }

  .hero__scroll-icon {
    height: 66px;
  }

  .hero__ticker {
    bottom: 10px;
  }

  .hero__ticker-seg {
    font-size: clamp(1.3rem, 8.6vw, 2.2rem);
  }
}

/* ABOUT（FV直下）— 明るめのミント〜ティール。下端の斜めは clip-path（main.js で計測） */
.about {
  background: var(--about-section-bg);
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

/* 緑背景を下に 50px だけ延ばす（.section-space の下余白に上乗せ） */
.about.section-space {
  padding-bottom: calc(80px + 50px);
}

@media (max-width: 1199px) {
  .about.section-space {
    padding-bottom: calc(68px + 50px);
  }
}

@media (max-width: 767px) {
  .about.section-space {
    padding-bottom: calc(60px + 50px);
  }
}

/* 緑帯セクション（About）— 本文を前面に */
.section.green-section {
  position: relative;
}

.section.green-section .section-inner,
.section.green-section .services__inner {
  position: relative;
  z-index: 2;
}

.section.green-section .about__layout {
  position: relative;
  z-index: 2;
}

.about__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: start;
}

.about__intro {
  padding-top: 28px;
}

.about .section__kicker {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.92);
}

.about .section__title.about__headline {
  margin: 0;
  color: var(--font-heading-color);
}

.about .section__title.about__headline::after {
  background: rgba(255, 255, 255, 0.45);
}

.about__headline {
  font-family: var(--font-sans);
  font-size: clamp(2.2rem, 3.4vw, 3.3rem);
  line-height: var(--font-heading-leading);
  letter-spacing: 0.02em;
  font-weight: 700;
}

.about__text {
  margin: 34px 0 0;
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  line-height: var(--font-body-leading-tight);
  color: #fff;
  font-weight: 400;
}

.about__grid {
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.about-card {
  min-height: 198px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: var(--glass-radius);
  background: rgba(255, 255, 255, 0.52);
  box-shadow: var(--glass-shadow);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  isolation: isolate;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 24px 20px;
  text-align: center;
  transition:
    transform var(--motion-duration-soft) var(--motion-ease-soft),
    box-shadow var(--motion-duration-soft) var(--motion-ease-soft),
    border-color var(--motion-duration-soft) var(--motion-ease-soft);
}

.about-card h3 {
  margin: 12px 0 0;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.45;
  color: #0a453d;
}

.about-card__icon {
  width: 78px;
  height: 78px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.about-card__icon svg {
  width: 62px;
  height: 62px;
  stroke: currentColor;
}

@media (max-width: 1199px) {
  .about__layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about__intro {
    padding-top: 0;
  }

  .about__headline {
    font-size: clamp(1.8rem, 4.2vw, 2.6rem);
  }

  .about__text {
    margin-top: 20px;
    font-size: 0.96rem;
  }
}

@media (max-width: 767px) {
  .about__grid {
    grid-template-columns: 1fr;
  }

  .about-card {
    min-height: 164px;
    background: rgba(255, 255, 255, 0.58);
    border-color: rgba(255, 255, 255, 0.65);
  }

  .about-card h3 {
    font-size: 0.95rem;
  }

  .about .section__kicker {
    margin-bottom: 16px;
  }
}

/* CONCERNS redesign — 負の margin で About と重ねる。.about は z-index:2 で斜め clip が Concerns 背景に隠れない */
.concerns {
  position: relative;
  z-index: 1;
  --concerns-underlap: clamp(100px, 22vw, 220px);
  margin-top: calc(-1 * var(--concerns-underlap));
  padding: calc(96px + var(--concerns-underlap)) 0 80px;
  background:
    radial-gradient(110% 64% at 50% 100%, rgba(170, 222, 218, 0.18) 0%, rgba(170, 222, 218, 0) 58%),
    linear-gradient(180deg, #f9fcfc 0%, #f6fbfb 100%);
}

@media (max-width: 1199px) {
  .concerns {
    padding: calc(80px + var(--concerns-underlap)) 0 68px;
  }
}

@media (max-width: 767px) {
  .concerns {
    --concerns-underlap: clamp(72px, 28vw, 180px);
    padding: calc(72px + var(--concerns-underlap)) 0 60px;
  }
}

.concerns .section__kicker {
  text-align: center;
}

.concerns .section__title.concerns__title {
  margin: 0 0 28px;
  text-align: center;
  font-family: var(--font-sans);
  font-size: clamp(2rem, 3.2vw, 2.9rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--font-heading-color);
}

.concerns .section__title.concerns__title::after {
  margin-left: auto;
  margin-right: auto;
}

/* スマホ（767 以下）のみ 2 行改行。768 以上は 1 行のまま */
@media (min-width: 768px) {
  .concerns .concerns__title-br {
    display: none;
  }
}

@media (max-width: 767px) {
  .concerns .section__title.concerns__title .concerns__title-line {
    line-height: 1.22;
  }
}

.concerns__grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.concerns__grid li {
  min-height: 108px;
  border: var(--glass-border);
  border-radius: var(--glass-radius);
  background: var(--glass-bg);
  box-shadow: var(--glass-shadow);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  isolation: isolate;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 14px 14px;
  color: #24394a;
  font-size: 0.95rem;
  line-height: 1.6;
  letter-spacing: 0.01em;
  overflow-wrap: break-word;
}

.concerns__grid li > span:last-child {
  min-width: 0;
}

.concerns__icon {
  width: 28px;
  height: 28px;
  border: 1px solid #8fcfca;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  box-sizing: border-box;
  overflow: visible;
}

/* 手書き調チェック（SVG）— 円の中心基準で拡大し、線が円からはみ出す */
.concerns__icon::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 24px;
  height: 20px;
  transform: translate(-50%, -50%) rotate(-2.5deg);
  transform-origin: center;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5.2 12.6l3.1 3.4' stroke='%2379c5bf' stroke-width='2.35' stroke-linecap='round'/%3E%3Cpath d='M7.8 16.2L19.4 6.1' stroke='%2379c5bf' stroke-width='2.05' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.concerns__foot {
  margin: 34px 0 0;
  text-align: center;
  font-family: var(--font-sans);
  color: #00a699;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: var(--font-body-leading-tight);
}

@media (max-width: 1199px) {
  .concerns__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* CONCERNS / TOP PARTNERS: タイトルは .section-inner 実幅（cqi）に収める。nowrap は解除しラッパーからはみ出さない */
  .section.concerns .section-inner,
  body:not(.page-sub) #partners.section .section-inner {
    container-type: inline-size;
    min-width: 0;
    box-sizing: border-box;
  }

  .concerns .section__title.concerns__title {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    margin-inline: auto;
    padding-inline: 0;
    margin-bottom: 20px;
    line-height: 1.18;
    letter-spacing: 0.02em;
    text-align: center;
    font-size: clamp(1.22rem, 3.6vw, 2.35rem);
    font-size: min(2.35rem, max(1.22rem, calc(100cqi / 12.2)));
    overflow-wrap: break-word;
    word-break: keep-all;
  }

  .concerns .section__title.concerns__title .concerns__title-line {
    display: block;
    width: 100%;
    max-width: 100%;
    white-space: normal;
    text-align: center;
    font-size: inherit;
    letter-spacing: inherit;
  }

  body:not(.page-sub) #partners.section .section__title.partners__section-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    margin-bottom: 20px;
    line-height: 1.18;
    letter-spacing: 0.02em;
    text-align: center;
    font-size: clamp(1.2rem, 3.5vw, 2.25rem);
    font-size: min(2.25rem, max(1.2rem, calc(100cqi / 12.4)));
    overflow-wrap: break-word;
    word-break: keep-all;
  }

  body:not(.page-sub) #partners.section .partners__section-title .partners__title-line {
    display: block;
    width: 100%;
    max-width: 100%;
    white-space: normal;
    font-size: inherit;
    letter-spacing: inherit;
  }

  body.page-sub .page-header.page-header--mv #page-heading-partners-hub.section__title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    line-height: 1.18;
    overflow-wrap: break-word;
    word-break: keep-all;
    font-size: clamp(1.2rem, 3.5vw, 2.2rem);
    font-size: min(2.2rem, max(1.18rem, calc(100cqi / 12.4)));
  }

  body.page-sub .page-header.page-header--mv #page-heading-partners-hub .partners__title-line {
    display: block;
    max-width: 100%;
    white-space: normal;
    font-size: inherit;
    letter-spacing: inherit;
  }
}

@media (max-width: 767px) {
  .concerns__grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .concerns__grid li {
    min-height: 92px;
    font-size: 0.9rem;
    padding: 12px;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 9px;
  }

  .concerns__icon {
    width: 24px;
    height: 24px;
  }

  .concerns__icon::before {
    width: 20px;
    height: 17px;
  }

  /* PARTNERS: スマホはカード縦並び（TOP・下層ハブ共通） */
  #partners.section .partners__grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 10px;
  }

  #partners.section .partners__grid > a.card,
  #partners.section .partners__grid > .card {
    grid-column: auto;
    grid-row: auto;
    min-height: 0;
  }

  .concerns__foot {
    margin-top: 22px;
    font-size: clamp(1rem, 5vw, 1.3rem);
  }
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 3;
  margin-top: auto;
  font-family: var(--font-sans);
  background: #fff;
  color: var(--text);
  border-top: 1px solid var(--line);
}

.site-footer__inner {
  padding: 48px 0 40px;
  display: grid;
  gap: 28px;
  justify-items: center;
  text-align: center;
}

.site-footer__brand {
  display: grid;
  gap: 8px;
  justify-items: center;
}

.site-footer__logo-link {
  display: inline-block;
  line-height: 0;
}

.site-footer__logo {
  display: block;
  height: 36px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.site-footer__tagline {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 20px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: none;
}

.site-footer__nav a {
  color: #324d68;
}

.site-footer__nav a:hover {
  color: var(--teal);
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
}

.site-footer__legal a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer__legal a:hover {
  color: var(--teal);
}

.site-footer__copy {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}

@media (max-width: 767px) {
  .site-footer__inner {
    padding: 36px 0 32px;
    gap: 22px;
  }

  .site-footer__logo {
    height: 30px;
    max-width: 180px;
  }

  .site-footer__nav {
    flex-direction: column;
    gap: 8px;
  }

  .site-footer__legal {
    flex-direction: column;
    gap: 6px;
  }
}

/* Miraiでできること（services）— レイヤー構成は上記 #services と .services-sequence-* */

.services__foliage {
  position: absolute;
  top: 10%;
  width: min(280px, 38vw);
  height: 80%;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(170, 215, 195, 0.45) 0%, rgba(170, 215, 195, 0) 68%);
  filter: blur(28px);
  opacity: 0.85;
  z-index: 0;
}

.services__foliage--left {
  left: -8%;
}

.services__foliage--right {
  right: -8%;
}

.services__inner {
  position: relative;
  z-index: 2;
}

.services .section__kicker {
  text-align: center;
}

/* SERVICES / OVERVIEW / PARTNERS / INSTAGRAM: キッカーと見出し下の短線を白（SKILL UP は下記） */
#services.services .section__kicker,
#overview.section.access .section__kicker,
#partners.section .section__kicker,
#instagram.instagram-feed .section__kicker {
  color: rgba(255, 255, 255, 0.94);
}

#services.services .section__title::after,
#overview.section.access .section__title::after,
#partners.section .section__title::after,
#instagram.instagram-feed .section__title::after {
  background: rgba(255, 255, 255, 0.82);
}

/* SKILL UP: 初期は白地のため、緑背景が乗った後だけ白（未展開時は従来のキッカー色） */
#skills.skill.is-skill-bg-revealed .section__kicker {
  color: rgba(255, 255, 255, 0.94);
}

#skills.skill.is-skill-bg-revealed .section__title::after {
  background: rgba(255, 255, 255, 0.82);
}

#services.services .services__rule {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55) 22%, rgba(255, 255, 255, 0.78) 50%, rgba(255, 255, 255, 0.55) 78%, transparent);
}

.services__heading {
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: nowrap;
}

/* 横並び flex だと .section__title::after の線がタイトル横に出るため、下段中央に固定 */
.services .services__heading::after {
  margin-top: 0;
}

.services__heading-text {
  font-family: var(--font-sans);
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--font-heading-color);
}

.services__sprig {
  flex-shrink: 0;
  width: 36px;
  height: 28px;
  background:
    radial-gradient(ellipse 70% 55% at 32% 52%, rgba(120, 195, 170, 0.85), transparent),
    radial-gradient(ellipse 55% 48% at 68% 48%, rgba(145, 210, 185, 0.65), transparent);
}

.services__sprig--mirror {
  transform: scaleX(-1);
}

.services__rule {
  width: min(200px, 40vw);
  height: 1px;
  margin: 14px auto 36px;
  background: linear-gradient(90deg, transparent, #c5d5dc 20%, #c5d5dc 80%, transparent);
}

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

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 22px 18px 20px;
  border-radius: var(--glass-radius);
  background: var(--glass-bg);
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  isolation: isolate;
  transition:
    transform var(--motion-duration-soft) var(--motion-ease-soft),
    box-shadow var(--motion-duration-soft) var(--motion-ease-soft),
    border-color var(--motion-duration-soft) var(--motion-ease-soft);
}

.service-card__title {
  margin: 0 0 14px;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #2a9f99;
}

.service-card__illust {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  margin-bottom: 16px;
  border: 1px solid rgba(230, 240, 238, 0.9);
  overflow: hidden;
  position: relative;
}

.service-card__illust img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--motion-duration-soft) var(--motion-ease-soft);
}

.service-card__illust--work {
  background:
    radial-gradient(circle at 38% 52%, rgba(120, 175, 210, 0.28) 0%, transparent 42%),
    radial-gradient(circle at 62% 48%, rgba(230, 200, 175, 0.22) 0%, transparent 40%),
    linear-gradient(165deg, #eef8f7 0%, #e5f2ef 100%);
}

.service-card__illust--study {
  background:
    radial-gradient(circle at 50% 38%, rgba(175, 160, 200, 0.14) 0%, transparent 48%),
    radial-gradient(circle at 32% 62%, rgba(129, 200, 185, 0.22) 0%, transparent 38%),
    linear-gradient(175deg, #f0f7f5 0%, #e8f4f0 100%);
}

.service-card__illust--talk {
  background:
    radial-gradient(circle at 40% 48%, rgba(140, 185, 200, 0.24) 0%, transparent 36%),
    radial-gradient(circle at 60% 52%, rgba(200, 175, 160, 0.18) 0%, transparent 36%),
    linear-gradient(180deg, #eef6f4 0%, #e5f0ec 100%);
}

.service-card__illust--home {
  background:
    radial-gradient(circle at 50% 36%, rgba(150, 195, 170, 0.38) 0%, transparent 44%),
    radial-gradient(ellipse 85% 42% at 50% 88%, rgba(129, 180, 150, 0.22) 0%, transparent 55%),
    linear-gradient(180deg, #f2f8f4 0%, #e8f2ee 100%);
}

.service-card__text {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  line-height: var(--font-body-leading-tight);
  color: #334757;
  font-weight: 400;
  flex: 1;
}

.service-card__link {
  align-self: center;
  box-sizing: border-box;
  width: min(320px, 100%);
  max-width: 100%;
  min-width: min(260px, 100%);
  min-height: 42px;
  margin-top: 18px;
  padding: 0 26px;
  text-transform: none;
  letter-spacing: 0.06em;
  font-size: 0.8rem;
  font-weight: 600;
  color: #2a7f7a;
  border-color: rgba(110, 184, 176, 0.75);
  background: #fff;
}

.service-card__link:focus-visible {
  outline: 2px solid rgba(57, 194, 191, 0.65);
  outline-offset: 2px;
}

.service-card__leaf {
  display: block;
  width: 28px;
  height: 20px;
  margin-top: 14px;
  background:
    radial-gradient(ellipse 70% 55% at 32% 52%, rgba(120, 195, 170, 0.75), transparent),
    radial-gradient(ellipse 55% 48% at 68% 48%, rgba(145, 210, 185, 0.55), transparent);
  opacity: 0.9;
}

@media (max-width: 1199px) {
  .service-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (max-width: 767px) {
  .services__heading {
    gap: 10px;
  }

  .services__sprig {
    width: 28px;
    height: 22px;
  }

  .services__rule {
    margin-bottom: 26px;
  }

  .service-cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .service-card {
    padding: 18px 16px 16px;
  }

  .service-card__title {
    font-size: 0.98rem;
  }

  .service-card__text {
    font-size: 0.82rem;
  }

  .service-card__link {
    width: min(300px, 100%);
    min-width: min(220px, 100%);
    min-height: 44px;
    padding: 0 22px;
    font-size: 0.78rem;
  }
}

/* ----- 下層ページ（TOPのタイポ・余白・カード・ボタンを流用。新トークンは増やさない） ----- */

body.page-sub .section-inner {
  width: min(1200px, calc(100% - clamp(32px, 8vw, 200px)));
}

.page-header {
  position: relative;
  isolation: isolate;
  padding: clamp(40px, 7vw, 56px) 0 clamp(36px, 5vw, 48px);
  background:
    radial-gradient(circle at 14% 20%, rgba(255, 255, 255, 0.85) 0 20%, rgba(255, 255, 255, 0) 52%),
    linear-gradient(112deg, rgba(242, 252, 255, 0.96) 0%, rgba(233, 247, 255, 0.68) 34%, rgba(224, 243, 249, 0.26) 54%, rgba(255, 255, 255, 0) 100%),
    linear-gradient(180deg, #eef6fb 0%, #f4f8fc 100%);
}

/* 下層MV: 全ページ共通の最小高さ・縦位置。写真は fv-hero.png（assets/images） */
.page-header.page-header--mv {
  --page-mv-min-h: clamp(300px, min(52vh, 52vw), 460px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  min-height: var(--page-mv-min-h);
  padding: clamp(24px, 5vw, 52px) 0 clamp(28px, 4.8vw, 46px);
  background:
    linear-gradient(90deg, rgba(248, 252, 255, 0.94) 0%, rgba(248, 252, 255, 0.78) 44%, rgba(248, 252, 255, 0.42) 70%, rgba(248, 252, 255, 0.08) 100%),
    radial-gradient(circle at 14% 22%, rgba(255, 255, 255, 0.78) 0 20%, rgba(255, 255, 255, 0) 52%),
    url("../images/fv-hero.png") center 38% / cover no-repeat,
    linear-gradient(180deg, #eef6fb 0%, #f4f8fc 100%);
  background-color: #eef6fb;
}

.page-header.page-header--mv .section-inner {
  position: relative;
  z-index: 1;
  flex: 0 1 auto;
  width: 100%;
}

/* 下層 MV: 本文と同じコンテンツ幅（.section-inner と同系）＋見出し用 container */
body.page-sub .page-header.page-header--mv .section-inner {
  width: min(1200px, calc(100% - clamp(32px, 8vw, 200px)));
  max-width: 100%;
  margin-inline: auto;
  box-sizing: border-box;
  container-type: inline-size;
}

body.page-sub .page-header.page-header--mv .breadcrumb {
  margin-bottom: clamp(12px, 2.4vw, 20px);
}

body.page-sub .page-header.page-header--mv .section__kicker {
  margin-bottom: clamp(8px, 1.6vw, 12px);
}

body.page-sub .page-header.page-header--mv .section__title {
  margin-bottom: clamp(10px, 2vw, 16px);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  line-height: 1.18;
  overflow-wrap: break-word;
  word-break: normal;
  font-size: clamp(1.65rem, 5.2vw, 3.05rem);
  font-size: clamp(1.65rem, 12cqi, 3.05rem);
  font-size: max(1.55rem, min(3.05rem, calc(100cqi / 10.5)));
}

body.page-sub .page-header.page-header--mv .page-header__lead {
  font-size: clamp(0.8rem, 2.2vw, 0.92rem);
  line-height: 1.55;
  max-width: min(720px, 100%);
}

body.page-sub .page-header.page-header--mv .page-header__phone {
  margin-top: clamp(10px, 2vw, 16px);
  font-size: clamp(0.88rem, 2.4vw, 1.05rem);
}

@media (max-width: 639px) {
  .page-header.page-header--mv {
    --page-mv-min-h: clamp(280px, min(78vh, 92vw), 560px);
    padding-top: clamp(20px, 6vw, 36px);
    padding-bottom: clamp(22px, 7vw, 42px);
  }

  body.page-sub .page-header.page-header--mv .section-inner {
    width: calc(100% - 40px);
  }

  body.page-sub .page-header.page-header--mv .section__title {
    line-height: 1.22;
    font-size: clamp(1.45rem, 5.8vw, 2.35rem);
    font-size: clamp(1.55rem, 11cqi, 2.35rem);
    font-size: max(1.45rem, min(2.35rem, calc(100cqi / 11.2)));
  }
}

.page-header .section__title {
  margin-bottom: 16px;
}

.page-header .section__kicker {
  margin-bottom: 10px;
}

.page-header__lead {
  max-width: 720px;
  margin: 0;
}

.page-header__phone {
  margin: 14px 0 0;
  max-width: 720px;
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 1.8vw, 1.08rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--font-heading-color);
}

.page-header__phone a {
  color: var(--teal);
  text-decoration: none;
}

.page-header__phone a:hover,
.page-header__phone a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
}

.contact-form__note {
  margin: 0 0 4px;
  font-size: 0.86rem;
  color: var(--muted);
}

.contact-form__row label {
  display: block;
  margin: 0 0 6px;
  font-weight: 600;
  font-size: 0.86rem;
}

.contact-form__row input,
.contact-form__row textarea,
.contact-form__row select {
  width: 100%;
  max-width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  box-sizing: border-box;
}

.contact-form__row textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form__actions {
  margin-top: 4px;
}

.contact-form__muted {
  margin: 12px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

/* お問い合わせページ：フォーム（FV／CTA と同系トーンのプレミアム入力・送信） */
.page-sub.page-contact .contact-page__inquiry {
  position: relative;
  z-index: 1;
}

.page-sub.page-contact .contact-page__inquiry-inner {
  max-width: min(760px, 100%);
  margin-inline: auto;
}

.page-sub.page-contact .contact-page__form-card {
  position: relative;
  margin-top: clamp(20px, 3.2vw, 32px);
  padding: clamp(26px, 4vw, 44px) clamp(22px, 3.6vw, 40px);
  overflow: hidden;
  border-top: none;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.65) inset,
    0 22px 48px rgba(16, 56, 72, 0.09),
    0 4px 14px rgba(16, 40, 64, 0.05);
}

.page-sub.page-contact .contact-page__form-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  border-radius: var(--glass-radius) var(--glass-radius) 0 0;
  background: linear-gradient(
    90deg,
    rgba(57, 194, 191, 0.15) 0%,
    rgba(57, 194, 191, 0.85) 42%,
    rgba(26, 99, 169, 0.55) 100%
  );
  pointer-events: none;
}

.page-sub.page-contact .contact-form {
  margin-top: clamp(14px, 2.2vw, 22px);
}

.page-sub.page-contact .contact-form__note {
  position: relative;
  margin: 0 0 clamp(18px, 2.5vw, 24px);
  padding: 14px 16px 14px 22px;
  border-radius: 12px;
  border: 1px solid rgba(57, 194, 191, 0.28);
  background: linear-gradient(135deg, rgba(232, 248, 247, 0.95) 0%, rgba(255, 255, 255, 0.88) 55%, rgba(255, 255, 255, 0.72) 100%);
  color: #2c4a5c;
  font-size: 0.83rem;
  line-height: 1.7;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(16, 72, 68, 0.05);
}

.page-sub.page-contact .contact-form__note::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--teal) 0%, rgba(26, 99, 169, 0.75) 100%);
  opacity: 0.85;
}

.page-sub.page-contact .contact-form__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.6vw, 26px) clamp(14px, 2.2vw, 22px);
}

.page-sub.page-contact .contact-form__row--full {
  grid-column: 1 / -1;
}

.page-sub.page-contact .contact-form__row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  margin: 0;
}

.page-sub.page-contact .contact-form__row label {
  margin: 0 0 10px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #1f5c58;
  text-transform: none;
}

.page-sub.page-contact .contact-form__row input,
.page-sub.page-contact .contact-form__row textarea,
.page-sub.page-contact .contact-form__row select {
  width: 100%;
  min-height: 50px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(110, 184, 176, 0.42);
  background: linear-gradient(180deg, #ffffff 0%, rgba(250, 255, 253, 0.98) 100%);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--text);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 2px 0 rgba(16, 40, 64, 0.03);
  transition:
    border-color var(--motion-duration-tap) var(--motion-ease-soft),
    box-shadow var(--motion-duration-soft) var(--motion-ease-soft),
    transform var(--motion-duration-soft) var(--motion-ease-soft);
}

.page-sub.page-contact .contact-form__row textarea {
  min-height: clamp(160px, 28vh, 220px);
  padding-top: 16px;
  resize: vertical;
}

.page-sub.page-contact .contact-form__row select {
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%232a7f7a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px 18px;
  cursor: pointer;
}

.page-sub.page-contact .contact-form__row input:hover,
.page-sub.page-contact .contact-form__row textarea:hover,
.page-sub.page-contact .contact-form__row select:hover {
  border-color: rgba(57, 194, 191, 0.55);
}

.page-sub.page-contact .contact-form__row input:focus-visible,
.page-sub.page-contact .contact-form__row textarea:focus-visible,
.page-sub.page-contact .contact-form__row select:focus-visible {
  outline: none;
  border-color: rgba(57, 194, 191, 0.95);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 0 0 3px rgba(57, 194, 191, 0.22),
    0 10px 28px rgba(16, 72, 68, 0.08);
  transform: translateY(-1px);
}

.page-sub.page-contact .contact-form__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: clamp(22px, 3vw, 32px);
  padding-top: clamp(18px, 2.5vw, 26px);
  border-top: 1px solid rgba(110, 184, 176, 0.18);
  gap: 12px;
}

.page-sub.page-contact .contact-form__actions .btn {
  min-height: 50px;
  border-radius: 999px;
  padding: 0 28px;
  font-size: 0.75rem;
}

.page-sub.page-contact .contact-form__actions .btn--primary.hero__form-btn {
  gap: 12px;
  padding: 0 24px 0 16px;
  background: var(--btn-cta-gradient);
  border: var(--btn-cta-border);
  color: #fff;
  font-weight: 700;
  box-shadow: var(--btn-cta-shadow);
  transition:
    transform var(--motion-duration-soft) var(--motion-ease-soft),
    box-shadow var(--motion-duration-soft) var(--motion-ease-soft);
}

.page-sub.page-contact .contact-form__actions .btn--primary.hero__form-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--btn-cta-shadow-hover);
}

.page-sub.page-contact .contact-form__actions .btn--primary.hero__form-btn:focus-visible {
  outline: 2px solid #17324b;
  outline-offset: 3px;
}

.page-sub.page-contact .contact-form__actions .hero__form-icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-left: -2px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transition:
    background var(--motion-duration-tap) var(--motion-ease-soft),
    box-shadow var(--motion-duration-soft) var(--motion-ease-soft);
}

.page-sub.page-contact .contact-form__actions .hero__form-icon svg {
  display: block;
}

.page-sub.page-contact .contact-form__actions .btn--primary.hero__form-btn:hover .hero__form-icon {
  background: rgba(255, 255, 255, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

.page-sub.page-contact .contact-form__muted {
  margin: clamp(18px, 2.4vw, 24px) 0 0;
  padding: 14px 4px 0;
  border-top: none;
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.7;
  color: #5a6f82;
}

@media (max-width: 639px) {
  .page-sub.page-contact .contact-form__fields {
    grid-template-columns: 1fr;
  }

  .page-sub.page-contact .contact-form__row--half {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-sub.page-contact .contact-form__row input:focus-visible,
  .page-sub.page-contact .contact-form__row textarea:focus-visible,
  .page-sub.page-contact .contact-form__row select:focus-visible {
    transform: none;
  }

  .page-sub.page-contact .contact-form__actions .btn--primary.hero__form-btn:hover {
    transform: none;
  }
}

.breadcrumb {
  margin: 0 0 20px;
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 0;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-sans);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: #7389a2;
}

.breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  color: #9aacbc;
  font-weight: 500;
  letter-spacing: 0;
}

.breadcrumb__link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.breadcrumb__link:hover,
.breadcrumb__link:focus-visible {
  color: var(--deep);
}

.breadcrumb__current {
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: none;
}

.subpage-related__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
  margin-top: 8px;
}

.subpage-sitemap__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.subpage-sitemap__list a {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--blue);
  font-weight: 600;
  font-size: 0.9rem;
}

.subpage-sitemap__list a:hover,
.subpage-sitemap__list a:focus-visible {
  color: var(--deep);
}

.subpage-sitemap__stack {
  margin-top: 16px;
}

@media (max-width: 767px) {
  body.page-sub .section-inner {
    width: calc(100% - 40px);
  }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --motion-duration-soft: 0.01ms;
    --motion-duration-tap: 0.01ms;
    --ui-soft-dur: 0.01ms;
  }

  html {
    scroll-behavior: auto;
  }

  #services.services .service-card.is-ui-hover,
  #services.services .service-card:hover,
  #services.services .service-card:focus-within,
  #partners.section .partners__grid > .card.is-ui-hover,
  #partners.section .partners__grid > .card:hover,
  #partners.section .partners__grid > .card:focus-visible,
  #about.about .about-card.is-ui-hover,
  #about.about .about-card:hover {
    transform: none;
    box-shadow: var(--glass-shadow);
  }

  #services.services .service-card.is-ui-hover .service-card__illust img,
  #services.services .service-card:hover .service-card__illust img,
  #services.services .service-card:focus-within .service-card__illust img,
  #instagram.instagram-feed .instagram-feed__link.is-ui-hover .instagram-feed__img,
  #instagram.instagram-feed .instagram-feed__link:hover .instagram-feed__img,
  #instagram.instagram-feed .instagram-feed__link:focus-visible .instagram-feed__img {
    transform: none;
  }

  .site-header .site-header__insta-link.is-ui-hover,
  .site-header .site-header__insta-link:hover,
  .site-header .site-header__insta-link:focus-visible,
  .site-header .site-header__contact.is-ui-hover,
  .site-header .site-header__contact:hover,
  .site-header .site-header__contact:focus-visible,
  .btn.btn--line.is-ui-hover,
  .btn.btn--line:hover,
  .btn.btn--line:focus-visible {
    transform: none;
  }
}

/* ----- ふわっと UI（:hover / :focus-within / .is-ui-hover。main.js でクラス付与） ----- */

.site-footer__nav a,
.site-footer__legal a,
.breadcrumb__link,
.subpage-sitemap__list a {
  transition:
    color var(--ui-soft-dur) var(--ui-soft-ease),
    opacity var(--ui-soft-dur) var(--ui-soft-ease);
}

.site-footer__logo-link {
  transition: opacity var(--ui-soft-dur) var(--ui-soft-ease);
}

.site-footer__logo-link:hover {
  opacity: 0.88;
}

#partners.section .partners__grid > .card {
  transition:
    transform var(--ui-soft-dur) var(--ui-soft-ease),
    box-shadow var(--ui-soft-dur) var(--ui-soft-ease),
    border-color var(--ui-soft-dur) var(--ui-soft-ease);
}

#services.services .service-card {
  transition:
    transform var(--ui-soft-dur) var(--ui-soft-ease),
    box-shadow var(--ui-soft-dur) var(--ui-soft-ease),
    border-color var(--ui-soft-dur) var(--ui-soft-ease);
}

#services.services .service-card .service-card__illust img {
  transition: transform var(--ui-soft-dur) var(--ui-soft-ease);
}

#services.services .service-card.is-ui-hover,
#services.services .service-card:hover,
#services.services .service-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(57, 194, 191, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 20px 52px rgba(20, 45, 60, 0.1);
}

#services.services .service-card.is-ui-hover .service-card__illust img,
#services.services .service-card:hover .service-card__illust img,
#services.services .service-card:focus-within .service-card__illust img {
  transform: scale(1.03);
}

#partners.section .partners__grid > .card.is-ui-hover,
#partners.section .partners__grid > .card:hover,
#partners.section .partners__grid > .card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(57, 194, 191, 0.36);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 18px 48px rgba(20, 45, 60, 0.09);
}

#about.about .about-card {
  transition:
    transform var(--ui-soft-dur) var(--ui-soft-ease),
    box-shadow var(--ui-soft-dur) var(--ui-soft-ease),
    border-color var(--ui-soft-dur) var(--ui-soft-ease);
}

#about.about .about-card.is-ui-hover,
#about.about .about-card:hover {
  transform: translateY(-4px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 18px 48px rgba(20, 45, 60, 0.09);
}

#instagram.instagram-feed .instagram-feed__figure {
  transition:
    box-shadow var(--ui-soft-dur) var(--ui-soft-ease),
    border-color var(--ui-soft-dur) var(--ui-soft-ease);
}

#instagram.instagram-feed .instagram-feed__img {
  transition: transform var(--ui-soft-dur) var(--ui-soft-ease);
}

#instagram.instagram-feed .instagram-feed__link.is-ui-hover .instagram-feed__figure,
#instagram.instagram-feed .instagram-feed__link:hover .instagram-feed__figure,
#instagram.instagram-feed .instagram-feed__link:focus-visible .instagram-feed__figure {
  box-shadow: 0 18px 44px rgba(20, 45, 60, 0.11);
  border-color: rgba(57, 194, 191, 0.34);
}

#instagram.instagram-feed .instagram-feed__link.is-ui-hover .instagram-feed__img,
#instagram.instagram-feed .instagram-feed__link:hover .instagram-feed__img,
#instagram.instagram-feed .instagram-feed__link:focus-visible .instagram-feed__img {
  transform: scale(1.03);
}

.site-header .site-header__insta-link {
  transition: transform var(--ui-soft-dur) var(--ui-soft-ease);
}

.site-header .site-header__contact {
  transition:
    transform var(--ui-soft-dur) var(--ui-soft-ease),
    filter var(--ui-soft-dur) var(--ui-soft-ease),
    box-shadow var(--ui-soft-dur) var(--ui-soft-ease);
}

.site-header .site-header__insta-link.is-ui-hover,
.site-header .site-header__insta-link:hover,
.site-header .site-header__insta-link:focus-visible {
  transform: translateY(-2px);
}

.site-header .site-header__contact.is-ui-hover,
.site-header .site-header__contact:hover,
.site-header .site-header__contact:focus-visible {
  transform: translateY(-1px);
}

.btn.btn--line {
  transition:
    transform var(--ui-soft-dur) var(--ui-soft-ease),
    background-color var(--ui-soft-dur) var(--ui-soft-ease),
    color var(--ui-soft-dur) var(--ui-soft-ease),
    border-color var(--ui-soft-dur) var(--ui-soft-ease),
    box-shadow var(--ui-soft-dur) var(--ui-soft-ease);
}

.btn.btn--line.is-ui-hover,
.btn.btn--line:hover {
  transform: translateY(-2px);
}

.btn.btn--line:focus-visible {
  transform: translateY(-1px);
}

/* ----- スクロール入場: 下からふわっと（.reveal-soft + .is-reveal-visible は main.js） ----- */
@keyframes reveal-soft-rise {
  from {
    opacity: 0;
    transform: translate3d(0, var(--reveal-enter-y), 0) scale(var(--reveal-scale-from));
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.reveal-soft:not(.is-reveal-visible) {
  opacity: 0;
  transform: translate3d(0, var(--reveal-enter-y), 0) scale(var(--reveal-scale-from));
}

.reveal-soft.is-reveal-visible {
  animation: reveal-soft-rise var(--reveal-enter-dur) var(--reveal-ease) var(--reveal-delay, 0s) both;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-soft {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
