:root {
  --ink: #111111;
  --muted: #777d86;
  --yellow: #ffdc3d;
  --blue: #b4ddf8;
  --line: rgba(17, 17, 17, 0.15);
  --content-width: 1440px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: #ffffff;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  text-rendering: optimizeLegibility;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 10px;
  right: 0;
  left: 0;
  background: transparent;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 96px, var(--content-width));
  min-height: 48px;
  margin: 0 auto;
}

.brand-mark {
  display: grid;
  width: auto;
  height: auto;
  place-items: center;
  transition: opacity 180ms ease;
}

.brand-mark img {
  display: block;
  width: 220px;
  height: auto;
  filter: brightness(0);
}

.brand-mark:hover,
.brand-mark:focus-visible {
  opacity: 0.66;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.6vw, 44px);
  font-size: 0.9rem;
  font-weight: 700;
}

.site-nav > a:not(.header-cta) {
  position: relative;
  padding: 12px 0;
}

.site-nav > a:not(.header-cta)::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav > a:not(.header-cta):hover::after,
.site-nav > a:not(.header-cta):focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta,
.button-primary {
  background: var(--yellow);
}

.header-cta {
  display: inline-grid;
  flex-shrink: 0;
  min-width: 180px;
  min-height: 50px;
  padding: 0 22px;
  place-items: center;
  border-radius: 9px;
  font-size: 0.96rem;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.header-cta:hover,
.header-cta:focus-visible,
.button:hover,
.button:focus-visible {
  box-shadow: 4px 4px 0 rgba(17, 17, 17, 0.16);
  transform: translate(-2px, -2px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  position: relative;
  display: flex;
  min-height: min(720px, 100svh);
  overflow: hidden;
  isolation: isolate;
}

.hero-background {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: url("images/fv-bg.png") center bottom / cover no-repeat;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(420px, 0.92fr) minmax(520px, 1.08fr);
  align-items: center;
  gap: clamp(20px, 2.6vw, 56px);
  width: min(100% - 96px, var(--content-width));
  padding: 92px 0 36px;
  margin: 0 auto;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-left: clamp(18px, 3.5vw, 58px);
}

.hero-text {
  display: block;
  width: min(100%, 720px);
  height: auto;
  transform: scale(1.08);
  transform-origin: left center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  width: min(100%, 520px);
  margin-top: clamp(28px, 3.2vw, 44px);
}

.button {
  display: inline-grid;
  flex: 1 1 0;
  width: 0;
  min-width: 0;
  min-height: clamp(58px, 5vw, 68px);
  padding: 0 clamp(16px, 2vw, 22px);
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 9px;
  font-size: clamp(0.92rem, 1.1vw, 1.05rem);
  font-weight: 800;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.92);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: #ffffff;
}

.hero-media {
  position: relative;
  z-index: 1;
  align-self: center;
  justify-self: end;
  width: min(100%, 700px);
  margin-right: -48px;
}

.video-frame {
  position: relative;
  overflow: visible;
  width: 100%;
  aspect-ratio: auto;
  background: transparent;
}

.hero-video-source {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.hero-canvas {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: transparent;
  transform: translateX(clamp(0px, 8vw, 112px)) scale(1.5);
  transform-origin: right center;
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
  transform: scale(1.28);
  transform-origin: right center;
}

.button-primary {
  border: 0;
}

.hero-video-source.video-fallback {
  position: static;
  width: 100%;
  height: 100%;
  opacity: 1;
  object-fit: contain;
  filter: saturate(1.04);
}

.scroll-cue {
  display: none;
}

.about-section {
  position: relative;
  min-height: auto;
  overflow: hidden;
  isolation: isolate;
  background: #e8f5fb;
}

.about-background {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.68) 0%, rgba(255, 255, 255, 0.48) 34%, rgba(255, 255, 255, 0.08) 70%, rgba(255, 255, 255, 0.01) 100%), url("images/aboutus-bg.png");
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
}

