:root {
  --site-width: 480px;
  --header-height: 66px;
  --ink: #4d4d4d;
  --teal: #87ceeb;
  --title-bg: #72c4e6;
  --teal-dark: #2f7693;
  --on-accent: #153f50;
  --mint: #f3fafd;
  --yellow: #fff;
  --title-yellow: #c8ecfa;
  --text-gradient-title:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .03) 0 2px, rgba(4, 24, 38, .04) 2px 5px, transparent 5px 9px),
    linear-gradient(90deg, #041827 0%, #145c78 22%, #08283d 42%, #216d89 59%, #092b41 77%, #17536d 90%, #041827 100%);
  --text-gradient-light: linear-gradient(110deg, #fff 0%, #fff 24%, #bce8f8 60%, #fff 90%);
  --text-gradient-hero: linear-gradient(110deg, #fff 0%, #eefaff 38%, #87ceeb 72%, #fff 100%);
  --line: rgba(135, 206, 235, 0.45);
  --edge: clamp(22px, 7vw, 36px);
}

*, *::before, *::after {
  box-sizing: border-box;
  min-width: 0;
  min-height: 0;
  word-break: break-all;
}
html, body { width: 100%; max-width: none; height: 100%; margin: 0; overflow: hidden; }
html { background: #edf6fa; scroll-behavior: smooth; }
body { color: var(--ink); font-family: "Noto Sans JP", sans-serif; font-size: 16px; line-height: 1.75; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, ul, ol, dl, dt, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input, textarea, select { font: inherit; }

#container {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100% !important;
  max-width: var(--site-width) !important;
  height: 100dvh;
  margin: 0 auto !important;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 48px rgba(47, 118, 147, 0.13);
}

.swipe-container {
  flex: 1 1 auto; width: 100%; height: 100dvh; overflow-x: hidden; overflow-y: auto;
  scroll-snap-type: y mandatory; overscroll-behavior-y: contain; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; outline: 0;
}
.swipe-container::-webkit-scrollbar { display: none; }
.swipe-section {
  position: relative; width: 100%; height: calc(100dvh - var(--header-height)); min-height: calc(100dvh - var(--header-height)); overflow: clip;
  scroll-margin-top: var(--header-height); scroll-snap-align: start; scroll-snap-stop: always; background: #fff;
}
.swipe-section:not(.video-section):not(.hero-section):not(.entry-section) {
  background-image:
    linear-gradient(rgba(47, 118, 147, .052) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 118, 147, .052) 1px, transparent 1px);
  background-position: center;
  background-size: clamp(36px, 10vw, 46px) clamp(40px, 11vw, 51px);
}
.video-section {
  height: 100dvh;
  min-height: 100dvh;
  scroll-margin-top: 0;
  background: #153f50;
}
.video-section__media { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.video-section::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21,63,80,.02) 58%, rgba(21,63,80,.38) 100%); pointer-events: none; }
.video-scroll-guide { position: absolute; z-index: 2; right: 50%; bottom: max(24px, calc(env(safe-area-inset-bottom) + 18px)); display: flex; flex-direction: column; align-items: center; color: #fff; font-size: 9px; font-weight: 700; line-height: 1; letter-spacing: .2em; transform: translateX(50%); text-shadow: 0 1px 5px rgba(21,63,80,.5); }
.video-scroll-guide i { position: relative; display: block; width: 14px; height: 14px; margin-top: 10px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); animation: video-guide 1.8s ease-in-out infinite; }
#container.is-past-intro .video-scroll-guide { opacity: 0; visibility: hidden; }
@keyframes video-guide { 0%, 100% { opacity: .4; transform: translateY(-3px) rotate(45deg); } 50% { opacity: 1; transform: translateY(5px) rotate(45deg); } }
.section-mint { background: var(--mint); }
.section-inner { position: relative; z-index: 2; width: 100%; height: 100%; padding: max(28px, env(safe-area-inset-top)) var(--edge) max(34px, env(safe-area-inset-bottom)); }
.section-number { position: absolute; top: 18px; right: 24px; color: rgba(135,206,235,.24); font-size: clamp(62px, 19vw, 90px); font-weight: 900; line-height: 1; letter-spacing: -.07em; }
.section-kicker { color: var(--teal-dark); font-size: 11px; font-weight: 900; line-height: 1.3; letter-spacing: .18em; }
.section-title {
  position: relative;
  z-index: 1;
  display: block;
  width: fit-content;
  max-width: calc(100% - 5px);
  padding: 8px 15px 10px;
  color: #fff;
  font-size: clamp(27px, 8vw, 36px);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: .055em;
}
.section-title::before,
.section-title::after {
  content: "";
  position: absolute;
  pointer-events: none;
  transform: skewX(-2deg);
}
.section-title::before {
  z-index: -1;
  inset: 0;
  background: var(--title-bg);
}
.section-title::after {
  z-index: -2;
  top: -6px;
  right: 7px;
  bottom: 6px;
  left: -6px;
  background: var(--title-yellow);
}
.section-title .marker { padding: 0; color: inherit; background: none; }
.section-title--large { font-size: clamp(28px, 8.4vw, 40px); }
.lead-copy { font-size: clamp(17px, 4.7vw, 22px); font-weight: 700; line-height: 1.7; letter-spacing: .01em; }
.body-copy { font-size: clamp(14px, 3.8vw, 17px); font-weight: 500; line-height: 1.9; }
.marker { padding: 0 .06em; background: linear-gradient(transparent 58%, rgba(135, 206, 235, .42) 0); }

