/*
 * Technogram 子テーマ CSS（1本化：2026-11-19）
 * 旧 tg-*.css 10本を、本番での読み込み順のまま連結したもの。後ろのセクションほど優先されます。
 * 読み込み：functions-tg-renewal.php（新デザイン適用ページのみ）
 */

/* ==========================================================================
   ベース（レイアウト・共通部品）（旧 tg-renewal.css）
   ========================================================================== */
/* tg-renewal.css — Technogram 新デザイン（SWELL CHILD 追加CSS）
   body.tg-renewal が付いたページのみに効く。SWELLの記事ブロック（.post_content 内）には干渉しない。 */

body.tg-renewal {
  --ink: #111;
  --paper: #fff;
  --paper-2: #f3f3f1;
  --font:
    "Helvetica Neue", Helvetica, Arial, "Hiragino Sans", "Hiragino Kaku Gothic ProN",
    "Noto Sans JP", sans-serif;
  --gutter: clamp(20px, 4vw, 48px);
  --container: 1280px;
  --s1: 8px;
  --s2: 16px;
  --s3: 24px;
  --s4: 32px;
  --s5: 48px;
  --s6: clamp(40px, 6vw, 72px);
  --s7: clamp(48px, 7vw, 88px);
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
}
.tg-header,
.tg-header *,
.tg-menu,
.tg-menu *,
.tg-footer,
.tg-footer *,
.tg-main,
.tg-main *,
.tg-mobile-cta,
.tg-mobile-cta * {
  box-sizing: border-box;
}
body.tg-renewal {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.9;
  font-feature-settings: "palt", "tnum";
  -webkit-font-smoothing: antialiased;
}
/* 基本リンク：:where() で詳細度ゼロにし、.tg-btn 等のコンポーネント指定が常に勝つ。SWELL記事本文（.post_content）内は対象外＝既存リンクの色・下線を維持 */
:where(
    body.tg-renewal .tg-main,
    body.tg-renewal .tg-header,
    body.tg-renewal .tg-footer,
    body.tg-renewal .tg-menu,
    body.tg-renewal .tg-mobile-cta
  )
  a:not(:where(.post_content *)) {
  color: var(--ink);
  text-decoration: none;
  transition:
    color 0.3s var(--ease),
    background-color 0.3s var(--ease),
    border-color 0.3s var(--ease),
    opacity 0.3s;
}
:where(body.tg-renewal .tg-main, body.tg-renewal .tg-footer)
  a:not(:where(.post_content *, .tg-btn)):hover {
  opacity: 0.55;
}
body.tg-renewal :focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
.tg-body h2,
.tg-body h3,
.tg-hero h1 {
  margin: 0;
  font-weight: 500;
  text-wrap: balance;
}
.tg-body p {
  margin: 0;
  text-wrap: pretty;
}
@media (prefers-reduced-motion: reduce) {
  body.tg-renewal .tg-main *,
  body.tg-renewal .tg-menu * {
    transition: none !important;
    animation: none !important;
  }
}

/* type scale */
.tg-h1 {
  font-size: clamp(28px, 4vw, 56px);
  line-height: 1.25;
  letter-spacing: 0.02em;
}
.tg-h2 {
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.45;
  letter-spacing: 0.01em;
}
.tg-h2--statement {
  font-size: clamp(26px, 3.4vw, 48px);
  line-height: 1.3;
}
.tg-h2--outro {
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.3;
}
.tg-h3 {
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: 0.01em;
}
.tg-h3--row {
  font-size: 15px;
  line-height: 1.8;
}
.tg-lead {
  font-size: 15px;
  line-height: 1.95;
  max-width: 34em;
}
.tg-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.6;
}
.tg-num {
  font-size: 11px;
  letter-spacing: 0.14em;
  padding-top: 5px;
  font-variant-numeric: tabular-nums;
}
.tg-prose {
  font-size: 15px;
  line-height: 1.95;
  max-width: 36em;
}
.tg-prose p + p {
  margin-top: 1.4em;
}
.tg-prose--small {
  font-size: 13px;
  line-height: 1.85;
  max-width: 30em;
}
.tg-prose--small a {
  border-bottom: 1px solid var(--ink);
}

/* layout */
.tg-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.tg-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.tg-crumbs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding: 20px 0;
  font-size: 11px;
  letter-spacing: 0.08em;
}
.tg-hero {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: clamp(48px, 7vw, 112px) 0 56px;
}
.tg-hero__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 32px clamp(32px, 5vw, 64px);
  align-items: end;
}
.tg-hero .tg-label {
  margin-bottom: 28px;
}
.tg-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.tg-section {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  padding: var(--s6) 0 var(--s7);
  border-bottom: 1px solid var(--ink);
}
.tg-section__label {
  flex: 0 0 min(200px, 100%);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
}
.tg-section__body {
  flex: 1 1 480px;
  min-width: 0;
}
.tg-section__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 24px clamp(32px, 5vw, 64px);
  align-items: start;
}

/* components */
.tg-btn,
.tg-btn:visited {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
  letter-spacing: 0.04em;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  opacity: 1;
}
.tg-btn:hover,
.tg-btn:focus-visible {
  background: var(--ink);
  color: var(--paper);
  opacity: 1;
}
.tg-btn--primary,
.tg-btn--primary:visited {
  background: var(--ink);
  color: var(--paper);
}
.tg-btn--primary:hover,
.tg-btn--primary:focus-visible {
  background: var(--ink);
  color: var(--paper);
  opacity: 0.7;
}
.tg-btn:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
.tg-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 8px;
}
.tg-link {
  display: inline-flex;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0.04em;
  font-weight: 500;
  border-bottom: 1px solid var(--ink);
  padding: 10px 0 6px;
}
.tg-link--plain {
  border: 0;
  padding: 0;
}
.tg-steps {
  margin: 0 0 1.4em;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}
.tg-steps li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--ink);
  line-height: 1.8;
}
.tg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
  margin-top: 40px;
}
.tg-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 220px;
  padding: 24px 24px 28px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.tg-card p {
  font-size: 14px;
  line-height: 1.85;
  flex: 1 1 auto;
}
.tg-card__meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.tg-card__note {
  font-size: 12px !important;
  line-height: 1.8;
  border-top: 1px solid var(--ink);
  padding-top: 12px;
  flex: 0 0 auto !important;
}
.tg-rows {
  border-top: 1px solid var(--ink);
  margin-top: 40px;
}
.tg-row {
  display: grid;
  grid-template-columns: minmax(140px, 240px) minmax(0, 1fr);
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--ink);
}
@media (max-width: 640px) {
  .tg-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
.tg-linklist {
  border-top: 1px solid var(--ink);
  margin-top: 40px;
}
.tg-linklist__item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--ink);
}
.tg-linklist__text {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  align-items: baseline;
}
.tg-linklist__text .tg-h3 {
  font-size: clamp(15px, 1.4vw, 18px);
}
.tg-linklist__text span {
  font-size: 13px;
  line-height: 1.7;
}
.tg-figure,
.tg-photo {
  margin: 32px 0 0;
  border: 1px solid var(--ink);
  display: flex;
  flex-direction: column;
}
.tg-figure__media {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(32px, 5vw, 64px) clamp(24px, 4vw, 48px);
}
.tg-figure__media img {
  width: 100%;
  max-width: 520px;
}
.tg-photo__media {
  aspect-ratio: 3/2;
  background: var(--paper-2);
}
.tg-photo__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(1);
}
.tg-figure figcaption,
.tg-photo figcaption {
  border-top: 1px solid var(--ink);
  padding: 14px 18px;
  font-size: 12px;
  line-height: 1.8;
  letter-spacing: 0.04em;
}
.tg-byline {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px 20px;
  margin: 24px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--ink);
  font-size: 12px;
  line-height: 1.8;
}
.tg-byline dt {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.tg-byline dd {
  margin: 0;
}
.tg-form {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--ink);
}
.tg-field {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
  gap: 8px 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--ink);
}
.tg-field label {
  font-size: 11px;
  letter-spacing: 0.14em;
}
.tg-field input,
.tg-field select,
.tg-field textarea {
  border: 0;
  background: transparent;
  padding: 10px 0;
  font-size: 16px;
  outline: none;
  width: 100%;
  min-height: 44px;
}
.tg-field textarea {
  resize: vertical;
  line-height: 1.8;
}
.tg-field--check {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 20px 0;
  border: 0;
  font-size: 13px;
}
.tg-field--check label {
  font-size: 13px;
  letter-spacing: 0;
}
.tg-field--check a {
  border-bottom: 1px solid var(--ink);
}
.tg-form .tg-btn {
  align-self: flex-start;
  min-height: 56px;
  padding: 0 32px;
}
.tg-outro {
  background: var(--paper-2);
  margin-top: clamp(48px, 6vw, 64px);
}
.tg-outro__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: end;
  justify-content: space-between;
  padding: clamp(48px, 7vw, 80px) var(--gutter);
}
.tg-outro .tg-label {
  margin-bottom: 24px;
}

/* header / footer */
.tg-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
}
.tg-header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: clamp(56px, 6vw, 64px);
}
.tg-header__logo img {
  height: 14px;
  width: auto;
  display: block;
}
.tg-header__right {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
}
.tg-nav {
  display: flex;
  gap: clamp(16px, 1.8vw, 24px);
  font-size: 11px;
  letter-spacing: 0.14em;
  font-weight: 500;
  white-space: nowrap;
  text-transform: uppercase;
}
.tg-header .tg-btn,
.tg-header .tg-btn:visited {
  min-height: 36px;
  padding: 0 16px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink);
  background: var(--paper);
}
.tg-header .tg-btn:hover,
.tg-header .tg-btn:focus-visible {
  background: var(--ink);
  color: var(--paper);
}
.tg-menu-toggle {
  display: none;
  min-width: 44px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--ink);
  background: var(--paper);
  font-size: 11px;
  letter-spacing: 0.12em;
  cursor: pointer;
}
.tg-menu {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: var(--paper);
  display: none;
  flex-direction: column;
  overflow: auto;
}
.tg-menu[data-open="true"] {
  display: flex;
}
.tg-menu__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: clamp(56px, 6vw, 64px);
  padding: 0 var(--gutter);
  border-bottom: 1px solid var(--ink);
}
.tg-menu__bar img {
  height: 14px;
}
.tg-menu__list {
  display: flex;
  flex-direction: column;
  padding: 8px var(--gutter) 24px;
  flex: 1 1 auto;
}
.tg-menu__list a {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--ink);
}
.tg-menu__list a b {
  font-size: clamp(24px, 6vw, 44px);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.2;
}
.tg-menu__ctas {
  display: flex;
  gap: 1px;
  background: var(--ink);
  border-top: 1px solid var(--ink);
}
.tg-menu__ctas a {
  flex: 1 1 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 16px;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  background: var(--paper);
}
.tg-menu__ctas a,
.tg-menu__ctas a:visited {
  color: var(--ink);
}
.tg-menu__ctas a:first-child,
.tg-menu__ctas a:first-child:visited {
  background: var(--ink);
  color: var(--paper);
}
.tg-menu__ctas a:hover,
.tg-menu__ctas a:focus-visible {
  opacity: 0.7;
}
.tg-mobile-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 35;
  border-top: 1px solid var(--ink);
  background: var(--paper);
}
.tg-mobile-cta a {
  flex: 1 1 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 8px 12px;
  font-size: 12px;
  letter-spacing: 0.06em;
  font-weight: 500;
  text-align: center;
}
.tg-mobile-cta a,
.tg-mobile-cta a:visited {
  color: var(--ink);
}
.tg-mobile-cta a:first-child,
.tg-mobile-cta a:first-child:visited {
  background: var(--ink);
  color: var(--paper);
}
.tg-mobile-cta a:hover,
.tg-mobile-cta a:focus-visible {
  opacity: 0.7;
}
.tg-mobile-cta a + a {
  border-left: 1px solid var(--ink);
}
@media (max-width: 1023px) {
  body.tg-renewal .tg-nav {
    display: none;
  }
  body.tg-renewal .tg-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  body.tg-renewal .tg-mobile-cta {
    display: flex;
  }
  body.tg-renewal {
    padding-bottom: 56px;
  }
}
.tg-footer {
  border-top: 1px solid var(--ink);
}
.tg-footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(32px, 5vw, 48px) var(--gutter) 32px;
}
.tg-footer__cols {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  gap: 32px;
  font-size: 13px;
  line-height: 2.1;
}
.tg-footer__cols a {
  display: block;
  padding: 2px 0;
}
.tg-footer__cols .tg-label {
  margin-bottom: 8px;
}
.tg-footer__logo {
  height: 12px;
  width: auto;
  display: block;
  margin-bottom: 16px;
}
.tg-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 16px;
  border-top: 1px solid var(--ink);
  font-size: 11px;
  letter-spacing: 0.08em;
}

/* motion (quiet) */
.tg-main [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
}
.tg-main [data-reveal="on"] {
  opacity: 1;
  transform: none;
}
.tg-main [data-line] {
  position: relative;
  border-bottom-color: transparent !important;
}
.tg-main [data-line]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.1s var(--ease);
}
.tg-main [data-line][data-reveal="on"]::after {
  transform: scaleX(1);
}
@keyframes tg-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.tg-rise {
  animation: tg-rise 1s var(--ease) both;
}
@media (prefers-reduced-motion: reduce) {
  .tg-main [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* CMS本文（.tg-body）用 */
.tg-intro {
  padding: 0 0 8px;
}
.tg-body .tg-section {
  padding: var(--s6) 0 var(--s7);
}
.tg-body p + p,
.tg-body p + ul,
.tg-body p + ol,
.tg-body ul + p,
.tg-body ol + p,
.tg-body p + .tg-links,
.tg-body table + p,
.tg-body h3 + p {
  margin-top: 1.2em;
}
.tg-body h3 {
  margin-top: 2em;
  font-size: 16px;
  line-height: 1.7;
}
.tg-body .tg-section__body > :first-child + h3 {
  margin-top: 1.6em;
}
.tg-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}
.tg-list li {
  padding: 12px 0 12px 20px;
  border-bottom: 1px solid var(--ink);
  position: relative;
  line-height: 1.8;
}
.tg-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15em;
  width: 8px;
  height: 1px;
  background: var(--ink);
}
.tg-steps {
  counter-reset: tg;
}
.tg-steps li {
  counter-increment: tg;
}
.tg-steps li::before {
  content: counter(tg, decimal-leading-zero);
  font-size: 11px;
  letter-spacing: 0.14em;
  padding-top: 5px;
}
.tg-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--ink);
  font-size: 15px;
  margin-top: 1.2em;
}
.tg-table th,
.tg-table td {
  text-align: left;
  padding: 14px 16px 14px 0;
  border-bottom: 1px solid var(--ink);
  vertical-align: top;
  line-height: 1.8;
}
.tg-table th {
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.tg-table thead th {
  padding-top: 10px;
  padding-bottom: 10px;
}
.tg-body .tg-section__body {
  max-width: 44em;
}
/* ハブ（category.php）記事一覧 */
.tg-postlist {
  border-top: 1px solid var(--ink);
  margin-top: 40px;
}
.tg-postlist__item {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 8px 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--ink);
  align-items: baseline;
}
.tg-postlist__item time {
  font-size: 11px;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}
.tg-postlist__item h3 {
  font-size: 16px;
  line-height: 1.6;
  font-weight: 500;
}
.tg-postlist__item .tg-cat {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  grid-column: 2;
}
@media (max-width: 640px) {
  .tg-postlist__item {
    grid-template-columns: 1fr;
  }
  .tg-postlist__item .tg-cat {
    grid-column: 1;
  }
}
.tg-pagination {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 32px;
  font-size: 12px;
  letter-spacing: 0.08em;
}
.tg-pagination a,
.tg-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--ink);
}
.tg-pagination .current {
  background: var(--ink);
  color: var(--paper);
}
.tg-search {
  display: flex;
  border: 1px solid var(--ink);
  max-width: 420px;
}
.tg-search input {
  flex: 1 1 auto;
  border: 0;
  padding: 0 14px;
  min-height: 44px;
  font-size: 16px;
  outline: none;
  background: transparent;
}
.tg-search button {
  border: 0;
  border-left: 1px solid var(--ink);
  background: var(--paper);
  padding: 0 16px;
  font-size: 11px;
  letter-spacing: 0.14em;
  cursor: pointer;
}
/* 投稿末尾の共通リンク枠（article_connections.json） */
.tg-connect {
  border: 1px solid var(--ink);
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}
.tg-connect > a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 22px;
  border-right: 1px solid var(--ink);
}
.tg-connect > a:last-child {
  border-right: 0;
}
.tg-connect .tg-label {
  opacity: 0.7;
}
@media (max-width: 640px) {
  .tg-connect > a {
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }
  .tg-connect > a:last-child {
    border-bottom: 0;
  }
}
/* SWELL記事本文は触らない：新デザインの共通枠だけ */
/* スキップリンク */
.tg-skip {
  position: absolute;
  left: 8px;
  top: -48px;
  background: var(--ink);
  color: var(--paper) !important;
  padding: 10px 14px;
  z-index: 100;
}
.tg-skip:focus {
  top: 8px;
}
/* モバイルMENU：改行防止 */
.tg-menu-toggle {
  white-space: nowrap;
  flex: 0 0 auto;
}
.tg-header .tg-btn {
  white-space: nowrap;
}
@media (max-width: 420px) {
  .tg-header .tg-btn {
    display: none;
  }
}

/* SWELL既存ヘッダー／フッターは新デザイン適用ページでは出力しない（header.php / footer.php で分岐）。CSSでの display:none は使わない */
/* SWELL記事本文（.post_content）内は SWELL のスタイルを維持。新デザインは投稿の外枠（署名欄・関連リンク枠・見出し部）のみ */
body.tg-renewal.single-post .post_content {
  font-size: 16px;
  line-height: 1.9;
}
body.tg-renewal .tg-post-wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
body.tg-renewal .tg-post-wrap .post_content {
  max-width: 44em;
}

/* 写真差し替え枠（実写真が入るまでの表示） */
.tg-photo__media {
  position: relative;
  min-height: 200px;
  border-bottom: 1px solid var(--ink);
}
.tg-photo__media:empty::after,
.tg-photo__media:not(:has(img))::after {
  content: "PHOTO";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink);
  opacity: 0.5;
}

/* リード・本文内のテキストリンクは下線（罫）で識別 */
.tg-lead a,
.tg-body p a,
.tg-body li a,
.tg-body td a {
  border-bottom: 1px solid var(--ink);
}

/* ==========================================================================
   SWELLとの見た目合わせ（旧 tg-design-alignment.css）
   ========================================================================== */
/* Approved Claude design alignment, 2026-09-29. Original post bodies remain SWELL-owned. */
.tg-main--top,
.tg-main--page {
  max-width: none;
  padding: 0;
}
.tg-top-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 0;
  border-bottom: 1px solid var(--ink);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.tg-top-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(56px, 10vw, 144px) 0 clamp(48px, 7vw, 96px);
  gap: clamp(32px, 5vw, 64px);
}
.tg-top-logo {
  display: block;
  height: clamp(18px, 2.4vw, 32px);
  width: auto;
}
.tg-top-hero .tg-h1 {
  margin: 0;
  font-size: clamp(30px, 5vw, 68px);
  line-height: 1.25;
  letter-spacing: 0.02em;
  font-weight: 500;
  text-wrap: balance;
}
.tg-top-hero .tg-lead {
  font-size: clamp(13px, 1.1vw, 15px);
  line-height: 2.1;
  max-width: 30em;
  letter-spacing: 0.02em;
  text-wrap: pretty;
}
.tg-top-hero .tg-lead p {
  margin: 0;
}
.tg-top-hero .tg-ctas {
  margin: 0;
  gap: 12px 32px;
  justify-content: center;
}
.tg-top-hero .tg-btn,
.tg-top-hero .tg-btn:visited {
  min-height: 44px;
  padding: 0 20px;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  font-weight: 400;
  background: var(--paper);
  color: var(--ink);
}
.tg-top-hero .tg-btn:hover,
.tg-top-hero .tg-btn:focus-visible {
  background: var(--ink);
  color: var(--paper);
}
.tg-top-nav {
  position: sticky;
  top: clamp(56px, 6vw, 64px);
  z-index: 9;
  background: var(--paper);
  display: flex;
  gap: 6px 24px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 14px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.tg-main--top section[id],
.tg-main--page section[id] {
  scroll-margin-top: 88px;
}
.tg-home-content a[data-home-card] {
  transition: none;
}
.tg-home-content a[data-home-card]:hover,
.tg-home-content a[data-home-card]:focus-visible {
  background: transparent;
  color: var(--ink) !important;
  opacity: 1 !important;
}
.tg-home-content a[data-home-button]:hover,
.tg-home-content a[data-home-button]:focus-visible {
  background: var(--ink) !important;
  color: var(--paper) !important;
  opacity: 1 !important;
}
.tg-home-content a[data-home-button] {
  max-width: 100%;
  height: auto !important;
  min-height: 56px;
  text-align: center;
}
.tg-home-content h1,
.tg-home-content h2,
.tg-home-content h3 {
  overflow-wrap: normal;
}
.tg-main--page .tg-hero .tg-lead p {
  display: inline;
  margin: 0;
}
.tg-main--page .tg-hero .tg-lead p + p::before {
  content: " ";
}
.tg-main--page .tg-body .tg-section__body {
  max-width: none;
}
.tg-main--page .tg-body .tg-section {
  padding-bottom: clamp(48px, 7vw, 80px);
}
.tg-main--page .tg-prose p + p {
  margin-top: 1.4em;
}
.tg-main--page .tg-prose > :last-child {
  margin-bottom: 0;
}
.tg-main--page .tg-section__grid {
  gap: 24px clamp(32px, 5vw, 64px);
}
.tg-main--page .tg-body .tg-rows .tg-h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
}
.tg-main--page .tg-rows .tg-prose {
  max-width: 40em;
  line-height: 1.9;
}
.tg-main--page .tg-rows .tg-links {
  gap: 8px 20px;
  margin-top: 12px;
}
.tg-main--page .tg-rows .tg-link {
  padding: 8px 0 4px;
}
.tg-main--page .tg-photo {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1px;
  background: var(--ink);
}
.tg-main--page .tg-photo__media {
  background: var(--paper);
  border: 0;
  min-width: 0;
  min-height: 0;
  width: 100%;
}
.tg-main--page .tg-photo figcaption {
  background: var(--paper);
  border: 0;
  padding: 16px 20px;
  display: flex;
  align-items: end;
}
.tg-main--page .tg-outro__inner > div:first-child {
  flex: 1 1 480px;
  min-width: 0;
}
.tg-main--page .tg-outro .tg-h2 {
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.45;
  letter-spacing: 0.02em;
}
.tg-main--page .tg-outro .tg-ctas {
  margin: 0;
}
.tg-main--page .tg-outro .tg-btn {
  min-height: 56px;
  padding: 0 28px;
}
.tg-footer__brand {
  font-size: 11px;
  letter-spacing: 0.08em;
  line-height: 1.8;
}
@media (max-width: 640px) {
  .tg-main--page .tg-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .tg-home-content [data-home-topics] a {
    grid-template-columns: 28px minmax(0, 1fr) !important;
    gap: 10px !important;
  }
  .tg-home-content [data-home-topics] a > span:last-child {
    grid-column: 2;
  }
  .tg-top-meta {
    gap: 8px 16px;
  }
}

/* Review v6.4: center articles use the approved layout; legacy article bodies remain SWELL-owned. */
.tg-center-related {
  padding-bottom: 64px;
}
.tg-main--page .tg-table {
  margin-top: 32px;
}
.tg-main--page .tg-prose p:first-child {
  margin-top: 0;
}
.tg-skip:not(:focus) {
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
}

/* Licensed photographs fill the existing photo slots; keep the monochrome treatment. */
.tg-main--page .tg-photo--stock,
.tg-main--page .tg-photo--portrait {
  display: block;
  background: transparent;
  border: 0;
}
.tg-main--page .tg-photo--stock .tg-photo__media {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.tg-main--page .tg-photo--stock figcaption {
  padding: 10px 0 0;
  justify-content: flex-end;
  color: #666;
  font-size: 11px;
}
.tg-main--page .tg-photo--portrait {
  max-width: 360px;
}
.tg-main--page .tg-photo--portrait .tg-photo__media {
  aspect-ratio: 3/4;
  overflow: hidden;
}
.tg-main--page .tg-photo--portrait figcaption {
  padding: 12px 0 0;
}

/* ==========================================================================
   文字組み・写真（旧 tg-art-direction.css）
   ========================================================================== */
/* Editorial refinement v6.7. Local review 2026-09-29.
   Typography, alignment and photography; no content hidden or substituted. */
.tg-hero h1,
.tg-body h2,
.tg-body h3 {
  text-wrap: pretty;
  word-break: normal;
  overflow-wrap: anywhere;
}
.tg-phrase {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.tg-main--page .tg-hero {
  padding: 80px 0 64px;
}
.tg-main--page .tg-hero__grid {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: 48px 64px;
  align-items: start;
}
.tg-main--page .tg-h1 {
  font-size: clamp(30px, 3.35vw, 48px);
  line-height: 1.5;
  letter-spacing: 0.015em;
}
.tg-main--page .tg-hero .tg-label {
  margin-bottom: 24px;
}
.tg-main--page .tg-hero .tg-lead {
  padding-top: 42px;
  font-size: 15px;
  line-height: 2;
}
.tg-main--page .tg-hero .tg-ctas {
  gap: 12px;
  margin-top: 28px;
}
.tg-main--page .tg-section {
  gap: 32px;
}
.tg-main--page .tg-section__label {
  flex-basis: 64px;
  padding-top: 8px;
}
.tg-main--page .tg-section__grid {
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 28px 48px;
}
.tg-main--page .tg-h2 {
  font-size: 28px;
  line-height: 1.6;
  letter-spacing: 0.01em;
}
.tg-main--page .tg-outro .tg-h2 {
  font-size: 28px;
  line-height: 1.6;
}
.tg-main--page .tg-prose {
  max-width: 38em;
  line-height: 2;
}
.tg-main--page .tg-photo--stock {
  margin-top: 40px;
}
.tg-main--page .tg-photo--stock .tg-photo__media {
  aspect-ratio: 2/1;
}
.tg-photo--stock img {
  object-position: 50% 55%;
}
.tg-main--page .tg-portrait-intro .tg-photo--portrait {
  margin-top: 28px;
  max-width: 280px;
}
.tg-photo__media:empty::after,
.tg-photo__media:not(:has(img))::after {
  content: none;
}
.tg-main--page .tg-row {
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 48px;
}
.tg-main--page .tg-table th {
  font-size: 12px;
  letter-spacing: 0.05em;
}
.tg-main--page .tg-table td {
  font-size: 14px;
}
.tg-btn {
  max-width: 100%;
  height: auto;
  min-height: 52px;
  padding-top: 12px;
  padding-bottom: 12px;
  line-height: 1.7;
}
.tg-btn > span[aria-hidden] {
  flex-shrink: 0;
}
.tg-home-content .tg-home-label {
  flex-basis: 128px !important;
}
.tg-home-content h2 {
  font-size: 28px !important;
  line-height: 1.6 !important;
  text-wrap: pretty !important;
}
.tg-home-content .tg-home-services {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}
.tg-home-content [data-home-card] {
  min-height: 336px !important;
  padding: 24px 20px 28px !important;
  gap: 20px !important;
}
.tg-home-content [data-home-card] h3 {
  font-size: 17px !important;
  line-height: 1.7 !important;
}
.tg-top-hero__inner {
  padding: clamp(64px, 7vw, 104px) 0 clamp(56px, 5vw, 72px);
  gap: clamp(32px, 4vw, 56px);
}
.tg-top-hero .tg-ctas {
  gap: 16px 24px;
}
.tg-top-hero .tg-btn {
  min-height: 48px;
  padding: 10px 24px;
}
.tg-footer__cols {
  grid-template-columns: 1.05fr 0.85fr 1.15fr 1fr 1fr;
  gap: 32px;
  font-size: 12px;
  line-height: 2;
}
.tg-footer__cols a {
  padding: 5px 0;
}
.tg-footer__cols .tg-label {
  margin-bottom: 16px;
}
/* Long article titles use their own scale. Existing article bodies stay in the CMS unchanged. */
body.single-post .tg-hero .tg-h1 {
  font-size: clamp(26px, 2.5vw, 36px);
  line-height: 1.6;
  letter-spacing: 0.01em;
  text-wrap: pretty;
}
body.single-post .tg-hero__grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: start;
}
body.single-post .tg-hero .tg-lead {
  padding-top: 42px;
}
body.single-post .tg-post-wrap {
  max-width: 760px;
  padding: 56px 0 64px;
}
body.single-post .tg-post-wrap .post_content {
  max-width: none;
}
body.single-post .tg-post-wrap .post_content img {
  max-width: 100%;
  height: auto;
}
body.single-post .tg-post-wrap .post_content table {
  max-width: 100%;
}
/* Information should be immediately readable, including jump links and reduced-motion use. */
.tg-main [data-reveal] {
  opacity: 1;
  transform: none;
  transition: none;
}
.tg-main [data-line]::after {
  transform: none;
  transition: none;
}
@media (min-width: 761px) and (max-width: 1100px) {
  .tg-main--page .tg-hero__grid {
    gap: 40px;
  }
  .tg-main--page .tg-section__label {
    flex-basis: 32px;
  }
  .tg-main--page .tg-section__grid,
  .tg-main--page .tg-row {
    gap: 32px;
  }
  .tg-home-content .tg-home-services {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .tg-footer__cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .tg-main--page .tg-hero {
    padding: 40px 0 40px;
  }
  .tg-main--page .tg-hero__grid,
  body.single-post .tg-hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .tg-main--page .tg-hero .tg-label {
    margin-bottom: 18px;
  }
  .tg-main--page .tg-hero .tg-lead,
  body.single-post .tg-hero .tg-lead {
    padding-top: 0;
  }
  .tg-main--page .tg-h1 {
    font-size: 30px;
    line-height: 1.55;
  }
  .tg-main--page .tg-section {
    display: block;
    padding: 40px 0 48px;
  }
  .tg-main--page .tg-section__label {
    padding: 0;
    margin-bottom: 20px;
  }
  .tg-main--page .tg-section__grid,
  .tg-main--page .tg-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .tg-main--page .tg-h2,
  .tg-main--page .tg-outro .tg-h2 {
    font-size: 24px;
    line-height: 1.65;
  }
  .tg-main--page .tg-prose {
    font-size: 15px;
    line-height: 1.95;
  }
  .tg-main--page .tg-photo--stock {
    margin-top: 28px;
  }
  .tg-main--page .tg-photo--stock .tg-photo__media {
    aspect-ratio: 3/2;
  }
  .tg-main--page .tg-portrait-intro .tg-photo--portrait {
    max-width: 260px;
    margin-top: 24px;
  }
  .tg-main--page .tg-row {
    gap: 8px;
  }
  .tg-home-content .tg-home-services {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .tg-home-content h2 {
    font-size: 24px !important;
  }
  .tg-top-hero__inner {
    padding: 64px 0 48px;
    gap: 36px;
  }
  .tg-top-hero .tg-ctas {
    gap: 12px;
  }
  .tg-top-hero .tg-btn {
    justify-content: center;
    min-height: 48px;
  }
  .tg-footer__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 24px;
  }
  .tg-footer__cols > div:first-child {
    grid-column: 1/-1;
    margin-bottom: 4px;
  }
  .tg-footer__cols a {
    padding: 8px 0;
  }
  .tg-footer__cols .tg-label {
    margin-bottom: 8px;
  }
  body.single-post .tg-hero {
    padding: 40px 0;
  }
  body.single-post .tg-post-wrap {
    padding: 40px 0 48px;
  }
  .tg-main--page .tg-table {
    display: block;
    overflow-x: auto;
    overscroll-behavior-x: contain;
  }
  .tg-main--page .tg-table th,
  .tg-main--page .tg-table td {
    min-width: 112px;
    padding-right: 16px;
  }
}
@media (max-width: 540px) {
  .tg-home-content .tg-home-services {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .tg-home-content [data-home-card] {
    min-height: 0 !important;
    padding: 24px !important;
  }
  .tg-top-hero .tg-ctas {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
  }
  .tg-top-nav {
    gap: 10px 16px;
    font-size: 10px;
    letter-spacing: 0.09em;
    position: static;
  }
  .tg-main--page .tg-ctas .tg-btn {
    justify-content: center;
    width: 100%;
  }
  .tg-linklist__item {
    grid-template-columns: 28px minmax(0, 1fr) auto;
    gap: 12px;
  }
  .tg-link {
    max-width: 100%;
    min-height: 44px;
  }
  .tg-search input {
    min-width: 0;
  }
}
/* Long encoded URLs in legacy articles must not widen the mobile page. */
body.single-post .tg-post-wrap .post_content :not(pre) > code {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}
body.single-post .tg-post-wrap .post_content pre {
  max-width: 100%;
  overflow-x: auto;
}
/* Server-rendered article contents: keep the renewal's rules and quiet hierarchy. */
body.single-post .tg-post-wrap .tg-article-toc {
  margin: 40px 0;
  padding: 24px 0;
  border-top: 1px solid #999;
  border-bottom: 1px solid #999;
}
body.single-post .tg-post-wrap .tg-article-toc__title {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
body.single-post .tg-post-wrap .tg-article-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  line-height: 1.85;
}
body.single-post .tg-post-wrap .tg-article-toc li {
  margin: 6px 0;
  padding: 0;
}
body.single-post .tg-post-wrap .tg-article-toc a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}
body.single-post .tg-post-wrap h2[id] {
  scroll-margin-top: 100px;
}

/* v6.8: a single baseline for TOP section introductions. */
.tg-home-content .tg-home-row {
  align-items: start;
  gap: 32px !important;
  padding-top: 72px !important;
  padding-bottom: 80px !important;
}
.tg-home-content #service .tg-home-row,
.tg-home-content #report .tg-home-row {
  padding-bottom: 0 !important;
}
.tg-home-content .tg-home-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 32px 64px !important;
  align-items: start !important;
}
.tg-home-content .tg-home-copy {
  font-size: 15px;
  line-height: 1.95;
  max-width: 36em !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  text-wrap: pretty;
}
.tg-home-content .tg-home-grid > h2 {
  margin: 0 !important;
}
.tg-home-content .tg-home-heading h2 {
  margin-bottom: 40px !important;
}
.tg-home-content .tg-home-label {
  padding-top: 7px;
}
.tg-home-content [data-home-card] h3 {
  min-height: 3.4em;
}
.tg-home-content [data-home-card] > span:last-child {
  min-height: 2em;
  align-items: center;
}
@media (min-width: 761px) and (max-width: 1100px) {
  .tg-home-content .tg-home-grid {
    column-gap: 32px !important;
  }
  .tg-home-content .tg-home-label {
    flex-basis: 96px !important;
  }
}
@media (max-width: 760px) {
  .tg-home-content .tg-home-row {
    display: block !important;
    padding-top: 40px !important;
    padding-bottom: 48px !important;
  }
  .tg-home-content .tg-home-label {
    padding-top: 0;
    margin-bottom: 20px;
  }
  .tg-home-content .tg-home-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 20px !important;
  }
  .tg-home-content .tg-home-heading h2 {
    margin-bottom: 28px !important;
  }
  .tg-home-content .tg-home-copy {
    max-width: none !important;
  }
  .tg-home-content #report [data-home-topics] {
    margin-top: 28px !important;
  }
}
@media (max-width: 540px) {
  .tg-home-content [data-home-card] h3 {
    min-height: 0;
  }
  .tg-home-content a[data-home-button] {
    justify-content: center;
    width: 100%;
    min-height: 52px;
    padding: 12px 20px !important;
    line-height: 1.7;
  }
}

