/* =========================================================
   RESET
========================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {

  font-family:
    "Inter",
    "Noto Sans JP",
    sans-serif;

  color: #171717;

  background: #f7f7f5;

  line-height: 1.8;

  overflow-x: hidden;

}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
}


/* =========================================================
   VARIABLES
========================================================= */

:root {

  --black: #151515;

  --dark: #20201e;

  --gray: #686868;

  --light-gray: #deded9;

  --line: #d8d8d2;

  --bg: #f7f7f5;

  --white: #ffffff;

  --yellow: #f1d300;

  --container: 1240px;

}


/* =========================================================
   CONTAINER
========================================================= */

.container {

  width:
    min(
      calc(100% - 80px),
      var(--container)
    );

  margin-inline: auto;

}


/* =========================================================
   LOADER
========================================================= */

.page-loader {

  position: fixed;

  inset: 0;

  z-index: 9999;

  background: var(--black);

  display: grid;

  place-items: center;

  transition:
    opacity .7s ease,
    visibility .7s ease;

}

.page-loader.is-loaded {

  opacity: 0;

  visibility: hidden;

}

.loader-inner {

  width: 180px;

  text-align: center;

}

.loader-inner span {

  display: block;

  color: white;

  font-size: 34px;

  font-weight: 800;

  letter-spacing: .15em;

}

.loader-line {

  height: 1px;

  margin-top: 15px;

  background:
    rgba(255,255,255,.2);

  overflow: hidden;

}

.loader-line::after {

  content: "";

  display: block;

  width: 40%;

  height: 100%;

  background: var(--yellow);

  animation:
    loading 1.2s ease infinite;

}

@keyframes loading {

  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(350%);
  }

}


/* =========================================================
   HEADER
========================================================= */

.site-header {

  position: fixed;

  top: 0;
  left: 0;

  width: 100%;

  z-index: 1000;

  transition:
    background .4s ease,
    box-shadow .4s ease;

}

.site-header.is-scrolled {

  background:
    rgba(255,255,255,.94);

  backdrop-filter: blur(16px);

  box-shadow:
    0 1px 0 rgba(0,0,0,.08);

}

.header-inner {

  width:
    min(
      calc(100% - 80px),
      1400px
    );

  height: 92px;

  margin-inline: auto;

  display: flex;

  align-items: center;

  justify-content: space-between;

}

.logo img {

  width: 100%;

  max-height: 45px;

  object-fit: contain;

  object-position: left center;

}

.global-nav {

  display: flex;

  gap: 34px;

}

.global-nav a {

  position: relative;

  font-size: 10px;

  font-weight: 600;

  letter-spacing: .16em;

}

.global-nav a::after {

  content: "";

  position: absolute;

  left: 0;
  bottom: -7px;

  width: 0;

  height: 1px;

  background: var(--yellow);

  transition: width .3s ease;

}

.global-nav a:hover::after,
.global-nav a.is-active::after {

  width: 100%;

}


/* =========================================================
   MENU
========================================================= */

.menu-button {

  display: none;

  border: none;

  background: transparent;

  width: 44px;

  height: 44px;

  cursor: pointer;

}

.menu-button span {

  display: block;

  width: 25px;

  height: 1px;

  background: var(--black);

  margin: 7px auto;

  transition:
    transform .3s ease;

}

.menu-button.is-open span:first-child {

  transform:
    translateY(4px)
    rotate(45deg);

}

.menu-button.is-open span:last-child {

  transform:
    translateY(-4px)
    rotate(-45deg);

}


/* =========================================================
   MOBILE NAV
========================================================= */

.mobile-nav {

  position: fixed;

  inset: 0;

  z-index: 900;

  background: var(--bg);

  opacity: 0;

  visibility: hidden;

  transition:
    opacity .4s ease,
    visibility .4s ease;

}

.mobile-nav.is-open {

  opacity: 1;

  visibility: visible;

}

.mobile-nav-inner {

  height: 100%;

  padding:
    140px 40px 40px;

  display: flex;

  flex-direction: column;

}

.mobile-nav-label {

  font-size: 9px;

  color: #888;

  letter-spacing: .25em;

  margin-bottom: 30px;

}

