/* ================================================
   株式会社ノッティングヒル — style.css
   Primary: #032638  Accent: #00b4d8
   ================================================ */

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 18px; scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  font-weight: 400;
  color: #333;
  background: #fff;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { background: none; border: none; cursor: pointer; font: inherit; }

/* ================================================
   Keyframes
   ================================================ */
@keyframes bg-slide {
  0%   { clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); }
  88%  { clip-path: polygon(100% 0, 0 0, 0 100%, 100% 100%); }
  100% { clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%); }
}
@keyframes scroll-down {
  0%  { opacity: 0; }
  50% { opacity: 1; }
}
@keyframes crossfade-slide {
  0%     { opacity: 0; z-index: 1; }
  4.76%  { opacity: 1; }
  33.33% { opacity: 1; z-index: 3; }
  42.85% { opacity: 0; }
  100%   { opacity: 0; z-index: 1; }
}
@keyframes ticker {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-33.333%, 0, 0); }
}
@keyframes heroLetterIn {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroTaglineIn {
  from { opacity: 0; transform: translateY(40px); filter: blur(6px); }
  to   { opacity: 1; transform: translateY(0);    filter: blur(0); }
}
@keyframes fade { 100% { opacity: 1; } }

/* ================================================
   Variables
   ================================================ */
:root {
  --green:       #032638;   /* primary navy */
  --green-dark:  #021929;
  --green-mid:   #054a6f;
  --green-light: #0a7296;
  --accent:      #00b4d8;   /* bright teal — hovers / arrows / counters */
  --dark:  #1e293b;
  --mid:   #475569;
  --gray:  #64748b;
  --white: #fff;
  --inner: 1180px;
}

/* ================================================
   Header — heartbeats inspired: white bg, logo L / nav R
   ================================================ */
.g-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid rgba(3, 38, 56, 0.08);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.g-header.header-hidden {
  transform: translateY(-100%);
}
body.is-scrolled .g-header {
  box-shadow: 0 2px 20px rgba(3, 38, 56, 0.08);
}

.g-header__inner {
  max-width: calc(var(--inner) + min(80px, 5.556vw));
  margin: 0 auto;
  padding: 0 min(40px, 2.778vw);
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.g-header__logo { flex-shrink: 0; }
.g-header__logo a {
  display: block;
  transition: opacity 0.2s ease;
}
.g-header__logo a:hover { opacity: 0.6; }
.g-header__logo img {
  height: 26px;
  width: auto;
  filter: brightness(0);
}

/* Desktop nav */
.g-header__nav { display: flex; align-items: center; }
.g-header__list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: min(36px, 2.5vw);
}
.g-header__item { position: relative; }
.g-header__link {
  display: block;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}
.g-header__link:hover { color: var(--accent); }
.g-header__link.is-current { color: var(--accent); }

/* Hamburger — simple dark lines, no bg circle */
.g-header__btn {
  position: relative;
  display: none;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: 16px;
}
.g-header__btn span {
  position: absolute;
  width: 24px;
  height: 1.5px;
  background: var(--green);
  transition: 0.3s ease;
}
.g-header__btn span:nth-of-type(1) { transform: translateY(6px); }
.g-header__btn span:nth-of-type(3) { transform: translateY(-6px); }
.g-header__btn.is-open span:nth-of-type(1) { transform: rotate(45deg); }
.g-header__btn.is-open span:nth-of-type(2) { opacity: 0; }
.g-header__btn.is-open span:nth-of-type(3) { transform: rotate(-45deg); }

/* ================================================
   Nav Drawer — green gradient, white text
   ================================================ */
.g-nav {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 540px;
  z-index: 150;
  opacity: 0;
  transform: translateX(20%);
  transition: opacity 1s cubic-bezier(0, 0.77, 0, 1), transform 1s cubic-bezier(0, 0.77, 0, 1);
  filter: drop-shadow(-18px 0px 14px rgba(0, 0, 0, 0.2));
  pointer-events: none;
}
.g-nav.is-open {
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
}
.g-nav__wrap {
  height: 100%;
  background: linear-gradient(160deg, #010f18 0%, #021929 40%, #032638 70%, #054a6f 100%);
  color: #fff;
  overflow-y: scroll;
  padding: 100px 80px 60px 60px;
}
.g-nav__list { margin-bottom: 0; }
.g-nav__item {
  padding-bottom: 12px;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.g-nav__item:not(:last-of-type) { margin-bottom: 20px; }
.g-nav__item::before {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  height: 1px;
  width: 32px;
  background: #fff;
}
.g-nav__link, .g-nav__plus {
  display: inline-block;
  width: 100%;
  letter-spacing: 0.024em;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
}
.g-nav__plus { position: relative; }
.g-nav__plus::before, .g-nav__plus::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  height: 1px;
  width: 16px;
  background: #fff;
}
.g-nav__plus::after {
  transform: rotate(90deg);
  transition: 0.2s;
}
.g-nav__plus.is-open::after { transform: rotate(0); }
.g-nav__sub-list { display: none; }
.g-nav__sub-item { padding-top: 17px; font-size: 0.875rem; }

.g-nav__footer { padding-top: 0; }
.g-nav__footer-list { margin-bottom: 75px; }
.g-nav__footer-item:not(:last-of-type) { margin-bottom: 32px; }
.g-nav__footer-link {
  display: inline-block;
  letter-spacing: 0.024em;
  font-weight: 600;
  font-size: 0.875rem;
  color: #fff;
}
.g-nav__copy {
  font-size: 0.75rem;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,0.7);
}

/* Nav overlay */
.g-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 140;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
.g-nav-overlay.is-open { opacity: 1; pointer-events: all; }

/* ================================================
   Logo
   ================================================ */
/* g-logo は廃止 — ロゴは g-header__logo に統合 */
.g-logo { display: none; }

/* ================================================
   Shared: Section buttons (text + circle arrow)
   ================================================ */
.m-top-statement__btn,
.m-top-service__btn,
.m-top-news__btn,
.m-top-staff__btn,
.m-top-recruit__btn {
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 2.222;
  letter-spacing: 0.024em;
  color: var(--mid);
  cursor: pointer;
}
.m-top-statement__btn em,
.m-top-service__btn em,
.m-top-news__btn em,
.m-top-staff__btn em,
.m-top-recruit__btn em {
  display: block;
  font-style: normal;
  transform-origin: center top;
  transform-style: preserve-3d;
  will-change: transform;
}
.m-top-statement__btn em::after,
.m-top-service__btn em::after,
.m-top-news__btn em::after,
.m-top-staff__btn em::after,
.m-top-recruit__btn em::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  transform-origin: center top;
  transform: translate3d(0, 105%, 0) rotateX(-90deg);
}
/* Circle arrow button */
.m-top-statement__btn span,
.m-top-service__btn span,
.m-top-news__btn span,
.m-top-staff__btn span,
.m-top-recruit__btn span {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 18px;
  width: 44px;
  height: 44px;
  background: var(--green);
  border: solid 1px var(--green);
  border-radius: 50%;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.16));
  overflow: hidden;
  will-change: transform;
  flex-shrink: 0;
}
.m-top-statement__btn span::before,
.m-top-service__btn span::before,
.m-top-news__btn span::before,
.m-top-staff__btn span::before,
.m-top-recruit__btn span::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top right, #021929, #054a6f);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.2s ease-out;
}
.m-top-statement__btn span::after,
.m-top-service__btn span::after,
.m-top-news__btn span::after,
.m-top-staff__btn span::after,
.m-top-recruit__btn span::after {
  content: "";
  position: relative;
  z-index: 2;
  display: inline-block;
  width: 8px;
  height: 8px;
  color: #fff;
  border: 1px solid currentColor;
  border-left: 0;
  border-bottom: 0;
  box-sizing: border-box;
  transform: translateX(-25%) rotate(45deg);
}
/* Hover effects */
.m-top-statement__btn:hover em,
.m-top-service__btn:hover em,
.m-top-news__btn:hover em,
.m-top-staff__btn:hover em,
.m-top-recruit__btn:hover em {
  transform: translate3d(0, 0, -30px) rotateX(90deg);
  transition: transform 0.55s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.m-top-statement__btn:hover span::before,
.m-top-service__btn:hover span::before,
.m-top-news__btn:hover span::before,
.m-top-staff__btn:hover span::before,
.m-top-recruit__btn:hover span::before {
  transform: scaleX(1);
}

/* ================================================
   Shared: Minttl (green label that animates up)
   ================================================ */
.m-top-statement__minttl,
.m-top-news__minttl,
.m-top-recruit__minttl,
.m-top-service__subttl::before {
  color: var(--accent);
  font-size: 0.62rem;
  letter-spacing: 0.5em;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  text-transform: uppercase;
}
.m-top-recruit__minttl,
.m-top-service__subttl::before {
  opacity: 0;
  transform: translateY(1em);
  transition: opacity 1.2s cubic-bezier(0, 0.7, 0.45, 1), transform 1.2s cubic-bezier(0, 0.7, 0.45, 1);
}
.is-view .m-top-statement__minttl,
.is-view .m-top-recruit__minttl,
.is-view .m-top-service__subttl::before {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================
   Shared: Large BG title (opacity 0.14)
   ================================================ */
.m-top-news__bgttl,
.m-top-staff__ttl,
.m-top-service__ttl {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  opacity: 0.14;
  font-size: min(7.625rem, 8.472vw);
}

/* ================================================
   Shared: Section title + slide-up
   ================================================ */
.m-top-news__ttl,
.m-top-service__subttl,
.m-top-statement__ttl,
.m-top-recruit__ttl {
  font-weight: 600;
  letter-spacing: 0.024em;
  font-size: 1.75rem;
  line-height: 1.571;
}
/* Slide-up text reveal */
.m-slide-up {
  display: block;
  clip-path: inset(0 0 -0.2em);
}
.m-slide-up__txt {
  display: inline-block;
  transform: translateY(calc(100% + 0.2em));
  transition: transform 1.2s cubic-bezier(0, 0.7, 0.45, 1);
}
.is-view .m-slide-up__txt { transform: translateY(0); }
.m-slide-up:nth-of-type(1) .m-slide-up__txt { transition-delay: 0.25s; }
.m-slide-up:nth-of-type(2) .m-slide-up__txt { transition-delay: 0.5s; }

/* ================================================
   Shared: Category / tag pills
   ================================================ */
.m-top-news__category-item a,
.m-top-service__tag-item {
  display: flex;
  align-items: center;
  color: var(--green);
  background: #fff;
  border: 1px solid var(--green) !important;
  font-weight: 600;
  padding: 10px 15px;
  border-radius: 30px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: color 0.3s ease-out, background-color 0.3s ease-out;
}
.m-top-news__category-item a::after,
.m-top-service__tag-item::after {
  content: "";
  display: inline-block;
  margin-left: 28px;
  width: 8px;
  height: 8px;
  border: 1px solid var(--green);
  background: #fff;
  border-radius: 50%;
  flex-shrink: 0;
}
.m-top-news__category-item a.is-current,
.is-current.m-top-service__tag-item {
  color: #fff;
  background: var(--green);
  border: 1px solid var(--green) !important;
}
.m-top-news__category-item a.is-current::after,
.is-current.m-top-service__tag-item::after {
  border: 1px solid #fff;
  background: var(--green);
}
.m-top-news__category-item a:hover {
  color: #fff;
  background: var(--green);
}
.m-top-service__tag-item:hover {
  color: #fff;
  background: var(--green);
}

/* ================================================
   Hero Section
   ================================================ */
.p-top { position: relative; }
.m-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 600px;
  background-color: #010f18;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  will-change: transform;
  transform: translateZ(0);
}

/* Slideshow */
.m-hero__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.m-hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}
.m-hero__slide.is-active { opacity: 1; }
.m-hero__slide--1 { background-image: url('img/About/about1.jpg'); }
.m-hero__slide--2 { background-image: url('img/NH-pic_Image Enhancer.jpg'); background-position: center center; }
.m-hero__slide--3 { background-image: url('img/intro-carousel/6.jpg'); }
.m-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(1,15,24,0.90) 0%,
    rgba(2,25,41,0.82) 25%,
    rgba(3,38,56,0.68) 55%,
    rgba(5,74,111,0.60) 80%,
    rgba(1,15,24,0.88) 100%
  );
  background-size: 400% 400%;
  animation: heroGradient 18s ease infinite;
  z-index: 1;
}
.m-hero__wrap,
.m-hero__scroll { z-index: 2; }
@keyframes heroGradient {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.m-hero__wrap {
  position: relative;
  width: 100%;
  height: 760px;
  display: flex;
  align-items: flex-end;
}
/* Scroll indicator */
.m-hero__scroll {
  position: absolute;
  bottom: 32px;
  right: 3.958vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.625rem;
  letter-spacing: -0.02em;
}
.m-hero__scroll-txt {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: #fff;
  writing-mode: vertical-rl;
  padding-bottom: 68px;
}
.m-hero__scroll span {
  display: inline-block;
  width: 35px;
  height: 35px;
  color: var(--accent);
  border: 1px solid currentColor;
  border-left: 0;
  border-top: 0;
  box-sizing: border-box;
  transform: translateY(-18%) rotate(45deg);
  margin-top: -16px;
  opacity: 0;
  animation: scroll-down 2s linear infinite;
}
.m-hero__scroll span:nth-of-type(1) { animation-delay: 0.7s; }
.m-hero__scroll span:nth-of-type(2) { animation-delay: 0.8s; }
.m-hero__scroll span:nth-of-type(3) { animation-delay: 0.9s; }

.m-hero__inner {
  width: 100%;
  max-width: var(--inner);
  margin: 0 auto;
  padding: 0 min(40px, 2.778vw) 60px;
}
.m-hero__copy { position: relative; }
.m-hero__tagline {
  line-height: 1.9;
  opacity: 0;
}
.m-hero__tagline--1.is-in {
  animation: heroTaglineIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0s both;
}
.m-hero__tagline--2.is-in {
  animation: heroTaglineIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0s both;
}
.m-hero__tagline-line {
  display: inline;
  font-size: clamp(2rem, 4.2vw, 4.8rem);
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--dark);
  background: #fff;
  padding: 4px 14px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  text-shadow: none;
  white-space: nowrap;
}