.about-inner {
  display: flex;
  flex-direction: column;
  width: min(100% - 96px, var(--content-width));
  min-height: auto;
  padding: clamp(36px, 4.8vw, 72px) 0 clamp(34px, 4vw, 58px);
  margin: 0 auto;
}

.about-heading {
  width: min(100%, 650px);
  padding-left: clamp(0px, 1vw, 16px);
}

.section-kicker {
  margin: 0 0 2px;
  color: var(--muted);
  font-size: clamp(0.92rem, 1.25vw, 1.05rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.1;
}

.about-heading,
.company-heading {
  display: grid;
  grid-template-columns: 6px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 13px;
  row-gap: 2px;
}

.about-heading::before,
.company-heading::before {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 6px;
  content: "";
  background: var(--yellow);
}

.about-heading::before {
  background: #4eb9dc;
}

.section-kicker {
  grid-column: 2;
  grid-row: 1;
}

.about-heading h2 {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0.04em;
}

.about-card {
  width: min(100%, 900px);
  margin-top: clamp(18px, 1.8vw, 28px);
  padding: 0 0 0 clamp(0px, 1vw, 16px);
}

.about-card p {
  margin: 0;
  color: #293238;
  font-size: clamp(0.86rem, 1.22vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.045em;
  line-height: 1.55;
  text-shadow: 0 1px rgba(255, 255, 255, 0.5);
}

.about-card p + p {
  margin-top: 2px;
}

.about-card .about-emphasis {
  margin-top: 4px;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.55;
}

.about-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: min(100%, 760px);
  margin: clamp(22px, 2vw, 32px) 0 0;
  padding: 0;
  list-style: none;
}

.about-points li {
  display: grid;
  min-height: 72px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 4px 4px 0 rgba(255, 255, 255, 0.3);
}

.about-points img {
  display: block;
  width: min(100% - 18px, 353px);
  height: auto;
}

.message-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #e4f3fc;
}

.message-section::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: url("images/massage-bg.png") center center / cover no-repeat;
}

.message-inner {
  width: min(100% - 96px, var(--content-width));
  padding: clamp(68px, 7vw, 108px) 0 clamp(76px, 8vw, 122px);
  margin: 0 auto;
}

.message-heading {
  display: grid;
  grid-template-columns: 6px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 13px;
  row-gap: 2px;
  width: min(100%, 620px);
  padding-left: clamp(0px, 1.8vw, 26px);
}

.message-heading::before {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 6px;
  content: "";
  background: #439ce9;
}

.message-heading .section-kicker {
  grid-column: 2;
  grid-row: 1;
}

.message-heading h2 {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0.04em;
}