.mobile-nav a {

  font-size: 31px;

  font-weight: 700;

  letter-spacing: -.04em;

  margin-bottom: 12px;

}


/* =========================================================
   HERO
========================================================= */

.recruit-hero {

  position: relative;

  min-height: 760px;

  display: flex;

  align-items: center;

  background: var(--dark);

  color: white;

  overflow: hidden;

}

.hero-bg {

  position: absolute;

  inset: 0;

  overflow: hidden;

}

.hero-grid {

  position: absolute;

  inset: 0;

  opacity: .07;

  background-image:

    linear-gradient(
      rgba(255,255,255,.18) 1px,
      transparent 1px
    ),

    linear-gradient(
      90deg,
      rgba(255,255,255,.18) 1px,
      transparent 1px
    );

  background-size:
    80px 80px;

}

.hero-light {

  position: absolute;

  height: 1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      var(--yellow),
      transparent
    );

  opacity: .6;

}

.light-01 {

  width: 800px;

  right: -200px;

  top: 30%;

  transform:
    rotate(-25deg);

  animation:
    lightMove 7s ease-in-out infinite;

}

.light-02 {

  width: 600px;

  right: 40px;

  top: 55%;

  transform:
    rotate(18deg);

  animation:
    lightMove 9s ease-in-out infinite reverse;

}

.light-03 {

  width: 500px;

  right: 100px;

  top: 72%;

  transform:
    rotate(-8deg);

  animation:
    lightMove 8s ease-in-out infinite;

}

@keyframes lightMove {

  0%,
  100% {

    opacity: .15;

    transform:
      scaleX(.8)
      rotate(-20deg);

  }

  50% {

    opacity: .75;

    transform:
      scaleX(1)
      rotate(-20deg);

  }

}

.hero-circle {

  position: absolute;

  border:
    1px solid rgba(255,255,255,.08);

  border-radius: 50%;

}

.circle-01 {

  width: 520px;

  height: 520px;

  right: -100px;

  top: 90px;

}

.circle-02 {

  width: 340px;

  height: 340px;

  right: 90px;

  top: 180px;

}

.hero-content {

  position: relative;

  z-index: 2;

  width:
    min(
      calc(100% - 80px),
      var(--container)
    );

  margin-inline: auto;

  padding-top: 70px;

}

.breadcrumb {

  display: flex;

  gap: 12px;

  align-items: center;

  margin-bottom: 65px;

  font-size: 9px;

  letter-spacing: .15em;

  color:
    rgba(255,255,255,.5);

}

.breadcrumb strong {

  color: white;

  font-weight: 500;

}

.hero-label {

  display: block;

  color: var(--yellow);

  font-size: 11px;

  font-weight: 600;

  letter-spacing: .28em;

  margin-bottom: 22px;

}

.hero-content h1 {

  font-size:
    clamp(64px, 9vw, 128px);

  line-height: 1.05;

  letter-spacing: -.065em;

  font-weight: 800;

}

.hero-content p {

  margin-top: 35px;

  font-size: 17px;

  line-height: 2;

  color:
    rgba(255,255,255,.7);

}

.hero-bottom {

  position: absolute;

  bottom: 35px;

  left: 50%;

  transform:
    translateX(-50%);

  width:
    min(
      calc(100% - 80px),
      var(--container)
    );

  display: flex;

  justify-content: space-between;

  color:
    rgba(255,255,255,.25);

  font-size: 8px;

  letter-spacing: .25em;

}

.hero-number {

  position: absolute;

  right: 7vw;

  bottom: 75px;

  display: flex;

  flex-direction: column;

  align-items: flex-end;

}

.hero-number span {

  font-size: 100px;

  line-height: 1;

  color:
    rgba(255,255,255,.06);

  font-weight: 800;

}

.hero-number small {

  color:
    rgba(255,255,255,.35);

  font-size: 8px;

  letter-spacing: .25em;

}


/* =========================================================
   SECTION
========================================================= */

.section {

  padding: 140px 0;

}

.eyebrow {

  display: block;

  margin-bottom: 25px;

  font-size: 9px;

  font-weight: 700;

  letter-spacing: .25em;

  color: #777;

}