/* Hero heading — word-by-word staggered reveal */
.m-hero__heading {
  font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'BIZ UDGothic', 'Meiryo', sans-serif;
  font-size: min(6vw, 4.8rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
  line-height: 1.15;
  display: flex;
  flex-wrap: nowrap;
  gap: 0.12em;
  margin-bottom: 28px;
  white-space: nowrap;
}
.m-hero__heading--stack {
  flex-direction: column;
  gap: 16px;
  white-space: normal;
}
.m-hero__word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
              transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.m-hero__word--eyebrow {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
  display: block;
}
.m-hero__word--main {
  font-size: clamp(2.6rem, 6.5vw, 5rem);
  font-weight: 800;
  white-space: nowrap;
  display: block;
}
.m-hero__heading.is-in .m-hero__word { opacity: 1; transform: translateY(0); }
.m-hero__heading.is-in .m-hero__word:nth-child(1) { transition-delay: 0s; }
.m-hero__heading.is-in .m-hero__word:nth-child(2) { transition-delay: 0.25s; }

/* Recruit hero variant */
.m-hero__heading--recruit {
  gap: 14px;
}
.m-hero__word--recruit-sub {
  display: block;
  font-size: clamp(1.05rem, 2.2vw, 1.6rem);
  font-weight: 500;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.75);
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
              transform 1s cubic-bezier(0.22, 1, 0.36, 1);
  text-shadow: 0 1px 12px rgba(0,0,0,0.4);
}
.m-hero__word--recruit-main {
  display: block;
  font-size: clamp(2.2rem, 4.8vw, 5.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.4;
  white-space: nowrap;
  letter-spacing: 0.01em;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
              transform 1s cubic-bezier(0.22, 1, 0.36, 1);
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.m-hero__heading--recruit.is-in .m-hero__word--recruit-sub { opacity: 1; transform: translateY(0); transition-delay: 0s; }
.m-hero__heading--recruit.is-in .m-hero__word--recruit-main { opacity: 1; transform: translateY(0); transition-delay: 0.22s; }
.m-hero__heading--recruit.is-in .m-hero__word--recruit-main:nth-child(2) { transition-delay: 0.22s; }
.m-hero__heading--recruit.is-in .m-hero__word--recruit-main:nth-child(3) { transition-delay: 0.40s; }
.m-hero__br-sp { display: none; }

.m-hero__recruit-txt {
  font-size: clamp(0.72rem, 1.1vw, 0.875rem);
  color: rgba(255,255,255,0.65);
  line-height: 1.9;
  margin-top: 22px;
  max-width: 500px;
  opacity: 0;
  animation: heroLetterIn 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.9s both;
}
.m-hero__recruit-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 12px 28px;
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: 100px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-decoration: none;
  opacity: 0;
  animation: heroLetterIn 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1.1s both;
  transition: background 0.2s, border-color 0.2s;
}
.m-hero__recruit-btn:hover { background: rgba(255,255,255,0.1); }

/* Hero Japanese subtitle */
.m-hero__ja {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.9;
  letter-spacing: 0.05em;
}
.m-hero__ja-txt {
  display: inline-block;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
              transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.m-hero__ja.is-in .m-hero__ja-txt { opacity: 1; transform: translateY(0); }
.m-hero__ja-em {
  color: var(--accent);
  font-weight: 800;
}
.m-hero__em {
  font-style: normal;
  color: var(--accent);
}

/* Hero company description */
.m-hero__desc {
  font-size: clamp(0.6875rem, 1.15vw, 0.875rem);
  color: rgba(255,255,255,0.8);
  line-height: 1.9;
  letter-spacing: 0.03em;
  margin-top: 22px;
  max-width: 640px;
  opacity: 0;
  animation: heroLetterIn 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1.4s both;
}

/* ================================================
   Statement Section
   ================================================ */
.m-top-statement {
  position: relative;
  z-index: 3;
  margin-top: 0;
  padding: 100px min(40px, 2.778vw) 120px;
  border-top: 1px solid rgba(0,0,0,0.07);
}
.m-top-statement__wrap { margin-bottom: 0; z-index: 1; position: relative; }
.m-top-statement__inner {
  max-width: 860px;
  margin: 0 auto;
}
.m-top-statement__container {
  display: flex;
  flex-direction: row-reverse;
  gap: min(60px, 4.444vw);
  padding-bottom: 0;
}
.m-top-statement__box {
  display: flex;
  justify-content: space-between;
  width: 61.356%;
  margin-right: -4.167vw;
}
.m-top-statement__pic {
  position: relative;
  width: 49.31%;
  border-radius: 8px;
  overflow: hidden;
  will-change: transform;
}
.m-top-statement__pic::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: var(--green);
  transform-origin: left center;
  transform: scaleX(1);
  transition: transform 2s cubic-bezier(0.16, 1, 0.3, 1) 0.25s;
}
.m-top-statement__pic::after {
  content: "";
  display: block;
  padding-top: 151.26%;
}
.m-top-statement__pic > img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.2);
  transition: transform 2s cubic-bezier(0.16, 1, 0.3, 1) 0.25s;
}
.m-top-statement__pic > img:nth-of-type(1) { animation-delay: -1s; z-index: 3; }
.m-top-statement__pic > img:nth-of-type(2) { animation-delay: 3s; z-index: 2; opacity: 0; }
.m-top-statement__pic > img:nth-of-type(3) { animation-delay: 7s; z-index: 1; opacity: 0; }
.m-top-statement__pic.is-view::before { transform: scaleX(0); }
.m-top-statement__pic.is-view > img {
  transform: scale(1);
  animation-name: crossfade-slide;
  animation-duration: 12s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
.m-top-statement__pic:nth-of-type(2)::before,
.m-top-statement__pic:nth-of-type(2) > img { transition-delay: 0.5s; }

/* statement pic columns (current HTML uses __pics/__pic-col instead of __box/__pic) */
.m-top-statement__pics {
  width: 34%;
  flex-shrink: 0;
}
.m-top-statement__pic-col {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(3,38,56,0.18);
}
.m-top-statement__pic-col::before {
  content: "";
  display: block;
  padding-top: 115%;
}
.m-top-statement__pic-col img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 1;
  animation: none;
}

