:root {
  --brand-blue: #015283;
  --brand-yellow: #ffbd59;
  --brand-red: #ff5959;
  --surface: #f5f5f5;
  --ink: #333333;
  --white: #ffffff;
  --font-gothic: "Yu Gothic", "YuGothic", "Yu Gothic Medium", sans-serif;
  --font-heiti: "STHeiti Light", "STHeiti", "Hiragino Kaku Gothic ProN",
    sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--white);
  color: var(--white);
  font-family: var(--font-gothic);
  scroll-behavior: auto;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--white);
  color: var(--ink);
  overscroll-behavior-y: none;
}

body.is-intro-active {
  height: 100%;
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
}

.intro {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--white);
  transition:
    opacity 800ms cubic-bezier(0.65, 0, 0.35, 1),
    visibility 800ms;
}

.intro::after {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(1, 82, 131, 0.025), transparent 42%);
  content: "";
  pointer-events: none;
}

.intro.is-finished {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro__message {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--brand-blue);
  font-size: clamp(1.65rem, 3.1vw, 3.5rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.5;
  text-indent: 0.15em;
  white-space: nowrap;
}

.intro__char {
  display: inline-block;
  opacity: 0;
  filter: blur(12px);
  transform: translateY(0.3em) scale(0.9);
  animation: reveal-character 760ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(320ms + var(--char-index) * 115ms);
  will-change: filter, opacity, transform;
}

.firstview {
  position: relative;
  height: 300svh;
  background: var(--brand-blue);
}

.firstview__sticky {
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  background: var(--brand-blue);
  isolation: isolate;
}

.scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--white);
  clip-path: inset(0 0 var(--wipe, 0%) 0);
  will-change: clip-path;
}

.scene::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 40%, rgba(0, 18, 30, 0.08) 100%),
    linear-gradient(180deg, transparent 68%, rgba(0, 18, 30, 0.08) 100%);
  content: "";
  pointer-events: none;
}

.scene img {
  height: 100%;
  object-fit: cover;
  transform: scale(var(--image-scale, 1.025));
  will-change: transform;
}

.scene--career {
  z-index: 1;
}

.scene--career img {
  object-position: center center;
}

.scene--camp {
  z-index: 2;
}

.scene--camp img {
  object-position: center center;
}

.scene--shot {
  z-index: 3;
}

.scene--shot img {
  object-position: center 48%;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 4.6rem;
  padding: 0.45rem clamp(1rem, 2vw, 2rem);
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(12, 42, 55, 0.14);
  box-shadow:
    0 12px 40px rgba(0, 24, 38, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  transition:
    background-color 500ms ease,
    border-color 500ms ease,
    box-shadow 500ms ease;
}

.site-header__logo-wrap {
  position: relative;
  width: 10.5rem;
  height: 3.55rem;
  overflow: hidden;
  flex: 0 0 auto;
}

.site-header__logo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10.5rem;
  height: 10.5rem;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transform: translate(-50%, -50%);
  transition: filter 500ms ease;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: clamp(0.2rem, 0.6vw, 0.65rem);
}

.site-header__nav button {
  min-height: 3rem;
  padding: 0.4rem clamp(0.85rem, 1.5vw, 1.55rem);
  border: 0;
  border-radius: 1rem;
  background: transparent;
  color: var(--white);
  font: inherit;
  font-size: clamp(0.72rem, 0.88vw, 0.9rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-shadow: 0 1px 12px rgba(0, 24, 38, 0.22);
  cursor: default;
  transition:
    color 500ms ease,
    background-color 220ms ease,
    text-shadow 500ms ease;
}

.site-header__nav button:hover,
.site-header__nav button:focus-visible {
  outline: none;
  background: rgba(255, 255, 255, 0.13);
}

.site-header__nav .site-header__teacher {
  min-height: 2.45rem;
  margin-left: clamp(0.2rem, 0.6vw, 0.6rem);
  padding-inline: clamp(0.9rem, 1.5vw, 1.4rem);
  border: 1px solid var(--brand-blue);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--brand-blue);
  text-shadow: none;
}