/* Reference-inspired type gradation. The solid color remains as a fallback. */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .section-title__text {
    position: relative;
    z-index: 1;
    background-image: var(--text-gradient-title);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-blend-mode: soft-light, normal;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 2px 1px rgba(6, 24, 39, .16));
    -webkit-text-fill-color: transparent;
  }

  .work-photo-copy b {
    background-image: var(--text-gradient-light);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }

  .hero-copy h1 {
    background-image: var(--text-gradient-hero);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }
}

/* Fixed header: logo + two direct actions only. */
.site-header {
  position: absolute;
  z-index: 70;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: var(--header-height);
  padding: max(7px, env(safe-area-inset-top)) 8px 7px;
  border-bottom: 1px solid rgba(135, 206, 235, .35);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 3px 12px rgba(47, 118, 147, .08);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-100%);
  transition: opacity .22s ease, transform .22s ease, visibility 0s linear .22s;
}
#container.is-past-intro .site-header { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); transition-delay: 0s; }
.site-header__brand { display: block; flex: 0 1 94px; min-width: 72px; margin-left: 14px; color: var(--ink); line-height: 1; }
.site-header__brand span { display: block; white-space: nowrap; font-size: clamp(12px, 3.8vw, 15px); font-weight: 500; line-height: 1; letter-spacing: .04em; }
.site-header__actions { display: flex; flex: 0 0 auto; align-items: center; gap: 5px; }
.site-header__button { display: flex; align-items: center; justify-content: center; width: clamp(68px, 20vw, 88px); height: 36px; padding: 0 5px; border: 2px solid var(--yellow); color: var(--on-accent); background: var(--teal); font-size: clamp(10px, 2.9vw, 12px); font-weight: 500; line-height: 1; letter-spacing: .02em; text-align: center; transition: transform .2s ease, box-shadow .2s ease; }
.site-header__button--requirements { border-color: var(--teal); color: var(--teal-dark); background: #fff; }
.site-header__button:hover,
.site-header__button:focus-visible { transform: translateY(-1px); box-shadow: 0 4px 0 rgba(47, 118, 147, .14); }
.site-header__brand:focus-visible,
.site-header__button:focus-visible { outline: 2px solid rgba(135, 206, 235, .55); outline-offset: 2px; }

/* 01 Hero */
.hero-section { color: #fff; background: #c9e9f6; }
.hero-section::before { content: ""; position: absolute; z-index: 1; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.075) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.075) 1px, transparent 1px); background-size: clamp(36px, 10vw, 46px) clamp(40px, 11vw, 51px); }
.hero-photo { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: 50% 42%; }
.hero-section::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21,63,80,.02) 25%, rgba(21,63,80,.3) 100%); }
.hero-copy { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 29px var(--edge) max(56px, calc(env(safe-area-inset-bottom) + 48px)); border-top: 4px solid rgba(114,196,230,.92); background: linear-gradient(145deg, rgba(32,83,104,.94), rgba(35,92,115,.84)); box-shadow: 0 -18px 42px rgba(21,63,80,.15); isolation: isolate; }
.hero-copy::before { content: ""; position: absolute; z-index: -1; top: -12px; left: var(--edge); width: 112px; height: 8px; background: var(--title-bg); box-shadow: 18px 0 0 var(--title-yellow); transform: skewX(-12deg); }
.hero-copy::after { content: "NARU"; position: absolute; z-index: -1; right: -8px; bottom: 12px; color: rgba(255,255,255,.055); font-size: clamp(66px, 20vw, 94px); font-weight: 900; line-height: 1; letter-spacing: -.08em; }
.hero-copy .section-kicker { display: flex; align-items: center; gap: 10px; color: var(--yellow); }
.hero-copy .section-kicker::after { content: ""; width: 54px; height: 1px; background: rgba(255,255,255,.62); }
.hero-copy h1 { margin-top: 11px; color: #fff; font-size: clamp(31px, 9vw, 43px); font-weight: 900; line-height: 1.4; letter-spacing: -.06em; text-shadow: 0 3px 18px rgba(0,0,0,.22); }
.hero-copy h1 span { display: block; width: fit-content; }
.hero-copy h1 .hero-question { display: inline; padding: 0 .03em; background: linear-gradient(transparent 76%, rgba(114,196,230,.72) 0); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero-copy > p:last-child { margin-top: 17px; padding-top: 13px; border-top: 1px solid rgba(255,255,255,.28); font-size: clamp(14px, 3.55vw, 16px); font-weight: 500; line-height: 1.8; }
.scroll-guide { position: absolute; z-index: 3; right: 18px; bottom: max(18px, env(safe-area-inset-bottom)); font-size: 9px; font-weight: 700; letter-spacing: .18em; writing-mode: vertical-rl; }
.scroll-guide span { display: block; width: 1px; height: 26px; margin: 7px auto 0; background: #fff; animation: guide 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes guide { 0%, 100% { transform: scaleY(.35); opacity: .5; } 50% { transform: scaleY(1); opacity: 1; } }

/* 02 Intro */
.section-inner.intro-layout { z-index: 3; display: flex; flex-direction: column; justify-content: center; padding-bottom: clamp(112px, 20vh, 185px); }
.intro-layout .section-title { margin-top: 18px; }
.intro-rule { width: 62px; height: 5px; margin: 27px 0; background: var(--teal); }
.intro-layout .body-copy { margin-top: 20px; }
.intro-shogi-pieces { position: absolute; z-index: auto; inset: 0; overflow: hidden; pointer-events: none; }
.intro-shogi-piece { position: absolute; z-index: 2; height: auto; filter: drop-shadow(0 8px 12px rgba(47,118,147,.12)); opacity: .74; }
.intro-shogi-piece--pawn { top: 12%; right: -6%; width: clamp(72px, 21vw, 100px); transform: rotate(13deg); }
.intro-shogi-piece--motion { top: 46%; left: -8%; width: clamp(86px, 24vw, 116px); opacity: .22; transform: rotate(-11deg); }
.intro-shogi-piece--sparkle { z-index: 0; right: 4%; bottom: 17%; width: clamp(72px, 20vw, 96px); transform: rotate(8deg); }
.intro-illustration { position: absolute; z-index: 1; right: 0; bottom: 0; left: 0; width: 100%; margin: 0; }
.intro-illustration img { width: 100%; height: auto; object-fit: contain; object-position: center bottom; }
.intro-section::after { content: "NARU"; position: absolute; z-index: 0; right: 0; bottom: 18px; color: rgba(135,206,235,.13); font-size: 70px; font-weight: 900; line-height: 1; letter-spacing: -.08em; }

/* 03 Support loop */
.support-section .section-inner { padding-top: clamp(35px, 6.2vh, 62px); }
.support-section .section-title { margin-top: 10px; }
.support-motto { margin-top: 12px; color: var(--teal-dark); font-size: 14px; font-weight: 700; line-height: 1.6; }
.support-section .support-motto + .lead-copy { margin-top: 5px; }
.support-section .lead-copy { margin-top: 12px; font-size: clamp(15px, 4.1vw, 19px); }
.support-diagram { position: relative; left: 50%; width: min(440px, calc(100% + 64px)); margin: clamp(8px, 1.5vh, 15px) 0 0; transform: translateX(-50%); }
.support-diagram img { width: 100%; filter: drop-shadow(0 8px 16px rgba(47,118,147,.08)); }
.support-close { margin-top: clamp(8px, 1.4vh, 16px); text-align: center; }

/* 04 Professional */
#professional { height: calc(100dvh - var(--header-height)); min-height: calc(100dvh - var(--header-height)); max-height: calc(100dvh - var(--header-height)); overflow-x: hidden; overflow-y: auto; overscroll-behavior-y: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; scroll-snap-stop: always; }
#professional::-webkit-scrollbar { display: none; }
#professional .pro-photo-wrap { height: 36%; }
#professional .pro-copy { height: auto; padding-top: 60px; overflow: visible; }
.pro-photo-wrap { position: relative; height: 40%; overflow: hidden; }
.pro-photo-wrap::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: clamp(36px, 10vw, 46px) clamp(40px, 11vw, 51px); }
.pro-photo-wrap img { height: 100%; object-fit: cover; object-position: center 45%; }
.section-inner.pro-copy { position: static; height: 60%; padding-top: 92px; }
.pro-copy .section-kicker { margin-left: 0; }
.pro-copy .section-title { position: absolute; z-index: 4; top: 18%; left: 50%; width: max-content; max-width: calc(100% - 24px); margin: 0; font-size: clamp(24px, 6.4vw, 30px); white-space: nowrap; transform: translate(-50%, -50%); }
.strength-list { display: block; margin-top: 0; padding: 0; border-top: 2px solid var(--teal); list-style: none; }
.strength-list li { display: grid; grid-template-columns: 40px 1fr; align-items: center; min-height: 46px; padding: 8px 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; }
.strength-list li:nth-child(2) { margin-left: 14px; }
.strength-list span { display: block; color: var(--teal-dark); font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.strength-list b { display: block; margin: 0; font-size: 16px; line-height: 1.4; letter-spacing: .05em; }
.pro-copy .body-copy { margin-top: 18px; font-size: 14px; line-height: 1.7; }

/* 05 Shogi */
#gold { height: auto; min-height: calc(100dvh - var(--header-height)); max-height: none; overflow: visible; scroll-snap-stop: always; }
#gold .gold-layout { height: auto; min-height: calc(100dvh - var(--header-height)); }
.gold-layout { display: flex; flex-direction: column; justify-content: center; }
.gold-layout .section-title { margin-top: 10px; }
.gold-layout .lead-copy { margin-top: 16px; font-size: clamp(16px, 4.4vw, 20px); }
.shogi-flow { display: flex; align-items: center; justify-content: center; gap: clamp(9px, 3vw, 17px); margin: clamp(23px, 4vh, 40px) 0 20px; }
.shogi-illustration { display: flex; flex-direction: column; align-items: center; width: clamp(94px, 26vw, 122px); margin: 0; }
.shogi-illustration img { width: 100%; filter: drop-shadow(0 8px 0 rgba(135,206,235,.2)); }
.shogi-illustration--gold img { filter: drop-shadow(0 8px 0 rgba(159,144,0,.16)); }
.shogi-illustration figcaption { margin-top: 4px; color: var(--teal-dark); font-size: 8px; font-weight: 900; line-height: 1; letter-spacing: .16em; }
.growth-arrow { color: var(--teal-dark); text-align: center; }
.growth-arrow span { display: block; font-size: 10px; font-weight: 700; writing-mode: vertical-rl; margin: auto; }
.growth-arrow b { display: block; margin-top: 6px; font-size: 28px; }
.gold-layout .body-copy { text-align: left; }
.note-copy { margin-top: 13px; padding-top: 11px; border-top: 1px solid var(--line); font-size: 11px; font-weight: 500; line-height: 1.65; }

/* 06 Work */
#work { height: calc(100dvh - var(--header-height)); min-height: calc(100dvh - var(--header-height)); max-height: calc(100dvh - var(--header-height)); overflow-x: hidden; overflow-y: auto; overscroll-behavior-y: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; scroll-snap-stop: always; }
#work::-webkit-scrollbar { display: none; }
#work .work-photo-wrap { height: 30%; }
#work .work-copy { height: auto; }
.work-photo-wrap { position: relative; height: 42%; overflow: hidden; background: #284b5a; }
.work-photo-wrap::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: clamp(36px, 10vw, 46px) clamp(40px, 11vw, 51px); }
.work-photo-wrap img { height: 100%; object-fit: cover; object-position: 54% center; }
.work-photo-copy { position: absolute; z-index: 2; left: 0; bottom: 0; padding: 12px var(--edge) 15px; color: #fff; background: rgba(29,73,91,.84); }
.work-photo-copy p { color: var(--yellow); font-size: 10px; font-weight: 900; letter-spacing: .2em; }
.work-photo-copy b { display: block; margin-top: 5px; font-size: clamp(21px, 6vw, 28px); line-height: 1.45; }
.work-copy { height: 58%; padding-top: 10px; }
.work-copy .section-title { margin-top: 18px; font-size: clamp(25px, 7.2vw, 34px); }
.work-intro { margin-top: 18px; font-size: 14px; font-weight: 700; line-height: 1.75; }
.work-task-list { display: grid; gap: 7px; margin-top: 13px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.work-task-list li { display: grid; grid-template-columns: 12px 1fr; align-items: start; font-size: 14px; font-weight: 700; line-height: 1.6; word-break: normal; overflow-wrap: anywhere; }
.work-task-list li::before { content: "\25A0"; padding-top: .42em; color: var(--teal); font-size: 7px; line-height: 1; }
.work-summary { margin-top: 16px; font-size: 14px; font-weight: 500; line-height: 1.8; }
.work-list { margin-top: 16px; border-top: 1px solid var(--line); }
.work-list > div { display: flex; align-items: center; min-height: 64px; border-bottom: 1px solid var(--line); }
.work-list > div > span { width: 38px; color: var(--teal); font-size: 12px; font-weight: 900; }
.work-list p { display: flex; flex-direction: column; }
.work-list b { font-size: 14px; line-height: 1.45; }
.work-list small { margin-top: 2px; font-size: 11px; line-height: 1.45; }
.proof-label { display: table; margin-top: 16px; padding: 7px 12px; color: var(--on-accent); background: var(--teal); font-size: 11px; font-weight: 700; }

/* 06 Requirements: a naturally scrolling, oversized snap section. */
#requirements { height: auto; min-height: calc(100dvh - var(--header-height)); max-height: none; overflow: visible; scroll-snap-stop: always; }
.requirements-layout { display: flex; flex-direction: column; justify-content: flex-start; height: auto; min-height: calc(100dvh - var(--header-height)); overflow: visible; }
.requirements-layout:focus-visible { outline: 2px solid rgba(135,206,235,.55); outline-offset: -2px; }
.requirements-layout .section-kicker { flex: 0 0 auto; margin: 0; }
.requirements-layout .section-title { position: relative; top: auto; left: auto; flex: 0 0 auto; margin: 10px 0 18px; transform: none; }
.requirements-layout .info-list { flex: 0 0 auto; width: 100%; margin-bottom: 24px; }
.info-list { border-top: 2px solid var(--teal); }
.info-list > div { display: grid; grid-template-columns: 88px 1fr; align-items: center; min-height: 61px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.requirements-layout .info-list > div { grid-template-columns: 88px 1fr; align-items: start; min-height: 0; padding: 14px 0; }
.requirements-layout .info-list > .info-list__wide { grid-template-columns: 1fr; gap: 7px; }
.info-list dt { color: var(--teal-dark); font-size: 12px; font-weight: 900; }
.info-list dd { font-size: 14px; font-weight: 700; line-height: 1.55; }
.info-list dd small { display: block; font-size: 11px; font-weight: 500; }
.info-emphasis dd { color: var(--teal-dark); }
.requirement-detail-list { display: grid; gap: 4px; }
.requirement-detail-list li { display: grid; grid-template-columns: 12px 1fr; align-items: start; word-break: normal; overflow-wrap: anywhere; }
.requirement-detail-list li::before { content: "■"; padding-top: .32em; color: var(--teal); font-size: 7px; line-height: 1; }

/* 09 Company */
.company-layout { display: flex; flex-direction: column; justify-content: center; transform: translateY(clamp(-72px, -7vh, -42px)); }
.company-layout .section-kicker { margin: 0; }
.company-layout .section-title { position: relative; top: auto; left: auto; margin: 10px 0 18px; transform: none; }
.company-layout .company-list { width: 100%; }
.company-layout .company-list > div { grid-template-columns: 88px 1fr; align-items: center; min-height: 64px; padding: 10px 0; }
.company-list a { text-decoration: underline; text-underline-offset: 4px; }
.company-illustration { position: absolute; z-index: 1; bottom: 0; left: 50%; width: 132%; margin: 0; transform: translateX(-50%); }
.company-illustration img { width: 100%; height: auto; object-fit: contain; object-position: center bottom; }

/* 10 Entry */
.entry-section { color: #fff; background: #075f8e; }
.entry-poster { position: relative; width: 100%; height: 100%; margin: 0; }
.entry-poster::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: clamp(36px, 10vw, 46px) clamp(40px, 11vw, 51px); }
.entry-poster img { width: 100%; height: 100%; object-fit: contain; object-position: center; }

/* 11 Contact */
.contact-layout { display: flex; flex-direction: column; justify-content: flex-start; padding-top: clamp(34px, 5vh, 50px); padding-bottom: clamp(34px, 5vh, 50px); overflow-x: hidden; overflow-y: auto; overscroll-behavior-y: auto; -webkit-overflow-scrolling: touch; scrollbar-color: var(--teal) transparent; scrollbar-width: thin; }
.contact-layout::-webkit-scrollbar { width: 5px; }
.contact-layout::-webkit-scrollbar-thumb { border-radius: 999px; background: var(--teal); }
.contact-layout .section-title { margin-top: 10px; font-size: clamp(27px, 7.8vw, 37px); }
.contact-lead { margin-top: 12px; font-size: 14px; font-weight: 700; line-height: 1.7; }
.contact-form { margin-top: 18px; padding-top: 4px; border-top: 2px solid var(--teal); }
.contact-field { padding-top: 12px; }
.contact-field label { display: flex; align-items: center; gap: 7px; margin-bottom: 6px; color: var(--teal-dark); font-size: 13px; font-weight: 900; line-height: 1.35; }
.contact-field label span { padding: 2px 5px; color: var(--on-accent); background: var(--teal); font-size: 9px; font-weight: 900; line-height: 1.3; }
.contact-field input,
.contact-field textarea { display: block; width: 100%; border: 1px solid var(--line); border-radius: 0; outline: 0; color: var(--ink); background: #fff; font: inherit; font-size: 14px; font-weight: 500; transition: border-color .2s ease, box-shadow .2s ease; }
.contact-field input { height: 44px; padding: 9px 12px; }
.contact-field textarea { height: 76px; padding: 10px 12px; line-height: 1.6; resize: none; }
.contact-field input::placeholder,
.contact-field textarea::placeholder { color: #aaa; opacity: 1; }
.contact-field input:focus,
.contact-field textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(135, 206, 235, .2); }
.contact-submit { display: block; width: 100%; min-height: 67.2px; margin-top: 18px; border: 4px solid var(--yellow); border-radius: 0; color: var(--on-accent); background: var(--teal); box-shadow: 0 6px 0 rgba(47,118,147,.18); font-family: inherit; font-size: 15px; font-weight: 900; letter-spacing: .1em; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.contact-submit:hover,
.contact-submit:focus-visible { transform: translateY(-2px); box-shadow: 0 8px 0 rgba(47,118,147,.22); }

/* PC side rails: use only the space outside the unchanged 480px site. */
.desktop-rail { display: none; }

@media (min-width: 769px) {
  body {
    background-color: #eaf7fc;
    background-image: url("images/backgrounds/desktop-electrical-pattern.svg");
    background-repeat: repeat;
    background-position: center top;
    background-size: 1600px 1000px;
  }

  .desktop-rail {
    position: fixed;
    z-index: 40;
    top: 50%;
    display: flex;
    transform: translate(-50%, -50%);
  }

  .desktop-rail--left {
    left: calc((100vw - var(--site-width)) / 4);
    align-items: center;
    justify-content: center;
  }

  .desktop-brand {
    display: block;
    width: clamp(100px, calc((100vw - var(--site-width)) / 2 - 40px), 150px);
    color: var(--ink);
    line-height: 1;
  }

  .desktop-brand span {
    display: block;
    white-space: nowrap;
    font-size: clamp(17px, 1.45vw, 23px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: .04em;
  }

  .desktop-rail--right {
    left: calc(100vw - (100vw - var(--site-width)) / 4);
    flex-direction: column;
    gap: 18px;
  }

  .desktop-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: clamp(112px, calc((100vw - var(--site-width)) / 2 - 32px), 180px);
    min-height: 72px;
    padding: 12px 10px;
    border: 3px solid var(--yellow);
    box-shadow: 0 7px 0 rgba(47, 118, 147, .16);
    font-weight: 900;
    text-align: center;
    transition: transform .2s ease, box-shadow .2s ease;
  }

  .desktop-cta small {
    font-size: 8px;
    line-height: 1;
    letter-spacing: .16em;
  }

  .desktop-cta span {
    margin-top: 7px;
    font-size: clamp(14px, 1.25vw, 18px);
    line-height: 1.2;
    letter-spacing: .04em;
  }

  .desktop-cta--requirements {
    border-color: var(--teal);
    color: var(--teal-dark);
    background: #fff;
  }

  .desktop-cta--entry {
    color: var(--on-accent);
    background: var(--teal);
  }

  .desktop-cta:hover,
  .desktop-cta:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 9px 0 rgba(47, 118, 147, .19);
  }

  .desktop-brand:focus-visible,
  .desktop-cta:focus-visible {
    outline: 3px solid rgba(135, 206, 235, .55);
    outline-offset: 5px;
  }
}

@media (max-height: 700px) {
  .section-inner { padding-top: 24px; padding-bottom: 25px; }
  .section-number { top: 12px; font-size: 62px; }
  .section-title { font-size: 27px; }
  .section-title--large { font-size: clamp(28px, 8.2vw, 33px); }
  .support-section .section-inner { padding-top: 16px; }
  .support-section .section-title { margin-top: 6px; }
  .support-section .lead-copy { margin-top: 8px; line-height: 1.55; }
  .support-diagram { margin-top: 2px; }
  .support-close { margin-top: 2px; font-size: 14px; }
  .pro-photo-wrap { height: 38%; }
  .section-inner.pro-copy { height: 62%; padding-top: 66px; }
  .pro-copy .body-copy { font-size: 14px; line-height: 1.55; }
  .shogi-flow { margin: 17px 0 14px; }
  .shogi-illustration { width: 91px; }
  .note-copy { font-size: 10px; }
  .work-photo-wrap { height: 34%; }
  .section-inner.work-copy { height: 66%; padding-top: 16px; }
  .work-list > div { min-height: 54px; }
  .info-list > div { min-height: 52px; }
  .company-layout { justify-content: flex-start; transform: none; }
  .contact-layout { padding-top: 28px; padding-bottom: 30px; }
  .contact-layout .section-title { font-size: clamp(25px, 7.2vw, 27px); }
}

@media (max-width: 350px) {
  :root { --edge: 20px; }
  .hero-copy h1 { font-size: 25.5px; }
  .strength-list b { font-size: 14px; }
  .work-copy .section-title { font-size: 24px; }
  .info-list > div { grid-template-columns: 76px 1fr; }
}

@media (max-width: 768px) {
  #professional,
  #gold,
  #work {
    height: calc(100dvh - var(--header-height));
    min-height: calc(100dvh - var(--header-height));
    max-height: calc(100dvh - var(--header-height));
    overflow: clip;
  }

  #professional,
  #work {
    padding-top: 12px;
  }

  #professional .pro-photo-wrap {
    height: 30%;
  }

  #professional .pro-copy {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 70%;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .pro-copy .section-title {
    top: calc(12px + 15%);
  }

  .strength-list {
    margin-top: 5px;
  }

  .strength-list li {
    min-height: 38px;
    padding: 4px 0;
  }

  .pro-copy .body-copy {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.48;
  }

  #gold .gold-layout {
    height: 100%;
    min-height: 0;
    justify-content: space-between;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .gold-layout .section-title {
    margin-top: 5px;
    padding-top: 5px;
    padding-bottom: 6px;
    font-size: 22px;
    white-space: nowrap;
  }

  .gold-layout .lead-copy {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.48;
  }

  .shogi-flow {
    gap: 8px;
    margin: 9px 0 8px;
  }

  .shogi-illustration {
    width: clamp(88px, 28vw, 108px);
  }

  .growth-arrow b {
    margin-top: 3px;
    font-size: 22px;
  }

  .gold-layout .body-copy {
    font-size: 13px;
    line-height: 1.48;
  }

  .note-copy {
    margin-top: 6px;
    padding-top: 6px;
    font-size: 13px;
    line-height: 1.45;
  }

  #work .work-photo-wrap {
    height: 24%;
  }

  #work .work-copy {
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    gap: clamp(8px, 1.8vh, 12px);
    height: 76%;
    padding-top: 12px;
    padding-bottom: 14px;
  }

  .work-copy .section-title {
    margin-top: 6px;
    padding-top: 6px;
    padding-bottom: 7px;
    font-size: 22px;
  }

  .work-intro {
    margin-top: 0;
    font-size: 13px;
    line-height: 1.5;
  }

  .work-task-list {
    align-content: space-evenly;
    gap: 0;
    height: 100%;
    margin-top: 0;
    padding: 9px 0;
  }

  .work-task-list li {
    font-size: 13px;
    line-height: 1.45;
  }

  .work-summary {
    margin-top: 0;
    font-size: 13px;
    line-height: 1.55;
  }

  .support-section .section-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: max(24px, env(safe-area-inset-top));
    padding-bottom: max(24px, env(safe-area-inset-bottom));
  }

  .site-header__button:not(.site-header__button--requirements) {
    flex: 0 0 auto;
    width: fit-content;
    padding-inline: 10px;
    white-space: nowrap;
  }

  .video-scroll-guide,
  .section-kicker,
  .site-header__brand span,
  .site-header__button,
  .scroll-guide,
  .strength-list span,
  .shogi-illustration figcaption,
  .growth-arrow span,
  .note-copy,
  .work-photo-copy p,
  .work-list > div > span,
  .work-list small,
  .proof-label,
  .info-list dt,
  .info-list dd small,
  .contact-field label span {
    font-size: 13px;
  }
}