.m-top-statement__bg {
  position: absolute;
  top: -1.875vw;
  right: -2.083vw;
  bottom: -2.083vw;
  left: 2.431vw;
  border-radius: 8px;
  overflow: hidden;
}
.m-top-statement__txtarea { margin-top: 12px; flex: 1; min-width: 0; }
.m-top-statement__minttl { margin-bottom: 2px; display: block; }
.m-top-statement__ttl { margin-bottom: 22px; }
.m-top-statement__mission {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 28px;
  padding: 14px 18px;
  border-left: 3px solid var(--accent);
  background: rgba(3,38,56,0.04);
  border-radius: 0 4px 4px 0;
}
.m-top-statement__mission-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent);
  white-space: nowrap;
}
.m-top-statement__mission-txt {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.5;
  letter-spacing: 0.04em;
}
/* 人物情報（写真下） */
.m-top-statement__person {
  margin-top: 16px;
  text-align: center;
}
.m-top-statement__person-role {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.m-top-statement__person-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.m-top-statement__person-edu {
  font-size: 0.68rem;
  color: rgba(3, 38, 56, 0.5);
  line-height: 1.7;
  letter-spacing: 0.03em;
}

/* アコーディオン */
.m-top-statement__profile {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}
.m-top-statement__accordion {
  border-top: 1px solid rgba(3, 38, 56, 0.08);
}
.m-top-statement__accordion:last-child {
  border-bottom: 1px solid rgba(3, 38, 56, 0.08);
}
.m-top-statement__accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 4px;
  cursor: pointer;
  list-style: none;
  gap: 12px;
  color: var(--dark);
}
.m-top-statement__accordion-trigger::-webkit-details-marker { display: none; }
.m-top-statement__accordion-trigger::marker { display: none; }
.m-top-statement__accordion-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  position: relative;
}
.m-top-statement__accordion-icon::before,
.m-top-statement__accordion-icon::after {
  content: '';
  position: absolute;
  background: var(--accent);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 1px;
}
.m-top-statement__accordion-icon::before { width: 12px; height: 1.5px; }
.m-top-statement__accordion-icon::after  { width: 1.5px; height: 12px; transition: transform 0.25s ease; }
.m-top-statement__accordion[open] .m-top-statement__accordion-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.m-top-statement__profile-block {
  display: grid;
  gap: 10px;
  align-items: flex-start;
}
.m-top-statement__profile-kicker {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--accent);
  text-transform: uppercase;
  background: rgba(3, 38, 56, 0.05);
  padding: 3px 8px;
  border-radius: 2px;
  margin-top: 2px;
}
.m-top-statement__profile-list {
  list-style: none;
  padding: 0 4px 0px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.m-top-statement__profile-list li {
  font-size: 0.78rem;
  color: rgba(3, 38, 56, 0.65);
  line-height: 1.6;
  letter-spacing: 0.02em;
}
.m-top-statement__txt {
  margin-bottom: 28px;
  font-size: 0.8125rem;
  line-height: 1.9;
  font-weight: 400;
  color: var(--mid);
}
.m-top-statement__more { display: flex; }

/* ================================================
   Service Section
   ================================================ */

/* ================================================
   Recruit banner
   ================================================ */
.m-top-recruit-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 20px min(40px, 2.778vw);
  background: linear-gradient(90deg, #e8a020 0%, #f0b830 50%, #e8a020 100%);
  background-size: 200% 100%;
  color: #fff;
  text-decoration: none;
  transition: background-position 0.4s, transform 0.2s;
  position: relative;
  overflow: hidden;
}
.m-top-recruit-banner:hover {
  background-position: 100% 0;
  transform: none;
}
.m-top-recruit-banner__label {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  background: #fff;
  color: #e8a020;
  padding: 3px 8px;
  border-radius: 2px;
  line-height: 1;
}
.m-top-recruit-banner__txt {
  font-size: clamp(0.9rem, 1.6vw, 1.1rem);
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #fff;
}
.m-top-recruit-banner__arrow {
  font-size: 1.1rem;
  font-weight: 700;
  animation: bannerBounce 1.2s ease-in-out infinite;
}
@keyframes bannerBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(4px); }
}

/* ================================================
   Mission block
   ================================================ */
.m-top-mission {
  background: var(--dark);
  padding: 100px min(40px, 2.778vw);
  position: relative;
  overflow: hidden;
}
.m-top-mission__inner {
  max-width: var(--inner);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* OUR WORK 風のセクションヘッダー装飾 */
.m-top-mission__top {
  display: flex;
  align-items: flex-end;
  margin-bottom: 48px;
  position: relative;
}
.m-top-mission__top::before {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 1px;
  width: 100%;
  background: rgba(255,255,255,0.15);
}
.m-top-mission__top::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 1px;
  width: 32px;
  background: var(--accent);
}
.m-top-mission__ttl {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: min(7.625rem, 8.472vw);
  color: #fff;
  opacity: 0.14;
  padding-bottom: 20px;
  line-height: 1;
}

/* PC/SP 写真切替 */
.m-top-mission__photo--sp { display: none; }
.m-top-mission__photo--pc { display: block; }

.m-top-mission__label {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--accent);
  display: block;
  margin-bottom: 40px;
  text-align: center;
}
.m-top-mission__txt {
  font-size: clamp(1.15rem, 2.4vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
  line-height: 1.6;
  margin-bottom: 28px;
  text-align: center;
}
.m-top-mission__ceo-msg {
  font-size: clamp(0.8rem, 1.3vw, 0.92rem);
  color: rgba(255,255,255,0.75);
  line-height: 2;
  margin: 0 0 28px;
}
.m-top-mission__check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.m-top-mission__check-list li {
  font-size: clamp(0.85rem, 1.3vw, 0.95rem);
  font-weight: 700;
  color: #fff;
  padding-left: 1.6em;
  position: relative;
}
.m-top-mission__check-list li::before {
  content: '☑';
  position: absolute;
  left: 0;
  color: var(--accent);
}
.m-top-mission__ceo-close {
  font-size: clamp(0.8rem, 1.3vw, 0.92rem);
  color: rgba(255,255,255,0.75);
  line-height: 2;
  margin: 0 0 40px;
}
.m-top-mission__ceo-sign {
  font-size: clamp(0.8rem, 1.3vw, 0.92rem);
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  margin: 24px 0 0;
  text-align: right;
}
.m-top-mission__desc {
  font-size: clamp(0.78rem, 1.2vw, 0.9rem);
  color: rgba(255,255,255,0.6);
  line-height: 2;
  margin: 0 0 56px;
  text-align: left;
}
/* 写真 */
.m-top-mission__photo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}
.m-top-mission__photo {
  width: 90% !important;
  object-fit: cover;
  border-radius: 0px !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}

/* 社名・名前・SNS */
.m-top-mission__ceo-info {
  text-align: center;
  margin-bottom: 48px;
}
.m-top-mission__ceo-company {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.55);
  margin-bottom: 6px;
}
.m-top-mission__ceo-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}
.m-top-mission__sns {
  display: flex;
  justify-content: center;
  gap: 12px;
}
.m-top-mission__sns-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  transition: background 0.2s ease;
}
.m-top-mission__sns-link:hover {
  background: var(--accent);
}
.m-top-mission__sns-link svg {
  width: 18px;
  height: 18px;
  fill: #fff;
  flex-shrink: 0;
}

/* 左右2カラム */
.m-top-mission__cols {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
  align-items: start;
}
.m-top-mission__col-left {
  min-width: 0;
  order: 2;
}
.m-top-mission__body {
  min-width: 0;
  padding-top: 8px;
  order: 1;
}

/* アコーディオン（ダーク背景内） */
.m-top-mission__profile {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
}
.m-top-mission .m-top-statement__accordion {
  border-top-color: rgba(255,255,255,0.12);
}
.m-top-mission .m-top-statement__accordion:last-child {
  border-bottom-color: rgba(255,255,255,0.12);
}
.m-top-mission .m-top-statement__accordion-trigger {
  color: #fff;
}
.m-top-mission .m-top-statement__profile-kicker {
  background: rgba(255,255,255,0.1);
  color: var(--accent);
}
.m-top-mission .m-top-statement__profile-list {
  gap: 0;
}
.m-top-mission__profile .sp-br {
  display: inline;
}
.m-top-mission .m-top-statement__profile-list li {
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.72rem;
}
.m-top-mission .m-top-statement__profile-list li:last-child {
  border-bottom: none;
}
.m-top-mission .m-top-news__minttl {
  color: var(--accent);
}
.m-top-mission .m-top-news__ttl {
  color: #fff;
  margin-bottom: 48px;
}

.m-top-service {
  position: relative;
  overflow: hidden;
  counter-reset: service;
  margin: 0;
  padding: 0 min(40px, 2.778vw);
}
.m-top-service__bg {
  position: absolute;
  top: 0; right: -7%; bottom: 0; left: -7%;
  background: #fff;
  pointer-events: none;
}
.m-top-service__wrap {
  position: relative;
  z-index: 2;
  padding: 100px 0 100px;
}
.m-top-service__inner {
  max-width: var(--inner);
  margin: 0 auto;
}
.m-top-service__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
  position: relative;
}
.m-top-service__desc {
  font-size: clamp(0.85rem, 1.4vw, 1rem);
  color: rgba(0, 0, 0, 0.65);
  line-height: 2.2;
  letter-spacing: 0.04em;
  margin-bottom: 48px;
}
.m-top-service__top::before {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 1px;
  width: 100%;
  background: var(--green);
  opacity: 0.2;
}
.m-top-service__top::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 1px;
  width: 32px;
  background: var(--green);
}
.m-top-service__ttl { padding-bottom: 30px; }
/* __btn in the top flex row needs no bottom margin (align-items: center handles it) */