.site-header__nav .site-header__teacher:hover,
.site-header__nav .site-header__teacher:focus-visible {
  border-color: var(--brand-blue);
  background: var(--brand-blue);
  color: var(--white);
}

body.is-after-firstview .site-header {
  border-color: rgba(1, 82, 131, 0.12);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 30px rgba(1, 82, 131, 0.07);
}

body.is-after-firstview .site-header__nav button {
  color: var(--brand-blue);
  text-shadow: none;
}

body.is-after-firstview .site-header__logo {
  filter: none;
}

body.is-dark-surface .site-header {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(12, 42, 55, 0.18);
  box-shadow:
    0 12px 40px rgba(0, 24, 38, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

body.is-dark-surface .site-header__nav button {
  color: var(--white);
  text-shadow: 0 1px 12px rgba(0, 24, 38, 0.22);
}

body.is-dark-surface .site-header__logo {
  filter: brightness(0) invert(1);
}

body.is-after-firstview .site-header__nav .site-header__teacher,
body.is-dark-surface .site-header__nav .site-header__teacher {
  border-color: var(--brand-blue);
  background: rgba(255, 255, 255, 0.82);
  color: var(--brand-blue);
  text-shadow: none;
}

body.is-after-firstview .site-header__nav .site-header__teacher:hover,
body.is-after-firstview .site-header__nav .site-header__teacher:focus-visible,
body.is-dark-surface .site-header__nav .site-header__teacher:hover,
body.is-dark-surface .site-header__nav .site-header__teacher:focus-visible {
  background: var(--brand-blue);
  color: var(--white);
}

.firstview__copy {
  position: absolute;
  z-index: 10;
  top: 52%;
  left: 59%;
  display: flex;
  align-items: baseline;
  margin: 0;
  color: var(--white);
  font-size: clamp(2rem, 2.8vw, 4.7rem);
  font-weight: 700;
  letter-spacing: 0.065em;
  line-height: 1.35;
  text-shadow: 0 2px 20px rgba(0, 25, 45, 0.14);
  transform: translateY(-50%);
  white-space: nowrap;
}

.copy-prefix {
  display: inline-block;
  opacity: 1;
  transform: translateY(0) scale(1);
  transform-origin: center;
  will-change: filter, opacity, transform;
}

.copy-word-frame {
  display: inline-grid;
  min-width: 4.3em;
  overflow: visible;
  vertical-align: baseline;
}

.copy-word {
  position: relative;
  grid-area: 1 / 1;
  display: inline-block;
  justify-self: start;
  width: max-content;
  opacity: 0;
  filter: blur(12px);
  transform: translateY(1em) scale(0.9);
  transform-origin: center;
  will-change: filter, opacity, transform;
}

.copy-word--find {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

.firstview-service {
  position: absolute;
  top: calc(100% + 0.2rem);
  left: 50%;
  display: grid;
  place-items: center;
  min-width: 7.5rem;
  min-height: 3.3rem;
  padding: 0.4rem 1rem;
  overflow: visible;
  border: 0;
  background: transparent;
  color: var(--white);
  font-family: var(--font-heiti);
  font-size: clamp(1rem, 1.3vw, 1.3rem);
  font-weight: 300;
  letter-spacing: 0.12em;
  line-height: 1;
  text-shadow: 0 2px 16px rgba(0, 25, 45, 0.24);
  transform: translateX(-50%);
  cursor: pointer;
}

.firstview-service__label {
  position: relative;
  z-index: 2;
}

.firstview-service:focus-visible {
  outline: 1px solid rgba(255, 255, 255, 0.55);
  outline-offset: 0.15rem;
}

.firstview-actions {
  position: fixed;
  z-index: 40;
  right: clamp(1rem, 2.2vw, 2.25rem);
  bottom: clamp(1rem, 2.5vw, 2.5rem);
  left: clamp(1rem, 2.2vw, 2.25rem);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.4vw, 1.4rem);
  transform-origin: center bottom;
}

.firstview-action {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.8rem, 1.4vw, 1.35rem);
  min-height: 4.6rem;
  padding: 0.55rem clamp(1.25rem, 3vw, 3rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: transparent;
  box-shadow:
    0 12px 38px rgba(0, 24, 38, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  color: var(--white);
  font: inherit;
  font-size: clamp(0.82rem, 1.05vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.firstview-action::before {
  position: absolute;
  z-index: 0;
  inset: -1px;
  border-radius: inherit;
  background: rgba(12, 42, 55, 0.1);
  backdrop-filter: blur(10px) saturate(116%);
  content: "";
  pointer-events: none;
  transition: background-color 220ms ease;
}

.firstview-action img,
.firstview-action span {
  position: relative;
  z-index: 1;
}

.firstview-action img {
  width: clamp(1.4rem, 1.9vw, 1.85rem);
  height: clamp(1.7rem, 2.2vw, 2.15rem);
  object-fit: contain;
}

.firstview-action:hover,
.firstview-action:focus-visible {
  outline: none;
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow:
    0 12px 38px rgba(0, 24, 38, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.firstview-action:hover::before,
.firstview-action:focus-visible::before {
  background: rgba(255, 255, 255, 0.18);
}

.firstview-action:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.72);
  outline-offset: 0.2rem;
}

.scroll-chapter {
  position: relative;
  background: var(--surface);
}

.scroll-chapter--mission {
  height: 140svh;
}

.scroll-chapter--service {
  height: 155svh;
}

.scroll-chapter--footer {
  height: 130svh;
  background: var(--brand-yellow);
}

.scroll-chapter__stage {
  position: fixed;
  z-index: 5;
  top: 0;
  left: 0;
  width: 100%;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  background: var(--surface);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  isolation: isolate;
  will-change: opacity;
}

.scroll-chapter--mission .scroll-chapter__stage {
  background: var(--white);
}

.scroll-chapter--service .scroll-chapter__stage {
  background: var(--surface);
}

.scroll-chapter--footer .scroll-chapter__stage {
  background: var(--brand-yellow);
}

.section-transition {
  position: fixed;
  z-index: 45;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.035);
  transform-origin: center;
  pointer-events: none;
  will-change: opacity, transform;
}

.section-transition--mission {
  background: var(--brand-blue);
}

.section-transition--service {
  background: var(--brand-red);
}

.section-transition--footer {
  background: var(--brand-yellow);
}

.chapter-title {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  margin: 0;
  color: var(--brand-blue);
  font-family: var(--font-heiti);
  font-size: clamp(1.4rem, 2.2vw, 2.4rem);
  font-weight: 300;
  letter-spacing: 0.18em;
  opacity: 0;
  filter: blur(16px);
  transform: translate(-50%, -50%) scale(0.96);
  transform-origin: center;
  white-space: nowrap;
  pointer-events: none;
  will-change: opacity, filter, transform;
}

.section-transition .chapter-title {
  z-index: 1;
}

.chapter-title--light {
  color: var(--white);
}

.chapter-content {
  position: absolute;
  z-index: 3;
  inset: 0;
  padding: clamp(6rem, 10vh, 8rem) clamp(2rem, 6vw, 7.5rem)
    clamp(2rem, 5vh, 4rem);
}

[data-reveal] {
  opacity: 0;
  filter: blur(15px);
  transform: scale(0.985);
  transform-origin: center;
  will-change: opacity, filter, transform;
}

.section-kicker {
  margin: 0 0 1rem;
  font-family: var(--font-heiti);
  font-size: clamp(0.72rem, 1vw, 0.95rem);
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section-kicker--blue {
  color: var(--brand-blue);
}

.mission-content {
  display: grid;
  grid-template-columns: minmax(24rem, 0.82fr) minmax(32rem, 1.18fr);
  align-items: stretch;
  gap: clamp(0.5rem, 2vw, 2.5rem);
  padding-left: 8vw;
  padding-right: clamp(4rem, 7vw, 7rem);
  background: transparent;
}

.mission-content__copy {
  position: relative;
  display: grid;
  grid-template-areas:
    "kicker"
    "body"
    "."
    "heading"
    "button";
  grid-template-rows: auto auto minmax(3rem, 1fr) auto auto;
  align-self: stretch;
  min-height: 0;
  padding-bottom: clamp(4.5rem, 9vh, 6rem);
  transform: translate(
    clamp(2.75rem, 3.8vw, 3.75rem),
    clamp(3rem, 6vh, 4rem)
  );
}

.mission-content .section-kicker {
  grid-area: kicker;
  margin-bottom: clamp(1rem, 2.4vh, 1.8rem);
}

.mission-content__heading {
  grid-area: heading;
  align-self: end;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.3rem, 4.2vw, 4.8rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.34;
  white-space: nowrap;
}

.mission-content__heading span {
  color: #333333;
}

.mission-content__body {
  grid-area: body;
  margin: 0;
  color: #4a4a4a;
  font-size: clamp(0.78rem, 1.12vw, 1.05rem);
  font-weight: 500;
  letter-spacing: 0.075em;
  line-height: 2.05;
}

.mission-content__visual {
  display: grid;
  place-items: center;
  min-width: 0;
  margin: 1.5rem 0 -1rem -8rem;
}

.mission-content__visual img {
  display: block;
  width: min(100%, 66rem);
  max-height: 72svh;
  object-fit: contain;
  object-position: center;
}

.more-button {
  grid-area: button;
  justify-self: start;
  position: relative;
  display: inline-grid;
  grid-template-columns: auto 3.8rem;
  align-items: center;
  gap: 1.1rem;
  min-height: 4.4rem;
  margin: 0.65rem 0 0;
  width: max-content;
  padding: 0.55rem 0;
  overflow: visible;
  border: 0;
  background: transparent;
  color: var(--brand-blue);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  white-space: nowrap;
  cursor: pointer;
}

.more-button__label,
.more-button__line {
  position: relative;
  z-index: 2;
}

.more-button__line {
  width: 3.8rem;
  height: 1px;
  background: currentColor;
  transition: transform 300ms ease;
  transform-origin: left;
}

.more-button__play {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 2rem;
  display: grid;
  place-items: center;
  width: 7rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(1, 82, 131, 0.07);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.6);
  transition:
    opacity 300ms ease,
    transform 300ms ease;
}

.more-button__play svg {
  width: 2.7rem;
  fill: var(--brand-blue);
}

.more-button:hover .more-button__play,
.more-button:focus-visible .more-button__play {
  opacity: 0.62;
  transform: translate(-50%, -50%) scale(1);
}

.more-button:hover .more-button__line,
.more-button:focus-visible .more-button__line {
  transform: scaleX(1.2);
}

.more-button:focus-visible {
  outline: 2px solid rgba(1, 82, 131, 0.25);
  outline-offset: 0.45rem;
}

.service-content {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: clamp(1rem, 2vh, 1.8rem);
  min-width: 0;
  background: transparent;
}

.service-content__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.service-content__heading .section-kicker {
  margin-bottom: 0.2rem;
}

.service-content__heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.3rem, 2vw, 2.2rem);
  font-weight: 700;
  letter-spacing: 0.1em;
}

.service-list {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: clamp(0.7rem, 1.4vh, 1.1rem);
  min-width: 0;
  min-height: 0;
}

.service-card {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border: 0;
  border-radius: clamp(1rem, 1.6vw, 1.75rem);
  background: #d6d6d6;
  color: var(--white);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.service-card > img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card--shot > img {
  object-position: center 43%;
}

.service-card--camp > img {
  object-position: center 49%;
}

.service-card--career > img {
  object-position: center 46%;
}

.service-card__tint {
  position: absolute;
  inset: 0;
  background: var(--card-color);
  opacity: 0.48;
  transition: opacity 350ms ease;
}

.service-card--shot {
  --card-color: var(--brand-blue);
}

.service-card--camp {
  --card-color: #c98519;
}

.service-card--career {
  --card-color: #b43e3e;
}

.service-card__details {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(8rem, 0.8fr) minmax(13rem, 1.2fr) minmax(13rem, 1fr);
  align-items: center;
  gap: 2rem;
  min-width: 0;
  padding: clamp(1rem, 2vw, 2rem) clamp(1.3rem, 3vw, 3rem);
  transition: opacity 300ms ease;
}

.service-card__phrase {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
}

.service-card__phrase small {
  font-size: clamp(0.7rem, 0.95vw, 0.92rem);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.service-card__phrase strong {
  font-size: clamp(1.7rem, 2.8vw, 3.3rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.service-card__name {
  justify-self: center;
  font-family: var(--font-heiti);
  font-size: clamp(2.2rem, 5vw, 6rem);
  font-weight: 300;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.service-card__audience {
  justify-self: end;
  font-size: clamp(0.83rem, 1.15vw, 1.15rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.7;
  text-align: right;
}

.service-card__hover {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: color-mix(in srgb, var(--card-color) 82%, #001826);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  opacity: 0;
  transition: opacity 350ms ease;
}

.service-card__play {
  display: grid;
  place-items: center;
  width: clamp(4rem, 6vw, 6rem);
}

.service-card__play svg {
  width: 100%;
  fill: var(--white);
}

.service-card:hover > img,
.service-card:focus-visible > img {
  transform: scale(1.035);
}

.service-card:hover .service-card__details,
.service-card:focus-visible .service-card__details {
  opacity: 0.12;
}

.service-card:hover .service-card__hover,
.service-card:focus-visible .service-card__hover {
  opacity: 0.94;
}

.service-card:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: -6px;
}

.footer-content {
  display: grid;
  grid-template-columns: minmax(14rem, 1.15fr) minmax(36rem, 2fr);
  grid-template-rows: 1fr auto;
  align-items: center;
  gap: 2rem clamp(3rem, 8vw, 9rem);
  background: transparent;
  color: var(--white);
}

.footer-content__brand {
  align-self: center;
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(20rem, 100%);
  text-align: center;
}

.footer-content__logo-wrap {
  position: relative;
  width: 100%;
  height: 7rem;
  overflow: hidden;
}

.footer-content__logo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20rem;
  height: 20rem;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transform: translate(-50%, -50%);
}

.footer-content__brand p {
  width: 100%;
  margin: 1.2rem 0 0;
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.16em;
}

.footer-content__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(9rem, 1fr));
  gap: clamp(2rem, 5vw, 5rem);
}

.footer-content__nav > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.footer-content__nav h2 {
  margin: 0 0 1.6rem;
  font-family: var(--font-gothic);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.footer-content__nav button,
.footer-content__nav a,
.footer-content__nav span {
  display: block;
  width: 100%;
  padding: 0.35rem 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  line-height: 1.65;
  text-align: left;
  text-decoration: none;
  overflow-wrap: anywhere;
  cursor: pointer;
  transition:
    color 200ms ease,
    transform 200ms ease;
}

.footer-content__nav button:hover,
.footer-content__nav button:focus-visible,
.footer-content__nav a:hover,
.footer-content__nav a:focus-visible {
  outline: none;
  color: var(--brand-blue);
  transform: translateX(0.25rem);
}

.footer-content__nav span[aria-disabled="true"] {
  cursor: default;
  opacity: 0.5;
}

.footer-content__license {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.8rem;
  color: rgba(255, 255, 255, 0.68);
  font-family: var(--font-heiti);
  font-size: 0.62rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  line-height: 1.55;
  text-transform: uppercase;
}

.footer-content__license-mark {
  display: grid;
  place-items: center;
  width: 2.6rem;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  color: var(--white);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
}

@keyframes reveal-character {
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
  }
}

@media (width >= 768px) {
  .scene--career {
    background-image: url("../images/common/career.jpg");
    background-position: center top;
    background-size: cover;
  }

  .scene--career img {
    height: calc(100% - 2.5rem);
    margin-top: 2.5rem;
    object-position: center top;
    transform-origin: center top;
  }
}

@media (width < 768px) {
  .firstview {
    height: 290svh;
  }
}

@media (width < 1200px) {
  .firstview__sticky {
    min-height: 520px;
  }
}

@media (width < 768px) {
  .scene--shot img {
    object-position: 54% center;
  }

  .scene--camp img {
    object-position: 46% center;
  }

  .scene--career img {
    object-position: 43% center;
  }
}

@media (width < 1200px) {
  .site-header {
    top: 0;
    width: 100%;
    min-height: 3.7rem;
    padding: 0.3rem 0.45rem 0.3rem 0.6rem;
  }

  .site-header__nav {
    gap: 0;
  }

  .site-header__nav button {
    min-height: 2.75rem;
    padding-inline: clamp(0.35rem, 2.1vw, 0.6rem);
    font-size: clamp(0.58rem, 2.5vw, 0.68rem);
    letter-spacing: 0.035em;
  }

  .site-header__nav .site-header__teacher {
    min-height: 2.2rem;
    margin-left: 0.15rem;
    padding-inline: 0.55rem;
    font-size: clamp(0.54rem, 2.2vw, 0.64rem);
  }
}

@media (width < 1200px) {
  .site-header__logo-wrap {
    width: 5rem;
    height: 3rem;
  }

  .site-header__logo {
    width: 7.8rem;
    height: 7.8rem;
  }
}

@media (width < 1200px) {
  .firstview__copy {
    top: 58%;
    left: 50%;
    justify-content: center;
    width: 100%;
    padding-inline: 0.5rem;
    font-size: clamp(1.35rem, 5.7vw, 2.2rem);
    letter-spacing: 0.03em;
    text-align: center;
    transform: translate(-50%, -50%);
  }
}

@media (width < 768px) {
  .copy-word-frame {
    min-width: 4em;
  }

  .firstview-service {
    top: calc(100% + 0.05rem);
    min-width: 6.4rem;
    min-height: 2.8rem;
    font-size: 0.82rem;
  }
}

@media (width < 1200px) {
  .firstview-actions {
    right: 0.75rem;
    bottom: 0.85rem;
    left: 0.75rem;
    gap: 0.55rem;
  }
}

@media (width < 1200px) {
  .firstview-action {
    min-height: 3.7rem;
    gap: 0.5rem;
    padding: 0.45rem 0.6rem;
    border-radius: 999px;
    font-size: clamp(0.6rem, 2.7vw, 0.74rem);
    letter-spacing: 0.05em;
  }
}

@media (width < 768px) {
  .firstview-action img {
    width: 1.1rem;
    height: 1.35rem;
  }

  .scroll-chapter--mission {
    height: 145svh;
  }

  .scroll-chapter--service {
    height: 165svh;
  }

  .scroll-chapter--footer {
    height: 135svh;
  }
}

@media (width < 1200px) {
  .scroll-chapter__stage {
    min-height: 560px;
  }
}

@media (width < 768px) {
  .chapter-title {
    font-size: clamp(1.25rem, 5.7vw, 1.8rem);
    letter-spacing: 0.14em;
  }
}

@media (width < 1200px) {
  .chapter-content {
    padding: 4.8rem 0.85rem 0.85rem;
  }

  .mission-content {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 0.7rem;
    padding-inline: 1.2rem;
  }

  .mission-content__copy {
    grid-template-areas:
      "kicker"
      "body"
      "."
      "heading"
      "button";
    grid-template-rows: auto auto minmax(0.7rem, 1fr) auto auto;
    align-self: start;
    padding-bottom: 0;
    transform: none;
  }

  .mission-content .section-kicker {
    margin-bottom: 0.45rem;
  }

  .mission-content__heading {
    align-self: auto;
    margin-top: 0.35rem;
    font-size: clamp(1.8rem, 8.8vw, 2.8rem);
    line-height: 1.3;
    white-space: normal;
  }

  .mission-content__body {
    margin-top: 0;
    font-size: clamp(0.62rem, 2.65vw, 0.76rem);
    letter-spacing: 0.035em;
    line-height: 1.75;
  }

  .mission-content__visual {
    align-self: stretch;
    margin: 0;
  }

  .mission-content__visual img {
    width: min(100%, 30rem);
    max-height: 44svh;
  }

  .more-button {
    grid-area: button;
    position: relative;
    top: auto;
    left: auto;
    bottom: auto;
    min-height: 3rem;
    margin-left: 0;
    margin-top: 0.65rem;
    font-size: 0.7rem;
  }

  .service-content {
    gap: 0.65rem;
    padding-inline: 0.65rem;
  }
}

@media (width < 768px) {
  .service-content__heading {
    align-items: flex-start;
    gap: 0.5rem;
  }

  .service-content__heading h2 {
    font-size: clamp(0.86rem, 3.8vw, 1rem);
    letter-spacing: 0.04em;
    text-align: right;
  }
}

@media (width < 1200px) {
  .service-content__heading .section-kicker {
    font-size: 0.66rem;
  }
}

@media (width < 768px) {
  .service-list {
    gap: 0.55rem;
  }

  .service-card {
    border-radius: 0.9rem;
  }
}

@media (width < 1200px) {
  .service-card__details {
    grid-template-columns: 1fr auto;
    grid-template-rows: 1fr auto;
    gap: 0.25rem 0.65rem;
    padding: 0.8rem 0.9rem;
  }

  .service-card__phrase {
    align-self: start;
  }

  .service-card__phrase small {
    font-size: 0.56rem;
  }

  .service-card__phrase strong {
    font-size: clamp(1.25rem, 6vw, 1.65rem);
  }

  .service-card__name {
    grid-column: 1 / -1;
    justify-self: start;
    font-size: clamp(1.55rem, 8vw, 2.2rem);
  }

  .service-card__audience {
    align-self: start;
    font-size: 0.58rem;
    line-height: 1.55;
  }
}

@media (width < 768px) {
  .service-card__hover {
    font-size: 0.68rem;
  }
}

@media (width < 1200px) {
  .footer-content {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
    align-items: start;
    gap: 0.8rem;
    padding-inline: 1.25rem;
  }

  .footer-content__logo-wrap {
    width: 9rem;
    height: 3.2rem;
  }

  .footer-content__logo {
    width: 9.5rem;
    height: 9.5rem;
  }

  .footer-content__brand p {
    margin-top: 0.5rem;
    font-size: 0.78rem;
  }

  .footer-content__nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    align-self: center;
  }

  .footer-content__nav h2 {
    margin-bottom: 0.65rem;
    font-size: 0.72rem;
  }

  .footer-content__nav button,
  .footer-content__nav a,
  .footer-content__nav span {
    padding-block: 0.2rem;
    font-size: 0.58rem;
    letter-spacing: 0.025em;
    line-height: 1.45;
  }

  .footer-content__license {
    justify-content: flex-end;
    font-size: 0.5rem;
  }
}

@media (width < 768px) {
  .footer-content__license-mark {
    width: 2rem;
    font-size: 0.52rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .intro,
.intro__char{
    animation-duration: 1ms;
    animation-delay: 0ms;
    transition-duration: 1ms;
  }
}

/* 日本語の改行：文節の途中で折り返さない（Chrome・Edge）。2026-10-23 追加 */
main {
  word-break: auto-phrase;
}

/* 段落の最後の行に1語だけが残らないようにする（Chrome・Edge） */
main p,
main li,
main dd {
  text-wrap: pretty;
}
