@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;700&family=Noto+Sans+JP:wght@400;700&display=swap');

/* ===== Reset ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

/* ===== Variables ===== */
:root {
  --color-text: #363636;
  --color-muted: #757575;
  --color-dark: #373737;
  --color-border-light: #EEEEEE;
  --color-placeholder: #D9D9D9;
  --font-en: 'Montserrat', Helvetica, Arial, sans-serif;
  --font-jp: 'Noto Sans JP', sans-serif;
  --content-width: 1200px;
  --header-px: 50px;
  --header-py: 20px;
}

/* ===== Base ===== */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-en);
  color: var(--color-text);
  background: #fff;
  overflow-x: hidden;
}

/* ===== Header ===== */
.site-header {
  width: 100%;
  background: #fff;
  padding: var(--header-py) var(--header-px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header__logo {
  display: block;
  width: 160.594px;
  height: 50.032px;
  flex-shrink: 0;
}

.site-header__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-header__nav a {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.7px;
  color: var(--color-text);
  white-space: nowrap;
  text-align: center;
  transition: opacity 0.2s;
}

.site-header__nav a:hover {
  opacity: 0.6;
}

/* ===== Hamburger ===== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--color-text);
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}

.hamburger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== Mobile Nav Overlay ===== */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 48px;
}

.nav-overlay.is-open {
  display: flex;
}

.nav-overlay__close {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 28px;
  line-height: 1;
  color: var(--color-text);
}

.nav-overlay__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}

.nav-overlay__links a {
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 2px;
  color: var(--color-text);
  transition: opacity 0.2s;
}

.nav-overlay__links a:hover {
  opacity: 0.6;
}

/* ===== Site Footer (standard) ===== */
.site-footer {
  width: 100%;
  background: #fff;
  padding: 0 var(--header-px) 50px;
}

.site-footer::before {
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.7px;
  color: var(--color-text);
  white-space: nowrap;
}

.site-footer__bottom a {
  transition: opacity 0.2s;
}

.site-footer__bottom a:hover {
  opacity: 0.6;
}


/* ===== Page Layout wrapper ===== */
.page-wrap {
  display: flex;
  flex-direction: column;
  gap: 100px;
  width: 100%;
  padding: 100px 0 200px;
}

.page-sections {
  display: flex;
  flex-direction: column;
  gap: 200px;
  width: 100%;
}

/* Coming soon ページ用（中身が少ないためフッターを画面下に押し下げる） */
.page-wrap--coming {
  min-height: calc(100vh - 160px);
}

/* ===== Scroll Indicator ===== */
.scroll-indicator {
  position: absolute;
  right: 50px;
  top: 0;
  width: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  pointer-events: none;
}

