@charset "UTF-8";
/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  height: 120vh;
  background: var(--bg);
}

.stage {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero_canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  background: var(--bg);
}

.ui {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
}

/* =========================================================
   HEADER
   ========================================================= */
/* =========================================================
   HERO COPY / SCROLL INDICATOR / GRAY COVER
   ========================================================= */
.hero_copy {
  position: absolute;
  left: clamp(16px, 2.5vw, 32px);
  bottom: clamp(16px, 2.6vw, 34px);
  z-index: 6;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(12px, 1.4vw, 18px);
  line-height: 1.3;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  max-width: min(70vw, 360px);
  pointer-events: none;
  will-change: opacity, transform;
  color: var(--ui_color);
  font-weight: 700;
}

.scroll_indicator {
  position: absolute;
  right: clamp(16px, 2.5vw, 32px);
  bottom: clamp(16px, 2.6vw, 34px);
  z-index: 6;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(12px, 1.4vw, 18px);
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: auto;
  cursor: pointer;
  text-decoration: none;
  will-change: opacity, transform;
  color: var(--ui_color);
  font-weight: 700;
  -webkit-transition: opacity 0.2s ease;
  transition: opacity 0.2s ease;
}

.scroll_indicator:hover {
  opacity: 0.6;
}

.scroll_indicator img {
  width: 14px;
  height: 15px;
  display: block;
}

/* HERO 離脱後は hero_copy / scroll_indicator を確実に非表示
   （JS の opacity 制御が ready=false で走らないケースの保険） */
.is_passed_hero .hero_copy,
.is_passed_hero .scroll_indicator {
  opacity: 0 !important;
  pointer-events: none;
  visibility: hidden;
}

.gray_cover {
  position: absolute;
  inset: 0;
  background: var(--bg);
  -webkit-transform: translateY(100%);
  transform: translateY(100%);
  z-index: 7;
  pointer-events: none;
  -webkit-transition: -webkit-transform 0.12s linear;
  transition: -webkit-transform 0.12s linear;
  transition: transform 0.12s linear;
  transition: transform 0.12s linear, -webkit-transform 0.12s linear;
}

/* =========================================================
   ABOUT
   ========================================================= */
.about_title {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 8vw, 128px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 clamp(28px, 4vh, 48px);
  word-break: keep-all;
  overflow-wrap: break-word;
}

.about_body {
  font-size: clamp(13px, 1.1vw, 16px);
  line-height: 2;
  letter-spacing: -0.04em;
  max-width: 720px;
  margin: 0 auto clamp(28px, 4vh, 44px);
  color: #fff;
}

/* =========================================================
   SERVICE
   ========================================================= */
#service .section_inner {
  padding-top: clamp(100px, 11vw, 160px);
}

.service_head {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr clamp(32px, 5vw, 100px) minmax(260px, 567px);
  grid-template-columns: 1fr minmax(260px, 567px);
  -ms-grid-rows: auto clamp(20px, 2.6vw, 40px) auto;
      grid-template-areas: "title desc" "title btn";
  gap: clamp(20px, 2.6vw, 40px) clamp(32px, 5vw, 100px);
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: start;
  margin-bottom: clamp(44px, 6.4vw, 88px);
}

.service_head_title {
  -ms-grid-row: 1;
  -ms-grid-row-span: 3;
  -ms-grid-column: 1;
  grid-area: title;
  -ms-grid-row-align: start;
  align-self: start;
}

.service_head_title .section_index {
  display: block;
  margin-bottom: clamp(8px, 1vw, 14px);
}

.service_head_title .section_title {
  font-size: clamp(56px, 10.8vw, 200px);
  line-height: 0.9;
  margin: 0;
  letter-spacing: -0.02em;
}

.service_desc {
  -ms-grid-row: 1;
  -ms-grid-column: 3;
  grid-area: desc;
  max-width: none;
}

.service_desc p {
  font-size: 14px;
  line-height: 2;
  margin: 0;
  letter-spacing: -0.04em;
}

.service_btn {
  -ms-grid-row: 3;
  -ms-grid-column: 3;
  grid-area: btn;
  -ms-grid-column-align: end;
  justify-self: end;
  -ms-grid-row-align: start;
  align-self: start;
}

.service_list_wrap {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: auto clamp(120px, 27.5vw, 500px) 1fr;
  grid-template-columns: auto 1fr;
  gap: 0 clamp(120px, 27.5vw, 500px);
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: start;
}