/* Section entrance motion: visual-only; scrolling remains native CSS scroll-snap. */
.motion-ready .swipe-section :is(
  .section-number,
  .section-kicker,
  .section-title,
  .lead-copy,
  .body-copy,
  .support-motto,
  .work-intro,
  .work-summary,
  .contact-lead
) {
  opacity: 0;
  translate: 0 24px;
  filter: blur(5px);
  transition:
    opacity .72s cubic-bezier(.22, 1, .36, 1),
    translate .82s cubic-bezier(.22, 1, .36, 1),
    filter .72s ease;
  transition-delay: var(--motion-delay, 0s);
}

.motion-ready .swipe-section .section-number { --motion-delay: .03s; translate: 20px -8px; }
.motion-ready .swipe-section .section-kicker { --motion-delay: .08s; }
.motion-ready .swipe-section .section-title { --motion-delay: .14s; clip-path: inset(0 100% 0 0); }
.motion-ready .swipe-section .lead-copy,
.motion-ready .swipe-section .support-motto,
.motion-ready .swipe-section .work-intro,
.motion-ready .swipe-section .contact-lead { --motion-delay: .24s; }
.motion-ready .swipe-section .body-copy,
.motion-ready .swipe-section .work-summary { --motion-delay: .36s; }

.motion-ready .swipe-section.is-motion-active :is(
  .section-number,
  .section-kicker,
  .section-title,
  .lead-copy,
  .body-copy,
  .support-motto,
  .work-intro,
  .work-summary,
  .contact-lead
) {
  opacity: 1;
  translate: 0 0;
  filter: blur(0);
}

