@charset "UTF-8";
/* ==============================================================================
  job レイアウト
============================================================================== */
/* position: sticky;対策 */
.l-under--job {
  overflow-x: visible;
}
@media (max-width: 768px) {
  .l-under--job .p-under-section {
    margin-bottom: 0px;
  }
}
@media (max-width: 768px) {
  .l-under--job .p-under-block {
    margin-bottom: 0px;
  }
}
@media (max-width: 768px) {
  .l-under--job .p-under-block__body {
    margin-top: 20px;
  }
}
@media (max-width: 768px) {
  .l-under--job .p-under-block__title {
    margin-bottom: 20px;
  }
}

/* ==============================================================================
  job インタビューストーリー
============================================================================== */
.p-job-story {
  width: 100%;
  margin: 0 auto 140px 0;
}
@media (max-width: 768px) {
  .p-job-story {
    margin-bottom: 100px;
  }
}
.p-job-story__container {
  max-width: 1440px; /* 1440px */
  margin: 0 auto;
  padding-top: 60px;
  padding-left: 20px;
  padding-right: 20px;
}
@media (max-width: 768px) {
  .p-job-story__container {
    padding-top: 40px;
  }
}
.p-job-story {
  /* セクション見出し */
}
.p-job-story .p-under-section__inner {
  margin-bottom: 60px;
}
@media (max-width: 768px) {
  .p-job-story .p-under-section__inner {
    margin-bottom: 20px;
  }
}
.p-job-story__inner {
  display: flex;
  gap: 40px;
  align-items: flex-start; /* 高さを揃えない（sticky成立条件） */
}
@media (max-width: 768px) {
  .p-job-story__inner {
    flex-direction: column;
  }
}
.p-job-story {
  /* 左カラム（PC） */
}
.p-job-story__side {
  width: 16%; /* 230 / 1440 ≒ 16% */
  min-width: 200px; /* 下限 */
  flex-shrink: 0;
  position: sticky; /* stickyはカラム自体に */
  top: 120px; /*top: 10vw;*/
  align-self: flex-start; /* 念押し */
}
@media (max-width: 768px) {
  .p-job-story__side {
    display: none;
    position: static; /* 念のため */
  }
}
.p-job-story__side-inner {
  display: flex;
  gap: 20px;
  justify-content: center;
}
.p-job-story {
  /* 英字（縦書き） */
}
.p-job-story__en {
  writing-mode: vertical-rl;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  padding-top: 5px;
}
@media (max-width: 768px) {
  .p-job-story__en {
    writing-mode: horizontal-tb;
    font-size: 0.8rem;
  }
}
.p-job-story__en::after {
  content: "";
  display: inline-block;
  margin-top: 20px;
  width: 1px;
  height: 45px;
  background-color: #1f1f1f;
}
@media (max-width: 768px) {
  .p-job-story__en::after {
    width: 45px;
    height: 1px;
    margin-left: 10px;
    transform: translateY(-2px); /* 位置調整 */
  }
}
.p-job-story {
  /* 和文 */
}
.p-job-story__ja {
  width: fit-content;
  writing-mode: vertical-rl;
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}
@media (max-width: 768px) {
  .p-job-story__ja {
    writing-mode: horizontal-tb;
    font-size: 1.8rem;
  }
}
.p-job-story {
  /* 右カラム */
}
.p-job-story__main {
  flex: 1;
  max-width: 100%;
}
.p-job-story {
  /* SP用見出し */
}
.p-job-story__sp-head {
  display: none;
  margin-bottom: 40px;
}
@media (max-width: 768px) {
  .p-job-story__sp-head {
    display: block;
  }
}
.p-job-story {
  /* 各ブロック */
}
.p-job-story__item {
  margin-bottom: 100px;
}
.p-job-story__item:last-child {
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .p-job-story__item {
    margin-bottom: 80px;
  }
}
.p-job-story__image {
  margin-bottom: 60px;
}
@media (max-width: 768px) {
  .p-job-story__image {
    margin-bottom: 40px;
  }
}
.p-job-story__image img {
  width: 100%;
  display: block;
}
.p-job-story__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 30px;
}
.p-job-story__text {
  line-height: 2.2;
}

/* ------------------------------------------------------------------------------
  job｜1日の流れ
------------------------------------------------------------------------------ */
.p-under-block--job-day {
  max-width: 1440px;
  padding-top: 60px;
  margin: 0 auto 140px 0;
}
@media (max-width: 768px) {
  .p-under-block--job-day {
    padding-top: 40px;
    margin-bottom: 100px;
  }
}

@media (max-width: 768px) {
  .p-under-block--job-day .p-under-block__decoration {
    display: none;
  }
}