.m-top-service__box {
  counter-increment: service;
}
.m-top-service__box:not(:last-of-type) { margin-bottom: 70px; }

/* Row-based text-only layout */
.m-top-service__rows {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(3, 38, 56, 0.1);
}
.m-top-service__row {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 32px 28px;
  border-right: 1px solid rgba(3, 38, 56, 0.1);
  border-bottom: 1px solid rgba(3, 38, 56, 0.1);
}
.m-top-service__row:last-child {
  border-right: none;
}
.m-top-service__row-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.m-top-service__row-head-top {
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.m-top-service__row-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
}
.m-top-service__row-num {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--accent, #00b4d8);
  flex-shrink: 0;
}
.m-top-service__row-ttl {
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
  font-weight: 700;
  color: var(--green, #032638);
  letter-spacing: 0.03em;
  line-height: 1.4;
  font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'BIZ UDGothic', 'Meiryo', sans-serif;
}
.m-top-service__row-desc {
  font-size: clamp(0.8rem, 1.2vw, 0.88rem);
  color: rgba(0,0,0,0.65);
  line-height: 1.9;
  margin: 0;
  min-height: 6.65em;
}
.m-top-service__row-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.m-top-service__row-list li {
  font-size: 0.85rem;
  color: rgba(3, 38, 56, 0.55);
  letter-spacing: 0.03em;
  font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'BIZ UDGothic', 'Meiryo', sans-serif;
  padding-left: 14px;
  position: relative;
}
.m-top-service__row-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 1px;
  background: var(--accent, #00b4d8);
}

.m-top-service__row-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1;
  min-width: 0;
}
.m-top-service__row-results {
  align-items: baseline;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px dashed rgba(3, 38, 56, 0.12);
}
.m-top-service__row-results-label {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent, #00b4d8);
  flex-shrink: 0;
}
.m-top-service__row-results-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.m-top-service__row-results-list li {
  font-size: 0.72rem;
  color: rgba(3, 38, 56, 0.65);
  letter-spacing: 0.01em;
  padding-left: 14px;
  position: relative;
  line-height: 1.6;
  white-space: nowrap;
  font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'BIZ UDGothic', 'Meiryo', sans-serif;
}
.m-top-service__row-results-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 1px;
  background: var(--accent, #00b4d8);
}
.m-top-service__row-results-list a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.m-top-service__row-results-list a:hover {
  color: var(--accent, #00b4d8);
}

/* OUR WORK accordion */
.m-top-service__accordion {
  border-top: 1px dashed rgba(3,38,56,0.12);
  margin-top: 4px;
}
.m-top-service__accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 0;
  cursor: pointer;
  list-style: none;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent, #00b4d8);
  user-select: none;
}
.m-top-service__accordion-trigger::-webkit-details-marker { display: none; }
.m-top-service__accordion-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  position: relative;
  flex-shrink: 0;
}
.m-top-service__accordion-icon::before,
.m-top-service__accordion-icon::after {
  content: '';
  position: absolute;
  background: var(--accent, #00b4d8);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.m-top-service__accordion-icon::before {
  width: 10px; height: 1.5px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.m-top-service__accordion-icon::after {
  width: 1.5px; height: 10px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.m-top-service__accordion[open] .m-top-service__accordion-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}
.m-top-service__accordion .m-top-service__row-results-list {
  padding-bottom: 14px;
}

.m-top-service__ttlarea {
  display: flex;
  align-items: center;
  margin-bottom: 39px;
  padding-bottom: 22px;
  position: relative;
}
.m-top-service__ttlarea::before {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--green);
  opacity: 0.2;
}
.m-top-service__ttlarea::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 32px;
  height: 1px;
  background: var(--green);
}
.m-top-service__subttl {
  display: flex;
  align-items: baseline;
}
.m-top-service__subttl::before {
  content: counter(service, decimal-leading-zero);
  font-family: 'Helvetica Neue', Arial, sans-serif;
  margin-right: 9px;
  font-size: 0.875rem;
  line-height: 1;
}
.m-top-service__tag { margin-left: auto; padding-left: 24px; }
.m-top-service__tag-list {
  display: flex;
  align-items: center;
}
.m-top-service__tag-item:not(:first-of-type) { margin-left: 16px; }
.m-top-service__tag-item { white-space: nowrap; }

/* Service slide */
.m-top-service__slide-wrap {
  position: relative;
  /* extend right to viewport edge (past section's 40px right padding) */
  margin-right: calc(-1 * min(40px, 2.778vw));
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.6s, transform 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.6s;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.m-top-service__slide-wrap::-webkit-scrollbar { display: none; }
.m-top-service__slide-wrap.is-view {
  opacity: 1;
  transform: translateX(0);
}
.m-top-service__slide {
  display: flex;
  /* breathing room so last card doesn't butt against viewport edge */
  padding-right: min(40px, 2.778vw);
}
.m-top-service__slide-item {
  flex-shrink: 0;
  padding-right: 30px;
}
.m-top-service__slide-item a {
  display: block;
  width: 280px;
}
.m-top-service__slide-pic {
  filter: drop-shadow(0px 2px 6px rgba(0, 0, 0, 0.16));
  width: 100%;
  height: 250px;
  margin-bottom: 12px;
  overflow: hidden;
}
.m-top-service__slide-pic img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.4s ease-out;
}
.m-top-service__slide-item a:hover .m-top-service__slide-pic img { transform: scale(1.04); }
.m-top-service__slide-ttl {
  margin-bottom: 9px;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.024em;
}
.m-top-service__slide-txt {
  font-size: 0.75rem;
  line-height: 1.833;
  font-weight: 400;
  letter-spacing: 0.024em;
  color: var(--gray);
}
/* Placeholder cards */
.service-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
}
.service-placeholder__inner {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.05em;
}

/* ================================================
   Staff Section
   ================================================ */
/* ================================================
   Brush Quote
   ================================================ */
