@charset "UTF-8";
/* --------------------------------------------------------
	 office
	 -------------------------------------------------------- */
.hero__desc .md {
  display: none;
}
@media (min-width: 820px) and (max-width: 1024px) {
  .hero__desc .md {
    display: inline;
  }
}

.office-section {
  padding: 10.2564102564vw 0 15.3846153846vw;
  position: relative;
}
.office-section::after {
  content: "";
  width: 100vw;
  height: 200vw;
  position: absolute;
  bottom: 0;
  right: 0;
  clip-path: polygon(100% 0, 100% 0, 100% 100%, 0 100%, 0 50%);
  background: #fff;
}
@media (min-width: 820px) {
  .office-section {
    padding: 80px;
  }
  .office-section::after {
    clip-path: polygon(100% 75%, 0 100%, 100% 100%);
    height: 100%;
  }
}

/* ── オフィスブロック共通 ── */
.office-block {
  margin-bottom: 12.8205128205vw;
}
.office-block:last-child {
  margin-bottom: 0;
}
@media (min-width: 820px) {
  .office-block {
    margin-bottom: 80px;
  }
}

/* 説明テキスト */
.office-block__desc {
  font-size: var(--font-size-16);
  line-height: 1.8;
  color: var(--color-blue-deep);
  margin-top: 5.1282051282vw;
}
@media (min-width: 820px) {
  .office-block__desc {
    font-size: var(--font-size-18);
    margin: 24px auto 0;
    width: 53.125vw;
    max-width: 765px;
  }
}

/* --------------------------------------------------------
   2x2 写真グリッド

   構造:
     .office-photos（相対配置ラッパー）
       .office-photos__bg（オレンジ背景: 左上に配置、タイトルを内包）
         .office-block__name（タイトル）
       .office-photos__grid（2×2グリッド: 右下にオフセットではみ出す）
         .office-photos__cell × 4

   オレンジ背景は左上に固定
   写真グリッドを padding-top / padding-left でずらし
   グリッドの右端・下端がオレンジ背景からはみ出す
   -------------------------------------------------------- */
/* オフセット量（背景に対して写真グリッドがずれる量） */
.office-photos {
  position: relative;
  /* 写真グリッドのオフセット分だけ余白（右・下はみ出し） */
  padding-top: 13.8461538462vw;
  padding-left: 7.6923076923vw;
}
@media (min-width: 820px) {
  .office-photos {
    padding-top: 54px;
    padding-left: 32px;
    width: clamp(700px, 65.2777777778vw, 1200px);
    margin: 0 auto;
  }
}

/* オレンジ背景ブロック */
/* 写真が右・下にはみ出すため、背景はpadding分だけ引っ込めた領域に固定 */
.office-photos__bg {
  position: absolute;
  top: 0;
  left: 0;
  /* 写真グリッドの開始位置（offset）に背景の右端・下端を揃える */
  /* = 全体幅 - offset = 写真グリッドの左端位置 */
  width: calc(100% - 7.6923076923vw);
  height: calc(100% - 13.8461538462vw);
  background: var(--color-orange);
  z-index: 0;
  /* タイトルを上部に配置 */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 2.5641025641vw 7.6923076923vw;
}
@media (min-width: 820px) {
  .office-photos__bg {
    width: calc(100% - 54px);
    height: calc(100% - 54px);
    padding: 10px 32px;
  }
}

/* タイトル */
.office-block__name {
  display: block;
  color: #fff;
  font-size: var(--font-size-24);
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  z-index: 1;
}
@media (min-width: 820px) {
  .office-block__name {
    font-size: var(--font-size-24);
  }
}

/* 写真グリッド本体（オレンジ背景の上に z-index で重ねる） */
.office-photos__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr; /* SP: 縦1列 */
  gap: 0;
}
@media (min-width: 820px) {
  .office-photos__grid {
    grid-template-columns: 1fr 1fr; /* PC: 2列 */
  }
}

.office-photos__cell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.office-photos__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.office-photos__cell {
  /* テキストラベル */
}
.office-photos__cell .office-photos__label {
  position: absolute;
  bottom: 0;
  left: 0;
  background: #fff;
  color: var(--color-orange-deep);
  font-size: 3.3333333333vw;
  font-weight: 700;
  padding: 4px 8px;
  line-height: 1.4;
  white-space: nowrap;
}
@media (min-width: 820px) {
  .office-photos__cell .office-photos__label {
    font-size: var(--font-size-18);
  }
}
@media (min-width: 820px) {
  .office-photos__cell {
    aspect-ratio: 45/31;
  }
}

/* --------------------------------------------------------
   職場風景
   -------------------------------------------------------- */
.office-gallery-section {
  background: #fff;
}

.office-gallery-header {
  padding: 7.6923076923vw 0;
  text-align: center;
}
.office-gallery-header .section-tagline {
  justify-content: center;
  margin-bottom: 8px;
}
.office-gallery-header .section-line {
  display: none;
}
.office-gallery-header .section-title-en {
  font-weight: 700;
}
.office-gallery-header .section-description {
  margin-bottom: 0;
}
@media (min-width: 820px) {
  .office-gallery-header {
    padding: 0 0 40px;
  }
}

