@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+JP:wght@400;500;600;700;800;900&display=swap');

:root {
  --cream: #fff3db;
  --paper: #fffaf0;
  --ink: #17202a;
  --muted: #665f55;
  --coral: #ef5a3f;
  --coral-dark: #c84230;
  --blue: #1977a7;
  --blue-dark: #0e3f5b;
  --gold: #f3a719;
  --line: rgba(23, 32, 42, .18);
  --radius-l: 44px;
  --radius-m: 28px;
  --shell: min(1180px, calc(100% - 64px));
  --ease: cubic-bezier(.2, .75, .25, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", "Noto Sans JP", sans-serif;
  line-height: 1.8;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
.skip-link { position: fixed; z-index: 1000; top: 10px; left: 10px; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 99px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }

.site-header {
  position: fixed;
  z-index: 100;
  top: 18px;
  left: 50%;
  width: min(1232px, calc(100% - 40px));
  min-height: 70px;
  padding: 8px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  transform: translateX(-50%);
  transition: background .35s, box-shadow .35s, border-color .35s, top .35s;
}
.site-header.is-scrolled { top: 10px; background: rgba(255, 250, 240, .9); border-color: rgba(23, 32, 42, .1); box-shadow: 0 14px 45px rgba(28, 24, 18, .12); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; letter-spacing: -.04em; }
.brand img { width: 45px; height: 45px; object-fit: contain; }
.header-brand { display: block; width: 150px; line-height: 0; }
.header-brand img { width: 100%; height: auto; filter: brightness(0) saturate(100%); }
.site-nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 32px); font-size: 13px; font-weight: 700; }
.site-nav > a { position: relative; }
.site-nav > a:not(.nav-contact)::after { content: ""; position: absolute; right: 0; bottom: -5px; left: 0; height: 2px; background: var(--coral); transform: scaleX(0); transform-origin: right; transition: transform .25s; }
.site-nav > a:hover::after, .site-nav > a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav-contact { padding: 13px 20px; color: white; background: var(--ink); border-radius: 999px; transition: background .25s; }
.nav-contact span { display: inline-block; margin-left: 4px; transition: transform .25s var(--ease); }
.nav-contact:hover, .nav-contact:focus-visible { background: var(--coral); }
.nav-contact:hover span, .nav-contact:focus-visible span { transform: translateY(3px); }
.menu-button { display: none; }

.hero { position: relative; min-height: 850px; height: 100svh; max-height: 1000px; overflow: hidden; background: var(--cream); isolation: isolate; }
.hero-art { position: absolute; z-index: -3; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 52%; }
.hero-shade { position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg, rgba(255, 248, 231, .99) 0%, rgba(255, 248, 231, .96) 25%, rgba(255, 248, 231, .45) 52%, rgba(255, 248, 231, 0) 78%), linear-gradient(0deg, rgba(255, 248, 231, .17), rgba(255, 248, 231, .17)); }
.hero-copy { width: var(--shell); height: 100%; margin: auto; padding-top: clamp(190px, 21vh, 250px); }
.hero h1 { margin: 0; font-family: "Noto Sans JP", sans-serif; font-size: clamp(62px, 7.2vw, 112px); font-weight: 900; line-height: .98; letter-spacing: -.075em; }
.hero-line { display: block; width: max-content; position: relative; }
.hero-line:nth-child(2) { margin-top: .09em; }
.hero-line:nth-child(3) { margin-top: .09em; }
.marked { position: relative; z-index: 0; font-style: normal; }
.marked::after { content: ""; position: absolute; z-index: -1; right: -.08em; bottom: .08em; left: -.08em; height: .28em; background: var(--coral); border-radius: 999px; transform: rotate(-1.8deg); }
.hero-lead { margin: 35px 0 0; max-width: 520px; font-family: "Noto Sans JP", sans-serif; font-size: clamp(14px, 1.35vw, 18px); font-weight: 600; line-height: 2; }