.motion-ready .swipe-section.is-motion-active .section-title { clip-path: inset(0 0 0 0); }

.motion-ready .hero-copy > *,
.motion-ready .work-photo-copy > * {
  opacity: 0;
  translate: 0 28px;
  filter: blur(5px);
  transition:
    opacity .76s cubic-bezier(.22, 1, .36, 1),
    translate .86s cubic-bezier(.22, 1, .36, 1),
    filter .76s ease;
}

.motion-ready .hero-copy > :nth-child(1),
.motion-ready .work-photo-copy > :nth-child(1) { transition-delay: .1s; }
.motion-ready .hero-copy > :nth-child(2),
.motion-ready .work-photo-copy > :nth-child(2) { transition-delay: .2s; }
.motion-ready .hero-copy > :nth-child(3) { transition-delay: .34s; }
.motion-ready .is-motion-active .hero-copy > *,
.motion-ready .is-motion-active .work-photo-copy > * { opacity: 1; translate: 0 0; filter: blur(0); }

.motion-ready :is(.hero-photo, .pro-photo-wrap img, .work-photo-wrap > img) {
  scale: 1.1;
  filter: saturate(.78) brightness(.92);
  transition:
    scale 1.45s cubic-bezier(.22, 1, .36, 1),
    filter 1.2s ease;
}