/* v6.8: internal sections, comparison tables and article indices. */
.tg-main--page .tg-prose > :first-child {
  margin-top: 0;
}
.tg-main--page .tg-prose .tg-links + p {
  margin-top: 24px;
}
.tg-main--page .tg-section__grid > .tg-prose:empty {
  display: none;
}
.tg-main--page .tg-report-topics .tg-row > h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
}
.tg-main--page .tg-section__grid > .tg-links {
  margin-top: 0;
}
.tg-main .tg-postlist__item h3 {
  margin: 0;
}
.tg-main .tg-pagination .page-numbers {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
  box-shadow: none;
  margin: 0;
  border-radius: 0;
  min-width: 44px;
  min-height: 44px;
  line-height: 1.4;
}
.tg-main .tg-pagination .page-numbers.current {
  background: var(--ink);
  color: var(--paper);
}
.tg-main .tg-pagination .page-numbers.dots {
  border-color: transparent;
  min-width: 20px;
  padding: 0;
}
.tg-main .tg-pagination a:hover {
  background: var(--ink);
  color: var(--paper);
}
.tg-table-scroll {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  margin: 32px 0;
}
.tg-main--page .tg-table-scroll .tg-table {
  margin: 0;
  display: table;
  table-layout: fixed;
  width: 100%;
}
.tg-table-scroll:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}
@media (max-width: 760px) {
  .tg-main--page .tg-table-scroll .tg-table {
    min-width: 620px;
    overflow: visible;
  }
  .tg-main--page .tg-table-scroll .tg-table th,
  .tg-main--page .tg-table-scroll .tg-table td {
    min-width: 0;
    padding: 16px;
    font-size: 14px;
    line-height: 1.9;
  }
  .tg-main--page .tg-table-scroll .tg-table th:first-child,
  .tg-main--page .tg-table-scroll .tg-table td:first-child {
    width: 120px;
    padding-left: 0;
  }
  .tg-main--page .tg-table-scroll .tg-table th:last-child,
  .tg-main--page .tg-table-scroll .tg-table td:last-child {
    padding-right: 0;
  }
  .tg-main--page .tg-outro .tg-ctas {
    width: 100%;
  }
  .tg-main--page .tg-outro .tg-btn {
    width: 100%;
    justify-content: center;
  }
  .tg-main--page .tg-report-topics .tg-row {
    gap: 12px;
  }
  .tg-main .tg-pagination {
    gap: 6px;
  }
}

/* Provider disclosures: clear hierarchy within the existing two-column page grid. */
.tg-prose.tg-external-services > .tg-h3 {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
  margin: 40px 0 14px;
}

/* v6.18: readable, consistent action typography across the approved page grid. */
.tg-top-hero .tg-lead {
  font-size: 15px;
  line-height: 2;
  max-width: 36em;
}
.tg-main .tg-btn,
.tg-main .tg-link {
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: 0.04em;
}
.tg-main .tg-link {
  min-height: 44px;
  align-items: center;
}
.tg-top-hero .tg-btn {
  min-height: 52px;
  font-size: 14px;
  letter-spacing: 0.04em;
}
.tg-home-content .tg-home-copy a,
.tg-home-content a[data-home-button] {
  font-size: 14px !important;
  line-height: 1.7 !important;
  min-height: 44px;
}
.tg-home-content [data-home-card] > span:last-child {
  font-size: 14px !important;
  line-height: 1.7;
}
@media (max-width: 760px) {
  .tg-footer__cols a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 0;
  }
}

@media (max-width: 760px) {
  .tg-top-meta > span:nth-child(2) {
    order: 3;
    flex-basis: 100%;
  }
  .tg-top-meta > span:last-child {
    order: 2;
    margin-left: auto;
  }
}
@media (max-width: 540px) and (max-height: 760px) {
  .tg-top-hero__inner {
    padding-top: 40px;
    padding-bottom: 32px;
    gap: 28px;
  }
}

/* v6.18: TRUNK reference — white space, short rules and offset photographs.
   Presentation only; approved copy, heading hierarchy and link targets are retained. */
.tg-main--page .tg-hero .tg-label,
.tg-home-content .tg-home-label {
  font-weight: 600;
  letter-spacing: 0.08em;
}
.tg-main--page .tg-hero .tg-label::before,
.tg-home-content .tg-home-label::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 1px;
  background: currentColor;
  vertical-align: middle;
  margin-right: 12px;
}
.tg-main--page .tg-h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  background: currentColor;
  margin-top: 20px;
}
.tg-main--page .tg-outro .tg-h2::after {
  content: none;
}
.tg-top-hero .tg-h1 {
  font-weight: 600;
  letter-spacing: 0.015em;
}
.tg-main--page .tg-photo--stock {
  width: 88%;
  margin-left: 0;
  margin-right: auto;
}
.tg-main--page .tg-section:nth-of-type(even) .tg-photo--stock {
  margin-left: auto;
  margin-right: 0;
}
.tg-main--page .tg-photo--stock .tg-photo__media {
  aspect-ratio: 16/9;
}
.tg-main--page .tg-photo--stock img {
  object-position: 50% 50%;
}
@media (min-width: 1101px) {
  .tg-main--page .tg-section {
    padding-top: 80px;
    padding-bottom: 88px;
  }
}
@media (max-width: 760px) {
  .tg-main--page .tg-h2::after {
    width: 32px;
    margin-top: 16px;
  }
  .tg-main--page .tg-photo--stock {
    width: 94%;
  }
  .tg-main--page .tg-photo--stock .tg-photo__media {
    aspect-ratio: 3/2;
  }
}

/* ==========================================================================
   ヘッダー・メニュー（旧 tg-navigation.css）
   ========================================================================== */
/* UI overlay: retain the approved monochrome grid and section rhythm. */
.tg-nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 16px;
  font-size: 12px;
  letter-spacing: 0.025em;
  text-transform: none;
}
.tg-nav > a,
.tg-nav-service > a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  line-height: 1.6;
  white-space: nowrap;
  flex-shrink: 0;
}
.tg-header__logo,
.tg-header__right > .tg-btn,
.tg-header__right > .tg-menu-toggle {
  flex-shrink: 0;
}
.tg-nav a[aria-current],
.tg-finder__themes a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
}
.tg-nav-service {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}
.tg-services-toggle {
  appearance: none;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  width: 26px;
  height: 40px;
  padding: 0;
}
.tg-services-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: -20px;
  min-width: 310px;
  padding: 12px 20px;
  background: var(--paper);
  border: 1px solid var(--ink);
  box-shadow: 0 8px 20px rgb(0 0 0 / 0.04);
  font-size: 14px;
  letter-spacing: 0.02em;
}
.tg-services-panel[hidden] {
  display: none;
}
.tg-services-panel a {
  display: block;
  padding: 12px 0;
  line-height: 1.6;
  white-space: normal;
}
.tg-services-panel a + a {
  border-top: 1px solid rgb(0 0 0 / 0.18);
}
.tg-menu-services {
  padding: 0 var(--gutter) 24px;
  display: grid;
  gap: 0;
  font-size: 14px;
  line-height: 1.7;
}
.tg-menu-services a {
  display: flex;
  align-items: center;
  min-height: 44px;
  width: 100%;
  padding: 8px 0;
  border-bottom: 1px solid rgb(0 0 0 / 0.18);
}
.tg-finder {
  margin-top: 28px;
  max-width: 560px;
}
.tg-finder .tg-search {
  max-width: none;
}
.tg-finder .tg-search input {
  min-width: 0;
  outline: revert;
}
.tg-finder .tg-search button {
  font-size: 14px;
  letter-spacing: 0.02em;
  min-width: 60px;
}
.tg-finder__themes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.7;
}
.tg-finder__themes a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 0;
}
.tg-finder__jump {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--ink);
  padding: 8px 0;
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.7;
}
.tg-finder__jump span {
  font-size: 12px;
  color: #555;
}
.tg-top-nav {
  letter-spacing: 0.04em;
  font-size: 12px;
}
#tg-article-list,
.tg-main [id] {
  scroll-margin-top: 100px;
}
.tg-nav a:hover,
.tg-menu-services a:hover,
.tg-finder a:hover,
.tg-top-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
body.tg-renewal :is(a, button, input):focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 5px;
}
#tg-article-list:focus:not(:focus-visible) {
  outline: none;
}
@media (max-width: 1199px) {
  body.tg-renewal .tg-nav {
    display: none;
  }
  body.tg-renewal .tg-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}
@media (max-width: 760px) {
  .tg-header__right > .tg-btn {
    display: none;
  }
  .tg-finder {
    margin-top: 24px;
  }
  .tg-finder__themes {
    gap: 8px 14px;
  }
  .tg-top-nav {
    font-size: 11px;
    gap: 10px 16px;
  }
  .tg-menu-services {
    font-size: 14px;
  }
}

.tg-menu__list a[aria-current] b {
  text-decoration: underline;
  text-underline-offset: 8px;
  text-decoration-thickness: 1px;
}

.tg-search-context {
  margin-top: 16px;
  font-size: 12px;
  line-height: 1.9;
}
.tg-search-context a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Menu typography: restrained Japanese hierarchy, shared button metrics and grid. */
body.tg-renewal .tg-menu-toggle {
  appearance: none;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.08em;
  width: 80px;
  min-width: 80px;
  height: 44px;
  padding: 0;
  border-radius: 0;
  color: var(--ink);
}
body.tg-renewal .tg-header .tg-btn {
  min-height: 44px;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.04em;
}
.tg-menu__bar {
  flex: 0 0 auto;
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--paper);
}
.tg-menu .tg-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.tg-menu__list {
  flex: 0 0 auto;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px var(--gutter) 24px;
}
.tg-menu__list a {
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 64px;
  padding: 12px 0;
}
.tg-menu__list a > .tg-label:empty {
  display: none;
}
.tg-menu__list a > span {
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.08em;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}
.tg-menu__list a b {
  font-size: 24px;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: 0.02em;
  overflow-wrap: normal;
}
.tg-menu-services {
  flex: 0 0 auto;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: calc(var(--gutter) + 40px);
}
.tg-menu-services__label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: #555;
}
.tg-menu__ctas {
  flex: 0 0 auto;
  margin-top: auto;
}
.tg-menu__ctas a {
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  min-height: 64px;
}
@media (max-width: 760px) {
  .tg-menu__list a {
    min-height: 56px;
    padding: 12px 0;
  }
  .tg-menu__list a b {
    font-size: 20px;
    line-height: 1.5;
  }
  .tg-menu__list {
    padding-top: 8px;
  }
}

/* Topic choices keep an intentional row rhythm rather than one orphaned label. */
@media (max-width: 760px) {
  .tg-finder__themes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 14px;
  }
  .tg-finder__themes a {
    width: fit-content;
    max-width: 100%;
    white-space: nowrap;
  }
}
@media (max-width: 360px) {
  .tg-finder__themes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* A quiet monochrome menu separates wayfinding from the white editorial page. */
.tg-menu {
  background: #111;
  color: #fff;
}
.tg-menu__bar {
  background: #111;
  border-color: #555;
}
.tg-menu .tg-menu-toggle {
  color: #fff !important;
  border-color: #aaa;
}
.tg-menu .tg-header__logo {
  color: #fff;
}
.tg-menu__list a,
.tg-menu-services a,
.tg-menu__ctas {
  border-color: #555;
}
.tg-menu-services__label {
  color: #bbb;
}
.tg-menu a,
.tg-menu a:visited {
  color: #fff;
}
.tg-menu :is(a, button):focus-visible {
  outline-color: #fff !important;
}

.tg-menu__bar > img {
  filter: invert(1);
}
body.tg-renewal .tg-menu .tg-menu-toggle {
  background: transparent;
}
.tg-menu .tg-menu__ctas a {
  background: #111;
  color: #fff;
  border-color: #555;
}
.tg-menu .tg-menu__ctas a:hover {
  background: #292929;
}

/* ==========================================================================
   動き（旧 tg-motion.css）
   ========================================================================== */
/* Short, purposeful motion. Never animate layout, font metrics or header sizing. */
html.tg-motion {
  scroll-behavior: smooth;
}
.tg-reading-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
  z-index: 1;
}
.tg-services-toggle {
  transition: transform 180ms ease;
}
.tg-services-toggle[aria-expanded="true"] {
  transform: rotate(45deg);
}
.tg-services-panel:not([hidden]) {
  animation: tg-panel-in 180ms var(--ease) both;
}
.tg-menu[data-open="true"] {
  animation: tg-menu-in 160ms ease-out both;
}
.tg-menu[data-open="true"] .tg-menu__list > a {
  animation: tg-menu-item-in 220ms var(--ease) both;
}
.tg-menu[data-open="true"] .tg-menu__list > a:nth-child(2) {
  animation-delay: 20ms;
}
.tg-menu[data-open="true"] .tg-menu__list > a:nth-child(3) {
  animation-delay: 40ms;
}
.tg-menu[data-open="true"] .tg-menu__list > a:nth-child(4) {
  animation-delay: 60ms;
}
.tg-menu[data-open="true"] .tg-menu__list > a:nth-child(5) {
  animation-delay: 80ms;
}
.tg-menu[data-open="true"] .tg-menu__list > a:nth-child(6) {
  animation-delay: 100ms;
}
.tg-menu[data-open="true"] .tg-menu__list > a:nth-child(7) {
  animation-delay: 120ms;
}
.tg-main [data-reveal] {
  transition-duration: 450ms;
}
.tg-main [data-line]::after {
  transition-duration: 550ms;
}
.tg-main :is(a.tg-card, a.tg-row, a.tg-postlist__item) {
  transition:
    background-color 180ms ease,
    opacity 180ms ease;
}
.tg-main :is(a.tg-card, a.tg-postlist__item) h3 {
  transition: transform 180ms var(--ease);
}
.tg-top-nav a[aria-current="location"],
.tg-article-toc a[aria-current="location"] {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.tg-back-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 36;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  appearance: none;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  animation: tg-panel-in 180ms var(--ease) both;
  transition:
    background-color 180ms ease,
    color 180ms ease;
}
.tg-back-top[hidden] {
  display: none;
}
.tg-back-top:hover,
.tg-back-top:focus-visible {
  background: var(--ink);
  color: var(--paper);
}
@media (hover: hover) and (pointer: fine) {
  .tg-main :is(a.tg-card, a.tg-row, a.tg-postlist__item):hover {
    background-color: #f7f7f5;
    opacity: 1;
  }
  .tg-main :is(a.tg-card, a.tg-postlist__item):hover h3 {
    transform: translateX(3px);
  }
}
.tg-main :is(a.tg-card, a.tg-row, a.tg-postlist__item):focus-visible {
  background-color: #f7f7f5;
  opacity: 1;
}
@media (max-width: 1023px) {
  .tg-back-top {
    right: 20px;
    bottom: 72px;
  }
}
@keyframes tg-panel-in {
  from {
    opacity: 0;
    translate: 0 -6px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
@keyframes tg-menu-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes tg-menu-item-in {
  from {
    opacity: 0;
    translate: 0 8px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  html.tg-motion {
    scroll-behavior: auto;
  }
  body.tg-renewal *,
  body.tg-renewal *::before,
  body.tg-renewal *::after {
    animation: none !important;
    transition: none !important;
  }
  .tg-main [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .tg-main :is(a.tg-card, a.tg-postlist__item):hover h3 {
    transform: none;
  }
}

/* ==========================================================================
   記事本文（旧 tg-editorial.css）
   ========================================================================== */
/* v6.19 — editorial reconstruction inspired by TRUNK CAT STREET.
   No copy, URL, metadata or heading hierarchy is changed. */
body.tg-renewal {
  --container: 1280px;
  --gutter: clamp(24px, 5vw, 64px);
}
.tg-header {
  border-bottom: 0;
}
.tg-header__inner {
  max-width: none;
  height: 80px;
  padding: 0 var(--gutter);
}
.tg-header__logo img {
  height: 16px;
}
body.tg-renewal .tg-header .tg-nav {
  display: none;
}
body.tg-renewal .tg-header .tg-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  width: 64px;
  min-width: 64px;
  font-size: 10px;
  height: 52px;
  flex-direction: column;
  gap: 7px;
}
.tg-header .tg-menu-toggle::before {
  content: "";
  width: 28px;
  height: 14px;
  background: repeating-linear-gradient(
    to bottom,
    currentColor 0,
    currentColor 2px,
    transparent 2px,
    transparent 6px
  );
}
body.tg-renewal .tg-header .tg-btn {
  border: 0;
  padding: 0 8px;
  font-size: 12px;
}
.tg-header__right {
  gap: 24px;
}
.tg-top-meta {
  border: 0;
  padding: 24px 0 0;
  font-size: 10px;
  letter-spacing: 0.08em;
}
.tg-top-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  grid-template-rows: auto auto;
  position: relative;
  text-align: left;
  align-items: start;
  gap: 0;
  padding: 80px 0 0;
  margin-bottom: 88px;
}
.tg-top-title {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  z-index: 1;
  padding: 36px 32px 28px 0;
  background: #fff;
}
.tg-top-logo {
  height: 20px;
  margin-bottom: 48px;
}
.tg-top-hero .tg-h1 {
  font-size: clamp(48px, 6.1vw, 84px);
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -0.025em;
  max-width: 6em;
  text-wrap: balance;
}
.tg-top-visual {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 118%;
  margin: 0 0 0 -18%;
  height: 640px;
  align-self: start;
  overflow: hidden;
}
.tg-top-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% 50%;
  filter: grayscale(1);
}
.tg-top-summary {
  grid-column: 1;
  grid-row: 2;
  position: relative;
  z-index: 1;
  width: 118%;
  padding: 32px 56px 32px 0;
  background: #fff;
}
.tg-top-hero .tg-lead {
  max-width: 32em;
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.025em;
}
.tg-top-hero .tg-ctas {
  justify-content: start;
  gap: 12px 28px;
  margin-top: 28px;
  flex-direction: column;
  align-items: start;
}
.tg-top-hero .tg-btn {
  border: 0;
  border-bottom: 1px solid #111;
  padding: 10px 0;
  min-height: 44px;
  justify-content: space-between;
  width: auto;
  gap: 28px;
  background: #fff;
}
.tg-top-hero .tg-btn:hover,
.tg-top-hero .tg-btn:focus-visible {
  background: #fff;
  color: #111;
  opacity: 0.65;
}
.tg-top-nav {
  position: static;
  border-top: 0;
  border-bottom: 1px solid #ddd;
  justify-content: start;
  gap: 8px 28px;
  padding: 20px 0;
  font-size: 12px;
}
.tg-home-content .tg-home-row {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 24px !important;
  padding: 100px 0 !important;
  border: 0 !important;
}
.tg-home-content .tg-home-label {
  font-size: 12px !important;
  line-height: 1.6;
  flex-basis: auto !important;
}
.tg-home-content .tg-home-label::before {
  display: none;
}
.tg-home-content .tg-home-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr) !important;
  gap: 64px 96px !important;
  align-items: start !important;
}
.tg-home-content h2 {
  font-size: clamp(30px, 3.4vw, 44px) !important;
  line-height: 1.55 !important;
  font-weight: 500 !important;
  text-wrap: pretty !important;
  letter-spacing: -0.015em !important;
}
.tg-home-content h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: #111;
  margin-top: 28px;
}
/* Service already has card rules immediately below: reserve heading spacing without a duplicate short rule. */
.tg-home-content #service h2::after {
  visibility: hidden;
}
.tg-home-content .tg-home-copy {
  font-size: 15px;
  line-height: 2.1;
  max-width: 34em !important;
  padding-top: 6px;
}
.tg-home-content .tg-home-heading h2 {
  margin-bottom: 0 !important;
}
.tg-home-content .tg-home-services {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  border: 0 !important;
  gap: 40px 72px !important;
  padding-bottom: 80px;
}
.tg-home-content [data-home-card] {
  border: 0 !important;
  border-top: 1px solid #111 !important;
  min-height: 280px !important;
  padding: 28px 0 !important;
  gap: 24px !important;
}
.tg-home-content [data-home-card] h3 {
  font-size: 24px !important;
  line-height: 1.6 !important;
  font-weight: 500 !important;
  max-width: 18em;
}
.tg-home-content [data-home-card] p {
  max-width: 34em;
  line-height: 2 !important;
}
.tg-home-content a[data-home-card]:hover,
.tg-home-content a[data-home-card]:focus-visible {
  background: transparent !important;
  color: #111 !important;
  opacity: 1 !important;
}
.tg-home-content #diagnosis {
  background: #f5f5f3 !important;
  margin-top: 0 !important;
}
.tg-home-content #about {
  background: #fff !important;
  color: #111 !important;
}
.tg-main--page .tg-hero {
  border: 0;
  padding: 88px 0 100px;
}
.tg-main--page .tg-hero__grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.8fr);
  gap: 96px;
}
.tg-main--page .tg-h1 {
  font-size: clamp(36px, 4.3vw, 60px);
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.tg-main--page .tg-hero .tg-label {
  font-size: 12px;
  margin-bottom: 36px;
}
.tg-main--page .tg-hero .tg-label::before {
  display: none;
}
.tg-main--page .tg-hero .tg-lead {
  padding-top: 54px;
  line-height: 2.1;
}
.tg-main--page .tg-section {
  display: block;
  border: 0;
  padding: 72px 0 96px;
}
.tg-main--page .tg-section__label {
  margin-bottom: 24px;
  padding: 0;
  font-size: 12px;
}
.tg-main--page .tg-section__grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: 64px 96px;
}
.tg-main--page .tg-h2 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.6;
  letter-spacing: -0.015em;
}
.tg-main--page .tg-h2::after {
  height: 2px;
  margin-top: 26px;
}
.tg-main--page .tg-prose {
  font-size: 15px;
  line-height: 2.1;
  max-width: 35em;
}
.tg-main--page .tg-photo--stock {
  width: 86%;
  margin-top: 56px;
}
.tg-main--page .tg-photo--stock .tg-photo__media {
  aspect-ratio: 16/8;
}
.tg-main--page .tg-outro {
  background: #f5f5f3;
  border: 0;
  margin-top: 64px;
}
body.single-post .tg-hero .tg-h1 {
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.6;
}
.tg-footer {
  border-top: 0;
  padding-top: 88px;
}
.tg-footer__cols {
  gap: 48px;
  font-size: 12px;
  line-height: 2;
}
@media (min-width: 761px) {
  .tg-menu[data-open="true"] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
    grid-template-rows: 80px 1fr auto;
    column-gap: 80px;
    padding: 0 max(64px, calc((100vw - 1120px) / 2));
  }
  .tg-menu__bar {
    grid-column: 1/-1;
    margin: 0 calc(-1 * max(64px, calc((100vw - 1120px) / 2)));
    padding: 0 var(--gutter);
    height: 80px;
  }
  .tg-menu__list {
    grid-column: 1;
    grid-row: 2;
    padding: 48px 0;
  }
  .tg-menu-services {
    grid-column: 2;
    grid-row: 2;
    padding: 64px 0 48px;
  }
  .tg-menu__list a {
    border: 0;
    min-height: 64px;
    padding: 12px 0;
  }
  .tg-menu__list a b {
    font-size: 24px;
    font-weight: 400;
  }
  .tg-menu-services a {
    border: 0;
    min-height: 56px;
  }
  .tg-menu__ctas {
    grid-column: 1/-1;
    margin-top: 0;
    background: #111;
    gap: 48px;
    justify-content: start;
    padding: 24px 0;
  }
  .tg-menu__ctas a {
    flex: 0 1 auto;
    min-height: 44px;
    padding: 12px 0;
  }
}
@media (max-width: 1100px) and (min-width: 761px) {
  .tg-top-hero__inner {
    padding-top: 48px;
  }
  .tg-top-visual {
    height: 600px;
  }
  .tg-top-summary {
    padding-right: 32px;
  }
  .tg-home-content .tg-home-grid,
  .tg-main--page .tg-hero__grid,
  .tg-main--page .tg-section__grid {
    gap: 48px !important;
  }
  .tg-menu[data-open="true"] {
    column-gap: 40px;
    padding: 0 40px;
  }
  .tg-menu__bar {
    margin: 0 -40px;
  }
}
@media (max-width: 760px) {
  .tg-header__inner {
    height: 64px;
  }
  .tg-header__logo img {
    height: 14px;
  }
  .tg-top-meta {
    padding-top: 16px;
    font-size: 9px;
  }
  .tg-top-hero__inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 44px 0 0;
    margin-bottom: 36px;
    gap: 0;
  }
  .tg-top-title {
    padding: 0 0 32px;
    width: 100%;
    background: transparent;
  }
  .tg-top-logo {
    height: 16px;
    margin-bottom: 28px;
  }
  .tg-top-hero .tg-h1 {
    font-size: clamp(40px, 8vw, 58px);
    line-height: 1.4;
    max-width: none;
    text-wrap: balance;
  }
  .tg-top-visual {
    width: calc(100% + var(--gutter));
    height: 280px;
    margin: 0 0 0 calc(-1 * var(--gutter));
    align-self: start;
  }
  .tg-top-summary {
    width: 100%;
    margin-top: -28px;
    margin-left: 20px;
    padding: 28px 20px 0 0;
    background: #fff;
    max-width: calc(100% - 20px);
  }
  .tg-top-hero .tg-lead {
    font-size: 15px;
    line-height: 2;
  }
  .tg-top-hero .tg-ctas {
    max-width: none;
    width: 100%;
    align-items: stretch;
    gap: 12px;
    margin-top: 24px;
  }
  .tg-top-hero .tg-btn {
    width: 100%;
    justify-content: space-between;
  }
  .tg-top-nav {
    padding: 20px 0;
    gap: 8px 20px;
  }
  .tg-home-content .tg-home-row {
    padding: 60px 0 !important;
    gap: 24px !important;
  }
  .tg-home-content .tg-home-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  .tg-home-content h2 {
    font-size: 30px !important;
    line-height: 1.6 !important;
  }
  .tg-home-content h2::after {
    margin-top: 22px;
    width: 32px;
  }
  .tg-home-content .tg-home-copy {
    padding-top: 0;
  }
  .tg-home-content .tg-home-services {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    padding-bottom: 48px;
  }
  .tg-home-content [data-home-card] {
    min-height: 0 !important;
    padding: 28px 0 !important;
    gap: 18px !important;
  }
  .tg-home-content [data-home-card] h3 {
    font-size: 22px !important;
  }
  .tg-main--page .tg-hero {
    padding: 48px 0 60px;
  }
  .tg-main--page .tg-hero__grid,
  .tg-main--page .tg-section__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .tg-main--page .tg-h1 {
    font-size: 34px;
    line-height: 1.55;
  }
  .tg-main--page .tg-hero .tg-label {
    margin-bottom: 24px;
  }
  .tg-main--page .tg-hero .tg-lead {
    padding-top: 0;
  }
  .tg-main--page .tg-section {
    padding: 40px 0 56px;
  }
  .tg-main--page .tg-section__label {
    margin-bottom: 20px;
  }
  .tg-main--page .tg-h2 {
    font-size: 28px;
    line-height: 1.65;
  }
  .tg-main--page .tg-photo--stock {
    width: 94%;
    margin-top: 32px;
  }
  .tg-main--page .tg-photo--stock .tg-photo__media {
    aspect-ratio: 3/2;
  }
  .tg-footer {
    padding-top: 56px;
  }
  .tg-footer__cols {
    gap: 28px 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tg-top-visual img {
    transition: none;
  }
}
.tg-menu-services {
  align-content: start;
}
.tg-main--page .tg-grid {
  border: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 64px;
}
.tg-main--page .tg-card {
  border: 0;
  border-top: 1px solid #111;
  padding: 24px 0;
  gap: 20px;
}
.tg-main--page .tg-card:hover,
.tg-main--page .tg-card:focus-visible {
  background: #fff;
  color: #111;
  opacity: 0.7;
}
@media (max-width: 760px) {
  .tg-main--page .tg-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
@media (min-width: 761px) {
  .tg-top-hero__inner {
    padding-top: 48px;
  }
  .tg-top-title {
    padding-top: 24px;
    padding-bottom: 24px;
  }
  .tg-top-logo {
    margin-bottom: 32px;
  }
  .tg-top-hero .tg-h1 {
    font-size: clamp(48px, 5.7vw, 80px);
    line-height: 1.3;
  }
  .tg-top-visual {
    height: 560px;
  }
  .tg-top-summary {
    padding-top: 24px;
    padding-bottom: 24px;
  }
}

/* v6.21: clear conversion hierarchy, measured rhythm and restrained interaction. */
.tg-header__recruit {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 12px;
  white-space: nowrap;
  text-decoration: none;
  text-underline-offset: 6px;
}
.tg-header__recruit:hover,
.tg-header__recruit:focus-visible {
  text-decoration: underline;
}
body.tg-renewal .tg-header .tg-btn {
  border: 1px solid #111;
  padding: 0 20px;
  min-height: 44px;
  background: #111;
  color: #fff;
}
.tg-top-hero .tg-ctas .tg-btn:first-child {
  background: #111;
  color: #fff;
  padding: 16px 24px;
  border: 1px solid #111;
  min-height: 54px;
  transition:
    background-color 180ms ease,
    color 180ms ease;
}
.tg-top-hero .tg-ctas .tg-btn:first-child:hover,
.tg-top-hero .tg-ctas .tg-btn:first-child:focus-visible {
  background: #fff;
  color: #111;
  opacity: 1;
}
.tg-home-content #about {
  border-top: 1px solid #111 !important;
  border-bottom: 1px solid #111 !important;
}
.tg-home-content #about .tg-btn {
  min-height: 48px;
}
.tg-main a:focus-visible,
.tg-header a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}
.tg-main .tg-photo,
.tg-top-visual {
  isolation: isolate;
}
.tg-photo.tg-photo-enter {
  animation: tg-photo-arrive 650ms cubic-bezier(0.2, 0.65, 0.3, 1) both;
}
.tg-top-visual img {
  animation: tg-hero-arrive 800ms cubic-bezier(0.2, 0.65, 0.3, 1) both;
}
@keyframes tg-photo-arrive {
  from {
    opacity: 0.65;
    translate: 0 14px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
@keyframes tg-hero-arrive {
  from {
    opacity: 0.6;
    transform: scale(1.025);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@media (max-width: 760px) {
  .tg-header__right {
    gap: 12px;
  }
  .tg-header__recruit {
    font-size: 11px;
  }
  body.tg-renewal .tg-header .tg-menu-toggle {
    width: 44px;
    min-width: 44px;
  }
  .tg-top-hero .tg-ctas {
    align-items: stretch;
  }
  .tg-top-hero .tg-ctas .tg-btn:first-child {
    width: 100%;
    justify-content: center;
    padding: 14px 12px;
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tg-photo.tg-photo-enter,
  .tg-top-visual img {
    animation: none;
  }
}

/* v6.22: retain legibility in every service-card interaction state. */
.tg-home-content a[data-home-card]:is(:hover, :focus-visible) :is(h3, p, span) {
  color: #111 !important;
}

/* Graphic rhythm: quiet numbered sections, a single dark conversion section. */
.tg-top-meta,
.tg-home-label,
.tg-section__label {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.12em;
}
.tg-top-meta {
  border-top: 1px solid #111;
  padding-top: 16px;
  margin-top: 20px;
}
.tg-home-content a[data-home-card] {
  position: relative;
  isolation: isolate;
  transition: none;
  transform: none;
}
.tg-home-content a[data-home-card]::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #111;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
  pointer-events: none;
}
.tg-home-content a[data-home-card]:focus-visible {
  outline: 2px solid #111;
  outline-offset: 6px;
}
.tg-home-content a[data-home-card]:focus-visible::after {
  transform: scaleX(1);
}
@media (hover: hover) and (pointer: fine) {
  .tg-home-content a[data-home-card]:hover::after {
    transform: scaleX(1);
  }
}
.tg-home-content #diagnosis {
  background: #111 !important;
  color: #fff !important;
}
.tg-home-content #diagnosis :is(h2, p, .tg-home-label, .tg-home-copy) {
  color: #fff !important;
}
.tg-home-content #diagnosis h2::after {
  background: #fff;
}
.tg-home-content #diagnosis a[data-home-button] {
  background: #fff !important;
  color: #111 !important;
  border: 1px solid #fff;
}
.tg-home-content #diagnosis a[data-home-button] span {
  color: inherit !important;
}
.tg-home-content #diagnosis a[data-home-button]:is(:hover, :focus-visible) {
  background: #111 !important;
  color: #fff !important;
  outline: 2px solid #fff;
  outline-offset: 4px;
}
@media (prefers-reduced-motion: reduce) {
  .tg-home-content a[data-home-card]::after {
    transition: none;
  }
}

/* v6.23: site-wide photographic direction. Do not add per-page colour overrides. */
.tg-main :is(.tg-top-visual, .tg-photo) img {
  filter: grayscale(1);
  object-position: center;
}
.tg-top-visual {
  width: 100%;
  margin: 0;
  align-self: center;
  height: auto;
  aspect-ratio: 1.35;
}
.tg-top-visual img {
  object-position: 85% 50% !important;
}
.tg-top-summary {
  width: 100%;
  padding-right: 40px;
}
.tg-main--page .tg-photo--stock {
  width: 100%;
  margin: 48px 0 0;
}
.tg-main--page .tg-photo--stock .tg-photo__media {
  aspect-ratio: 2/1;
}
.tg-main--page .tg-photo--stock img {
  object-fit: cover;
}
@media (max-width: 760px) {
  .tg-top-visual {
    width: 100%;
    margin: 0;
    aspect-ratio: 2/1;
    height: auto;
  }
  .tg-top-visual img {
    object-position: center !important;
  }
  .tg-top-summary {
    width: 100%;
    margin: 0;
    padding: 28px 0 0;
  }
  .tg-main--page .tg-photo--stock {
    width: 100%;
    margin-top: 32px;
  }
  .tg-main--page .tg-photo--stock .tg-photo__media {
    aspect-ratio: 2/1;
  }
}

/* ==========================================================================
   図版（旧 tg-graphic-system.css）
   ========================================================================== */
/* 2026-10-06: original editorial system. Large indices, framed photographs,
   measured contrast; content and link structure remain unchanged. */