/* --------------------------------------------------------
   水色背景グリッド
   PC: コンテナからはみ出す（padding-leftをネガティブマージン風に）
   SP: 横幅いっぱい
   -------------------------------------------------------- */
.office-gallery-bg {
  background: var(--color-blue-sky);
  width: 100%;
  padding: 4.1025641026vw 0 15.3846153846vw;
}
@media (min-width: 820px) {
  .office-gallery-bg {
    /* PC: 1440pxカンプで幅1100px・中央寄せ */
    width: 76.3888888889vw;
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 0 150px;
    overflow: visible; /* グリッドのはみ出しを許可 */
  }
}

/* --------------------------------------------------------
   グリッド: グループ分割方式
   各グループを独立したグリッドで高さ管理

   高さの基準（1440px デザインカンプ）:
     Group A / C / D / E : 585px
     Group B             : 824px

   PCはgrid-template-rowsで行の高さを直接指定
   clampで可変: 585px → calc(585 / 1440 * 100vw) → 585px
   -------------------------------------------------------- */
/* ── グリッド共通 ── */
.office-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5384615385vw;
  padding: 0 2.5641025641vw;
}
@media (min-width: 820px) {
  .office-gallery-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    padding: 0;
    height: 40.625vw;
    max-height: 585px;
    /*
     水色背景（1100px）から左右にはみ出して写真グリッド幅1240pxにする
     片側はみ出し量: (1240 - 1100) / 2 = 70px
     → 1440pxカンプ基準: calc(70 / 1440 * 100vw)
    */
    margin-left: -4.8611111111vw;
    margin-right: -4.8611111111vw;
  }
}
/* グループ間の余白 */
.office-gallery-grid + .office-gallery-grid {
  margin-top: 1.5384615385vw;
}
@media (min-width: 820px) {
  .office-gallery-grid + .office-gallery-grid {
    margin-top: 10px;
  }
}

/* ── セル共通 ── */
.office-gallery__cell {
  overflow: hidden;
  position: relative;
}
.office-gallery__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

/* --------------------------------------------------------
   SP 高さ変数
   -------------------------------------------------------- */
/* 2カラム 1セル */
/* 全幅 1セル */
/* 全幅 縦長 */
/* --------------------------------------------------------
   Group A: c01-c04  PC高さ: 585px
   -------------------------------------------------------
   SP: [c01][c02] / [c03全幅] / [c04全幅]
   PC: [c01縦: col1-2 row1-2][c03: col3-4 row1][c02縦: col5-6 row1-2]
                              [c04: col3-4 row2]
   PC row高さ: 各行 292.5px = 585 / 2
   -------------------------------------------------------- */
@media (min-width: 820px) {
  .office-gallery-grid.-group-a {
    grid-template-rows: repeat(2, ccalc(19.7916666667vw));
  }
}

.office-gallery__cell.-c01 {
  grid-column: 1/2;
  height: 63.0769230769vw;
}
@media (min-width: 820px) {
  .office-gallery__cell.-c01 {
    grid-column: 1/3;
    grid-row: 1/3;
    height: auto;
  }
}

.office-gallery__cell.-c02 {
  grid-column: 2/3;
  height: 63.0769230769vw;
}
@media (min-width: 820px) {
  .office-gallery__cell.-c02 {
    grid-column: 5/7;
    grid-row: 1/3;
    height: auto;
  }
}

.office-gallery__cell.-c03 {
  grid-column: 1/3;
  height: 57.6923076923vw;
}
@media (min-width: 820px) {
  .office-gallery__cell.-c03 {
    grid-column: 3/5;
    grid-row: 1/2;
    height: auto;
  }
}

.office-gallery__cell.-c04 {
  grid-column: 1/3;
  height: 57.6923076923vw;
}
@media (min-width: 820px) {
  .office-gallery__cell.-c04 {
    grid-column: 3/5;
    grid-row: 2/3;
    height: auto;
  }
}

/* --------------------------------------------------------
   Group B: c05-c07  PC高さ: 824px
   -------------------------------------------------------
   SP: [c05全幅] / [c06全幅縦長] / [c07全幅]
   PC: [c05: col1-3 row1][c06縦: col4-6 row1-2]
       [c07: col1-3 row2]
   PC row高さ: 各行 412px = 824 / 2
   -------------------------------------------------------- */
@media (min-width: 820px) {
  .office-gallery-grid.-group-b {
    grid-template-rows: repeat(2fr, 1);
    height: 57.2222222222vw;
    max-height: 824px;
  }
}

.office-gallery__cell.-c05 {
  grid-column: 1/3;
  height: 57.6923076923vw;
}
@media (min-width: 820px) {
  .office-gallery__cell.-c05 {
    grid-column: 1/4;
    grid-row: 1/2;
    height: auto;
  }
}