.service_aside_label {
  -ms-flex-item-align: start;
  -ms-grid-row-align: start;
  align-self: start;
  -ms-grid-column-align: start;
  justify-self: start;
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 10px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1.4;
  white-space: nowrap;
  margin-top: clamp(32px, 4vw, 64px);
  color: #222222;
}

.service_list {
  list-style: none;
  padding: 0;
  margin: 0;
  min-width: 0;
}

.service_item {
  border-top: 1px solid var(--line_dark);
}

.service_item:last-child {
  border-bottom: 1px solid var(--line_dark);
}

.service_item_heading {
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.service_item_head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(28px, 3vw, 48px) 0;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
  color: inherit;
  font: inherit;
}

.service_item_title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: clamp(6px, 0.6vw, 10px);
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
}

.service_item_title_en {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 4vw, 64px);
  letter-spacing: -0.01em;
  line-height: 1.05;
  text-transform: uppercase;
}

.service_item_title_ja {
  font-size: clamp(12px, 0.88vw, 14px);
  opacity: 0.95;
  letter-spacing: 0.04em;
  font-weight: 700;
  line-height: 1;
}

.service_item_icon {
  position: relative;
  width: 28px;
  height: 28px;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  display: block;
}

.service_item_icon::before,
.service_item_icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: currentColor;
  -webkit-transition: -webkit-transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition: -webkit-transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), -webkit-transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.service_item_icon::before {
  width: 16px;
  height: 1px;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.service_item_icon::after {
  width: 1px;
  height: 16px;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.service_item.is_open .service_item_icon::after {
  -webkit-transform: translate(-50%, -50%) rotate(90deg);
  transform: translate(-50%, -50%) rotate(90deg);
}

.service_item_body {
  max-height: 0;
  overflow: hidden;
  -webkit-transition: max-height 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition: max-height 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.service_item.is_open .service_item_body {
  max-height: 480px;
}

.service_item_body_inner {
  padding: 0 0 clamp(22px, 2.2vw, 32px);
  max-width: 960px;
}

.service_item_body p {
  font-size: clamp(12px, 0.88vw, 14px);
  line-height: 1.9;
  margin-bottom: clamp(16px, 1.8vw, 24px);
  letter-spacing: 0.04em;
}

/* =========================================================
   NEWS
   ========================================================= */
.news_head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(40px, 5vw, 72px);
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.news_head_left .section_index {
  display: block;
  margin-bottom: 4px;
}

.news_list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line_news);
}

.news_item {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: auto clamp(16px, 2.4vw, 36px) auto clamp(16px, 2.4vw, 36px) 1fr;
  grid-template-columns: auto auto 1fr;
  gap: clamp(16px, 2.4vw, 36px);
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: clamp(18px, 1.8vw, 24px) 0;
  border-bottom: 1px solid var(--line_news);
}

/* article ラッパは grid に対して透過させ、子要素を直接 grid item にする */
.news_item > article {
  display: contents;
}

.news_item_date {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 10px;
  font-family: "Plus Jakarta Sans", sans-serif;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.news_item_date_day {
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 700;
  line-height: 1;
}

.news_item_date_ym {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  font-size: clamp(10px, 0.7vw, 11px);
  letter-spacing: 0.06em;
  line-height: 1.3;
  opacity: 0.75;
}

.news_item_cats {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 6px;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.news_item_cat {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 4px 12px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(10px, 0.72vw, 11px);
  letter-spacing: 0.08em;
  opacity: 0.9;
  line-height: 1;
}

.news_item_heading {
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.news_item_title {
  font-size: clamp(12px, 0.9vw, 14px);
  line-height: 1.6;
  color: inherit;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  -webkit-transition: opacity 0.2s ease;
  transition: opacity 0.2s ease;
}

.news_item_title:hover {
  opacity: 0.6;
}

/* =========================================================
   ABOUT / RECRUIT 共通レイアウト（背景動画が透過して見える）
   ========================================================= */
.section.section_about,
.section.section_recruit {
  text-align: center;
  background: transparent;
  overflow: hidden;
}

.section.section_recruit::before {
  content: "";
  position: absolute;
  inset: 0;
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.55)), color-stop(50%, rgba(0, 0, 0, 0.35)), to(rgba(0, 0, 0, 0.55)));
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.35) 50%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
  z-index: 0;
}