.scroll-indicator__text {
  writing-mode: vertical-lr;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1.2px;
  line-height: 1.7;
  color: var(--color-text);
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-indicator__line {
  width: 1px;
  height: 60px;
  background: #999;
}

/* ===== Page Intro (shared across inner pages) ===== */
.page-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-intro__inner {
  display: flex;
  flex-direction: column;
  gap: 23px;
  width: 100%;
  padding: 0 100px;
  width: var(--content-width);
  align-items: self-start;
}

.page-intro__title {
  font-family: var(--font-en);
  font-size: 90px;
  font-weight: 300;
  letter-spacing: 4.5px;
  color: var(--color-text);
  line-height: 1;
  display: inline-block;
}

.page-intro__desc {
  font-family: var(--font-jp);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.8px;
  color: var(--color-text);
  line-height: 1.7;
}

/* ===== Scroll Animation ===== */

/* -- ãƒ–ãƒ­ãƒƒã‚¯ãƒªãƒ´ã‚£ãƒ¼ãƒ«ï¼ˆè¦‹å‡ºã—ï¼‰ -- */
.anim-block-reveal {
  position: relative;
  overflow: hidden;
  display: inline-block;
  padding-bottom: 0.5em;
  margin-bottom: -0.5em;
}

.anim-block-reveal__heading {
  opacity: 0;
}

.anim-block-reveal__mask {
  position: absolute;
  inset: 0;
  background: var(--color-text);
  transform: translateX(-101%);
  pointer-events: none;
  z-index: 1;
}

@keyframes block-reveal-mask {
  0%   { transform: translateX(-101%); }
  46%  { transform: translateX(0%); }
  54%  { transform: translateX(0%); }
  100% { transform: translateX(101%); }
}

@keyframes block-reveal-text {
  0%, 45%  { opacity: 0; }
  46%, 100% { opacity: 1; }
}

.anim-block-reveal.is-playing .anim-block-reveal__heading {
  animation: block-reveal-text 1.1s cubic-bezier(0.77, 0, 0.18, 1) forwards;
}

.anim-block-reveal.is-playing .anim-block-reveal__mask {
  animation: block-reveal-mask 1.1s cubic-bezier(0.77, 0, 0.18, 1) forwards;
}

/* -- ãƒ†ã‚­ã‚¹ãƒˆãƒ•ã‚§ãƒ¼ãƒ‰ã‚¤ãƒ³ -- */
.anim-fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.anim-fade.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* -- å†™çœŸãƒ•ã‚§ãƒ¼ãƒ‰ã‚¤ãƒ³ï¼‹ç§»å‹• -- */
.anim-photo {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}

.anim-photo.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* -- Worksã‚°ãƒªãƒƒãƒ‰ã‚¢ã‚¤ãƒ†ãƒ  -- */
.anim-works {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.anim-works.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== TOP page ===== */
.top-hero {
  display: flex;
  justify-content: center;
  padding: 50px 0 100px;
}

.top-hero__slider {
  width: 1170px;
  flex-shrink: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}

.top-hero__slider.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.top-hero__slider .slick-slide img {
  width: 1170px;
  height: 800px;
  object-fit: cover;
  display: block;
}

.top-hero__img {
  width: 1170px;
  height: 800px;
  object-fit: cover;
  flex-shrink: 0;
}

/* ===== ABOUT page ===== */
/* About: main image section */
.about-hero {
  position: relative;
  width: 100%;
  padding-right: 50px;
}

.about-hero__img {
  width: 1141px;
  height: 652px;
  object-fit: cover;
  flex-shrink: 0;
}

/* About: OUTLINE section */
.about-outline {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.about-outline__inner {
  width: var(--content-width);
  display: flex;
  align-items: stretch;
  justify-content: space-between;
}

.about-outline__text {
  display: flex;
  flex-direction: column;
  gap: 68px;
  padding: 150px 0;
  width: 411px;
  flex-shrink: 0;
}

.about-outline__heading {
  font-family: var(--font-en);
  font-size: 44px;
  font-weight: 300;
  letter-spacing: 2.2px;
  color: var(--color-text);
  line-height: 1;
}

.about-outline__content {
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: #000;
}

.about-outline__content-title {
  font-family: var(--font-jp);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 1px;
  line-height: 1;
}

.about-outline__content-list {
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.9;
  display: flex;
  flex-direction: column;
}

.about-outline__img {
  width: 620px;
  flex-shrink: 0;
  object-fit: cover;
  align-self: stretch;
}

/* ===== WORKS page ===== */
.works-gallery {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(4, 1fr);
  column-gap: 16px;
  row-gap: 14px;
  width: 1000px;
  height: 1456px;
}

.works-grid__item {
  position: relative;
  background: var(--color-placeholder);
  overflow: hidden;
  cursor: pointer;
}

.works-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.works-grid__item:hover img {
  transform: scale(1.1);
  filter: grayscale(100%);
}

.works-grid__item__label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.7;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.works-grid__item:hover .works-grid__item__label {
  opacity: 1;
}

/* ===== Modal ===== */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  align-items: center;
  justify-content: center;
}

.modal.is-open {
  display: flex;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
}

.modal__container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal__img {
  display: block;
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
}

.modal__close {
  position: absolute;
  top: -44px;
  right: 0;
  font-size: 28px;
  line-height: 1;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  transition: opacity 0.2s;
}

.modal__close:hover {
  opacity: 0.7;
}

.modal__prev,
.modal__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  font-size: 36px;
  line-height: 1;
  padding: 16px;
  transition: opacity 0.2s;
  z-index: 1;
}

.modal__prev:hover,
.modal__next:hover {
  opacity: 0.7;
}

.modal__prev {
  left: -64px;
}

.modal__next {
  right: -64px;
}

/* ===== COMPANY page ===== */
/* Company: info section */
.company-info-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
}