.motion-ready .is-motion-active :is(.hero-photo, .pro-photo-wrap img, .work-photo-wrap > img) {
  scale: 1;
  filter: saturate(1) brightness(1);
}

.motion-ready :is(
  .intro-illustration,
  .support-diagram,
  .shogi-flow,
  .company-illustration,
  .entry-poster
) {
  opacity: 0;
  translate: 0 34px;
  scale: .9;
  filter: blur(7px);
  transition:
    opacity .85s cubic-bezier(.22, 1, .36, 1),
    translate 1s cubic-bezier(.22, 1, .36, 1),
    scale 1s cubic-bezier(.22, 1, .36, 1),
    filter .85s ease;
  transition-delay: .28s;
}

.motion-ready .is-motion-active :is(
  .intro-illustration,
  .support-diagram,
  .shogi-flow,
  .company-illustration,
  .entry-poster
) {
  opacity: 1;
  translate: 0 0;
  scale: 1;
  filter: blur(0);
}

.motion-ready .intro-shogi-piece {
  scale: .5;
  translate: 0 24px;
  opacity: 0;
  transition:
    opacity .7s ease,
    translate .9s cubic-bezier(.22, 1, .36, 1),
    scale .9s cubic-bezier(.22, 1, .36, 1);
}

.motion-ready .is-motion-active .intro-shogi-piece { scale: 1; translate: 0 0; opacity: .74; }
.motion-ready .is-motion-active .intro-shogi-piece--motion { opacity: .22; }
.motion-ready .is-motion-active .intro-shogi-piece--pawn { transition-delay: .38s; animation: motion-float 4.8s ease-in-out 1.3s infinite alternate; }
.motion-ready .is-motion-active .intro-shogi-piece--motion { transition-delay: .48s; animation: motion-float 5.6s ease-in-out 1.4s infinite alternate-reverse; }
.motion-ready .is-motion-active .intro-shogi-piece--sparkle { transition-delay: .58s; animation: motion-glow 3.2s ease-in-out 1.5s infinite alternate; }