.m-top-brush-quote {
  padding: 88px min(40px, 2.778vw) 80px;
  background: var(--dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.m-top-brush-quote::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 50%, rgba(232,160,32,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 80% 50%, rgba(232,160,32,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.m-top-brush-quote__main {
  font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'BIZ UDGothic', 'Meiryo', sans-serif;
  font-size: clamp(1.9rem, 4.2vw, 3.4rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.08em;
  line-height: 1.5;
  margin-bottom: 28px;
  position: relative;
  display: inline-block;
}
.m-top-brush-quote__main::after {
  content: '';
  display: block;
  width: 48px;
  height: 2px;
  background: var(--accent);
  margin: 18px auto 0;
  border-radius: 1px;
  opacity: 0.8;
}
.m-top-brush-quote__sub {
  font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'BIZ UDGothic', 'Meiryo', sans-serif;
  font-size: clamp(0.85rem, 1.5vw, 1.05rem);
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.06em;
  line-height: 2.1;
  position: relative;
}

.m-top-staff {
  position: relative;
  padding: 0 min(40px, 2.778vw);
  overflow-x: hidden;
  background: #fff;
  border-top: 1px solid rgba(3,38,56,0.07);
}
.m-top-staff__wrap {
  margin: 80px auto 80px;
  max-width: var(--inner);
}
.m-top-staff__inner {
  max-width: var(--inner);
  margin: 0 auto;
}
.m-top-staff__head {
  margin-bottom: 56px;
}
.m-top-staff__label {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.m-top-staff__caption {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  font-weight: 600;
  color: var(--dark);
  letter-spacing: 0.04em;
  line-height: 1.85;
}
.m-top-staff__slider {
  overflow: hidden;
  pointer-events: none;
}
.m-top-staff__list {
  display: flex;
  float: left;
  animation: ticker 80s linear infinite;
  will-change: transform;
}
.m-top-staff__item {
  width: 240px;
  height: 160px;
  padding: 0 6px;
  overflow: hidden;
  flex-shrink: 0;
}
.m-top-staff__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 8px;
}
.m-top-staff__more {
  display: flex;
  justify-content: flex-end;
  margin-top: 357px;
}

/* ================================================
   News Section
   ================================================ */
.m-top-news {
  position: relative;
  padding: 0 min(40px, 2.778vw);
  background: #f5f8fa;
}
.m-top-news__wrap { padding: 100px 0 100px; margin-bottom: 0; }
.m-top-news + .m-top-news .m-top-news__wrap { margin-top: -60px; }
.m-top-news__inner {
  max-width: var(--inner);
  margin: 0 auto;
  position: relative;
}
.m-top-news__bgttl { display: none; }

/* OUR WORK / Message from CEO 統一スタイルのヘッダー */
.m-top-news__top {
  display: flex;
  align-items: flex-end;
  margin-bottom: 40px;
  position: relative;
}
.m-top-news__top::before {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 1px;
  width: 100%;
  background: rgba(3,38,56,0.1);
}
.m-top-news__top::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 1px;
  width: 32px;
  background: var(--accent);
}
.m-top-news__section-ttl {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: min(7.625rem, 8.472vw);
  color: var(--dark);
  opacity: 0.14;
  padding-bottom: 20px;
  line-height: 1;
}
.m-top-news__container {
  display: grid;
  justify-content: space-between;
  padding-right: min(80px, 5.556vw);
}
.m-top-news__box { margin-right: 40px; }
.m-top-news__minttl { margin-bottom: 9px; display: block; }
.m-top-news__ttl { margin-bottom: 16px; }
.m-top-news__catch {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 900;
  color: var(--dark);
  letter-spacing: 0.04em;
  line-height: 1.3;
  margin-bottom: 16px;
  padding-left: 20px;
  border-left: 5px solid var(--accent);
  position: relative;
}
.m-top-news__subcatch {
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  font-weight: 600;
  color: rgba(0,0,0,0.55);
  letter-spacing: 0.06em;
  line-height: 1.7;
  margin-bottom: 36px;
  padding-left: 20px;
}
.m-top-news__category { margin-bottom: 0; }
.sp-br { display: none; }
.m-top-news__cta-msg {
  margin-top: 48px;
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 0.04em;
  text-align: center;
  white-space: nowrap;
}
.m-top-news__btn-wrap { margin-top: 20px; }

.m-op-cta-wrap {
  margin-top: 48px;
  text-align: center;
}
.m-op-cta-wrap--row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.m-op-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(90deg, #e8a020 0%, #f0b830 50%, #e8a020 100%);
  background-size: 200% auto;
  color: #fff;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 22px 56px;
  border-radius: 60px;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(232,160,32,0.45);
  transition: background-position 0.4s ease, box-shadow 0.3s ease, transform 0.2s ease;
}
.m-op-cta-btn:hover {
  background-position: right center;
  box-shadow: 0 12px 40px rgba(232,160,32,0.6);
  transform: translateY(-2px);
}
.m-op-cta-btn__arrow {
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.m-op-cta-btn:hover .m-op-cta-btn__arrow {
  transform: translateX(4px);
}
.m-op-cta-btn--dark {
  background: linear-gradient(90deg, var(--dark) 0%, #2d3f52 50%, var(--dark) 100%);
  box-shadow: 0 8px 32px rgba(30,41,59,0.35);
}
.m-op-cta-btn--dark:hover {
  box-shadow: 0 12px 40px rgba(30,41,59,0.5);
}
@media screen and (max-width: 768px) {
  .m-op-cta-btn {
    width: 100%;
    justify-content: center;
    padding: 18px 24px;
    border-radius: 12px;
    font-size: 0.9rem;
  }
  .m-top-service__row-desc { min-height: 0; }
}
.m-top-news__category-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.m-top-news__category-item:not(:last-of-type) { margin-bottom: 12px; }

.m-top-news__btn { display: inline-flex; }

.m-top-news__list {
  margin-left: auto;
  flex: 1 1 10%;
  min-width: 0;
  max-width: 798px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  align-content: start;
}
.m-top-news__item {
  display: flex;
  flex-direction: column;
}
.m-top-news__item a {
  flex: 1;
  display: flex;
  background: #f0f5f8;
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
  transition: background-color 0.3s ease-out, box-shadow 0.3s ease-out;
}
.m-top-news__item a:hover { background: #fff; box-shadow: 0 4px 16px rgba(3,38,56,0.1); }
.m-top-news__item a:hover .m-top-news__txt { color: var(--accent); }
.m-top-news__item:not(:first-of-type) { margin-top: 0; }
.m-top-news__item-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 97px;
  padding: 0 55px 0 36px;
}
.m-top-news__item-inner::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  height: 100%;
  width: 6px;
  border-radius: 3px;
  background: var(--green);
}
.m-top-news__txt {
  font-weight: 600;
  margin-bottom: 0;
  line-height: 1.75;
  font-size: 0.9375rem;
  transition: color 0.3s ease-out;
}
.m-top-news__day {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.75rem;
  opacity: 0.46;
}
.m-top-news__tag {
  position: absolute;
  right: 0; bottom: 0;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.024em;
  text-align: center;
  padding: 10px;
  min-width: 118px;
  background: var(--green);
  border-radius: 8px;
  color: #fff;
}

/* ================================================
   Recruit Section
   ================================================ */
.m-top-recruit {
  position: relative;
  padding: 0 min(40px, 2.778vw);
}
.m-top-recruit__wrap { margin-bottom: 100px; }
.m-top-recruit__container {
  background: var(--green);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  min-height: 520px;
}
.m-top-recruit__pic {
  position: absolute;
  width: 50%;
  height: 100%;
  right: 0; top: 0;
  border-radius: 8px 0 0 8px;
  overflow: hidden;
}
.m-top-recruit__pic img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 2s cubic-bezier(0.16, 1, 0.3, 1) 0.25s;
}
.m-top-recruit__pic::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: var(--green);
  transform-origin: left center;
  transition: transform 2s cubic-bezier(0.16, 1, 0.3, 1) 0.25s;
}
.is-view .m-top-recruit__pic::before { transform: scaleX(0); }
.is-view .m-top-recruit__pic img { transform: scale(1); }

.m-top-recruit__inner {
  position: relative;
  z-index: 2;
  padding: 79px min(40px, 2.778vw) 106px;
  pointer-events: all;
}
.m-top-recruit__minttl {
  margin-bottom: 7px;
  display: block;
  opacity: 0.6;
  color: #fff !important;
}
.m-top-recruit__ttl {
  margin-bottom: 22px;
  color: #fff !important;
}
.m-top-recruit__txt {
  margin-bottom: 68px;
  font-size: 0.875rem;
  line-height: 2.28;
  opacity: 0.8;
  color: #fff;
}
.m-top-recruit__more { display: flex; }
.m-top-recruit__btn {
  color: #fff !important;
  border-color: transparent;
}
.m-top-recruit__btn span {
  background: #fff !important;
}
.m-top-recruit__btn span::after { color: var(--accent) !important; }
.m-top-recruit__btn span::before {
  background: linear-gradient(to top right, #054a6f, #fff) !important;
}

/* ================================================
   Footer
   ================================================ */
.g-footer {
  position: relative;
  overflow: hidden;
  padding: 0 min(40px, 2.778vw);
}
.g-footer__bg {
  position: absolute;
  top: 140px;
  left: -7%;
  right: -7%;
  height: 1100px;
  background: linear-gradient(to bottom, #010f18 0%, #021929 35%, #032638 65%);
  box-shadow: 0px 8px 18px rgba(0, 0, 0, 0.3) inset;
  border-top-left-radius: 50% 60px;
  z-index: 0;
}
.g-footer__wrap {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 184px 0 75px;
}
.g-footer__inner {
  max-width: var(--inner);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.g-footer__container {
  display: flex;
  justify-content: space-between;
  flex-direction: row-reverse;
  padding-left: 80px;
  margin-bottom: 150px;
}
.g-footer__right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.g-footer__logo { width: 283px; }
.g-footer__logo img {
  width: 100%;
  filter: brightness(0) invert(1);
}
.g-footer__logo a {
  display: inline-block;
  transition: opacity 0.2s ease-out;
}
.g-footer__logo a:hover { opacity: 0.7; }

.g-footer__gotop {
  display: flex;
  align-items: center;
  cursor: pointer;
  margin-top: 40px;
}
.g-footer__gotop-txt {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.875rem;
  letter-spacing: -0.02em;
  transform-origin: center top;
  transform-style: preserve-3d;
}
.g-footer__gotop-txt::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  transform-origin: center top;
  transform: translate3d(0, 105%, 0) rotateX(-90deg);
}
.g-footer__gotop:hover .g-footer__gotop-txt {
  transform: translate3d(0, 0, -30px) rotateX(90deg);
  transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.g-footer__gotop span {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 16px;
  width: 44px;
  height: 44px;
  background: #fff;
  border-radius: 50%;
  overflow: hidden;
  will-change: transform;
  flex-shrink: 0;
}
.g-footer__gotop span::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top right, #054a6f, #fff);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s ease-out;
}
.g-footer__gotop span::after {
  content: "";
  position: relative;
  z-index: 2;
  display: inline-block;
  width: 8px;
  height: 8px;
  color: var(--accent);
  border: 1px solid currentColor;
  border-left: 0;
  border-bottom: 0;
  box-sizing: border-box;
  transform: translateY(25%) rotate(-45deg);
}
.g-footer__gotop:hover span::before { transform: scaleX(1); }

.g-footer__box {
  display: flex;
  flex: 1;
  min-width: 0;
}

/* Info group: 会社概要 + Contact side by side */
.g-footer__info-group {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
  width: 100%;
}
.g-footer__info-block {
  flex: 1;
  min-width: 200px;
}
.g-footer__info-heading {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

/* Definition list */
.g-footer__dl { display: flex; flex-direction: column; gap: 10px; }
.g-footer__dl-row {
  display: flex;
  gap: 16px;
  align-items: baseline;
}
.g-footer__dt {
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.06em;
  white-space: nowrap;
  flex-shrink: 0;
  width: 4.5em;
}
.g-footer__dd {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.8;
  letter-spacing: 0.02em;
}
.g-footer__dd-sub {
  display: block;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.01em;
}
.g-footer__mail {
  color: var(--accent);
  transition: opacity 0.15s ease;
}
.g-footer__mail:hover { opacity: 0.7; }

.g-footer__footer {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 24px;
  text-align: center;
}
.g-footer__footer-list {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.g-footer__footer-link {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.024em;
  color: #fff;
  transition: opacity 0.1s ease-in-out;
}
.g-footer__footer-link:hover { opacity: 0.7; }
.g-footer__copy {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.6875rem;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,0.85);
}

/* ================================================
   Our Passion Section
   ================================================ */
.m-top-passion {
  background: linear-gradient(170deg, #032638 0%, #021929 100%);
  padding: 90px min(80px, 5.556vw) 100px;
  text-align: left;
}
.m-top-passion__inner {
  max-width: 680px;
  margin: 0 auto;
}
.m-top-passion__label {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--accent, #00b4d8);
  margin-bottom: 56px;
  text-align: left;
}
.m-top-passion__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 64px;
}
.m-top-passion__item {
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.03em;
  line-height: 1.5;
  font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'BIZ UDGothic', 'Meiryo', sans-serif;
}
.m-top-passion__list .js-fade:nth-child(1) { transition-delay: 0.00s; }
.m-top-passion__list .js-fade:nth-child(2) { transition-delay: 0.08s; }
.m-top-passion__list .js-fade:nth-child(3) { transition-delay: 0.16s; }
.m-top-passion__list .js-fade:nth-child(4) { transition-delay: 0.24s; }
.m-top-passion__list .js-fade:nth-child(5) { transition-delay: 0.32s; }
.m-top-passion__sep {
  width: 48px;
  height: 2px;
  background: var(--accent, #00b4d8);
  margin: 0 0 64px;
}
.m-top-passion__body {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.m-top-passion__para {
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.82);
  line-height: 2.4;
  letter-spacing: 0.05em;
  font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'BIZ UDGothic', 'Meiryo', sans-serif;
}
.m-top-passion__para--em {
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.55;
}
.m-top-passion__para--def {
  color: rgba(255, 255, 255, 0.95);
  line-height: 2.6;
}
.m-top-passion__body .js-fade:nth-child(1) { transition-delay: 0.05s; }
.m-top-passion__body .js-fade:nth-child(2) { transition-delay: 0.17s; }
.m-top-passion__body .js-fade:nth-child(3) { transition-delay: 0.29s; }
.m-top-passion__body .js-fade:nth-child(4) { transition-delay: 0.41s; }
.m-top-passion__body .js-fade:nth-child(5) { transition-delay: 0.53s; }

@media screen and (max-width: 640px) {
  .m-top-passion {
    padding-top: 80px;
    padding-bottom: 100px;
  }
  .m-top-passion__item {
    font-size: clamp(1.35rem, 6vw, 1.6rem);
  }
  .m-top-passion__para:not(.m-top-passion__para--em):not(.m-top-passion__para--def) br {
    display: none;
  }
  .m-top-passion__para--em {
    font-size: clamp(1.35rem, 6vw, 1.6rem);
  }
  .m-top-passion__body {
    gap: 28px;
  }
}

/* ================================================
   Featured Section (いっしょに働く仲間を募集中)
   ================================================ */
.m-top-featured {
  padding: 80px min(40px, 2.778vw);
  background: #fff;
}
.m-top-featured__inner {
  max-width: var(--inner);
  margin: 0 auto;
}
.m-top-featured__heading {
  text-align: center;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--green);
  margin-bottom: 48px;
  position: relative;
  padding-bottom: 20px;
}
.m-top-featured__heading::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: var(--green);
}
.m-top-featured__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.m-top-featured__box {
  text-align: center;
  padding: 44px 28px;
  border-radius: 8px;
  background: #f0f5f8;
}
.m-top-featured__box--accent {
  background: linear-gradient(150deg, #010f18 0%, #032638 55%, #054a6f 100%);
}
.m-top-featured__icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 20px;
}
.m-top-featured__ttl {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.024em;
  color: var(--dark);
  margin-bottom: 16px;
  line-height: 1.5;
}
.m-top-featured__box--accent .m-top-featured__ttl { color: #fff; }
.m-top-featured__txt {
  font-size: 0.8125rem;
  line-height: 1.85;
  color: var(--gray);
}
.m-top-featured__box--accent .m-top-featured__txt { color: rgba(255,255,255,0.9); }

/* Recruit description in news section */
.m-top-news__recruit-desc {
  font-size: 0.8125rem;
  line-height: 1.9;
  color: var(--mid);
  margin-bottom: 28px;
}

/* ================================================
   Responsive — Mobile ≤768px
   ================================================ */
@media screen and (max-width: 768px) {
  .g-header {
    /* top: 2.051vw; */
    min-width: 0;
  }
  .g-header__inner { height: 64px; padding: 0 5vw; }
  .g-header__logo img { height: 20px; }
  .g-header__nav { display: none; }
  .g-header__btn { display: flex; }
  .g-header__btn span { width: 22px; }

  .g-nav { width: 68.718vw; }
  .g-nav__wrap { padding: 20vw 8vw 10vw 7vw; }
  .g-nav__list { margin-bottom: 0; }
  .g-nav__item { padding-bottom: 3vw; font-size: 3.2vw; }
  .g-nav__item:not(:last-of-type) { margin-bottom: 6vw; }
  .g-nav__item::before { width: 5.641vw; }
  .g-nav__plus::before, .g-nav__plus::after { width: 3.077vw; }
  .g-nav__sub-item { padding-top: 4.359vw; font-size: 3.077vw; }
  .g-nav__footer-list { margin-bottom: 10.256vw; }
  .g-nav__footer-item:not(:last-of-type) { margin-bottom: 6.41vw; }
  .g-nav__footer-link { font-size: 3.077vw; }
  .g-nav__copy { font-size: 2.564vw; line-height: 1.8; }

  .m-hero { height: 100vh; height: 100svh; }
  .m-hero__wrap { padding-left: 4.615vw; height: auto; min-height: 100vh; min-height: 100svh; align-items: flex-end; }
  .m-hero__inner { padding: 0 4.615vw 60px; }
  .m-hero__tagline-line { font-size: 5.2vw; padding: 3px 10px; white-space: nowrap; }
  .m-hero__heading { gap: 0.12em; margin-bottom: 16px; }
  .m-hero__word--eyebrow { font-size: 4.2vw; }
  .m-hero__word--main { font-size: 7.5vw; }
  .m-hero__word--recruit-sub  { font-size: 3.2vw; letter-spacing: 0.08em; }
  .m-hero__word--recruit-main { font-size: 5.6vw; white-space: nowrap; line-height: 1.45; }
  .m-hero__recruit-txt { font-size: 0.72rem; margin-top: 14px; }
  .m-hero__recruit-btn { margin-top: 20px; padding: 10px 22px; font-size: 0.72rem; }
  .m-hero__ja { font-size: 4.8vw; border-left: 2px solid var(--accent); padding-left: 10px; }
  .m-hero__scroll { display: none; }

  .m-top-statement {
    margin-top: 0;
    padding: 64px 4.615vw 80px;
  }
  .m-top-statement__wrap { margin-bottom: 0; }
  .m-top-statement__container { flex-direction: column; gap: 0; }
  .m-top-statement__box { width: 100%; margin-right: 0; margin-bottom: 15.897vw; }
  .m-top-statement__pic { width: 44.872vw; border-radius: 1.026vw; }
  .m-top-statement__txtarea { padding: 0 6.154vw; }
  .m-top-statement__minttl { margin-bottom: 3.846vw; }
  .m-top-statement__ttl { margin-bottom: 5.897vw; font-size: 5.641vw; }
  .m-top-statement__txt { margin-bottom: 8.205vw; font-size: 0.8125rem; }

  .m-top-mission { padding: 60px 4.615vw; }
  .m-top-mission__photo-wrap { margin-left: -4.615vw; margin-right: -4.615vw; margin-bottom: 32px; }
  .m-top-mission__photo { width: 100%; border-radius: 0; }
  .m-top-mission__photo--pc { display: none; }
  .m-top-mission__photo--sp { display: block; }
  .m-top-mission__ttl { font-size: min(4rem, 12vw); }
  .m-top-mission__txt { font-size: clamp(1rem, 4.8vw, 1.3rem); }
  .m-top-mission__cols { grid-template-columns: 1fr; gap: 0px; }
  .m-top-mission__col-left { order: 1; }
  .m-top-mission__body { order: 2; margin-top: 40px; }

  .m-top-service { margin: 0; padding: 0 4.615vw; }
  .m-top-service__wrap { padding: 60px 0 60px; }
  .m-top-service__top { flex-direction: column; align-items: flex-start; gap: 16px; }
  .m-top-service__ttlarea { flex-direction: column; align-items: flex-start; gap: 12px; }
  .m-top-service__rows { grid-template-columns: 1fr; border-top: 1px solid rgba(3,38,56,0.1); }
  .m-top-service__row { gap: 12px; padding: 24px 0; border-right: none; border-bottom: 1px solid rgba(3,38,56,0.1); }
  .m-top-service__row:last-child { border-bottom: none; }
  .m-top-service__row-list { gap: 6px 16px; }
  .m-top-service__row-list li { font-size: 0.8rem; }

  .m-top-staff__wrap { margin: 12vw auto 14vw; }
  .m-top-staff__inner { padding: 0 4.615vw; }
  .m-top-staff__head { margin-bottom: 32px; }
  .m-top-staff__caption { font-size: 4.1vw; }
  .m-top-staff__item { width: 26.41vw; height: 34.359vw; padding: 0 1.282vw; }
  .m-top-staff__item img { border-radius: 1.026vw; }

  .m-top-works { padding: 64px 4.615vw; }
  .m-top-works__ttl { margin-bottom: 32px; }
  .m-top-works__item { gap: 20px; padding: 22px 0; }
  .m-top-works__item:hover { padding-left: 8px; padding-right: 8px; margin: 0 -8px; }
  .m-top-works__name { font-size: clamp(1rem, 4vw, 1.2rem); }

  .m-top-news { padding: 0 4.615vw; }
  .m-top-news__section-ttl { font-size: min(4rem, 12vw); }
  .m-top-news__wrap { padding: 60px 0 60px; }
  .m-top-news__catch { font-size: clamp(1.3rem, 5.5vw, 1.8rem); padding-left: 14px; border-left-width: 4px; }
  .m-top-news__bgttl { right: 1.282vw; top: -1.795vw; font-size: 20.513vw; }
  .m-top-news__container { grid-template-columns: 1fr; padding-right: 0; }
  .m-top-news__box { margin-right: 0; }
  .m-top-news__category-list { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .m-top-news__category-item:not(:last-of-type) { margin-bottom: 0; }
  .m-top-news__list { max-width: 100%; grid-template-columns: 1fr; }
  .m-top-news__btn-wrap { margin-top: 32px; }
  .m-top-news__cta-msg { font-size: 4.8vw; white-space: normal; }
  .sp-br { display: inline; }
  .m-top-statement__profile-list { gap: 0; }
  .m-top-statement__profile-list li {
    line-height: 1.5;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .m-top-statement__profile-list li:last-child { border-bottom: none; }

  .m-top-recruit { padding: 0 4.615vw; }
  .m-top-recruit__wrap { margin-bottom: 19.487vw; }
  .m-top-recruit__inner { padding: 12.821vw 10.769vw 15.385vw; }
  .m-top-recruit__pic { position: relative; width: 100%; height: 200px; border-radius: 0 0 1.026vw 1.026vw; }
  .m-top-recruit__container { min-height: auto; }

  .m-top-service__subttl,
  .m-top-news__ttl,
  .m-top-recruit__ttl,
  .m-top-statement__ttl { font-size: 5.641vw; }
  .m-top-statement__minttl,
  .m-top-news__minttl,
  .m-top-recruit__minttl,
  .m-top-service__subttl::before { font-size: 3.077vw; }
  .m-top-statement__btn,
  .m-top-service__btn,
  .m-top-news__btn,
  .m-top-staff__btn,
  .m-top-recruit__btn { font-size: 3.59vw; line-height: 2.142; }
  .m-top-statement__btn span,
  .m-top-service__btn span,
  .m-top-news__btn span,
  .m-top-staff__btn span,
  .m-top-recruit__btn span {
    margin-left: 3.59vw;
    width: 8.718vw;
    height: 8.718vw;
  }
  .m-top-statement__btn span::after,
  .m-top-service__btn span::after,
  .m-top-news__btn span::after,
  .m-top-staff__btn span::after,
  .m-top-recruit__btn span::after { width: 1.538vw; height: 1.538vw; }

  .g-footer__bg { top: 40px; }
  .g-footer__wrap { padding: 80px 0 50px; }
  .g-footer__container { flex-direction: column; padding-left: 0; margin-bottom: 60px; gap: 40px; }
  .g-footer__right { align-items: flex-end; }
  .g-footer__logo { width: 60%; }
  .g-footer__box { flex-direction: column; gap: 20px; }
  .g-footer__info-group { flex-direction: column; gap: 36px; }
  .g-footer__info-block { min-width: 0; }
  .g-footer__footer { flex-direction: column; gap: 16px; align-items: flex-start; }
  .g-footer__footer-list { gap: 12px; }
  .g-footer__gotop { display: none; }
  .m-hero__desc { display: none; }
  .m-top-featured { padding: 50px 4.615vw; }
  .m-top-featured__grid { grid-template-columns: 1fr; gap: 16px; }
  .m-top-featured__box { padding: 28px 20px; }
  .m-top-featured__ttl { font-size: 4.103vw; }
  .m-top-featured__txt { font-size: 3.077vw; }
  .m-top-featured__heading { font-size: 4.103vw; }

}


/* ================================================
   Service Section — Light Theme
   ================================================ */
.m-top-service__ttl { color: var(--green); }
.m-top-service__slide-item a:hover .m-top-service__slide-ttl {
  color: var(--accent);
}

/* ================================================
   Featured Section — Ad Agency Polish
   ================================================ */
.m-top-featured__box {
  box-shadow: 0 4px 24px rgba(3, 38, 56, 0.06);
  border: 1px solid rgba(3, 38, 56, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.m-top-featured__box:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(3, 38, 56, 0.12);
}
.m-top-featured__box--accent {
  border-color: transparent;
  box-shadow: 0 8px 32px rgba(3, 38, 56, 0.3);
}
.m-top-featured__box--accent:hover {
  box-shadow: 0 16px 40px rgba(3, 38, 56, 0.4);
}

/* ================================================
   Statement Section — Polish
   ================================================ */
.m-top-statement__txtarea {
  border-left: 3px solid var(--accent);
  padding-left: 24px;
}

/* X (Twitter) link in statement section */
.m-top-statement__x-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--dark);
  transition: background 0.2s ease, opacity 0.2s ease;
}
.m-top-statement__x-link:hover {
  background: #000;
  opacity: 1;
}
.m-top-statement__x-icon {
  width: 20px;
  height: 20px;
  fill: #fff;
  flex-shrink: 0;
}

/* ================================================
   Footer gotop — accent color
   ================================================ */
.g-footer__gotop-txt { color: var(--accent); }
.g-footer__gotop span { border-color: var(--accent); }

/* ================================================
   Body text refinement
   ================================================ */
body { color: var(--dark); }

/* ================================================
   Hero wrap — full viewport height (desktop only)
   ================================================ */
@media screen and (min-width: 769px) {
  .m-hero__wrap { height: 100vh; min-height: 680px; }
}
.m-hero__ja {
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  border-left: 3px solid var(--accent);
  padding-left: 16px;
  margin-left: 2px;
}

/* ================================================
   News item — 2-column checklist cards
   ================================================ */
.m-top-news__item-inner {
  flex: 1;
  min-height: 60px;
  padding: 18px 20px 18px 22px;
}
.m-top-news__item-inner::before {
  width: 4px;
  border-radius: 0;
}

/* ================================================
   Scroll fade-in (is-view via IntersectionObserver)
   ================================================ */
.js-fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}
.js-fade.is-view { opacity: 1; transform: translateY(0); }

/* ================================================
   Splash Screen — Stylish loading intro
   Dark full-screen · slide-up exit · progress bar
   ================================================ */
.splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: linear-gradient(170deg, #032638 0%, #021929 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.9s ease;
}
.splash.is-done { opacity: 0; pointer-events: none; }

/* SKIP button — top right (GSAP shows this) */
.splash__skip {
  position: absolute;
  top: 36px;
  right: min(48px, 4.5vw);
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 0;
  transition: color 0.25s ease;
  opacity: 0;          /* GSAP animates in */
  visibility: hidden;  /* GSAP sets visible */
}
.splash__skip:hover { color: rgba(255,255,255,0.85); }
.splash__skip svg { transition: transform 0.25s ease; }
.splash__skip:hover svg { transform: translateX(3px); }

/* Center content block */
.splash__center {
  text-align: center;
  padding: 0 min(48px, 6vw);
  pointer-events: none;
}

/* Company logo — GSAP animates in */
.splash__logo {
  display: block;
  margin: 0 auto;
  height: clamp(22px, 2.2vw, 32px);
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0;
  visibility: hidden;
}

/* Accent rule — GSAP animates scaleX */
.splash__rule {
  width: clamp(36px, 6vw, 72px);
  height: 1px;
  background: var(--accent, #00b4d8);
  margin: 22px auto;
  transform-origin: left center;
  transform: scaleX(0);
  opacity: 0;
  visibility: hidden;
}

/* Signature container */
.splash__sig {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  line-height: 1.7;
}

/* Per-line wrapper — prevents mid-line wrapping */
.splash__line {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
}

/* Each character — GSAP stagger-animates these */
.splash__char {
  display: inline-block;
  font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'BIZ UDGothic', 'Meiryo', sans-serif;
  font-size: clamp(2.6rem, 5.5vw, 5.2rem);
  font-weight: 900;
  color: #fff;
  opacity: 0;
  visibility: hidden;
  will-change: transform, opacity, filter;
}
.splash__br {
  display: block;
  width: 100%;
  height: 0;
}

/* Bottom progress bar */
.splash__bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: rgba(255,255,255,0.07);
}
.splash__bar-fill {
  height: 100%;
  width: 0%;
  background: var(--accent, #00b4d8);
  transition: width 0.9s cubic-bezier(0.22, 0, 0.1, 1);
}

/* ================================================
   Splash — Mobile font-size override
   Must come AFTER the global .splash__char rule
   ================================================ */
@media screen and (max-width: 768px) {
  .splash__char { font-size: clamp(1.5rem, 8.5vw, 2.3rem); }
}

/* ================================================
   Recruit — Sporty numbered cards
   ================================================ */
.m-recruit-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  align-content: start;
  flex: 1 1 10%;
  min-width: 0;
  max-width: 798px;
  margin-left: auto;
}
.m-recruit-item {
  display: flex;
  flex-direction: column;
}
.m-recruit-card {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  border: 1px solid rgba(3, 38, 56, 0.08);
  border-radius: 8px;
  padding: 22px 24px;
  position: relative;
  overflow: hidden;
}
/* Teal top stripe — like a jersey collar */
.m-recruit-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
}
.m-recruit-num {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.04em;
  flex-shrink: 0;
  line-height: 1;
}
.m-recruit-txt {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 0.02em;
  line-height: 1.5;
  flex: 1;
}

@media screen and (max-width: 768px) {
  .m-recruit-list {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
    margin-left: 0;
    gap: 8px;
  }
  .m-recruit-item {
    display: flex;
    justify-content: center;
  }
  .m-recruit-card {
    width: 100%;
    padding: 18px 16px;
    gap: 12px;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    align-items: center;
  }
  .m-recruit-num { font-size: 1.4rem; }
  .m-recruit-txt { font-size: 0.8rem; }
}

/* ================================================
   Member Section — In-page employee profiles
   ================================================ */
.m-top-member {
  padding: 0 min(40px, 2.778vw);
}
.m-top-member__wrap {
  margin-bottom: 80px;
}
.m-top-member__inner {
  max-width: var(--inner);
  margin: 0 auto;
}
.m-top-member__head {
  margin-bottom: 32px;
}
.m-top-member__minttl {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.875rem;
  letter-spacing: 0.024em;
  color: var(--green);
  margin-bottom: 8px;
  display: block;
}
.m-top-member__ttl {
  font-weight: 600;
  font-size: 1.75rem;
  letter-spacing: 0.024em;
  line-height: 1.571;
  margin-bottom: 14px;
}
.m-top-member__desc {
  font-size: 0.8125rem;
  color: var(--mid);
  line-height: 1.9;
}

/* Grid: 3 columns on desktop → 3+2 layout */
.m-top-member__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

/* Member card */
.m-member-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(3, 38, 56, 0.07);
  border: 1px solid rgba(3, 38, 56, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.m-member-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(3, 38, 56, 0.13);
}

/* Photo area */
.m-member-card__pic {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #e8eff4;
}
.m-member-card__pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}
.m-member-card:hover .m-member-card__pic img {
  transform: scale(1.04);
}

/* Face zoom variant */
.m-member-card__pic--face img {
  object-position: top center;
}

/* Jersey number badge */
.m-member-card__num {
  position: absolute;
  bottom: 12px;
  right: 12px;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 900;
  color: #fff;
  background: var(--accent);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.03em;
  line-height: 1;
}

/* Card body */
.m-member-card__body {
  padding: 24px 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  border-top: 3px solid var(--accent);
}
.m-member-card__dept {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.m-member-card__name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.m-member-card__intro {
  font-size: 0.8125rem;
  line-height: 1.9;
  color: var(--mid);
  flex: 1;
}

/* Mobile */
@media screen and (max-width: 768px) {
  .m-top-member { padding: 0 4.615vw; }
  .m-top-member__wrap { margin-bottom: 80px; }
  .m-top-member__head { margin-bottom: 32px; }
  .m-top-member__ttl { font-size: 5.641vw; }

  /* SP: horizontal scroll */
  .m-top-member__grid {
    display: flex;
    flex-direction: row;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    margin-left: -4.615vw;
    margin-right: -4.615vw;
    padding-left: 4.615vw;
    padding-right: 4.615vw;
    scrollbar-width: none;
  }
  .m-top-member__grid::-webkit-scrollbar { display: none; }

  /* Full-bleed editorial card */
  .m-member-card {
    flex: 0 0 43vw;
    scroll-snap-align: start;
    aspect-ratio: 3 / 4;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
    background: var(--green-dark);
    transform: none;
  }
  /* Gradient overlay on photo */
  .m-member-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to bottom,
      transparent 25%,
      rgba(1, 15, 24, 0.55) 58%,
      rgba(1, 15, 24, 0.94) 100%
    );
    z-index: 1;
  }

  /* Photo: fill entire card */
  .m-member-card__pic {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: unset;
  }
  .m-member-card__pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: none;
  }

  /* Number: large watermark top-left */
  .m-member-card__num {
    position: absolute;
    top: 12px;
    left: 14px;
    right: auto;
    bottom: auto;
    width: auto;
    height: auto;
    background: none;
    border-radius: 0;
    display: block;
    font-size: 2.6rem;
    font-weight: 900;
    letter-spacing: -0.06em;
    color: rgba(255, 255, 255, 0.13);
    line-height: 1;
    z-index: 2;
  }

  /* Text block: floats over gradient at bottom */
  .m-member-card__body {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 0 14px 18px;
    z-index: 2;
    background: none;
    border-top: none;
    flex: unset;
  }
  .m-member-card__dept {
    font-size: 0.5rem;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 4px;
  }
  .m-member-card__name {
    font-size: 0.95rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
    letter-spacing: 0.03em;
  }
  .m-member-card__intro {
    font-size: 0.62rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
  }
}

/* ================================================
   Works — 実績・プロジェクト
   ================================================ */
.m-top-works {
  padding: 100px min(40px, 2.778vw);
}
.m-top-works__inner {
  max-width: 860px;
  margin: 0 auto;
}
.m-top-works__minttl {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--accent);
  margin-bottom: 10px;
  display: block;
}
.m-top-works__ttl {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 48px;
}
.m-top-works__list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid rgba(0,0,0,0.1);
}
.m-top-works__item {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  transition: background 0.2s;
  cursor: default;
}
.m-top-works__item:hover {
  background: rgba(3,38,56,0.03);
  padding-left: 12px;
  padding-right: 12px;
  margin: 0 -12px;
}
.m-top-works__num {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  opacity: 0.5;
  min-width: 24px;
}
.m-top-works__name {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 0.03em;
  line-height: 1.4;
}