/* 写真を非表示にしているため、page-intro（タイトル・リード文）と同じ左端に揃える */
.company-info-inner {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  width: var(--content-width);
  padding: 0 100px;
}

.company-info__img {
  width: 600px;
  height: 831px;
  object-fit: cover;
  flex-shrink: 0;
}

.company-info__details {
  display: flex;
  flex-direction: column;
  gap: 36px;
  width: 520px;
  font-family: var(--font-jp);
  line-height: 1.7;
}

.company-info__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.company-info__label {
  font-size: 13px;
  font-weight: 400;
  color: var(--color-muted);
}

.company-info__value {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.75px;
  color: var(--color-text);
}

/* Company: HISTORY section */
.company-history {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.company-history__inner {
  display: flex;
  flex-direction: column;
  gap: 73px;
  align-items: center;
}

.section-heading {
  font-family: var(--font-en);
  font-size: 44px;
  font-weight: 300;
  letter-spacing: 2.2px;
  color: var(--color-text);
  text-align: center;
  line-height: 1;
}

.history-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 50px;
  min-height: 320px;
  padding-left: 0;
}

.history-list::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: #747474;
}

.history-item {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.history-year,
.history-event {
  display: flex;
  align-items: center;
  gap: 20px;
}

.history-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
}

.history-dot--year {
  background: #747474;
}

.history-dot--event {
  background: transparent;
}

.history-year-text {
  font-family: var(--font-jp);
  font-size: 15px;
  font-weight: 400;
  color: var(--color-muted);
  line-height: 1;
  white-space: nowrap;
}

.history-event-text {
  font-family: var(--font-jp);
  font-size: 15px;
  font-weight: 400;
  color: var(--color-dark);
  line-height: 1;
  white-space: nowrap;
}

/* ===== RECRUIT page ===== */
/* Recruit: main image */
.recruit-hero {
  position: relative;
  width: 100%;
  padding-right: 50px;
}

.recruit-hero__img {
  width: 1141px;
  height: 652px;
  object-fit: cover;
  flex-shrink: 0;
}

/* Recruit: job info table */
.recruit-info-section {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.recruit-info-list {
  display: flex;
  flex-direction: column;
  width: 620px;
}

.recruit-info-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 34px 100px;
  border-bottom: 1px solid #747474;
  line-height: 1.7;
}

.recruit-info-item:first-child {
  padding-top: 0;
}

.recruit-info-item:last-child {
  border-bottom: none;
}

.recruit-info__label {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.6px;
  color: var(--color-muted);
}

.recruit-info__value {
  font-family: var(--font-jp);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.7px;
  color: var(--color-text);
}

/* Recruit: ENTRY section */
.recruit-entry {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.recruit-entry__inner {
  display: flex;
  flex-direction: column;
  gap: 71px;
  align-items: center;
  width: 100%;
}

.recruit-entry__sub {
  display: flex;
  flex-direction: column;
  gap: 34px;
  align-items: center;
}

.recruit-entry__desc {
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.8px;
  color: #000;
  text-align: center;
  line-height: 1;
  white-space: nowrap;
}

.recruit-entry__btn-wrap {
  position: relative;
  display: inline-flex;
}

.recruit-entry__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 24px 68px;
  border: 1px solid #939393;
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 1.6px;
  color: var(--color-text);
  transition: color 0.25s ease;
}

.recruit-entry__btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-text);
  transform: rotateY(90deg);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.recruit-entry__btn::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -36px;
  width: 70px;
  height: 1px;
  background-color: var(--color-text);
  transition: all 0.25s ease 0.05s;
}

.recruit-entry__btn__text {
  position: relative;
  z-index: 1;
}

.recruit-entry__btn:hover {
  color: #fff;
}

.recruit-entry__btn:hover::before {
  transform: rotateY(0deg);
  transform-origin: left;
}

.recruit-entry__btn:hover::after {
  width: 24px;
  background-color: #fff;
  transform: translate(-46px, 0);
}

/* ===== PRIVACY page ===== */
.privacy-content-section {
  position: relative;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
}

.privacy-text {
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.8px;
  color: var(--color-dark);
  line-height: 2;
  width: 900px;
  white-space: pre-wrap;
}