.tg-top-hero__inner {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 48px;
  padding-top: 56px;
  margin-bottom: 56px;
}
.tg-top-title {
  padding: 12px 0 24px;
  background: transparent;
}
.tg-top-hero .tg-h1 {
  font-size: clamp(54px, 6.8vw, 98px);
  line-height: 1.23;
  letter-spacing: -0.055em;
  font-weight: 600;
  max-width: 6em;
}
.tg-top-logo {
  height: 16px;
  margin-bottom: 40px;
}
.tg-top-summary {
  padding: 12px 0 0;
  background: transparent;
}
.tg-top-visual {
  position: relative;
  aspect-ratio: 1.08;
  background: #111;
  padding: 18px 18px 56px;
  align-self: stretch;
  min-height: 0;
}
.tg-top-visual img {
  height: 100%;
  object-position: 80% center !important;
}
.tg-top-visual::after {
  content: "TECHNOGRAM / SEO · AIO · ANALYTICS · ADS · WEB";
  position: absolute;
  bottom: 20px;
  left: 18px;
  right: 18px;
  font:
    9px/1.5 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  letter-spacing: 0.05em;
  color: #fff;
}
.tg-top-meta {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  border-top: 2px solid #111;
}
.tg-top-nav {
  border-top: 1px solid #111;
  border-bottom: 1px solid #111;
  gap: 12px 24px;
  counter-reset: jump;
}
.tg-top-nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  counter-increment: jump;
}
.tg-top-nav a::before {
  content: counter(jump, decimal-leading-zero);
  font:
    10px/1 ui-monospace,
    monospace;
  color: #666;
}
.tg-home-content .tg-home-label {
  display: flex;
  align-items: baseline;
  gap: 18px;
  letter-spacing: 0.1em !important;
}
.tg-home-content .tg-index-number {
  font:
    500 64px/0.9 Arial,
    Helvetica,
    sans-serif;
  letter-spacing: -0.07em;
  min-width: 1.15em;
}
.tg-home-content .tg-index-name {
  font:
    11px/1.5 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  letter-spacing: 0.08em;
}
.tg-home-content .tg-home-row {
  padding: 88px 0 !important;
  gap: 36px !important;
}
.tg-home-content h2::after {
  display: none;
}
.tg-home-content #stance h2 {
  font-size: clamp(34px, 4.4vw, 58px) !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  letter-spacing: -0.035em !important;
}
.tg-home-content #case {
  background: #f3f3f0;
  max-width: 1280px !important;
}
.tg-home-content #case .tg-home-row {
  padding: 64px 0 !important;
}
.tg-home-content #service .tg-home-row {
  padding-bottom: 48px !important;
}
.tg-home-content .tg-home-services {
  gap: 40px 56px !important;
}
.tg-home-content [data-home-card] {
  padding: 28px 0 32px !important;
  gap: 24px !important;
}
.tg-home-content [data-home-card] > div:first-child {
  align-items: center;
  min-height: 76px;
}
.tg-home-content [data-home-card] > div:first-child > span:first-child {
  font:
    500 80px/0.9 Arial,
    Helvetica,
    sans-serif;
  letter-spacing: -0.08em;
}
.tg-home-content [data-home-card] > div:first-child > span:last-child {
  font:
    11px/1.5 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  border: 1px solid #111;
  padding: 6px 10px;
}
.tg-home-content [data-home-card] h3 {
  min-height: 3.2em;
  font-weight: 600 !important;
  font-size: 23px !important;
}
.tg-home-content [data-home-card] > span:last-child {
  border-top: 1px solid #ddd;
  padding-top: 16px;
  justify-content: space-between;
}
.tg-home-content [data-home-card] > span:last-child > span {
  transition: transform 180ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .tg-home-content [data-home-card]:hover > span:last-child > span {
    transform: translateX(4px);
  }
}
.tg-home-content #diagnosis .tg-index-number {
  color: #fff !important;
}
.tg-home-content #diagnosis h2 {
  font-size: clamp(34px, 4vw, 54px) !important;
  font-weight: 500 !important;
}
.tg-home-content #about {
  border-top: 2px solid #111 !important;
  border-bottom: 2px solid #111 !important;
}
.tg-home-content #about h2 {
  font-size: clamp(34px, 4.4vw, 58px) !important;
  font-weight: 600 !important;
}
.tg-main--page .tg-hero {
  border-bottom: 2px solid #111;
  padding-bottom: 72px;
  margin-bottom: 24px;
}
.tg-main--page .tg-hero .tg-label {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  border: 1px solid #111;
  padding: 7px 12px;
  letter-spacing: 0.1em;
}
.tg-main--page .tg-section {
  border-bottom: 1px solid #d5d5d3;
  padding: 64px 0 72px;
}
.tg-main--page .tg-section__label {
  font:
    500 48px/1 Arial,
    Helvetica,
    sans-serif;
  letter-spacing: -0.06em;
  margin-bottom: 32px;
}
.tg-main--page .tg-h2::after {
  display: none;
}
.tg-main--page .tg-photo--stock {
  background: #111;
  padding: 16px;
}
.tg-main--page .tg-outro {
  border-top: 2px solid #111;
  background: #f3f3f0;
}
.tg-footer {
  border-top: 2px solid #111;
}
.tg-footer__signature {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 64px;
  padding: 0;
  pointer-events: none;
}
@media (max-width: 1100px) and (min-width: 761px) {
  .tg-top-hero__inner {
    column-gap: 32px;
  }
  .tg-top-hero .tg-h1 {
    font-size: 64px;
  }
  .tg-top-visual {
    aspect-ratio: auto;
  }
}
@media (max-width: 760px) {
  .tg-top-hero__inner {
    padding-top: 36px;
    margin-bottom: 40px;
    gap: 0;
  }
  .tg-top-hero .tg-h1 {
    font-size: clamp(42px, 10vw, 64px);
    max-width: none;
    line-height: 1.35;
  }
  .tg-top-logo {
    margin-bottom: 24px;
  }
  .tg-top-visual {
    aspect-ratio: 1.8;
    padding: 10px 10px 36px;
    align-self: stretch;
  }
  .tg-top-visual::after {
    font-size: 7px;
    bottom: 12px;
    left: 10px;
    right: 10px;
    letter-spacing: 0;
  }
  .tg-top-summary {
    padding-top: 28px;
  }
  .tg-top-nav {
    gap: 12px 20px;
  }
  .tg-top-nav a {
    font-size: 11px;
  }
  .tg-home-content .tg-index-number {
    font-size: 44px;
  }
  .tg-home-content .tg-home-label {
    gap: 16px;
  }
  .tg-home-content .tg-home-row {
    padding: 56px 0 !important;
    gap: 28px !important;
  }
  .tg-home-content #case .tg-home-row {
    padding: 48px 0 !important;
  }
  .tg-home-content #stance h2,
  .tg-home-content #about h2,
  .tg-home-content #diagnosis h2 {
    font-size: 32px !important;
  }
  .tg-home-content #service .tg-home-row {
    padding-bottom: 32px !important;
  }
  .tg-home-content [data-home-card] > div:first-child {
    min-height: 58px;
  }
  .tg-home-content [data-home-card] > div:first-child > span:first-child {
    font-size: 60px;
  }
  .tg-home-content [data-home-card] h3 {
    font-size: 22px !important;
    min-height: 0;
  }
  .tg-home-content .tg-home-services {
    gap: 16px !important;
  }
  .tg-main--page .tg-hero {
    padding-bottom: 48px;
    margin-bottom: 0;
  }
  .tg-main--page .tg-section {
    padding: 40px 0 48px;
  }
  .tg-main--page .tg-section__label {
    font-size: 36px;
    margin-bottom: 24px;
  }
  .tg-main--page .tg-photo--stock {
    padding: 8px;
  }
  .tg-footer__signature {
    margin-bottom: 40px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tg-home-content [data-home-card] > span:last-child > span {
    transition: none;
    transform: none !important;
  }
}

/* Representative profile: compact title, portrait and message on one shared grid. */
.page-id-4013 .tg-main--page .tg-hero {
  padding-top: 48px;
  padding-bottom: 40px;
  margin-bottom: 0;
}
.page-id-4013 .tg-main--page .tg-hero__grid {
  grid-template-columns: 1fr;
  gap: 0;
}
.page-id-4013 .tg-main--page .tg-hero .tg-label {
  border: 0;
  padding: 0;
  letter-spacing: 0.04em;
  font-size: 11px;
}
.page-id-4013 .tg-main--page .tg-hero .tg-h1 {
  margin-top: 24px;
  margin-bottom: 0;
}
.page-id-4013 #sec-01 .tg-section__grid {
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  gap: 24px 72px;
  align-items: start;
}
.page-id-4013 #sec-01 .tg-portrait-intro {
  display: contents;
}
.page-id-4013 #sec-01 .tg-photo--portrait {
  grid-column: 1;
  grid-row: 1 / 3;
  width: 100%;
  max-width: 320px;
  margin: 0;
}
.page-id-4013 #sec-01 .tg-h2 {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
}
.page-id-4013 #sec-01 .tg-prose {
  grid-column: 2;
  grid-row: 2;
  max-width: 36em;
}
.page-id-4013 #sec-02 .tg-section__grid {
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  gap: 72px;
}
.page-id-4013 #sec-02 .tg-h2 {
  font-size: 30px;
  line-height: 1.5;
}
@media (max-width: 760px) {
  .page-id-4013 .tg-main--page .tg-hero {
    padding-top: 32px;
    padding-bottom: 32px;
  }
  .page-id-4013 .tg-main--page .tg-hero .tg-label {
    font-size: 10px;
    line-height: 1.8;
  }
  .page-id-4013 #sec-01 .tg-section__grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 24px !important;
  }
  .page-id-4013 #sec-01 .tg-photo--portrait {
    grid-column: 1;
    grid-row: 1;
    max-width: 280px;
  }
  .page-id-4013 #sec-01 .tg-h2 {
    grid-column: 1;
    grid-row: 2;
  }
  .page-id-4013 #sec-01 .tg-prose {
    grid-column: 1;
    grid-row: 3;
  }
  .page-id-4013 #sec-02 .tg-section__grid {
    grid-template-columns: 1fr;
    gap: 24px !important;
  }
  .page-id-4013 #sec-02 .tg-h2 {
    font-size: 26px;
  }
}

/* Editorial motion: one-shot composition, no automatic loops or scroll hijacking. */
@keyframes tg-index-arrive {
  from {
    transform: translateX(-24px);
    color: transparent;
    -webkit-text-stroke: 1px #777;
  }
  to {
    transform: none;
    color: inherit;
    -webkit-text-stroke: 0;
  }
}
@keyframes tg-type-arrive {
  from {
    transform: translateY(18px);
  }
  to {
    transform: none;
  }
}
@keyframes tg-frame-open {
  from {
    clip-path: inset(0 100% 0 0);
    transform: scale(1.035);
  }
  to {
    clip-path: inset(0);
    transform: scale(1);
  }
}
@keyframes tg-signature-arrive {
  from {
    clip-path: inset(0 0 100% 0);
    transform: translateY(24px);
  }
  to {
    clip-path: inset(0);
    transform: none;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .tg-beat .tg-index-number,
  .tg-section.tg-beat > .tg-section__label {
    animation: tg-index-arrive 650ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }
  .tg-home-row.tg-beat h2,
  .tg-section.tg-beat .tg-h2 {
    animation: tg-type-arrive 700ms cubic-bezier(0.16, 1, 0.3, 1) 90ms both;
  }
  .tg-top-hero.tg-beat .tg-top-visual img {
    animation: tg-frame-open 1100ms cubic-bezier(0.76, 0, 0.24, 1) both;
  }
  .tg-top-hero.tg-beat .tg-top-title {
    animation: tg-type-arrive 850ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }
  .tg-photo.tg-photo-enter .tg-photo__media {
    animation: tg-frame-open 900ms cubic-bezier(0.76, 0, 0.24, 1) both;
  }
  .tg-footer.tg-beat .tg-footer__signature {
    animation: tg-signature-arrive 900ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }
}
.tg-home-content [data-home-card] > div:first-child > span:first-child {
  transition:
    transform 280ms ease,
    color 280ms ease;
}
.tg-home-content [data-home-card] > span:last-child > span {
  font-size: 22px;
  line-height: 1;
}
.tg-link,
.tg-btn {
  transition:
    background-color 220ms ease,
    color 220ms ease,
    border-color 220ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .tg-home-content [data-home-card]:hover > div:first-child > span:first-child {
    transform: translateX(8px);
    color: #707070;
  }
  .tg-home-content [data-home-card]:hover > span:last-child > span {
    transform: translateX(6px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .tg-beat *,
  .tg-photo.tg-photo-enter .tg-photo__media {
    animation: none !important;
  }
  .tg-home-content [data-home-card] > div:first-child > span:first-child {
    transition: none;
    transform: none !important;
  }
}

/* Mid-size screens need a reading column, rather than narrow desktop columns. */
@media (min-width: 761px) and (max-width: 1000px) {
  .tg-main--page .tg-hero__grid,
  .tg-main--page .tg-section__grid {
    grid-template-columns: 1fr;
    gap: 28px !important;
  }
  .tg-main--page .tg-hero .tg-lead {
    padding-top: 0;
    max-width: 40em;
  }
  .tg-main--page .tg-prose {
    max-width: 40em;
  }
  .tg-main--page .tg-hero {
    padding-top: 56px;
    padding-bottom: 48px;
  }
  .tg-main--page .tg-hero .tg-label {
    margin-bottom: 24px;
  }
  .tg-home-content .tg-home-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  .tg-home-content .tg-home-copy {
    max-width: 40em !important;
  }
  .tg-top-hero__inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 40px;
  }
  .tg-top-title {
    grid-column: 1;
    grid-row: 1;
    padding: 0;
  }
  .tg-top-hero .tg-h1 {
    max-width: none;
    font-size: 64px;
  }
  .tg-top-logo {
    margin-bottom: 24px;
  }
  .tg-top-visual {
    grid-column: 1;
    grid-row: 2;
    aspect-ratio: 2;
    min-height: 0;
    height: auto;
    align-self: start;
  }
  .tg-top-summary {
    grid-column: 1;
    grid-row: 3;
    width: 100%;
    padding: 0;
  }
  .tg-top-hero .tg-lead {
    max-width: 40em;
  }
  .tg-top-hero .tg-ctas {
    flex-direction: row;
    align-items: center;
  }
  .page-id-4013 #sec-01 .tg-section__grid {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 24px 32px !important;
  }
  .page-id-4013 #sec-02 .tg-section__grid {
    grid-template-columns: 1fr;
    gap: 24px !important;
  }
}

/* Balance automatic heading wraps without changing copy or explicit line breaks. */
.tg-main--page .tg-h1,
.tg-main--page .tg-h2,
.tg-main--page .tg-prose h3,
.tg-home-content h2,
.tg-home-content [data-home-card] h3 {
  text-wrap: balance;
}