/* ================================================
   Operation Center — top page recruit section
   ================================================ */
#recruit .m-top-news__inner {
  max-width: var(--inner);
}

.m-op-lead {
  font-size: 0.9rem;
  color: rgba(0,0,0,0.62);
  line-height: 2;
  margin-bottom: 20px;
}
.m-op-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 48px;
}
.m-op-tag {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.m-op-tag--fill {
  background: var(--accent);
  color: #fff;
}
.m-op-tag--line {
  border: 1.5px solid rgba(3,38,56,0.22);
  color: rgba(3,38,56,0.7);
}

/* Job cards */
.m-op-jobs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 48px;
}
.m-op-job {
  background: #fff;
  border: 1px solid rgba(3,38,56,0.08);
  border-radius: 12px;
  padding: 26px 22px 28px;
  border-top: 3px solid var(--accent);
}
.m-op-job__icon {
  width: 34px;
  height: 34px;
  color: var(--accent);
  margin-bottom: 14px;
}
.m-op-job__ttl {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.m-op-job__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.m-op-job__list li {
  font-size: 0.75rem;
  color: rgba(0,0,0,0.55);
  line-height: 1.7;
  padding-left: 1em;
  position: relative;
}
.m-op-job__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 1px;
  background: var(--accent);
}

/* Reasons */
.m-op-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 48px;
}
.m-op-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #f5f8fa;
  border-radius: 10px;
  padding: 22px 18px;
}
.m-op-point__num {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--accent);
  opacity: 0.35;
  line-height: 1;
  flex-shrink: 0;
  padding-top: 2px;
}
.m-op-point__body {}
.m-op-point__ttl {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
  line-height: 1.5;
}
.m-op-point__txt {
  font-size: 0.72rem;
  color: rgba(0,0,0,0.52);
  line-height: 1.85;
}