.message-content {
  display: grid;
  grid-template-columns: minmax(270px, 360px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(34px, 5vw, 76px);
  width: min(100%, 1140px);
  margin: clamp(34px, 4vw, 58px) auto 0;
}

.message-portrait {
  position: relative;
  width: min(100%, 360px);
  margin: 0;
}

.message-section.has-scroll-fade .message-portrait,
.message-section.has-scroll-fade .message-body {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.message-section.has-scroll-fade .message-portrait.is-visible,
.message-section.has-scroll-fade .message-body.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.message-portrait > img {
  display: block;
  width: 100%;
  height: auto;
}

.message-callout {
  position: absolute;
  right: auto;
  bottom: 26px;
  left: -92px;
  width: clamp(260px, 25vw, 390px);
  padding: 0;
  background: transparent;
  transform: rotate(-0.5deg);
}

.message-callout img {
  display: block;
  width: 100%;
  height: auto;
}

.message-body {
  max-width: 748px;
  padding-top: 1px;
  color: #26353f;
}

.message-body p {
  margin: 0;
  font-size: clamp(0.88rem, 1.15vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.045em;
  line-height: 1.72;
}

.message-body p + p {
  margin-top: 12px;
}

.message-signature {
  display: grid;
  gap: 2px;
  margin-top: 19px;
  color: var(--ink);
  font-size: clamp(0.85rem, 1.1vw, 0.98rem);
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0.05em;
}

@media (prefers-reduced-motion: reduce) {
  .message-section.has-scroll-fade .message-portrait,
  .message-section.has-scroll-fade .message-body,
  .message-section.has-scroll-fade .message-portrait.is-visible,
  .message-section.has-scroll-fade .message-body.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.company-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #e4f3fc;
}

.company-section::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: url("images/company-bg.png") center center / cover no-repeat;
}

.company-inner {
  width: min(100% - 96px, var(--content-width));
  padding: clamp(72px, 8vw, 126px) 0 clamp(76px, 8vw, 128px);
  margin: 0 auto;
}

.company-heading {
  padding-left: clamp(0px, 2vw, 30px);
}

.company-heading h2 {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0.08em;
}

.company-table-wrap {
  width: min(100%, 980px);
  margin: clamp(38px, 5vw, 68px) auto 0;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  background: rgba(255, 255, 255, 0.94);
  font-size: clamp(0.82rem, 1.2vw, 0.96rem);
  line-height: 1.75;
}

.company-table th,
.company-table td {
  border: 2px solid #e4f3fc;
  vertical-align: middle;
}

.company-table th {
  width: 20%;
  padding: 12px 18px;
  background: rgba(180, 221, 248, 0.88);
  color: #243b4c;
  font-size: 0.9em;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
}

.company-table td {
  padding: 12px 28px;
  color: #333d43;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.site-map {
  width: 100%;
  background: #eef4f7;
}

.site-map iframe {
  display: block;
  width: 100%;
  height: clamp(320px, 32vw, 480px);
  border: 0;
}

.site-footer {
  background: #ffffff;
}

.footer-inner {
  width: min(100% - 96px, var(--content-width));
  padding: 28px 0 4px;
  margin: 0 auto;
}

.footer-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(36px, 6vw, 78px);
}

.footer-logo {
  display: grid;
  width: 212px;
  height: 46px;
  place-items: center;
  transition: opacity 180ms ease;
}

.footer-logo:hover,
.footer-logo:focus-visible {
  opacity: 0.62;
}

.footer-logo img {
  display: block;
  width: min(100% - 20px, 190px);
  height: auto;
  filter: brightness(0);
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 30px);
  justify-content: flex-start;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.footer-nav a {
  position: relative;
  padding: 8px 0;
}

.footer-nav a::after {
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.footer-nav a:hover::after,
.footer-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.footer-copyright {
  width: 100%;
  padding-top: 5px;
  margin: 14px 0 0;
  border-top: 1px solid #9a9a9a;
  color: #626262;
  font-size: 0.68rem;
  line-height: 1.2;
  text-align: center;
}

@media (max-width: 980px) {
  .header-inner,
  .hero-inner {
    width: min(100% - 80px, var(--content-width));
  }

  .about-inner {
    width: min(100% - 48px, var(--content-width));
  }

  .site-nav {
    gap: 18px;
    font-size: 0.8rem;
  }

  .brand-mark img {
    width: 180px;
  }

  .header-cta {
    min-width: 158px;
    min-height: 44px;
    padding: 0 16px;
    font-size: 0.88rem;
  }

  .hero-inner {
    grid-template-columns: minmax(340px, 0.85fr) minmax(400px, 1.15fr);
    gap: 8px;
  }

  .hero-copy {
    padding-left: clamp(20px, 6vw, 52px);
  }

  .hero-actions {
    width: min(100%, 430px);
    max-width: none;
  }

  .hero-actions .button {
    flex: 1 1 100%;
    width: 100%;
    white-space: normal;
    text-align: center;
    line-height: 1.4;
  }

  .hero-text {
    transform: scale(1.05);
  }

  .hero-media {
    margin-right: -10px;
  }

  .hero-canvas {
    transform: translateX(clamp(0px, 6vw, 64px)) scale(1.32);
  }

  .about-inner {
    grid-template-columns: minmax(0, 500px) minmax(160px, 1fr);
    gap: 0 34px;
  }

  .about-points {
    gap: 10px;
  }

  .message-inner {
    width: min(100% - 48px, var(--content-width));
  }

  .message-content {
    grid-template-columns: minmax(230px, 300px) minmax(0, 1fr);
    gap: 34px;
  }

  .message-callout {
    bottom: 18px;
    right: 0;
    left: auto;
    width: min(100%, 320px);
  }
}

/* Keep the FV controls inside the copy column while the desktop layout is
   still too narrow for two full-width buttons to sit side by side. */
@media (min-width: 981px) and (max-width: 1143px) {
  .hero-inner {
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    gap: clamp(12px, 2vw, 24px);
  }

  .hero-copy {
    padding-left: clamp(18px, 3.5vw, 42px);
  }

  .hero-actions {
    width: min(100%, 430px);
  }

  .hero-actions .button {
    flex: 1 1 100%;
    width: 100%;
    white-space: normal;
    text-align: center;
    line-height: 1.4;
  }

  .hero-media {
    margin-right: -10px;
  }
}

@media (min-width: 1536px) {
  .hero-media {
    margin-right: calc((var(--content-width) - 100vw) / 2 + 72px);
  }
}

@media (max-width: 760px) {
  .site-header {
    top: 0;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(10px);
  }

  .header-inner {
    width: min(100% - 32px, var(--content-width));
    min-height: 70px;
  }

  .brand-mark {
    width: 198px;
    height: 46px;
  }

  .brand-mark img {
    width: 190px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 70px;
    right: 16px;
    left: 16px;
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 40px rgba(17, 17, 17, 0.12);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-header.menu-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav > a:not(.header-cta) {
    padding: 14px 12px;
  }

  .site-nav > a:not(.header-cta)::after {
    right: 12px;
    left: 12px;
    bottom: 5px;
  }

  .header-cta {
    margin-top: 6px;
  }

  .menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    min-height: 640px;
  }

  .hero-background {
    background-image: url("images/fv-sp-bg.png");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
  }

  .hero-inner {
    position: relative;
    display: block;
    width: 100%;
    min-height: 640px;
    padding: 126px 16px 56px;
  }

  .hero-copy {
    position: static;
    width: 100%;
    padding: 0;
  }

  .hero-text {
    position: relative;
    z-index: 2;
    width: min(100%, 360px);
    margin: 0 auto;
    transform: none;
  }

  .hero-actions {
    position: absolute;
    left: 16px;
    z-index: 3;
    bottom: 34px;
    justify-content: flex-start;
    width: min(100%, 280px);
    margin-top: 0;
  }

  .button {
    flex: 1 1 200px;
    width: auto;
    min-width: 0;
  }

  .hero-actions {
    width: min(100%, 280px);
    max-width: 280px;
  }

  .hero-media {
    position: absolute;
    z-index: 1;
    top: 232px;
    right: -40%;
    width: 150%;
    max-width: none;
    margin: 0;
    pointer-events: none;
  }

  .hero-canvas {
    transform: none;
  }

  .video-frame {
    aspect-ratio: auto;
  }

  .scroll-cue {
    display: none;
  }

  .about-section {
    min-height: auto;
  }

  .about-background {
    inset: -10% 0;
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0.6) 55%, rgba(255, 255, 255, 0.18) 100%), url("images/aboutus-sp-bg.png");
    background-position: 65% center;
    background-attachment: scroll;
    transform: translate3d(0, var(--about-parallax-y, 0px), 0) scale(1.09);
    transform-origin: center center;
    will-change: transform;
  }

  .about-inner {
    display: block;
    width: min(100% - 32px, 620px);
    min-height: auto;
    padding: 80px 0 72px;
  }

  .about-heading {
    padding-left: 0;
  }

  .about-heading h2 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .about-card {
    width: 100%;
    margin-top: 24px;
    padding: 0;
    box-shadow: none;
  }

  .about-card p {
    font-size: 0.92rem;
    letter-spacing: 0.05em;
    line-height: 1.8;
  }

  .about-points {
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
    margin-top: 42px;
  }

  .about-points li {
    min-height: 76px;
    justify-items: start;
    padding: 0 14px;
  }

  .about-points img {
    width: min(100%, 353px);
  }

  .message-inner {
    width: min(100% - 32px, 620px);
    padding: 80px 0 88px;
  }

  .message-section::before {
    background-image: url("images/massage-sp-bg.png");
  }

  .message-heading {
    padding-left: 0;
  }

  .message-heading h2 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .message-content {
    display: block;
    width: 100%;
    margin-top: 30px;
  }

  .message-portrait {
    width: min(100%, 360px);
    margin: 0 auto 44px;
  }

  .message-callout {
    bottom: 18px;
    left: -12px;
    width: min(78vw, 320px);
  }

  .message-body {
    padding-top: 0;
  }

  .message-body p {
    font-size: 0.92rem;
    line-height: 1.85;
  }

  .message-body p + p {
    margin-top: 14px;
  }

  .message-signature {
    margin-top: 22px;
    font-size: 0.88rem;
  }

  .company-inner {
    width: min(100% - 32px, 620px);
    padding: 80px 0 88px;
  }

  .company-heading {
    padding-left: 0;
  }

  .company-heading h2 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .company-table-wrap {
    margin-top: 28px;
  }

  .company-table {
    font-size: 0.78rem;
    line-height: 1.6;
  }

  .company-table th {
    width: 28%;
    padding: 10px 6px;
  }

  .company-table td {
    padding: 10px 12px;
    letter-spacing: 0.02em;
    overflow-wrap: anywhere;
  }

  .footer-inner {
    width: min(100% - 32px, 620px);
    padding-top: 24px;
  }

  .footer-navigation {
    display: block;
  }

  .footer-logo {
    width: min(212px, 100%);
    margin: 0 auto 18px;
  }

  .footer-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px 18px;
    justify-items: center;
    font-size: 0.76rem;
  }

  .footer-copyright {
    margin-top: 18px;
  }
}