/* Recruit: give each of the four criteria an equal, readable editorial row. */
.tg-main--page .tg-recruit-criteria {
  margin-top: 40px;
}
.tg-main--page .tg-recruit-criterion {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: 96px;
  padding: 32px 0;
  border-top: 1px solid #d5d5d3;
  align-items: start;
}
.tg-main--page .tg-recruit-criterion:last-child {
  padding-bottom: 0;
}
.tg-main--page .tg-recruit-criterion > h3 {
  margin: 0;
  font-size: 26px;
  line-height: 1.6;
  font-weight: 500;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.tg-main--page .tg-recruit-criterion .tg-prose p {
  margin: 0 0 16px;
}
.tg-main--page .tg-recruit-criterion .tg-prose p:last-child {
  margin-bottom: 0;
}
@media (max-width: 1000px) {
  .tg-main--page .tg-recruit-criterion {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 28px 0;
  }
  .tg-main--page .tg-recruit-criterion > h3 {
    font-size: 24px;
  }
  .tg-main--page .tg-recruit-criteria {
    margin-top: 32px;
  }
}
@media (max-width: 760px) {
  .tg-main--page .tg-recruit-criterion > h3 {
    font-size: 22px;
  }
}

/* ==========================================================================
   ページ種別ごとのデザイン（旧 tg-role-design.css）
   ========================================================================== */
/* v6.34: page purpose determines hierarchy, density and information form. */
.tg-renewal {
  --tg-copy-size: 15px;
  --tg-copy-line: 2;
  --tg-small-size: 12px;
  --tg-rule-width: 1px;
  --tg-section-top: 44px;
  --tg-section-bottom: 52px;
}
.tg-renewal .tg-main--page .tg-prose {
  font-size: var(--tg-copy-size);
  line-height: var(--tg-copy-line);
}
.tg-renewal .tg-main--page .tg-h2 .tg-phrase {
  display: inline;
  white-space: normal;
}
.tg-renewal .tg-main--page .tg-section {
  padding: 44px 0 52px;
}
.tg-renewal .tg-main--page .tg-section__label {
  font:
    12px/1.4 ui-monospace,
    monospace;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  color: #666;
}
.tg-renewal .tg-main--page .tg-h2 {
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.55;
  letter-spacing: -0.025em;
}
.tg-renewal .tg-main--page .tg-hero .tg-label {
  border: 0;
  padding: 0;
  letter-spacing: 0.04em;
  font-weight: 500;
}
.tg-renewal .tg-main--page .tg-hero .tg-label::before {
  width: 16px;
  margin-right: 8px;
}
.tg-renewal .tg-main--page .tg-hero {
  padding-bottom: 48px;
}
.tg-renewal .tg-main--page .tg-hero .tg-h1 {
  letter-spacing: -0.035em;
  line-height: 1.4;
  text-wrap: pretty;
}
.tg-renewal .tg-section.tg-beat > .tg-section__label,
.tg-renewal .tg-section.tg-beat .tg-h2,
.tg-renewal .tg-home-row.tg-beat h2,
.tg-renewal .tg-beat .tg-index-number {
  animation: none;
}
.tg-renewal a:focus-visible,
.tg-renewal button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}
.tg-role-overview {
  padding-top: 36px;
  padding-bottom: 20px;
}
.tg-work-graphic {
  margin: 0;
  color: #111;
  min-width: 0;
}
.tg-work-graphic figcaption {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.8;
  margin-bottom: 24px;
}
.tg-graphic-note {
  font-size: 12px;
  line-height: 1.85;
  color: #555;
  max-width: 64em;
  margin: 20px 0 0;
}
.tg-graphic-flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 0;
  border-top: 2px solid #111;
}
.tg-graphic-flow li {
  padding: 26px 24px 20px 0;
  min-width: 0;
  position: relative;
  border-bottom: 1px solid #bbb;
}
.tg-graphic-flow li + li {
  border-left: 1px solid #bbb;
  padding-left: 24px;
}
.tg-graphic-flow strong {
  display: block;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: -0.02em;
}
.tg-graphic-flow li > span {
  display: block;
  font-size: 13px;
  line-height: 1.85;
  margin-top: 16px;
  max-width: 20em;
}
.tg-work-graphic--cycle .tg-graphic-flow li:last-child {
  background: #111;
  color: #fff;
  padding-right: 24px;
}
.tg-work-graphic--cycle .tg-graphic-flow li:last-child strong::after {
  content: " ↺";
  font-family: Arial, sans-serif;
}
.tg-work-graphic--channel .tg-graphic-flow {
  border: 0;
  gap: 24px;
  align-items: start;
}
.tg-work-graphic--channel .tg-graphic-flow li {
  border: 0;
  border-top: 2px solid #111;
  padding-left: 0;
  padding-top: 20px;
}
.tg-work-graphic--channel .tg-graphic-flow li:nth-child(2) {
  margin-top: 32px;
}
.tg-work-graphic--channel .tg-graphic-flow li:nth-child(3) {
  margin-top: 64px;
}
.tg-work-graphic--thinking .tg-graphic-flow strong {
  font-size: 24px;
}
.tg-work-graphic--thinking .tg-graphic-flow li {
  border-left: 0;
}
.tg-work-graphic--thinking .tg-graphic-flow li + li::before {
  content: "→";
  position: absolute;
  left: -16px;
  top: 30px;
  font-size: 16px;
}
.tg-graphic-fields {
  margin: 0;
  padding: 0;
}
.tg-graphic-fields > div {
  display: grid;
  grid-template-columns: minmax(100px, 1fr) minmax(0, 3fr);
  gap: 24px;
  border-top: 1px solid #bbb;
  padding: 20px 0;
}
.tg-graphic-fields > div:last-child {
  border-bottom: 1px solid #bbb;
}
.tg-graphic-fields dt {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.8;
  margin: 0;
}
.tg-graphic-fields dd {
  font-size: 14px;
  line-height: 1.9;
  margin: 0;
}
.tg-work-graphic--paper {
  border: 1px solid #111;
  padding: 32px 40px;
  background: #f6f6f3;
  position: relative;
}
.tg-work-graphic--paper::before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  border: 1px solid #111;
  border-radius: 50%;
  position: absolute;
  right: 24px;
  top: 24px;
}
.tg-work-graphic--paper figcaption {
  font-size: 26px;
  line-height: 1.55;
  padding-right: 28px;
}
.tg-diagnosis-terms {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  border-bottom: 2px solid #111;
  padding-bottom: 28px;
  margin-bottom: 12px;
}
.tg-diagnosis-terms span {
  font-size: 12px;
  line-height: 1.8;
  min-width: 0;
}
.tg-diagnosis-terms b {
  display: block;
  font-size: 25px;
  font-weight: 500;
  line-height: 1.55;
  margin-bottom: 4px;
}
.tg-work-graphic--paper .tg-graphic-fields dd {
  border-bottom: 1px dotted #888;
  padding-bottom: 12px;
}
.tg-work-graphic--memo {
  border-left: 4px solid #111;
  background: #f3f3f0;
  padding: 24px 28px;
  margin-bottom: 36px;
}
.tg-work-graphic--memo .tg-graphic-fields > div {
  padding: 14px 0;
  grid-template-columns: 100px minmax(0, 1fr);
}
.tg-work-graphic--comparison .tg-graphic-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.tg-work-graphic--comparison .tg-graphic-fields > div {
  display: block;
  border: 0;
  border-top: 2px solid #111;
  padding: 24px 0;
}
.tg-work-graphic--comparison dt {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 24px;
}
.tg-work-graphic--comparison dd {
  font-size: 15px;
  line-height: 1.9;
}
.tg-work-graphic--checklist dt::before {
  content: "□";
  margin-right: 12px;
  font-family: Arial, sans-serif;
}
.tg-work-graphic--record {
  border-top: 2px solid #111;
  border-bottom: 2px solid #111;
  padding: 24px 0;
}
.tg-work-graphic--record .tg-graphic-fields > div {
  padding: 12px 0;
}
.tg-service-matrix {
  border-top: 2px solid #111;
}
.tg-service-matrix__axis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid #111;
}
.tg-service-matrix__axis span {
  font-size: clamp(19px, 2.6vw, 32px);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -0.035em;
  position: relative;
}
.tg-service-matrix__axis span::before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  background: #111;
  margin-bottom: 16px;
  border-radius: 50%;
}
.tg-service-matrix__axis span:nth-child(2)::before {
  width: 18px;
  border-radius: 0;
  height: 2px;
}
.tg-service-matrix__axis span:nth-child(3)::before {
  width: 18px;
  height: 7px;
  border-radius: 0;
  border-top: 2px solid #111;
  border-bottom: 2px solid #111;
  background: transparent;
}
.tg-service-matrix__axis span:nth-child(4)::before {
  width: 9px;
  height: 9px;
  border-radius: 0;
  background: transparent;
  border: 1px solid #111;
}
.tg-service-matrix > a {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 8px 32px;
  padding: 24px 0;
  border-bottom: 1px solid #bbb;
  color: #111;
  text-decoration: none;
  min-height: 44px;
}
.tg-service-matrix strong {
  font-size: 21px;
  font-weight: 500;
  line-height: 1.65;
  grid-row: 1/3;
}
.tg-service-matrix a > span {
  font-size: 14px;
  line-height: 1.9;
}
.tg-service-matrix small {
  font-size: 11px;
  line-height: 1.8;
  color: #555;
}
.tg-service-touchpoints {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}
.tg-contact-mark {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 11px;
  line-height: 1.8;
}
.tg-contact-mark::before {
  content: "";
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #111;
}
.tg-contact-mark--understand::before {
  width: 18px;
  height: 2px;
  border-radius: 0;
}
.tg-contact-mark--compare::before {
  width: 18px;
  height: 7px;
  border-radius: 0;
  border-top: 2px solid #111;
  border-bottom: 2px solid #111;
  background: transparent;
}
.tg-contact-mark--consult::before {
  width: 9px;
  height: 9px;
  border: 1px solid #111;
  border-radius: 0;
  background: transparent;
}
.tg-service-matrix a:hover strong {
  text-decoration: underline;
  text-underline-offset: 6px;
}
.tg-observation-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  border-top: 2px solid #111;
}
.tg-observation-pair > div {
  padding: 28px 0;
  border-bottom: 1px solid #111;
}
.tg-observation-pair > div + div {
  border-left: 1px solid #bbb;
  padding-left: 48px;
}
.tg-observation-pair span {
  font-size: 12px;
  letter-spacing: 0.04em;
}
.tg-observation-pair strong {
  display: block;
  font-size: clamp(26px, 3.6vw, 44px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.035em;
  margin: 24px 0;
}
.tg-observation-pair p {
  font-size: 14px;
  line-height: 1.95;
  max-width: 26em;
  margin: 0;
}
.tg-site-plan {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.tg-site-plan > strong {
  display: block;
  border: 1px solid #111;
  padding: 18px 24px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.8;
}
.tg-site-plan > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 32px 0;
  position: relative;
}
.tg-site-plan > div::before {
  content: "";
  position: absolute;
  top: 0;
  height: 32px;
  left: 50%;
  width: 1px;
  background: #111;
}
.tg-site-plan > div span {
  border-top: 1px solid #111;
  border-bottom: 1px solid #111;
  padding: 20px 10px;
  font-size: 15px;
  line-height: 1.8;
}
.tg-work-graphic--blueprint {
  padding: 30px;
  background: repeating-linear-gradient(0deg, transparent, transparent 23px, #eee 23px, #eee 24px);
  border: 1px solid #bbb;
}
.tg-design-formats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  border-top: 1px solid #111;
  padding-top: 24px;
  margin-top: 24px;
  font-size: 12px;
  line-height: 1.8;
}
.tg-design-formats span:nth-child(3) {
  border: 1px solid #111;
  padding: 0 8px;
}
.tg-design-formats span:nth-child(5) {
  font-style: italic;
}
.tg-design-formats span:last-child {
  background: #111;
  color: #fff;
  padding: 0 8px;
}
.tg-seo-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: #111;
  border: 1px solid #111;
}
.tg-seo-fields span {
  background: #fff;
  padding: 24px;
  font-size: 12px;
  line-height: 1.8;
}
.tg-seo-fields b {
  display: block;
  font-size: 32px;
  line-height: 1.7;
  font-weight: 500;
}
.tg-cost-scope {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border: 1px solid #111;
  padding: 20px;
}
.tg-cost-scope span {
  padding: 12px 16px;
  border-bottom: 2px solid #111;
  font-size: 15px;
  line-height: 1.8;
}
.tg-cost-scope span:nth-child(2) {
  margin-top: 8px;
  border-bottom-width: 4px;
}
.tg-cost-scope span:nth-child(3) {
  margin-top: 16px;
  border-bottom-style: double;
  border-bottom-width: 4px;
}
.tg-cost-scope span:nth-child(4) {
  margin-top: 24px;
}
.tg-cost-scope span:nth-child(5) {
  margin-top: 32px;
  border-bottom-style: dotted;
}
.tg-three-views {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.tg-three-views > div {
  border-top: 2px solid #111;
  padding: 24px 0;
  border-bottom: 1px solid #bbb;
}
.tg-three-views strong {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.7;
  display: block;
  margin-bottom: 20px;
}
.tg-three-views span {
  font-size: 13px;
  line-height: 1.9;
}
.tg-three-views > div::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  border: 1px solid #111;
  margin-bottom: 24px;
}
.tg-three-views > div:nth-child(2)::before {
  border-radius: 50%;
}
.tg-three-views > div:nth-child(3)::before {
  border-width: 0 0 3px 3px;
  transform: rotate(-45deg);
  width: 20px;
  height: 12px;
  margin-bottom: 32px;
}
.tg-purpose-relations {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: center;
}
.tg-purpose-relations > div {
  border: 1px solid #111;
  border-radius: 50%;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  position: relative;
}
.tg-purpose-relations > div + div::before {
  content: "";
  position: absolute;
  width: 25px;
  left: -25px;
  top: 50%;
  height: 1px;
  background: #111;
}
.tg-purpose-relations strong {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 12px;
}
.tg-purpose-relations span {
  font-size: 12px;
  line-height: 1.9;
  max-width: 10em;
}
.tg-content-branches {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: center;
}
.tg-content-branches__root {
  border: 1px solid #111;
  padding: 28px;
  position: relative;
}
.tg-content-branches__root::after {
  content: "";
  position: absolute;
  right: -49px;
  top: 50%;
  width: 48px;
  height: 1px;
  background: #111;
}
.tg-content-branches__links {
  border-left: 1px solid #111;
  padding-left: 24px;
}
.tg-content-branches__links > div {
  padding: 20px 24px;
  border-top: 1px solid #bbb;
  position: relative;
}
.tg-content-branches__links > div:last-child {
  border-bottom: 1px solid #bbb;
}
.tg-content-branches__links > div::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 50%;
  width: 24px;
  height: 1px;
  background: #111;
}
.tg-content-branches strong {
  display: block;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.7;
}
.tg-content-branches span {
  display: block;
  font-size: 13px;
  line-height: 1.9;
  margin-top: 12px;
}
.tg-role-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  padding: 8px 0 20px;
  border-bottom: 1px solid #111;
}
.tg-role-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  color: #111;
}
.tg-role-nav a:last-child {
  margin-left: auto;
}
/* Home: approved chapter order, names larger than indices, company language at the end. */
.tg-renewal .tg-home-content .tg-index-number {
  font:
    12px/1.5 ui-monospace,
    monospace;
  letter-spacing: 0;
  min-width: 0;
}
.tg-renewal .tg-home-content .tg-home-label {
  gap: 12px;
  flex-basis: 150px !important;
}
.tg-renewal .tg-home-content .tg-home-row {
  padding: 56px 0 !important;
}
.tg-renewal .tg-home-content [data-home-card] {
  min-height: 0 !important;
  padding: 24px 0 !important;
  gap: 16px !important;
}
.tg-renewal .tg-home-content [data-home-card] > div:first-child {
  min-height: 0;
}
.tg-renewal .tg-home-content [data-home-card] > div:first-child > span:first-child {
  font:
    12px/1.5 ui-monospace,
    monospace;
  letter-spacing: 0;
}
.tg-renewal .tg-home-content [data-home-card] > div:first-child > span:last-child {
  border: 0;
  padding: 0;
  font-size: 11px;
}
.tg-renewal .tg-home-content [data-home-card] h3 {
  font-size: clamp(24px, 2.7vw, 34px) !important;
  line-height: 1.5 !important;
  min-height: 0;
  font-weight: 500 !important;
  letter-spacing: -0.025em !important;
}
.tg-renewal .tg-home-content #service .tg-home-row {
  padding-top: 48px !important;
  padding-bottom: 24px !important;
}
.tg-renewal .tg-home-content #service h2 {
  font-size: 24px !important;
  line-height: 1.7 !important;
  margin-bottom: 0 !important;
}
.tg-renewal .tg-home-content #stance h2 {
  font-size: clamp(30px, 3.6vw, 44px) !important;
}
.tg-top-work {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 0 0 40px;
  max-width: none;
  margin-left: 0;
  border-top: 1px solid #111;
}
.tg-top-work span {
  padding-top: 16px;
  font-size: 15px;
  line-height: 1.8;
  position: relative;
}
.tg-top-work span::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #111;
}
.tg-top-work span:last-child::before {
  background: #f3f3f0;
  border: 1px solid #111;
}
.tg-renewal .tg-home-content #about .tg-home-grid {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) !important;
  gap: 64px !important;
}
.tg-renewal .tg-home-content #about h2 {
  font-size: clamp(42px, 5.6vw, 72px) !important;
  line-height: 1.45 !important;
  letter-spacing: -0.04em !important;
}
.tg-renewal .tg-home-content #about .tg-home-label {
  flex-basis: 100% !important;
}
.tg-renewal .tg-home-content #about .tg-home-copy {
  padding-top: 24px;
  max-width: 29em !important;
}
.tg-renewal .tg-home-content #about .tg-home-row {
  border: 0 !important;
}
/* Service choices and concise conditions. */
.tg-role-service .tg-section__grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
}
.tg-page-p03 .tg-body > .tg-container:not(:last-child) .tg-section {
  padding: 32px 0;
}
.tg-page-p03 .tg-section__grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
}
.tg-page-p03 .tg-section__grid > .tg-h2 {
  font-size: 24px;
}
.tg-page-p03 .tg-rows .tg-row {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 32px;
}
.tg-page-p03 .tg-rows .tg-h3 {
  font-size: 25px;
  font-weight: 500;
  line-height: 1.65;
}
.tg-role-service .tg-rows .tg-row {
  padding: 24px 0;
}
.tg-role-service .tg-rows .tg-h3 {
  font-size: 18px !important;
}
.tg-page-p03 .tg-rows .tg-h3 {
  font-size: 25px !important;
}
.tg-role-service .tg-section .tg-work-graphic {
  max-width: 900px;
  margin-left: auto;
  margin-top: 28px;
  margin-bottom: 0;
}
.tg-role-service .tg-section .tg-work-graphic + .tg-section__grid {
  margin-top: 32px;
}
.tg-page-p04 #sec-06 .tg-section__grid {
  grid-template-columns: 1fr;
}
.tg-page-p04 #sec-06 .tg-table {
  max-width: 600px;
}
.tg-page-p05 .tg-section__grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr);
}
/* Reading: a single, centered reading column and visible comparison dimensions. */
.tg-role-article .tg-main .tg-hero__grid {
  grid-template-columns: 1fr;
  gap: 24px;
}
.tg-role-article .tg-main .tg-hero {
  padding-top: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid #111;
}
.tg-role-article .tg-main .tg-hero .tg-h1 {
  font-size: clamp(30px, 3.3vw, 46px);
  max-width: none;
  line-height: 1.55;
  letter-spacing: -0.03em;
}
.tg-role-article .tg-main .tg-hero .tg-h1 {
  text-wrap: balance;
  font-size: clamp(30px, 3.2vw, 44px);
}
.tg-role-article .tg-main .tg-hero .tg-phrase {
  display: inline;
  white-space: normal;
}
.tg-role-article .tg-main .tg-hero .tg-lead {
  max-width: none;
  font-size: 15px;
  line-height: 2;
}
.tg-role-article .tg-main .tg-hero .tg-lead p {
  display: block;
  margin-top: 12px;
}
.tg-role-article .tg-main .tg-hero .tg-lead p + p::before {
  content: none;
}
.tg-role-article .tg-main--center .tg-container {
  width: calc(100% - 64px);
  max-width: 860px;
  padding-left: 0;
  padding-right: 0;
}
.tg-role-article .tg-main--center .tg-section__grid {
  grid-template-columns: 1fr;
  gap: 20px;
}
.tg-role-article .tg-main--center .tg-section__label {
  display: none;
}
.tg-role-article .tg-main--center .tg-section {
  padding: 36px 0 40px;
}
.tg-role-article .tg-main--center .tg-prose {
  max-width: none;
  font-size: 16px;
  line-height: 2.1;
}
.tg-role-article .tg-main--center .tg-prose > p,
.tg-role-article .tg-main--center .tg-prose > ol,
.tg-role-article .tg-main--center .tg-prose > ul {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.tg-role-article .tg-main--center .tg-section__grid > .tg-h2 {
  max-width: 720px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.tg-role-service .tg-section__grid > .tg-h2,
.tg-page-p05 .tg-section__grid > .tg-h2 {
  text-wrap: balance;
}
.tg-role-article .tg-main--center .tg-h2 {
  font-size: 28px;
  line-height: 1.7;
}
.tg-role-article .tg-main--center .tg-rows .tg-row {
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 24px 0;
}
.tg-role-article .tg-main--center .tg-rows .tg-h3 {
  font-size: 19px;
  line-height: 1.8;
}
.tg-role-article .tg-main--center .tg-outro {
  max-width: 960px;
  margin: auto;
  background: #f6f6f3;
}
.tg-role-article .tg-main--center .tg-outro__inner {
  display: block;
  padding: 32px;
}
.tg-role-article .tg-main--center .tg-outro .tg-h2 {
  font-size: 26px;
}
.tg-role-article .tg-main--center .tg-outro .tg-ctas {
  margin-top: 28px;
  gap: 12px;
}
.tg-role-article .tg-main--center .tg-outro .tg-btn {
  min-height: 48px;
  padding: 12px 20px;
}
.tg-role-article .tg-table td,
.tg-role-article .tg-table th {
  font-size: 14px;
  line-height: 1.9;
}
.tg-page-a08 .tg-table td:first-child::before {
  content: "□";
  margin-right: 12px;
  font:
    18px/1 Arial,
    sans-serif;
}
.tg-page-a08 .tg-table td:first-child {
  width: 180px;
  font-weight: 600;
}
.tg-page-a08 .tg-table td {
  padding: 20px 12px;
}
/* People: compact explanations, bold company language, tools and a real portrait. */
.tg-page-p02 #sec-02 .tg-section__grid,
.tg-page-p02 #sec-03 .tg-section__grid {
  grid-template-columns: 1fr;
  gap: 24px;
}
.tg-page-p02 #sec-02 .tg-h2 {
  font-size: clamp(30px, 4.8vw, 56px);
  max-width: 17em;
}
.tg-page-p02 #sec-03 .tg-h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  max-width: 22em;
}
.tg-page-p02 #sec-02 .tg-prose,
.tg-page-p02 #sec-03 .tg-prose {
  max-width: 42em;
  margin-left: auto;
}
.tg-page-p02 #sec-04 .tg-rows {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 48px;
}
.tg-page-p02 #sec-04 .tg-row {
  display: block;
  padding: 28px 0;
}
.tg-page-p02 #sec-04 .tg-row .tg-h3 {
  font-size: 24px;
  line-height: 1.7;
  margin-bottom: 16px;
}
.tg-page-p02 #sec-04 .tg-row:last-child {
  grid-column: 1/-1;
  max-width: 720px;
}
.tg-page-p02 .tg-photo--stock {
  background: transparent !important;
  padding: 0 !important;
  max-width: 720px;
  margin-left: auto !important;
}
.tg-page-p02 .tg-photo--stock .tg-photo__media {
  aspect-ratio: 2;
}
.tg-interests {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 16px 40px;
  padding: 36px 0 8px;
  border-top: 1px solid #111;
  margin-top: 32px;
}
.tg-interests span {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.6;
  letter-spacing: -0.04em;
}
.tg-interests span:nth-child(2) {
  font-size: clamp(22px, 2.8vw, 34px);
  border-bottom: 3px double #111;
}
.tg-interests span:nth-child(3) {
  font-size: clamp(24px, 3vw, 36px);
}
.tg-interests span:last-child {
  margin-left: auto;
  border: 1px solid #111;
  padding: 0 16px;
}
.tg-page-p12 .tg-hero__grid {
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
}
.tg-page-p12 .tg-hero .tg-h1 {
  font-size: clamp(40px, 5.2vw, 68px);
  line-height: 1.5;
}
.tg-page-p12 #sec-01 .tg-section__grid {
  grid-template-columns: 1fr 1fr;
}
.tg-page-p12 #sec-01 .tg-photo {
  max-width: 800px;
  margin-left: auto;
  background: transparent;
  padding: 0;
}
.tg-page-p12 #sec-01 .tg-photo__media {
  aspect-ratio: 1.8;
}
.tg-page-p12 .tg-recruit-criteria {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 0 64px;
}
.tg-page-p12 .tg-recruit-criterion {
  display: block !important;
  padding: 32px 0 !important;
  border-top: 1px solid #111;
}
.tg-page-p12 .tg-recruit-criterion h3 {
  font-size: 26px !important;
  line-height: 1.7 !important;
  margin: 0 0 24px !important;
  font-weight: 500;
}
.tg-page-p12 .tg-recruit-criterion p {
  font-size: 14px;
  line-height: 2;
}
.tg-page-p12 .tg-recruit-criterion p:first-child {
  font-size: 17px;
  line-height: 1.95;
}
.tg-page-p12 #sec-03 .tg-section__grid {
  grid-template-columns: 1fr 1.5fr;
}
.tg-page-p12 #sec-04 {
  background: #111;
  color: #fff;
  padding: 48px;
  margin-top: 16px;
  margin-bottom: 16px;
}
.tg-page-p12 #sec-04 .tg-section__label {
  color: #ccc;
}
.tg-page-p12 #sec-04 .tg-section__grid {
  display: block;
}
.tg-page-p12 #sec-04 .tg-h2 {
  font-size: clamp(38px, 5.8vw, 72px);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 12em;
}
.tg-page-p12 #sec-04 .tg-prose {
  max-width: 38em;
  margin-left: auto;
}
.tg-page-p12 #sec-05 .tg-section__grid,
.tg-page-p12 #sec-06 .tg-section__grid {
  grid-template-columns: 1fr 1.7fr;
}
/* Function pages: quiet fact tables and focus on the task. */
.tg-role-utility .tg-hero__grid {
  grid-template-columns: 1fr;
  gap: 20px;
}
.tg-role-utility .tg-main .tg-hero .tg-h1 {
  font-size: clamp(30px, 3.5vw, 44px);
}
.tg-role-utility .tg-hero .tg-lead {
  max-width: 42em;
}
.tg-role-utility .tg-section__label {
  display: none;
}
.tg-role-utility .tg-main--page .tg-section {
  padding: 32px 0 40px;
}
.tg-page-p13 .tg-main .tg-container,
.tg-page-p14 .tg-main .tg-container,
.tg-page-p16 .tg-main .tg-container {
  max-width: 960px;
}
.tg-page-p13 #sec-01 .tg-section__grid {
  display: block;
}
.tg-page-p13 #sec-01 .tg-h2 {
  font-size: 20px;
  margin-bottom: 20px;
}
.tg-page-p13 .tg-row {
  grid-template-columns: 180px minmax(0, 1fr);
  padding: 16px 0;
}
.tg-page-p13 .tg-row .tg-h3 {
  font-size: 14px;
  font-weight: 500;
}
.tg-page-p14 .tg-role-overview {
  padding-top: 24px;
  padding-bottom: 0;
}
.tg-page-p14 .tg-work-graphic figcaption {
  font-size: 13px;
  margin-bottom: 12px;
}
.tg-page-p14 .tg-graphic-fields > div {
  padding: 12px 0;
}
.tg-page-p14 #sec-01 {
  padding-top: 24px;
}
.tg-page-p14 #sec-01 .tg-h2 {
  font-size: 22px;
  margin-bottom: 20px;
}
.tg-page-p14 #sec-02 .tg-section__grid {
  display: block;
}
.tg-page-p14 #sec-02 .tg-h2 {
  font-size: 20px;
  margin-bottom: 16px;
}
.tg-page-p15 .tg-main {
  min-height: 50vh;
}
.tg-page-p15 .tg-main .tg-container {
  max-width: 900px;
}
.tg-page-p15 .tg-footer__signature {
  display: none;
}
.tg-page-p15 .tg-footer {
  padding-top: 32px;
}
.tg-page-p16 .tg-section__grid {
  grid-template-columns: 1fr;
  gap: 20px;
}
.tg-page-p16 .tg-prose {
  max-width: 46em;
  font-size: 15px;
  line-height: 2.1;
}
.tg-page-p16 .tg-main .tg-h2 {
  font-size: 23px;
}
.tg-page-p16 .tg-hero__grid {
  display: block;
}
.tg-page-p17 .tg-body,
.tg-role-selection .tg-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1200px;
  margin: auto;
  gap: 0 56px;
  padding: 0 48px;
}
.tg-page-p17 .tg-body > .tg-container,
.tg-role-selection .tg-body > .tg-container {
  width: 100%;
  padding: 0;
  max-width: none;
}
.tg-page-p17 .tg-section__grid,
.tg-role-selection .tg-section__grid {
  display: block;
}
.tg-page-p17 .tg-h2,
.tg-role-selection .tg-h2 {
  font-size: 24px !important;
  margin-bottom: 20px;
}
.tg-page-p17 .tg-links {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 4px;
}
.tg-role-selection .tg-section__label {
  font-size: 11px;
}
.tg-role-selection .tg-body > .tg-container:last-child {
  grid-column: 1/-1;
}
.tg-role-selection .tg-body > .tg-container:last-child .tg-section__grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
}
/* Libraries: category meaning first, editorial density rather than endless identical rows. */
.tg-role-library .tg-main .tg-hero .tg-h1 {
  font-size: clamp(32px, 4vw, 50px);
}
.tg-role-library .tg-main .tg-section__label {
  display: none;
}
.tg-role-library .tg-main .tg-h2 {
  font-size: 25px;
}
.tg-role-library .tg-main .tg-section {
  padding: 32px 0 40px;
}
.tg-role-library:not(.tg-page-p11) .tg-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1280px;
  margin: auto;
  padding: 0 48px;
  gap: 0 48px;
}
.tg-role-library:not(.tg-page-p11) .tg-body > .tg-container {
  width: 100%;
  max-width: none;
  padding: 0;
}
.tg-role-library .tg-body .tg-section__grid {
  display: block;
}
.tg-role-library .tg-body .tg-h2 {
  margin-bottom: 20px;
}
.tg-role-library .tg-body > .tg-container:has(.tg-postlist) {
  grid-column: 1/-1;
}
.tg-role-library .tg-postlist__item {
  padding: 24px 0;
}
.tg-role-library .tg-postlist__item h3 {
  font-size: 19px;
  line-height: 1.8;
}
.tg-page-p11 .tg-report-topics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
}
.tg-page-p11 .tg-report-topics .tg-row {
  display: block;
  padding: 24px 0;
}
.tg-page-p11 .tg-report-topics .tg-h3 {
  font-size: 22px !important;
  line-height: 1.8;
  margin-bottom: 16px !important;
}
.tg-page-p11 .tg-report-topics .tg-h3::before {
  content: "•";
  display: inline-block;
  font:
    24px/1 Arial,
    sans-serif;
  margin-right: 16px;
}
.tg-page-p11 .tg-report-topics .tg-row:nth-child(2) .tg-h3::before {
  content: "↗";
}
.tg-page-p11 .tg-report-topics .tg-row:nth-child(3) .tg-h3::before {
  content: "→";
}
.tg-page-p11 .tg-report-topics .tg-row:nth-child(4) .tg-h3::before {
  content: "□";
}
.tg-page-p11 .tg-report-topics .tg-row:nth-child(5) .tg-h3::before {
  content: "◎";
}
.tg-page-p11 #sec-02 {
  background: #f6f6f3;
  padding: 32px;
}
.tg-page-h05 .tg-main .tg-section {
  padding: 24px 0 32px;
}
@media (max-width: 1000px) {
  .tg-page-p12 .tg-hero__grid {
    gap: 32px;
  }
  .tg-renewal .tg-home-content #about .tg-home-grid {
    gap: 32px !important;
  }
  .tg-observation-pair {
    gap: 28px;
  }
  .tg-observation-pair > div + div {
    padding-left: 28px;
  }
  .tg-graphic-flow {
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  }
  .tg-graphic-flow li {
    padding-right: 16px;
  }
  .tg-graphic-flow li + li {
    padding-left: 16px;
  }
  .tg-graphic-flow strong {
    font-size: 19px;
  }
}
@media (max-width: 760px) {
  .tg-three-views {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .tg-three-views > div {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 12px 20px;
    padding: 20px 0;
  }
  .tg-three-views > div::before {
    grid-row: 1/3;
    margin: 6px 0 !important;
  }
  .tg-three-views strong {
    font-size: 22px;
    margin: 0;
  }
  .tg-three-views span {
    grid-column: 2;
  }
  .tg-purpose-relations {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 230px;
    margin: auto;
  }
  .tg-purpose-relations > div {
    aspect-ratio: auto;
    border-radius: 0;
    padding: 24px;
  }
  .tg-purpose-relations > div + div::before {
    width: 1px;
    left: 50%;
    top: -25px;
    height: 25px;
  }
  .tg-content-branches {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .tg-content-branches__root {
    padding: 20px;
  }
  .tg-content-branches__root::after {
    right: auto;
    left: 24px;
    top: 100%;
    width: 1px;
    height: 25px;
  }
  .tg-content-branches__links {
    margin-left: 24px;
  }
  .tg-content-branches__links > div {
    padding: 16px 0 16px 12px;
  }
  .tg-content-branches strong {
    font-size: 20px;
  }
  .tg-cost-scope span:nth-child(n) {
    margin-top: 0;
  }
  .tg-renewal .tg-main--page .tg-section {
    padding: 30px 0 36px;
  }
  .tg-renewal .tg-main--page .tg-section__label {
    font-size: 10px;
    margin-bottom: 14px;
  }
  .tg-renewal .tg-main--page .tg-h2 {
    font-size: 24px;
    line-height: 1.65;
  }
  .tg-renewal .tg-main--page .tg-hero {
    padding-bottom: 32px;
  }
  .tg-renewal .tg-main--page .tg-hero .tg-h1 {
    font-size: 34px;
    line-height: 1.55;
  }
  .tg-role-service .tg-section__grid,
  .tg-page-p03 .tg-section__grid,
  .tg-page-p03 .tg-rows .tg-row,
  .tg-page-p05 .tg-section__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .tg-role-overview {
    padding-top: 24px;
    padding-bottom: 8px;
  }
  .tg-work-graphic figcaption {
    font-size: 14px;
    margin-bottom: 20px;
  }
  .tg-graphic-flow {
    grid-template-columns: 1fr;
    border-top: 1px solid #111;
  }
  .tg-graphic-flow li,
  .tg-graphic-flow li + li {
    display: grid;
    grid-template-columns: minmax(90px, 1fr) minmax(0, 1.4fr);
    gap: 20px;
    border-left: 0;
    padding: 20px 0;
  }
  .tg-graphic-flow strong {
    font-size: 19px;
    line-height: 1.7;
  }
  .tg-graphic-flow li > span {
    margin-top: 0;
    font-size: 12px;
  }
  .tg-work-graphic--cycle .tg-graphic-flow li:last-child {
    padding: 20px 16px;
  }
  .tg-work-graphic--channel .tg-graphic-flow {
    gap: 0;
  }
  .tg-work-graphic--channel .tg-graphic-flow li:nth-child(n) {
    margin: 0;
    padding: 20px 0;
  }
  .tg-work-graphic--thinking .tg-graphic-flow li + li::before {
    content: none;
  }
  .tg-work-graphic--paper {
    padding: 24px 20px;
  }
  .tg-work-graphic--paper figcaption {
    font-size: 23px;
    padding-right: 24px;
  }
  .tg-work-graphic--paper::before {
    right: 16px;
    top: 24px;
    width: 12px;
    height: 12px;
  }
  .tg-diagnosis-terms {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding-bottom: 20px;
  }
  .tg-diagnosis-terms span {
    display: flex;
    align-items: baseline;
    gap: 16px;
  }
  .tg-diagnosis-terms b {
    font-size: 23px;
    min-width: 6em;
    margin: 0;
  }
  .tg-graphic-fields > div {
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 16px;
    padding: 16px 0;
  }
  .tg-graphic-fields dt {
    font-size: 13px;
  }
  .tg-graphic-fields dd {
    font-size: 13px;
  }
  .tg-work-graphic--memo {
    padding: 20px 16px;
  }
  .tg-work-graphic--memo .tg-graphic-fields > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .tg-work-graphic--comparison .tg-graphic-fields {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .tg-work-graphic--comparison dt {
    font-size: 20px;
    margin-bottom: 16px;
  }
  .tg-work-graphic--comparison dd {
    font-size: 14px;
  }
  .tg-service-matrix__axis {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 20px 0;
  }
  .tg-service-matrix__axis span {
    font-size: 22px;
  }
  .tg-service-matrix > a {
    display: block;
    padding: 20px 0;
  }
  .tg-service-matrix strong {
    display: block;
    font-size: 22px;
    line-height: 1.7;
  }
  .tg-service-matrix a > span {
    display: block;
    margin-top: 12px;
    font-size: 13px;
  }
  .tg-service-matrix small {
    display: block;
    margin-top: 8px;
  }
  .tg-observation-pair {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .tg-observation-pair > div,
  .tg-observation-pair > div + div {
    border-left: 0;
    padding: 24px 0;
  }
  .tg-observation-pair strong {
    font-size: 30px;
    margin: 16px 0;
  }
  .tg-work-graphic--blueprint {
    padding: 20px 16px;
  }
  .tg-site-plan > strong {
    font-size: 18px;
    padding: 16px;
  }
  .tg-site-plan > div {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 24px 0;
  }
  .tg-site-plan > div::before {
    height: 24px;
  }
  .tg-site-plan > div span {
    font-size: 14px;
    padding: 12px;
  }
  .tg-graphic-note {
    font-size: 11px;
  }
  .tg-role-nav {
    gap: 4px 20px;
  }
  .tg-role-nav a {
    font-size: 13px;
  }
  .tg-role-nav a:last-child {
    margin-left: 0;
  }
  .tg-renewal .tg-home-content .tg-home-row {
    padding: 36px 0 !important;
  }
  .tg-renewal .tg-home-content .tg-home-label {
    margin-bottom: 16px;
    gap: 10px;
  }
  .tg-renewal .tg-home-content [data-home-card] h3 {
    font-size: 25px !important;
  }
  .tg-renewal .tg-home-content #stance h2 {
    font-size: 30px !important;
  }
  .tg-renewal .tg-home-content #about .tg-home-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .tg-renewal .tg-home-content #about h2 {
    font-size: 40px !important;
    line-height: 1.55 !important;
  }
  .tg-renewal .tg-home-content #about .tg-home-copy {
    padding-top: 0;
  }
  .tg-top-work {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding-bottom: 30px;
  }
  .tg-top-work {
    border: 0;
  }
  .tg-top-work span {
    border-top: 1px solid #111;
  }
  .tg-top-work span {
    font-size: 13px;
    padding-top: 12px;
  }
  .tg-role-article .tg-main--center .tg-container {
    width: calc(100% - 40px);
  }
  .tg-role-article .tg-main .tg-hero .tg-h1 {
    font-size: 30px;
  }
  .tg-role-article .tg-main--center .tg-h2 {
    font-size: 24px;
  }
  .tg-role-article .tg-main--center .tg-prose {
    font-size: 15px;
    line-height: 2.05;
  }
  .tg-role-article .tg-main--center .tg-section {
    padding: 28px 0 32px;
  }
  .tg-role-article .tg-main--center .tg-outro__inner {
    padding: 24px 20px;
  }
  .tg-role-article .tg-main--center .tg-outro .tg-ctas {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .tg-role-article .tg-table-scroll {
    overflow: visible;
    margin: 24px 0;
  }
  .tg-role-article .tg-table-scroll::after {
    content: none;
  }
  .tg-role-article .tg-main .tg-table,
  .tg-role-article .tg-table-scroll .tg-table {
    display: block !important;
    min-width: 0 !important;
    width: 100% !important;
    overflow: visible;
  }
  .tg-role-article .tg-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .tg-role-article .tg-table tbody {
    display: block;
    width: 100%;
  }
  .tg-role-article .tg-table tr {
    display: block;
    border-top: 2px solid #111;
    margin-top: 20px;
  }
  .tg-role-article .tg-main .tg-table td,
  .tg-role-article .tg-main .tg-table-scroll .tg-table td {
    display: block !important;
    min-width: 0 !important;
    width: 100% !important;
    padding: 14px 0 !important;
    border-bottom: 1px solid #bbb;
    box-sizing: border-box;
    font-size: 14px;
  }
  .tg-role-article .tg-table td::before {
    content: attr(data-column-label);
    display: block;
    font-size: 11px;
    color: #555;
    font-weight: 500;
    margin-bottom: 8px;
  }
  .tg-role-article .tg-table td:first-child {
    font-size: 18px !important;
    font-weight: 500;
  }
  .tg-page-a08 .tg-table td:first-child::before {
    content: "比較する項目";
    font-size: 11px;
    margin: 0 0 8px;
    font-family: inherit;
  }
  .tg-page-p02 #sec-04 .tg-rows {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .tg-page-p02 #sec-02 .tg-h2 {
    font-size: 32px;
  }
  .tg-page-p02 #sec-03 .tg-h2 {
    font-size: 28px;
  }
  .tg-page-p02 #sec-04 .tg-row:last-child {
    grid-column: auto;
  }
  .tg-page-p12 .tg-hero__grid,
  .tg-page-p12 #sec-01 .tg-section__grid,
  .tg-page-p12 #sec-03 .tg-section__grid,
  .tg-page-p12 #sec-05 .tg-section__grid,
  .tg-page-p12 #sec-06 .tg-section__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .tg-page-p12 .tg-main .tg-hero .tg-h1 {
    font-size: 38px;
  }
  .tg-page-p12 .tg-recruit-criteria {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .tg-page-p12 .tg-recruit-criterion h3 {
    font-size: 24px !important;
  }
  .tg-page-p12 #sec-04 {
    padding: 28px 20px;
  }
  .tg-page-p12 #sec-04 .tg-h2 {
    font-size: 38px;
  }
  .tg-role-utility .tg-main .tg-hero .tg-h1 {
    font-size: 30px;
  }
  .tg-page-p13 .tg-row {
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 16px;
  }
  .tg-page-p13 .tg-row .tg-h3 {
    font-size: 13px;
  }
  .tg-page-p17 .tg-body,
  .tg-role-selection .tg-body,
  .tg-role-library:not(.tg-page-p11) .tg-body {
    grid-template-columns: 1fr;
    padding: 0 20px;
    gap: 0;
  }
  .tg-role-selection .tg-body > .tg-container:last-child .tg-section__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .tg-page-p11 .tg-report-topics {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .tg-page-p11 #sec-02 {
    padding: 24px 20px;
  }
}
@media (max-width: 359px) {
  .tg-renewal .tg-main--page .tg-hero .tg-h1 {
    font-size: 30px;
  }
  .tg-page-p12 .tg-main .tg-hero .tg-h1 {
    font-size: 34px;
  }
  .tg-work-graphic--paper {
    padding: 20px 16px;
  }
  .tg-graphic-fields > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .tg-diagnosis-terms span {
    display: block;
  }
  .tg-diagnosis-terms b {
    margin-bottom: 4px;
  }
  .tg-work-graphic--paper figcaption {
    font-size: 21px;
  }
  .tg-page-p13 .tg-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .tg-page-p12 #sec-04 .tg-h2 {
    font-size: 34px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tg-renewal .tg-work-graphic *,
  .tg-renewal .tg-role-nav * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Final alignment and word grouping: presentation only, unchanged heading text. */
.tg-word,
.tg-graphic-term {
  white-space: nowrap;
}
.tg-graphic-flow strong .tg-graphic-term {
  display: inline;
  font: inherit;
  letter-spacing: inherit;
  margin: 0;
}
.tg-renewal.tg-page-p18 .tg-main--page .tg-hero .tg-label {
  font-size: 12px;
  line-height: 1.6;
}
.tg-page-p17 .tg-body,
.tg-role-selection .tg-body,
.tg-role-library:not(.tg-page-p11) .tg-body {
  max-width: 1280px;
  padding-left: 64px;
  padding-right: 64px;
}
.tg-role-library .tg-body > .tg-outro {
  grid-column: 1/-1;
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}
.tg-role-library .tg-body > .tg-outro .tg-outro__inner {
  padding: 32px 0;
}
.tg-role-service .tg-section .tg-work-graphic {
  width: calc((100% - clamp(32px, 5vw, 64px)) * 0.615385);
  margin-top: 28px;
}
.tg-site-plan > div {
  border: 1px solid #bbb;
  margin: 28px 0;
  padding: 24px;
  gap: 20px;
}
.tg-site-plan > div::before {
  top: -29px;
  height: 28px;
}
.tg-site-plan > div::after {
  content: "";
  position: absolute;
  bottom: -29px;
  height: 28px;
  left: 50%;
  width: 1px;
  background: #111;
}
.tg-site-plan > div:last-child::after {
  content: none;
}
.tg-page-h01 .tg-hero .tg-label::before {
  content: "•";
  background: transparent;
  width: auto;
  height: auto;
  font:
    18px/1 Arial,
    sans-serif;
}
.tg-page-h02 .tg-hero .tg-label::before {
  content: "↗";
  background: transparent;
  width: auto;
  height: auto;
  font:
    18px/1 Arial,
    sans-serif;
}
.tg-page-h03 .tg-hero .tg-label::before {
  content: "→";
  background: transparent;
  width: auto;
  height: auto;
  font:
    18px/1 Arial,
    sans-serif;
}
.tg-page-h04 .tg-hero .tg-label::before {
  content: "□";
  background: transparent;
  width: auto;
  height: auto;
  font:
    18px/1 Arial,
    sans-serif;
}
.tg-page-h05 .tg-hero .tg-label::before {
  content: "◎";
  background: transparent;
  width: auto;
  height: auto;
  font:
    18px/1 Arial,
    sans-serif;
}
.tg-page-a02 .tg-work-graphic .tg-graphic-flow strong {
  font-size: 18px;
  line-height: 1.7;
}
.tg-page-a02 .tg-work-graphic .tg-graphic-flow li {
  padding-right: 12px;
}
.tg-page-a02 .tg-work-graphic .tg-graphic-flow li + li {
  padding-left: 12px;
}
@media (max-width: 760px) {
  .tg-role-service .tg-section .tg-work-graphic {
    width: 100%;
  }
  .tg-site-plan > div {
    padding: 16px;
    gap: 12px;
  }
  .tg-page-p17 .tg-body,
  .tg-role-selection .tg-body,
  .tg-role-library:not(.tg-page-p11) .tg-body {
    padding-left: 24px;
    padding-right: 24px;
  }
  .tg-role-article .tg-main--center .tg-container {
    width: calc(100% - 48px);
  }
  .tg-page-a02 .tg-work-graphic .tg-graphic-flow li,
  .tg-page-a02 .tg-work-graphic .tg-graphic-flow li + li {
    padding: 20px 0;
  }
  .tg-page-h05 .tg-purpose-relations {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: none;
    gap: 12px;
  }
  .tg-page-h05 .tg-purpose-relations > div {
    border-radius: 0;
    padding: 20px 8px;
    border: 0;
    border-top: 1px solid #111;
    border-bottom: 1px solid #111;
  }
  .tg-page-h05 .tg-purpose-relations > div + div::before {
    top: 50%;
    left: -13px;
    width: 13px;
    height: 1px;
  }
  .tg-page-h05 .tg-purpose-relations strong {
    font-size: 22px;
    line-height: 1.5;
  }
  .tg-page-h05 .tg-purpose-relations span {
    font-size: 11px;
    line-height: 1.8;
  }
  .tg-role-library .tg-body > .tg-outro .tg-outro__inner {
    padding: 24px 0;
  }
}

/* TOP: one question branches into four parallel information needs. */
/* Recruitment: a growing relationship rooted in the existing prose. */
.tg-growth-graphic {
  margin: 36px 0 0;
  padding: 32px 0 8px;
}
.tg-growth-graphic figcaption {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 32px;
}
.tg-growth-stages {
  display: grid;
  grid-template-columns: 0.8fr 0.9fr 1.1fr 1.6fr;
  gap: 0;
  align-items: end;
}
.tg-growth-stages > div {
  position: relative;
  padding: 24px 24px 24px 0;
  border-top: 1px solid #111;
}
.tg-growth-stages > div:nth-child(2) {
  padding-top: 42px;
}
.tg-growth-stages > div:nth-child(3) {
  padding-top: 54px;
}
.tg-growth-stages > div:nth-child(4) {
  padding: 40px 28px;
  background: #e8efe6;
  border-top: 3px solid #111;
}
.tg-growth-stages > div + div::before {
  content: "↗";
  position: absolute;
  left: -28px;
  top: 20px;
  font:
    22px/1 Arial,
    sans-serif;
}
.tg-growth-stages strong {
  display: block;
  font-size: clamp(23px, 2.3vw, 32px);
  line-height: 1.6;
  font-weight: 500;
  letter-spacing: 0.06em;
}
.tg-growth-stages span {
  display: block;
  margin-top: 20px;
  font-size: 13px;
  line-height: 1.9;
}
.tg-design-photo {
  width: calc((100% - clamp(32px, 5vw, 64px)) * 0.615385);
  max-width: 560px;
  margin: 28px 0 0 auto;
}
.tg-design-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.5;
  object-fit: cover;
  object-position: 50% 48%;
  filter: grayscale(1);
}
.tg-design-photo figcaption {
  font-size: 11px;
  line-height: 1.8;
  margin-top: 12px;
  color: #555;
}
.tg-design-photo figcaption span {
  display: block;
  margin-top: 8px;
}
.tg-design-photo a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.tg-page-p02 #sec-01 .tg-photo__media {
  aspect-ratio: 2.1;
}
.tg-page-p02 #sec-01 .tg-photo__media img {
  object-position: 44% 46% !important;
}
.tg-role-article .tg-main--center .tg-prose > .tg-h3,
.tg-role-article .tg-main--center .tg-prose > .tg-links {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.tg-role-selection .tg-body > .tg-outro {
  grid-column: 1/-1;
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}
.tg-role-selection .tg-body > .tg-outro .tg-outro__inner {
  padding: 32px 0;
}
@media (min-width: 761px) {
  .tg-page-a06 .tg-table,
  .tg-page-a07 .tg-table {
    table-layout: fixed;
  }
  .tg-page-a06 .tg-table :is(th, td):first-child,
  .tg-page-a07 .tg-table :is(th, td):first-child {
    width: 16% !important;
    word-break: normal;
    overflow-wrap: normal;
  }
  .tg-page-a06 .tg-table :is(th, td):nth-child(2),
  .tg-page-a07 .tg-table :is(th, td):nth-child(2) {
    width: 42% !important;
  }
  .tg-page-a06 .tg-table :is(th, td):nth-child(3),
  .tg-page-a07 .tg-table :is(th, td):nth-child(3) {
    width: 42% !important;
  }
}
@media (max-width: 760px) {
  .tg-growth-graphic {
    padding-top: 20px;
    margin-top: 24px;
  }
  .tg-growth-graphic figcaption {
    font-size: 13px;
    margin-bottom: 24px;
  }
  .tg-growth-stages {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .tg-growth-stages > div:nth-child(n) {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 20px 0;
  }
  .tg-growth-stages > div:nth-child(4) {
    grid-template-columns: 1fr;
    padding: 24px;
  }
  .tg-growth-stages > div + div::before {
    content: none;
  }
  .tg-growth-stages strong {
    font-size: 24px;
    line-height: 1.5;
  }
  .tg-growth-stages span {
    margin: 0;
    font-size: 12px;
  }
  .tg-growth-stages > div:nth-child(4) strong {
    font-size: 28px;
  }
  .tg-design-photo {
    width: 100%;
    max-width: none;
    margin-top: 24px;
  }
  .tg-design-photo img {
    aspect-ratio: 1.4;
    object-position: 40% 48%;
  }
  .tg-page-p02 #sec-01 .tg-photo__media {
    aspect-ratio: 1.5;
  }
  .tg-page-p02 #sec-01 .tg-photo__media img {
    object-position: 38% 46% !important;
  }
  /* Two-column criteria stay concise; three-column comparisons remain labelled groups. */
  .tg-page-a08 .tg-table tr {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 20px;
    border-top: 1px solid #111;
    margin-top: 0;
    padding: 16px 0;
  }
  .tg-page-a08 .tg-main .tg-table td:nth-child(n) {
    font-size: 14px !important;
    padding: 0 !important;
    border: 0;
  }
  .tg-page-a08 .tg-table td::before,
  .tg-page-a08 .tg-table td:first-child::before {
    content: none;
  }
  .tg-page-a08 .tg-table td:first-child {
    font-weight: 500;
    line-height: 1.9;
  }
  .tg-role-selection .tg-body > .tg-outro .tg-outro__inner {
    padding: 24px 0;
  }
}
@media (max-width: 359px) {
  .tg-page-a08 .tg-table tr {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 16px;
  }
}
@media (max-width: 760px) {
}
@media (max-width: 359px) {
}
.tg-page-p12 .tg-main .tg-section[id] {
  scroll-margin-top: 96px;
}
@media (max-width: 760px) {
  .tg-top-hero__inner {
    display: flex;
    flex-direction: column;
  }
  .tg-top-title {
    order: 1;
  }
  .tg-top-summary {
    order: 2;
    padding-top: 12px;
  }
}
/* A double contrast focus ring remains visible on both white and black sections. */
.tg-renewal a:focus-visible,
.tg-renewal button:focus-visible {
  outline: 2px solid #111;
  outline-offset: 5px;
  box-shadow: 0 0 0 3px #fff;
}

@media (min-width: 761px) and (max-width: 1100px) {
  .tg-top-summary {
    grid-row: 2;
  }
}

/* People pages: shared text edges and a deliberate, compact hierarchy. */
.tg-renewal.tg-role-people .tg-main--page .tg-hero {
  padding-top: 48px;
  padding-bottom: 40px;
  margin-bottom: 0;
}
.tg-renewal.tg-role-people .tg-main--page .tg-hero .tg-label {
  margin-bottom: 24px;
  line-height: 1.6;
  font-size: 12px;
}
.tg-renewal.tg-role-people .tg-main--page .tg-hero .tg-h1 {
  margin: 0;
  line-height: 1.45;
}
.tg-renewal.tg-page-p02 .tg-main--page .tg-hero__grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 64px;
  align-items: start;
}
.tg-renewal.tg-page-p02 .tg-main--page .tg-hero .tg-h1 {
  font-size: 54px;
}
.tg-page-p02 .tg-main--page .tg-section__grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 64px;
}
.tg-page-p02 .tg-main--page #sec-02 .tg-section__grid,
.tg-page-p02 .tg-main--page #sec-03 .tg-section__grid {
  grid-template-columns: 1fr;
  gap: 24px;
}
.tg-page-p02 #sec-06 .tg-prose {
  max-width: 38em;
}
.tg-page-p02 #sec-06 .tg-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
  margin-top: 28px;
}
.tg-page-p02 #sec-06 .tg-link {
  font-size: 13px;
  line-height: 1.7;
  min-height: 44px;
  justify-self: start;
}
.tg-interests {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  margin-top: 28px;
  border-top: 1px solid #111;
}
.tg-interests span:nth-child(n) {
  font-size: 32px;
  line-height: 1.6;
  letter-spacing: -0.025em;
  border: 0;
  padding: 0;
  margin: 0;
}
.tg-interests span:last-child {
  justify-self: start;
  border: 1px solid #111;
  padding: 0 14px;
}
.tg-renewal.tg-page-p12 .tg-main--page .tg-hero__grid,
.tg-page-p12 .tg-main--page :is(#sec-01, #sec-03, #sec-05, #sec-06) .tg-section__grid {
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 64px;
}
.tg-renewal.tg-page-p12 .tg-main--page .tg-hero .tg-h1 {
  font-size: clamp(44px, 4.2vw, 60px);
  line-height: 1.5;
}
.tg-renewal.tg-role-people .tg-main--page .tg-hero .tg-lead {
  padding-top: 46px;
  line-height: 2;
  max-width: 38em;
}
.tg-growth-graphic {
  padding-top: 16px;
  margin-top: 28px;
}
.tg-growth-graphic figcaption {
  margin-bottom: 24px;
}
.tg-growth-stages {
  grid-template-columns: 1fr 1fr 1.15fr 1.55fr;
  gap: 28px;
  align-items: stretch;
}
.tg-growth-stages > div:nth-child(n) {
  padding: 24px 0;
  border-top: 1px solid #111;
  display: flex;
  flex-direction: column;
}
.tg-growth-stages > div:nth-child(4) {
  padding: 24px;
  background: #e8efe6;
  border-top: 2px solid #111;
}
.tg-growth-stages > div + div::before {
  content: "→";
  left: -23px;
  top: 34px;
  font-size: 16px;
}
.tg-growth-stages strong {
  font-size: 26px;
  line-height: 1.55;
  letter-spacing: -0.015em;
  min-height: 81px;
}
.tg-growth-stages span {
  font-size: 13px;
  line-height: 1.9;
  margin-top: 16px;
}
.tg-renewal.tg-page-p18 .tg-main--page .tg-hero .tg-label {
  margin-bottom: 18px;
}
.tg-renewal.tg-page-p18 .tg-main--page .tg-hero .tg-h1 {
  font-size: 56px;
}
.tg-page-p18 .tg-main--page #sec-01 .tg-section__grid,
.tg-page-p18 .tg-main--page #sec-02 .tg-section__grid {
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  gap: 20px 64px;
}
.tg-page-p18 .tg-main--page #sec-01 .tg-prose {
  max-width: 40em;
}
.tg-page-p18 .tg-main--page #sec-01 .tg-h2 {
  font-size: 30px;
  line-height: 1.6;
}
@media (max-width: 1000px) and (min-width: 761px) {
  .tg-renewal.tg-page-p02 .tg-main--page .tg-hero .tg-h1 {
    font-size: 40px;
  }
  .tg-renewal.tg-page-p12 .tg-main--page .tg-hero .tg-h1 {
    font-size: 44px;
  }
  .tg-renewal.tg-role-people .tg-main--page .tg-hero .tg-lead {
    padding-top: 46px;
  }
  .tg-growth-stages {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .tg-growth-stages > div + div::before {
    content: none;
  }
  .tg-growth-stages strong {
    min-height: 68px;
    font-size: 24px;
  }
}
@media (max-width: 760px) {
  .tg-renewal.tg-role-people .tg-main--page .tg-hero {
    padding-top: 32px;
    padding-bottom: 32px;
  }
  .tg-renewal.tg-role-people .tg-main--page .tg-hero .tg-label {
    margin-bottom: 20px;
  }
  .tg-renewal.tg-page-p02 .tg-main--page .tg-hero__grid,
  .tg-page-p02 .tg-main--page .tg-section__grid,
  .tg-renewal.tg-page-p12 .tg-main--page .tg-hero__grid,
  .tg-page-p12 .tg-main--page :is(#sec-01, #sec-03, #sec-05, #sec-06) .tg-section__grid {
    grid-template-columns: 1fr;
    gap: 24px !important;
  }
  .tg-renewal.tg-page-p02 .tg-main--page .tg-hero .tg-h1 {
    font-size: 34px;
  }
  .tg-renewal.tg-page-p12 .tg-main--page .tg-hero .tg-h1 {
    font-size: 36px;
  }
  .tg-renewal.tg-role-people .tg-main--page .tg-hero .tg-lead {
    padding-top: 0;
  }
  .tg-page-p02 #sec-06 .tg-links {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 24px;
  }
  .tg-interests {
    gap: 12px;
    padding: 24px 0;
    margin-top: 24px;
  }
  .tg-interests span:nth-child(n) {
    font-size: 23px;
    letter-spacing: -0.035em;
  }
  .tg-interests span:last-child {
    padding: 0 8px;
  }
  .tg-growth-graphic {
    padding-top: 8px;
    margin-top: 24px;
  }
  .tg-growth-stages {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .tg-growth-stages > div:nth-child(n) {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 20px 0;
  }
  .tg-growth-stages > div:nth-child(4) {
    grid-template-columns: 1fr;
    padding: 24px;
  }
  .tg-growth-stages strong {
    font-size: 24px;
    min-height: 0;
  }
  .tg-growth-stages span {
    margin: 0;
    font-size: 12px;
  }
  .tg-growth-stages > div + div::before {
    content: none;
  }
  .tg-growth-stages > div:nth-child(4) strong {
    font-size: 28px;
  }
  .tg-renewal.tg-page-p18 .tg-main--page .tg-hero .tg-h1 {
    font-size: 36px;
  }
  .tg-page-p18 .tg-main--page #sec-01 .tg-section__grid,
  .tg-page-p18 .tg-main--page #sec-02 .tg-section__grid {
    grid-template-columns: 1fr;
    gap: 24px !important;
  }
  .tg-page-p18 .tg-main--page #sec-01 .tg-h2 {
    font-size: 24px;
  }
}
@media (max-width: 359px) {
  .tg-renewal.tg-page-p02 .tg-main--page .tg-hero .tg-h1 {
    font-size: 30px;
  }
  .tg-renewal.tg-page-p12 .tg-main--page .tg-hero .tg-h1 {
    font-size: 30px;
  }
  .tg-interests {
    gap: 8px;
  }
  .tg-interests span:nth-child(n) {
    font-size: 20px;
  }
}

