:root {
  --red: #d71518;
  --green: #159243;
  --blue: #103281;
  --navy: #07162f;
  --ink: #101217;
  --paper: #f2f1ed;
  --line: rgba(16, 18, 23, .2);
  --sans: "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --serif: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --condensed: "Oswald", "Arial Narrow", "Helvetica Neue Condensed", sans-serif;
  --ease-story: cubic-bezier(.22, .75, .16, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

p, h1, h2, h3, blockquote, dl, dd, ol, ul {
  margin: 0;
}

h1, h2, h3, blockquote {
  text-wrap: balance;
  line-break: strict;
}

img {
  max-width: 100%;
}

button, a {
  -webkit-tap-highlight-color: transparent;
}

[data-reveal] {
  opacity: 1;
  transform: none;
}

.motion-ready [data-reveal] {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity 0.9s var(--ease-story), transform 0.9s var(--ease-story);
}

.motion-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.hub-logo, .pattern-brand {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  font-size: 9px;
  line-height: 1.25;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.brand-mark {
  display: block;
  width: 120px;
  height: auto;
  flex: 0 0 auto;
}

.pattern-brand.light {
  color: #fff;
}

.pattern-header {
  height: 88px;
  padding: 0 3.2vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pattern-switcher {
  display: flex;
  gap: 24px;
  align-items: center;
}

.pattern-switcher-list {
  display: contents;
}

.pattern-switcher-toggle {
  display: none;
}

.pattern-switcher a {
  display: flex;
  gap: 5px;
  align-items: baseline;
  font-size: 10px;
  letter-spacing: 0.1em;
  opacity: 0.4;
  transition: opacity 0.2s, transform 0.2s;
}

.pattern-switcher a:hover, .pattern-switcher a.active {
  opacity: 1;
  transform: translateY(-2px);
}

.pattern-switcher span {
  font-size: 8px;
}

.pattern-switcher.light {
  color: #fff;
}

.header-entry {
  background: var(--red);
  color: #fff;
  padding: 14px 17px;
  display: flex;
  gap: 28px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.header-entry.outline {
  color: var(--green);
  border: 1px solid var(--green);
  background: transparent;
}

.header-entry.text {
  padding: 8px 0;
  color: var(--ink);
  background: transparent;
  border-bottom: 2px solid;
}

.header-entry.dark {
  border: 1px solid #fff;
  background: transparent;
}

.pattern-footer {
  min-height: 130px;
  padding: 38px 4vw;
  background: #08090b;
  color: #fff;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  font-size: 9px;
  letter-spacing: 0.14em;
}

.pattern-footer-links {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 22px;
}

.rgb-line {
  display: flex;
  width: 230px;
  height: 6px;
}

.rgb-line i {
  flex: 1;
}

.rgb-line i:nth-child(1) {
  background: var(--blue);
}

.rgb-line i:nth-child(2) {
  background: var(--green);
}

.rgb-line i:nth-child(3) {
  background: var(--red);
}

.vertical-note {
  position: absolute;
  left: 27px;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-90deg);
  white-space: nowrap;
  font-size: 8px;
  letter-spacing: 0.2em;
}

.vertical-note.right {
  left: auto;
  right: -104px;
}

.section-intro > p {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.section-intro > h2 {
  margin-top: 24px;
  font-size: clamp(45px, 6vw, 82px);
  line-height: 1.15;
  letter-spacing: -0.055em;
}

/* People-in-Motion hub */
.motion-hub {
  background: #f2f2f0;
  overflow: hidden;
}

.hub-header {
  position: absolute;
  z-index: 20;
  left: 0;
  right: 0;
  top: 0;
  height: 86px;
  padding: 0 2.8vw;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.62);
  color: #fff;
}

.hub-header nav {
  display: flex;
  gap: 35px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.hub-entry {
  justify-self: end;
  background: var(--red);
  padding: 14px 18px;
  display: flex;
  gap: 35px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.hub-hero {
  height: max(840px, 100svh);
  min-height: 840px;
  position: relative;
  overflow: hidden;
  background: #c9cbca;
}

.motion-strip {
  position: absolute;
  inset: 0 0 135px;
  display: grid;
  grid-template-columns: 1.15fr 0.9fr 1fr 1.08fr;
  transform: scale(1.07) skewX(-9deg);
  transform-origin: center;
}

.motion-shot {
  overflow: hidden;
  border-right: 5px solid rgba(255, 255, 255, 0.92);
}

.motion-shot > div {
  position: absolute;
  top: -8%;
  bottom: -8%;
  width: 35vw;
  background-image: var(--bg-pc);
  background-position: center;
  background-size: cover;
  transform: skewX(9deg) scale(1.08);
  filter: saturate(0.78) contrast(1.06);
  animation: hub-drift 14s ease-in-out infinite alternate;
}

.motion-shot:nth-child(2) > div {
  margin-left: -7vw;
  animation-delay: -4s;
}

.motion-shot:nth-child(3) > div {
  margin-left: -13vw;
  animation-delay: -7s;
}

.motion-shot:nth-child(4) > div {
  margin-left: -19vw;
  animation-delay: -10s;
}

.motion-shot.blue::after, .motion-shot.green::after, .motion-shot.red::after, .motion-shot.dark::after {
  content: "";
  position: absolute;
  inset: 0;
  mix-blend-mode: color;
  opacity: 0.18;
  pointer-events: none;
}

.motion-shot.blue::after {
  background: var(--blue);
}

.motion-shot.green::after {
  background: var(--green);
}

.motion-shot.red::after {
  background: var(--red);
}

.motion-shot.dark::after {
  background: #111;
  opacity: 0.25;
}

@keyframes hub-drift {
  from {
    translate: -1.4% 0;
  }
  to {
    translate: 1.4% 0;
  }
}

.hub-hero::after {
  content: "";
  position: absolute;
  inset: 0 0 135px;
  background: linear-gradient(180deg, rgba(3, 12, 30, 0.58), transparent 35%, rgba(0, 0, 0, 0.22));
  pointer-events: none;
}

.hub-hero-copy {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 47%;
  transform: translate(-50%, -50%);
  width: min(900px, 76vw);
  padding: 28px 54px 34px;
  background: rgba(255, 255, 255, 0.96);
  clip-path: polygon(6% 0, 96% 0, 100% 22%, 95% 100%, 3% 100%, 0 74%);
}

.hub-hero-copy > p {
  color: var(--blue);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-align: center;
}

.hub-hero-copy h1 {
  margin: 12px 0 20px;
  font-size: clamp(48px, 5.2vw, 76px);
  line-height: 1.08;
  letter-spacing: -0.065em;
  text-align: center;
}

.hub-hero-copy h1 span {
  display: block;
  white-space: nowrap;
}

.hub-subline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 25px;
  border-top: 1px solid #111;
  padding-top: 17px;
}

.hub-subline > span {
  text-align: right;
  font-size: 14px;
  font-weight: 700;
}

.hub-subline a {
  background: var(--red);
  color: #fff;
  display: flex;
  justify-content: space-between;
  padding: 16px 20px;
  font-weight: 800;
  font-size: 12px;
}

.hub-facts {
  position: absolute;
  z-index: 5;
  left: 3vw;
  bottom: 159px;
  display: flex;
  gap: 35px;
  color: #fff;
}

.hub-facts > div {
  min-width: 100px;
  border-left: 2px solid currentColor;
  padding-left: 12px;
}

.hub-facts dt {
  font-size: 8px;
  letter-spacing: 0.15em;
}

.hub-facts dd {
  font-family: var(--condensed);
  font-size: 49px;
  font-weight: 800;
  line-height: 1;
}

.hub-facts small {
  font-size: 0.48em;
}

.hub-index {
  position: absolute;
  z-index: 6;
  left: 0;
  right: 0;
  bottom: 0;
  height: 135px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(255, 255, 255, 0.95);
  border-top: 3px solid #fff;
}

.hub-index a {
  padding: 18px 28px;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: 1fr auto;
  column-gap: 15px;
  border-right: 1px solid #aaa;
  transition: color 0.35s, background 0.35s, transform 0.35s;
}

.hub-index a:hover {
  color: #fff;
  transform: translateY(-12px);
}

.hub-index a.blue:hover {
  background: var(--blue);
}

.hub-index a.green:hover {
  background: var(--green);
}

.hub-index a.red:hover {
  background: var(--red);
}

.hub-index a.dark:hover {
  background: #111;
}

.hub-index span {
  grid-row: 1/-1;
  font-family: var(--condensed);
  font-size: 54px;
  font-weight: 800;
  color: var(--blue);
}

.hub-index a:hover span {
  color: #fff;
}

.hub-index b {
  align-self: end;
  font-family: var(--condensed);
  font-size: 25px;
}

.hub-index small {
  font-size: 9px;
  letter-spacing: 0.08em;
}

.hub-about {
  padding: 100px 6vw 92px;
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 6vw;
  position: relative;
}

.hub-about::before {
  content: "PEEES";
  position: absolute;
  right: -2vw;
  top: -5vw;
  font-family: var(--condensed);
  font-weight: 800;
  font-size: 25vw;
  color: rgba(16, 50, 129, 0.035);
  pointer-events: none;
}

.hub-about-title > p {
  color: var(--blue);
  font-size: 9px;
  letter-spacing: 0.2em;
  font-weight: 800;
}

.hub-about-title h2 {
  margin-top: 22px;
  max-width: 760px;
  font-size: clamp(46px, 5.3vw, 78px);
  line-height: 1.12;
  letter-spacing: -0.06em;
}

.hub-about-copy {
  max-width: 680px;
  align-self: end;
}

.hub-about-copy > p {
  font-size: 15px;
  line-height: 2.05;
  margin-top: 24px;
}

.hub-three-e {
  grid-column: 1/-1;
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #aaa;
  border-left: 1px solid #aaa;
  position: relative;
}

.hub-three-e > div {
  min-height: 180px;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: 1fr auto;
  gap: 12px 18px;
  align-items: end;
  padding: 25px;
  border-right: 1px solid #aaa;
  border-bottom: 1px solid #aaa;
}

.hub-three-e b {
  grid-row: 1/-1;
  font-family: var(--condensed);
  color: var(--blue);
  font-size: 92px;
  line-height: 0.86;
}

.hub-three-e > div:nth-child(2) b {
  color: var(--green);
}

.hub-three-e > div:nth-child(3) b {
  color: var(--red);
}

.hub-three-e span {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hub-three-e small {
  font-size: 10px;
}

.hub-patterns {
  padding: 0 4vw 120px;
}

.section-line {
  display: flex;
  justify-content: space-between;
  padding: 18px 0;
  border-top: 2px solid #111;
  font-size: 9px;
  letter-spacing: 0.18em;
}

.hub-pattern-row {
  min-height: 250px;
  display: grid;
  grid-template-columns: 25% 80px 1fr 1fr 60px;
  align-items: center;
  gap: 2.5vw;
  border-top: 1px solid #aaa;
  overflow: hidden;
  transition: color 0.35s, background 0.35s;
}

.hub-pattern-row:last-child {
  border-bottom: 1px solid #aaa;
}

.hub-pattern-image {
  height: 210px;
  filter: grayscale(0.25);
  transition: transform 0.7s var(--ease-story), filter 0.35s;
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
  overflow: hidden;
}

.hub-pattern-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hub-pattern-row:hover .hub-pattern-image {
  transform: scale(1.06);
  filter: grayscale(0);
}

.hub-pattern-no {
  font-family: var(--condensed);
  font-weight: 800;
  font-size: 66px;
  color: var(--blue);
}

.hub-pattern-row > div:nth-of-type(2) p {
  font-size: 9px;
  letter-spacing: 0.13em;
}

.hub-pattern-row > div:nth-of-type(2) h2 {
  font-family: var(--condensed);
  font-size: clamp(44px, 5vw, 76px);
}

.hub-pattern-copy h3 {
  font-size: 22px;
  margin-bottom: 13px;
}

.hub-pattern-copy p {
  max-width: 410px;
  font-size: 13px;
  line-height: 1.8;
}

.hub-pattern-arrow {
  justify-self: end;
  font-size: 32px;
}

.hub-pattern-row:hover {
  color: #fff;
}

.hub-pattern-row.blue:hover {
  background: var(--blue);
}

.hub-pattern-row.green:hover {
  background: var(--green);
}

.hub-pattern-row.red:hover {
  background: var(--red);
}

.hub-pattern-row.dark:hover {
  background: #111;
}

.hub-pattern-row.cream:hover {
  background: #a66f45;
}

.hub-pattern-row.sun:hover {
  background: #df6f88;
}

.hub-pattern-row:hover .hub-pattern-no {
  color: #fff;
}

.hub-footer {
  background: var(--navy);
  color: #fff;
  padding: 45px 4vw;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  font-size: 9px;
  letter-spacing: 0.13em;
}

.hub-footer > a {
  text-align: right;
}

@keyframes marker-line {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes log-write {
  from {
    opacity: 0;
    transform: translateX(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.quick-facts {
  background: #0d111a;
  color: #fff;
  padding: 32px 5vw;
  display: grid;
  grid-template-columns: 155px 1fr auto;
  gap: 3vw;
  align-items: center;
}

.quick-facts > p {
  color: #8e9ab0;
  font-size: 8px;
  letter-spacing: 0.17em;
}

.quick-facts dl {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.quick-facts dl > div {
  padding: 0 17px;
  border-left: 1px solid #3d4350;
}

.quick-facts dt {
  color: #7f899a;
  font-size: 8px;
  letter-spacing: 0.13em;
  margin-bottom: 6px;
}

.quick-facts dd {
  font-size: 13px;
  font-weight: 700;
}

.quick-facts > a {
  color: #fff;
  background: var(--red);
  padding: 15px 18px;
  display: flex;
  gap: 35px;
  font-size: 10px;
  font-weight: 800;
}

.entry-actions {
  display: flex;
  gap: 22px;
  align-items: center;
}

.entry-actions a:first-child {
  width: min(370px, 100%);
  display: flex;
  justify-content: space-between;
  padding: 20px 22px;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.entry-actions a:last-child {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.question-tags {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.question-tags span {
  border: 1px solid #8aa494;
  padding: 12px 17px;
  font-size: 11px;
  background: #fff;
}

@keyframes dash {
  to {
    stroke-dashoffset: -170;
  }
}

.team-rail {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1.1fr;
  gap: 12px;
  align-items: stretch;
}

.team-rail article {
  min-height: 135px;
  border: 1px solid #8ba393;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fff;
}

.team-rail article.answer {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.team-rail b {
  font-family: var(--condensed);
  font-size: 25px;
}

.team-rail span {
  font-size: 11px;
}

.team-rail i {
  display: grid;
  place-items: center;
  color: var(--green);
  font-style: normal;
  font-size: 26px;
}

.meaning-line {
  display: block;
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
}

@keyframes bars-up {
  from {
    scale: 1 0;
  }
  to {
    scale: 1 1;
  }
}

/* The LP is a design showcase: its final action stays inside the six-pattern set. */
.showcase-outro-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.showcase-next {
  width: min(390px, 100%);
  min-height: 76px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4px 20px;
  padding: 15px 20px;
  color: #fff;
  background: var(--red);
  border: 1px solid transparent;
  transition: transform 0.3s var(--ease-story), box-shadow 0.3s ease;
}

.showcase-next small {
  grid-column: 1;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.2em;
  opacity: 0.72;
}

.showcase-next span {
  grid-column: 1;
  font-family: var(--condensed);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.showcase-next b {
  grid-column: 2;
  grid-row: 1/3;
  font-size: 20px;
}

.showcase-next:hover,
.showcase-next:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
  outline: none;
}

.showcase-index {
  padding: 12px 0;
  border-bottom: 1px solid currentColor;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

/* Role-specific sample job information shared by all four directions */
.job-info-section {
  padding: 78px 7vw;
  display: grid;
  grid-template-columns: minmax(250px, 0.75fr) minmax(420px, 1.25fr);
  gap: 4vw 6vw;
  background: #fff;
  color: var(--ink);
  border-top: 1px solid rgba(16, 18, 23, 0.18);
}

.job-info-heading > p {
  color: var(--red);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.job-info-heading h2 {
  margin: 16px 0 12px;
  font-size: clamp(38px, 4.2vw, 58px);
  line-height: 1.12;
  letter-spacing: -0.05em;
}

.job-info-heading small {
  display: block;
  max-width: 390px;
  color: #666;
  font-size: 11px;
  line-height: 1.8;
}

.job-info-list {
  border-top: 2px solid currentColor;
}

.job-info-list > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(16, 18, 23, 0.23);
}

.job-info-list dt {
  color: #6c7179;
  font-size: 10px;
  font-weight: 800;
}

.job-info-list dd {
  font-size: 13px;
  font-weight: 700;
}

.job-info-actions {
  grid-column: 2;
  display: flex;
  align-items: center;
  gap: 24px;
}

.job-info-actions a:first-child {
  width: min(340px, 100%);
  padding: 17px 20px;
  display: flex;
  justify-content: space-between;
  color: #fff;
  background: var(--red);
  font-size: 11px;
  font-weight: 800;
}

.job-info-actions a:last-child {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hire-detail {
  --hire-surface: #f1f3f6;
  --hire-border: rgba(16,18,23,.2);
  padding: 76px 7vw;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--hire-border);
}

.hire-detail article {
  min-width: 0;
  padding: 38px;
  background: var(--hire-surface);
  color: var(--ink);
}

.hire-detail article > p {
  color: var(--blue);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.hire-detail h3 {
  margin: 15px 0 26px;
  font-size: clamp(30px, 3.1vw, 46px);
  letter-spacing: -0.04em;
}

.hire-detail ol {
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--hire-border);
}

.hire-detail li {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 18px;
  padding: 17px 0;
  border-bottom: 1px solid var(--hire-border);
  align-items: start;
}

.hire-detail li b {
  color: var(--red);
  font-family: var(--condensed);
  font-size: 22px;
}

.hire-detail li span {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
}

.hire-detail details {
  border-top: 1px solid var(--hire-border);
}

.hire-detail details:last-child {
  border-bottom: 1px solid var(--hire-border);
}

.hire-detail summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 34px 18px 0;
  position: relative;
  font-size: 13px;
  font-weight: 800;
}

.hire-detail summary::after {
  content: "＋";
  position: absolute;
  right: 0;
  top: 15px;
  color: var(--red);
  font-size: 20px;
}

.hire-detail details[open] summary::after {
  content: "−";
}

.hire-detail details > span {
  display: block;
  padding: 0 0 20px;
  color: #59606d;
  font-size: 12px;
  line-height: 1.9;
}

.sample-entry-form {
  padding: 78px 7vw;
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(520px, 1.28fr);
  gap: 6vw;
  background: #0c1020;
  color: #fff;
  border-top: 8px solid var(--blue);
}

.sample-entry-form > div > p {
  color: #91abe3;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.sample-entry-form h3 {
  margin: 18px 0 20px;
  font-size: clamp(42px, 4.8vw, 68px);
  line-height: 1.15;
  letter-spacing: -0.055em;
}

.sample-entry-form small {
  color: #adb4c6;
  font-size: 11px;
  line-height: 1.8;
}

.sample-entry-form form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.sample-entry-form label {
  display: grid;
  gap: 8px;
  color: #c5cad8;
  font-size: 10px;
  font-weight: 800;
}

.sample-entry-form label.full {
  grid-column: 1/-1;
}

.sample-entry-form input,
.sample-entry-form textarea {
  width: 100%;
  border: 1px solid #555c70;
  border-radius: 0;
  padding: 14px 15px;
  color: #fff;
  background: #161b2e;
  font: inherit;
  outline: none;
}

.sample-entry-form input:focus,
.sample-entry-form textarea:focus {
  border-color: #9eb5e9;
  box-shadow: 0 0 0 2px rgba(16, 50, 129, 0.4);
}

.sample-entry-form button {
  grid-column: 1/-1;
  width: min(390px, 100%);
  border: 0;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  color: #fff;
  background: var(--red);
  font: 800 12px var(--sans);
  cursor: pointer;
}

@media (max-width: 1050px) {
  .pattern-switcher {
    gap: 12px;
  }
  .motion-strip {
    grid-template-columns: repeat(4, 1fr);
  }
  .job-info-section {
    grid-template-columns: 1fr 1.4fr;
    gap: 35px;
  }
}

@media (max-width: 1050px) {
  .hub-hero-copy {
    width: 76vw;
  }
  .hub-pattern-row {
    grid-template-columns: 24% 65px 1fr 1fr 40px;
  }
}

@media (max-width: 760px) {
  .motion-ready [data-reveal] {
    transform: translateY(22px);
  }
  .motion-strip {
    inset: 0 0 204px;
    grid-template-columns: 1.15fr 0.85fr;
    grid-template-rows: 1fr 1fr;
    transform: scale(1.1) skewX(-7deg);
  }
  .motion-shot {
    border-width: 3px;
  }
  .motion-shot > div {
    width: 75vw;
    transform: skewX(7deg) scale(1.1);
  }
  .motion-shot:nth-child(2) > div, .motion-shot:nth-child(3) > div, .motion-shot:nth-child(4) > div {
    margin-left: -12vw;
  }
  .hub-footer, .pattern-footer {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .pattern-footer-links {
    justify-content: flex-start;
  }
  .pattern-header {
    height: 70px;
    padding: 0 18px;
  }
  .pattern-brand .brand-mark {
    width: 100px;
  }
  .pattern-brand > span {
    display: none;
  }
  .pattern-switcher {
    position: fixed;
    z-index: 50;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    padding: 11px 15px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.94);
    color: #111 !important;
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.18);
    gap: 14px;
  }
  .pattern-switcher a {
    font-size: 0;
  }
  .pattern-switcher a span {
    font-size: 10px;
  }
  .header-entry {
    padding: 11px;
    font-size: 0;
  }
  .header-entry span {
    font-size: 15px;
  }
  .header-entry.outline::after, .header-entry.text::after {
    content: "↗";
    font-size: 14px;
  }
  .pattern-footer {
    padding-bottom: 90px;
  }
  .vertical-note {
    display: none;
  }
  .quick-facts {
    grid-template-columns: 1fr;
    padding: 30px 23px;
  }
  .quick-facts dl {
    grid-template-columns: 1fr 1fr;
    gap: 18px 0;
  }
  .quick-facts dl > div {
    padding-left: 12px;
  }
  .quick-facts > a {
    justify-content: space-between;
  }
  .entry-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .question-tags {
    grid-column: 1;
  }
  .team-rail {
    grid-template-columns: 1fr;
  }
  .team-rail i {
    min-height: 25px;
  }
  .team-rail article {
    min-height: 130px;
  }
  .showcase-outro-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .showcase-next {
    width: 100%;
  }
  .showcase-index,
  .diagram-entry-section .showcase-index {
    width: max-content;
    align-self: flex-start;
  }
  .job-info-section {
    padding: 70px 23px;
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .job-info-actions {
    grid-column: 1;
    flex-direction: column;
    align-items: stretch;
  }
  .job-info-actions a:first-child {
    width: 100%;
  }
  .job-info-list > div {
    grid-template-columns: 84px 1fr;
    gap: 14px;
  }
  .hire-detail {
    padding: 64px 23px;
    grid-template-columns: 1fr;
  }
  .hire-detail article {
    padding: 28px 24px;
  }
  .sample-entry-form {
    padding: 64px 23px;
    grid-template-columns: 1fr;
  }
  .sample-entry-form form {
    grid-template-columns: 1fr;
  }
  .sample-entry-form label.full,
  .sample-entry-form button {
    grid-column: 1;
  }
}

@media (max-width: 760px) {
  .hub-header {
    height: 70px;
    padding: 0 18px;
    grid-template-columns: 1fr auto;
  }
  .hub-header .brand-mark {
    width: 100px;
  }
  .hub-header nav {
    display: none;
  }
  .hub-entry {
    padding: 11px 13px;
    gap: 15px;
  }
  .hub-hero {
    min-height: 840px;
    height: 100svh;
  }
  .hub-hero::after {
    bottom: 204px;
  }
  .hub-hero-copy {
    top: 43%;
    width: calc(100% - 30px);
    padding: 22px 20px 25px;
    clip-path: polygon(5% 0, 96% 0, 100% 15%, 96% 100%, 3% 100%, 0 80%);
  }
  .hub-hero-copy > p {
    font-size: 7px;
  }
  .hub-hero-copy h1 {
    font-size: clamp(30px, 9.2vw, 38px);
    line-height: 1.12;
  }
  .hub-subline {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .hub-subline > span {
    text-align: center;
    font-size: 11px;
  }
  .hub-subline a {
    padding: 13px 16px;
  }
  .hub-facts {
    left: 18px;
    right: 18px;
    bottom: 220px;
    justify-content: space-between;
    gap: 8px;
  }
  .hub-facts > div {
    min-width: 0;
  }
  .hub-facts dd {
    font-size: 35px;
  }
  .hub-index {
    height: 204px;
    grid-template-columns: repeat(2, 1fr);
  }
  .hub-index a {
    padding: 11px 14px;
    grid-template-columns: 45px 1fr;
  }
  .hub-index span {
    font-size: 38px;
  }
  .hub-index b {
    font-size: 19px;
  }
  .hub-index small {
    font-size: 7px;
  }
  .hub-about {
    padding: 85px 24px;
    grid-template-columns: 1fr;
  }
  .hub-about-title h2 {
    font-size: 48px;
  }
  .hub-about-copy > p {
    font-size: 13px;
  }
  .hub-three-e {
    grid-template-columns: 1fr;
    margin-top: 30px;
  }
  .hub-three-e > div {
    min-height: 130px;
  }
  .hub-three-e b {
    font-size: 70px;
  }
  .hub-patterns {
    padding: 0 18px 80px;
  }
  .hub-pattern-row {
    min-height: 300px;
    padding: 18px 0;
    grid-template-columns: 90px 1fr 34px;
    grid-template-rows: 100px auto auto;
    gap: 10px 15px;
  }
  .hub-pattern-image {
    grid-column: 1/-1;
    width: 100%;
    height: 100px;
  }
  .hub-pattern-no {
    font-size: 49px;
  }
  .hub-pattern-row > div:nth-of-type(2) h2 {
    font-size: 36px;
  }
  .hub-pattern-copy {
    grid-column: 1/3;
  }
  .hub-pattern-copy h3 {
    font-size: 18px;
  }
  .hub-pattern-copy p {
    font-size: 11px;
  }
  .hub-pattern-arrow {
    grid-column: 3;
    grid-row: 2/4;
    align-self: center;
  }
  .hub-footer > a {
    text-align: left;
  }
}

/* Final art-direction pass: density, fixed navigation, stronger color and image integration */
:root {
  --page-progress: 0;
  --page-progress-percent: 0%;
  --fixed-header-h: 76px;
}

.hub-header,
.pattern-header {
  position: fixed;
  z-index: 80;
  inset: 0 0 auto;
  height: var(--fixed-header-h);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.hub-header {
  background: rgba(7, 22, 47, 0.9);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.hub-header::before,
.pattern-header::before,
.hub-header::after,
.pattern-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
}

.hub-header::before,
.pattern-header::before {
  background: rgba(255, 255, 255, 0.16);
}

.hub-header::after,
.pattern-header::after {
  background: linear-gradient(90deg, var(--blue) 0 33.33%, var(--green) 33.33% 66.66%, var(--red) 66.66%);
  clip-path: inset(0 calc(100% - var(--page-progress-percent)) 0 0);
}

.recruit-page section[id],
.motion-hub section[id] {
  scroll-margin-top: calc(var(--fixed-header-h) + 18px);
}

/* Pattern-specific motion language and role-based photography */
.motion-ready [data-shot] {
  translate: 0 var(--shift, 0);
  transition: translate 0.08s linear;
}

.motion-ready [data-row] .hub-pattern-image {
  clip-path: inset(0 100% 0 0);
  transform: scale(1.06);
  transition: clip-path 0.86s var(--ease-story), transform 1.1s var(--ease-story);
}

.motion-ready [data-row].is-live .hub-pattern-image {
  clip-path: inset(0);
  transform: none;
}

.motion-ready [data-line] {
  opacity: 0;
  transform: translateX(18px);
  transition: opacity 0.5s var(--ease-story), transform 0.5s var(--ease-story);
}

.motion-ready [data-line].is-written {
  opacity: 1;
  transform: none;
}

.motion-ready [data-line].marked dd {
  background-size: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.75s 0.2s var(--ease-story);
}

.motion-ready [data-line].marked.is-written dd {
  background-size: 100% 100%;
}

.motion-ready [data-pan] {
  background-position-x: var(--pan-x, 50%);
  transition: background-position 0.08s linear;
}

.motion-ready [data-wire] .is-linked {
  opacity: 1;
  clip-path: inset(0);
  transform: none;
}

.motion-ready [data-wire]::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 8%;
  right: 8%;
  top: 48%;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--green), var(--red));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.1s 0.2s var(--ease-story);
}

.motion-ready [data-wire].is-wired::after {
  transform: scaleX(1);
}

.motion-ready .diagram-flow[data-stage] > div,
.motion-ready .team-rail[data-stage] > * {
  opacity: 0.18;
  transform: translateX(-18px);
  transition: opacity 0.45s var(--ease-story), transform 0.6s var(--ease-story);
}

.motion-ready .diagram-flow[data-stage].is-stage > div,
.motion-ready .team-rail[data-stage].is-stage > * {
  opacity: 1;
  transform: none;
}

.motion-ready .diagram-flow[data-stage].is-stage > div:nth-of-type(2),
.motion-ready .team-rail[data-stage].is-stage > *:nth-child(2) {
  transition-delay: 0.1s;
}

.motion-ready .diagram-flow[data-stage].is-stage > div:nth-of-type(3),
.motion-ready .team-rail[data-stage].is-stage > *:nth-child(3) {
  transition-delay: 0.2s;
}

.motion-ready .diagram-flow[data-stage].is-stage > div:nth-of-type(4),
.motion-ready .team-rail[data-stage].is-stage > *:nth-child(4) {
  transition-delay: 0.3s;
}

.motion-ready [data-crop] {
  transform: scale(1.09);
  transition: transform 5.4s var(--ease-story);
}

.motion-ready [data-crop].is-near {
  transform: scale(1);
}

.motion-ready [data-crop-2] {
  background-position-x: var(--crop-x, 48%);
  background-size: var(--crop-size, 106%) auto;
}

.job-info-section {
  padding-block: 70px;
  grid-template-columns: minmax(290px, 0.7fr) minmax(520px, 1.3fr);
  gap: 30px 6vw;
  position: relative;
  overflow: hidden;
  border-top: 8px solid var(--red);
}

.job-info-section::after {
  content: "RECRUIT";
  position: absolute;
  z-index: 0;
  left: -0.025em;
  bottom: -0.24em;
  color: rgba(16, 18, 23, 0.035);
  font-family: var(--condensed);
  font-size: 18vw;
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
}

.job-info-section > * {
  position: relative;
  z-index: 1;
}

.job-info-heading h2 {
  font-size: clamp(38px, 3.8vw, 56px);
  line-height: 1.2;
}

.job-info-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-left: 1px solid rgba(16, 18, 23, 0.23);
}

.job-info-list > div {
  grid-template-columns: 92px 1fr;
  padding: 15px 18px;
  border-right: 1px solid rgba(16, 18, 23, 0.23);
}

.job-info-list > div:last-child:nth-child(odd) {
  grid-column: 1/-1;
}

.job-info-actions {
  grid-column: 2;
}

.job-info-note {
  grid-column: 2;
  color: #70737a;
  font-size: 10px;
  line-height: 1.8;
}

.hub-recruit-note {
  margin: 0 4vw 90px;
  padding: 64px 4vw;
  color: #fff;
  background: linear-gradient(120deg, rgba(16, 50, 129, 0.96), rgba(7, 22, 47, 0.97) 58%), #07162f;
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 32px 7vw;
  position: relative;
  overflow: hidden;
}

.hub-recruit-note::after {
  content: "ENTRY";
  position: absolute;
  right: -0.05em;
  bottom: -0.36em;
  color: rgba(255, 255, 255, 0.05);
  font-family: var(--condensed);
  font-size: 22vw;
  font-weight: 800;
}

.hub-recruit-note > * {
  position: relative;
  z-index: 1;
}

.hub-recruit-note > p {
  grid-column: 1/-1;
  color: #9cb3e5;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.hub-recruit-note h2 {
  font-size: clamp(38px, 4.4vw, 64px);
  line-height: 1.18;
  letter-spacing: -0.055em;
}

.hub-recruit-note h2 span {
  display: block;
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
}

.hub-recruit-note > div p {
  margin-bottom: 16px;
  font-size: 13px;
  line-height: 1.95;
}

.hub-recruit-note > a {
  grid-column: 2;
  width: min(320px, 100%);
  padding: 17px 20px;
  display: flex;
  justify-content: space-between;
  background: var(--red);
  font-size: 11px;
  font-weight: 800;
}

@media (max-width: 1100px) {
  .job-info-section {
    grid-template-columns: 1fr 1.35fr;
  }
  .job-info-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --fixed-header-h: 66px;
  }
  .hub-header,
  .pattern-header {
    height: var(--fixed-header-h);
  }
  .record-prologue,
  .record-story,
  .record-craft,
  .record-proof,
  .record-entry-section,
  .diagram-question,
  .diagram-map,
  .diagram-team,
  .diagram-learning,
  .diagram-entry-section,
  .portrait-opening,
  .portrait-chapters,
  .portrait-note,
  .portrait-fit,
  .portrait-entry-section,
  .statement-declare,
  .statement-facts,
  .statement-business,
  .statement-entry-section {
    padding-block: 64px;
  }
  .job-info-section {
    padding: 58px 23px 64px;
    grid-template-columns: 1fr;
  }
  .job-info-list {
    grid-template-columns: 1fr;
  }
  .job-info-actions,
  .job-info-note {
    grid-column: 1;
  }
  .job-info-heading h2 br {
    display: none;
  }
}

@media (max-width: 760px) {
  .hub-hero-copy h1 span {
    white-space: normal;
  }
  .hub-recruit-note {
    margin: 0 18px 70px;
    padding: 50px 24px;
    grid-template-columns: 1fr;
  }
  .hub-recruit-note > p,
  .hub-recruit-note > a {
    grid-column: 1;
  }
  .hub-recruit-note h2 {
    font-size: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
  .motion-ready [data-reveal],
  .motion-ready [data-row] .hub-pattern-image,
  .motion-ready [data-line],
  .motion-ready [data-wire] .diagram-card,
  .motion-ready [data-wire] .diagram-core,
  .motion-ready .diagram-flow[data-stage] > div,
  .motion-ready .team-rail[data-stage] > *,
  .motion-ready .record-cards[data-stage] article,
  .motion-ready .portrait-chapters[data-stage] .portrait-chapter-grid article {
    opacity: 1;
    transform: none;
    clip-path: none;
  }
}

/* ==========================================================================
   HERO SLIDERS — each pattern has real, accessible scene switching
   ========================================================================== */
.hero-slider {
  background-image: none !important;
  isolation: isolate;
}

.hero-slider-scenes,
.hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
}

.hero-slide {
  z-index: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transition: opacity 1s var(--ease-story);
}

.hero-slide.is-active {
  z-index: 1;
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  max-width: none;
  display: block;
  object-fit: cover;
  transform: scale(1.055);
  transition: transform 6.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-slide.is-active img {
  transform: scale(1.01);
}

.hero-slide .hero-slide-alt {
  display: none;
}

.hero-slider-controls {
  position: absolute;
  z-index: 7;
  right: 22px;
  bottom: 20px;
  min-width: 270px;
  display: grid;
  grid-template-columns: 34px auto 1fr 34px;
  align-items: center;
  gap: 11px;
  padding: 9px 11px;
  color: #fff;
  background: rgba(12, 14, 16, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
}

.hero-slider-controls > button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: inherit;
  background: transparent;
  cursor: pointer;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.hero-slider-controls > button:hover,
.hero-slider-controls > button:focus-visible {
  color: #111;
  background: #fff;
  transform: translateY(-2px);
  outline: none;
}

.hero-slider-status {
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  column-gap: 4px;
  min-width: 72px;
}

.hero-slider-status b {
  font-family: var(--condensed);
  font-size: 20px;
  letter-spacing: 0.04em;
}

.hero-slider-status span {
  font-family: var(--condensed);
  font-size: 10px;
  opacity: 0.62;
}

.hero-slider-status em {
  grid-column: 1/-1;
  margin-top: 2px;
  font-style: normal;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.15em;
  white-space: nowrap;
}

.hero-slider-dots {
  display: flex;
  align-items: center;
  gap: 5px;
}

.hero-slider-dots button {
  flex: 1;
  min-width: 12px;
  height: 2px;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: height 0.25s ease, background 0.25s ease;
}

.hero-slider-dots button.is-active {
  height: 5px;
  background: #fff;
}

@media (max-width: 900px) {
  .hero-slider-controls {
    right: 14px;
    bottom: 14px;
    min-width: 235px;
    grid-template-columns: 32px auto 1fr 32px;
  }
}

@media (max-width: 640px) {
  .hero-slider-controls,
  .diagram-photo .hero-slider-controls,
  .letter-hero-photo .hero-slider-controls,
  .bloom-hero-photo .hero-slider-controls {
    right: 10px;
    bottom: 10px;
    min-width: 0;
    width: calc(100% - 20px);
    grid-template-columns: 31px auto 1fr 31px;
    transform: none;
  }
  .hero-slider-status em {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .hero-slide img {
    transition: none;
  }
}

/* ==========================================================================
   躍動感：スクロール連動ピン留めシーン
   画面が固定され、背景・数字・コピーだけが切り替わる。
   スクロール量が「時間の経過」「主張の切り替え」そのものになる。
   ========================================================================== */
[data-pin] {
  position: relative;
}

[data-pin] .record-day-stage,
[data-pin] .statement-3e-stage,
[data-pin] .portrait-lens-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
}

[data-pin].is-static .record-day-stage,
[data-pin].is-static .statement-3e-stage,
[data-pin].is-static .portrait-lens-stage {
  position: static;
  height: auto;
}

/* 速度連動：動かした分だけ撓み、止まれば戻る */
[data-kinetic] {
  transform: skewY(calc(var(--kinetic, 0) * 0.16deg)) translateY(calc(var(--kinetic, 0) * -2px));
  will-change: transform;
}

/* ---------- 数字がスクロールで確定する ---------- */
[data-tally] {
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   動作条件
   ========================================================================== */
@media (max-width: 720px) {
  /* SPは重い固定演出を停止し、通常の縦積みへ再組版 */
  .record-day, .statement-3e, .portrait-lens {
    height: auto;
  }
  .record-day-stage, .statement-3e-stage, .portrait-lens-stage {
    position: static;
    height: auto;
  }
  .record-day-scenes, .portrait-lens-scenes, .statement-3e-fields {
    position: relative;
    height: 46svh;
  }
  .record-day-scenes > div, .portrait-lens-scenes > div, .statement-3e-fields i {
    opacity: 1;
    transform: none;
  }
  .record-day-scenes > div:not(.is-front), .portrait-lens-scenes > div:not(.is-front), .statement-3e-fields i:not(.is-front) {
    display: none;
  }
  .record-day-veil, .portrait-lens-veil {
    display: none;
  }
  .record-day-hud, .record-day-cuts, .record-day-tally,
  .portrait-lens-cuts, .statement-3e-cuts, .statement-3e-rail {
    position: static;
    width: auto;
  }
  .record-day-cuts article, .portrait-lens-cuts article, .statement-3e-cuts article {
    position: static;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    padding: 34px 6vw;
    border-top: 1px solid #ffffff26;
  }
  .record-day-cuts, .portrait-lens-cuts {
    padding: 0;
  }
  .record-day, .portrait-lens {
    padding-bottom: 40px;
  }
  [data-kinetic] {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .record-day, .statement-3e, .portrait-lens {
    height: auto;
  }
  .record-day-stage, .statement-3e-stage, .portrait-lens-stage {
    position: static;
    height: auto;
  }
  .record-day-cuts article, .portrait-lens-cuts article, .statement-3e-cuts article {
    position: static;
    opacity: 1;
    transform: none;
  }
  .record-day-scenes > div, .portrait-lens-scenes > div, .statement-3e-fields i {
    transition: none;
    transform: none;
  }
  [data-kinetic] {
    transform: none;
  }
}

/* ==========================================================================
   実描画検証（375/768/1280/1440/1600px）で検出した崩れの修正
   ========================================================================== */
/* 768px の谷間対策：最小幅の合計(280+520=800px)が収まらない帯域で崩す */
@media (max-width: 1080px) {
  .sample-entry-form {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
}

@media (max-width: 860px) {
  .sample-entry-form form {
    grid-template-columns: minmax(0, 1fr);
  }
  .sample-entry-form label.full,
  .sample-entry-form button {
    grid-column: 1;
  }
}

/* ヒーロー写真の scale がビューポート外へ出るのを止める */
.record-hero,
.statement-hero,
.portrait-hero,
.diagram-hero,
.hub-hero,
.record-wide-shot,
.statement-rise-shot,
.statement-future,
.portrait-scene {
  overflow: hidden;
}

/* 意図しない横スクロールの保険 */
html,
body {
  overflow-x: clip;
}

/* グリッド子要素の min-width:auto による溢れを止める */
.recruit-page section > *,
.motion-hub section > * {
  min-width: 0;
}

/* ==========================================================================
   共通の追加アニメーション
   ========================================================================== */
/* 見出しが意味単位で立ち上がる */
[data-words] .word-unit {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.55em) rotate(0.8deg);
  transition: opacity 0.62s cubic-bezier(0.16, 1, 0.3, 1), transform 0.62s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-words].is-worded .word-unit {
  opacity: 1;
  transform: none;
}

/* 手書き風の下線 */
[data-underline] {
  font-style: normal;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 96%;
  background-size: 0% 2px;
  transition: background-size 0.9s cubic-bezier(0.65, 0, 0.35, 1);
}

[data-underline].is-underlined {
  background-size: 100% 2px;
}

/* ゆっくり漂う（BLOOMの球体など） */
@keyframes floaty {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, -26px, 0) scale(1.04);
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
}

[data-float] {
  animation: floaty 9s ease-in-out infinite;
}

[data-float].o2, .bloom-orbs .o2 {
  animation-duration: 12s;
  animation-delay: -3s;
}

[data-float].o3, .bloom-orbs .o3 {
  animation-duration: 15s;
  animation-delay: -6s;
}

/* 流れる帯 */
@keyframes marquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

[data-marquee] {
  overflow: hidden;
}

[data-marquee] > div {
  display: inline-flex;
  gap: 3.2em;
  white-space: nowrap;
  animation: marquee 26s linear infinite;
  will-change: transform;
}

/* ハブ用の新色 */
.hub-index a.cream span, .hub-index a.cream b {
  color: #b0713f;
}

.hub-index a.sun span, .hub-index a.sun b {
  color: #e2647e;
}

.motion-shot.cream::after {
  background: linear-gradient(0deg, rgba(176, 113, 63, 0.5), transparent);
}

.motion-shot.sun::after {
  background: linear-gradient(0deg, rgba(226, 100, 126, 0.5), transparent);
}

.hub-pattern-row.cream .hub-pattern-no {
  color: #b0713f;
}

.hub-pattern-row.sun .hub-pattern-no {
  color: #e2647e;
}

/* SP・reduced-motion */
@media (max-width: 720px) {
  .letter-voices, .bloom-steps {
    height: auto;
  }
  .letter-voices-stage, .bloom-steps-stage {
    position: static;
    height: auto;
  }
  .letter-voices-cuts, .bloom-steps-cuts {
    position: static;
    display: block;
    padding: 0;
  }
  .letter-voices-cuts article, .bloom-steps-cuts article {
    position: static;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    padding: 44px 6vw;
    max-width: none;
  }
  .letter-voices-rail, .bloom-steps-dots {
    display: none;
  }
  [data-marquee] > div {
    animation-duration: 18s;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-float], [data-marquee] > div {
    animation: none;
  }
  [data-words] .word-unit {
    opacity: 1;
    transform: none;
    transition: none;
  }
  [data-underline] {
    background-size: 100% 2px;
    transition: none;
  }
  .letter-voices, .bloom-steps {
    height: auto;
  }
  .letter-voices-stage, .bloom-steps-stage {
    position: static;
    height: auto;
  }
  .letter-voices-cuts article, .bloom-steps-cuts article {
    position: static;
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   ハブ 6種対応（ヒーロー3-3 / メニュー6分割）
   ========================================================================== */
.motion-strip.rows-3-3 {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 6px;
  position: absolute;
  inset: 0 0 135px;
  transform: none;
  transform-origin: center;
}

.motion-strip-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  overflow: hidden;
  position: relative;
  width: calc(100% + 12vw);
  margin-left: -6vw;
  transform: skewX(-7deg);
}

.motion-strip-row .motion-shot {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 0;
}

.motion-strip-row .motion-shot > div {
  position: absolute;
  inset: -24% -12%;
  width: auto;
  margin-left: 0;
  background-position: center;
  background-size: cover;
  transform: skewX(7deg) scale(1.08) translate3d(0, var(--shift, 0px), 0);
  filter: saturate(0.82) contrast(1.05);
}

.motion-strip.rows-3-3 .motion-shot.cream > div {
  filter: sepia(0.2) saturate(0.8);
}

.motion-strip.rows-3-3 .motion-shot.sun > div {
  filter: saturate(1.02) brightness(1.06);
}

/* メニューは常に6分割 */
.hub-index {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.hub-index a {
  min-width: 0;
  padding-inline: 18px;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 9px;
  border-right: 1px solid #aaa;
}

.hub-index span {
  font-size: 44px;
}

.hub-index b {
  font-size: 21px;
  white-space: nowrap;
}

.hub-index small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hub-index a:last-child {
  border-right: 0;
}

/* ハブ入口はPEEESの3色を2巡。明るい背景＋白文字で沈む例外色を作らない。 */
.hub-index a.blue span, .hub-index a.blue b,
.hub-pattern-row.blue .hub-pattern-no {
  color: var(--blue);
}

.hub-index a.green span, .hub-index a.green b,
.hub-pattern-row.green .hub-pattern-no {
  color: var(--green);
}

.hub-index a.red span, .hub-index a.red b,
.hub-pattern-row.red .hub-pattern-no {
  color: var(--red);
}

.hub-pattern-row.dark .hub-pattern-no {
  color: #202126;
}

.hub-pattern-row.cream .hub-pattern-no {
  color: #9a6037;
}

.hub-pattern-row.sun .hub-pattern-no {
  color: #d75370;
}

.hub-pattern-row:hover .hub-pattern-no {
  color: #fff;
}

.hub-index a.blue:hover span, .hub-index a.blue:hover b,
.hub-index a.green:hover span, .hub-index a.green:hover b,
.hub-index a.red:hover span, .hub-index a.red:hover b {
  color: #fff;
}

@media (max-width: 1050px) {
  .motion-strip.rows-3-3 {
    bottom: 230px;
  }
}

@media (max-width: 1050px) {
  .hub-hero {
    min-height: 930px;
  }
  .hub-hero::after {
    bottom: 230px;
  }
  .hub-facts {
    bottom: 250px;
  }
  .hub-index {
    height: 230px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .hub-index a {
    border-bottom: 1px solid #aaa;
  }
}

@media (max-width: 640px) {
  .motion-strip.rows-3-3 {
    bottom: 294px;
  }
  .motion-strip.rows-3-3 {
    gap: 4px;
  }
  .motion-strip-row {
    gap: 4px;
  }
}

@media (max-width: 640px) {
  .hub-hero {
    min-height: 980px;
  }
  .hub-hero::after {
    bottom: 294px;
  }
  .hub-facts {
    bottom: 312px;
  }
  .hub-index {
    height: 294px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hub-index a {
    padding: 10px 12px;
    grid-template-columns: 38px 1fr;
  }
  .hub-index span {
    font-size: 36px;
  }
  .hub-index b {
    font-size: 18px;
  }
}

.portrait-lens-cuts h2,
.portrait-lens-cuts p,
.statement-rise-shot h2 {
  text-shadow: 0 2px 2px rgba(0, 0, 0, 0.72), 0 5px 24px rgba(0, 0, 0, 0.58);
}

.portrait-lens-cuts b,
.statement-rise-shot > div > p {
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.72);
}

.portrait-lens-cuts .meaning-line,
.statement-rise-shot .meaning-line {
  display: block;
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
}

.faq-list {
  border-top: 1px solid var(--hire-border);
}

.faq-item {
  border-bottom: 1px solid var(--hire-border);
}

.faq-question {
  width: 100%;
  min-height: 58px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px;
  align-items: center;
  gap: 16px;
  padding: 17px 0;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: left;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.faq-question i {
  position: relative;
  width: 18px;
  height: 18px;
  justify-self: end;
  color: var(--red);
  transition: transform 0.48s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-question i::before,
.faq-question i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.faq-question i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.is-open .faq-question i {
  transform: rotate(180deg);
}

.faq-item.is-open .faq-question i::after {
  transform: translate(-50%, -50%) rotate(0);
  opacity: 0;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transform: translateY(-5px);
  transition: grid-template-rows 0.52s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.34s ease, transform 0.52s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer > div {
  min-height: 0;
  overflow: hidden;
}

.faq-answer span {
  display: block;
  padding: 0 0 20px;
  color: #59606d;
  font-size: 12px;
  line-height: 1.9;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
  opacity: 1;
  transform: none;
}

.portrait-page .faq-question,
.letter-page .faq-question {
  font-family: var(--serif);
}

@media (max-width: 720px) {
  .hub-recruit-note h2 span,
  .portrait-lens-cuts .meaning-line,
  .statement-rise-shot .meaning-line {
    width: auto;
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-question i,
  .faq-question i::before,
  .faq-question i::after,
  .faq-answer {
    transition: none;
  }
}

@media (max-width: 1080px) {
  .record-page .job-info-section,
  .statement-page .job-info-section {
    grid-template-columns: 1fr 1.35fr;
    background: #f6f8fb;
  }
}

@media (max-width: 760px) {
  .record-page .job-info-section,
  .statement-page .job-info-section {
    grid-template-columns: 1fr;
  }
  .hero-slide:has(.hero-slide-alt) .hero-slide-pc {
    display: none;
  }
  .hero-slide .hero-slide-alt {
    display: block;
  }
  .record-page .job-info-heading,
  .statement-page .job-info-heading {
    margin: -58px -23px 0;
    padding: 48px 23px 38px;
  }
}

/* ==========================================================================
   MOTION SYSTEM V2 — six pages, six distinct animation languages
   ========================================================================== */
.motion-stage-meter {
  position: fixed;
  z-index: 90;
  top: 50%;
  right: 15px;
  width: 13px;
  height: 138px;
  transform: translateY(-50%);
  display: grid;
  grid-template-rows: auto 1fr;
  justify-items: center;
  gap: 9px;
  color: #fff;
  mix-blend-mode: difference;
  pointer-events: none;
}

.motion-stage-meter span {
  writing-mode: vertical-rl;
  font-family: var(--condensed);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.motion-stage-meter i {
  position: relative;
  width: 1px;
  height: 88px;
  background: rgba(255, 255, 255, 0.28);
  overflow: hidden;
}

.motion-stage-meter i::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: var(--page-progress-percent);
  background: currentColor;
  transition: height 0.08s linear;
}

/* The first view opens as a composed scene, not a pile of unrelated fades. */
.motion-ready .hub-hero-copy,
.motion-ready .record-copy,
.motion-ready .record-sheet,
.motion-ready .record-time,
.motion-ready .diagram-kicker,
.motion-ready .diagram-hero > h1,
.motion-ready .diagram-lead,
.motion-ready .diagram-flow,
.motion-ready .portrait-index,
.motion-ready .portrait-hero blockquote,
.motion-ready .portrait-sticker,
.motion-ready .portrait-caption,
.motion-ready .statement-no,
.motion-ready .statement-hero h1,
.motion-ready .statement-sub,
.motion-ready .statement-bars,
.motion-ready .letter-hero-inner,
.motion-ready .bloom-hero-copy {
  opacity: 0;
}

.motion-ready .hub-hero-copy {
  transform: translate(-50%, calc(-50% + 32px)) scale(0.975);
}

.motion-ready.motion-started .hub-hero-copy,
.motion-ready.motion-started .record-copy,
.motion-ready.motion-started .record-sheet,
.motion-ready.motion-started .record-time,
.motion-ready.motion-started .diagram-kicker,
.motion-ready.motion-started .diagram-hero > h1,
.motion-ready.motion-started .diagram-lead,
.motion-ready.motion-started .diagram-flow,
.motion-ready.motion-started .portrait-index,
.motion-ready.motion-started .portrait-hero blockquote,
.motion-ready.motion-started .portrait-sticker,
.motion-ready.motion-started .portrait-caption,
.motion-ready.motion-started .statement-no,
.motion-ready.motion-started .statement-hero h1,
.motion-ready.motion-started .statement-sub,
.motion-ready.motion-started .statement-bars,
.motion-ready.motion-started .letter-hero-inner,
.motion-ready.motion-started .bloom-hero-copy {
  opacity: 1;
  transition: opacity 0.78s var(--ease-story), transform 1.05s var(--ease-story);
}

.motion-ready.motion-started .hub-hero-copy {
  transform: translate(-50%, -50%);
}

.motion-ready.motion-started .record-copy,
.motion-ready.motion-started .record-sheet,
.motion-ready.motion-started .record-time,
.motion-ready.motion-started .diagram-kicker,
.motion-ready.motion-started .diagram-hero > h1,
.motion-ready.motion-started .diagram-lead,
.motion-ready.motion-started .diagram-flow,
.motion-ready.motion-started .portrait-index,
.motion-ready.motion-started .portrait-caption,
.motion-ready.motion-started .statement-no,
.motion-ready.motion-started .statement-hero h1,
.motion-ready.motion-started .statement-sub,
.motion-ready.motion-started .statement-bars,
.motion-ready.motion-started .letter-hero-inner,
.motion-ready.motion-started .bloom-hero-copy {
  transform: none;
}

.motion-ready.motion-started .diagram-kicker,
.motion-ready.motion-started .portrait-index,
.motion-ready.motion-started .statement-no {
  transition-delay: 0.08s;
}

.motion-ready.motion-started .record-time,
.motion-ready.motion-started .diagram-hero > h1,
.motion-ready.motion-started .portrait-hero blockquote,
.motion-ready.motion-started .statement-hero h1,
.motion-ready.motion-started .letter-hero-inner,
.motion-ready.motion-started .bloom-hero-copy {
  transition-delay: 0.18s;
}

.motion-ready.motion-started .record-sheet,
.motion-ready.motion-started .diagram-lead,
.motion-ready.motion-started .portrait-sticker,
.motion-ready.motion-started .statement-sub {
  transition-delay: 0.32s;
}

.motion-ready.motion-started .diagram-flow,
.motion-ready.motion-started .portrait-caption,
.motion-ready.motion-started .statement-bars {
  transition-delay: 0.48s;
}

/* Hero imagery enters through a mask before its slow camera movement begins. */
.motion-ready .record-photo,
.motion-ready .diagram-photo,
.motion-ready .statement-photo,
.motion-ready .letter-hero-photo,
.motion-ready .bloom-hero-photo {
  clip-path: inset(0 0 100% 0);
  filter: saturate(0.72) contrast(1.04);
}

.motion-ready.motion-started .record-photo,
.motion-ready.motion-started .diagram-photo,
.motion-ready.motion-started .statement-photo,
.motion-ready.motion-started .letter-hero-photo,
.motion-ready.motion-started .bloom-hero-photo {
  clip-path: inset(0);
  transition: clip-path 1.35s var(--ease-story), filter 1.7s var(--ease-story);
}

.motion-ready.motion-started .record-photo,
.motion-ready.motion-started .statement-photo {
  filter: saturate(0.86) contrast(1.04);
}

.motion-ready .motion-strip-row .motion-shot {
  clip-path: inset(0 100% 0 0);
  opacity: 0.3;
}

.motion-ready.motion-started .motion-strip-row .motion-shot {
  clip-path: inset(0);
  opacity: 1;
  transition: clip-path 1s var(--ease-story), opacity 0.7s ease;
}

.motion-ready.motion-started .motion-strip-row:nth-child(1) .motion-shot:nth-child(2) {
  transition-delay: 0.08s;
}

.motion-ready.motion-started .motion-strip-row:nth-child(1) .motion-shot:nth-child(3) {
  transition-delay: 0.16s;
}

.motion-ready.motion-started .motion-strip-row:nth-child(2) .motion-shot:nth-child(1) {
  transition-delay: 0.24s;
}

.motion-ready.motion-started .motion-strip-row:nth-child(2) .motion-shot:nth-child(2) {
  transition-delay: 0.32s;
}

.motion-ready.motion-started .motion-strip-row:nth-child(2) .motion-shot:nth-child(3) {
  transition-delay: 0.4s;
}

/* Shared recruiting content now inherits each pattern's movement language. */
.motion-ready [data-motion-cascade] {
  opacity: 0;
  transition: opacity 0.6s var(--ease-story) var(--motion-delay, 0ms), transform 0.82s var(--ease-story) var(--motion-delay, 0ms), clip-path 0.82s var(--ease-story) var(--motion-delay, 0ms);
}

.motion-ready [data-motion-section].is-motion-visible [data-motion-cascade] {
  opacity: 1;
  transform: none;
  clip-path: inset(0);
}

/* Pointer response is deliberately shallow: depth, not a game-like tilt. */
@media (hover: hover) and (min-width: 721px) {
  .record-sheet,
  .portrait-sticker {
    translate: calc(var(--pointer-x, 0) * 10px) calc(var(--pointer-y, 0) * 8px);
    transition: translate 0.2s ease-out;
  }
  .hub-subline a,
  .header-entry,
  .job-info-actions a:first-child,
  .sample-entry-form button {
    transition: transform 0.28s var(--ease-story), box-shadow 0.28s ease, background 0.28s ease;
  }
  .hub-subline a:hover,
  .header-entry:hover,
  .job-info-actions a:first-child:hover,
  .sample-entry-form button:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
  }
}

@media (max-width: 720px) {
  .motion-stage-meter {
    display: none;
  }
  .motion-ready [data-motion-cascade] {
    transform: translateY(18px);
    clip-path: none;
  }
  .motion-ready [data-motion-section].is-motion-visible [data-motion-cascade] {
    transform: none;
  }
  .diagram-grid,
  .record-time strong,
  .statement-bars i,
  .portrait-sticker,
  .bloom-steps-fields i::after {
    animation: none;
  }
}

@media (max-width: 720px) {
  .motion-ready .hub-hero-copy {
    transform: translate(-50%, calc(-50% + 20px));
  }
  .motion-ready.motion-started .hub-hero-copy {
    transform: translate(-50%, -50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .motion-stage-meter {
    display: none;
  }
  .motion-ready .hub-hero-copy,
  .motion-ready .record-copy,
  .motion-ready .record-sheet,
  .motion-ready .record-time,
  .motion-ready .diagram-kicker,
  .motion-ready .diagram-hero > h1,
  .motion-ready .diagram-lead,
  .motion-ready .diagram-flow,
  .motion-ready .portrait-index,
  .motion-ready .portrait-hero blockquote,
  .motion-ready .portrait-sticker,
  .motion-ready .portrait-caption,
  .motion-ready .statement-no,
  .motion-ready .statement-hero h1,
  .motion-ready .statement-sub,
  .motion-ready .statement-bars,
  .motion-ready .letter-hero-inner,
  .motion-ready .bloom-hero-copy,
  .motion-ready [data-motion-cascade] {
    opacity: 1;
    transform: none;
    translate: none;
    clip-path: none;
  }
  .motion-ready .record-photo,
  .motion-ready .diagram-photo,
  .motion-ready .statement-photo,
  .motion-ready .letter-hero-photo,
  .motion-ready .bloom-hero-photo,
  .motion-ready .motion-strip-row .motion-shot {
    opacity: 1;
    clip-path: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .motion-ready .hub-hero-copy {
    transform: translate(-50%, -50%);
  }
}

/* ==========================================================================
   Recruiting grammar V2 / compact mobile navigator / loading-safe imagery
   ========================================================================== */
.job-grammar-signature {
  margin-top: 28px;
}

.job-grammar-signature ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.job-grammar-signature li {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid currentColor;
}

.job-grammar-signature b {
  font-family: var(--condensed);
  font-size: 16px;
}

.job-grammar-signature span {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.hero-slide img,
.letter-day-photo img,
.letter-thanks-grid img,
.hub-pattern-image img {
  content-visibility: auto;
}

@media (max-width: 1050px) {
  .hire-detail-diagram,
  .hire-detail-statement {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .pattern-switcher {
    left: auto;
    right: 12px;
    bottom: 12px;
    width: min(220px, calc(100vw - 24px));
    padding: 0;
    transform: none;
    border-radius: 18px;
    background: transparent;
    box-shadow: none;
    gap: 0;
  }
  .pattern-switcher-toggle {
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: 52px;
    padding: 10px 14px;
    display: grid;
    grid-template-columns: 30px 1fr 18px;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(16, 18, 23, 0.14);
    border-radius: 18px;
    color: #111;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.16);
    font-family: var(--sans);
    text-align: left;
  }
  .pattern-switcher-toggle span {
    font-family: var(--condensed);
    font-size: 17px;
    font-weight: 800;
  }
  .pattern-switcher-toggle b {
    font-size: 10px;
    letter-spacing: 0.13em;
  }
  .pattern-switcher-toggle i,
  .pattern-switcher-toggle i::after {
    display: block;
    width: 11px;
    height: 1px;
    background: currentColor;
    transition: transform 0.3s var(--ease-story);
  }
  .pattern-switcher-toggle i {
    position: relative;
  }
  .pattern-switcher-toggle i::after {
    content: "";
    position: absolute;
    transform: rotate(90deg);
  }
  .pattern-switcher.is-open .pattern-switcher-toggle i {
    transform: rotate(45deg);
  }
  .pattern-switcher-list {
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(100% + 8px);
    display: grid;
    padding: 8px;
    border: 1px solid rgba(16, 18, 23, 0.14);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.98);
    transform-origin: bottom;
    transition: opacity 0.24s ease, visibility 0.24s ease, transform 0.3s var(--ease-story);
  }
  .pattern-switcher.is-open .pattern-switcher-list {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .pattern-switcher a {
    min-height: 42px;
    padding: 9px 11px;
    display: grid;
    grid-template-columns: 30px 1fr;
    align-items: center;
    gap: 9px;
    border-radius: 11px;
    color: #111;
    font-size: 9px;
    opacity: 0.62;
  }
  .pattern-switcher a span {
    font-size: 13px;
  }
  .pattern-switcher a.active {
    color: #fff;
    background: var(--blue);
    opacity: 1;
    transform: none;
  }
  .portrait-page .pattern-switcher a.active,
  .statement-page .pattern-switcher a.active {
    background: var(--red);
  }
  .job-grammar-signature ol,
  .signature-diagram ol,
  .signature-bloom ol {
    flex-wrap: wrap;
  }
  .job-grammar-signature li {
    flex: 1 1 calc(50% - 8px);
  }
  .hire-detail-record,
  .hire-detail-diagram,
  .hire-detail-portrait,
  .hire-detail-statement,
  .hire-detail-letter,
  .hire-detail-bloom {
    grid-template-columns: 1fr;
  }
  .hire-detail-record .hire-panel-route,
  .hire-detail-portrait .hire-panel-faq,
  .hire-detail-bloom .hire-panel-growth {
    grid-column: auto;
  }
  .hire-detail-record .hire-panel-route ol,
  .hire-detail-bloom .hire-panel-growth ol {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   SP FIX PASS (2026-07-28) — 実機幅での不具合修正
   ※ 既存ルールを書き換えず、末尾の上書きだけで完結させている
   ========================================================================== */
/* --------------------------------------------------------------------------
   FIX A — スマホの6案切替ナビが画面外に開く問題
   .pattern-header の backdrop-filter が position:fixed の子孫に包含ブロックを
   作るため、内側の .pattern-switcher の bottom:12px が
   「ビューポート下端」ではなく「ヘッダー下端」基準になっていた。
   SPではブラーを外し、代わりに地色の不透明度を上げて視認性を担保する。
   -------------------------------------------------------------------------- */
@media (max-width: 760px) {
  .pattern-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  /* 開いたリストが画面外へ出ないよう上限を設ける */
  .pattern-switcher-list {
    max-height: calc(100svh - var(--fixed-header-h) - 96px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}

/* --------------------------------------------------------------------------
   FIX C — スライダー操作系のタップ領域（見た目は変えず当たり判定だけ拡張）
   ドット 57x2px / 前後ボタン 34px は指では押せないため 44px 相当まで広げる。
   -------------------------------------------------------------------------- */
.hero-slider-dots button {
  position: relative;
}

.hero-slider-dots button::after {
  content: "";
  position: absolute;
  inset: -21px 0;
}

.hero-slider-controls > button {
  position: relative;
}

.hero-slider-controls > button::after {
  content: "";
  position: absolute;
  inset: -6px;
}

/* --------------------------------------------------------------------------
   FIX D — 320px幅で意味単位spanがはみ出す
   引き継ぎ§7の「360px以下は normal 復帰」ルールが .meaning-line に
   適用されていなかった。
   -------------------------------------------------------------------------- */
@media (max-width: 360px) {
  .meaning-line,
  .diagram-learning h2 .meaning-line,
  .portrait-lens-cuts .meaning-line,
  .statement-rise-shot .meaning-line {
    width: auto;
    max-width: 100%;
    white-space: normal;
  }
}

/* --------------------------------------------------------------------------
   FIX E — SPで7pxのラベルが実機で読めない（最小10pxへ）
   デザイン言語を壊さないよう、7px指定のものだけを対象にする。
   -------------------------------------------------------------------------- */
@media (max-width: 760px) {
  .hub-hero-copy > p,
  .hub-index small,
  .showcase-next small {
    font-size: 10px;
  }
}

/* --------------------------------------------------------------------------
   FIX E — SPで7pxのラベルが実機で読めない（最小10pxへ）
   デザイン言語を壊さないよう、7px指定のものだけを対象にする。
   -------------------------------------------------------------------------- */
@media (max-width: 760px) {
  .hub-facts dt {
    font-size: 10px;
  }
}

/* --------------------------------------------------------------------------
   FIX F — ハブへ戻るロゴのタップ領域確保（SPで 100x19px だった）
   -------------------------------------------------------------------------- */
@media (max-width: 760px) {
  .pattern-brand,
  .hub-logo {
    min-height: 44px;
  }
}

/* --------------------------------------------------------------------------
   FIX C-2 — テキストリンクのタップ高さ確保（横幅は十分だが高さ14〜15pxだった）
   -------------------------------------------------------------------------- */
@media (max-width: 760px) {
  .showcase-index,
  .pattern-footer-links > a,
  .hub-footer > a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .header-entry {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

/* --------------------------------------------------------------------------
   FIX C-2 — テキストリンクのタップ高さ確保（横幅は十分だが高さ14〜15pxだった）
   -------------------------------------------------------------------------- */
@media (max-width: 760px) {
  .hub-entry {
    min-height: 44px;
    align-items: center;
  }
}

@media (max-width: 760px) {
  .job-info-actions > a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

/* ==========================================================================
   FEEDBACK PASS 2026-07-28 ③④
   ========================================================================== */
/* --------------------------------------------------------------------------
   ③ ハブの6分割メニュー：2列表示のときは縦に 01-02-03 / 04-05-06 と並べる。
   行がそのまま 青／緑／赤 で揃い、色のルールが読み取れるようになる。
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
  .hub-index {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, minmax(0, 1fr));
    grid-auto-flow: column;
  }
  .hub-index a {
    border-right: 1px solid #aaa;
  }
  .hub-index a:nth-child(n+4) {
    border-right: 0;
  }
}

/* --------------------------------------------------------------------------
   ④ LETTER / BLOOM にも「次のデザインへ」の着地セクションを追加。
   他4案と同じ構造で、それぞれの世界観の色を使う。
   -------------------------------------------------------------------------- */
.letter-entry-section,
.bloom-entry-section {
  padding: 92px 7vw 100px;
  display: grid;
  gap: 26px;
  justify-items: start;
}

@media (max-width: 760px) {
  .letter-entry-section,
  .bloom-entry-section {
    padding: 78px 23px 96px;
  }
  .letter-entry-section .showcase-outro-actions,
  .bloom-entry-section .showcase-outro-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
}

.letter-entry-section .showcase-outro-actions,
.bloom-entry-section .showcase-outro-actions {
  width: 100%;
}

/* ==========================================================================
   FEEDBACK PASS 2026-07-28 ①③〜⑳（日本語の改行・スライダー可視化）
   ========================================================================== */
/* --------------------------------------------------------------------------
   意味単位の改行ユーティリティ .u
   inline-block なので「単位の切れ目」が優先的に改行点になり、
   単位の途中で折れない。幅が足りる場合は1行のまま。
   360px以下だけ通常の折返しに戻し、はみ出しを絶対に作らない。
   -------------------------------------------------------------------------- */
.u {
  display: inline-block;
}

.u + .u {
  margin-left: 0;
}

@media (max-width: 360px) {
  .u {
    display: inline;
  }
}

/* ⑧⑨ ハブ「企業サイトがなくても、採用LPだけで応募までつなぐ。」
   width:max-content + nowrap が原因でPC幅で右の本文カラムに重なっていた。
   意味単位の改行に置き換える。 */
.hub-recruit-note h2 span {
  display: block;
  width: auto;
  max-width: 100%;
  white-space: normal;
}

.hub-recruit-note h2 .u {
  font-style: normal;
}

/* ③〜⑦ ハブ6行の説明文：句点で意味単位に分ける */
.hub-pattern-copy p .u + .u {
  margin-left: 0;
}

/* ⑮⑱ 折返しが窮屈な見出しはSPで一段小さく */
@media (max-width: 760px) {
  .diagram-solutions .section-intro h2,
  .portrait-chapters .section-intro h2,
  .diagram-team .section-intro h2 {
    font-size: clamp(26px, 6.6vw, 34px);
    line-height: 1.42;
  }
}

/* --------------------------------------------------------------------------
   ① スライダーが「動いていないように見える」問題
   切替は動いていたが、合図がなく写真も似ているため気づけない。
   ドットを進捗バー化し、次の切替までの残り時間が目で見えるようにする。
   -------------------------------------------------------------------------- */
.hero-slide {
  transition: opacity 0.72s var(--ease-story);
}

.hero-slider-dots button {
  height: 3px;
}

.hero-slider-dots button.is-active {
  height: 6px;
  background: rgba(255, 255, 255, 0.32);
  overflow: hidden;
}

.hero-slider-dots button.is-active::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  transform-origin: left center;
  animation: heroDotFill 4s linear forwards;
}

@keyframes heroDotFill {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slider-dots button.is-active::before {
    animation: none;
    transform: none;
  }
}

/* ⑨ PC幅（1280px前後）でハブ注記の見出しが窮屈だった。
   見出し側のカラムを広げ、字面に合わせてサイズを詰める。 */
@media (min-width: 761px) {
  .hub-recruit-note {
    grid-template-columns: 1.12fr 1fr;
    gap: 32px 5vw;
  }
  .hub-recruit-note h2 {
    font-size: clamp(34px, 3.6vw, 54px);
  }
}

/* ⑭⑫ 指定のあった見出しはSPで意味単位ごとに1行にする */
@media (max-width: 760px) {
  .diagram-question h2 .u,
  .hub-recruit-note h2 .u {
    display: block;
  }
}

/* ⑬ SPのヒーロー写真をもっと大きく見せる */
@media (max-width: 760px) {
  .record-hero, .statement-hero {
    min-height: min(100svh, 760px);
  }
  .portrait-hero, .diagram-hero {
    min-height: min(100svh, 740px);
  }
}

/* 前回Q③ SPでは配線ラインの演出を出さない */
@media (max-width: 760px) {
  .motion-ready [data-wire]::after {
    display: none;
  }
}

/* ② 募集要項の 01/02/03 を1段に収める */
.job-grammar-signature ol {
  flex-wrap: nowrap;
}

.job-grammar-signature li {
  flex: 1 1 0;
  min-width: 0;
}

@media (max-width: 760px) {
  .job-grammar-signature ol {
    flex-wrap: nowrap;
    gap: 10px;
  }
  .job-grammar-signature li {
    flex: 1 1 0;
  }
  .job-grammar-signature b {
    font-size: 13px;
  }
  .job-grammar-signature span {
    font-size: 9px;
    letter-spacing: 0.08em;
  }
}

/* ④ STATEMENT 3E：SPで3枚が同じグリッドセルに重なって文字が潰れていた。
   grid-area:1/1 が縦積みフォールバック側でリセットされていないのが原因。 */
@media (max-width: 720px) {
  .record-day-cuts,
  .portrait-lens-cuts,
  .statement-3e-cuts {
    display: block;
    place-items: initial;
  }
  .record-day-cuts article,
  .portrait-lens-cuts article,
  .statement-3e-cuts article {
    grid-area: auto;
  }
}

/* ==========================================================================
   FEEDBACK PASS 2026-07-28 (3)
   ========================================================================== */
/* 横パンはSPのみ停止（PCは維持）。JSがインラインで背景位置を書くため !important で上書き */
@media (max-width: 760px) {
  [data-pan], [data-crop-2] {
    background-position: center !important;
  }
}

/* ⑨ SPでヘッダーの ENTRY 文字が font-size:0 で消えていた */
@media (max-width: 760px) {
  .header-entry {
    padding: 11px 14px;
    font-size: 10px;
    gap: 10px;
  }
  .header-entry span {
    font-size: 13px;
  }
  .header-entry.outline::after,
  .header-entry.text::after {
    content: none;
  }
}

/* ==========================================================================
   ④ 「アニメーションが動く前に本文が表示されている」問題の本命修正
   [data-words] の見出しは、JSがスパン分割するまで素のテキストとして
   完成形が見えてしまう（実測で約530ms）。その後 .word-unit が生成され
   opacity:0 になるため「見えていたものが一度消えて、改めて出てくる」。
   分割済みフラグ data-words-ready が付くまで隠しておく。
   万一JSが止まっても 1.8秒後に必ず表示するフェイルセーフ付き。
   ========================================================================== */
.motion-ready [data-words]:not([data-words-ready]) {
  visibility: hidden;
  animation: wordsFailsafe 0s linear 1.8s forwards;
}

@keyframes wordsFailsafe {
  to {
    visibility: visible;
  }
}

@media (prefers-reduced-motion: reduce) {
  .motion-ready [data-words]:not([data-words-ready]) {
    visibility: visible;
    animation: none;
  }
}

/* ==========================================================================
   レビュー指摘 (2026-07-28) 実装要件 ②③④
   ========================================================================== */
/* ② スマホ下部ナビ・フッターのセーフエリア（iPhoneホームバー対策） */
@media (max-width: 760px) {
  .pattern-switcher {
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  }
  .pattern-footer,
  .hub-footer {
    padding-bottom: calc(34px + env(safe-area-inset-bottom, 0px));
  }
  .bloom-entry-section,
  .letter-entry-section {
    padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px));
  }
}

/* ③ スマホの最小文字サイズ
   装飾ラベル 10px / 補足文・工程ラベル 12px を下限にする */
@media (max-width: 760px) {
  .diagram-entry-section > div > p,
  .diagram-field-break p,
  .diagram-kicker,
  .hub-about-title > p,
  .hub-facts dt,
  .hub-footer,
  .hub-header nav,
  .hub-hero-copy > p,
  .hub-index small,
  .hub-logo, .pattern-brand,
  .hub-pattern-row > div:nth-of-type(2) p,
  .hub-recruit-note > p,
  .letter-day-copy span,
  .letter-page .letter-day-copy span,
  .letter-thanks-grid span,
  .pattern-footer,
  .pattern-switcher a,
  .pattern-switcher span,
  .portrait-caption span,
  .portrait-detail-strip p,
  .portrait-entry-section > p,
  .portrait-eyebrow,
  .portrait-fit > p,
  .portrait-hero cite,
  .portrait-index small,
  .portrait-note-card span,
  .portrait-note-facts > p,
  .portrait-scene-copy > span,
  .portrait-scene-copy dt,
  .record-day-tally span,
  .record-entry-section > p,
  .record-prologue > p,
  .record-proof > div:first-child > p,
  .record-sheet-head,
  .record-story li b,
  .record-story-title > p,
  .record-story-title small,
  .record-time span,
  .record-wide-shot > p,
  .section-intro > p,
  .section-line,
  .showcase-next small,
  .statement-business > p,
  .statement-declare > p,
  .statement-entry-section > p,
  .statement-facts dt,
  .statement-facts-title > p,
  .statement-future-copy > p:first-child,
  .statement-no,
  .statement-rise-shot p {
    font-size: 10px;
  }
  .diagram-card span,
  .diagram-core small,
  .diagram-core span,
  .diagram-flow small,
  .diagram-flow span,
  .diagram-learning > div > p,
  .diagram-question > p,
  .diagram-solutions-copy > p,
  .diagram-solutions-copy li span,
  .hire-detail article > p,
  .job-grammar-signature span,
  .job-info-heading > p,
  .quick-facts > p,
  .quick-facts dt,
  .sample-entry-form > div > p {
    font-size: 12px;
  }
  .hire-detail article p,
  .job-info-note,
  .sample-entry-note {
    font-size: 12px;
    line-height: 1.85;
  }
  .showcase-next,
  .bloom-cta,
  .hub-entry,
  .header-entry {
    font-size: 12px;
  }
}

/* ④ スマホのヒーロー初期表示
   通信が遅いと「何もない画面」に見えるため、開始演出を 0.5〜0.65秒に短縮する。
   （JSがインラインで transition-delay を書くため !important で上書き） */
@media (max-width: 760px) {
  [data-words] .word-unit {
    transition-duration: 0.4s !important;
  }
  [data-words] .word-unit:nth-child(1) {
    transition-delay: 0ms !important;
  }
  [data-words] .word-unit:nth-child(2) {
    transition-delay: 80ms !important;
  }
  [data-words] .word-unit:nth-child(3) {
    transition-delay: 150ms !important;
  }
  [data-words] .word-unit:nth-child(n+4) {
    transition-delay: 210ms !important;
  }
  .motion-ready [data-reveal] {
    transition-duration: 0.46s;
  }
  .motion-ready [data-motion-cascade] {
    transition-duration: 0.44s, 0.5s, 0.5s;
  }
}

/* ==========================================================================
   デモモード / 顧客モード
   app/site-config.ts の SITE_MODE を "client" にすると、
   デモ専用の導線と表記が一括で消える。
   ========================================================================== */
[data-site-mode=client] .pattern-switcher,
[data-site-mode=client] .showcase-outro-actions,
[data-site-mode=client] .job-info-actions > a:last-child,
[data-site-mode=client] .letter-entry-section,
[data-site-mode=client] .bloom-entry-section,
[data-site-mode=client] .hub-index,
[data-site-mode=client] .sample-badge,
[data-site-mode=client] .job-info-note,
[data-site-mode=client] .sample-entry-note {
  display: none;
}

/* ③b タブレット帯（768〜1050px）にも同じ下限を適用
   ※768×1024で10px未満のテキストが210件残っていたため
   装飾ラベル 10px / 補足文・工程ラベル 12px を下限にする */
@media (min-width: 761px) and (max-width: 1050px) {
  .diagram-entry-section > div > p,
  .diagram-field-break p,
  .diagram-kicker,
  .hub-about-title > p,
  .hub-facts dt,
  .hub-footer,
  .hub-header nav,
  .hub-hero-copy > p,
  .hub-index small,
  .hub-logo, .pattern-brand,
  .hub-pattern-row > div:nth-of-type(2) p,
  .hub-recruit-note > p,
  .letter-day-copy span,
  .letter-page .letter-day-copy span,
  .letter-thanks-grid span,
  .pattern-footer,
  .pattern-switcher a,
  .pattern-switcher span,
  .portrait-caption span,
  .portrait-detail-strip p,
  .portrait-entry-section > p,
  .portrait-eyebrow,
  .portrait-fit > p,
  .portrait-hero cite,
  .portrait-index small,
  .portrait-note-card span,
  .portrait-note-facts > p,
  .portrait-scene-copy > span,
  .portrait-scene-copy dt,
  .record-day-tally span,
  .record-entry-section > p,
  .record-prologue > p,
  .record-proof > div:first-child > p,
  .record-sheet-head,
  .record-story li b,
  .record-story-title > p,
  .record-story-title small,
  .record-time span,
  .record-wide-shot > p,
  .section-intro > p,
  .section-line,
  .showcase-next small,
  .statement-business > p,
  .statement-declare > p,
  .statement-entry-section > p,
  .statement-facts dt,
  .statement-facts-title > p,
  .statement-future-copy > p:first-child,
  .statement-no,
  .statement-rise-shot p {
    font-size: 10px;
  }
  .diagram-card span,
  .diagram-core small,
  .diagram-core span,
  .diagram-flow small,
  .diagram-flow span,
  .diagram-learning > div > p,
  .diagram-question > p,
  .diagram-solutions-copy > p,
  .diagram-solutions-copy li span,
  .hire-detail article > p,
  .job-grammar-signature span,
  .job-info-heading > p,
  .quick-facts > p,
  .quick-facts dt,
  .sample-entry-form > div > p {
    font-size: 12px;
  }
  .hire-detail article p,
  .job-info-note,
  .sample-entry-note {
    font-size: 12px;
    line-height: 1.85;
  }
  .showcase-next,
  .bloom-cta,
  .hub-entry,
  .header-entry {
    font-size: 12px;
  }
}

/* ③c 縦組みの装飾ラベルも10px下限に揃える（回転しているため個別対応） */
@media (max-width: 1050px) {
  .vertical-note,
  .motion-stage-meter span,
  .hero-slider-status em {
    font-size: 10px;
  }
  .record-scroll-cue span,
  .statement-scroll span,
  [class*=scroll] span {
    font-size: 10px;
  }
}

/* ==========================================================================
   追随SNSバナー（LINE / Instagram）
   - 右下に固定。SPではデモ用の6案切替ナビと重なるため、切替ナビを左へ逃がす
   - 色は各パターンの世界観に合わせて --social-* で出し分け
   - アイコンはSVGの簡易グリフ。実案件では各サービスの公式ブランド素材へ差し替えること
   ========================================================================== */
.social-dock {
  position: fixed;
  right: 18px;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  z-index: 70;
  display: grid;
  gap: 10px;
  justify-items: end;
}

.social-dock-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 16px 0 13px;
  border-radius: 999px;
  color: var(--social-fg, #fff);
  background: var(--social-bg, #101114);
  box-shadow: 0 12px 30px rgba(16, 18, 24, 0.22);
  text-decoration: none;
  font-family: var(--condensed);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.social-dock-item.is-line {
  --social-bg: #06c755;
  --social-fg: #fff;
}

.social-dock-item.is-instagram {
  --social-fg: #fff;
  background: linear-gradient(135deg, #f9ce34 0%, #ee2a7b 52%, #6228d7 100%);
}

.social-dock-item:hover,
.social-dock-item:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(16, 18, 24, 0.3);
}

.social-dock-icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
}

.social-dock-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.social-dock-label {
  line-height: 1;
}

/* 出現：スクロールが始まってから静かに出す（ヒーローの第一印象を邪魔しない） */
.motion-ready .social-dock {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.5s var(--ease-story), transform 0.5s var(--ease-story);
}

.motion-ready.motion-started .social-dock {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .motion-ready .social-dock {
    opacity: 1;
    transform: none;
    pointer-events: auto;
    transition: none;
  }
  .social-dock-item {
    transition: none;
  }
}

/* SP：ラベルを畳んで円形に。切替ナビ（デモ専用）は左下へ逃がす */
@media (max-width: 760px) {
  .social-dock {
    right: 14px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    gap: 9px;
  }
  .social-dock-item {
    width: 48px;
    min-height: 48px;
    padding: 0;
    justify-content: center;
  }
  .social-dock-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .pattern-switcher {
    right: auto;
    left: 12px;
  }
  .pattern-switcher-list {
    right: auto;
    left: 0;
  }
}

/* 顧客モードでは切替ナビが消えるので、SPでも右下のままでよい */
[data-site-mode=client] .pattern-switcher {
  display: none;
}

@media (min-width: 761px) and (max-width: 890px) {
  [data-site-mode=showcase] .pattern-header {
    padding: 0 16px;
  }
  [data-site-mode=showcase] .pattern-switcher {
    gap: 10px;
  }
  [data-site-mode=showcase] .pattern-switcher a {
    font-size: 9px;
  }
  [data-site-mode=showcase] .pattern-switcher span {
    font-size: 7px;
  }
  [data-site-mode=showcase] .header-entry {
    padding: 11px 12px;
    gap: 10px;
    font-size: 9px;
  }
}