@media (min-width: 761px) and (max-width: 1360px) {
  .message-callout {
    right: auto;
    left: 0;
    width: min(100%, 320px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }

  .about-background {
    background-attachment: scroll;
  }
}

/* Merged from recruit.css */
:root {
  --ink: #272727;
  --yellow: #ffda34;
  --blue: #a8c4e9;
  --paper: #fffef5;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  text-rendering: optimizeLegibility;
}

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

.recruit-page { overflow: hidden; }

.recruit-hero {
  position: relative;
  min-height: min(760px, 100svh);
  --recruit-side-padding: max(48px, calc((100vw - var(--content-width)) / 2));
  padding: clamp(48px, 6vw, 78px) var(--recruit-side-padding) clamp(54px, 7vw, 92px);
  isolation: isolate;
  background: url("images/recruit-bg.png") center / cover no-repeat;
}

.back-link {
  position: absolute;
  top: clamp(24px, 3vw, 42px);
  right: clamp(24px, 6vw, 92px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid rgba(39, 39, 39, 0.18);
  border-radius: 999px;
  background: rgba(255,255,255,.66);
  font-size: .9rem;
  font-weight: 800;
  transition: background-color 180ms ease, transform 180ms ease;
}

.back-link:hover, .back-link:focus-visible { background: #fff; transform: translateX(-2px); }

.recruit-heading {
  position: relative;
  z-index: 1;
  width: fit-content;
  margin-left: clamp(0px, 2vw, 30px);
  padding-left: 10px;
  border-left: 5px solid var(--yellow);
}

.recruit-heading p {
  margin: 0 0 1px;
  color: #85898e;
  font-size: clamp(.82rem, 1.4vw, 1.05rem);
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.1;
}

.recruit-heading h1,
.recruit-heading h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3.7vw, 3rem);
  font-weight: 900;
  letter-spacing: .04em;
  line-height: 1.08;
}

.job-list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 4.2vw, 54px);
  width: min(100%, 1068px);
  margin: clamp(76px, 11vw, 116px) auto 0;
}