.p-job-day {
  width: 100%;
}
.p-job-day__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 40px;
}
@media (max-width: 768px) {
  .p-job-day__title {
    margin-bottom: 26px;
  }
}
.p-job-day__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  overflow: hidden;
}
.p-job-day__item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px 20px;
  background-color: #f0f0f0;
  border-radius: 12px;
}
@media (max-width: 900px) {
  .p-job-day__item {
    gap: 14px;
  }
}
.p-job-day__item {
  /* 縦ライン（デフォルト：PC） */
}
.p-job-day__item::after {
  content: "";
  position: absolute;
  left: 96px;
  top: 50%;
  width: 2px;
  height: calc(100% + 20px);
  background-color: #e7124e;
  transform: translateX(-50%);
  z-index: 1;
}
.p-job-day__item:last-child::after {
  background-color: #f0f0f0;
}
.p-job-day__item {
  /* ----------------------------------------------------------------------
    tb-wide（〜900px）
    折返しが起きやすい帯域なのでラインを短くする
  ---------------------------------------------------------------------- */
}
@media (max-width: 900px) {
  .p-job-day__item::after {
    height: calc(100% + 10px);
  }
  .p-job-day__item:last-child::after {
    background-color: #f0f0f0;
  }
}
.p-job-day__item {
  /* ----------------------------------------------------------------------
    tb（〜768px）
    さらに短く・位置も調整
  ---------------------------------------------------------------------- */
}
@media (max-width: 900px) {
  .p-job-day__item::after {
    left: 72px;
    height: calc(100% + 12px);
  }
  .p-job-day__item:last-child::after {
    background-color: #f0f0f0;
  }
}
.p-job-day__dot {
  position: absolute;
  left: 96px;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #e7124e;
  z-index: 2;
}
@media (max-width: 900px) {
  .p-job-day__dot {
    left: 72px;
    width: 12px;
    height: 12px;
  }
}
.p-job-day__time {
  width: 72px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
@media (max-width: 900px) {
  .p-job-day__time {
    width: 56px;
    font-size: 0.875rem;
  }
}
.p-job-day__text {
  font-size: 1rem;
  line-height: 1.6;
}
@media (max-width: 900px) {
  .p-job-day__text {
    font-size: 0.875rem;
  }
}

/* ------------------------------------------------------------------------------
  job｜休日の過ごし方
------------------------------------------------------------------------------ */
@media (max-width: 768px) {
  .p-job-dayoff {
    padding-top: 40px;
  }
}
.p-job-dayoff {
  /* レイアウト解除 */
}
.p-job-dayoff .p-under-block__inner {
  display: block;
}
.p-job-dayoff .p-under-block {
  /* 左右カラム指定解除 */
}
.p-job-dayoff .p-under-block__img, .p-job-dayoff .p-under-block__body {
  width: 100%;
  flex: none;
}
.p-job-dayoff .p-under-block {
  /* 画像エリア */
}
.p-job-dayoff .p-under-block__img {
  position: relative;
  margin-bottom: 32px;
}
.p-job-dayoff .p-under-block {
  /* メイン画像 */
}
.p-job-dayoff .p-under-block__img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}
.p-job-dayoff .p-under-block {
  /* Day Off! 装飾 */
}
.p-job-dayoff .p-under-block__decoration {
  position: absolute;
  left: -20px;
  bottom: -45px;
  z-index: 2;
  pointer-events: none;
}
.p-job-dayoff .p-under-block__decoration img {
  width: auto;
  height: auto;
  max-width: none;
  display: block;
}
@media (max-width: 768px) {
  .p-job-dayoff .p-under-block__decoration img {
    max-width: 200px;
    height: auto;
  }
}
@media (max-width: 768px) {
  .p-job-dayoff .p-under-block__decoration {
    /*left: 16px;
    bottom: -20px;*/
  }
}
.p-job-dayoff .p-under-block {
  /* テキストエリア */
}
.p-job-dayoff .p-under-block__body {
  padding-top: 24px;
}
@media (max-width: 768px) {
  .p-job-dayoff .p-under-block__body {
    padding-top: 32px;
  }
}
.p-job-dayoff {
  /* 本文テキスト */
}
.p-job-dayoff__text {
  font-size: 1rem;
  line-height: 2.2;
}

/* --------------------------------------------------------------------------
  背景制御
-------------------------------------------------------------------------- */
/* 背景 */
.l-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-color: #fff;
  transition: background-color 0.6s ease;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.l-bg.is-work {
  background-color: #1d70b9;
}

.l-bg.is-play {
  background-color: #f08300;
}

.l-bg.is-off {
  background-color: #fff;
}

/* ================================
  jobページ テキスト色制御
================================ */
.l-under--job {
  color: #1f1f1f;
  transition: color 0.4s ease;
}

/* 仕事・遊び中は白 */
.l-under--job.is-work,
.l-under--job.is-play {
  color: #ffffff;
}

/* 見出しも明示的に */
.l-under--job.is-work h1,
.l-under--job.is-work h2,
.l-under--job.is-work h3,
.l-under--job.is-play h1,
.l-under--job.is-play h2,
.l-under--job.is-play h3 {
  color: #ffffff;
}

/* インタビュー専用 */
.l-under--job.is-work .p-job-story__en,
.l-under--job.is-work .p-job-story__ja,
.l-under--job.is-play .p-job-story__en,
.l-under--job.is-play .p-job-story__ja,
.l-under--job.is-work .p-job-story__title,
.l-under--job.is-work .p-job-story__text,
.l-under--job.is-play .p-job-story__title,
.l-under--job.is-play .p-job-story__text,
.l-under--job.is-work .p-under-section__num,
.l-under--job.is-play .p-under-section__num {
  color: #ffffff;
}

.l-under--job.is-work .p-job-story__en::after,
.l-under--job.is-play .p-job-story__en::after {
  background-color: #ffffff;
}