.section-heading h2 {

  font-size:
    clamp(38px, 5vw, 62px);

  line-height: 1.2;

  letter-spacing: -.05em;

  font-weight: 800;

}

.section-heading p {

  margin-top: 20px;

  color: var(--gray);

}


/* =========================================================
   MESSAGE
========================================================= */

.message-section {

  background: var(--bg);

}

.message-grid {

  display: grid;

  grid-template-columns:
    180px
    1fr;

  gap: 100px;

}

.message-label {

  display: flex;

  flex-direction: column;

}

.vertical-text {

  writing-mode: vertical-rl;

  color: #aaa;

  font-size: 9px;

  letter-spacing: .2em;

}

.message-small {

  color: #777;

  font-size: 12px;

  letter-spacing: .08em;

}

.message-content h2 {

  margin-top: 20px;

  font-size:
    clamp(42px, 6vw, 80px);

  line-height: 1.2;

  letter-spacing: -.06em;

}

.message-content p {

  max-width: 700px;

  margin-top: 28px;

  color: var(--gray);

  font-size: 14px;

}

.message-sign {

  display: flex;

  gap: 25px;

  align-items: center;

  margin-top: 50px;

  padding-top: 20px;

  border-top: 1px solid var(--line);

  width: 280px;

}

.message-sign span {

  font-size: 10px;

  letter-spacing: .18em;

}

.message-sign strong {

  font-size: 10px;

  color: var(--yellow);

  letter-spacing: .2em;

}


/* =========================================================
   WHY
========================================================= */

.why-section {

  background: white;

}

.why-grid {

  margin-top: 70px;

  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  border-top: 1px solid var(--line);

  border-left: 1px solid var(--line);

}

.why-card {

  min-height: 350px;

  padding: 40px;

  border-right: 1px solid var(--line);

  border-bottom: 1px solid var(--line);

  transition:
    background .4s ease;

}

.why-card:hover {

  background: #f4f4f0;

}

.why-number {

  color: #999;

  font-size: 10px;

  letter-spacing: .15em;

}

.why-icon {

  width: 48px;

  height: 48px;

  margin-top: 50px;

}

.why-icon svg {

  width: 100%;
  height: 100%;

  fill: none;

  stroke: var(--black);

  stroke-width: 1.5;

}

.why-card h3 {

  margin-top: 28px;

  font-size: 21px;

}

.why-card p {

  margin-top: 13px;

  color: var(--gray);

  font-size: 13px;

}


/* =========================================================
   JOBS
========================================================= */

.jobs-section {

  background: #f0f0ec;

}

.jobs-list {

  margin-top: 70px;

}

.job-card {

  position: relative;

  background: white;

  padding: 55px;

  margin-bottom: 20px;

  overflow: hidden;

  transition:
    transform .4s ease,
    box-shadow .4s ease;

}

.job-card:hover {

  transform:
    translateY(-4px);

  box-shadow:
    0 25px 50px rgba(0,0,0,.07);

}

.job-top {

  display: flex;

  justify-content: space-between;

  align-items: center;

  padding-bottom: 25px;

  border-bottom: 1px solid var(--line);

}

.job-number {

  font-size: 11px;

  color: #999;

  letter-spacing: .2em;

}

.job-department {

  font-size: 10px;

  color: #777;

}

.job-main {

  display: grid;

  grid-template-columns:
    .85fr
    1.15fr;

  gap: 90px;

  padding-top: 50px;

}

.job-category {

  font-size: 9px;

  color: #999;

  letter-spacing: .22em;

}

.job-main h3 {

  margin-top: 15px;

  font-size:
    clamp(30px, 4vw, 48px);

  letter-spacing: -.05em;

}

.job-description {

  margin-top: 25px;

  color: var(--gray);

  font-size: 14px;

}

.job-details {

  display: grid;

  grid-template-columns:
    1fr
    1fr;

  gap: 45px;

}

.detail-block h4 {

  padding-bottom: 13px;

  border-bottom: 1px solid var(--line);

  font-size: 12px;

}

.detail-block ul {

  list-style: none;

  margin-top: 15px;

}

.detail-block li {

  position: relative;

  padding-left: 15px;

  margin-bottom: 8px;

  color: var(--gray);

  font-size: 11px;

}