.section.section_about .section_inner,
.section.section_recruit .section_inner {
  position: relative;
  z-index: 1;
  padding: clamp(120px, 14vw, 220px) clamp(24px, 5.2vw, 71px);
}

.section.section_about .section_index,
.section.section_recruit .section_index {
  display: block;
  margin-bottom: 12px;
  color: #fff;
  opacity: 0.9;
}

.section.section_about .section_label_sub,
.section.section_recruit .section_label_sub {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: clamp(16px, 1.4vw, 22px);
  letter-spacing: 0.14em;
  margin-bottom: clamp(28px, 4vh, 44px);
  text-transform: uppercase;
  color: #fff;
}

.section.section_recruit .section_title {
  font-size: clamp(64px, 12vw, 200px);
  margin-bottom: clamp(28px, 4vh, 48px);
  letter-spacing: -0.02em;
}

.recruit_text {
  font-size: clamp(13px, 1.1vw, 16px);
  line-height: 1.95;
  max-width: 720px;
  margin: 0 auto clamp(28px, 4vh, 40px);
  letter-spacing: 0.04em;
}

/* =========================================================
   CONTACT（無限ループマーキー）
   ========================================================= */
/* contact_marquee 自身を flex コンテナにし、内側の 2 グループを横並び（オーバーフロー隠し） */
/* 各グループは内容ぶんの幅・縮まない・自分自身に -100% アニメーションを持つ
   → 2 グループが同期スクロール → 一方が画面外に出る瞬間に他方が同位置に居るので継ぎ目なし
   ※ width: max-content で幅を必ず確定させる（これがないと -100% が 0px になる場合あり） */
/* =========================================================
   FOOTER
   ========================================================= */
/* =========================================================
   メディアクエリ：タブレット横（iPad横）／1024px 以下
   ========================================================= */
@media (max-width: 1024px) {
  .hero_copy {
    font-size: 15px;
    line-height: 1.3;
  }
  .scroll_indicator {
    font-size: 15px;
  }
  .service_head_title .section_title {
    font-size: clamp(56px, 11vw, 140px);
  }
  .service_list_wrap {
    gap: 0 clamp(60px, 12vw, 200px);
  }
} /* /@media 1024 */
/* =========================================================
   メディアクエリ：タブレット縦／900px 以下
   ========================================================= */