.hero-spark { position: absolute; z-index: -1; display: block; width: var(--size); aspect-ratio: 1; background: var(--spark-color); clip-path: polygon(50% 0, 63% 36%, 100% 50%, 63% 64%, 50% 100%, 37% 64%, 0 50%, 37% 36%); filter: drop-shadow(0 10px 8px rgba(74, 48, 21, .12)); animation: sequential-bloom var(--duration, 7s) var(--delay, 0s) infinite var(--ease); transform-origin: center; }
.spark-1 { --size: 68px; --spark-color: #ed5a3c; --duration: 7.6s; --delay: -1.4s; --move-x: 8px; --move-y: -12px; left: 52%; top: 15%; transform: rotate(8deg); }
.spark-2 { --size: 34px; --spark-color: #176f9c; --duration: 6.8s; --delay: -5.2s; --move-x: -7px; --move-y: 10px; left: 42%; top: 29%; transform: rotate(23deg); }
.spark-3 { --size: 92px; --spark-color: #f0a418; --duration: 8.3s; --delay: -3.7s; --move-x: 10px; --move-y: 8px; left: 77%; top: 8%; transform: rotate(-10deg); }
.spark-4 { --size: 26px; --spark-color: #17202a; --duration: 6.5s; --delay: -2.2s; --move-x: -6px; --move-y: -9px; left: 88%; top: 25%; transform: rotate(12deg); }
.spark-5 { --size: 48px; --spark-color: #ef5a3f; --duration: 7.9s; --delay: -6.2s; --move-x: 9px; --move-y: 7px; left: 68%; top: 38%; transform: rotate(35deg); }
.spark-6 { --size: 30px; --spark-color: #f3a719; --duration: 6.9s; --delay: -.4s; --move-x: -8px; --move-y: 9px; left: 92%; top: 48%; transform: rotate(-18deg); }
.spark-7 { --size: 78px; --spark-color: #176f9c; --duration: 8.8s; --delay: -4.4s; --move-x: 10px; --move-y: -8px; left: 83%; top: 67%; transform: rotate(16deg); }
.spark-8 { --size: 22px; --spark-color: #ed5a3c; --duration: 6.4s; --delay: -3.1s; --move-x: 5px; --move-y: 9px; left: 62%; top: 73%; transform: rotate(-30deg); }
.spark-9 { --size: 42px; --spark-color: #17202a; --duration: 7.2s; --delay: -7s; --move-x: -7px; --move-y: -10px; left: 58%; top: 49%; transform: rotate(5deg); }
.spark-10 { --size: 20px; --spark-color: #176f9c; --duration: 6.2s; --delay: -1.9s; --move-x: 7px; --move-y: 6px; left: 73%; top: 82%; transform: rotate(28deg); }
.spark-11 { --size: 36px; --spark-color: #f0a418; --duration: 7.4s; --delay: -5.8s; --move-x: -9px; --move-y: -6px; left: 94%; top: 74%; transform: rotate(10deg); }
.spark-12 { --size: 24px; --spark-color: #ed5a3c; --duration: 6.7s; --delay: -4.8s; --move-x: 8px; --move-y: -7px; left: 57%; top: 90%; transform: rotate(-12deg); }
@keyframes sequential-bloom {
  0%, 16%, 100% { opacity: .45; scale: .86; translate: 0 0; }
  38% { opacity: 1; scale: 1.08; translate: var(--move-x) var(--move-y); }
  62% { opacity: .72; scale: .96; translate: 0 0; }
}

.play-ticker { overflow: hidden; color: white; background: var(--coral); transform: rotate(-1deg) scale(1.01); }
.ticker-track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.ticker-group { display: flex; flex: 0 0 auto; width: max-content; min-width: 100vw; align-items: center; justify-content: space-around; gap: 28px; padding: 14px clamp(18px, 2vw, 38px); font-size: 13px; font-weight: 800; letter-spacing: .14em; white-space: nowrap; }
.play-ticker i { width: 16px; height: 16px; background: var(--gold); clip-path: polygon(50% 0, 63% 36%, 100% 50%, 63% 64%, 50% 100%, 37% 64%, 0 50%, 37% 36%); }
@keyframes ticker { to { transform: translateX(-50%); } }

.section-pad { padding: clamp(110px, 13vw, 190px) 0; }
.section-shell { width: var(--shell); margin: auto; }
.kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .18em; }
.kicker i { flex: 0 0 auto; width: 9px; height: 9px; background: var(--coral); clip-path: polygon(50% 0, 63% 36%, 100% 50%, 63% 64%, 50% 100%, 37% 64%, 0 50%, 37% 36%); transform: translateY(-1px); }
.kicker.light { color: #e5d9c9; }
.section-heading h2 { margin: 0; font-family: "Noto Sans JP", sans-serif; font-size: clamp(46px, 6vw, 82px); font-weight: 900; line-height: 1.16; letter-spacing: -.065em; }
.section-heading h2 span { color: var(--coral); }
.split-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 60px; }
.split-heading > p { max-width: 400px; margin: 0 0 8px; color: var(--muted); font-family: "Noto Sans JP", sans-serif; font-size: 14px; font-weight: 500; }

.philosophy { position: relative; padding-top: clamp(100px, 10vw, 150px); padding-bottom: clamp(100px, 10vw, 150px); background: var(--paper); }
.philosophy::before { content: ""; position: absolute; top: 6%; right: 4%; width: min(22vw, 300px); aspect-ratio: 1; background: rgba(239, 90, 63, .07); clip-path: polygon(50% 0, 63% 36%, 100% 50%, 63% 64%, 50% 100%, 37% 64%, 0 50%, 37% 36%); pointer-events: none; }
.philosophy .section-heading h2 { text-indent: -.58em; }
.philosophy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(70px, 7vw, 105px); align-items: start; margin-top: 70px; }
.philosophy-lead { margin: 0; font-family: "Noto Sans JP", sans-serif; font-size: clamp(18px, 2vw, 26px); font-weight: 600; line-height: 2.1; }
.value-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.value-list li { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 42px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); }
.value-list .mini-spark { width: 24px; }
.value-copy { display: grid; grid-template-columns: 110px minmax(0, 220px); gap: 36px; align-items: center; justify-content: center; }
.value-list strong { font-size: 28px; }
.value-list p { margin: 0; color: var(--muted); font-family: "Noto Sans JP", sans-serif; font-size: 13px; line-height: 1.8; }
.mini-spark { display: block; width: 27px; aspect-ratio: 1; clip-path: polygon(50% 0, 63% 36%, 100% 50%, 63% 64%, 50% 100%, 37% 64%, 0 50%, 37% 36%); }
.mini-spark.coral { background: var(--coral); }.mini-spark.blue { background: var(--blue); }.mini-spark.gold { background: var(--gold); }

.business { background: var(--cream); }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 68px; }
.service-card { position: relative; min-height: 500px; padding: 30px clamp(26px, 3.6vw, 48px) 38px; overflow: hidden; border: 1px solid rgba(23, 32, 42, .08); border-radius: var(--radius-l); box-shadow: 0 30px 70px rgba(67, 48, 25, .08); }
.service-game { background: #fff8ea; }.service-education { background: #e9f3f5; }
.service-visual { position: relative; height: 220px; margin: 0 -8px 26px; }
.service-visual .mini-spark { position: absolute; top: 14%; right: 13%; width: 48px; transform: rotate(12deg); }
.visual-orbit { position: absolute; top: 42%; left: 9%; width: 78%; height: 33%; border: 26px solid var(--gold); border-top-width: 11px; border-radius: 50%; transform: rotate(-8deg); }
.visual-ball { position: absolute; z-index: 2; top: 20%; left: 41%; width: 90px; aspect-ratio: 1; background: var(--coral); border-radius: 50%; box-shadow: inset -15px -16px 24px rgba(126, 40, 26, .22), 0 20px 25px rgba(77, 50, 20, .16); }
.visual-gate { position: absolute; z-index: 1; right: 12%; bottom: 2%; width: 110px; height: 150px; border: 26px solid var(--blue); border-bottom: 0; border-radius: 60px 60px 0 0; }
.lesson-visual .visual-board { position: absolute; top: 13%; right: 13%; width: 53%; height: 53%; background: var(--blue); border: 13px solid white; border-radius: 4px; transform: rotate(2deg); box-shadow: 0 18px 30px rgba(22, 67, 83, .18); }
.lesson-visual .visual-board::before, .lesson-visual .visual-board::after { content: ""; position: absolute; left: 16%; height: 7px; background: rgba(255, 255, 255, .65); border-radius: 10px; }
.lesson-visual .visual-board::before { top: 29%; width: 57%; }.lesson-visual .visual-board::after { top: 52%; width: 38%; }
.lesson-visual .visual-book { position: absolute; z-index: 2; bottom: 6%; left: 18%; width: 52%; height: 31%; background: var(--coral); border-radius: 7px 25px 25px 7px; transform: rotate(-7deg); box-shadow: inset 0 -12px rgba(163, 53, 35, .22), 0 20px 28px rgba(57, 49, 37, .17); }
.lesson-visual .visual-ball { top: 9%; left: 11%; width: 70px; background: var(--gold); }
.lesson-visual .mini-spark { top: 4%; right: 4%; }
.card-label { margin: 0 0 2px; color: var(--coral); font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.service-card h3 { margin: 0 0 18px; font-family: "Noto Sans JP", sans-serif; font-size: 36px; letter-spacing: -.04em; }
.service-card > p:not(.card-label) { margin: 0; color: var(--muted); font-family: "Noto Sans JP", sans-serif; font-size: 14px; line-height: 2; word-break: keep-all; overflow-wrap: break-word; }

.works { color: var(--ink); background: #e9f3f5; box-shadow: inset 0 1px rgba(23, 32, 42, .06); }
.works .split-heading > p { color: var(--muted); }
.work-list { display: grid; gap: 22px; margin-top: 64px; }
.work-row { display: grid; grid-template-columns: minmax(240px, 300px) minmax(0, 1fr) 55px; gap: clamp(28px, 4vw, 54px); align-items: center; min-height: 220px; padding: 22px 24px 22px 22px; background: rgba(255, 250, 240, .92); border: 1px solid rgba(23, 32, 42, .1); border-radius: 36px; box-shadow: 0 20px 50px rgba(42, 76, 82, .08); transition: background .3s, box-shadow .3s, transform .3s; }
.work-row:hover, .work-row:focus-visible { background: var(--paper); box-shadow: 0 26px 60px rgba(42, 76, 82, .13); transform: translateY(-3px); }
.work-media { display: block; width: 100%; overflow: hidden; background: #d6ecef; border-radius: 24px; box-shadow: 0 12px 28px rgba(23, 32, 42, .12); }
.work-media img { display: block; width: 100%; height: 100%; }
.work-media-boss { aspect-ratio: 16 / 9; }
.work-media-boss img { object-fit: cover; object-position: center; }
.work-media-cuboro { width: min(180px, 100%); aspect-ratio: 1; justify-self: center; }
.work-media-cuboro img { object-fit: contain; }
.work-title { display: flex; min-width: 0; flex-direction: column; gap: 12px; }
.work-title small, .work-role { color: var(--muted); font-size: 11px; font-weight: 600; }
.work-role { margin-top: 4px; }
.work-title strong { font-size: clamp(26px, 3vw, 42px); line-height: 1.02; letter-spacing: -.045em; }
.work-arrow { display: grid; width: 52px; height: 52px; place-items: center; border: 1px solid rgba(23, 32, 42, .35); border-radius: 50%; font-style: normal; transition: color .25s, background .25s, transform .25s; }
.work-row:hover .work-arrow, .work-row:focus-visible .work-arrow { color: var(--ink); background: var(--gold); border-color: var(--gold); transform: rotate(45deg); }

.message { background: var(--paper); }
.message-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(70px, 10vw, 145px); align-items: center; }
.portrait-wrap { position: relative; padding: 42px; }
.portrait-frame { position: relative; z-index: 1; aspect-ratio: 1; padding: 14px; background: var(--cream); border: 1px solid rgba(23, 32, 42, .1); border-radius: 50%; }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; filter: saturate(.88) contrast(.98); }
.portrait-spark { position: absolute; z-index: 2; top: 2%; right: 8%; width: 72px; transform: rotate(16deg); }
.message-copy h2 { margin: 0 0 38px; font-family: "Noto Sans JP", sans-serif; font-size: clamp(45px, 5vw, 72px); font-weight: 900; line-height: 1.25; letter-spacing: -.065em; }
.message-copy h2 span { color: var(--coral); }
.message-copy > p:not(.kicker) { margin: 0 0 22px; color: var(--muted); font-family: "Noto Sans JP", sans-serif; font-size: 14px; }
.profile-sign { margin-top: 38px; padding-top: 25px; border-top: 1px solid var(--line); }
.profile-name-line { display: flex; gap: 18px; align-items: baseline; margin: 0; }
.profile-name-line span { font-size: 12px; }.profile-name-line strong { font-family: "Noto Sans JP", sans-serif; font-size: 22px; }
.profile-career { margin: 11px 0 0; color: var(--muted); font-family: "Noto Sans JP", sans-serif; font-size: 12px; line-height: 1.6; }
.profile-udemy { display: flex; flex-wrap: wrap; gap: 7px 16px; align-items: baseline; margin-top: 9px; }
.profile-udemy span { color: var(--muted); font-size: 12px; }.profile-udemy a { width: max-content; color: var(--blue); font-size: 12px; font-weight: 700; border-bottom: 1px solid; }

.company { padding-top: clamp(110px, 10vw, 150px); padding-bottom: clamp(90px, 8vw, 120px); background: #f2efe7; }
.company-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(56px, 7vw, 96px); align-items: start; }
.company .section-heading h2 { white-space: nowrap; }
.company-list { margin: 0; border-top: 1px solid var(--line); }
.company-list > div { display: grid; grid-template-columns: 150px 1fr; gap: 30px; align-items: center; padding: 27px 0; border-bottom: 1px solid var(--line); }
.company-list dt { color: var(--blue); font-size: 11px; font-weight: 700; }.company-list dd { margin: 0; font-family: "Noto Sans JP", sans-serif; font-size: 14px; font-weight: 600; }

.contact { padding-right: 28px; padding-left: 28px; background: var(--paper); }
.contact-panel { position: relative; width: min(1340px, 100%); margin: auto; padding: clamp(76px, 8.5vw, 120px) 30px; overflow: hidden; color: white; text-align: center; background: var(--coral); border-radius: 64px; }
.contact-panel .kicker { justify-content: center; }.contact-panel .kicker i { background: var(--gold); }
.contact-panel h2 { margin: 0; font-family: "Noto Sans JP", sans-serif; font-size: clamp(44px, 6vw, 82px); font-weight: 900; line-height: 1.22; letter-spacing: -.07em; white-space: nowrap; }
.contact-panel > p:not(.kicker) { margin: 28px auto 0; font-family: "Noto Sans JP", sans-serif; font-size: 14px; }
.contact-button { display: inline-flex; align-items: center; gap: 42px; margin-top: 40px; padding: 8px 8px 8px 28px; color: var(--ink); background: white; border-radius: 999px; font-size: 12px; font-weight: 800; }
.contact-button > span { transform: translateY(1px); }
.contact-button i { display: grid; width: 48px; height: 48px; place-items: center; color: white; background: var(--ink); border-radius: 50%; font-style: normal; transition: color .25s, background .25s, transform .25s; }
.contact-button:hover i, .contact-button:focus-visible i { color: var(--ink); background: var(--gold); transform: rotate(45deg); }
.contact-sparks i { position: absolute; display: block; aspect-ratio: 1; background: rgba(255, 255, 255, .18); clip-path: polygon(50% 0, 63% 36%, 100% 50%, 63% 64%, 50% 100%, 37% 64%, 0 50%, 37% 36%); }
.contact-sparks i:nth-child(1) { width: 180px; left: 4%; top: 12%; transform: rotate(15deg); }.contact-sparks i:nth-child(2) { width: 44px; left: 18%; bottom: 10%; background: var(--gold); }.contact-sparks i:nth-child(3) { width: 120px; right: 5%; bottom: 9%; transform: rotate(-19deg); }.contact-sparks i:nth-child(4) { width: 34px; right: 20%; top: 14%; background: var(--blue-dark); }

.site-footer { display: grid; grid-template-columns: 1fr auto; gap: 14px 40px; align-items: center; padding: 65px max(32px, calc((100% - 1180px) / 2)); background: var(--paper); border-top: 1px solid var(--line); }
.footer-brand { display: block; grid-column: 1; grid-row: 1; width: 150px; line-height: 0; }.footer-brand img { width: 100%; height: auto; filter: brightness(0) saturate(100%); }
.site-footer > p { grid-column: 1; grid-row: 2; margin: 0; color: var(--muted); font-family: "Noto Sans JP", sans-serif; font-size: 11px; }
.footer-nav { grid-column: 2; grid-row: 1; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 3px 18px; font-size: 11px; font-weight: 700; }.footer-nav a { display: inline-block; padding: 12px 5px; transition: color .25s; }.footer-nav a:hover, .footer-nav a:focus-visible { color: var(--coral); }
.sns-list { grid-column: 2; grid-row: 2; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 2px; margin: 0 -12px 0 0; padding: 0; list-style: none; }
.sns-list a { display: grid; place-items: center; width: 44px; height: 44px; color: var(--muted); transition: color .25s; }.sns-list a:hover, .sns-list a:focus-visible { color: var(--coral); }.sns-list svg { width: 20px; height: 20px; fill: currentColor; }
.footer-links { grid-column: 1; grid-row: 3; display: flex; flex-wrap: wrap; gap: 3px 16px; margin: 0; padding: 0; list-style: none; font-size: 11px; }
.footer-links a { display: inline-block; padding: 12px 0; color: var(--muted); transition: color .25s; }.footer-links a:hover, .footer-links a:focus-visible { color: var(--coral); }
.site-footer small { grid-column: 2; grid-row: 3; color: #918980; text-align: right; font-size: 9px; letter-spacing: .1em; }

.doc-page { display: flex; flex-direction: column; min-height: 100svh; }
.doc { position: relative; flex: 1 0 auto; padding: clamp(150px, 13vw, 184px) 0 clamp(96px, 9vw, 130px); background: var(--paper); isolation: isolate; }
.doc::before { content: ""; position: absolute; z-index: -1; top: clamp(90px, 9vw, 130px); right: 4%; width: min(22vw, 300px); aspect-ratio: 1; background: rgba(239, 90, 63, .07); clip-path: polygon(50% 0, 63% 36%, 100% 50%, 63% 64%, 50% 100%, 37% 64%, 0 50%, 37% 36%); pointer-events: none; }
.doc-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(56px, 7vw, 96px); align-items: start; }
.doc h1 { margin: 0; font-family: "Noto Sans JP", sans-serif; font-size: clamp(30px, 2.9vw, 40px); font-weight: 900; line-height: 1.3; letter-spacing: -.06em; word-break: keep-all; overflow-wrap: break-word; text-wrap: balance; }
.doc .updated { margin: 18px 0 0; color: var(--muted); font-family: "Noto Sans JP", sans-serif; font-size: 12px; }
.doc-body h2 { margin: 52px 0 14px; padding-top: 26px; border-top: 1px solid var(--line); font-family: "Noto Sans JP", sans-serif; font-size: clamp(19px, 1.7vw, 23px); font-weight: 700; line-height: 1.4; letter-spacing: -.03em; }
.doc-body h3 { margin: 34px 0 8px; font-family: "Noto Sans JP", sans-serif; font-size: 17px; font-weight: 700; line-height: 1.4; letter-spacing: -.02em; }
.doc-body p, .doc-body li { color: var(--muted); font-family: "Noto Sans JP", sans-serif; font-size: 14px; line-height: 2; word-break: keep-all; overflow-wrap: break-word; }
.doc-body p, .doc-body ul { margin: 0 0 16px; }.doc-body ul { padding-left: 1.4em; }.doc-body li::marker { color: var(--coral); }
.doc-body h2[lang="en"], .doc-body [lang="en"] h3, .doc-body [lang="en"] p, .doc-body [lang="en"] li { font-family: "DM Sans", "Noto Sans JP", sans-serif; }
.doc-body a:not(.back-link) { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; transition: color .25s; }.doc-body a:not(.back-link):hover, .doc-body a:not(.back-link):focus-visible { color: var(--coral); }
.back-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; padding: 13px 22px 13px 18px; color: white; background: var(--ink); border-radius: 999px; font-family: "DM Sans", "Noto Sans JP", sans-serif; font-size: 13px; font-weight: 700; line-height: 1.4; transition: background .25s; }
.back-link::before { content: "\2190"; display: inline-block; transition: transform .25s var(--ease); }
.back-link:hover, .back-link:focus-visible { background: var(--coral); }.back-link:hover::before, .back-link:focus-visible::before { transform: translateX(-3px); }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.value-list .reveal:nth-child(2), .service-grid .reveal:nth-child(2), .work-list .reveal:nth-child(2) { transition-delay: .12s; }
.value-list .reveal:nth-child(3) { transition-delay: .24s; }

@media (max-width: 900px) {
  :root { --shell: min(100% - 40px, 680px); --radius-l: 34px; }
  .site-header { top: 10px; width: calc(100% - 32px); min-height: 62px; padding: 6px 10px 6px 18px; background: rgba(255, 250, 240, .9); border-color: rgba(23, 32, 42, .1); backdrop-filter: blur(14px); }
  .brand { font-size: 17px; }.brand img { width: 39px; height: 39px; }
  .header-brand { width: 128px; }.header-brand img { width: 100%; height: auto; }
  .menu-button { position: relative; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 11px 15px; color: white; background: var(--ink); border: 0; border-radius: 999px; font-size: 10px; font-weight: 800; }
  .menu-button i, .menu-button i::before { display: block; width: 15px; height: 1px; background: white; transition: transform .25s; }.menu-button i::before { content: ""; transform: translateY(5px); }
  .menu-button[aria-expanded="true"] i { transform: translateY(2px) rotate(45deg); }.menu-button[aria-expanded="true"] i::before { transform: rotate(-90deg); }
  .site-nav { position: absolute; top: 0; right: 0; left: 0; display: grid; gap: 0; padding: 86px 24px 25px; background: var(--paper); border: 1px solid var(--line); border-radius: 30px; box-shadow: 0 25px 60px rgba(23, 32, 42, .18); visibility: hidden; opacity: 0; transform: translateY(-12px); transition: .25s; }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: translateY(0); }
  .site-nav > a { padding: 13px 5px; border-bottom: 1px solid var(--line); }.site-nav .nav-contact { margin-top: 12px; padding: 13px 20px; text-align: center; border: 0; }

  .hero { min-height: 830px; height: 100svh; max-height: 900px; }
  .hero-art { height: 54%; top: auto; bottom: 0; object-position: 68% 56%; }
  .hero-shade { background: linear-gradient(180deg, var(--cream) 0%, var(--cream) 42%, rgba(255, 243, 219, .84) 56%, rgba(255, 243, 219, .05) 81%); }
  .hero-copy { padding-top: 135px; }
  .hero h1 { font-size: clamp(53px, 15vw, 80px); line-height: 1.02; }
  .hero-lead { margin-top: 25px; font-size: 13px; line-height: 1.9; }
  .hero-spark { scale: .78; }
  .spark-1 { left: 73%; top: 12%; }.spark-2 { left: 82%; top: 27%; }.spark-3 { left: 70%; top: 47%; }.spark-4, .spark-8, .spark-10, .spark-12 { display: none; }.spark-5 { left: 10%; top: 52%; }.spark-6 { left: 86%; top: 60%; }.spark-7 { left: 72%; top: 76%; }.spark-9 { left: 7%; top: 70%; }.spark-11 { left: 87%; top: 86%; }

  .split-heading { display: block; }.split-heading > p { margin-top: 28px; }
  .philosophy-grid, .message-layout, .company-layout { grid-template-columns: 1fr; }
  .philosophy-grid { gap: 48px; margin-top: 50px; }
  .desktop-break { display: none; }
  .value-list li { grid-template-columns: 24px minmax(0, 1fr); gap: 12px; }.value-copy { grid-template-columns: 82px minmax(0, 1fr); gap: 12px; justify-content: stretch; }.value-list strong { font-size: 23px; }
  .service-grid { grid-template-columns: 1fr; margin-top: 55px; }.service-card { min-height: auto; }
  .work-row { grid-template-columns: 190px minmax(0, 1fr) 42px; min-height: 190px; gap: 22px; padding: 18px; border-radius: 30px; }.work-media { border-radius: 20px; }.work-media-cuboro { width: 145px; }.work-title strong { font-size: 25px; }.work-arrow { width: 42px; height: 42px; }
  .portrait-wrap { width: min(520px, 100%); margin: auto; }.message-layout { gap: 65px; }
  .company-layout { gap: 55px; }.company .section-heading h2 { white-space: normal; }
  .doc { padding: 124px 0 84px; }.doc-layout { grid-template-columns: 1fr; gap: 44px; }
}

@media (max-width: 560px) {
  :root { --shell: calc(100% - 32px); }
  .section-pad { padding: 96px 0; }.section-heading h2, .message-copy h2 { font-size: 43px; }
  .hero { min-height: 790px; }.hero-copy { padding-top: 150px; }
  .hero h1 { font-size: clamp(49px, 15.2vw, 66px); letter-spacing: -.085em; }
  .ticker-group { gap: 22px; padding: 11px 18px; font-size: 10px; }
  .philosophy { padding-top: 82px; padding-bottom: 82px; }.philosophy-lead { font-size: 17px; }.value-list li { grid-template-columns: 20px minmax(0, 1fr); gap: 9px; padding: 21px 0; }.value-copy { grid-template-columns: 68px minmax(0, 1fr); gap: 9px; }.value-list strong { font-size: 21px; }.value-list p { font-size: 11px; line-height: 1.6; }.value-list .mini-spark { width: 18px; }
  .service-card { padding: 24px 22px 30px; border-radius: 30px; }.service-visual { height: 170px; margin-bottom: 20px; }.visual-ball { width: 58px; }.visual-gate { width: 70px; height: 96px; border-width: 17px; border-bottom: 0; }.visual-orbit { border-width: 16px; border-top-width: 7px; }.service-card h3 { font-size: 30px; }.service-card > p:not(.card-label) { font-size: 13px; line-height: 1.9; }
  .works .section-heading { display: block; }.work-list { gap: 18px; margin-top: 48px; }.work-row { grid-template-columns: minmax(0, 1fr) 42px; min-height: 0; gap: 20px 14px; padding: 16px; border-radius: 28px; }.work-media { grid-column: 1 / -1; border-radius: 20px; }.work-media-cuboro { width: min(72%, 240px); }.work-title { grid-column: 1; gap: 7px; }.work-title small, .work-role { font-size: 9px; }.work-title strong { font-size: 22px; }.work-arrow { grid-column: 2; align-self: end; width: 42px; height: 42px; }
  .portrait-wrap { padding: 25px; }.portrait-spark { width: 52px; }.message-copy > p:not(.kicker) { font-size: 13px; }.profile-name-line { gap: 12px; }.profile-udemy { gap: 6px 12px; }
  .company-list > div { grid-template-columns: 92px 1fr; gap: 18px; padding: 22px 0; }.company-list dt { font-size: 10px; }.company-list dd { font-size: 12px; }
  .contact { padding-right: 12px; padding-left: 12px; }.contact-panel { padding: 78px 20px; border-radius: 36px; }.contact-panel h2 { font-size: 41px; white-space: normal; }.contact-panel > p:not(.kicker) { font-size: 12px; }.contact-button { gap: 18px; padding-left: 20px; }.contact-button i { width: 42px; height: 42px; }.contact-sparks i:nth-child(1) { width: 100px; }.contact-sparks i:nth-child(3) { width: 75px; }
  .site-footer { grid-template-columns: 1fr; padding: 50px 24px; }.footer-brand { width: 128px; }.footer-nav, .sns-list, .footer-links, .site-footer small { grid-column: 1; grid-row: auto; text-align: left; }.footer-nav, .sns-list { justify-content: flex-start; }.footer-nav { gap: 3px 13px; }.sns-list { margin: 0 0 0 -12px; }
  .doc { padding: 112px 0 72px; }.doc-layout { gap: 36px; }.doc-body h2 { margin-top: 44px; padding-top: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-spark { opacity: .82; }
  .ticker-track { animation: none !important; transform: none; }
  .reveal { opacity: 1; transform: none; }
}