.office-gallery__cell.-c06 {
  grid-column: 1/3;
  height: 128.2051282051vw;
}
@media (min-width: 820px) {
  .office-gallery__cell.-c06 {
    grid-column: 4/7;
    grid-row: 1/3;
    height: auto;
  }
}

.office-gallery__cell.-c07 {
  grid-column: 1/3;
  height: 57.6923076923vw;
}
@media (min-width: 820px) {
  .office-gallery__cell.-c07 {
    grid-column: 1/4;
    grid-row: 2/3;
    height: auto;
  }
}

/* --------------------------------------------------------
   Group C: c08-c11  PC高さ: 585px
   -------------------------------------------------------
   SP: [c08][c09] / [c10全幅] / [c11全幅]
   PC: [c10: col1-2 row1][c09縦: col3-4 row1-2][c08縦: col5-6 row1-2]
       [c11: col1-2 row2]
   PC row高さ: 各行 292.5px
   -------------------------------------------------------- */
@media (min-width: 820px) {
  .office-gallery-grid.-group-c {
    grid-template-rows: repeat(2, ccalc(19.7916666667vw));
  }
}

.office-gallery__cell.-c08 {
  grid-column: 1/2;
  height: 63.0769230769vw;
}
@media (min-width: 820px) {
  .office-gallery__cell.-c08 {
    grid-column: 5/7;
    grid-row: 1/3;
    height: auto;
  }
}

.office-gallery__cell.-c09 {
  grid-column: 2/3;
  height: 63.0769230769vw;
}
@media (min-width: 820px) {
  .office-gallery__cell.-c09 {
    grid-column: 3/5;
    grid-row: 1/3;
    height: auto;
  }
}

.office-gallery__cell.-c10 {
  grid-column: 1/3;
  height: 57.6923076923vw;
}
@media (min-width: 820px) {
  .office-gallery__cell.-c10 {
    grid-column: 1/3;
    grid-row: 1/2;
    height: auto;
  }
}

.office-gallery__cell.-c11 {
  grid-column: 1/3;
  height: 57.6923076923vw;
}
@media (min-width: 820px) {
  .office-gallery__cell.-c11 {
    grid-column: 1/3;
    grid-row: 2/3;
    height: auto;
  }
}

/* --------------------------------------------------------
   Group D: c12-c13  PC高さ: 585px
   -------------------------------------------------------
   SP: [c12縦長全幅] / [c13全幅]
   PC: [c13縦: col1-3 row1-2][c12正方形: col4-6 row1-2]
   PC row高さ: 各行 292.5px（合計 585px）
   -------------------------------------------------------- */
@media (min-width: 820px) {
  .office-gallery-grid.-group-d {
    grid-template-rows: repeat(2, ccalc(19.7916666667vw));
  }
}

.office-gallery__cell.-c12 {
  grid-column: 1/3;
  height: 128.2051282051vw;
}
@media (min-width: 820px) {
  .office-gallery__cell.-c12 {
    grid-column: 5/7; /* 右側 */
    grid-row: 1/3;
    height: auto;
  }
}

.office-gallery__cell.-c13 {
  grid-column: 1/3;
  height: 57.6923076923vw;
}
@media (min-width: 820px) {
  .office-gallery__cell.-c13 {
    grid-column: 1/5; /* 左側 */
    grid-row: 1/3;
    height: auto;
  }
}

/* --------------------------------------------------------
   Group E: c14-c17  PC高さ: 585px（Group Aと同パターン）
   -------------------------------------------------------
   SP: [c14][c15] / [c16全幅] / [c17全幅]
   PC: [c14縦: col1-2 row1-2][c16: col3-4 row1][c15縦: col5-6 row1-2]
                              [c17: col3-4 row2]
   PC row高さ: 各行 292.5px
   -------------------------------------------------------- */
@media (min-width: 820px) {
  .office-gallery-grid.-group-e {
    grid-template-rows: repeat(2, ccalc(19.7916666667vw));
  }
}

.office-gallery__cell.-c14 {
  grid-column: 1/2;
  height: 63.0769230769vw;
}
@media (min-width: 820px) {
  .office-gallery__cell.-c14 {
    grid-column: 1/3;
    grid-row: 1/3;
    height: auto;
  }
}

.office-gallery__cell.-c15 {
  grid-column: 2/3;
  height: 63.0769230769vw;
}
@media (min-width: 820px) {
  .office-gallery__cell.-c15 {
    grid-column: 5/7;
    grid-row: 1/3;
    height: auto;
  }
}

.office-gallery__cell.-c16 {
  grid-column: 1/3;
  height: 57.6923076923vw;
}
@media (min-width: 820px) {
  .office-gallery__cell.-c16 {
    grid-column: 3/5;
    grid-row: 1/2;
    height: auto;
  }
}

.office-gallery__cell.-c17 {
  grid-column: 1/3;
  height: 57.6923076923vw;
}
@media (min-width: 820px) {
  .office-gallery__cell.-c17 {
    grid-column: 3/5;
    grid-row: 2/3;
    height: auto;
  }
}

/*# sourceMappingURL=office.css.map */