.motion-ready :is(
  .strength-list li,
  .work-task-list li,
  .info-list > div,
  .contact-field,
  .contact-submit
) {
  opacity: 0;
  translate: 26px 0;
  transition:
    opacity .62s cubic-bezier(.22, 1, .36, 1),
    translate .72s cubic-bezier(.22, 1, .36, 1);
  transition-delay: calc(.2s + var(--item-index, 0) * .07s);
}

.motion-ready :is(.strength-list, .work-task-list, .info-list, .contact-form) > :nth-child(1) { --item-index: 1; }
.motion-ready :is(.strength-list, .work-task-list, .info-list, .contact-form) > :nth-child(2) { --item-index: 2; }
.motion-ready :is(.strength-list, .work-task-list, .info-list, .contact-form) > :nth-child(3) { --item-index: 3; }
.motion-ready :is(.strength-list, .work-task-list, .info-list, .contact-form) > :nth-child(4) { --item-index: 4; }
.motion-ready :is(.strength-list, .work-task-list, .info-list, .contact-form) > :nth-child(5) { --item-index: 5; }
.motion-ready :is(.strength-list, .work-task-list, .info-list, .contact-form) > :nth-child(6) { --item-index: 6; }
.motion-ready :is(.strength-list, .work-task-list, .info-list, .contact-form) > :nth-child(7) { --item-index: 7; }
.motion-ready :is(.strength-list, .work-task-list, .info-list, .contact-form) > :nth-child(8) { --item-index: 8; }
.motion-ready :is(.strength-list, .work-task-list, .info-list, .contact-form) > :nth-child(9) { --item-index: 9; }