/* Fine typesetting of company language and portrait introductions. */
.tg-renewal.tg-page-p12
  .tg-main--page
  :is(#sec-01, #sec-02, #sec-03, #sec-05, #sec-06)
  .tg-section__grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
}
.tg-page-p12 .tg-recruit-criterion h3 {
  font-size: 24px !important;
  line-height: 1.6 !important;
  margin-bottom: 20px !important;
}
.tg-page-p12 .tg-recruit-criterion .tg-prose p {
  font-size: 15px;
  line-height: 2;
}
.tg-page-p12 .tg-recruit-criterion .tg-prose p:first-child {
  font-size: 16px;
  line-height: 1.9;
  min-height: 3.8em;
  margin-bottom: 20px;
}
.tg-renewal.tg-page-p12 .tg-main--page #sec-04 {
  padding: 40px 48px;
}
.tg-renewal.tg-page-p12 .tg-main--page #sec-04 .tg-h2 {
  font-size: 60px;
  line-height: 1.45;
  margin-bottom: 28px;
  max-width: none;
}
.tg-renewal.tg-page-p12 .tg-main--page #sec-04 .tg-h2 .tg-culture-line {
  display: block;
  white-space: nowrap;
}
.tg-page-p12 #sec-04 .tg-prose {
  max-width: none;
  width: calc((100% - 64px) / 2);
}
.tg-interests {
  max-width: 620px;
  grid-template-columns: auto auto auto auto;
  gap: 32px;
}
.tg-interests span:nth-child(n) {
  font-size: 32px;
  justify-self: start;
  border: 0;
  padding: 0;
  margin: 0;
}
.tg-interests span:nth-child(2) {
  border-bottom: 3px double #111;
}
.tg-renewal.tg-page-p02 .tg-main--page #sec-06 .tg-section__grid {
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  gap: 20px 64px;
}
.tg-page-p02 #sec-06 .tg-portrait-intro {
  display: contents;
}
.tg-page-p02 #sec-06 .tg-photo--portrait {
  grid-column: 1;
  grid-row: 1 / 3;
  max-width: 320px;
  width: 100%;
  margin: 0 !important;
}
.tg-page-p02 #sec-06 .tg-h2 {
  grid-column: 2;
  grid-row: 1;
}
.tg-page-p02 #sec-06 .tg-prose {
  grid-column: 2;
  grid-row: 2;
  max-width: 40em;
}
.tg-renewal.tg-page-p02 .tg-main--page :is(#sec-02, #sec-03) .tg-h2 {
  font-size: 44px;
  line-height: 1.6;
  max-width: none;
}
.tg-renewal.tg-page-p02 .tg-main--page :is(#sec-02, #sec-03) .tg-h2 .tg-phrase:first-child {
  display: block;
  font:
    16px/1.6 ui-monospace,
    monospace;
  letter-spacing: 0;
  margin-bottom: 16px;
}
.tg-renewal.tg-page-p02 .tg-main--page :is(#sec-02, #sec-03) .tg-h2 .tg-phrase:not(:first-child) {
  display: inline-block;
  white-space: nowrap;
}
.tg-renewal.tg-page-p18 .tg-main--page .tg-hero .tg-h1 {
  font-size: 48px;
  line-height: 1.25;
}
.tg-renewal.tg-page-p18 .tg-main--page .tg-hero .tg-label {
  margin-bottom: 24px;
}
.tg-renewal.tg-page-p18 .tg-main--page .tg-hero {
  padding-bottom: 32px;
}
@media (max-width: 1000px) and (min-width: 761px) {
  .tg-renewal.tg-page-p12 .tg-main--page #sec-04 .tg-h2 {
    font-size: 48px;
  }
  .tg-renewal.tg-page-p02 .tg-main--page #sec-06 .tg-section__grid {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 20px 48px;
  }
}
@media (max-width: 760px) {
  .tg-renewal.tg-page-p12
    .tg-main--page
    :is(#sec-01, #sec-02, #sec-03, #sec-05, #sec-06)
    .tg-section__grid {
    grid-template-columns: 1fr;
    gap: 24px !important;
  }
  .tg-page-p12 .tg-recruit-criterion h3 {
    font-size: 22px !important;
  }
  .tg-page-p12 .tg-recruit-criterion .tg-prose p:first-child {
    min-height: 0;
    margin-bottom: 16px;
  }
  .tg-renewal.tg-page-p12 .tg-main--page #sec-04 {
    padding: 28px 20px;
  }
  .tg-renewal.tg-page-p12 .tg-main--page #sec-04 .tg-h2 {
    font-size: 34px;
    line-height: 1.5;
    margin-bottom: 24px;
  }
  .tg-page-p12 #sec-04 .tg-prose {
    width: 100%;
  }
  .tg-interests {
    gap: 24px;
    grid-template-columns: repeat(4, auto);
    padding: 24px 0;
  }
  .tg-interests span:nth-child(n) {
    font-size: 24px;
  }
  .tg-renewal.tg-page-p02 .tg-main--page #sec-06 .tg-section__grid {
    grid-template-columns: 1fr;
    gap: 24px !important;
  }
  .tg-page-p02 #sec-06 .tg-h2 {
    grid-column: 1;
    grid-row: 1;
  }
  .tg-page-p02 #sec-06 .tg-photo--portrait {
    grid-column: 1;
    grid-row: 2;
    max-width: 280px;
  }
  .tg-page-p02 #sec-06 .tg-prose {
    grid-column: 1;
    grid-row: 3;
  }
  .tg-renewal.tg-page-p02 .tg-main--page :is(#sec-02, #sec-03) .tg-h2 {
    font-size: 28px;
    line-height: 1.6;
  }
  .tg-renewal.tg-page-p18 .tg-main--page .tg-hero .tg-h1 {
    font-size: 32px;
    line-height: 1.25;
  }
}
@media (max-width: 359px) {
  .tg-interests {
    gap: 16px;
  }
  .tg-interests span:nth-child(n) {
    font-size: 22px;
  }
  .tg-renewal.tg-page-p12 .tg-main--page #sec-04 .tg-h2 {
    font-size: 30px;
  }
}
.tg-renewal.tg-page-p02 .tg-main--page :is(#sec-02, #sec-03) .tg-h2 > wbr,
.tg-renewal.tg-page-p12 .tg-main--page #sec-04 .tg-h2 > wbr {
  display: none;
}
@media (min-width: 761px) {
  .tg-renewal.tg-page-p12
    .tg-main--page
    :is(#sec-01, #sec-02, #sec-03, #sec-05, #sec-06)
    .tg-section__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  }
  .tg-page-p12 #sec-04 .tg-prose {
    width: calc((100% - 64px) * 0.555556);
  }
}

/* Category introductions remain light; the existing article links are primary. */
.tg-work-graphic--category-structure {
  max-width: 900px;
}
.tg-work-graphic--category-structure figcaption {
  font-size: 14px;
  margin-bottom: 20px;
}
.tg-plan-relations__root {
  display: block;
  text-align: center;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.7;
  padding-bottom: 24px;
  position: relative;
}
.tg-plan-relations__root::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  height: 24px;
  width: 1px;
  background: #111;
}
.tg-plan-relations__branches {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  position: relative;
}
.tg-plan-relations__branches::before {
  content: "";
  position: absolute;
  left: 16.6667%;
  right: 16.6667%;
  top: 0;
  height: 1px;
  background: #111;
}
.tg-plan-relations__branches span {
  position: relative;
  padding-top: 24px;
  text-align: center;
  font-size: 17px;
  line-height: 1.8;
}
.tg-plan-relations__branches span::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 1px;
  height: 16px;
  background: #111;
}
.tg-page-p11 .tg-body > .tg-outro .tg-outro__inner {
  box-sizing: border-box;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 64px;
}
@media (max-width: 760px) {
  .tg-work-graphic--category-structure figcaption {
    font-size: 13px;
    margin-bottom: 16px;
  }
  .tg-plan-relations__root {
    text-align: left;
    font-size: 18px;
    padding-bottom: 20px;
  }
  .tg-plan-relations__root::after {
    left: 12px;
    height: 16px;
  }
  .tg-plan-relations__branches {
    grid-template-columns: 1fr;
  }
  .tg-plan-relations__branches::before {
    left: 12px;
    right: auto;
    top: 0;
    bottom: 25px;
    width: 1px;
    height: auto;
  }
  .tg-plan-relations__branches span {
    text-align: left;
    padding: 12px 0 12px 36px;
    font-size: 16px;
  }
  .tg-plan-relations__branches span::before {
    left: 12px;
    top: 50%;
    width: 16px;
    height: 1px;
  }
  .tg-page-p11 .tg-body > .tg-outro .tg-outro__inner {
    padding: 24px;
  }
}

/* Service diagrams: remove duplicate labels and incidental decoration. */
.tg-service-matrix .tg-service-touchpoints,
.tg-service-matrix .tg-contact-mark {
  font-size: 12px;
  line-height: 1.8;
}
.tg-work-graphic--channel .tg-graphic-flow {
  gap: 32px;
}
.tg-work-graphic--channel .tg-graphic-flow li:nth-child(n) {
  margin-top: 0;
  border-top-width: 1px;
  padding-top: 24px;
}
.tg-work-graphic--channel .tg-graphic-flow li + li::before {
  content: "→";
  position: absolute;
  left: -26px;
  top: 29px;
  font:
    16px/1 Arial,
    sans-serif;
}
.tg-renewal.tg-page-p07 .tg-main--page #sec-01 .tg-h2 .tg-phrase {
  display: inline-block;
  white-space: nowrap;
}
.tg-page-p08 .tg-work-graphic--blueprint {
  background: none;
}
.tg-page-p08 .tg-site-plan > div span {
  border: 0;
  padding-top: 12px;
  padding-bottom: 12px;
}
@media (max-width: 760px) {
  .tg-work-graphic--channel .tg-graphic-flow {
    gap: 0;
  }
  .tg-work-graphic--channel .tg-graphic-flow li:nth-child(n) {
    padding: 20px 0;
  }
  .tg-work-graphic--channel .tg-graphic-flow li + li::before {
    content: none;
  }
}

.tg-page-p11 .tg-body > .tg-outro .tg-outro__inner {
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
@media (max-width: 760px) {
  .tg-page-p11 .tg-body > .tg-outro .tg-outro__inner {
    padding-left: 24px;
    padding-right: 24px;
  }
}
@media (max-width: 359px) {
  .tg-page-p08 .tg-hero .tg-btn {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* TOP definition: AI search is the primary strength; support spans four fields. */
.tg-top-hero .tg-lead p {
  display: block;
}
.tg-top-hero .tg-lead p:first-child {
  font-size: 22px;
  line-height: 1.65;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 0 0 16px;
}
.tg-top-hero .tg-lead p + p {
  font-size: 15px;
  line-height: 2;
  margin: 0;
}
@media (max-width: 760px) {
  .tg-top-hero .tg-lead p:first-child {
    font-size: 21px;
    line-height: 1.65;
  }
}

@media (max-width: 760px) {
  .tg-top-summary {
    max-width: none;
  }
}

/* TOP company capabilities: approved 2026-10-08. */
.tg-business-capability,
.tg-business-capability * {
  box-sizing: border-box;
}
.tg-business-capability {
  container-type: inline-size;
  margin: 0;
  width: 100%;
  min-width: 0;
  background: #fff;
  color: #111;
  border: 1px solid #111;
  font-family: inherit;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
}
.tg-business-capability.tg-top-visual {
  height: auto;
  aspect-ratio: auto;
  padding: 0;
  overflow: visible;
  align-self: start;
}
.tg-business-capability.tg-top-visual::after {
  content: none;
}
.tg-business-capability figcaption {
  margin: 0 0 20px;
  padding: clamp(16px, 5cqw, 28px) clamp(16px, 5cqw, 28px) 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0;
}
.tg-business-capability__inner {
  padding: 0 clamp(16px, 5cqw, 28px) clamp(16px, 5cqw, 28px);
}
.tg-business-capability__specialty {
  padding: clamp(16px, 4cqw, 24px);
  background: #111;
  color: #fff;
}
.tg-business-capability__kicker {
  display: block;
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: 0;
}
.tg-business-capability__name {
  display: flex;
  align-items: baseline;
  gap: clamp(8px, 2cqw, 12px);
  margin: 6px 0 0;
  white-space: nowrap;
  font-weight: 500;
}
.tg-business-capability__ai {
  font-size: clamp(64px, 18cqw, 110px);
  line-height: 1.05;
  letter-spacing: -0.055em;
}
.tg-business-capability__search {
  font-size: clamp(28px, 7cqw, 42px);
  line-height: 1.4;
  letter-spacing: -0.035em;
}
.tg-business-capability__scope {
  margin: 28px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid #111;
}
.tg-business-capability__scope-label {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  font-weight: 500;
  letter-spacing: 0;
}
.tg-business-capability__services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}
.tg-business-capability__services li {
  margin: 0;
  padding: 0;
  min-width: 0;
  font-size: clamp(18px, 4.8cqw, 26px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.025em;
  white-space: nowrap;
}
.tg-business-capability__note {
  margin: 24px 0 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0;
}
@container (max-width: 300px) {
  .tg-business-capability__services {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
@media (max-width: 760px) {
  .tg-business-capability.tg-top-visual {
    order: 3;
    margin-top: 24px;
  }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .tg-business-capability.tg-top-visual {
    grid-row: 3;
  }
}
.tg-top-hero .tg-lead .tg-definition-phrase {
  display: block;
}

/* TOP specialty acronym: a supporting label on the same baseline. */
.tg-business-capability__abbr {
  margin-left: 4px;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
@container (max-width:300px) {
  .tg-business-capability__abbr {
    margin-left: 0;
    font-size: 12px;
  }
}

/* Mission/Vision share the surrounding column axes; values have five equal rows. */
.tg-page-p02 .tg-main--page :is(#sec-02, #sec-03) .tg-section__grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 64px;
  align-items: start;
}
.tg-page-p02 .tg-main--page :is(#sec-02, #sec-03) .tg-prose {
  max-width: 35em;
  margin-left: 0;
  padding-top: 46px;
}
.tg-page-p02 #sec-04 .tg-rows {
  display: block;
  margin-top: 32px;
}
.tg-page-p02 #sec-04 .tg-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 64px;
  align-items: start;
  padding: 28px 0;
}
.tg-page-p02 #sec-04 .tg-row .tg-h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.7;
}
.tg-page-p02 #sec-04 .tg-row .tg-prose {
  max-width: 35em;
  margin-left: 0;
  line-height: 2;
}
.tg-page-p02 #sec-04 .tg-row:last-child {
  grid-column: auto;
  max-width: none;
}
@media (min-width: 761px) and (max-width: 1100px) {
  .tg-page-p02 #sec-04 .tg-row {
    gap: 28px;
  }
}
@media (max-width: 760px) {
  .tg-page-p02 .tg-main--page :is(#sec-02, #sec-03) .tg-section__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .tg-page-p02 .tg-main--page :is(#sec-02, #sec-03) .tg-prose {
    padding-top: 0;
  }
  .tg-page-p02 #sec-04 .tg-rows {
    margin-top: 24px;
  }
  .tg-page-p02 #sec-04 .tg-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 24px 0;
  }
  .tg-page-p02 #sec-04 .tg-row .tg-h3 {
    font-size: 24px;
    line-height: 1.65;
  }
}

/* The values title occupies the available width and wraps only at meaning boundaries. */
.tg-page-p02 .tg-main--page #sec-04 .tg-section__grid {
  grid-template-columns: 1fr;
  gap: 0;
}
.tg-page-p02 #sec-04 .tg-section__grid > .tg-prose:empty {
  display: none;
}
.tg-renewal.tg-page-p02 .tg-main--page #sec-04 .tg-h2 .tg-values-phrase {
  display: inline-block;
  white-space: nowrap;
}

/* Service introduction: retain the meaning of its two clauses. */
.tg-renewal.tg-page-p03 .tg-main--page #sec-01 .tg-h2 .tg-phrase:first-child {
  display: block;
}

.tg-renewal.tg-page-p04 .tg-main--page #sec-05 .tg-h2 .tg-phrase:first-child {
  display: block;
}

/* Reserve room for the fixed back-to-top control at the bottom. */
@media (max-width: 760px) {
  .tg-footer__bottom {
    padding-bottom: 116px;
  }
}

/* v6.36: A typography applies only to the four approved service first views. */
.tg-renewal.tg-service-fv-a .tg-main--page .tg-hero {
  padding: 52px 0 44px;
}
.tg-renewal.tg-service-fv-a .tg-main--page .tg-hero__grid {
  display: block;
}
.tg-renewal.tg-service-fv-a .tg-main--page .tg-hero .tg-label {
  margin-bottom: 24px;
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.08em;
  font-weight: 500;
}
.tg-renewal.tg-service-fv-a .tg-main--page .tg-hero .tg-label::before {
  display: none;
}
.tg-renewal.tg-service-fv-a .tg-main--page .tg-hero .tg-h1 {
  margin: 0 0 36px;
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.25;
  text-wrap: initial;
  overflow-wrap: normal;
  word-break: normal;
}
.tg-service-fv-line,
.tg-service-fv-kicker {
  display: block;
}
.tg-service-fv-copy,
.tg-service-fv-focus {
  display: inline-block;
  vertical-align: baseline;
  white-space: nowrap;
}
.tg-service-fv-focus {
  font-size: 80px;
  line-height: 1.12;
  letter-spacing: -0.04em;
}
.tg-service-fv-copy + .tg-service-fv-focus,
.tg-service-fv-focus + .tg-service-fv-copy {
  margin-left: 8px;
}
.tg-service-fv-line + .tg-service-fv-line {
  margin-top: 10px;
}
.tg-renewal.tg-service-fv-a .tg-main--page .tg-hero .tg-lead {
  padding: 0;
  max-width: 53em;
  font-size: 18px;
  line-height: 1.9;
}
.tg-renewal.tg-service-fv-a .tg-main--page .tg-hero .tg-lead p {
  display: block;
  margin: 0;
  text-wrap: pretty;
}
.tg-renewal.tg-service-fv-a .tg-main--page .tg-hero .tg-lead p + p {
  margin-top: 16px;
}
.tg-renewal.tg-service-fv-a .tg-main--page .tg-hero .tg-lead p + p::before {
  content: none;
}
.tg-renewal.tg-service-fv-a .tg-main--page .tg-hero .tg-ctas {
  margin-top: 28px;
  gap: 24px;
}
.tg-renewal.tg-service-fv-a .tg-main--page .tg-hero .tg-btn {
  font-size: 13px;
  line-height: 1.6;
  min-height: 54px;
  padding: 14px 22px;
  gap: 24px;
}
.tg-service-fv-index {
  display: flex;
  align-items: center;
  gap: 48px;
  margin-top: 44px;
}
.tg-service-fv-index > .tg-label {
  margin: 0 !important;
}
.tg-service-fv-index > div {
  display: flex;
  gap: 60px;
  font-size: 26px;
  line-height: 1.4;
}
.tg-service-fv-index small {
  margin-right: 16px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.04em;
}
.tg-renewal.tg-service-fv-a.tg-page-p07 .tg-main--page .tg-hero .tg-h1 {
  font-size: 52px;
  line-height: 1.22;
}
.tg-page-p07 .tg-service-fv-kicker {
  font-size: 34px;
  margin-bottom: 10px;
  letter-spacing: -0.04em;
}
.tg-page-p07 .tg-service-fv-focus {
  font-size: 88px;
}
.tg-page-p07 .tg-service-fv-copy + .tg-service-fv-focus {
  margin-left: 12px;
}
.tg-renewal.tg-service-fv-a.tg-page-p07 .tg-main--page .tg-hero .tg-lead p + p {
  font-size: 14px;
}
@media (min-width: 761px) and (max-width: 1280px) {
  .tg-renewal.tg-service-fv-a .tg-main--page .tg-hero .tg-h1 {
    font-size: 32px;
  }
  .tg-service-fv-focus {
    font-size: 72px;
  }
  .tg-renewal.tg-service-fv-a.tg-page-p07 .tg-main--page .tg-hero .tg-h1 {
    font-size: 48px;
  }
  .tg-page-p07 .tg-service-fv-focus {
    font-size: 80px;
  }
  .tg-page-p07 .tg-service-fv-kicker {
    font-size: 32px;
  }
}
@media (max-width: 760px) {
  .tg-renewal.tg-service-fv-a .tg-main--page .tg-hero {
    padding: 30px 0 30px;
  }
  .tg-renewal.tg-service-fv-a .tg-main--page .tg-hero .tg-label {
    font-size: 10px;
    margin-bottom: 20px;
    letter-spacing: 0.06em;
  }
  .tg-renewal.tg-service-fv-a .tg-main--page .tg-hero .tg-h1 {
    font-size: 24px;
    line-height: 1.3;
    margin-bottom: 28px;
  }
  .tg-service-fv-focus {
    font-size: 42px;
    line-height: 1.15;
  }
  .tg-page-p04 .tg-service-fv-line:first-child > span,
  .tg-page-p06 .tg-service-fv-line:last-child > span {
    display: block;
    margin-left: 0;
  }
  .tg-page-p04 .tg-service-fv-focus,
  .tg-page-p06 .tg-service-fv-focus {
    margin-top: 8px;
    margin-bottom: 8px;
  }
  .tg-service-fv-line + .tg-service-fv-line {
    margin-top: 6px;
  }
  .tg-renewal.tg-service-fv-a .tg-main--page .tg-hero .tg-lead {
    font-size: 14px;
    line-height: 1.9;
    max-width: none;
  }
  .tg-renewal.tg-service-fv-a .tg-main--page .tg-hero .tg-lead p + p {
    margin-top: 14px;
  }
  .tg-renewal.tg-service-fv-a .tg-main--page .tg-hero .tg-ctas {
    margin-top: 22px;
    gap: 12px;
  }
  .tg-renewal.tg-service-fv-a .tg-main--page .tg-hero .tg-btn {
    width: 100%;
    justify-content: space-between;
    font-size: 12px;
    min-height: 48px;
    line-height: 1.6;
    padding: 12px 16px;
    gap: 12px;
  }
  .tg-renewal.tg-service-fv-a.tg-page-p07 .tg-main--page .tg-hero .tg-h1 {
    font-size: 29px;
    line-height: 1.3;
  }
  .tg-page-p07 .tg-service-fv-kicker {
    font-size: 22px;
    margin-bottom: 10px;
  }
  .tg-page-p07 .tg-service-fv-line > span {
    display: block;
    margin-left: 0;
  }
  .tg-page-p07 .tg-service-fv-focus {
    font-size: 48px;
  }
  .tg-renewal.tg-service-fv-a.tg-page-p07 .tg-main--page .tg-hero .tg-lead p + p {
    font-size: 13px;
  }
  .tg-service-fv-index {
    display: block;
    margin-top: 30px;
  }
  .tg-service-fv-index > .tg-label {
    margin-bottom: 14px !important;
  }
  .tg-service-fv-index > div {
    font-size: 21px;
    gap: 30px;
  }
  .tg-service-fv-index small {
    font-size: 9px;
    margin-right: 8px;
  }
}
@media (max-width: 350px) {
  .tg-renewal.tg-service-fv-a .tg-main--page .tg-hero .tg-h1 {
    font-size: 22px;
  }
  .tg-service-fv-focus {
    font-size: 38px;
  }
  .tg-renewal.tg-service-fv-a.tg-page-p07 .tg-main--page .tg-hero .tg-h1 {
    font-size: 26px;
  }
  .tg-page-p07 .tg-service-fv-focus {
    font-size: 44px;
  }
  .tg-service-fv-index > div {
    font-size: 19px;
    gap: 22px;
  }
}

/* ==========================================================================
   最終調整（旧 tg-final-design.css）
   ========================================================================== */
/* v6.37: selected TOP C; following chapters retain their own white paper. */
.tg-renewal.tg-page-p02 #sec-05 .tg-h2 .tg-phrase {
  display: inline-block;
  white-space: nowrap;
}
@media (max-width: 359px) {
  .tg-page-p04 .tg-work-graphic--cycle .tg-graphic-flow li {
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 16px;
  }
  .tg-page-p04 .tg-work-graphic--cycle .tg-graphic-flow strong {
    white-space: nowrap;
  }
}
.tg-page-p01 .tg-top-c {
  position: relative;
  isolation: isolate;
}
.tg-page-p01 .tg-top-c-content {
  padding: 48px 0 44px;
}
.tg-page-p01 .tg-top-c .tg-h1 {
  max-width: none;
  margin: 0 0 32px;
  font-weight: 500;
  letter-spacing: -0.035em;
  text-wrap: initial;
  line-height: 1.2;
}
.tg-page-p01 .tg-top-c .tg-company-definition {
  padding: 0;
  max-width: none;
  letter-spacing: -0.012em;
}
.tg-page-p01 .tg-top-c .tg-company-definition p {
  display: block;
  margin: 0;
  font-weight: 400;
  text-wrap: initial;
}
.tg-page-p01 .tg-top-c .tg-company-definition p + p {
  font-size: 18px;
  line-height: 1.9;
  margin-top: 24px;
  max-width: 53em;
  letter-spacing: 0;
}
.tg-page-p01 .tg-top-c .tg-ctas {
  margin: 24px 0 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: start;
  gap: 16px 28px;
}
.tg-page-p01 .tg-top-c .tg-ctas .tg-btn:first-child {
  font-size: 13px;
  line-height: 1.6;
  min-height: 54px;
  padding: 14px 22px;
  gap: 16px;
  white-space: nowrap;
}
.tg-page-p01 .tg-top-c .tg-ctas .tg-btn:nth-child(2) {
  font-size: 13px;
  min-height: 44px;
  line-height: 1.6;
  padding: 10px 0;
  gap: 20px;
  background: transparent;
}
.tg-page-p01 .tg-top-c .tg-top-nav {
  margin: 0;
  padding: 20px 0;
  border-top: 1px solid #111;
  border-bottom: 1px solid #111;
}
.tg-page-p01 .definition-company {
  display: block;
}
.tg-page-p01 .specialty-word {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.tg-page-p01 .specialty-word small {
  position: absolute;
  right: 0;
  bottom: calc(100% + 4px);
  font-size: 12px;
  letter-spacing: 0.08em;
  line-height: 1.2;
  font-weight: 400;
  margin-left: 0;
  white-space: nowrap;
}
.tg-page-p01 .tg-top-c {
  color: #fff;
}
.tg-page-p01 .tg-top-c::before {
  content: "";
  position: absolute;
  inset: 0 calc(50% - 50vw);
  background: #141916;
  z-index: -1;
}
.tg-page-p01 .tg-top-c .tg-top-meta {
  border-color: #fff6;
  color: #fff;
}
.tg-page-p01 .tg-top-c .tg-h1 {
  margin-bottom: 32px;
  font-weight: 500;
}
.tg-page-p01 .poster-start {
  display: block;
  font-size: 44px;
  line-height: 1.2;
}
.tg-page-p01 .poster-forward {
  display: block;
  font-size: 128px;
  line-height: 1.13;
  margin-top: 12px;
  margin-left: 16.6667%;
  letter-spacing: -0.06em;
  white-space: nowrap;
}
.tg-page-p01 .tg-top-c .tg-company-definition p:first-child {
  font-size: 24px;
  line-height: 1.6;
  max-width: none;
}
.tg-page-p01 .specialty-focus {
  font-size: 28px;
  font-weight: 500;
}
.tg-page-p01 .tg-top-c .tg-ctas .tg-btn:first-child {
  background: #fff;
  color: #141916;
  border-color: #fff;
}
.tg-page-p01 .tg-top-c .tg-ctas .tg-btn:nth-child(2) {
  color: #fff;
  border-color: #fff;
}
.tg-page-p01 .tg-top-c .tg-top-nav {
  border-color: #fff5;
  color: #fff;
  background: transparent;
}
.tg-page-p01 .tg-top-c .tg-top-nav a {
  color: #fff;
}
.tg-page-p01 .tg-top-c .tg-top-nav a::before {
  color: #bcc6bf;
}
.tg-page-p01 .tg-top-c a:focus-visible {
  outline-color: #fff;
}
.tg-page-p01 .tg-top-c .tg-btn:first-child:hover {
  background: #e5eee8;
  color: #141916;
  opacity: 1;
}
@media (min-width: 761px) and (max-width: 1280px) {
  .tg-page-p01 .poster-forward {
    font-size: 120px;
  }
}

/* Existing article data tables; keep canonical A06/A07 mobile group layouts untouched. */
.tg-renewal.tg-role-article .post_content .tg-wide-table {
  overflow-x: auto;
  max-width: 100%;
  scrollbar-width: thin;
}
.tg-renewal.tg-role-article .post_content .tg-wide-table table {
  min-width: calc(var(--tg-table-columns) * 136px);
  table-layout: auto;
}
.tg-renewal.tg-role-article .post_content .tg-wide-table:focus-visible {
  outline: 2px solid #244c45;
  outline-offset: 4px;
}
@media (max-width: 760px) {
  .tg-renewal.tg-role-article .post_content .tg-wide-table::after {
    content: "← スクロール →";
    display: block;
    position: sticky;
    left: 0;
    padding: 8px 0;
    font-size: 11px;
    line-height: 1.6;
    color: #666;
    letter-spacing: 0.06em;
  }
}
@media (min-width: 761px) and (max-width: 1000px) {
  .tg-page-p01 .tg-top-c-content {
    padding: 38px 0;
  }
  .tg-page-p01 .poster-forward {
    font-size: 104px;
  }
}
@media (max-width: 760px) {
  .tg-page-p01 .tg-top-c-content {
    padding: 28px 0 32px;
  }
  .tg-page-p01 .tg-top-c .tg-h1 {
    margin-bottom: 24px;
  }
  .tg-page-p01 .tg-top-c .tg-top-meta {
    margin-top: 8px;
    font-size: 8px;
  }
  .tg-page-p01 .tg-top-c .tg-company-definition p + p {
    font-size: 15px;
    line-height: 1.8;
    margin-top: 24px;
    max-width: none;
  }
  .tg-page-p01 .tg-top-c .tg-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-top: 24px;
  }
  .tg-page-p01 .tg-top-c .tg-ctas .tg-btn:first-child {
    width: 100%;
    font-size: 12px;
    line-height: 1.6;
    min-height: 48px;
    padding: 12px 14px;
    justify-content: space-between;
    white-space: normal;
    gap: 10px;
  }
  .tg-page-p01 .tg-top-c .tg-ctas .tg-btn:nth-child(2) {
    width: auto;
    align-self: flex-start;
    font-size: 12px;
    min-height: 44px;
  }
  .tg-page-p01 .tg-top-c .tg-top-nav {
    padding: 16px 0;
    font-size: 11px;
    gap: 8px 20px;
  }
  .tg-page-p01 .specialty-word small {
    font-size: 11px;
    margin-left: 0;
  }
  .tg-page-p01 .poster-start {
    font-size: 28px;
  }
  .tg-page-p01 .poster-forward {
    font-size: 60px;
    margin-top: 10px;
    margin-left: 12%;
    line-height: 1.2;
    letter-spacing: -0.04em;
  }
  .tg-page-p01 .tg-top-c .tg-h1 {
    margin-bottom: 26px;
  }
  .tg-page-p01 .tg-top-c .tg-company-definition p:first-child {
    font-size: 20px;
    line-height: 1.6;
  }
  .tg-page-p01 .specialty-focus {
    font-size: 24px;
  }
  .tg-page-p01 .tg-top-c .tg-company-definition p + p {
    margin-top: 20px;
  }
}
@media (max-width: 350px) {
  .tg-page-p01 .poster-forward {
    font-size: 58px;
  }
  .tg-page-p01 .tg-top-c .tg-company-definition p:first-child {
    font-size: 18px;
  }
}

/* Align the existing legacy contact block with the shared site CTA. */
body.single-post
  .tg-post-wrap
  .post_content
  .swell-block-button.red_.is-style-btn_normal
  > .swell-block-button__link {
  background: #111;
  background-image: none;
  color: #fff;
  border-radius: 0;
  box-shadow: none;
}

.tg-renewal.tg-role-article .post_content .tg-code-comparison table {
  min-width: 560px;
}
.tg-renewal.tg-role-article .post_content .tg-code-comparison code {
  white-space: nowrap;
}

@media (max-width: 760px) {
  .tg-renewal.tg-role-article .post_content .tg-file-comparison table {
    table-layout: fixed;
  }
  .tg-renewal.tg-role-article .post_content .tg-file-comparison tr > :first-child {
    width: 110px;
  }
  .tg-renewal.tg-role-article .post_content .tg-file-comparison tr > :nth-child(n + 2) {
    width: calc((100% - 110px) / 2);
  }
}

@media (max-width: 359px) {
  .tg-renewal.tg-role-article .post_content .tg-file-comparison {
    overflow-x: auto;
    max-width: 100%;
    scrollbar-width: thin;
  }
  .tg-renewal.tg-role-article .post_content .tg-file-comparison table {
    min-width: 360px;
  }
  .tg-renewal.tg-role-article .post_content .tg-file-comparison::after {
    content: "← スクロール →";
    display: block;
    position: sticky;
    left: 0;
    padding: 8px 0;
    font-size: 11px;
    line-height: 1.6;
    color: #666;
    letter-spacing: 0.06em;
  }
}
.tg-renewal.tg-role-article .post_content .tg-file-comparison:focus-visible {
  outline: 2px solid #244c45;
  outline-offset: 4px;
}

.tg-renewal .tg-pagination-tail {
  display: contents;
}
@media (max-width: 760px) {
  .tg-renewal .tg-pagination-tail {
    display: inline-flex;
    gap: 6px;
    white-space: nowrap;
    align-items: stretch;
  }
  .tg-renewal.tg-role-article .post_content .tg-premise-comparison tr > :first-child {
    width: 72px;
    white-space: nowrap;
  }
  .tg-renewal.tg-role-article .post_content .tg-premise-comparison tr > :nth-child(2) {
    width: calc(100% - 72px);
  }
}