.detail-block li::before {

  content: "";

  position: absolute;

  left: 0;

  top: .75em;

  width: 5px;

  height: 1px;

  background: var(--yellow);

}

.job-button {

  display: flex;

  justify-content: space-between;

  align-items: center;

  margin-top: 50px;

  padding-top: 20px;

  border-top: 1px solid var(--line);

  font-size: 11px;

  font-weight: 700;

  letter-spacing: .12em;

}

.job-button span:last-child {

  font-size: 20px;

  font-weight: 400;

  transition:
    transform .3s ease;

}

.job-button:hover span:last-child {

  transform:
    translateX(7px);

}


/* =========================================================
   PEOPLE
========================================================= */

.people-section {

  background: white;

}

.people-grid {

  margin-top: 70px;

  display: grid;

  grid-template-columns:
    1fr
    1fr;

  gap: 20px;

}

.person-card {

  padding: 45px;

  background: #f5f5f2;

  min-height: 500px;

}

.person-head {

  display: flex;

  justify-content: space-between;

  color: #999;

  font-size: 9px;

  letter-spacing: .17em;

}

.person-icon {

  width: 90px;

  height: 90px;

  margin-top: 55px;

  display: grid;

  place-items: center;

  border:
    1px solid #ccc;

  border-radius: 50%;

  font-size: 28px;

  font-weight: 800;

}

.person-card h3 {

  margin-top: 25px;

  font-size: 25px;

}

.person-position {

  color: #777;

  font-size: 11px;

}

.person-card blockquote {

  margin-top: 30px;

  color: #555;

  font-size: 13px;

  line-height: 2;

}


/* =========================================================
   CAREER
========================================================= */

.career-section {

  background: #e5e5df;

}

.career-flow {

  margin-top: 70px;

  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

}

.career-item {

  position: relative;

  padding: 35px;

  min-height: 270px;

  border-top: 1px solid #c8c8c1;

  border-bottom: 1px solid #c8c8c1;

  border-left: 1px solid #c8c8c1;

}

.career-item:last-child {

  border-right: 1px solid #c8c8c1;

}

.career-number {

  font-size: 10px;

  color: #999;

  letter-spacing: .18em;

}

.career-label {

  display: block;

  margin-top: 55px;

  color: #999;

  font-size: 8px;

  letter-spacing: .22em;

}

.career-item h3 {

  margin-top: 8px;

  font-size: 25px;

}

.career-item p {

  margin-top: 12px;

  color: var(--gray);

  font-size: 11px;

}


/* =========================================================
   CTA
========================================================= */

.recruit-cta {

  position: relative;

  padding: 150px 0;

  background: var(--dark);

  color: white;

  overflow: hidden;

}

.cta-lines {

  position: absolute;

  inset: 0;

  opacity: .06;

  background-image:

    linear-gradient(
      rgba(255,255,255,.2) 1px,
      transparent 1px
    ),

    linear-gradient(
      90deg,
      rgba(255,255,255,.2) 1px,
      transparent 1px
    );

  background-size:
    90px 90px;

}

.cta-inner {

  position: relative;

  z-index: 1;

}

.recruit-cta .eyebrow {

  color: var(--yellow);

}

.recruit-cta h2 {

  font-size:
    clamp(44px, 7vw, 88px);

  line-height: 1.2;

  letter-spacing: -.06em;

}

.recruit-cta p {

  margin-top: 30px;

  color:
    rgba(255,255,255,.55);

  font-size: 14px;

}

.cta-button {

  display: inline-flex;

  align-items: center;

  gap: 40px;

  margin-top: 45px;

  padding: 20px 28px;

  border:
    1px solid rgba(255,255,255,.4);

  font-size: 10px;

  font-weight: 700;

  letter-spacing: .18em;

  transition:
    background .3s ease,
    color .3s ease;

}

.cta-button svg {

  width: 20px;

  height: 20px;

  fill: none;

  stroke: currentColor;

  stroke-width: 1.5;

}

.cta-button:hover {

  background: white;

  color: var(--black);

}


/* =====================================================
   FOOTER
===================================================== */