.motion-ready .is-motion-active :is(
  .strength-list li,
  .work-task-list li,
  .info-list > div,
  .contact-field,
  .contact-submit
) { opacity: 1; translate: 0 0; }

.motion-ready .marker {
  background-size: 0 100%;
  background-repeat: no-repeat;
  transition: background-size .8s cubic-bezier(.22, 1, .36, 1) .48s;
}

.motion-ready .is-motion-active .marker { background-size: 100% 100%; }

.motion-ready .shogi-illustration--gold img { animation: motion-gold-glow 2.8s ease-in-out 1.2s infinite alternate; }

@keyframes motion-float {
  from { translate: 0 0; }
  to { translate: 0 -9px; }
}

@keyframes motion-glow {
  from { filter: drop-shadow(0 8px 12px rgba(47,118,147,.12)); }
  to { filter: drop-shadow(0 10px 20px rgba(255,205,44,.34)); }
}

@keyframes motion-gold-glow {
  from { filter: drop-shadow(0 8px 0 rgba(159,144,0,.16)); }
  to { filter: drop-shadow(0 10px 15px rgba(255,205,44,.42)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .motion-ready .swipe-section *,
  .motion-ready .swipe-section *::before,
  .motion-ready .swipe-section *::after {
    animation: none !important;
    transition: none !important;
  }
  .motion-ready .swipe-section :is(
    .section-number,
    .section-kicker,
    .section-title,
    .lead-copy,
    .body-copy,
    .support-motto,
    .work-intro,
    .work-summary,
    .contact-lead,
    .hero-copy > *,
    .work-photo-copy > *,
    .intro-illustration,
    .support-diagram,
    .shogi-flow,
    .company-illustration,
    .entry-poster,
    .intro-shogi-piece,
    .strength-list li,
    .work-task-list li,
    .info-list > div,
    .contact-field,
    .contact-submit
  ) {
    opacity: 1 !important;
    translate: none !important;
    scale: 1 !important;
    filter: none !important;
    clip-path: none !important;
  }
  .motion-ready .marker { background-size: 100% 100%; }
  .scroll-guide span,
  .video-scroll-guide i { animation: none; }
  .site-header { transition: none; }
}
