/* AI研修 LP — white base, big type first. */
:root {
  --tr-soft: #f3f5fa;
  --tr-soft-2: #eaeefc;
  --tr-ink: #111318;
  --tr-sub: #4a5061;
  --tr-muted: #7a8092;
  --tr-line: #e2e5ee;
  --tr-blue: #3d5afe;
  --tr-blue-d: #2338c4;
  --tr-lime: #d9f53a;
  --tr-header: 76px;
  --tr-intro: 0s;
  --tr-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --tr-en: "Plus Jakarta Sans", "Noto Sans JP", sans-serif;
}
html[data-motion="on"] { --tr-intro: 2.45s; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--tr-header) + 16px); overflow-x: clip; }
html[data-motion="off"] { scroll-behavior: auto; }
body {
  background: #fff;
  color: var(--tr-ink);
  font-family: var(--tr-jp);
  font-size: 15px;
  line-height: 1.9;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
.ic { flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tr-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.tr-skip { position: absolute; left: -999px; top: 8px; z-index: 600; padding: 10px 16px; background: var(--tr-ink); color: #fff; border-radius: 8px; }
.tr-skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--tr-blue); outline-offset: 3px; }
.tr-wrap { width: min(1240px, calc(100% - 64px)); margin: 0 auto; }
.tr-sec { padding: clamp(96px, 12vw, 176px) 0; }
.tr-soft { background: var(--tr-soft); }
.tr-sp { display: none; }
mark {
  color: inherit;
  padding: 0 0.04em;
  background: linear-gradient(transparent 62%, var(--tr-lime) 62%, var(--tr-lime) 94%, transparent 94%) no-repeat 0 0 / 100% 100%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ---------- type ---------- */
.tr-label { font-family: var(--tr-en); font-size: 13px; font-weight: 800; letter-spacing: 0.22em; color: var(--tr-blue); }
.tr-h { margin-top: 14px; font-size: clamp(36px, 5.6vw, 88px); font-weight: 900; line-height: 1.18; letter-spacing: -0.04em; }
.tr-giant { font-size: clamp(40px, 7.2vw, 116px); font-weight: 900; line-height: 1.16; letter-spacing: -0.045em; }
.tr-giant-sm { font-size: clamp(32px, 3.9vw, 60px); line-height: 1.26; letter-spacing: -0.035em; }

/* ---------- opening ---------- */
.tr-opening {
  position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; overflow: hidden; background: #fff; pointer-events: none;
  animation: tr-op-out 0.75s cubic-bezier(0.6, 0, 0.3, 1) 2.2s forwards;
}
@keyframes tr-op-out { to { opacity: 0; visibility: hidden; } }
.tr-op-media, .tr-op-media::after { position: absolute; inset: 0; }
.tr-op-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: tr-op-photo 0.9s ease-in-out forwards; }
.tr-op-media img:nth-child(2) { animation-delay: 0.6s; }
.tr-op-media img:nth-child(3) { animation: tr-op-photo-last 1s ease-out 1.2s forwards; }
.tr-op-media::after { content: ""; background: #ffffffd6; animation: tr-op-veil 0.6s ease 1.75s forwards; }
@keyframes tr-op-photo { 0% { opacity: 0; transform: scale(1.1); } 30%, 70% { opacity: 1; } 100% { opacity: 0; transform: scale(1.02); } }
@keyframes tr-op-photo-last { from { opacity: 0; transform: scale(1.1); } to { opacity: 1; transform: scale(1); } }
@keyframes tr-op-veil { to { background: #ffffff00; } }
.tr-op-title { position: relative; padding: 0 20px; text-align: center; font-size: clamp(40px, 8.4vw, 132px); font-weight: 900; line-height: 1.12; letter-spacing: -0.045em; animation: tr-fade-out 0.4s ease 1.8s forwards; }
.tr-op-title > span { display: block; overflow: hidden; padding: 0 0.04em; }
.tr-op-title b { display: inline-block; font-weight: inherit; transform: translateY(110%); animation: tr-rise 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s forwards; }
.tr-op-title > span + span b { animation-delay: 0.42s; }
.tr-op-title em { font-style: normal; background: linear-gradient(transparent 62%, var(--tr-lime) 62%, var(--tr-lime) 94%, transparent 94%); }
@keyframes tr-rise { to { transform: none; } }
@keyframes tr-fade-out { to { opacity: 0; transform: scale(0.97); } }

/* ---------- header ---------- */
.tr-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background 0.3s, box-shadow 0.3s; }
.tr-header.is-scrolled, .tr-header.is-open { background: #ffffffeb; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--tr-line); }
.tr-header-inner { display: flex; align-items: center; gap: 30px; width: min(1320px, calc(100% - 48px)); height: var(--tr-header); margin: 0 auto; }
.tr-brand { display: flex; align-items: center; gap: 14px; margin-right: auto; }
.tr-brand img { width: 168px; }
.tr-brand span { padding-left: 14px; border-left: 1.5px solid #cfd4e0; font-size: 14px; font-weight: 900; letter-spacing: 0.04em; }
.tr-nav { display: flex; gap: 30px; font-size: 14px; font-weight: 800; }
.tr-nav a { position: relative; padding: 6px 0; }
.tr-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--tr-blue); transform: scaleX(0); transition: transform 0.25s; }
.tr-nav a:hover::after, .tr-nav a.is-active::after { transform: none; }
.tr-header-cta {
  padding: 11px 22px; border-radius: 999px; background: var(--tr-ink); color: #fff; font-size: 14px; font-weight: 800;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 0.3s, transform 0.3s, visibility 0.3s, background 0.2s;
}
.tr-header.is-past .tr-header-cta { opacity: 1; visibility: visible; transform: none; }
.tr-header-cta:hover { background: var(--tr-blue); }
.tr-menu-toggle { display: none; place-items: center; width: 46px; height: 46px; border-radius: 50%; }
.tr-menu { position: fixed; top: var(--tr-header); left: 0; right: 0; bottom: 0; display: grid; align-content: start; padding: 16px 24px 40px; overflow-y: auto; background: #fff; }
.tr-menu[hidden] { display: none; }
.tr-menu a { padding: 18px 4px; border-bottom: 1px solid var(--tr-line); font-size: 24px; font-weight: 900; letter-spacing: -0.02em; }
.tr-menu .tr-menu-cta { margin-top: 24px; padding: 18px; border: 0; border-radius: 999px; background: var(--tr-ink); color: #fff; font-size: 17px; text-align: center; }

/* ---------- hero ---------- */
.tr-hero { position: relative; display: flex; align-items: flex-end; min-height: max(660px, 100svh); overflow: hidden; background: #fff; }
.tr-hero-media { position: absolute; inset: 0; }
.tr-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: tr-hero-slide 18s linear infinite both; }
.tr-hero-media img:nth-child(2) { animation-delay: 6s; }
.tr-hero-media img:nth-child(3) { animation-delay: 12s; }
.tr-hero.is-off .tr-hero-media img { animation-play-state: paused; }
@keyframes tr-hero-slide {
  0% { opacity: 0; transform: scale(1.12); }
  5% { opacity: 1; }
  33% { opacity: 1; }
  39% { opacity: 0; transform: scale(1.02); }
  100% { opacity: 0; transform: scale(1.02); }
}
.tr-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, #fff 0%, #fffffff2 30%, #ffffffb8 56%, #ffffff00 82%),
    linear-gradient(0deg, #fff 0%, #ffffff00 26%);
}
.tr-hero-copy { position: relative; z-index: 2; padding: calc(var(--tr-header) + 40px) 0 clamp(64px, 11vh, 128px); }
.tr-hero-title { font-size: clamp(48px, 7.6vw, 124px); font-weight: 900; line-height: 1.1; letter-spacing: -0.055em; }
.tr-hero-title > span:first-child { margin-left: -0.45em; }
@media (max-width: 1180px) { .tr-hero-title > span:first-child { margin-left: -0.3em; } }
.tr-hero-title > span { display: block; }
.tr-hero-sub { margin-top: clamp(22px, 3vw, 36px); font-size: clamp(16px, 1.5vw, 20px); font-weight: 800; color: var(--tr-sub); }
html.js[data-motion="on"] .tr-hero-title > span { animation: tr-line-in 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both; animation-delay: var(--tr-intro); }
html.js[data-motion="on"] .tr-hero-title > span:nth-child(2) { animation-delay: calc(var(--tr-intro) + 0.12s); }
html.js[data-motion="on"] .tr-hero-title > span:nth-child(3) { animation-delay: calc(var(--tr-intro) + 0.24s); }
html.js[data-motion="on"] .tr-hero-sub { animation: tr-line-in 0.9s ease both calc(var(--tr-intro) + 0.5s); }
html.js[data-motion="on"] .tr-hero-title mark { animation: tr-mark 0.8s cubic-bezier(0.6, 0, 0.3, 1) both calc(var(--tr-intro) + 0.7s); }
@keyframes tr-line-in { from { opacity: 0; transform: translateY(0.45em); } }
@keyframes tr-mark { from { background-size: 0 100%; } }

/* ---------- problem ---------- */
.tr-problem { position: relative; overflow: hidden; }
.tr-problem-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.tr-problem-grid .tr-giant { font-size: clamp(40px, 5.6vw, 92px); }
.tr-problem-art { margin: 0; }
.tr-problem-art .tr-il { display: block; width: 100%; height: auto; }
.tr-zero { color: var(--tr-blue); font-size: 1.3em; line-height: 1; }
.tr-voices { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 18px; margin-top: clamp(40px, 5vw, 64px); }
.tr-voices li {
  position: relative; padding: 20px 28px; border-radius: 26px; background: var(--tr-soft);
  font-size: clamp(16px, 1.55vw, 20px); font-weight: 800; line-height: 1.55; color: var(--tr-sub);
}
.tr-voices li::after { content: ""; position: absolute; left: 34px; bottom: -12px; border: 12px solid transparent; border-top-color: var(--tr-soft); border-bottom: 0; }
.tr-voices li:nth-child(2) { transition-delay: 0.12s; }
.tr-voices li:nth-child(3) { transition-delay: 0.24s; }

/* ---------- answer ---------- */
.tr-answer { padding: clamp(104px, 13vw, 190px) 0; overflow: hidden; background: var(--tr-blue); color: #fff; }
.tr-answer-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.tr-answer-art { margin: 0; }
.tr-answer-art .tr-il { display: block; width: 100%; height: auto; }
.tr-answer-pre { font-size: clamp(22px, 2.4vw, 34px); font-weight: 900; }
.tr-answer-big { margin-top: 8px; font-size: clamp(42px, 5.6vw, 96px); font-weight: 900; line-height: 1.14; letter-spacing: -0.05em; }
.tr-answer-big span { color: var(--tr-lime); }
.tr-answer-steps {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.32em; margin-top: clamp(48px, 6vw, 88px);
  font-family: var(--tr-en); font-size: clamp(28px, 8.2vw, 136px); font-weight: 800; line-height: 1; letter-spacing: -0.03em;
}
.tr-answer-steps li { color: transparent; -webkit-text-stroke: 2px #ffffffb3; }
.tr-answer-steps li + li::before { content: ""; display: inline-block; width: 0.55em; height: 3px; margin-right: 0.32em; vertical-align: middle; background: #ffffff80; }
.tr-answer-steps li:last-child { color: var(--tr-lime); -webkit-text-stroke: 0; }

/* ---------- method ---------- */
.tr-method { display: grid; gap: clamp(80px, 10vw, 150px); margin-top: clamp(64px, 8vw, 120px); }
.tr-method article {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); grid-template-rows: 1fr auto auto 1fr;
  grid-template-areas: ". fig" "num fig" "h fig" ". fig"; column-gap: clamp(32px, 5vw, 88px);
}
.tr-method article:nth-child(even) { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); grid-template-areas: "fig ." "fig num" "fig h" "fig ."; }
.tr-num { grid-area: num; font-family: var(--tr-en); font-size: clamp(64px, 8vw, 128px); font-weight: 800; line-height: 1; letter-spacing: -0.04em; color: var(--tr-blue); }
.tr-method article h2 { grid-area: h; margin-top: 18px; font-size: clamp(34px, 4.6vw, 72px); font-weight: 900; line-height: 1.22; letter-spacing: -0.045em; }
.tr-method figure { grid-area: fig; overflow: hidden; border-radius: 32px; aspect-ratio: 3 / 2; }
.tr-method figure img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.4s cubic-bezier(0.2, 0.7, 0.2, 1); }
.tr-method .is-visible figure img { transform: none; }
.tr-method figure.tr-map { display: grid; place-items: center; aspect-ratio: auto; padding: clamp(16px, 3vw, 40px); background: var(--tr-soft-2); }
.tr-map .tr-japan { width: min(100%, 470px); }
.tr-japan { display: block; height: auto; }
.tr-japan .lj-land path { fill: #fff; stroke: #9aa4c7; stroke-width: 0.9; stroke-linejoin: round; }
.tr-japan .lj-inset { fill: none; stroke: #aab3d3; stroke-dasharray: 4 4; }
.tr-japan .lj-beam { fill: none; stroke: var(--tr-blue); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.is-visible .tr-japan .lj-beam { animation: tr-beam 1.4s cubic-bezier(0.6, 0, 0.3, 1) var(--d) forwards; }
@keyframes tr-beam { to { stroke-dashoffset: 0; } }
.tr-japan .lj-dot { fill: var(--tr-blue); }
.tr-japan .lj-hub { fill: var(--tr-lime); stroke: var(--tr-ink); stroke-width: 2.5; }
.tr-japan .lj-ring { fill: none; stroke: var(--tr-blue); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: tr-ring 2.2s ease-out infinite; }
@keyframes tr-ring { from { transform: scale(0.6); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }
.tr-japan .lj-label { font-family: var(--tr-jp); font-size: 13px; font-weight: 800; fill: var(--tr-sub); }
.tr-japan .lj-label-hub { font-size: 15px; fill: var(--tr-ink); }
.tr-japan .lj-label-en { font-family: var(--tr-en); font-size: 10px; letter-spacing: 0.14em; fill: var(--tr-muted); }

/* ---------- before / after ---------- */
.tr-change { padding-top: 0; }
.tr-ba { margin-top: clamp(40px, 5vw, 64px); border-top: 2px solid var(--tr-ink); }
.tr-ba li {
  display: grid; grid-template-columns: minmax(0, 0.9fr) auto minmax(0, 1.3fr); align-items: center; gap: clamp(18px, 3vw, 48px);
  padding: clamp(28px, 3.6vw, 48px) 0; border-bottom: 1px solid var(--tr-line);
}
.tr-ba-before, .tr-ba-after { display: flex; align-items: center; gap: clamp(12px, 1.6vw, 22px); min-width: 0; }
.tr-ba-before { font-size: clamp(16px, 1.8vw, 24px); font-weight: 800; color: var(--tr-muted); }
.tr-ba-before > span { text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: #b8bdcb; }
.tr-ba-ic { flex-shrink: 0; width: clamp(44px, 4.4vw, 60px); height: auto; }
.tr-ba-after .tr-ba-ic { width: clamp(56px, 5.6vw, 80px); }
.tr-ba-arrow { position: relative; width: clamp(36px, 5vw, 80px); height: 2px; background: var(--tr-blue); }
.tr-ba-arrow::after { content: ""; position: absolute; right: -1px; top: 50%; width: 12px; height: 12px; border-top: 2px solid var(--tr-blue); border-right: 2px solid var(--tr-blue); transform: translateY(-50%) rotate(45deg); }
.tr-ba-after { font-size: clamp(28px, 4vw, 62px); font-weight: 900; line-height: 1.2; letter-spacing: -0.04em; }

/* ---------- programs ---------- */
.tr-programs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); margin-top: clamp(44px, 5vw, 72px); align-items: start; }
.tr-program { padding: 12px 12px 24px; border-radius: 30px; background: #fff; }
.tr-program:nth-child(3n + 2) { transition-delay: 0.1s; }
.tr-program:nth-child(3n) { transition-delay: 0.2s; }
.tr-program figure { overflow: hidden; border-radius: 22px; aspect-ratio: 3 / 2; background: var(--tr-soft-2); }
.tr-program figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.tr-program:hover figure img { transform: scale(1.04); }
.tr-program-no { display: flex; align-items: baseline; gap: 10px; margin: 20px 10px 0; font-size: 13px; font-weight: 800; color: var(--tr-muted); }
.tr-program-no span { font-family: var(--tr-en); font-size: 15px; color: var(--tr-blue); }
.tr-program h3 { margin: 6px 10px 0; font-size: clamp(22px, 2.2vw, 31px); font-weight: 900; line-height: 1.34; letter-spacing: -0.035em; }
.tr-program details { margin: 18px 10px 0; border-top: 1px solid var(--tr-line); }
.tr-program summary { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; font-size: 13px; font-weight: 800; color: var(--tr-sub); }
.tr-program summary .ic, .tr-faq-list summary .ic { color: var(--tr-blue); transition: transform 0.25s; }
.tr-program details[open] summary .ic, .tr-faq-list details[open] summary .ic { transform: rotate(45deg); }
.tr-program ul { display: grid; gap: 6px; margin-top: 10px; font-size: 13px; line-height: 1.7; color: var(--tr-sub); }
.tr-program li { position: relative; padding-left: 14px; }
.tr-program li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 5px; height: 5px; border-radius: 50%; background: var(--tr-blue); }
.tr-more { margin-top: clamp(64px, 8vw, 112px); text-align: center; font-size: clamp(30px, 4.6vw, 68px); font-weight: 900; line-height: 1.3; letter-spacing: -0.04em; }

/* ---------- seminar ---------- */
.tr-seminar { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.tr-seminar figure { overflow: hidden; border-radius: 32px; }
.tr-seminar figure img { width: 100%; }
.tr-seminar-links { margin-top: clamp(32px, 3.4vw, 48px); border-top: 2px solid var(--tr-ink); }
.tr-seminar-links a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 4px; border-bottom: 1px solid var(--tr-line); font-size: clamp(18px, 1.9vw, 26px); font-weight: 900; letter-spacing: -0.02em; transition: color 0.2s, padding 0.25s; }
.tr-seminar-links a .ic { color: var(--tr-blue); }
.tr-seminar-links a:hover { padding-left: 14px; color: var(--tr-blue); }

/* ---------- teacher ---------- */
.tr-teacher { padding: clamp(96px, 11vw, 160px) 0; background: var(--tr-soft); }
.tr-teacher-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.tr-teacher figure { overflow: hidden; border-radius: 32px; }
.tr-teacher-name { margin-top: 32px; font-size: 20px; font-weight: 900; }
.tr-teacher-name span { display: block; margin-top: 2px; font-size: 13px; font-weight: 700; color: var(--tr-muted); }

/* ---------- price ---------- */
.tr-price { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); align-items: end; }
.tr-price .tr-giant { margin-top: 14px; }
.tr-price-note { max-width: 520px; margin-top: 26px; font-size: 14px; color: var(--tr-sub); }
.tr-subsidy { position: relative; padding: clamp(30px, 3.8vw, 52px); padding-right: clamp(150px, 13vw, 180px); border-radius: 32px; background: var(--tr-lime); }
.tr-il-subsidy { position: absolute; right: clamp(16px, 2.4vw, 36px); top: 50%; width: clamp(120px, 12vw, 160px); height: auto; transform: translateY(-50%); }
.tr-subsidy-big { white-space: nowrap; font-size: clamp(24px, 2.2vw, 34px); font-weight: 900; line-height: 1.3; letter-spacing: -0.035em; }
.tr-subsidy a { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-size: 14px; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.tr-subsidy small { display: block; margin-top: 6px; font-size: 12px; color: #4b5313; }

/* ---------- flow ---------- */
.tr-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); margin-top: clamp(44px, 5vw, 72px); }
.tr-flow li { padding-top: 22px; border-top: 2px solid var(--tr-ink); font-size: clamp(17px, 1.7vw, 23px); font-weight: 900; line-height: 1.4; }
.tr-flow-ic { display: block; width: 60px; height: 60px; margin-bottom: 18px; }
.tr-flow span { display: block; margin-bottom: 12px; font-family: var(--tr-en); font-size: clamp(48px, 5.6vw, 88px); font-weight: 800; line-height: 1; letter-spacing: -0.04em; color: var(--tr-blue); }
.tr-flow li:last-child span { color: var(--tr-ink); }

/* ---------- faq ---------- */
.tr-faq { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.6fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.tr-faq .tr-h { margin-top: 0; }
.tr-faq-list { border-top: 2px solid var(--tr-ink); }
.tr-faq-list details { border-bottom: 1px solid var(--tr-line); }
.tr-faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 4px; font-size: clamp(16px, 1.55vw, 20px); font-weight: 900; line-height: 1.5; }
.tr-faq-list summary:hover { color: var(--tr-blue); }
.tr-faq-list p { padding: 0 48px 28px 4px; color: var(--tr-sub); }

/* ---------- contact ---------- */
.tr-contact { background: var(--tr-soft); }
.tr-contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.tr-contact-grid > div:first-child { position: sticky; top: calc(var(--tr-header) + 40px); }
.tr-contact-sub { margin-top: 22px; font-size: clamp(16px, 1.5vw, 19px); font-weight: 800; color: var(--tr-sub); }
.tr-tel { display: flex; align-items: center; gap: 10px; margin-top: 30px; font-family: var(--tr-en); font-size: clamp(24px, 2.6vw, 34px); font-weight: 800; letter-spacing: -0.01em; }
.tr-tel .ic { color: var(--tr-blue); }
.tr-contact-art { max-width: 440px; margin: clamp(32px, 4vw, 56px) 0 0; }
.tr-contact-art .tr-il { display: block; width: 100%; height: auto; }
.tr-form-card { padding: clamp(24px, 3.6vw, 52px); border-radius: 32px; background: #fff; }
.tr-form-note { font-size: 12px; color: var(--tr-muted); }
.tr-req { margin-left: 2px; color: #e2483d; }
.tr-choice { margin-top: 18px; border: 0; }
.tr-choice legend { margin-bottom: 10px; font-size: 13.5px; font-weight: 800; }
.tr-choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tr-choice-grid label { position: relative; }
.tr-choice-grid input { position: absolute; opacity: 0; }
.tr-choice-grid span { display: block; padding: 13px 16px; border-radius: 14px; border: 1.5px solid var(--tr-line); font-size: 14px; font-weight: 800; cursor: pointer; transition: border-color 0.2s, background 0.2s, color 0.2s; }
.tr-choice-grid input:checked + span { border-color: var(--tr-ink); background: var(--tr-ink); color: #fff; }
.tr-choice-grid input:focus-visible + span { outline: 3px solid var(--tr-blue); outline-offset: 2px; }
.tr-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tr-field { display: grid; gap: 6px; margin-top: 18px; }
.tr-field label { font-size: 13.5px; font-weight: 800; }
.tr-field input, .tr-field select, .tr-field textarea {
  width: 100%; padding: 13px 15px; border-radius: 14px; border: 1.5px solid #d8dce7; background: #fbfcfe; font: inherit; font-size: 15px; color: var(--tr-ink);
}
.tr-field textarea { min-height: 140px; resize: vertical; }
.tr-field input:focus, .tr-field select:focus, .tr-field textarea:focus { border-color: var(--tr-blue); outline: none; box-shadow: 0 0 0 3px #3d5afe33; }
.tr-field [aria-invalid="true"] { border-color: #e2483d; background: #fff6f5; }
.tr-hint { font-size: 12px; color: var(--tr-muted); text-align: right; }
.tr-error { font-size: 12.5px; font-weight: 700; color: #d23a2f; }
.tr-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tr-consent label { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.tr-consent input { width: 20px; height: 20px; accent-color: var(--tr-blue); }
.tr-consent a { color: var(--tr-blue); text-decoration: underline; }
.tr-captcha { margin-top: 14px; }
.tr-alert { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: #fff1ef; color: #b52a20; font-size: 13.5px; font-weight: 700; }
.tr-submit {
  display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 64px; margin-top: 24px;
  border-radius: 999px; background: var(--tr-ink); color: #fff; font-size: 16px; font-weight: 900; transition: background 0.2s;
}
.tr-submit:hover { background: var(--tr-blue); }
.tr-submit:disabled { opacity: 0.6; cursor: wait; }
.tr-form-small { margin-top: 12px; font-size: 12px; color: var(--tr-muted); text-align: center; }
.tr-success { padding: 36px 10px; text-align: center; }
.tr-success-icon { display: inline-grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--tr-lime); }
.tr-success h3 { margin-top: 18px; font-size: 24px; font-weight: 900; }
.tr-success p { margin-top: 10px; font-size: 14px; color: var(--tr-sub); }
.tr-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 14px; font-weight: 800; color: var(--tr-blue); }
.tr-related { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: clamp(64px, 8vw, 112px); }
.tr-related a { display: grid; gap: 2px; padding: 24px 28px; border-radius: 22px; background: #fff; font-size: 13px; font-weight: 700; color: var(--tr-muted); transition: box-shadow 0.2s; }
.tr-related strong { font-size: clamp(17px, 1.6vw, 21px); font-weight: 900; color: var(--tr-ink); letter-spacing: -0.02em; }
.tr-related a:hover { box-shadow: 0 0 0 2px var(--tr-ink); }

/* ---------- sticky / footer ---------- */
.tr-sticky { display: none; }
.tr-footer { padding: 40px 0 34px; border-top: 1px solid var(--tr-line); }
.tr-footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; }
.tr-footer-brand img { width: 160px; }
.tr-footer-links { display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: 13px; font-weight: 700; color: var(--tr-sub); }
.tr-footer-links a:hover { color: var(--tr-blue); }
.tr-footer small { margin-left: auto; font-family: var(--tr-en); font-size: 12px; color: var(--tr-muted); }

/* ---------- illustration motion ---------- */
.tr-il-float { animation: tr-il-float 4.2s ease-in-out infinite; }
.tr-il-d2 { animation-delay: -2.1s; }
.tr-il-bob { animation: tr-il-float 3.2s ease-in-out infinite; }
.tr-il-tw { transform-box: fill-box; transform-origin: center; animation: tr-il-tw 2.6s ease-in-out infinite; }
.tr-il-tw:nth-of-type(2n) { animation-delay: -1.3s; }
.tr-il-z text { animation: tr-il-z 2.8s ease-in-out infinite; }
.tr-il-z text + text { animation-delay: -1.4s; }
.tr-il-cursor { animation: tr-il-blink 1s steps(1) infinite; }
@keyframes tr-il-float { 50% { transform: translateY(-8px); } }
@keyframes tr-il-tw { 50% { transform: scale(0.55); opacity: 0.5; } }
@keyframes tr-il-z { 0% { opacity: 0; transform: translate(0, 6px); } 30%, 70% { opacity: 1; } 100% { opacity: 0; transform: translate(6px, -10px); } }
@keyframes tr-il-blink { 50% { opacity: 0; } }

/* ---------- reveal / motion ---------- */
html.js[data-motion="on"] [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
html.js[data-motion="on"] [data-reveal].is-visible { opacity: 1; transform: none; }
html.js[data-motion="on"] [data-reveal] mark { background-size: 0 100%; transition: background-size 0.9s cubic-bezier(0.6, 0, 0.3, 1) 0.4s; }
html.js[data-motion="on"] [data-reveal].is-visible mark { background-size: 100% 100%; }
html[data-motion="off"] .tr-opening { display: none; }
html[data-motion="off"] *, html[data-motion="off"] *::before, html[data-motion="off"] *::after { animation: none !important; transition: none !important; }
html[data-motion="off"] .tr-hero-media img:first-child { opacity: 1; }
html[data-motion="off"] .tr-japan .lj-beam { stroke-dashoffset: 0; }
html[data-motion="off"] .tr-method figure img { transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .tr-nav, .tr-header-cta { display: none; }
  .tr-menu-toggle { display: grid; }
  .tr-sticky { display: block; position: fixed; left: 16px; right: 16px; bottom: 14px; z-index: 90; transition: transform 0.3s, opacity 0.3s; }
  .tr-sticky a { display: flex; align-items: center; justify-content: center; min-height: 58px; border-radius: 999px; background: var(--tr-ink); color: #fff; font-size: 15px; font-weight: 900; box-shadow: 0 12px 30px #11131840; }
  .tr-sticky.is-hidden { opacity: 0; transform: translateY(140%); pointer-events: none; }
  .tr-footer { padding-bottom: 104px; }
}
@media (max-width: 900px) {
  .tr-method article, .tr-method article:nth-child(even) { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; grid-template-areas: "num" "h" "fig"; }
  .tr-method figure { margin-top: 32px; }
  .tr-programs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tr-problem-grid, .tr-answer-grid { grid-template-columns: minmax(0, 1fr); }
  .tr-problem-art { width: min(100%, 520px); margin: 8px auto 0; }
  .tr-answer-art { width: min(100%, 440px); margin: 8px auto 0; }
  .tr-seminar, .tr-teacher-grid, .tr-price, .tr-faq, .tr-contact-grid { grid-template-columns: minmax(0, 1fr); }
  .tr-contact-grid > div:first-child { position: static; }
  .tr-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .tr-related { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  :root { --tr-header: 64px; }
  .tr-wrap { width: calc(100% - 32px); }
  .tr-header-inner { width: calc(100% - 24px); }
  .tr-brand img { width: 128px; }
  .tr-brand span { padding-left: 10px; font-size: 12px; }
  .tr-sp { display: inline; }
  .tr-hero { min-height: max(600px, 100svh); }
  .tr-hero::before { background: linear-gradient(0deg, #fff 0%, #fff 30%, #ffffffc4 46%, #ffffff00 68%); }
  .tr-hero-copy { padding-bottom: 56px; }
  .tr-hero-title { font-size: min(10.6vw, 56px); }
  .tr-hero-title > span:first-child { margin-left: -0.3em; }
  .tr-voices { justify-content: flex-start; gap: 22px 12px; }
  .tr-voices li { padding: 16px 20px; }
  .tr-voices br { display: none; }
  .tr-ba li { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .tr-ba-arrow { width: 2px; height: 26px; margin-left: 19px; }
  .tr-ba-arrow::after { right: auto; left: 50%; top: auto; bottom: -1px; transform: translateX(-50%) rotate(135deg); }
  .tr-programs { display: flex; gap: 12px; margin-right: -16px; margin-left: -16px; padding: 0 16px 8px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px; scrollbar-width: none; }
  .tr-programs::-webkit-scrollbar { display: none; }
  .tr-program { flex: 0 0 82%; scroll-snap-align: start; }
  html.js[data-motion="on"] .tr-programs [data-reveal] { opacity: 1; transform: none; }
  .tr-problem::before { display: none; }
  .tr-choice-grid, .tr-field-row { grid-template-columns: minmax(0, 1fr); }
  .tr-faq-list p { padding-right: 4px; }
  .tr-ba-before .tr-ba-ic { width: 40px; }
  .tr-ba-after .tr-ba-ic { width: 52px; }
  .tr-subsidy { padding-right: 28px; padding-bottom: 132px; }
  .tr-il-subsidy { top: auto; bottom: 22px; right: 24px; width: 120px; transform: none; }
  .tr-flow-ic { width: 50px; height: 50px; margin-bottom: 12px; }
  .tr-footer small { margin-left: 0; }
}