.site-footer {

    background:
        var(--white);

    color:
        var(--black);

    padding:
        85px 0 30px;

    border-top:
        1px solid
        var(--gray-100);
}

.footer-main {

    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 100px;

    padding-bottom: 70px;

    border-bottom:
        1px solid
        var(--gray-100);
}

.footer-brand img {

    width: 120px;

    margin-bottom: 25px;
}

.footer-brand p {

    margin: 0;

    color:
        var(--gray-500);

    font-size: 12px;

    line-height: 2;
}

.footer-nav {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 30px;
}

.footer-nav > div {

    display: flex;

    flex-direction: column;

    align-items: flex-start;
}

.footer-nav span {

    margin-bottom: 20px;

    color:
        var(--gray-500);

    font-family:
        "Inter", sans-serif;

    font-size: 8px;

    letter-spacing: .18em;
}

.footer-nav a {

    margin-bottom: 10px;

    font-size: 11px;

    transition:
        opacity .2s ease;
}

.footer-nav a:hover {
    opacity: .5;
}

.footer-bottom {

    display: flex;

    justify-content: space-between;

    gap: 20px;

    padding-top: 25px;

    color:
        var(--gray-500);

    font-family:
        "Inter", sans-serif;

    font-size: 8px;

    letter-spacing: .04em;
}

/* =========================================================
   REVEAL
========================================================= */

.reveal {

  opacity: 0;

  transform:
    translateY(35px);

  transition:
    opacity .8s ease,
    transform .8s ease;

}

.reveal.is-visible {

  opacity: 1;

  transform:
    translateY(0);

}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1050px) {

  .global-nav {
    gap: 20px;
  }

  .why-grid {
    grid-template-columns:
      repeat(2, 1fr);
  }

  .career-flow {
    grid-template-columns:
      repeat(2, 1fr);
  }

  .career-item:nth-child(2) {
    border-right: 1px solid #c8c8c1;
  }

  .career-item:nth-child(3) {
    border-top: none;
  }

  .career-item:nth-child(4) {
    border-top: none;
  }

}


@media (max-width: 900px) {

  .container {

    width:
      calc(100% - 40px);

  }

  .header-inner {

    width:
      calc(100% - 40px);

  }

  .global-nav {

    display: none;

  }

  .menu-button {

    display: block;

  }

  .message-grid {

    grid-template-columns: 1fr;

    gap: 40px;

  }

  .vertical-text {

    writing-mode:
      horizontal-tb;

  }

  .job-main {

    grid-template-columns: 1fr;

    gap: 50px;

  }

  .people-grid {

    grid-template-columns: 1fr;

  }

  .footer-top {

    grid-template-columns: 1fr;

  }

}


@media (max-width: 600px) {

  .section {

    padding: 90px 0;

  }

  .header-inner {

    height: 75px;

  }

  .logo img {

    width: 95px;

  }

  .recruit-hero {

    min-height: 650px;

  }

  .hero-content {

    width:
      calc(100% - 40px);

  }

  .hero-content h1 {

    font-size: 58px;

  }

  .hero-content p {

    font-size: 14px;

  }

  .hero-bottom {

    display: none;

  }

  .hero-number {

    right: 20px;

    bottom: 30px;

  }

  .hero-number span {

    font-size: 65px;

  }

  .why-grid {

    grid-template-columns: 1fr;

  }

  .why-card {

    min-height: 300px;

  }

  .job-card {

    padding: 30px;

  }

  .job-details {

    grid-template-columns: 1fr;

    gap: 30px;

  }

  .people-grid {

    gap: 15px;

  }

  .person-card {

    padding: 30px;

  }

  .career-flow {

    grid-template-columns: 1fr;

  }

  .career-item,
  .career-item:nth-child(2) {

    border-right: 1px solid #c8c8c1;

  }

  .career-item:not(:first-child) {

    border-top: none;

  }

  .recruit-cta {

    padding: 100px 0;

  }

  .recruit-cta h2 {

    font-size: 44px;

  }

  .footer-bottom {

    flex-direction: column;

    gap: 10px;

  }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {

    animation-duration: .01ms !important;

    animation-iteration-count: 1 !important;

    transition-duration: .01ms !important;

    scroll-behavior: auto !important;

  }

}