.job-card {
  position: relative;
  display: block;
  border-radius: 22px;
  filter: drop-shadow(0 10px 0 rgba(39,39,39,.04));
  transition: transform 220ms ease, filter 220ms ease;
}

.job-card:hover, .job-card:focus-within { transform: translateY(-8px); filter: drop-shadow(0 16px 0 rgba(39,39,39,.07)); }

.job-card > img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
}

.job-link {
  position: absolute;
  right: auto;
  left: 8%;
  bottom: 2.5%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54%;
  min-width: 136px;
  min-height: 50px;
  padding: 4px 12px 4px 0;
  border: 1px solid #929292;
  border-radius: 999px;
  background: var(--paper);
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  font-size: .84rem;
  font-weight: 800;
  transition: color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.job-link::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: var(--yellow);
  transform: translateX(-102%);
  transition: transform 320ms cubic-bezier(.22,.61,.36,1);
}

.job-link-content {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  margin-left: -1px;
  gap: 9px;
  position: relative;
  z-index: 1;
  transition: transform 320ms cubic-bezier(.22,.61,.36,1);
}

.job-label {
  flex: 1;
  text-align: center;
  white-space: nowrap;
}

.job-link:hover,
.job-link:focus-visible {
  background: transparent;
  box-shadow: 3px 3px 0 rgba(39,39,39,.14);
}