/* Staff voices */
.m-op-voices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 40px;
}
.m-op-voice {
  background: #fff;
  border: 1px solid rgba(3,38,56,0.07);
  border-radius: 12px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 2px 14px rgba(3,38,56,0.05);
}
.m-op-voice__q {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--accent);
  opacity: 0.22;
  line-height: 1;
  margin-bottom: -6px;
}
.m-op-voice__txt {
  font-size: 0.8rem;
  color: var(--dark);
  line-height: 1.9;
  flex: 1;
}
.m-op-voice__person {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.m-op-voice__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e4f3f8;
  flex-shrink: 0;
  overflow: hidden;
}
.m-op-voice__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.m-op-voice__name {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 2px;
}
.m-op-voice__role {
  font-size: 0.65rem;
  color: rgba(0,0,0,0.42);
  letter-spacing: 0.03em;
}

/* Conditions summary */
.m-op-conds {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  padding: 24px 28px;
  background: #f5f8fa;
  border-radius: 12px;
  margin-bottom: 40px;
}
.m-op-cond {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.m-op-cond__label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}
.m-op-cond__val {
  font-size: 0.8rem;
  color: var(--dark);
  line-height: 1.7;
}
.m-op-badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(0,180,216,0.1);
  border: 1px solid rgba(0,180,216,0.4);
  color: var(--dark);
  margin-right: 5px;
}