@media (max-width: 760px) {
  .tg-renewal.tg-role-article .post_content .tg-check-number tr > :first-child {
    width: 48px;
    padding-right: 8px;
    padding-left: 8px;
    white-space: nowrap;
  }
  .tg-renewal.tg-role-article .post_content .tg-check-number tr > :nth-child(n + 2) {
    width: calc((100% - 48px) / 2);
  }
  .tg-renewal.tg-role-article .post_content .tg-check-priority-two tr > :first-child {
    width: calc(100% - 72px);
  }
  .tg-renewal.tg-role-article .post_content .tg-check-priority-two tr > :last-child {
    width: 72px;
  }
  .tg-renewal.tg-role-article .post_content .tg-check-priority-three tr > :last-child {
    width: 72px;
  }
  .tg-renewal.tg-role-article .post_content .tg-check-priority-three tr > :nth-child(-n + 2) {
    width: calc((100% - 72px) / 2);
  }
}

/* Preserve the existing branch relationships in this single text diagram. */
.tg-renewal.tg-role-article .post_content pre.tg-branch-diagram {
  white-space: pre;
  overflow-x: auto;
  max-width: 100%;
}
.tg-renewal.tg-role-article .post_content pre.tg-branch-diagram code {
  white-space: pre;
}
.tg-renewal.tg-role-article .post_content pre.tg-branch-diagram:focus-visible {
  outline: 2px solid #244c45;
  outline-offset: 4px;
}
@media (max-width: 760px) {
  .tg-renewal.tg-role-article .post_content pre.tg-branch-diagram::after {
    content: "← スクロール →";
    display: block;
    position: sticky;
    left: 0;
    padding: 8px 0;
    font-size: 11px;
    line-height: 1.6;
    color: #666;
    letter-spacing: 0.06em;
  }
}

/* Reset only the grouping span; keep the existing page buttons intact. */
.tg-renewal .tg-main .tg-pagination > .tg-pagination-tail {
  border: 0;
  padding: 0;
  min-width: 0;
  background: transparent;
  box-shadow: none;
}

/* v6.38 — 記事一覧。画像・全文タイトル・日付の読み順を統一。 */
.tg-renewal .tg-main .tg-postlist--cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 28px;
  border: 0;
  margin-top: 28px;
  align-items: stretch;
}
.tg-renewal .tg-main .tg-postlist--cards .tg-article-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: stretch;
  min-width: 0;
  padding: 0;
  border: 1px solid #e3e5e2;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  overflow: hidden;
  text-decoration: none;
  box-shadow: none;
  transition: border-color 180ms ease;
}
.tg-renewal .tg-main .tg-article-card__media {
  display: block;
  aspect-ratio: 16/9;
  width: 100%;
  overflow: hidden;
  background: #f5f6f3;
  border-bottom: 1px solid #eceeea;
}
.tg-renewal .tg-main .tg-article-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
}
.tg-renewal .tg-main .tg-article-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px;
  min-width: 0;
}
.tg-renewal .tg-main .tg-article-card__category {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: #59665f;
  margin-bottom: 10px;
}
.tg-renewal .tg-main .tg-postlist--cards .tg-article-card h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.65;
  letter-spacing: 0.01em;
  overflow-wrap: anywhere;
  transform: none;
  transition: none;
}
.tg-renewal .tg-main .tg-postlist--cards .tg-article-card time {
  display: block;
  margin-top: auto;
  padding-top: 28px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  color: #737870;
}
.tg-renewal .tg-main .tg-postlist--cards .tg-article-card:hover {
  border-color: #9da69f;
  background: #fff;
  opacity: 1;
}
.tg-renewal .tg-main .tg-postlist--cards .tg-article-card:focus-visible {
  outline: 2px solid #244c45;
  outline-offset: 4px;
  border-color: #244c45;
  background: #fff;
  opacity: 1;
}
.tg-renewal .tg-main .tg-article-card__cover {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  padding: 24px;
  color: #244c45;
  background: #edf0e9;
}
.tg-renewal .tg-main .tg-article-card__cover span {
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.08em;
}
.tg-renewal .tg-main .tg-article-card__cover strong {
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 0.02em;
}
@media (max-width: 999px) {
  .tg-renewal .tg-main .tg-postlist--cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 24px;
  }
  .tg-renewal .tg-main .tg-article-card__body {
    padding: 22px;
  }
  .tg-renewal .tg-main .tg-postlist--cards .tg-article-card h3 {
    font-size: 19px;
  }
}
@media (max-width: 640px) {
  .tg-renewal .tg-main .tg-postlist--cards {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    margin-top: 24px;
  }
  .tg-renewal .tg-main .tg-article-card__body {
    padding: 22px;
  }
  .tg-renewal .tg-main .tg-postlist--cards .tg-article-card h3 {
    font-size: 18px;
    line-height: 1.65;
  }
  .tg-renewal .tg-main .tg-postlist--cards .tg-article-card time {
    padding-top: 24px;
  }
  .tg-renewal .tg-main .tg-article-card__cover {
    padding: 24px;
  }
  .tg-renewal .tg-main .tg-article-card__cover strong {
    font-size: 24px;
  }
}
/* 一覧ジャンプの受け皿。操作するカードのfocus表示は上記で保持。 */
.tg-renewal .tg-main .tg-postlist--cards:focus {
  outline: none;
}

/* v6.39 — メニュー外のコラム導線。採用情報の直前で全幅に表示。 */
.tg-header__column {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  flex-shrink: 0;
  font-size: 12px;
  line-height: 1.6;
  white-space: nowrap;
  text-decoration: none;
  text-underline-offset: 6px;
}
.tg-header__column:hover,
.tg-header__column:focus-visible,
.tg-header__column[aria-current] {
  text-decoration: underline;
}
.tg-header__recruit {
  flex-shrink: 0;
}
@media (max-width: 760px) {
  .tg-header__column {
    font-size: 11px;
  }
  .tg-header__logo img {
    width: 128px;
    height: auto;
  }
}
@media (max-width: 360px) {
  .tg-header__inner {
    gap: 8px;
  }
  .tg-header__right {
    gap: 8px;
  }
  .tg-header__logo img {
    width: 112px;
    height: auto;
  }
}

/* v6.40 — TOPのFV上端。先頭要素のmarginによる白い隙間を解消。 */
.tg-page-p01 .tg-top-c > .tg-top-meta {
  margin-top: 0;
}

/* v6.42 — 現行FVの動画を原本のまま使用。文字側と上下の導線を保護。 */
.tg-page-p01 .tg-top-c::before {
  background: #000;
}
.tg-page-p01 .tg-top-video {
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: #000;
}
.tg-page-p01 .tg-top-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
}
.tg-page-p01 .tg-top-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.82) 0%,
      rgba(0, 0, 0, 0.66) 42%,
      rgba(0, 0, 0, 0.12) 78%
    ),
    linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.84),
      transparent 34%,
      transparent 86%,
      rgba(0, 0, 0, 0.65)
    );
}
.tg-page-p01 .tg-top-c-content {
  position: relative;
  padding: 40px 0 40px;
}
.tg-page-p01 .tg-video-toggle {
  position: absolute;
  right: 0;
  bottom: 40px;
  min-width: 44px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #ffffff70;
  background: #0009;
  color: #fff;
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  cursor: pointer;
}
.tg-page-p01 .tg-video-toggle[hidden] {
  display: none;
}
.tg-page-p01 .tg-video-toggle:hover {
  background: #000d;
}
.tg-page-p01 .tg-video-toggle:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}
.tg-page-p11 .tg-main--page .tg-hero {
  padding: 40px 0 48px;
}
@media (max-width: 760px) {
  .tg-page-p01 .tg-top-c-content {
    padding: 28px 0 32px;
  }
  .tg-page-p01 .tg-top-video video {
    object-position: 62% center;
  }
  .tg-page-p01 .tg-top-video::after {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.5)),
      linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.86),
        transparent 40%,
        transparent 80%,
        rgba(0, 0, 0, 0.5)
      );
  }
  .tg-page-p01 .tg-video-toggle {
    bottom: 32px;
  }
  .tg-page-p11 .tg-main--page .tg-hero {
    padding: 24px 0 32px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tg-page-p01 .tg-top-video video {
    visibility: hidden;
  }
}

/* v6.43 — TOPでは動画をヘッダーまで広げ、スクロール後に白いヘッダーへ。 */
.tg-page-p01 {
  --tg-top-header-height: 80px;
}
.tg-page-p01 .tg-header {
  position: fixed;
  inset: 0 0 auto;
  transition:
    background-color 180ms ease,
    color 180ms ease;
}
.tg-page-p01 .tg-top-c {
  padding-top: var(--tg-top-header-height);
}
.tg-page-p01 .tg-header:not(.is-scrolled) {
  background: transparent;
  color: #fff;
}
.tg-page-p01 .tg-header:not(.is-scrolled) .tg-header__logo img {
  filter: invert(1);
}
.tg-page-p01 .tg-header:not(.is-scrolled) :is(.tg-header__column, .tg-header__recruit, .tg-nav a) {
  color: #fff;
}
.tg-page-p01 .tg-header:not(.is-scrolled) .tg-menu-toggle {
  color: #fff;
  background: transparent;
}
.tg-page-p01 .tg-header:not(.is-scrolled) .tg-btn {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.tg-page-p01 .tg-header:not(.is-scrolled) .tg-btn:hover {
  background: #fff;
  color: #111;
  opacity: 1;
}
.tg-page-p01 .tg-header:not(.is-scrolled) :is(a, button):focus-visible {
  outline-color: #fff;
}
.tg-page-p01 .tg-header:not(.is-scrolled) .tg-reading-progress {
  background: #fff;
}
@media (max-width: 760px) {
  .tg-page-p01 {
    --tg-top-header-height: 64px;
  }
}

/* v6.44 — コピー・会社説明・CTAの左軸を揃え、AIOを語の横へ。 */
.tg-page-p01 .poster-forward {
  margin-left: 0;
}
.tg-page-p01 .tg-top-c .tg-h1 {
  max-width: 760px;
  margin-bottom: 24px;
}
.tg-page-p01 .tg-top-c .tg-company-definition {
  max-width: 760px;
}
.tg-page-p01 .tg-top-c .specialty-word small {
  position: static;
  display: inline-block;
  vertical-align: baseline;
  margin-left: 8px;
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: 0.05em;
  font-weight: 400;
}
.tg-page-p01 .tg-top-c .tg-company-definition p + p {
  margin-top: 16px;
}
.tg-page-p01 .tg-top-c .tg-ctas {
  margin-top: 24px;
}
@media (max-width: 760px) {
  .tg-page-p01 .tg-top-c .tg-h1,
  .tg-page-p01 .tg-top-c .tg-company-definition {
    max-width: none;
  }
  .tg-page-p01 .tg-top-c .tg-ctas {
    margin-top: 20px;
  }
}

/* ==========================================================================
   現行デザイン（2026-10-22〜）（旧 tg-one-design.css）
   ========================================================================== */
/* Technogram — benchmark direction, local review only. */
:root {
  --one-ink: #161c19;
  --one-muted: #68706b;
  --one-mint: #97e8c7;
  --one-paper: #f3f5f3;
  --one-line: #dce2dd;
  --one-width: 1200px;
}
html {
  scroll-padding-top: 110px;
}
body.tg-one {
  margin: 0;
  background: #fff;
  color: var(--one-ink);
  font-family: Arial, "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
  letter-spacing: 0.015em;
  -webkit-font-smoothing: antialiased;
}
.tg-one * {
  box-sizing: border-box;
}
.tg-one a {
  color: inherit;
  text-decoration: none;
}
.tg-one button,
.tg-one input,
.tg-one textarea {
  font: inherit;
}
.tg-one a:focus-visible,
.tg-one button:focus-visible {
  outline: 3px solid #247d5b;
  outline-offset: 5px;
}
.tg-one img {
  max-width: 100%;
  height: auto;
}
.tg-one main {
  padding-top: 0;
  overflow: clip;
}
.tg-one:not(.home) main {
  padding-top: 102px;
}
.one-header {
  height: 86px;
  padding: 0 3.3%;
  display: flex;
  align-items: center;
  gap: 28px;
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  background: #fff;
  transition:
    background 0.25s,
    box-shadow 0.25s;
  color: var(--one-ink);
}
.one-logo {
  display: block;
  flex: none;
  margin-right: auto;
}
.one-logo img {
  display: block;
  width: 176px;
  height: 18px;
}
.one-desktop-nav {
  display: flex;
  gap: 23px;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.one-desktop-nav a {
  padding: 12px 0;
  position: relative;
}
.one-desktop-nav a:after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s;
}
.one-desktop-nav a:hover:after {
  transform: scaleX(1);
}
.one-button {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  min-height: 56px;
  min-width: 230px;
  padding: 16px 24px;
  border: 1px solid var(--one-mint);
  border-radius: 7px;
  background: var(--one-mint);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.2s;
}
.one-button:hover {
  background: #b7f3db;
  border-color: #b7f3db;
  transform: translateY(-2px);
}
.one-button--line {
  background: transparent;
  border-color: #c4cdc7;
}
.one-button--line:hover {
  background: var(--one-paper);
  border-color: #9caaa1;
}
.one-arrow {
  font-size: 21px;
  line-height: 1;
  flex: none;
  font-weight: 400;
}
.one-header > .one-button {
  min-width: 150px;
  min-height: 44px;
  padding: 10px 15px;
  gap: 16px;
  font-size: 12px;
}
.one-menu-button {
  width: 36px;
  height: 44px;
  flex: none;
  border: 0;
  background: transparent;
  padding: 7px 0;
  color: inherit;
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.one-menu-button > span {
  width: 28px;
  height: 1.5px;
  background: currentColor;
  display: block;
}
.one-menu-button small {
  font-size: 8px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.1em;
}
.home .one-header:not(.is-scrolled) {
  background: transparent;
  color: white;
}
.home .one-header:not(.is-scrolled) .one-logo img {
  filter: invert(1);
}
.home .one-header:not(.is-scrolled) > .one-button {
  color: var(--one-ink);
}
.one-header.is-scrolled {
  box-shadow: 0 1px 0 #161c1910;
}
.one-menu[hidden] {
  display: none !important;
}
.one-menu {
  position: fixed;
  inset: 0;
  background: var(--one-paper);
  z-index: 1100;
  display: grid;
  place-content: center;
  padding: 90px 8%;
  overflow: auto;
}
.one-menu nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 90px;
  width: min(900px, 80vw);
}
.one-menu nav a {
  border-bottom: 1px solid #cbd3cd;
  padding: 25px 0;
  display: flex;
  gap: 40px;
  justify-content: space-between;
  font-size: 24px;
  font-weight: 600;
}
.one-menu-close {
  position: absolute;
  right: 4%;
  top: 28px;
  border: 0;
  background: var(--one-mint);
  padding: 12px 22px;
  border-radius: 5px;
  cursor: pointer;
}
.one-menu-open {
  overflow: hidden;
}
.one-home-hero {
  min-height: 760px;
  min-height: min(900px, 100svh);
  height: auto;
  position: relative;
  background: #13211b;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px max(calc((100vw - var(--one-width)) / 2), 5%) 0;
  isolation: isolate;
}
.one-hero-video {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}
.one-hero-video:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #07140f88, #07140f22), linear-gradient(0deg, #07140f77, transparent 65%);
}
.one-hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.one-hero-content {
  width: 100%;
  padding: 26px 0 50px;
}
.one-eyebrow {
  font-size: 11px;
  letter-spacing: 0.12em;
  font-weight: 600;
  margin: 0 0 26px;
  line-height: 1.6;
}
.one-hero-content h1 {
  font-size: clamp(80px, 8vw, 124px);
  line-height: 1.19;
  font-weight: 600;
  letter-spacing: -0.065em;
  margin: 0 0 38px;
  max-width: none;
  color: white;
  white-space: normal;
}
.one-hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 35px;
}
.one-hero-bottom > p {
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.7;
  font-weight: 500;
  margin: 0;
  letter-spacing: 0.015em;
}
.one-hero-bottom strong {
  font-weight: 700;
}
.one-hero-bottom small {
  display: block;
  font-size: 13px;
  line-height: 1.9;
  margin-top: 20px;
  font-weight: 400;
  letter-spacing: 0.01em;
}
.one-hero-bottom > div {
  display: flex;
  gap: 12px;
  flex-direction: column;
  flex: none;
}
.one-hero-bottom .one-button {
  color: var(--one-ink);
  font-size: 13px;
  min-width: 232px;
  min-height: 51px;
}
.one-hero-bottom .one-button--line {
  color: #fff;
  border-color: #ffffff66;
}
.one-hero-bottom .one-button--line:hover {
  background: #ffffff18;
}
.one-hero-tail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-top: 1px solid #ffffff45;
  padding: 23px 0;
  margin-top: auto;
  font-size: 9px;
  letter-spacing: 0.12em;
}
.one-video-toggle {
  border: 0;
  background: transparent;
  color: white;
  font-size: 10px;
  padding: 5px;
  white-space: nowrap;
  cursor: pointer;
}
.one-section {
  max-width: var(--one-width);
  margin: 0 auto;
  padding: 104px 0 0;
}
.one-section-title {
  margin: 0 0 44px;
}
.one-section-title > p {
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 13px;
  font-weight: 600;
}
.one-section-title i {
  display: block;
  width: 5px;
  height: 15px;
  background: #70d6af;
}
.one-section-title h2 {
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: clamp(48px, 6.5vw, 88px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  margin: 0;
  color: var(--one-ink);
}
.one-pickup-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}
.one-pickup-grid .tg-article-card {
  background: var(--one-paper);
  border: 0 !important;
  border-radius: 10px;
  box-shadow: none !important;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s;
}
.one-pickup-grid .tg-article-card:hover {
  transform: translateY(-5px);
}
.one-pickup-grid .tg-article-card {
  padding: 0 !important;
  gap: 0 !important;
}
.one-pickup-grid .tg-article-card__media {
  display: block;
  margin: 0;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.one-pickup-grid .tg-article-card__image,
.one-pickup-grid .tg-article-card__thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #e9eeea;
}
.one-pickup-grid .tg-article-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.one-pickup-grid .tg-article-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.one-pickup-grid .tg-article-card h3 {
  font-size: 18px;
  line-height: 1.8;
  font-weight: 600;
  margin: 12px 0 24px;
  letter-spacing: 0.01em;
}
.one-pickup-grid .tg-article-card time {
  font-size: 12px;
  color: var(--one-muted);
  margin-top: auto;
}
.one-section-more {
  display: flex;
  justify-content: flex-end;
  margin-top: 32px;
}
.one-service-intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin: 0 0 42px;
}
.one-service-intro h3 {
  font-size: 36px;
  line-height: 1.7;
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.035em;
}
.one-service-intro p {
  font-size: 15px;
  line-height: 2;
  margin: 0 5% 4px 0;
}
.one-service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.one-service-card {
  display: grid;
  grid-template-columns: 42% 1fr;
  overflow: hidden;
  border-radius: 12px;
  background: var(--one-paper);
  min-height: 300px;
  transition: background 0.2s;
}
.one-service-card:hover {
  background: #eaf1eb;
}
.one-service-art {
  position: relative;
  overflow: hidden;
  background: #e5ebe6;
}
.one-service-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s;
}
.one-service-card:hover img {
  transform: scale(1.04);
}
.one-service-art > span {
  position: absolute;
  bottom: 18px;
  left: 20px;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.06em;
  color: #6e8d7c;
}
.one-service-copy {
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.one-service-copy small {
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--one-muted);
  font-weight: 600;
}
.one-service-copy h3 {
  font-size: 23px;
  line-height: 1.5;
  margin: 18px 0 16px;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.one-service-copy p {
  font-size: 13px;
  line-height: 1.9;
  margin: 0 0 20px;
}
.one-service-link {
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: auto;
}
.one-service-link b {
  font-size: 23px;
  font-weight: 400;
}
.one-stance-panel {
  background: var(--one-paper);
  border-radius: 14px;
  padding: 60px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
}
.one-stance-panel h3 {
  font-size: 38px;
  line-height: 1.75;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin: 0;
}
.one-stance-panel p,
.one-approach-intro p,
.one-diagnosis-panel > div > p:not(.one-eyebrow) {
  font-size: 15px;
  line-height: 2.2;
  margin: 0 0 20px;
}
.one-stance-panel .one-button,
.one-approach-intro .one-button {
  margin-top: 14px;
}
.one-approach-intro {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 90px;
  margin: 20px 0 48px;
}
.one-approach-intro h3 {
  font-size: 36px;
  line-height: 1.8;
  margin: 0;
  letter-spacing: -0.03em;
  font-weight: 600;
}
.one-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.one-steps > div {
  border-radius: 10px;
  background: var(--one-paper);
  position: relative;
  padding: 25px 26px 50px;
}
.one-steps small {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--one-muted);
}
.one-steps h4 {
  font-size: 21px;
  line-height: 1.5;
  margin: 22px 0 0;
  font-weight: 600;
}
.one-steps > div > span {
  position: absolute;
  bottom: 17px;
  right: 22px;
  font-size: 23px;
}
.one-diagnosis-panel {
  background: var(--one-paper);
  border-radius: 14px;
  padding: 56px 60px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  border-top: 5px solid var(--one-mint);
}
.one-diagnosis-panel h2 {
  font-size: 32px;
  line-height: 1.8;
  margin: 0;
  letter-spacing: -0.03em;
  font-weight: 600;
}
.one-diagnosis-panel .one-eyebrow {
  color: #457761;
  margin-bottom: 20px;
}
.one-diagnosis-panel .one-button {
  margin-top: 10px;
  font-size: 13px;
  min-width: 280px;
}
.one-company-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.one-company-grid > a {
  display: block;
  background: var(--one-paper);
  border-radius: 12px;
  padding: 42px;
  min-height: 260px;
  transition: background 0.2s;
  position: relative;
}
.one-company-grid > a:hover {
  background: #e7eee8;
}
.one-company-grid p {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.07em;
  margin: 0 0 28px;
}
.one-company-grid h3 {
  font-size: 29px;
  line-height: 1.6;
  margin: 0 0 22px;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.one-company-grid span {
  font-size: 13px;
}
.one-contact-band {
  max-width: var(--one-width);
  margin: 110px auto 0;
  padding: 62px 60px;
  border-radius: 14px;
  background: var(--one-mint);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}
.one-contact-band .one-eyebrow {
  font-size: 13px;
  margin-bottom: 18px;
}
.one-contact-band h2 {
  font-size: 44px;
  font-weight: 600;
  line-height: 1.5;
  margin: 0 0 16px;
  letter-spacing: -0.035em;
}
.one-contact-band p:not(.one-eyebrow) {
  font-size: 14px;
  line-height: 2;
  margin: 0;
}
.one-contact-band .one-button {
  background: var(--one-ink);
  border-color: var(--one-ink);
  color: white;
  min-width: 240px;
}
.one-mobile-break {
  display: none;
}
.one-footer {
  max-width: var(--one-width);
  margin: 0 auto;
  padding: 80px 0 32px;
}
.one-footer-top {
  display: grid;
  grid-template-columns: 1fr 1.25fr 1fr;
  gap: 35px;
  align-items: start;
}
.one-footer-logo {
  display: block;
  margin-top: 4px;
}
.one-footer-logo img {
  width: 210px;
  height: auto;
  display: block;
}
.one-footer strong {
  font-size: 13px;
  font-weight: 600;
}
.one-footer p {
  font-size: 11px;
  line-height: 2;
  margin: 10px 0 0;
  color: var(--one-muted);
}
.one-footer nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 25px;
  font-size: 12px;
  font-weight: 600;
}
.one-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 50px;
  font-size: 10px;
  color: var(--one-muted);
}
.one-top {
  position: fixed;
  bottom: 28px;
  right: 24px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: white;
  border: 1px solid var(--one-line);
  border-radius: 50%;
  z-index: 90;
  font-size: 21px;
}
.one-preview-note {
  position: fixed;
  bottom: 0;
  left: 0;
  padding: 4px 10px;
  background: #17221bea;
  color: #fff;
  font-size: 9px;
  letter-spacing: 0.04em;
  z-index: 1500;
  pointer-events: none;
}
/* Inner pages keep their original content and document structure. */
.tg-one .tg-container {
  width: min(var(--one-width), 90%);
  max-width: var(--one-width);
  margin-left: auto;
  margin-right: auto;
}
.tg-one .tg-crumbs {
  font-size: 11px;
  margin-top: 10px;
  margin-bottom: 24px;
  color: var(--one-muted);
}
.tg-one .tg-hero {
  padding: 35px 0 58px;
  margin: 0;
  border: 0;
  background: none;
  min-height: 0;
  display: block;
}
.tg-one .one-page-word {
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: clamp(60px, 8vw, 108px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.055em;
  margin: 0 0 38px;
}
.tg-one .tg-hero__grid {
  gap: 60px;
  grid-template-columns: 1.15fr 1fr;
  align-items: start;
  min-height: 0;
}
.tg-one .tg-hero .tg-label {
  font-size: 10px;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  color: var(--one-muted);
}
.tg-one .tg-h1 {
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.6;
  margin: 0;
}
.tg-one .tg-hero .tg-lead {
  font-size: 15px;
  line-height: 2.15;
  margin: 0;
}
.tg-one .tg-hero .tg-lead p {
  margin-top: 0;
}
.tg-one .tg-hero .tg-ctas {
  margin-top: 26px;
}
.tg-one .tg-btn {
  background: var(--one-mint);
  border: 1px solid var(--one-mint);
  border-radius: 6px;
  color: var(--one-ink);
  min-height: 52px;
  padding: 14px 22px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: none;
}
.tg-one .tg-btn:hover {
  background: #b7f3db;
  color: var(--one-ink);
}
.tg-one .tg-btn--ghost {
  background: transparent;
  border-color: #c4cdc7;
}
.tg-one .tg-section {
  padding-top: 55px;
  padding-bottom: 55px;
  border-color: var(--one-line);
}
.tg-one .tg-section .tg-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.025em;
}
.tg-one .tg-h2 {
  font-size: 32px;
  line-height: 1.7;
  letter-spacing: -0.03em;
  font-weight: 600;
}
.tg-one .tg-h3 {
  font-size: 22px;
  line-height: 1.7;
  letter-spacing: -0.02em;
  font-weight: 600;
}
.tg-one .tg-row {
  border-color: var(--one-line);
}
.tg-one .tg-card {
  background: var(--one-paper);
  border: 0;
  border-radius: 10px;
  box-shadow: none;
  padding: 30px;
}
.tg-one .tg-article-card {
  border: 1px solid #e4e8e4;
  border-radius: 10px;
  box-shadow: none;
  overflow: hidden;
  transition: transform 0.2s;
}
.tg-one .tg-article-card:hover {
  transform: translateY(-4px);
  box-shadow: none;
}
.tg-one .tg-article-card h3 {
  font-size: 19px;
  line-height: 1.8;
  font-weight: 600;
  letter-spacing: 0;
}
.tg-one .tg-article-card__body {
  padding: 24px;
}
.tg-one .tg-article-card__meta,
.tg-one .tg-article-card time {
  font-size: 12px;
  color: var(--one-muted);
}
.tg-one .tg-report-topics {
  background: var(--one-paper);
  border-radius: 12px;
  padding: 32px;
}
.tg-one input[type="search"],
.tg-one input[type="text"],
.tg-one input[type="email"] {
  border: 1px solid #cbd4cd;
  border-radius: 5px;
  background: white;
  padding: 12px 15px;
  min-height: 48px;
}
.tg-one .tg-service-fv-copy {
  font-size: inherit;
  line-height: inherit;
}
.tg-one .tg-service-fv-line {
  display: block;
}
.tg-one .tg-service-fv-focus {
  font-size: inherit;
  color: inherit;
}
.tg-one .tg-article-featured {
  width: min(960px, 90%);
  margin: 0 auto 50px;
  overflow: hidden;
  border-radius: 10px;
}
.tg-one .tg-article-featured img {
  width: 100%;
  height: auto;
  display: block;
}
.tg-one .tg-post-wrap {
  max-width: 960px;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}
.tg-one .tg-post {
  font-size: 17px;
  line-height: 2;
}
.tg-one .tg-post h2 {
  font-size: 29px;
  line-height: 1.7;
  margin-top: 60px;
  letter-spacing: -0.025em;
}
.tg-one .tg-post h3 {
  font-size: 23px;
  line-height: 1.7;
  margin-top: 36px;
}
.tg-one .tg-post table {
  font-size: 14px;
  line-height: 1.8;
}
.tg-one .tg-toc {
  border: 0;
  border-radius: 10px;
  background: var(--one-paper);
  padding: 28px;
}
.one-form-preview {
  background: var(--one-paper);
  border-radius: 12px;
  padding: 35px;
  width: 100%;
  font-size: 14px;
}
.one-form-preview > p {
  font-size: 12px;
  color: var(--one-muted);
  margin-top: 0;
}
.one-form-preview label {
  display: block;
  margin: 22px 0;
}
.one-form-preview input,
.one-form-preview textarea {
  display: block;
  width: 100%;
  border: 1px solid #cbd4cd;
  padding: 12px;
  margin-top: 10px;
  background: white;
  border-radius: 4px;
}
.one-form-preview button {
  background: var(--one-mint);
  border: 0;
  border-radius: 5px;
  padding: 16px 25px;
  color: var(--one-ink);
}
/* The old theme has page-specific type and container rules. Limit the
   review overrides to layout and visual treatment, leaving article HTML intact. */