.job-link:hover::before,
.job-link:focus-visible::before {
  transform: translateX(0);
}

.job-link:hover .job-link-content,
.job-link:focus-visible .job-link-content {
  transform: translateX(4px);
}

.job-arrow {
  display: grid;
  flex: 0 0 clamp(28px, 3.2vw, 36px);
  width: clamp(28px, 3.2vw, 36px);
  height: clamp(28px, 3.2vw, 36px);
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--ink);
  background: var(--yellow);
  font-size: 1.12rem;
  line-height: 1;
  transition: background-color 180ms ease, transform 180ms ease;
}

.job-link:hover .job-arrow,
.job-link:focus-visible .job-arrow {
  background: #fff;
}

.job-card > .recruit-player {
  position: absolute;
  z-index: 2;
  right: -8%;
  bottom: -4%;
  width: clamp(76px, 24%, 112px);
  height: auto;
}

.recruit-player > img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
}

.job-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
  background: #eaf0f6;
}

.job-detail {
  min-height: 250px;
  padding: clamp(34px, 5vw, 64px) clamp(24px, 4vw, 62px);
  background: #fff;
}

.detail-number { color: #8aafe2; font-size: 2rem; font-weight: 900; line-height: 1; }

.detail-kicker { margin: 14px 0 4px; color: #8a8f95; font-size: .8rem; font-weight: 900; letter-spacing: .1em; }

.job-detail h2 { margin: 0 0 16px; font-size: clamp(1.4rem, 2.2vw, 2rem); line-height: 1.25; }

.job-detail p:last-child { max-width: 30rem; margin: 0; color: #4c535b; font-size: .96rem; font-weight: 600; line-height: 1.85; }

.recruit-footer {
  display: flex;
  justify-content: space-between;
  width: min(100% - 48px, 1200px);
  padding: 22px 0;
  margin: 0 auto;
  color: #777d86;
  font-size: .78rem;
  font-weight: 700;
}

.recruit-footer a:hover, .recruit-footer a:focus-visible { color: var(--ink); }

@media (max-width: 760px) {
  .recruit-hero {
    min-height: auto;
    padding: 86px 16px 70px;
    background-image: url("images/recruit-sp-bg.png");
    background-position: 35% top;
    background-size: 100% auto;
  }

  .back-link { top: 22px; right: 16px; font-size: .82rem; }

  .recruit-heading { margin-left: 8px; }

  .job-list {
    grid-template-columns: 1fr;
    gap: 18px;
    width: min(100%, 390px);
    margin-top: 54px;
  }

  .job-card { width: min(100%, 310px); margin: 0 auto; }

  .job-card > .recruit-player { right: 6px; bottom: -4%; width: 86px; }

  .job-details { grid-template-columns: 1fr; gap: 2px; }
  .job-detail { min-height: 0; padding: 36px 24px 42px; }

  .recruit-footer { display: grid; gap: 8px; width: min(100% - 32px, 390px); line-height: 1.5; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