@media (max-width: 900px) {
  .hero_copy {
    font-size: 13px;
    line-height: 1.35;
    max-width: 60vw;
  }
  .scroll_indicator {
    font-size: 13px;
  }
  .about_title {
    font-size: clamp(36px, 8vw, 84px);
    line-height: 1.06;
  }
  .about_body {
    font-size: 13px;
    line-height: 1.95;
    letter-spacing: -0.02em;
  }
  .service_head {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    -ms-grid-rows: auto clamp(18px, 2vw, 28px) auto clamp(18px, 2vw, 28px) auto;
        grid-template-areas: "title" "desc" "btn";
    gap: clamp(18px, 2vw, 28px);
  }
  .service_head_title {
    grid-area: title;
  }
  .service_head_title .section_title {
    font-size: clamp(52px, 13vw, 96px);
  }
  .service_desc {
    grid-area: desc;
  }
  .service_btn {
    grid-area: btn;
    -ms-grid-column-align: start;
        justify-self: start;
  }
  .service_list_wrap {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    gap: 0;
  }
  .service_aside_label {
    -webkit-writing-mode: horizontal-tb;
        -ms-writing-mode: lr-tb;
            writing-mode: horizontal-tb;
    -webkit-transform: none;
    transform: none;
    margin-top: 0;
    margin-bottom: clamp(12px, 1.6vw, 18px);
    padding-right: 0;
  }
  .news_item {
    -ms-grid-columns: auto 24px auto 24px 1fr;
    grid-template-columns: auto auto 1fr;
    -ms-grid-rows: auto 14px auto;
        grid-template-areas: "date cats title" "date cats title";
    gap: 14px 24px;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .news_item_date {
    grid-area: date;
  }
  .news_item_cats {
    grid-area: cats;
    margin-left: 0;
  }
  .news_item_heading {
    grid-area: title;
    min-width: 0;
  }
  .section.section_recruit .section_title {
    font-size: clamp(56px, 13vw, 120px);
  }
} /* /@media 900 */
/* =========================================================
   メディアクエリ：スマートフォン／640px 以下
   ========================================================= */
@media (max-width: 640px) {
  /* ---- HERO ----
     スマホでは .hero を 180vh まで伸ばし、ロゴ拡大アニメ（IDLE→EXPAND）を
     スクロール量に対してゆっくり進ませる（PC 既定の 120vh より走行距離が長い） */
  .hero {
    height: 180vh;
  }
  .hero_copy {
    left: 16px;
    bottom: 16px;
    font-size: 11px;
    line-height: 1.4;
    max-width: 58vw;
  }
  .scroll_indicator {
    right: 16px;
    bottom: 16px;
    font-size: 11px;
    gap: 8px;
  }
  .scroll_indicator img {
    width: 12px;
    height: 13px;
  }
  /* ---- ABOUT ---- */
  .about_title {
    font-size: clamp(28px, 9vw, 52px);
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
  }
  .about_body {
    font-size: 12px;
    line-height: 1.9;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    text-align: left;
  }
  .about_body br {
    display: none;
  }
  .section.section_about .section_inner,
  .section.section_recruit .section_inner {
    padding: clamp(80px, 18vw, 140px) 20px;
  }
  /* ---- SERVICE（HOMEセクション） ---- */
  #service .section_inner {
    padding-top: clamp(70px, 14vw, 110px);
  }
  .service_head {
    margin-bottom: 36px;
  }
  .service_head_title .section_title {
    font-size: clamp(44px, 14vw, 76px);
  }
  .service_desc p {
    font-size: 13px;
    line-height: 1.85;
  }
  .service_item_head {
    padding: 22px 0;
  }
  .service_item_title {
    gap: 4px;
  }
  .service_item_title_en {
    font-size: 22px;
  }
  .service_item_title_ja {
    font-size: 11px;
  }
  .service_item_icon {
    width: 22px;
    height: 22px;
  }
  .service_item_icon::before {
    width: 12px;
  }
  .service_item_icon::after {
    height: 12px;
  }
  .service_item.is_open .service_item_body {
    max-height: 720px;
  }
  /* ---- RECRUIT（HOME 内） ---- */
  .section.section_recruit .section_title {
    font-size: clamp(44px, 14vw, 72px);
  }
  .section.section_recruit .section_label_sub {
    font-size: 14px;
    margin-bottom: 18px;
  }
  .recruit_text {
    font-size: 12.5px;
    line-height: 1.95;
    text-align: left;
  }
  /* ---- NEWS（display:contents で article を透過 → time/cats/h3 が grid item） ---- */
  .news_head {
    margin-bottom: 28px;
  }
  .news_item {
    -ms-grid-columns: auto 14px 1fr;
    grid-template-columns: auto 1fr;
    -ms-grid-rows: auto 6px auto;
        grid-template-areas: "date  cats" "title title";
    gap: 6px 14px;
    padding: 16px 0;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .news_item_date {
    grid-area: date;
    gap: 8px;
    -webkit-box-align: baseline;
        -ms-flex-align: baseline;
            align-items: baseline;
  }
  .news_item_date_day {
    font-size: 22px;
    line-height: 1;
  }
  .news_item_date_ym {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    gap: 4px;
    font-size: 10.5px;
    letter-spacing: 0.08em;
    line-height: 1;
  }
  .news_item_cats {
    grid-area: cats;
    -ms-grid-column-align: end;
        justify-self: end;
    margin-left: 0;
    gap: 4px;
  }
  .news_item_cat {
    padding: 3px 8px;
    font-size: 9.5px;
  }
  .news_item_heading {
    grid-area: title;
  }
  .news_item_title {
    -webkit-line-clamp: 2;
    font-size: 13px;
    line-height: 1.55;
  }
} /* /@media 640 */
/* =========================================================
   メディアクエリ：小型スマートフォン／380px 以下
   ========================================================= */
@media (max-width: 380px) {
  .about_title {
    font-size: 26px;
    line-height: 1.1;
  }
  .about_body {
    font-size: 11px;
    line-height: 1.8;
  }
} /* /@media 380 */
/* =========================================================
   メディアクエリ：横向き（短い画面高）
   ========================================================= */
@media (max-height: 520px) and (orientation: landscape) {
  .about_title {
    font-size: clamp(28px, 6vh, 54px);
    margin-bottom: 14px;
  }
  .about_body {
    font-size: 12px;
    line-height: 1.7;
    margin-bottom: 18px;
    max-width: 640px;
  }
} /* /@media landscape */