body.tg-one {
  padding-bottom: 0 !important;
}
body.tg-one .tg-mobile-cta {
  display: none !important;
}
body.tg-one .tg-main {
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
body.tg-one .tg-container {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
body.tg-one .tg-hero {
  padding: 28px 0 52px !important;
  border: 0 !important;
  margin: 0 !important;
}
body.tg-one .tg-hero__grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) !important;
  gap: 60px !important;
  align-items: start !important;
}
body.tg-one .tg-hero .tg-h1 {
  font-size: clamp(32px, 3.5vw, 48px) !important;
  line-height: 1.6 !important;
  font-weight: 600 !important;
  letter-spacing: -0.04em !important;
  margin: 0 !important;
}
body.tg-one .tg-hero .tg-lead {
  padding-top: 26px !important;
  font-size: 15px !important;
  line-height: 2.15 !important;
  max-width: none !important;
}
body.tg-one .tg-hero .tg-label {
  font-size: 10px !important;
  margin-bottom: 16px !important;
  letter-spacing: 0.08em !important;
}
body.tg-one .tg-hero .tg-label:before {
  display: none !important;
}
body.tg-one .tg-service-fv-copy,
body.tg-one .tg-service-fv-focus {
  font-size: inherit !important;
  line-height: inherit !important;
  font-weight: inherit !important;
  display: inline !important;
}
body.tg-one .tg-service-fv-focus {
  padding-left: 0.12em;
}
body.tg-one .tg-main [data-reveal] {
  opacity: 1 !important;
  transform: none !important;
}
body.tg-one .tg-main [data-line]:after {
  transform: scaleX(1) !important;
}
body.tg-one .tg-main a:hover {
  opacity: 1 !important;
}
body.tg-one.tg-role-article .tg-hero {
  width: min(960px, 90%);
  margin: 0 auto !important;
  padding-top: 24px !important;
}
body.tg-one.tg-role-article .tg-crumbs {
  width: min(960px, 90%);
  margin: 0 auto 10px !important;
}
body.tg-one.tg-role-article .tg-hero__grid {
  grid-template-columns: 1fr !important;
  gap: 24px !important;
}
body.tg-one.tg-role-article .tg-hero .tg-h1 {
  font-size: 40px !important;
  line-height: 1.65 !important;
}
body.tg-one.tg-role-article .tg-container .tg-hero,
body.tg-one.tg-role-article .tg-container .tg-crumbs {
  width: 100%;
}
body.tg-one .tg-post-wrap .post_content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 2.1;
}
body.tg-one .tg-post-wrap .post_content h2 {
  font-size: 28px;
  line-height: 1.7;
  border: 0;
  border-top: 3px solid var(--one-mint);
  background: none;
  color: var(--one-ink);
  padding: 24px 0 0;
  margin-top: 64px;
}
body.tg-one .tg-post-wrap .post_content h3 {
  font-size: 22px;
  line-height: 1.7;
}
body.tg-one .tg-article-toc {
  background: var(--one-paper);
  border: 0;
  border-radius: 10px;
  padding: 28px;
}
@media (min-width: 768px) {
  body.tg-one .tg-byline {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 12px;
    border-top: 1px solid var(--one-line);
    padding-top: 18px;
  }
  body.tg-one .tg-byline dd {
    margin: 0 18px 0 0;
  }
  body.tg-one .tg-byline dt {
    color: var(--one-muted);
    font-size: 10px;
  }
}
@media (min-width: 1600px) {
  .one-home-hero {
    padding-top: 160px;
  }
  .one-hero-content {
    padding-bottom: 70px;
  }
  .one-hero-content h1 {
    margin-bottom: 50px;
  }
}
@media (max-width: 1320px) {
  .one-section,
  .one-footer,
  .one-contact-band {
    max-width: 90%;
  }
  .one-header {
    gap: 20px;
  }
  .one-desktop-nav {
    gap: 17px;
    font-size: 11px;
  }
  .one-logo img {
    width: 160px;
  }
  .one-service-copy {
    padding: 24px;
  }
  .one-service-copy h3 {
    font-size: 21px;
  }
}
@media (max-width: 1100px) {
  .one-desktop-nav a:nth-child(2),
  .one-desktop-nav a:nth-child(3),
  .one-desktop-nav a:nth-child(4) {
    display: none;
  }
  .one-desktop-nav {
    gap: 24px;
    font-size: 12px;
  }
  .one-header {
    gap: 24px;
  }
  .one-hero-bottom {
    gap: 25px;
  }
  .one-hero-bottom > p {
    font-size: 23px;
  }
  .one-hero-bottom small {
    max-width: 430px;
  }
  .one-service-card {
    grid-template-columns: 35% 1fr;
  }
  .one-service-copy {
    padding: 23px;
  }
  .one-stance-panel,
  .one-diagnosis-panel {
    padding: 45px;
    gap: 40px;
  }
  .one-stance-panel h3 {
    font-size: 32px;
  }
  .one-approach-intro {
    gap: 45px;
  }
  .one-approach-intro h3 {
    font-size: 31px;
  }
  .one-contact-band {
    padding: 46px;
  }
  .one-footer-top {
    grid-template-columns: 1fr 1.3fr;
  }
  .one-footer-top nav {
    grid-column: 1/-1;
    grid-template-columns: repeat(6, auto);
    gap: 18px;
  }
  .one-footer-logo img {
    width: 200px;
  }
}
@media (max-width: 767px) {
  html {
    scroll-padding-top: 86px;
  }
  .one-header {
    height: 70px;
    padding: 0 6%;
    gap: 19px;
  }
  .one-logo img {
    width: 142px;
    height: auto;
  }
  .one-header > .one-button {
    display: none;
  }
  .one-desktop-nav {
    gap: 17px;
    font-size: 11px;
  }
  .one-desktop-nav a {
    display: none !important;
  }
  .one-desktop-nav a[href="/report/"] {
    display: block !important;
  }
  .one-menu-button {
    width: 27px;
  }
  .one-menu-button > span {
    width: 25px;
  }
  .one-menu nav {
    width: 84vw;
    grid-template-columns: 1fr;
    gap: 0;
  }
  .one-menu nav a {
    padding: 19px 0;
    font-size: 20px;
  }
  .one-home-hero {
    min-height: 780px;
    min-height: 100svh;
    padding: 116px 6% 0;
    justify-content: flex-start;
  }
  .one-hero-content {
    padding: 10px 0 32px;
  }
  .one-hero-content > .one-eyebrow {
    font-size: 8px;
    letter-spacing: 0.1em;
    margin-bottom: 28px;
  }
  .one-hero-content h1 {
    font-size: clamp(64px, 18vw, 100px);
    line-height: 1.24;
    margin-bottom: 32px;
    letter-spacing: -0.07em;
  }
  .one-hero-bottom {
    display: block;
  }
  .one-hero-bottom > p {
    font-size: 19px;
    line-height: 1.8;
    letter-spacing: -0.02em;
  }
  .one-hero-bottom small {
    font-size: 11px;
    line-height: 1.9;
    margin-top: 16px;
    max-width: 310px;
    letter-spacing: 0;
  }
  .one-hero-bottom > div {
    margin-top: 26px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .one-hero-bottom .one-button {
    min-width: 0;
    min-height: 49px;
    padding: 12px;
    font-size: 11px;
    gap: 8px;
  }
  .one-hero-bottom .one-arrow {
    font-size: 19px;
  }
  .one-hero-tail {
    padding: 19px 0;
    gap: 8px;
    font-size: 6px;
    letter-spacing: 0.025em;
  }
  .one-video-toggle {
    font-size: 8px;
    padding: 4px 0;
  }
  .one-section {
    max-width: 88%;
    padding-top: 65px;
  }
  .one-section-title {
    margin-bottom: 28px;
  }
  .one-section-title > p {
    font-size: 11px;
    margin-bottom: 14px;
    gap: 9px;
  }
  .one-section-title i {
    height: 12px;
    width: 4px;
  }
  .one-section-title h2 {
    font-size: 45px;
    letter-spacing: -0.055em;
    line-height: 1.08;
  }
  .one-pickup-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .one-pickup-grid .tg-article-card {
    display: grid;
    grid-template-columns: 1fr;
  }
  .one-pickup-grid .tg-article-card__body {
    padding: 22px;
  }
  .one-pickup-grid .tg-article-card h3 {
    font-size: 17px;
    margin: 10px 0 20px;
    line-height: 1.8;
  }
  .one-section-more {
    margin-top: 24px;
    justify-content: stretch;
  }
  .one-section-more > .one-button {
    width: 100%;
    font-size: 12px;
    min-height: 50px;
  }
  .one-service-intro {
    display: block;
    margin: 0 0 28px;
  }
  .one-service-intro h3 {
    font-size: 25px;
    line-height: 1.8;
    letter-spacing: -0.04em;
  }
  .one-service-intro p {
    font-size: 13px;
    line-height: 2;
    margin: 18px 0 0;
  }
  .one-service-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .one-service-card {
    grid-template-columns: 32% 1fr;
    min-height: 260px;
  }
  .one-service-copy {
    padding: 23px 19px;
  }
  .one-service-copy small {
    font-size: 8px;
  }
  .one-service-copy h3 {
    font-size: 20px;
    margin: 13px 0 12px;
    line-height: 1.5;
  }
  .one-service-copy p {
    font-size: 12px;
    line-height: 1.9;
    margin-bottom: 18px;
  }
  .one-service-art > span {
    font-size: 32px;
    left: 15px;
  }
  .one-service-link {
    font-size: 11px;
  }
  .one-stance-panel,
  .one-diagnosis-panel {
    padding: 30px 24px;
    display: block;
    border-radius: 10px;
  }
  .one-stance-panel h3 {
    font-size: 26px;
    line-height: 1.8;
    margin-bottom: 26px;
    letter-spacing: -0.04em;
  }
  .one-stance-panel p,
  .one-approach-intro p,
  .one-diagnosis-panel > div > p:not(.one-eyebrow) {
    font-size: 13px;
    line-height: 2.1;
    margin-bottom: 18px;
  }
  .one-stance-panel .one-button,
  .one-approach-intro .one-button {
    width: 100%;
    min-width: 0;
    font-size: 12px;
    padding: 14px 18px;
    gap: 12px;
  }
  .one-approach-intro {
    display: block;
    margin: 0 0 26px;
  }
  .one-approach-intro h3 {
    font-size: 25px;
    line-height: 1.8;
    margin-bottom: 24px;
  }
  .one-steps {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .one-steps > div {
    padding: 20px 18px 40px;
  }
  .one-steps small {
    font-size: 9px;
  }
  .one-steps h4 {
    font-size: 16px;
    margin-top: 16px;
  }
  .one-steps > div > span {
    font-size: 20px;
    bottom: 11px;
    right: 16px;
  }
  .one-diagnosis-panel h2 {
    font-size: 25px;
    line-height: 1.8;
    margin-bottom: 24px;
  }
  .one-diagnosis-panel .one-eyebrow {
    font-size: 10px;
  }
  .one-diagnosis-panel .one-button {
    width: 100%;
    min-width: 0;
    font-size: 11px;
    padding: 13px 16px;
    gap: 10px;
  }
  .one-company-grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .one-company-grid > a {
    padding: 29px;
    min-height: 215px;
  }
  .one-company-grid p {
    font-size: 11px;
    margin-bottom: 22px;
  }
  .one-company-grid h3 {
    font-size: 24px;
    line-height: 1.6;
    margin-bottom: 24px;
  }
  .one-company-grid span {
    font-size: 11px;
  }
  .one-contact-band {
    max-width: 88%;
    margin-top: 65px;
    padding: 34px 26px;
    display: block;
    border-radius: 10px;
  }
  .one-contact-band .one-eyebrow {
    font-size: 11px;
    margin-bottom: 20px;
  }
  .one-contact-band h2 {
    font-size: 32px;
    line-height: 1.55;
    letter-spacing: -0.04em;
    margin-bottom: 20px;
  }
  .one-mobile-break {
    display: block;
  }
  .one-contact-band p:not(.one-eyebrow) {
    font-size: 12px;
    line-height: 2;
  }
  .one-contact-band .one-button {
    width: 100%;
    min-width: 0;
    min-height: 52px;
    margin-top: 28px;
    font-size: 12px;
  }
  .one-footer {
    max-width: 88%;
    padding-top: 48px;
    padding-bottom: 35px;
  }
  .one-footer-top {
    display: block;
  }
  .one-footer-logo {
    margin-bottom: 28px;
  }
  .one-footer-logo img {
    width: 180px;
  }
  .one-footer strong {
    font-size: 12px;
  }
  .one-footer p {
    font-size: 10px;
  }
  .one-footer-top nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 32px;
    gap: 20px;
    font-size: 11px;
  }
  .one-footer-bottom {
    padding-top: 35px;
    align-items: flex-start;
    font-size: 9px;
  }
  .one-top {
    width: 34px;
    height: 34px;
    right: 12px;
    bottom: 24px;
    font-size: 18px;
  }
  .one-preview-note {
    font-size: 8px;
  }
  .tg-one:not(.home) main {
    padding-top: 85px;
  }
  .tg-one .tg-container {
    width: 88%;
  }
  .tg-one .tg-crumbs {
    font-size: 9px;
    margin: 0 0 18px;
    line-height: 1.8;
    flex-wrap: wrap;
  }
  .tg-one .tg-hero {
    padding: 24px 0 36px;
    min-height: 0;
  }
  .tg-one .one-page-word {
    font-size: 52px;
    line-height: 1.05;
    letter-spacing: -0.06em;
    margin-bottom: 30px;
    overflow-wrap: anywhere;
  }
  .tg-one .tg-hero__grid {
    display: block;
    min-height: 0;
  }
  .tg-one .tg-hero__grid > div + div {
    margin-top: 25px;
  }
  .tg-one .tg-hero .tg-label {
    font-size: 9px;
    margin-bottom: 12px;
  }
  .tg-one .tg-h1 {
    font-size: 29px;
    line-height: 1.65;
    letter-spacing: -0.045em;
    overflow-wrap: anywhere;
  }
  .tg-one .tg-hero .tg-lead {
    font-size: 13px;
    line-height: 2.1;
  }
  .tg-one .tg-hero .tg-ctas {
    margin-top: 22px;
    gap: 12px;
  }
  .tg-one .tg-btn {
    font-size: 12px;
    min-height: 48px;
    padding: 13px 18px;
  }
  .tg-one .tg-section {
    padding-top: 38px;
    padding-bottom: 38px;
  }
  .tg-one .tg-h2 {
    font-size: 25px;
    line-height: 1.8;
  }
  .tg-one .tg-h3 {
    font-size: 20px;
    line-height: 1.7;
  }
  .tg-one .tg-card {
    padding: 24px;
  }
  .tg-one .tg-article-card h3 {
    font-size: 17px;
    line-height: 1.8;
  }
  .tg-one .tg-article-card__body {
    padding: 22px;
  }
  .tg-one .tg-report-topics {
    padding: 24px;
  }
  .tg-one .tg-article-featured {
    width: 88%;
    margin-bottom: 32px;
    border-radius: 7px;
  }
  .tg-one .tg-post-wrap {
    width: 88%;
  }
  .tg-one .tg-post {
    font-size: 15px;
    line-height: 2;
  }
  .tg-one .tg-post h2 {
    font-size: 23px;
    line-height: 1.8;
    margin-top: 42px;
  }
  .tg-one .tg-post h3 {
    font-size: 20px;
    line-height: 1.8;
  }
  .tg-one .tg-post table {
    font-size: 12px;
  }
  .tg-one .tg-toc {
    padding: 22px;
  }
  .one-form-preview {
    padding: 24px;
  }
  body.tg-one .tg-hero {
    padding: 20px 0 34px !important;
  }
  body.tg-one .tg-hero__grid {
    display: block !important;
  }
  body.tg-one .tg-hero .tg-h1 {
    font-size: 29px !important;
    line-height: 1.65 !important;
  }
  body.tg-one .tg-hero .tg-lead {
    font-size: 13px !important;
    padding-top: 0 !important;
    line-height: 2.1 !important;
  }
  body.tg-one .tg-hero .tg-label {
    font-size: 9px !important;
  }
  body.tg-one.tg-role-article .tg-hero {
    width: 88%;
    padding-top: 20px !important;
  }
  body.tg-one.tg-role-article .tg-crumbs {
    width: 88%;
  }
  body.tg-one.tg-role-article .tg-hero .tg-h1 {
    font-size: 26px !important;
    line-height: 1.7 !important;
  }
  body.tg-one .tg-post-wrap .post_content {
    font-size: 15px;
    line-height: 2.1;
  }
  body.tg-one .tg-post-wrap .post_content h2 {
    font-size: 23px;
    line-height: 1.8;
    padding-top: 20px;
    margin-top: 42px;
  }
  body.tg-one .tg-post-wrap .post_content h3 {
    font-size: 20px;
  }
  body.tg-one .tg-article-toc {
    padding: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tg-one * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
/* WordPress implementation: shared corporate, library, editorial and utility layouts. */
body.tg-one {
  --ink: var(--one-ink);
  --paper-2: var(--one-paper);
}
body.tg-one .tg-skip {
  z-index: 2000;
}
.one-top[hidden] {
  display: none !important;
}
.one-desktop-nav a[aria-current]:after {
  transform: scaleX(1);
}
.one-menu nav.one-menu-services {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin-top: 36px;
  max-width: 900px;
}
.one-menu nav.one-menu-services a {
  font-size: 12px;
  font-weight: 400;
  padding: 5px 0;
  border: 0;
  gap: 0;
}
.one-footer-access {
  display: inline-block;
  font-size: 11px;
  margin-top: 14px;
}
.one-footer-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin-top: 46px;
  padding-top: 35px;
  border-top: 1px solid var(--one-line);
}
.one-footer .one-footer-links nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  font-size: 11px;
  font-weight: 400;
}
.one-footer-links strong {
  font-size: 10px;
  letter-spacing: 0.1em;
  margin-bottom: 7px;
}
.one-footer-bottom > div {
  display: flex;
  gap: 25px;
}
.one-header {
  top: var(--one-admin-offset, 0px);
}
.admin-bar.tg-one {
  --one-admin-offset: 32px;
}
.one-menu {
  top: var(--one-admin-offset, 0px);
}
.one-hero-bottom > .one-hero-copy {
  display: block;
  flex: 1 1 auto;
}
.one-hero-copy .tg-lead {
  max-width: none;
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.8;
}
.one-hero-copy .tg-lead p {
  margin: 0;
}
.one-hero-copy .tg-lead p + p {
  font-size: 13px;
  line-height: 1.9;
  margin-top: 20px;
}
.one-hero-bottom > .one-hero-actions {
  display: block;
  flex: none;
}
.one-hero-actions .tg-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
}
body.tg-one .one-hero-actions .tg-btn {
  min-width: 232px;
  min-height: 51px;
  justify-content: space-between;
  padding: 13px 22px;
  font-size: 13px;
  line-height: 1.6;
  color: #fff;
  background: transparent;
  border: 1px solid #ffffff66;
  border-radius: 7px;
}
body.tg-one .one-hero-actions .tg-btn:first-child {
  background: var(--one-mint);
  border-color: var(--one-mint);
  color: var(--one-ink);
}
body.tg-one .one-hero-actions .tg-btn > span {
  font-size: 20px;
}
body.tg-one .one-hero-actions .tg-btn > span[aria-hidden] {
  font-size: 0;
}
body.tg-one .one-hero-actions .tg-btn > span[aria-hidden]:after {
  content: "↗";
  font-size: 20px;
  font-weight: 400;
}
.one-pickup-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 35px;
}
.one-pickup-intro h3 {
  font-size: 28px;
  line-height: 1.7;
  letter-spacing: -0.03em;
  margin: 0;
  font-weight: 600;
}
.one-pickup-intro p {
  font-size: 14px;
  line-height: 2.1;
  margin: 0;
}
.one-topic-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 35px;
  margin-top: 36px;
  border-top: 1px solid var(--one-line);
}
.one-topic-links a {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  padding: 18px 0;
  border-bottom: 1px solid var(--one-line);
  font-size: 12px;
  line-height: 1.9;
}
.one-topic-links a span {
  flex: none;
  font-size: 19px;
}
.one-company-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin: 0 0 38px;
}
.one-company-intro h3 {
  font-size: 34px;
  line-height: 1.8;
  letter-spacing: -0.03em;
  margin: 0;
  font-weight: 600;
}
.one-company-intro p {
  font-size: 14px;
  line-height: 2.1;
  margin: 0 0 20px;
}
.one-contact-band > div:first-child {
  min-width: 0;
  max-width: 680px;
}
.one-contact-band .one-contact-actions {
  display: flex;
  flex-direction: column;
  flex: none;
  gap: 12px;
}
.one-contact-band .one-contact-actions .one-button {
  font-size: 12px;
  min-width: 280px;
}
.one-contact-band .one-contact-actions .one-button:nth-child(2) {
  background: transparent;
  color: var(--one-ink);
}
body.tg-one:not(.home) .tg-main > .tg-hero,
body.tg-one:not(.home) .tg-main > .tg-crumbs,
body.tg-one:not(.home) .tg-main > .tg-section {
  width: min(1200px, 90%);
  margin-left: auto !important;
  margin-right: auto !important;
}
body.tg-one:not(.home) .tg-main > .tg-hero {
  margin-top: 16px !important;
}
body.tg-one.tg-role-article:not(.home) .tg-main > .tg-hero,
body.tg-one.tg-role-article:not(.home) .tg-main > .tg-crumbs {
  width: min(960px, 90%);
}
body.tg-one.tg-role-article .tg-container {
  width: min(960px, 90%);
}
body.tg-one .tg-body .tg-section {
  display: flex;
  flex-wrap: nowrap;
  gap: 50px;
  padding: 58px 0 !important;
  border-color: var(--one-line) !important;
}
body.tg-one .tg-section__label {
  flex: 0 0 140px;
  font-size: 11px;
  letter-spacing: 0.06em;
  font-weight: 600;
  line-height: 1.8;
  padding-top: 8px;
  color: var(--one-muted);
}
body.tg-one .tg-section__body {
  flex: 1 1 0;
  min-width: 0;
}
body.tg-one .tg-section__body > .tg-h2 {
  margin-bottom: 30px;
  font-size: 32px;
  line-height: 1.7;
  font-weight: 600;
  letter-spacing: -0.035em;
}
body.tg-one.tg-page-p12 .tg-body #sec-04 {
  padding-left: 40px !important;
  padding-right: 40px !important;
  border-radius: 12px;
}
body.tg-one.tg-page-p02 .tg-main--page #sec-01 .tg-h2 .tg-phrase {
  display: inline-block;
  white-space: nowrap;
}
body.tg-one .tg-section__grid {
  gap: 40px !important;
}
body.tg-one .tg-section__grid > .tg-prose {
  max-width: 64ch;
}
body.tg-one .tg-prose {
  font-size: 15px;
  line-height: 2.1;
}
body.tg-one .tg-rows {
  margin-top: 30px;
  border-top: 1px solid var(--one-line);
}
body.tg-one .tg-row {
  border-color: var(--one-line);
  gap: 28px;
  padding: 24px 0;
}
body.tg-one .tg-row > .tg-h3 {
  font-size: 17px;
  line-height: 1.9;
  font-weight: 600;
  letter-spacing: -0.01em;
}
body.tg-one .tg-grid {
  gap: 20px;
  border: 0;
  margin-top: 30px;
}
body.tg-one .tg-grid > .tg-card {
  border: 0;
  border-radius: 12px;
  background: var(--one-paper);
  padding: 30px;
  min-height: 0;
}
body.tg-one .tg-grid > .tg-card .tg-h3 {
  font-size: 23px;
  line-height: 1.6;
  font-weight: 600;
  letter-spacing: -0.025em;
}
body.tg-one .tg-grid > .tg-card .tg-card__meta {
  color: var(--one-muted);
  font-size: 10px;
}
body.tg-one .tg-grid > .tg-card p {
  font-size: 14px;
  line-height: 2;
}
body.tg-one .tg-grid > .tg-card:hover {
  background: #eaf1eb;
}
body.tg-one .tg-linklist {
  border-color: var(--one-line);
}
body.tg-one .tg-linklist__item {
  border-color: var(--one-line);
  padding: 24px 0;
}
body.tg-one .tg-photo,
body.tg-one .tg-figure {
  border-color: var(--one-line);
  border-radius: 10px;
  overflow: hidden;
}
body.tg-one .tg-photo figcaption,
body.tg-one .tg-figure figcaption {
  border-color: var(--one-line);
}
body.tg-one .tg-photo img {
  filter: grayscale(1);
}
body.tg-one .tg-role-overview {
  padding-top: 0 !important;
  padding-bottom: 25px !important;
}
body.tg-one .tg-role-overview > figure,
body.tg-one .tg-role-overview > div {
  border-color: var(--one-line);
  background: var(--one-paper);
  border-radius: 12px;
}
body.tg-one .tg-outro {
  background: var(--one-paper);
  border: 0;
  border-radius: 12px;
  width: min(1200px, 90%);
  margin: 44px auto 0;
}
body.tg-one .tg-outro__inner {
  padding: 46px;
  gap: 30px;
  max-width: none;
}
body.tg-one .tg-outro .tg-h2 {
  font-size: 32px;
  line-height: 1.7;
  font-weight: 600;
  letter-spacing: -0.025em;
}
body.tg-one .tg-main .tg-postlist--cards {
  gap: 26px;
}
body.tg-one .tg-main .tg-postlist--cards .tg-article-card {
  border: 0;
  border-radius: 10px;
  background: var(--one-paper);
  box-shadow: none;
}
body.tg-one .tg-main .tg-postlist--cards .tg-article-card h3 {
  font-size: 19px;
  line-height: 1.8;
  font-weight: 600;
}
body.tg-one .tg-main .tg-article-card__media {
  border: 0;
}
body.tg-one .tg-main .tg-postlist--cards .tg-article-card:hover {
  background: #eaf1eb;
  border: 0;
}
body.tg-one.tg-role-library .one-page-word {
  font-size: 88px;
  margin-bottom: 28px;
}
body.tg-one.tg-role-library .tg-hero {
  padding-top: 18px !important;
  padding-bottom: 30px !important;
}
body.tg-one.tg-role-library .tg-report-latest {
  padding-top: 28px !important;
  padding-bottom: 48px !important;
}
body.tg-one .tg-main .tg-pagination {
  gap: 8px;
  margin-top: 35px;
}
body.tg-one .tg-main .tg-pagination > a,
body.tg-one .tg-main .tg-pagination > span:not(.tg-pagination-tail) {
  border: 1px solid var(--one-line);
  border-radius: 5px;
}
body.tg-one .tg-main .tg-pagination .current {
  background: var(--one-mint);
  color: var(--one-ink);
  border-color: var(--one-mint);
}
body.tg-one .tg-search {
  border: 1px solid #cbd4cd;
  border-radius: 6px;
  overflow: hidden;
  background: white;
}
body.tg-one .tg-search input[type="search"] {
  border: 0;
  border-radius: 0;
  min-width: 0;
}
body.tg-one .tg-search button {
  border: 0;
  border-left: 1px solid #cbd4cd;
  background: var(--one-paper);
  padding: 12px 18px;
  font-size: 13px;
}
body.tg-one .tg-finder__themes {
  gap: 12px 20px;
  line-height: 2;
}
body.tg-one .tg-finder__themes a {
  font-size: 13px;
}
body.tg-one .tg-finder__themes a[aria-current] {
  border-color: #46836a;
}
body.tg-one .tg-connect {
  border-color: var(--one-line);
  gap: 16px;
}
body.tg-one .tg-connect a {
  border: 0;
  border-radius: 8px;
  background: var(--one-paper);
  padding: 20px;
}
body.tg-one .tg-article-featured {
  border: 0;
}
body.tg-one .one-standard-content {
  padding: 0 0 40px !important;
}
body.tg-one .one-standard-content .post_content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 2.1;
}
body.tg-one .one-standard-content .post_content h2 {
  font-size: 29px;
  line-height: 1.7;
  margin-top: 40px;
  border: 0;
  background: none;
  color: var(--one-ink);
  padding: 0;
}
body.tg-one .one-standard-content .post_content h3 {
  font-size: 23px;
  line-height: 1.7;
}
.one-members {
  padding-bottom: 40px;
}
.one-members-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.one-member-card {
  display: block;
  background: var(--one-paper);
  border-radius: 12px;
  overflow: hidden;
  color: var(--one-ink);
}
.one-member-photo {
  aspect-ratio: 4/5;
  overflow: hidden;
}
.one-member-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}
.one-member-copy {
  padding: 26px;
}
.one-member-copy p {
  font-size: 11px;
  line-height: 1.8;
  margin: 0 0 10px;
  color: var(--one-muted);
}
.one-member-copy h2 {
  font-size: 25px;
  line-height: 1.6;
  margin: 0 0 24px;
}
.one-member-copy > span {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}
.one-member-card:hover {
  background: #eaf1eb;
}
@media (max-width: 767px) {
  .one-members-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .one-member-card {
    max-width: 420px;
  }
  .one-member-copy {
    padding: 24px;
  }
}
body.tg-one .tg-review-indicator {
  bottom: 0 !important;
}
@media (min-width: 768px) and (max-width: 1050px) {
  body.tg-one .tg-body .tg-section {
    gap: 35px;
  }
  body.tg-one .tg-section__label {
    flex-basis: 100px;
  }
  .one-contact-band {
    align-items: flex-start;
  }
  .one-contact-band .one-contact-actions .one-button {
    min-width: 230px;
  }
  .one-company-intro {
    gap: 45px;
  }
}
@media (max-width: 767px) {
  .admin-bar.tg-one {
    --one-admin-offset: 46px;
  }
  .one-menu {
    display: block;
    padding: 90px 8% 35px;
  }
  .one-menu nav {
    width: 100%;
  }
  .one-menu nav.one-menu-services {
    gap: 8px 20px;
    margin-top: 26px;
  }
  .one-menu nav.one-menu-services a {
    font-size: 11px;
  }
  .one-desktop-nav a[data-one-nav="report"] {
    display: block !important;
  }
  .one-hero-copy .tg-lead {
    font-size: 19px;
    line-height: 1.8;
    letter-spacing: -0.02em;
  }
  .one-hero-copy .tg-lead p + p {
    font-size: 11px;
    line-height: 1.9;
    margin-top: 16px;
    max-width: 310px;
  }
  .one-hero-bottom > .one-hero-actions {
    margin-top: 26px;
  }
  .one-hero-actions .tg-ctas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  body.tg-one .one-hero-actions .tg-btn {
    min-width: 0;
    width: 100%;
    min-height: 49px;
    padding: 12px;
    font-size: 11px;
    white-space: normal;
    gap: 8px;
  }
  body.tg-one .one-hero-actions .tg-btn > span {
    font-size: 17px;
  }
  .one-pickup-intro {
    display: block;
    margin-bottom: 27px;
  }
  .one-pickup-intro h3 {
    font-size: 22px;
    line-height: 1.8;
    margin-bottom: 17px;
  }
  .one-pickup-intro p {
    font-size: 13px;
    line-height: 2.1;
  }
  .one-topic-links {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }
  .one-topic-links a {
    font-size: 11px;
    gap: 18px;
    padding: 16px 0;
  }
  .one-company-intro {
    display: block;
    margin-bottom: 25px;
  }
  .one-company-intro h3 {
    font-size: 25px;
    line-height: 1.8;
    margin-bottom: 22px;
  }
  .one-company-intro p {
    font-size: 13px;
    line-height: 2.1;
  }
  .one-contact-band .one-contact-actions {
    margin-top: 26px;
    gap: 10px;
  }
  .one-contact-band .one-contact-actions .one-button {
    min-width: 0;
    margin-top: 0;
    min-height: 50px;
    font-size: 11px;
  }
  .one-footer-links {
    grid-template-columns: 1fr 1fr;
    gap: 30px 18px;
    margin-top: 32px;
    padding-top: 28px;
  }
  .one-footer .one-footer-links nav {
    margin-top: 0;
    gap: 12px;
    font-size: 10px;
  }
  .one-footer-links strong {
    font-size: 9px;
  }
  .one-footer-bottom > div {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  body.tg-one:not(.home) .tg-main > .tg-hero,
  body.tg-one:not(.home) .tg-main > .tg-crumbs,
  body.tg-one:not(.home) .tg-main > .tg-section {
    width: 88%;
  }
  body.tg-one.tg-role-article:not(.home) .tg-main > .tg-hero,
  body.tg-one.tg-role-article:not(.home) .tg-main > .tg-crumbs,
  body.tg-one.tg-role-article .tg-container {
    width: 88%;
  }
  body.tg-one .tg-body .tg-section {
    display: block;
    padding: 36px 0 !important;
  }
  body.tg-one.tg-page-p12 .tg-body #sec-04 {
    padding: 30px 24px !important;
  }
  body.tg-one.tg-page-p02 .tg-main--page #sec-01 .tg-h2 {
    font-size: 25px;
    line-height: 1.8;
  }
  body.tg-one .tg-section__label {
    font-size: 10px;
    padding-top: 0;
    margin-bottom: 20px;
  }
  body.tg-one .tg-section__body > .tg-h2 {
    font-size: 25px;
    line-height: 1.8;
    margin-bottom: 24px;
  }
  body.tg-one .tg-prose {
    font-size: 13px;
    line-height: 2.1;
  }
  body.tg-one .tg-section__grid {
    gap: 26px !important;
  }
  body.tg-one .tg-row {
    gap: 9px;
    padding: 20px 0;
  }
  body.tg-one .tg-row > .tg-h3 {
    font-size: 16px;
  }
  body.tg-one .tg-grid {
    gap: 16px;
  }
  body.tg-one .tg-grid > .tg-card {
    padding: 25px;
  }
  body.tg-one .tg-grid > .tg-card .tg-h3 {
    font-size: 21px;
  }
  body.tg-one .tg-grid > .tg-card p {
    font-size: 13px;
    line-height: 2.1;
  }
  body.tg-one .tg-outro {
    width: 88%;
    margin-top: 30px;
  }
  body.tg-one .tg-outro__inner {
    padding: 30px 24px;
    gap: 25px;
  }
  body.tg-one .tg-outro .tg-h2 {
    font-size: 25px;
    line-height: 1.8;
  }
  body.tg-one .tg-outro .tg-ctas {
    width: 100%;
    gap: 10px;
  }
  body.tg-one .tg-outro .tg-btn {
    width: 100%;
    justify-content: space-between;
    font-size: 11px;
  }
  body.tg-one .tg-main .tg-postlist--cards {
    gap: 22px;
  }
  body.tg-one .tg-main .tg-postlist--cards .tg-article-card h3 {
    font-size: 17px;
    line-height: 1.8;
  }
  body.tg-one.tg-role-library .one-page-word {
    font-size: 48px;
    margin-bottom: 24px;
  }
  body.tg-one.tg-role-library .tg-hero {
    padding-top: 18px !important;
    padding-bottom: 26px !important;
  }
  body.tg-one.tg-role-library .tg-report-latest {
    padding-top: 20px !important;
    padding-bottom: 36px !important;
  }
  body.tg-one .tg-search button {
    font-size: 12px;
    padding: 10px 14px;
  }
  body.tg-one .tg-finder__themes {
    gap: 10px 17px;
  }
  body.tg-one .tg-finder__themes a {
    font-size: 12px;
  }
  body.tg-one .one-standard-content .post_content {
    font-size: 15px;
  }
  body.tg-one .one-standard-content .post_content h2 {
    font-size: 24px;
  }
  body.tg-one .one-standard-content .post_content h3 {
    font-size: 20px;
  }
}
@media (max-width: 600px) {
  .admin-bar.tg-one .one-header.is-scrolled,
  .admin-bar.tg-one .one-header.is-scrolled + .one-menu {
    top: 0;
  }
}

/* AD review: align editorial reading axes and preserve readable small-screen type. */
body.tg-one.tg-role-article .tg-main--center .tg-section__grid {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
body.tg-one.tg-role-article .tg-main--center .tg-section__grid > .tg-prose {
  max-width: none;
  width: 100%;
}
body.tg-one .tg-post-wrap .tg-article-toc {
  padding: 28px;
  border: 0;
  background: var(--one-paper);
}
body.tg-one .tg-post-wrap .tg-article-toc li {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--one-line);
}
body.tg-one .tg-post-wrap .tg-article-toc li:last-child {
  border-bottom: 0;
}
body.tg-one .tg-post-wrap .tg-article-toc li a {
  display: block;
  padding: 10px 0;
  text-decoration: none;
  min-height: 44px;
  box-sizing: border-box;
  line-height: 1.9;
}
body.tg-one .tg-post-wrap .tg-article-toc li a:hover {
  text-decoration: underline;
}
body.tg-one .post_content pre {
  font-size: 13px;
  line-height: 1.8;
  max-width: 100%;
  overflow-x: auto;
  padding: 20px;
  white-space: pre;
}
body.tg-one .post_content pre code {
  font-size: 13px !important;
  line-height: inherit;
  white-space: pre;
  word-break: normal;
  overflow-wrap: normal;
}
body.tg-one .post_content .one-reading-table {
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: thin;
}
body.tg-one .post_content .one-reading-table table {
  min-width: calc(var(--one-table-columns, 3) * 170px);
  table-layout: auto;
}
body.tg-one .post_content .one-reading-table th,
body.tg-one .post_content .one-reading-table td {
  font-size: 14px;
  line-height: 1.8;
  word-break: normal;
  overflow-wrap: break-word;
}
body.tg-one .post_content .one-reading-table::after {
  content: none;
}
.one-scroll-hint {
  margin: 8px 0 24px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--one-muted);
}
.one-word {
  display: inline-block;
  white-space: nowrap;
}
body.tg-one.tg-role-article .tg-article-featured {
  max-width: 640px;
  background: var(--one-paper);
  border-radius: 12px;
  overflow: hidden;
}
@media (max-width: 767px) {
  body.tg-one .tg-post-wrap .tg-article-toc {
    padding: 22px 20px;
  }
  body.tg-one .tg-post-wrap .tg-article-toc li a {
    font-size: 14px;
  }
  body.tg-one .post_content pre {
    padding: 16px;
  }
}

body.tg-one.tg-role-article .tg-graphic-note {
  font-size: 13px;
  line-height: 2;
  margin-top: 22px;
}
body.tg-one.tg-role-article .tg-graphic-fields dd {
  font-size: 13px;
  line-height: 1.9;
}
@media (max-width: 360px) {
  body.tg-one.tg-role-article .tg-seo-fields {
    grid-template-columns: 1fr;
  }
  body.tg-one.tg-role-article .tg-graphic-fields {
    grid-template-columns: 1fr;
  }
}

.one-phrase {
  display: inline-block;
  white-space: nowrap;
}
body.tg-one .tg-outro__inner {
  padding: 46px !important;
}
body.tg-one.tg-role-service .one-page-word,
body.tg-one.tg-role-diagnosis .one-page-word {
  font-size: clamp(56px, 7vw, 88px);
  margin-bottom: 28px;
}
body.tg-one.tg-page-p03 .tg-row > .tg-h3 {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.8;
}
body.tg-one .tg-section__body > .tg-rows:last-child .tg-row:last-child {
  border-bottom: 0;
}
@media (max-width: 767px) {
  body.tg-one .tg-outro__inner {
    padding: 30px 24px !important;
  }
  body.tg-one.tg-role-service .one-page-word {
    font-size: 48px;
    margin-bottom: 24px;
  }
  body.tg-one.tg-role-diagnosis .one-page-word {
    font-size: 34px;
    margin-bottom: 24px;
  }
}

body.tg-one .lum-lightbox {
  z-index: 6000;
}
body.tg-one .lum-lightbox-inner {
  inset: 72px 20px 50px;
  height: auto;
  width: auto;
}
body.tg-one .lum-lightbox-position-helper {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  height: 100%;
}
body.tg-one .lum-lightbox-image-wrapper {
  width: 100%;
  height: 100%;
  overflow: auto;
}
body.tg-one .lum-lightbox .lum-img {
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  max-height: calc(100vh - 122px) !important;
  object-fit: contain;
}
body.tg-one .lum-close-button {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 44px;
  height: 44px;
  z-index: 3;
  cursor: pointer;
}
body.tg-one .one-lightbox-zoom {
  position: absolute;
  top: 14px;
  right: 76px;
  min-height: 40px;
  padding: 8px 18px;
  border: 1px solid #fff;
  border-radius: 6px;
  color: white;
  background: #17201b;
  font-size: 13px;
  z-index: 3;
}
body.tg-one .one-lightbox-hint {
  display: none;
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  text-align: center;
  color: white;
  font-size: 12px;
  line-height: 1.8;
  margin: 0;
}
body.tg-one .one-image-expanded .one-lightbox-hint {
  display: block;
}
body.tg-one .one-image-expanded .lum-lightbox-position-helper {
  width: max-content !important;
  min-width: 100%;
  height: auto;
  min-height: 100%;
}
body.tg-one .one-image-expanded .lum-img {
  max-width: none !important;
  min-width: 480px !important;
  max-height: none !important;
}
body.tg-one .lum-close-button:focus-visible,
body.tg-one .one-lightbox-zoom:focus-visible {
  outline: 2px solid white;
  outline-offset: 3px;
}

body.tg-one .one-topic-links a {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 20px;
  gap: 14px;
  align-items: start;
  padding: 24px 0;
}
.one-topic-number {
  font-size: 10px;
  line-height: 2.4;
  letter-spacing: 0.06em;
  color: var(--one-muted);
}
.one-topic-copy strong {
  display: block;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 600;
}
.one-topic-copy p {
  font-size: 13px;
  line-height: 1.9;
  margin: 10px 0 8px;
  color: var(--one-muted);
}
.one-topic-copy small {
  font-size: 10px;
  line-height: 1.7;
  letter-spacing: 0.06em;
}
body.tg-one .one-hero-bottom > .one-hero-actions {
  margin-top: 0;
}
body.tg-one .tg-pagination .tg-pagination-tail .page-numbers {
  border: 1px solid var(--one-line);
  border-radius: 5px;
}
body.tg-one.one-empty-category .tg-finder__jump {
  display: none;
}
body.tg-one .one-category-empty {
  padding: 32px 36px;
  background: var(--one-paper);
  border-radius: 12px;
}
.one-category-empty .tg-h2 {
  font-size: 24px;
  line-height: 1.8;
  margin-bottom: 14px;
}
.one-category-empty p {
  font-size: 14px;
  line-height: 2;
  margin: 0 0 24px;
}
@media (max-width: 767px) {
  body.tg-one .one-hero-bottom > .one-hero-actions {
    display: block;
    margin-top: 26px;
    width: 100%;
  }
  body.tg-one .one-hero-actions .tg-btn {
    font-size: 14px;
    padding: 14px 18px;
    min-height: 54px;
  }
  body.tg-one .one-hero-actions .tg-btn:nth-child(2) {
    min-height: 44px;
    padding: 10px 0;
    border: 0;
    border-radius: 0;
    width: fit-content;
    border-bottom: 1px solid #ffffff88;
  }
  body.tg-one .one-topic-links a {
    padding: 22px 0;
  }
  .one-topic-copy strong {
    font-size: 16px;
  }
  body.tg-one .one-category-empty {
    padding: 28px 24px;
  }
  .one-category-empty .tg-h2 {
    font-size: 21px;
  }
}