/* ===== Responsive: Tablet (ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â°ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¤768px) ===== */
@media (max-width: 768px) {
  :root {
    --header-px: 24px;
    --header-py: 24px;
  }

  /* Header */
  .site-header__nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* Page intro */
  .page-intro__inner {
    width: 100%;
    padding: 0 24px;
  }

  .page-intro__title {
    font-size: 56px;
    letter-spacing: 2.8px;
  }

  /* TOP hero */
  .top-hero {
    padding: 16px 24px 40px;
  }

  .top-hero__slider {
    width: 100%;
  }

  .top-hero__slider .slick-slide img {
    width: 100%;
    height: auto;
    aspect-ratio: 1170 / 800;
  }

  .top-hero__img {
    width: 100%;
    height: auto;
    aspect-ratio: 1170 / 800;
  }

  /* ABOUT hero */
  .about-hero {
    padding-right: 0;
  }

  .about-hero__img {
    width: 100%;
    height: auto;
    aspect-ratio: 1141 / 652;
  }

  /* ABOUT outline */
  .about-outline__inner {
    width: 100%;
    flex-direction: column;
    padding: 0 24px;
    gap: 40px;
  }

  .about-outline__text {
    width: 100%;
    padding: 40px 0;
    gap: 40px;
  }

  .about-outline__img {
    width: 100%;
    height: auto;
    aspect-ratio: 620 / 550;
  }

  /* WORKS */
  .works-grid {
    width: 100%;
    height: auto;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    grid-auto-rows: auto;
    padding: 0 24px;
  }

  .works-grid__item {
    aspect-ratio: 1141 / 652;
  }

  /* COMPANY info */
  .company-info-inner {
    width: 100%;
    flex-direction: column;
    padding: 0 24px;
    gap: 40px;
  }

  .company-info__img {
    width: 100%;
    height: auto;
    aspect-ratio: 600 / 831;
  }

  .company-info__details {
    width: 100%;
  }

  /* COMPANY history */
  .company-history__inner {
    gap: 40px;
    padding: 0 24px;
  }

  /* RECRUIT hero */
  .recruit-hero {
    padding-right: 0;
  }

  .recruit-hero__img {
    width: 100%;
    height: auto;
    aspect-ratio: 1141 / 652;
  }

  /* RECRUIT info */
  .recruit-info-list {
    width: 100%;
    padding: 0 24px;
  }

  .recruit-info-item {
    padding: 24px 0;
  }

  /* PRIVACY */
  .privacy-content-section {
    padding: 0 24px;
  }

  .privacy-text {
    width: 100%;
    font-size: 14px;
  }

  /* Scroll indicator: hidden on tablet */
  .scroll-indicator {
    display: none;
  }


  /* Page sections gap */
  .page-wrap {
    gap: 60px;
  }

  .page-sections {
    gap: 80px;
  }
}

/* ===== Responsive: SP (ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â°ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¤480px) ===== */
@media (max-width: 480px) {
  .page-intro__title {
    font-size: 40px;
    letter-spacing: 2px;
  }

  .page-intro__desc {
    font-size: 14px;
  }

  /* TOP hero */
  .top-hero {
    padding: 12px 16px 32px;
  }

  /* WORKS: single column */
  .works-grid {
    grid-template-columns: 1fr;
    padding: 0 16px;
  }

  /* ABOUT outline */
  .about-outline__inner {
    padding: 0 16px;
  }

  .about-outline__heading {
    font-size: 32px;
  }

  /* COMPANY */
  .company-info-inner {
    padding: 0 24px;
  }

  /* RECRUIT info */
  .recruit-info-list {
    padding: 0 24px;
  }

  .recruit-info-item {
    padding: 20px 0;
  }

  /* ENTRY button */
  .recruit-entry__btn {
    padding: 20px 40px;
  }

  /* PRIVACY */
  .privacy-content-section {
    padding: 0 16px;
  }

  /* Section heading */
  .section-heading {
    font-size: 32px;
  }

  /* History */
  .company-history__inner {
    padding: 0 16px;
  }

  .site-footer {
    padding: 0 24px;
    border-top: solid 1px #eeeeee;
  }

  /* Footer：コピーライトの上下余白を揃える */
  .site-footer__bottom {
    gap: 12px;
    align-items: flex-start;
    padding: 32px 0;
  }
}
