/* 自己ホストフォント（第三者依存を排除・サブセット可変フォント） */
    @font-face {
      font-family: "Inter";
      font-style: normal;
      font-weight: 300 700;
      font-display: swap;
      src: url("/assets/fonts/inter-subset.woff2") format("woff2");
    }
    @font-face {
      font-family: "Noto Sans JP";
      font-style: normal;
      font-weight: 200 700;
      font-display: swap;
      src: url("/assets/fonts/notosansjp-subset.woff2") format("woff2");
    }
    :root {
      /* 背景カラー: 真っ白で確定。温かみを戻す場合のみ下の #faf9f7 を有効化 */
      /* --bg: #faf9f7; */ /* 旧（保存）: 温かみのあるオフホワイト */
      --bg: #ffffff;
      --ink: #16161a;
      --muted: #62676f;
      /* アクセント（信頼・知性を表す、静かなスレートブルー） */
      --accent-deep: #45506e;
      --accent: #66739a;
      --accent-soft: #9aa6c6;
      --accent-pale: #dde2ef;
    }

    * { margin: 0; padding: 0; box-sizing: border-box; }
    .sr-only {
      position: absolute; width: 1px; height: 1px;
      padding: 0; margin: -1px; overflow: hidden;
      clip: rect(0 0 0 0); white-space: nowrap; border: 0;
    }

    body {
      background: var(--bg);
      color: var(--ink);
      font-family: "Inter", "Noto Sans JP", -apple-system, sans-serif;
      -webkit-font-smoothing: antialiased;
      overflow-wrap: anywhere;
    }

    .hero {
      position: relative;
      isolation: isolate;
      min-height: 100svh;
      padding: 7rem 0 4rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
    }

    /* 液体ガラスの SanpoTrust を描く WebGL キャンバス（ヒーロー全面） */
    .hero-glass {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      display: block;
      z-index: 0;
      opacity: 0;
      transition: opacity 0.8s ease;
    }
    .glass-on .hero-glass { opacity: 1; }
    .hero > *:not(.hero-glass) { position: relative; z-index: 1; }

    /* ドットで描く SanpoTrust（WebGL 非対応時のフォールバック） */
    #wordmark {
      width: 100%;
      height: clamp(180px, 34vh, 360px);
      display: block;
    }
    /* ガラス描画中は、場所取り（レイアウト基準）としてだけ残す */
    .glass-on #wordmark { visibility: hidden; }

    /* 想い（主役のタグライン） */
    .vision {
      margin-top: 1.5rem;
      font-family: "Noto Sans JP", sans-serif;
      font-weight: 400;
      font-size: clamp(1.05rem, 2.4vw, 1.6rem);
      letter-spacing: 0.12em;
      color: #20202a;
      opacity: 0;
      transform: translateY(14px);
      animation: rise 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.9s forwards;
    }

    /* 何をするか（補助の説明） */
    .subline {
      margin-top: 1rem;
      font-family: "Noto Sans JP", sans-serif;
      font-weight: 400;
      font-size: clamp(1rem, 1.5vw, 1.125rem);
      letter-spacing: 0.3em;
      color: var(--muted);
      opacity: 0;
      transform: translateY(14px);
      animation: rise 1.4s cubic-bezier(0.16, 1, 0.3, 1) 1.1s forwards;
    }

    .rule {
      margin-top: 2.2rem;
      width: 0;
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(22,22,26,0.25), transparent);
      animation: widen 1.6s cubic-bezier(0.16, 1, 0.3, 1) 1.4s forwards;
    }

    @keyframes rise { to { opacity: 1; transform: translateY(0); } }
    @keyframes widen { to { width: clamp(120px, 18vw, 240px); } }
    @keyframes fade { to { opacity: 1; } }

    .topbar {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 2;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 1.6rem 2.4rem;
      opacity: 0;
      animation: fade 1.2s ease 1.4s forwards;
    }
    .topbar .brand {
      display: inline-flex;
      align-items: center;
      color: inherit;
      text-decoration: none;
      cursor: pointer;
      transition: opacity 0.3s ease;
    }
    .topbar .brand:hover { opacity: 0.6; }
    .brand-text {
      display: inline-block;
      font-size: 0.96rem;
      font-weight: 600;
      line-height: 1;
      letter-spacing: 0.02em;
      color: var(--ink);
    }
    .topbar nav {
      display: flex;
      gap: 2rem;
      font-size: 0.875rem;
      letter-spacing: 0.12em;
      color: var(--muted);
    }
    .topbar nav a,
    .topbar nav span {
      color: inherit;
      text-decoration: none;
      cursor: pointer;
      transition: color 0.3s ease;
    }
    .topbar nav a:hover,
    .topbar nav span:hover { color: var(--ink); }
    html { scroll-behavior: smooth; }

    .hero-cta {
      margin-top: 2.2rem;
      display: inline-flex;
      align-items: center;
      gap: 0.55rem;
      font-family: "Noto Sans JP", sans-serif;
      font-size: 0.875rem;
      font-weight: 500;
      letter-spacing: 0.1em;
      color: var(--ink);
      text-decoration: none;
      padding: 0.7rem 1.7rem;
      border: 1px solid rgba(22,22,26,0.22);
      border-radius: 999px;
      background: transparent;
      opacity: 0;
      transform: translateY(14px);
      animation: rise 1.4s cubic-bezier(0.16, 1, 0.3, 1) 1.3s forwards;
      transition: background 0.45s cubic-bezier(0.22,1,0.36,1), color 0.45s ease, border-color 0.45s ease;
    }
    .hero-cta::after {
      content: "\2192";
      font-size: 0.95rem;
      line-height: 1;
      opacity: 0.5;
      transition: transform 0.45s cubic-bezier(0.22,1,0.36,1), opacity 0.45s ease;
    }
    .hero-cta:hover {
      background: var(--accent);
      color: #fff;
      border-color: var(--accent);
    }
    .hero-cta:hover::after { opacity: 1; transform: translateX(3px); }

    .scroll-hint {
      position: absolute;
      bottom: 2rem;
      left: 50%;
      transform: translateX(-50%);
      font-family: "Noto Sans JP", sans-serif;
      font-size: 0.875rem;
      letter-spacing: 0.3em;
      color: var(--muted);
      opacity: 0;
      animation: fade 1.2s ease 1.6s forwards;
    }
    .scroll-hint::after {
      content: "";
      display: block;
      width: 1px;
      height: 28px;
      margin: 0.6rem auto 0;
      background: linear-gradient(180deg, rgba(138,138,134,0.6), transparent);
    }

    /* 宣言（大きく置く一言） */
    .statement-head {
      font-family: "Noto Sans JP", sans-serif;
      font-weight: 400;
      font-size: clamp(2.4rem, 7vw, 5rem);
      letter-spacing: 0.02em;
      line-height: 1.28;
      margin-bottom: 2.8rem;
    }

    /* 1サイクルの進め方。60分 → 1週間 → 30分 → 1段のぼる */
    .flow { margin-top: 2.4rem; max-width: 760px; }
    .flow-track {
      display: grid;
      grid-template-columns: 1fr 2.4rem 1fr 2.4rem 1fr;
      align-items: stretch;
    }
    .flow-card {
      padding: 1.25rem 1.1rem 1.35rem;
      border: 1px solid rgba(22,22,26,0.12);
      border-radius: 2px;
    }
    .flow-dur {
      display: block;
      font-family: "Inter", sans-serif;
      font-size: 1.4rem;
      font-weight: 400;
      line-height: 1.1;
      color: var(--accent-deep);
    }
    .flow-name {
      display: block;
      margin-top: 0.4rem;
      font-family: "Noto Sans JP", sans-serif;
      font-size: 0.92rem;
      font-weight: 500;
      color: var(--ink);
    }
    .flow-desc {
      margin-top: 0.7rem;
      font-family: "Noto Sans JP", sans-serif;
      font-size: 0.875rem;
      font-weight: 400;
      line-height: 1.9;
      color: var(--muted);
    }
    /* カードとカードのあいだの矢印 */
    .flow-arrow { position: relative; }
    .flow-arrow::before {
      content: "";
      position: absolute;
      left: 0.5rem; right: 0.5rem; top: 50%;
      height: 1px;
      background: rgba(22,22,26,0.22);
    }
    .flow-arrow::after {
      content: "";
      position: absolute;
      right: 0.5rem; top: 50%;
      width: 5px; height: 5px;
      border-top: 1px solid rgba(22,22,26,0.4);
      border-right: 1px solid rgba(22,22,26,0.4);
      transform: translate(0, -50%) rotate(45deg);
    }
    /* 1サイクルの結果と、次の段へ回ることを示す行 */
    .flow-goal {
      display: flex;
      align-items: baseline;
      gap: 0.9rem;
      margin-top: 1.5rem;
      padding-top: 1.3rem;
      border-top: 1px solid rgba(22,22,26,0.1);
    }
    .flow-goal-mark {
      flex: none;
      align-self: center;
      width: 20px; height: 20px;
      border: 1px solid var(--accent-soft);
      border-radius: 50%;
      position: relative;
    }
    .flow-goal-mark::before {
      content: "";
      position: absolute;
      left: 50%; top: 50%;
      width: 5px; height: 5px;
      border-top: 1px solid var(--accent);
      border-right: 1px solid var(--accent);
      transform: translate(-70%, -50%) rotate(-45deg);
    }
    .flow-goal-text {
      font-family: "Noto Sans JP", sans-serif;
      font-size: 1rem;
      font-weight: 400;
      line-height: 2;
      color: #4a4a50;
    }
    .flow-goal-text b { font-weight: 500; color: var(--ink); }
    /* ラダー直後の無料診断ボタン */
    .ladder ~ .step-link { margin-top: 1.6rem; }

    /* ===== About セクション ===== */
    .section {
      position: relative;
      z-index: 1;
      max-width: 1080px;
      margin: 0 auto;
      padding: 14vh 2.4rem;
    }

    .section-label {
      display: flex;
      align-items: center;
      gap: 0.8rem;
      font-size: 0.875rem;
      letter-spacing: 0.32em;
      color: var(--muted);
      text-transform: uppercase;
      margin-bottom: 3.5rem;
    }
    .section-label::before {
      content: "";
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--ink);
      display: inline-block;
    }

    .about-head {
      font-weight: 400;
      font-size: clamp(1.9rem, 4.6vw, 3.4rem);
      letter-spacing: 0.04em;
      line-height: 1.2;
      margin-bottom: 2.6rem;
    }

    .about-body {
      max-width: 640px;
      font-family: "Noto Sans JP", sans-serif;
      font-weight: 400;
      font-size: clamp(1rem, 1.5vw, 1.08rem);
      line-height: 2.35;
      letter-spacing: 0.04em;
      color: #3a3a40;
    }
    .about-body p + p { margin-top: 1.8rem; }
    .about-body em {
      font-style: normal;
      color: var(--ink);
      font-weight: 400;
    }

    .profile {
      margin-top: 4.5rem;
      padding-top: 2.2rem;
      border-top: 1px solid rgba(22,22,26,0.1);
      display: flex;
      flex-wrap: wrap;
      align-items: baseline;
      gap: 0.6rem 1.4rem;
    }
    .profile .name {
      font-size: 1.15rem;
      font-weight: 500;
      letter-spacing: 0.08em;
    }
    .profile .role {
      font-family: "Noto Sans JP", sans-serif;
      font-size: 0.875rem;
      letter-spacing: 0.18em;
      color: var(--muted);
    }
    .profile .creds {
      flex-basis: 100%;
      margin-top: 1rem;
      font-family: "Noto Sans JP", sans-serif;
      font-size: 0.875rem;
      letter-spacing: 0.1em;
      color: var(--muted);
      line-height: 1.9;
    }
    .profile .creds span { color: var(--ink); }

    .representative {
      margin-top: 4rem;
      padding: 2.4rem 0;
      border-top: 1px solid rgba(22,22,26,0.1);
      border-bottom: 1px solid rgba(22,22,26,0.1);
      display: grid;
      grid-template-columns: minmax(96px, 132px) minmax(0, 640px);
      gap: clamp(1.8rem, 4vw, 3.2rem);
      align-items: start;
    }
    .representative-photo {
      width: 100%;
      aspect-ratio: 1;
      border-radius: 50%;
      border: 1px solid rgba(22,22,26,0.12);
      overflow: hidden;
    }
    img.representative-photo {
      display: block;
      height: auto;
      object-fit: cover;
      object-position: 50% 50%;
    }
    .message-label {
      font-size: 0.875rem;
      letter-spacing: 0.28em;
      color: var(--muted);
      text-transform: uppercase;
      margin-bottom: 1rem;
    }
    .representative-copy h3 {
      font-weight: 400;
      font-size: clamp(1.25rem, 2.6vw, 1.9rem);
      letter-spacing: 0.05em;
      line-height: 1.5;
      margin-bottom: 1.3rem;
    }
    .representative-copy p {
      font-family: "Noto Sans JP", sans-serif;
      font-weight: 400;
      font-size: 0.95rem;
      line-height: 2.2;
      letter-spacing: 0.04em;
      color: #3a3a40;
    }
    .representative-copy p + p { margin-top: 1rem; }
    .representative-copy .signature {
      margin-top: 1.4rem;
      color: var(--ink);
      font-size: 0.875rem;
      letter-spacing: 0.12em;
    }

    /* スクロールで現れる演出 */
    .reveal {
      opacity: 1;
      transform: none;
      transition: opacity 1.1s cubic-bezier(0.16,1,0.3,1), transform 1.1s cubic-bezier(0.16,1,0.3,1);
    }
    .reveal.in { opacity: 1; transform: translateY(0); }
    .reveal.d1 { transition-delay: 0.12s; }
    .reveal.d2 { transition-delay: 0.24s; }
    .reveal.d3 { transition-delay: 0.36s; }

    /* ===== Services（ジャーニー） ===== */
    .lead {
      max-width: 620px;
      font-family: "Noto Sans JP", sans-serif;
      font-weight: 400;
      font-size: clamp(1rem, 1.5vw, 1.08rem);
      line-height: 2.2;
      letter-spacing: 0.04em;
      color: #3a3a40;
    }
    .route-note {
      margin-top: 2.4rem;
      max-width: 700px;
      padding-top: 1.35rem;
      border-top: 1px solid rgba(22,22,26,0.1);
      font-family: "Noto Sans JP", sans-serif;
      font-weight: 400;
      font-size: 1rem;
      line-height: 2.1;
      letter-spacing: 0.04em;
      color: #4a4a50;
    }
    .route-note b {
      display: block;
      margin-bottom: 0.35rem;
      font-family: "Inter", sans-serif;
      font-size: 0.875rem;
      font-weight: 500;
      letter-spacing: 0.26em;
      text-transform: uppercase;
      color: var(--ink);
    }

    .step-link {
      margin-top: 1.2rem;
      display: inline-flex;
      width: fit-content;
      align-items: center;
      gap: 0.6rem;
      font-family: "Noto Sans JP", sans-serif;
      font-size: 0.875rem;
      font-weight: 500;
      letter-spacing: 0.08em;
      color: var(--ink);
      text-decoration: none;
      padding: 0.62rem 1.3rem;
      border: 1px solid rgba(22,22,26,0.25);
      border-radius: 999px;
      background: transparent;
      white-space: normal;
      transition: background 0.45s cubic-bezier(0.22, 1, 0.36, 1), color 0.45s ease, border-color 0.45s ease;
    }
    .step-link::after {
      content: "\2192";
      font-size: 0.95rem;
      line-height: 1;
      opacity: 0.5;
      transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease;
    }
    .step-link:hover {
      background: var(--ink);
      color: var(--bg);
      border-color: var(--ink);
    }
    .step-link:hover::after {
      opacity: 1;
      transform: translateX(3px);
    }

    /* ===== Company（会社概要） ===== */
    .name-gloss {
      margin-top: 1.5rem;
      display: flex;
      flex-wrap: wrap;
      align-items: baseline;
      gap: 0.5rem 1.6rem;
      font-family: "Noto Sans JP", sans-serif;
      font-weight: 400;
      font-size: clamp(1rem, 1.6vw, 1.05rem);
      letter-spacing: 0.1em;
      color: #3a3a40;
    }
    .name-gloss b {
      font-family: "Inter", sans-serif;
      font-weight: 500;
      letter-spacing: 0.04em;
      color: var(--ink);
      margin-right: 0.45rem;
    }
    .overview {
      margin-top: 3.6rem;
      max-width: 640px;
    }
    .overview-row {
      display: flex;
      gap: 1.6rem;
      padding: 1.15rem 0;
      border-top: 1px solid rgba(22,22,26,0.1);
    }
    .overview-row:last-child { border-bottom: 1px solid rgba(22,22,26,0.1); }
    .overview dt {
      flex: 0 0 6.5rem;
      font-family: "Noto Sans JP", sans-serif;
      font-size: 0.875rem;
      letter-spacing: 0.16em;
      color: var(--muted);
      font-weight: 400;
      padding-top: 0.2rem;
    }
    .overview dd {
      flex: 1;
      font-family: "Noto Sans JP", sans-serif;
      font-size: 0.95rem;
      line-height: 1.95;
      letter-spacing: 0.04em;
      color: #3a3a40;
      font-weight: 400;
    }
    .overview dd a {
      color: var(--ink);
      text-decoration: none;
      border-bottom: 1px solid rgba(22,22,26,0.28);
      padding-bottom: 1px;
      transition: border-color 0.3s ease;
    }
    .overview dd a:hover { border-color: var(--ink); }

    /* ===== Knowledge セクション ===== */
    .knowledge-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 1rem;
      max-width: 840px;
      margin-top: 3rem;
    }
    .knowledge-card {
      display: flex;
      min-height: 220px;
      flex-direction: column;
      justify-content: space-between;
      gap: 2rem;
      padding: 1.8rem;
      color: var(--ink);
      text-decoration: none;
      border: 1px solid rgba(22,22,26,0.12);
      transition: transform 0.25s ease, border-color 0.25s ease;
    }
    .knowledge-card:hover {
      transform: translateY(-3px);
      border-color: rgba(22,22,26,0.42);
    }
    .knowledge-kicker {
      font-family: "Inter", sans-serif;
      font-size: 0.875rem;
      letter-spacing: 0.18em;
      color: var(--muted);
      text-transform: uppercase;
    }
    .knowledge-card h3 {
      margin-top: 0.9rem;
      font-family: "Noto Sans JP", sans-serif;
      font-size: clamp(1.15rem, 2vw, 1.45rem);
      font-weight: 500;
      line-height: 1.6;
      letter-spacing: 0.03em;
    }
    .knowledge-card p {
      margin-top: 0.7rem;
      font-family: "Noto Sans JP", sans-serif;
      font-size: 0.88rem;
      font-weight: 400;
      line-height: 1.9;
      color: #4b4b52;
    }
    .knowledge-more {
      font-family: "Noto Sans JP", sans-serif;
      font-size: 0.875rem;
      letter-spacing: 0.08em;
    }

    /* ===== FAQ セクション ===== */
    .faq-list {
      margin-top: 3.6rem;
      max-width: 760px;
    }
    .faq-item {
      padding: 1.8rem 0;
      border-top: 1px solid rgba(22,22,26,0.1);
    }
    .faq-item:last-child {
      border-bottom: 1px solid rgba(22,22,26,0.1);
    }
    .faq-item dt {
      font-family: "Noto Sans JP", sans-serif;
      font-weight: 400;
      font-size: 1rem;
      line-height: 1.8;
      letter-spacing: 0.04em;
      color: var(--ink);
    }
    .faq-item dd {
      margin-top: 0.8rem;
      font-family: "Noto Sans JP", sans-serif;
      font-weight: 400;
      font-size: 0.92rem;
      line-height: 2.1;
      letter-spacing: 0.04em;
      color: #3a3a40;
    }

    /* ===== Contact セクション ===== */
    .contact-wrap {
      margin-top: 3.8rem;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 1.6rem;
    }
    .contact-mail {
      display: inline-flex;
      align-items: center;
      gap: 0.8rem;
      font-family: "Inter", sans-serif;
      font-size: clamp(1.05rem, 2vw, 1.38rem);
      font-weight: 400;
      letter-spacing: 0.06em;
      color: var(--ink);
      text-decoration: none;
      border-bottom: 1px solid rgba(22,22,26,0.22);
      padding-bottom: 3px;
      transition: border-color 0.3s ease, opacity 0.3s ease;
    }
    .contact-mail:hover { border-color: var(--ink); opacity: 0.65; }
    .contact-note {
      font-family: "Noto Sans JP", sans-serif;
      font-weight: 400;
      font-size: 0.88rem;
      line-height: 2.1;
      letter-spacing: 0.05em;
      color: var(--muted);
      max-width: 520px;
    }

    /* ===== Footer ===== */
    .site-footer {
      padding: 4rem 2.4rem;
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      align-items: center;
      gap: 0.6rem;
      font-family: "Inter", sans-serif;
      font-size: 0.875rem;
      letter-spacing: 0.22em;
      color: var(--muted);
      border-top: 1px solid rgba(22,22,26,0.08);
    }
    .footer-link {
      color: var(--muted);
      text-decoration: none;
      border-bottom: 1px solid transparent;
      padding-bottom: 1px;
      transition: color 0.3s ease, border-color 0.3s ease;
    }
    .footer-link:hover { color: var(--ink); border-color: rgba(22,22,26,0.3); }
    .footer-sep { opacity: 0.5; }

    /* ===== Why Now：放置した場合と、使いこなした場合の対比 ===== */
    .contrast {
      margin-top: 3rem;
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      gap: 2rem;
      align-items: start;
    }
    .contrast-col h3 {
      font-family: "Noto Sans JP", sans-serif;
      font-size: 0.875rem;
      font-weight: 500;
      letter-spacing: 0.24em;
      color: var(--muted);
      padding-bottom: 0.9rem;
      border-bottom: 1px solid rgba(22,22,26,0.1);
    }
    .contrast-col ul { list-style: none; margin-top: 1.2rem; }
    .contrast-col li {
      font-family: "Noto Sans JP", sans-serif;
      font-size: 0.92rem;
      font-weight: 400;
      line-height: 1.95;
      color: #3a3a40;
      padding: 0.55rem 0 0.55rem 1.1rem;
      position: relative;
    }
    .contrast-col li::before {
      content: "";
      position: absolute;
      left: 0; top: 1.35em;
      width: 5px; height: 1px;
      background: rgba(22,22,26,0.28);
    }
    .contrast-col--gain h3 { color: var(--accent-deep); border-bottom-color: var(--accent-pale); }
    .contrast-col--gain li { color: var(--ink); }
    .contrast-col--gain li::before { background: var(--accent); }
    .contrast-arrow {
      align-self: center;
      font-size: 1.1rem;
      color: var(--accent-soft);
      letter-spacing: 0;
    }

    /* ===== AI活用度ラダー ===== */
    .sub-head {
      margin-top: 5.5rem;
      font-family: "Noto Sans JP", sans-serif;
      font-size: 0.875rem;
      font-weight: 500;
      letter-spacing: 0.24em;
      color: var(--muted);
    }

    /* 藍染の濃淡。染め重ねるほど濃くなる＝1段ずつ深まる。
       甕覗 → 浅縹 → 縹 → 藍 → 紺 → 留紺 */
    .lv-0 { --lv: #c6d9e0; }
    .lv-1 { --lv: #9bbcce; }
    .lv-2 { --lv: #6d97b5; }
    .lv-3 { --lv: #3f6e92; }
    .lv-4 { --lv: #2a4c6e; }
    .lv-5 { --lv: #1b2c4b; }

    .ladder {
      margin-top: 2rem;
      /* 本文（.route-note）と右端を揃える */
      max-width: 700px;
      border-top: 1px solid rgba(22,22,26,0.1);
    }
    .rung {
      display: grid;
      grid-template-columns: 3.2rem 6.8rem 188px 1fr;
      gap: 1.4rem;
      align-items: center;
      padding: 0.85rem 0;
      border-bottom: 1px solid rgba(22,22,26,0.08);
    }
    .rung-lv {
      font-family: "Inter", sans-serif;
      font-size: 0.875rem;
      font-weight: 600;
      letter-spacing: 0.06em;
      color: var(--muted);
    }
    .rung-name {
      font-family: "Noto Sans JP", sans-serif;
      font-size: 1rem;
      font-weight: 500;
      color: var(--ink);
      white-space: normal;
    }
    /* 6つの目盛のうち、その段までが藍で埋まる */
    .rung-gauge { display: flex; gap: 4px; }
    .rung-gauge i {
      display: block;
      width: 28px; height: 8px;
      border-radius: 1px;
      background: rgba(22,22,26,0.07);
    }
    .lv-0 .rung-gauge i:nth-child(-n+1),
    .lv-1 .rung-gauge i:nth-child(-n+2),
    .lv-2 .rung-gauge i:nth-child(-n+3),
    .lv-3 .rung-gauge i:nth-child(-n+4),
    .lv-4 .rung-gauge i:nth-child(-n+5),
    .lv-5 .rung-gauge i:nth-child(-n+6) {
      background: var(--lv);
    }
    .rung-ex {
      font-family: "Noto Sans JP", sans-serif;
      font-size: 0.875rem;
      font-weight: 400;
      color: var(--muted);
    }
    /* ラダー直後の注記は、最終行の罫線を使う（罫線が二重になるのを防ぐ） */
    .ladder + .route-note {
      margin-top: 1.5rem;
      padding-top: 0;
      border-top: none;
    }

    @media (max-width: 640px) {
      .knowledge-grid { grid-template-columns: 1fr; }
      .knowledge-card { min-height: 0; }
      .topbar .desktop-nav { display: none; }
      .contrast { grid-template-columns: 1fr; gap: 1.4rem; }
      .contrast-arrow { transform: rotate(90deg); justify-self: center; }
      /* カードを縦に積み、矢印を下向きにする */
      .flow-track { grid-template-columns: 1fr; }
      .flow-arrow { height: 2rem; }
      .flow-arrow::before { left: 50%; right: auto; top: 0.4rem; bottom: 0.4rem; width: 1px; height: auto; }
      .flow-arrow::after { left: 50%; right: auto; top: auto; bottom: 0.4rem; transform: translate(-50%, 0) rotate(135deg); }
      /* 幅が足りないので、名前・ゲージ・例を縦に積む */
      .rung {
        grid-template-columns: 3.2rem 1fr;
        gap: 0.3rem 0.9rem;
        align-items: baseline;
      }
      .rung-name, .rung-gauge, .rung-ex { grid-column: 2; }
      .rung-gauge { margin: 0.25rem 0 0.1rem; }
      .rung-gauge i { width: 18px; }
      .section { padding: 10vh 1.6rem; }
      .representative {
        grid-template-columns: 1fr;
        gap: 1.6rem;
      }
      .representative-photo {
        width: 104px;
      }
      .overview-row { flex-direction: column; gap: 0.4rem; }
      .overview dt { flex-basis: auto; padding-top: 0; }

    }

/* Navigation, readable copy, and progressive enhancement. */
html { scroll-padding-top: 7rem; }
:focus-visible { outline: 3px solid #1b3a5c; outline-offset: 5px; }
.skip-link { position: fixed; top: .5rem; left: .5rem; z-index: 10; padding: .8rem 1rem; background: #1b3a5c; color: #fff; transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.topbar { z-index: 5; padding: 1rem 2.4rem; gap: 1rem; background: rgba(255,255,255,.97); border-bottom: 1px solid #eaecf0; opacity: 1; animation: none; }
.topbar nav { gap: 1.4rem; letter-spacing: .03em; }
.topbar nav a { padding: .5rem 0; }
.mobile-nav { display: none; }
.mobile-nav summary { min-height: 44px; display: flex; align-items: center; padding: .5rem .75rem; border: 1px solid #a2a8b1; cursor: pointer; font-size: .875rem; }
.mobile-nav summary::after { content: "＋"; margin-left: .5rem; }
.mobile-nav[open] summary::after { content: "−"; }
.topbar .mobile-nav nav { position: absolute; inset: 100% 0 auto; padding: 1rem 1.4rem; display: grid; gap: .5rem; background: #fff; border-bottom: 1px solid #cbd0d8; max-height: 75svh; overflow-y: auto; }
.wordmark-slot { width: 100%; position: relative; }
.wordmark-fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: clamp(2rem, 12vw, 9rem); font-weight: 600; letter-spacing: -.04em; }
.hero-enhanced .wordmark-fallback { visibility: hidden; }
.vision { padding-inline: 1rem; opacity: 1; transform: none; animation: none; line-height: 1.8; }
.subline { padding-inline: 1.4rem; max-width: 48rem; letter-spacing: .06em; line-height: 1.9; color: #4b515b; opacity: 1; transform: none; animation: none; text-wrap: balance; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; padding-inline: 1.4rem; margin-top: 2rem; max-width: 100%; }
.hero-cta { margin-top: 0; color: #fff; background: #1b3a5c; border-color: #1b3a5c; min-height: 48px; justify-content: center; max-width: 100%; letter-spacing: .03em; opacity: 1; transform: none; animation: none; }
.hero-cta.secondary { color: #1b3a5c; background: #fff; }
.hero-cta::after { opacity: 1; flex: none; }
.hero-cta:hover { background: #334d70; border-color: #334d70; color: #fff; }
.hero-note { margin: 1.1rem 1.4rem 0; color: var(--muted); font-size: .875rem; line-height: 1.8; }
.scroll-hint { display: none; }
.profile .creds { display: flex; flex-wrap: wrap; gap: .8rem 1.5rem; line-height: 1.8; }
.creds a, .route-note a, .contact-note a { color: #1b3a5c; text-underline-offset: .2em; }
.knowledge-card, .knowledge-card > span, .overview dd, .flow-card, .representative-copy { min-width: 0; }
.knowledge-card p { font-size: 1rem; }
.step-link { max-width: 100%; justify-content: center; }
.service-details { margin-top: 2.8rem; padding: 2rem; border: 1px solid #d8dde5; }
.service-details h3 { font-size: 1.25rem; font-weight: 500; margin-bottom: 1.4rem; }
.service-details ol { padding-left: 1.4rem; display: grid; gap: 1.3rem; }
.service-details li { padding-left: .3rem; line-height: 1.8; }
.service-details strong, .service-details span { display: block; }
.service-details strong { font-weight: 500; }
.service-details span, .service-details > p { color: #515762; font-size: 1rem; line-height: 1.9; }
.service-details > p { margin-top: 1.5rem; }
.contact-wrap { gap: 1.2rem; margin-top: 2rem; }
.consult-button { display: inline-block; max-width: 100%; padding: 1rem 1.3rem; color: #fff; background: #1b3a5c; text-decoration: none; line-height: 1.6; }
.email-contact { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1rem; max-width: 100%; }
.contact-mail { display: inline; font-weight: 500; overflow-wrap: anywhere; word-break: break-word; letter-spacing: .01em; }
a[href^="mailto:"] { overflow-wrap: anywhere; word-break: break-word; }
.copy-email { font: inherit; font-size: .875rem; padding: .6rem .8rem; color: #1b3a5c; border: 1px solid #a2adba; background: #fff; cursor: pointer; max-width: 100%; }
.copy-email[hidden] { display: none; }
.copy-status { flex-basis: 100%; color: #1b3a5c; font-size: .875rem; }
.copy-status:empty { display: none; }
.site-footer { letter-spacing: .04em; line-height: 1.8; }
.footer-link { padding: .35rem; }
@media (max-width: 900px) {
  .topbar { padding: .65rem 1.2rem; flex-wrap: wrap; }
  .topbar .desktop-nav { display: none; }
  .mobile-nav { display: block; margin-left: auto; }
}
@media (max-width: 640px) {
  .hero { min-height: 100svh; padding-top: 6rem; padding-bottom: 3rem; }
  #wordmark { height: clamp(130px, 25svh, 210px); }
  .hero-actions { width: 100%; }
  .hero-cta { width: 100%; }
  .vision { margin-top: 1rem; font-size: 1.125rem; letter-spacing: .04em; }
  .rule { margin-top: 1.2rem; }
  .section { padding: 4.5rem 1.25rem; }
  .section-label { margin-bottom: 2rem; letter-spacing: .15em; }
  .knowledge-grid { grid-template-columns: minmax(0, 1fr); }
  .knowledge-card { padding: 1.25rem; }
  .service-details { padding: 1.2rem; }
  .site-footer { padding: 2rem 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .vision, .subline, .hero-cta { opacity: 1; transform: none; }
  .rule { width: clamp(120px, 18vw, 240px); }
  .hero-glass, #wordmark { visibility: hidden !important; }
  .hero-enhanced .wordmark-fallback { visibility: visible; }
}