/* Job detail table */
.m-op-detail {
  border-top: 1px solid rgba(0,0,0,0.07);
  margin-bottom: 40px;
}
.m-op-detail__row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  align-items: start;
}
.m-op-detail__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  padding-top: 2px;
}
.m-op-detail__body {
  font-size: 0.875rem;
  color: rgba(0,0,0,0.7);
  line-height: 1.9;
}
.m-op-detail__body ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.m-op-detail__body ul li {
  padding-left: 1em;
  position: relative;
}
.m-op-detail__body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 1px;
  background: var(--accent);
}

/* Who we're looking for */
.m-op-fit-ttl {
  font-size: clamp(1.2rem, 2.4vw, 1.75rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 24px;
}
.m-op-fit-kicker {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 9px;
}
.m-op-fit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 40px;
}
.m-op-fit__card {
  background: #f5f8fa;
  border-radius: 10px;
  padding: 24px 22px;
}
.m-op-fit__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: block;
}
.m-op-fit__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.m-op-fit__list li {
  font-size: 0.84rem;
  color: var(--dark);
  line-height: 1.7;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.m-op-fit__list li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  font-size: 0.72rem;
  flex-shrink: 0;
  margin-top: 3px;
}

/* hero word wrap on mobile */
@media screen and (max-width: 768px) {
  .m-hero__word--eyebrow,
  .m-hero__word--main { white-space: normal; }
}

@media screen and (max-width: 768px) {
  /* grid → single column */
  .m-op-jobs   { grid-template-columns: 1fr; gap: 10px; margin-bottom: 28px; }
  .m-op-points { grid-template-columns: 1fr; gap: 8px;  margin-bottom: 28px; }
  .m-op-voices { grid-template-columns: 1fr; gap: 10px; margin-bottom: 24px; }
  .m-op-fit    { grid-template-columns: 1fr; }
  .m-op-detail__row { grid-template-columns: 1fr; gap: 4px; padding: 14px 0; }

  /* tighter card padding */
  .m-op-job    { padding: 18px 16px 20px; }
  .m-op-point  { padding: 16px 14px; gap: 12px; }
  .m-op-voice  { padding: 18px 16px; gap: 10px; }

  /* conditions summary */
  .m-op-conds  { flex-direction: column; gap: 14px; padding: 16px; margin-bottom: 28px; }

  /* tags + lead */
  .m-op-tags   { margin-bottom: 24px; }
  .m-op-lead   { margin-bottom: 16px; }
}

/* ================================================
   Floating recruit banner
   ================================================ */
/* PC: 右端縦バー */
.g-float-recruit {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(90deg, #e8a020 0%, #f0b830 50%, #e8a020 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  z-index: 900;
  border-radius: 6px 0 0 6px;
  text-decoration: none;
  box-shadow: -2px 0 12px rgba(0,0,0,0.15);
  transition: background 0.2s ease;
}
.g-float-recruit:hover {
  background: linear-gradient(90deg, #d4901a 0%, #e8a820 50%, #d4901a 100%);
}
.g-float-recruit__icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  fill: #fff;
}
.g-float-recruit__label {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  white-space: nowrap;
  letter-spacing: 0.16em;
}

/* SP: 下部固定横バー */
@media screen and (max-width: 768px) {
  .g-float-recruit {
    top: auto;
    right: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    transform: none;
    writing-mode: horizontal-tb;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    border-radius: 0;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.15);
  }
  .g-float-recruit__icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
  }
  .g-float-recruit__label {
    writing-mode: horizontal-tb;
    letter-spacing: 0.12em;
  }
}

/* SP: 下部固定バーの高さ分だけコンテンツが隠れないようにする */
@media screen and (max-width: 768px) {
  body { padding-bottom: 52px; }
}