body.tg-one .lum-lightbox {
  background: rgba(10, 16, 13, 0.9);
}
body.tg-one .lum-close-button {
  background: #17201b;
  border: 1px solid white;
  border-radius: 6px;
}

@media (max-width: 767px) {
  body.tg-one .one-hero-bottom .one-hero-actions .tg-ctas {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    align-items: stretch !important;
    width: 100% !important;
  }
  body.tg-one .one-hero-actions .tg-btn {
    flex: 0 0 auto;
    width: 100% !important;
  }
  body.tg-one .one-hero-actions .tg-btn:nth-child(2) {
    width: fit-content !important;
  }
}

body.tg-one .lum-close-button {
  opacity: 1;
}

/* Whole-site balance: TOP surfaces, shared insets, and deliberate reading axes. */
body.tg-one .tg-role-overview > figure.tg-work-graphic {
  box-sizing: border-box;
  padding: 32px;
  background: var(--one-paper);
  border: 1px solid var(--one-line);
  border-radius: 12px;
  color: var(--one-ink);
}
body.tg-one .tg-role-overview > figure.tg-work-graphic > figcaption {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: 0;
  margin: 0 0 24px;
  padding: 0;
}
body.tg-one .tg-role-overview .tg-graphic-note {
  font-size: 13px;
  line-height: 2;
  max-width: 70ch;
  margin: 24px 0 0;
  color: var(--one-muted);
}
body.tg-one
  .tg-role-overview
  :is(
    .tg-graphic-fields > div,
    .tg-graphic-flow,
    .tg-graphic-flow > li,
    .tg-service-matrix,
    .tg-observation-pair,
    .tg-observation-pair > div,
    .tg-three-views > div,
    .tg-content-branches__links,
    .tg-content-branches__links > div
  ) {
  border-color: var(--one-line);
}
body.tg-one
  .tg-role-overview
  > :is(.tg-work-graphic--record, .tg-work-graphic--checklist)
  .tg-graphic-fields
  > div {
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 24px;
  padding: 16px 0;
}
body.tg-one
  .tg-role-overview
  > :is(.tg-work-graphic--record, .tg-work-graphic--checklist)
  .tg-graphic-fields
  dt {
  font-size: 14px;
  line-height: 1.8;
  font-weight: 600;
}
body.tg-one
  .tg-role-overview
  > :is(.tg-work-graphic--record, .tg-work-graphic--checklist)
  .tg-graphic-fields
  dd {
  font-size: 14px;
  line-height: 1.9;
}
body.tg-one .tg-role-overview .tg-graphic-flow {
  border-top: 2px solid var(--one-mint);
}
body.tg-one .tg-role-overview .tg-graphic-flow strong {
  font-size: 23px;
  line-height: 1.7;
  font-weight: 600;
}
body.tg-one .tg-role-overview .tg-graphic-flow li > span {
  font-size: 14px;
  line-height: 1.9;
}
body.tg-one .tg-role-overview .tg-work-graphic--paper::before {
  border-color: #78b79a;
}
body.tg-one .tg-role-overview .tg-seo-fields {
  background: var(--one-line);
  border-color: var(--one-line);
}
body.tg-one .tg-role-overview .tg-seo-fields span {
  font-size: 13px;
  line-height: 1.9;
}
body.tg-one .tg-role-overview .tg-seo-fields b {
  font-size: 28px;
  font-weight: 600;
}
body.tg-one
  .tg-role-overview
  :is(
    .tg-site-plan > strong,
    .tg-site-plan > div span,
    .tg-content-branches__root,
    .tg-cost-scope,
    .tg-cost-scope span
  ) {
  border-color: var(--one-line);
}
body.tg-one
  .tg-role-overview
  :is(
    .tg-site-plan > div::before,
    .tg-content-branches__root::after,
    .tg-content-branches__links > div::before,
    .tg-plan-relations__root::after,
    .tg-plan-relations__branches::before,
    .tg-plan-relations__branches span::before
  ) {
  background: #91bba5;
}
body.tg-one .tg-role-overview .tg-purpose-relations > div {
  border-color: #9bb9a7;
}
body.tg-one .tg-role-overview .tg-purpose-relations > div + div::before {
  background: #9bb9a7;
}
body.tg-one .tg-work-graphic--memo {
  border-color: var(--one-mint);
  border-radius: 8px;
}
body.tg-one.tg-role-article .tg-article-featured + .tg-role-overview {
  margin-top: 32px;
}
body.tg-one .tg-role-overview .tg-cost-scope {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  border: 0;
  padding: 0;
}
body.tg-one .tg-role-overview .tg-cost-scope span:nth-child(n) {
  margin: 0;
  padding: 16px;
  border: 1px solid var(--one-line);
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.8;
}
body.tg-one.tg-role-article .post_content .one-reading-table :is(th, td) code {
  display: inline !important;
  white-space: nowrap !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}
body.tg-one .post_content li {
  text-wrap: pretty;
}
body.tg-one .tg-post-wrap .post_content h2 {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
body.tg-one.tg-renewal.tg-role-article .post_content .tg-wide-table.one-reading-table::after {
  content: none !important;
  display: none !important;
}
/* Contact coverage is a real table: one mark, one meaning, four stable columns. */
body.tg-one .one-matrix-legend {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--one-muted);
  margin: -8px 0 24px;
}
body.tg-one .one-matrix-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  border-spacing: 0;
  margin: 0;
  background: transparent;
  font-size: 14px;
}
.one-matrix-service-col {
  width: 44%;
}
body.tg-one .one-matrix-table :is(th, td) {
  border: 0;
  vertical-align: middle;
  background: transparent;
  color: var(--one-ink);
}
body.tg-one .one-matrix-table thead th {
  padding: 18px 8px;
  border-top: 2px solid var(--one-mint);
  border-bottom: 1px solid var(--one-line);
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.8;
}
body.tg-one .one-matrix-table thead th:first-child {
  text-align: left;
  padding-left: 0;
  font-size: 12px;
  font-weight: 400;
  color: var(--one-muted);
}
body.tg-one .one-matrix-table tbody :is(th, td) {
  padding: 24px 8px;
  border-bottom: 1px solid var(--one-line);
}
body.tg-one .one-matrix-table tbody tr:last-child :is(th, td) {
  border-bottom: 0;
  padding-bottom: 8px;
}
body.tg-one .one-matrix-table .one-matrix-info {
  text-align: left;
  padding-left: 0;
  padding-right: 28px;
  font-weight: 400;
}
.one-matrix-service {
  display: flex;
  align-items: baseline;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.one-matrix-service strong {
  font-size: 19px;
  line-height: 1.8;
  font-weight: 600;
}
.one-matrix-service > span {
  font-size: 16px;
  flex: none;
  color: var(--one-muted);
}
.one-matrix-info p {
  font-size: 14px;
  line-height: 1.9;
  margin: 8px 0 0;
  font-weight: 400;
}
.one-matrix-info > small {
  display: block;
  font-size: 12px;
  line-height: 1.9;
  margin-top: 8px;
  color: var(--one-muted);
  font-weight: 400;
}
body.tg-one .one-matrix-service:hover {
  opacity: 1 !important;
}
.one-matrix-service:hover strong {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.one-matrix-service:focus-visible {
  outline: 2px solid #41745d;
  outline-offset: 5px;
}
.one-matrix-slot {
  text-align: center;
}
.one-matrix-check {
  display: inline-block;
  position: relative;
  width: 30px;
  height: 30px;
  vertical-align: middle;
  border-radius: 50%;
  background: #d9f3e6;
}
.one-matrix-check::before {
  content: "";
  position: absolute;
  width: 7px;
  height: 12px;
  left: 11px;
  top: 7px;
  border: solid #245b43;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.one-matrix-legend .one-matrix-check {
  width: 22px;
  height: 22px;
  flex: none;
}
.one-matrix-legend .one-matrix-check::before {
  width: 5px;
  height: 9px;
  left: 8px;
  top: 5px;
}
.one-matrix-empty {
  display: inline-block;
  width: 30px;
  text-align: center;
  color: #a1aba5;
  font: 14px/30px sans-serif;
}
.one-matrix-mobile-label {
  display: none;
}
.one-matrix-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
body.tg-one .tg-work-graphic--matrix .tg-graphic-note {
  max-width: none;
}
@media (max-width: 767px) {
  body.tg-one .one-matrix-legend {
    font-size: 12px;
    margin: -4px 0 20px;
    align-items: flex-start;
  }
  body.tg-one .one-matrix-table,
  body.tg-one .one-matrix-table tbody {
    display: block;
  }
  body.tg-one .one-matrix-table colgroup,
  body.tg-one .one-matrix-table thead {
    display: none;
  }
  body.tg-one .one-matrix-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 18px;
    padding: 24px 0;
    border-top: 1px solid var(--one-line);
  }
  body.tg-one .one-matrix-row:first-child {
    border-top: 0;
    padding-top: 0;
  }
  body.tg-one .one-matrix-table tbody .one-matrix-info {
    display: block;
    grid-column: 1/-1;
    padding: 0 0 16px;
    border: 0;
  }
  .one-matrix-service strong {
    font-size: 18px;
    line-height: 1.8;
  }
  .one-matrix-service > span {
    margin-left: auto;
  }
  body.tg-one .one-matrix-table tbody .one-matrix-slot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    border: 0;
    padding: 8px 0;
    min-width: 0;
  }
  .one-matrix-mobile-label {
    display: block;
    font-size: 12px;
    line-height: 1.8;
    white-space: nowrap;
  }
  .one-matrix-check {
    width: 24px;
    height: 24px;
    flex: none;
  }
  .one-matrix-check::before {
    width: 6px;
    height: 10px;
    left: 9px;
    top: 5px;
  }
  .one-matrix-empty {
    width: 24px;
    flex: none;
    font-size: 12px;
    line-height: 24px;
  }
}
@media (min-width: 1101px) {
  body.tg-one:is(.tg-page-p02, .tg-page-p12, .tg-page-p18) .tg-body .tg-section {
    gap: 24px;
  }
  body.tg-one:is(.tg-page-p02, .tg-page-p12, .tg-page-p18) .tg-section__label {
    flex-basis: 40px;
  }
  body.tg-one.tg-page-p02 #sec-01 .tg-photo--stock {
    width: calc(100% - 352px);
    max-width: 736px;
    margin-left: 352px !important;
  }
  body.tg-one.tg-page-p02 .tg-main--page :is(#sec-01, #sec-02, #sec-03, #sec-05) .tg-section__grid,
  body.tg-one.tg-page-p12
    .tg-main--page
    :is(#sec-01, #sec-02, #sec-03, #sec-05, #sec-06)
    .tg-section__grid {
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 32px !important;
  }
  body.tg-one.tg-page-p02 #sec-04 .tg-row {
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 32px;
  }
}
@media (min-width: 768px) {
  body.tg-one.tg-page-p13 .tg-hero__grid,
  body.tg-one.tg-page-p13 :is(#sec-02, #sec-03) .tg-section__grid {
    grid-template-columns: 220px minmax(0, 1fr) !important;
    gap: 32px !important;
  }
  body.tg-one.tg-page-p13 :is(#sec-02, #sec-03) .tg-prose {
    max-width: 640px;
  }
  body.tg-one.tg-page-p12 #sec-04 .tg-prose {
    width: 100%;
    max-width: 640px;
    margin: 24px 0 0;
  }
}
@media (min-width: 768px) and (max-width: 1100px) {
  body.tg-one:is(.tg-page-p02, .tg-page-p12, .tg-page-p18) .tg-body .tg-section {
    gap: 20px;
  }
  body.tg-one:is(.tg-page-p02, .tg-page-p12, .tg-page-p18) .tg-section__label {
    flex-basis: 28px;
  }
  body.tg-one.tg-page-p02 .tg-main--page :is(#sec-01, #sec-02, #sec-03, #sec-05) .tg-section__grid,
  body.tg-one.tg-page-p12
    .tg-main--page
    :is(#sec-01, #sec-02, #sec-03, #sec-05, #sec-06)
    .tg-section__grid {
    grid-template-columns: 1fr;
    gap: 24px !important;
  }
  body.tg-one.tg-page-p02 #sec-04 .tg-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
body.tg-one .post_content table th {
  background: var(--one-paper);
  color: var(--one-ink);
  border-color: var(--one-line);
}
body.tg-one .post_content table td,
body.tg-one .tg-table td,
body.tg-one .tg-table th {
  border-color: var(--one-line);
}
@media (max-width: 767px) {
  body.tg-one.tg-role-article .tg-article-featured + .tg-role-overview {
    margin-top: 24px;
  }
  body.tg-one .tg-role-overview .tg-cost-scope {
    grid-template-columns: 1fr;
  }
  .one-service-copy h3 {
    font-size: 18px;
    line-height: 1.7;
  }
  body.tg-one .tg-outro .tg-btn:has(.one-cta-label) {
    min-height: 56px;
    gap: 12px;
    padding: 14px 16px;
    font-size: 13px;
  }
  .one-cta-label {
    min-width: 0;
    line-height: 1.8;
  }
  body.tg-one .tg-role-overview > figure.tg-work-graphic {
    padding: 20px;
  }
  body.tg-one .tg-role-overview > figure.tg-work-graphic > figcaption {
    font-size: 15px;
    margin-bottom: 20px;
  }
  body.tg-one
    .tg-role-overview
    > :is(.tg-work-graphic--record, .tg-work-graphic--checklist)
    .tg-graphic-fields
    > div {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 16px 0;
  }
  body.tg-one .tg-role-overview .tg-graphic-flow li,
  body.tg-one .tg-role-overview .tg-graphic-flow li + li {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  body.tg-one .tg-role-overview .tg-graphic-flow strong {
    font-size: 22px;
  }
  body.tg-one .tg-role-overview .tg-graphic-flow li > span {
    font-size: 14px;
  }
}
@media (max-width: 360px) {
  .one-contact-band h2 {
    font-size: 26px;
    line-height: 1.6;
  }
}

/* Memo and paper labels share a short, content-sized reading distance. */
body.tg-one.tg-role-service {
  --one-section-gap: 40px;
}
body.tg-one.tg-role-service .tg-section__grid {
  gap: var(--one-section-gap) !important;
}
body.tg-one.tg-role-service .tg-section .tg-work-graphic--memo {
  width: calc((100% - var(--one-section-gap)) * 0.6153846154);
}
body.tg-one .tg-role-overview > .tg-work-graphic--paper .tg-graphic-fields > div {
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 24px;
  padding: 16px 0;
}
body.tg-one .tg-role-overview > .tg-work-graphic--paper .tg-graphic-fields dd {
  border: 0;
  padding-bottom: 0;
}
body.tg-one .tg-diagnosis-terms {
  border-color: var(--one-line);
}
body.tg-one .tg-prose .one-process-flow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  margin: 24px 0;
  padding: 0;
}
body.tg-one .one-process-flow > li {
  padding: 20px 16px;
  background: var(--one-paper);
  border: 1px solid var(--one-line);
  border-radius: 8px;
  margin: 0;
  min-width: 0;
  list-style: none;
}
@media (min-width: 768px) {
  body.tg-one .one-process-flow > li:nth-child(5):last-child {
    grid-column: 1/-1;
  }
}
.one-process-number {
  display: block;
  font:
    11px/1.6 ui-monospace,
    monospace;
  color: #41745d;
  margin-bottom: 12px;
}
.one-process-text {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.9;
}
@media (min-width: 1101px) {
  body.tg-one.tg-page-p12 .one-process-flow {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  body.tg-one.tg-role-service {
    --one-section-gap: 26px;
  }
  body.tg-one.tg-role-service .tg-section .tg-work-graphic--memo {
    width: 100%;
  }
  body.tg-one .tg-role-overview > .tg-work-graphic--paper .tg-graphic-fields > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  body.tg-one .tg-prose .one-process-flow {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  body.tg-one .one-process-flow > li {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 14px;
    align-items: baseline;
    padding: 18px 20px;
  }
  .one-process-number {
    margin: 0;
  }
}

/* Each overview graphic must explain its relationship without arbitrary symbols. */
body.tg-one .tg-role-overview .tg-purpose-relations {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: none;
  width: 100%;
  margin: 0;
  align-items: stretch;
}
body.tg-one .tg-role-overview .tg-purpose-relations > div {
  aspect-ratio: auto;
  min-height: 120px;
  border: 1px solid var(--one-line);
  border-radius: 8px;
  background: #fff;
  padding: 24px 20px;
  text-align: left;
  align-items: flex-start;
  justify-content: center;
}
body.tg-one .tg-role-overview .tg-purpose-relations > div + div::before {
  width: 17px;
  height: 1px;
  left: -17px;
  top: 50%;
  background: var(--one-line);
}
body.tg-one .tg-role-overview .tg-purpose-relations strong {
  display: block;
  font-size: 24px;
  line-height: 1.5;
  margin: 0 0 8px;
  font-weight: 600;
}
body.tg-one .tg-role-overview .tg-purpose-relations span {
  display: block;
  max-width: none;
  font-size: 14px;
  line-height: 1.9;
}
body.tg-one .tg-role-overview .tg-three-views {
  gap: 24px;
}
body.tg-one .tg-role-overview .tg-three-views > div {
  display: block;
  border: 0;
  border-top: 1px solid var(--one-line);
  padding: 20px 0 0;
}
body.tg-one .tg-role-overview .tg-three-views > div::before {
  content: none;
}
body.tg-one .tg-role-overview .tg-three-views strong {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.6;
  margin: 0 0 8px;
}
body.tg-one .tg-role-overview .tg-three-views span {
  font-size: 14px;
  line-height: 1.9;
}
@media (min-width: 1101px) {
  body.tg-one :is(.tg-work-graphic--learning, .tg-work-graphic--cycle) .tg-graphic-flow strong {
    min-height: 3.4em;
  }
}
@media (max-width: 1100px) {
  body.tg-one
    .tg-role-overview
    :is(.tg-work-graphic--learning, .tg-work-graphic--cycle)
    .tg-graphic-flow {
    grid-template-columns: 1fr;
  }
  body.tg-one
    .tg-role-overview
    :is(.tg-work-graphic--learning, .tg-work-graphic--cycle)
    .tg-graphic-flow
    li,
  body.tg-one
    .tg-role-overview
    :is(.tg-work-graphic--learning, .tg-work-graphic--cycle)
    .tg-graphic-flow
    li
    + li {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    border-left: 0;
    padding: 20px 0;
  }
  body.tg-one
    .tg-role-overview
    :is(.tg-work-graphic--learning, .tg-work-graphic--cycle)
    .tg-graphic-flow
    strong {
    min-height: 0;
    font-size: 20px;
    line-height: 1.7;
  }
  body.tg-one
    .tg-role-overview
    :is(.tg-work-graphic--learning, .tg-work-graphic--cycle)
    .tg-graphic-flow
    strong
    br {
    display: none;
  }
  body.tg-one
    .tg-role-overview
    :is(.tg-work-graphic--learning, .tg-work-graphic--cycle)
    .tg-graphic-flow
    li
    > span {
    margin: 0;
    font-size: 14px;
    max-width: none;
  }
}
@media (min-width: 768px) {
  body.tg-one .tg-role-overview .tg-observation-pair strong {
    min-height: 3em;
  }
}
@media (max-width: 1100px) {
  body.tg-one .tg-role-overview .tg-work-graphic--cycle .tg-graphic-flow li:last-child {
    padding: 20px 16px;
  }
}
@media (max-width: 767px) {
  body.tg-one .tg-role-overview .tg-purpose-relations {
    grid-template-columns: 1fr;
    gap: 0;
  }
  body.tg-one .tg-role-overview .tg-purpose-relations > div {
    display: block;
    border: 0;
    border-top: 1px solid var(--one-line);
    border-radius: 0;
    background: transparent;
    padding: 20px 0;
    min-height: 0;
  }
  body.tg-one .tg-role-overview .tg-purpose-relations > div:first-child {
    border-top: 0;
    padding-top: 0;
  }
  body.tg-one .tg-role-overview .tg-purpose-relations > div:last-child {
    padding-bottom: 0;
  }
  body.tg-one .tg-role-overview .tg-purpose-relations > div + div::before {
    content: none;
  }
  body.tg-one .tg-role-overview .tg-purpose-relations strong {
    font-size: 22px;
  }
  body.tg-one .tg-role-overview .tg-purpose-relations span br {
    display: none;
  }
  body.tg-one .tg-role-overview .tg-three-views {
    gap: 20px;
  }
  body.tg-one .tg-role-overview .tg-three-views > div:first-child {
    border-top: 0;
    padding-top: 0;
  }
}
@media (max-width: 480px) {
  body.tg-one .tg-role-overview .tg-seo-fields {
    grid-template-columns: 1fr;
  }
  body.tg-one .tg-role-overview .tg-seo-fields > span {
    padding: 20px;
  }
}
.one-partner-badges {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0 24px;
  margin: 24px 0 28px;
  max-width: 100%;
}
.one-partner-badges img {
  display: block;
  object-fit: contain;
  max-width: 100%;
  height: auto;
  filter: none;
}
.one-partner-badges__google {
  width: 140px;
}
.one-partner-badges__ly {
  width: 220px;
}
@media (max-width: 480px) {
  .one-partner-badges {
    gap: 0 16px;
    margin: 20px 0 24px;
  }
  .one-partner-badges__google {
    width: 116px;
  }
  .one-partner-badges__ly {
    width: 180px;
  }
}

@media (max-width: 350px) {
  .one-partner-badges {
    column-gap: 12px;
  }
  .one-partner-badges__ly {
    width: 144px;
  }
}

@media (min-width: 768px) and (max-width: 1100px) {
  .one-partner-badges {
    column-gap: 16px;
    margin: 20px 0 24px;
  }
  .one-partner-badges__google {
    width: 110px;
  }
  .one-partner-badges__ly {
    width: 160px;
  }
}

/* Technogram / recruit only / supplied copy 2026-10-23.
   Inherits the site's typeface, ink, buttons and global navigation. */
body.tg-one.tg-page-p12 .tg-hero .tg-lead {
  padding-top: 25px !important;
  max-width: 32em !important;
  line-height: 2.05 !important;
}
body.tg-one.tg-page-p12 .tg-hero .tg-lead p {
  margin: 0 0 1em;
}
body.tg-one.tg-page-p12 .tg-hero .tg-lead p:last-child {
  margin-bottom: 0;
}
body.tg-one.tg-page-p12 .tg-hero .tg-ctas {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
}
body.tg-one.tg-page-p12 .tg-hero .tg-ctas a:not(.tg-btn) {
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 5px;
  line-height: 1.7;
}
body.tg-one.tg-page-p12 .tg-role-overview {
  margin-top: 8px;
  margin-bottom: 0;
}
body.tg-one.tg-page-p12 .recruit-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0 36px;
  border-top: 1px solid var(--one-ink);
  border-bottom: 1px solid var(--one-line);
  padding: 18px 0;
  font-size: 13px;
  line-height: 1.8;
}
body.tg-one.tg-page-p12 .recruit-toc a {
  display: inline-flex;
  gap: 10px;
  align-items: baseline;
  padding: 8px 0;
}
body.tg-one.tg-page-p12 .recruit-toc a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
body.tg-one.tg-page-p12 .recruit-toc small {
  font:
    10px/1.5 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  color: var(--one-muted);
  letter-spacing: 0.03em;
}
body.tg-one.tg-page-p12 .tg-recruit-2026 {
  --recruit-read: 660px;
  padding-bottom: 92px;
}
body.tg-one.tg-page-p12 .tg-recruit-2026 .recruit-section {
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  column-gap: 88px;
  padding: 76px 0;
  margin: 0;
  border: 0;
  border-bottom: 1px solid var(--one-line);
  scroll-margin-top: 112px;
  background: transparent;
  border-radius: 0;
}
body.tg-one.tg-page-p12 .recruit-section-heading {
  min-width: 0;
}
body.tg-one.tg-page-p12 .recruit-section-number {
  display: block;
  margin: 0 0 24px;
  font:
    11px/1.5 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  letter-spacing: 0.08em;
  color: var(--one-muted);
}
body.tg-one.tg-page-p12 .tg-recruit-2026 h2 {
  font-size: 30px;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: -0.035em;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  overflow-wrap: normal;
  word-break: normal;
}
body.tg-one.tg-page-p12 .recruit-section-copy {
  max-width: var(--recruit-read);
  min-width: 0;
  padding-top: 38px;
}
body.tg-one.tg-page-p12 .tg-recruit-2026 p {
  font-size: 17px;
  font-weight: 400;
  line-height: 2.1;
  letter-spacing: 0.025em;
  word-break: normal;
  overflow-wrap: break-word;
  text-align: left;
  margin: 0 0 1.2em;
}
body.tg-one.tg-page-p12 .tg-recruit-2026 p:last-child {
  margin-bottom: 0;
}
body.tg-one.tg-page-p12 .recruit-message h2 {
  font-size: 32px;
  line-height: 1.8;
  max-width: 11em;
}
body.tg-one.tg-page-p12 .message-body {
  max-width: var(--recruit-read);
}
body.tg-one.tg-page-p12 .message-group + .message-group {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
body.tg-one.tg-page-p12 .recruit-message .message-group p:last-child {
  margin-bottom: 1.2em;
}
body.tg-one.tg-page-p12 .recruit-signature {
  margin-top: 38px !important;
  padding-top: 0;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
}
body.tg-one.tg-page-p12 .recruit-criteria {
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
}
body.tg-one.tg-page-p12 .recruit-criteria > .recruit-section-copy {
  max-width: none;
}
body.tg-one.tg-page-p12 .recruit-criteria .recruit-criterion {
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  gap: 88px;
  padding: 36px 0;
  border-top: 1px solid var(--one-line);
}
body.tg-one.tg-page-p12 .recruit-criteria .recruit-criterion:first-child {
  margin-top: 36px;
}
body.tg-one.tg-page-p12 .recruit-criteria .recruit-criterion:last-child {
  padding-bottom: 0;
}
body.tg-one.tg-page-p12 .recruit-criteria h3 {
  margin: 0;
  padding: 0;
  font-size: 23px;
  line-height: 1.7;
  letter-spacing: -0.025em;
  font-weight: 600;
  background: none;
  border: 0;
  word-break: normal;
  overflow-wrap: normal;
}
body.tg-one.tg-page-p12 .criterion-copy {
  max-width: var(--recruit-read);
  min-width: 0;
}
body.tg-one.tg-page-p12 .criterion-copy .criterion-definition {
  font-weight: 600;
  font-size: 17px;
  line-height: 1.95;
  margin-bottom: 16px;
}
body.tg-one.tg-page-p12 .recruit-culture figure {
  margin: 36px 0 0;
}
body.tg-one.tg-page-p12 .recruit-culture figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.6;
  object-fit: cover;
  filter: grayscale(1);
  border-radius: 0;
}
body.tg-one.tg-page-p12 .recruit-culture figcaption {
  font-size: 11px;
  line-height: 1.7;
  color: var(--one-muted);
  margin-top: 10px;
}
body.tg-one.tg-page-p12 .tg-recruit-2026 .recruit-youth {
  display: block;
  padding: 64px 54px !important;
  margin: 34px 0;
  background: var(--one-ink);
  color: #fff;
  border: 0;
  border-radius: 0;
}
body.tg-one.tg-page-p12 .recruit-youth .recruit-section-number {
  margin-bottom: 32px;
  color: #c9d0cb;
}
body.tg-one.tg-page-p12 .recruit-youth h2 {
  color: #fff;
  font-size: clamp(36px, 4.4vw, 62px);
  line-height: 1.55;
  letter-spacing: -0.045em;
  max-width: none;
}
body.tg-one.tg-page-p12 .recruit-youth .recruit-section-copy {
  margin: 34px 0 0 auto;
  padding-top: 0;
  max-width: var(--recruit-read);
}
body.tg-one.tg-page-p12 .recruit-work-item + .recruit-work-item {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--one-line);
}
body.tg-one.tg-page-p12 .recruit-work-item h3 {
  font-size: 22px;
  line-height: 1.75;
  letter-spacing: -0.025em;
  font-weight: 600;
  margin: 0 0 22px;
  padding: 0;
  border: 0;
  background: none;
}
body.tg-one.tg-page-p12 .recruit-work .tg-ctas {
  margin-top: 28px;
}
body.tg-one.tg-page-p12 .recruit-selection-flow {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  border-top: 1px solid var(--one-ink);
  border-bottom: 1px solid var(--one-line);
}
body.tg-one.tg-page-p12 .recruit-selection-flow li {
  min-width: 0;
  margin: 0;
  padding: 22px 0;
  font-size: 14px;
  line-height: 1.8;
  font-weight: 600;
  position: relative;
}
body.tg-one.tg-page-p12 .recruit-selection-flow li + li {
  border-left: 1px solid var(--one-line);
  padding-left: 16px;
}
body.tg-one.tg-page-p12 .recruit-end-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 40px;
  margin-top: 32px;
  font-size: 14px;
  line-height: 1.8;
}
body.tg-one.tg-page-p12 .recruit-end-links a {
  text-decoration: underline;
  text-underline-offset: 6px;
}
@media (max-width: 1100px) {
  body.tg-one.tg-page-p12 .tg-recruit-2026 .recruit-section {
    grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
    gap: 42px;
  }
  body.tg-one.tg-page-p12 .recruit-criteria .recruit-criterion {
    grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
    gap: 42px;
  }
  body.tg-one.tg-page-p12 .tg-recruit-2026 h2 {
    font-size: 26px;
  }
  body.tg-one.tg-page-p12 .recruit-criteria h3 {
    font-size: 21px;
  }
  body.tg-one.tg-page-p12 .recruit-youth h2 {
    font-size: 48px;
  }
  body.tg-one.tg-page-p12 .recruit-selection-flow {
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
  }
  body.tg-one.tg-page-p12 .recruit-selection-flow li + li {
    padding-left: 0;
    border-left: 0;
  }
  body.tg-one.tg-page-p12 .recruit-selection-flow li:nth-child(n + 3) {
    border-top: 1px solid var(--one-line);
  }
}
@media (max-width: 800px) {
  body.tg-one.tg-page-p12 .tg-hero .tg-lead {
    padding-top: 0 !important;
    max-width: 38em !important;
  }
  body.tg-one.tg-page-p12 .recruit-toc {
    column-gap: 26px;
    padding: 14px 0;
  }
  body.tg-one.tg-page-p12 .tg-recruit-2026 .recruit-section {
    display: block;
    padding: 48px 0;
    scroll-margin-top: 92px;
  }
  body.tg-one.tg-page-p12 .recruit-section-number {
    margin-bottom: 16px;
  }
  body.tg-one.tg-page-p12 .tg-recruit-2026 h2 {
    font-size: 27px;
    line-height: 1.7;
    letter-spacing: -0.025em;
  }
  body.tg-one.tg-page-p12 .recruit-section-copy {
    padding-top: 26px;
    max-width: 100%;
  }
  body.tg-one.tg-page-p12 .tg-recruit-2026 p {
    font-size: 16px;
    line-height: 2;
    letter-spacing: 0.015em;
  }
  body.tg-one.tg-page-p12 .recruit-message h2 {
    max-width: 15em;
  }
  body.tg-one.tg-page-p12 .message-group + .message-group {
    margin-top: 0;
    padding-top: 0;
  }
  body.tg-one.tg-page-p12 .recruit-criteria .recruit-criterion {
    display: block;
    padding: 28px 0;
  }
  body.tg-one.tg-page-p12 .recruit-criteria .recruit-criterion:first-child {
    margin-top: 28px;
  }
  body.tg-one.tg-page-p12 .criterion-copy {
    margin-top: 18px;
  }
  body.tg-one.tg-page-p12 .recruit-criteria h3 {
    font-size: 22px;
  }
  body.tg-one.tg-page-p12 .criterion-copy .criterion-definition {
    font-size: 17px;
  }
  body.tg-one.tg-page-p12 .tg-recruit-2026 .recruit-youth {
    padding: 36px 24px !important;
    margin: 12px 0;
  }
  body.tg-one.tg-page-p12 .recruit-youth h2 {
    font-size: 36px;
    line-height: 1.6;
  }
  body.tg-one.tg-page-p12 .recruit-youth .recruit-section-copy {
    margin: 24px 0 0;
  }
  body.tg-one.tg-page-p12 .recruit-work-item h3 {
    font-size: 21px;
  }
  body.tg-one.tg-page-p12 .recruit-work-item + .recruit-work-item {
    margin-top: 28px;
    padding-top: 28px;
  }
  body.tg-one.tg-page-p12 .recruit-end-links {
    gap: 18px 28px;
  }
  body.tg-one.tg-page-p12 .tg-recruit-2026 {
    padding-bottom: 54px;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.tg-one.tg-page-p12 .tg-recruit-2026 * {
    scroll-behavior: auto;
  }
}

body.tg-one.tg-page-p12 .recruit-criteria-list {
  grid-column: 1/-1;
}
body.tg-one.tg-page-p12 .recruit-youth p {
  color: #fff;
}
body.tg-one.tg-page-p12 .recruit-culture > .recruit-photo {
  grid-column: 1/-1;
  margin: 36px 0 0;
}
body.tg-one.tg-page-p12 .recruit-culture > .recruit-photo img {
  aspect-ratio: 2.15;
  object-position: 50% 55%;
}
body.tg-one.tg-page-p12 .tg-recruit-2026 #sec-04 {
  padding: 64px 54px !important;
  border-radius: 0;
}
body.tg-one.tg-page-p12 .recruit-hero-message {
  font-size: 13px;
  line-height: 1.8;
  text-decoration: underline;
  text-underline-offset: 5px;
}
body.tg-one.tg-page-p12 .recruit-contact {
  margin-top: 28px;
}
body.tg-one.tg-page-p12 .recruit-selection-number {
  display: block;
  font:
    10px/1.5 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  color: var(--one-muted);
  margin-bottom: 10px;
}
body.tg-one.tg-page-p12 .recruit-selection-text {
  display: block;
}
@media (max-width: 800px) {
  body.tg-one.tg-page-p12 .tg-recruit-2026 #sec-04 {
    padding: 36px 24px !important;
  }
  body.tg-one.tg-page-p12 .recruit-culture > .recruit-photo img {
    aspect-ratio: 1.5;
    object-position: center;
  }
}
/* Override inherited inline lead paragraphs; preserve the three supplied paragraphs. */
body.tg-one.tg-page-p12 .tg-hero .tg-lead p {
  display: block !important;
  margin: 0 0 1em !important;
}
body.tg-one.tg-page-p12 .tg-hero .tg-lead p:last-child {
  margin-bottom: 0 !important;
}
body.tg-one.tg-page-p12 .recruit-photo-media {
  aspect-ratio: 2.15;
  overflow: hidden;
}
body.tg-one.tg-page-p12 .recruit-photo-media img {
  width: 100%;
  height: 100% !important;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: 50% 55%;
}
@media (max-width: 800px) {
  body.tg-one.tg-page-p12 .recruit-photo-media {
    aspect-ratio: 1.5;
  }
  body.tg-one.tg-page-p12 .recruit-photo-media img {
    object-position: center;
  }
}
body.tg-one.tg-page-p12 .recruit-h2 .headline-unit {
  display: inline-block;
  white-space: nowrap;
}
@media (max-width: 800px) {
  body.tg-one.tg-page-p12 .recruit-youth h2 {
    font-size: clamp(28px, 9vw, 36px);
  }
}
body.tg-one.tg-page-p12 .tg-hero .tg-lead p {
  font-size: inherit !important;
  line-height: inherit !important;
}
body.tg-one.tg-page-p12 .tg-hero .recruit-hero-message,
body.tg-one.tg-page-p12 .recruit-end-links .tg-link {
  text-decoration: none;
}
body.tg-one.tg-page-p12 .tg-hero .tg-lead {
  font-size: 15px !important;
}
body.tg-one.tg-page-p12 .recruit-work-item h3 .headline-unit {
  display: inline-block;
  white-space: nowrap;
}
body.tg-one.tg-page-p12 .tg-hero .tg-ctas a.recruit-hero-message {
  text-decoration: none;
}
body.tg-one.tg-page-p12 .recruit-criterion h3 .headline-unit {
  display: inline-block;
  white-space: nowrap;
}
