@charset "UTF-8";

/* ==================================================
   働く環境ページ Styles (environment.css)
================================================== */

/* ページ見出し（ヘッダー潜り込み防止） */
.p-sub-fv {
  padding: 120px 0 40px;
  text-align: center;
}
.p-sub-fv__title {
  font-size: 32px;
  font-weight: 400;
  font-family: var(--font-serif, 'Noto Serif JP', serif);
  letter-spacing: 0.1em;
  color: #333;
  margin: 0;
}

/* 導入文 */
.p-env__intro {
  text-align: center;
  font-size: 14.5px;
  line-height: 1.9;
  color: #555;
  margin-bottom: 60px;
}

/* ==================================================
   レイヤー風セクション見出し（共通）
================================================== */
.p-top-layer-header {
  position: relative;
  text-align: center;
  padding: 30px 0;
  margin-bottom: 25px;
}
.p-top-layer-header--left {
  text-align: left;
  padding: 10px 0;
}
.p-top-layer-header__en {
  font-family: var(--font-serif, "Noto Serif JP", serif);
  font-size: 72px;
  font-weight: 300;
  color: #e2e8ec;
  letter-spacing: 0.08em;
  display: block;
  line-height: 1;
  text-transform: uppercase;
  user-select: none;
}
.p-top-layer-header__ja {
  font-family: var(--font-serif, "Noto Serif JP", serif);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 30px;
  font-weight: 400;
  color: #333;
  margin: 0;
  white-space: nowrap;
  letter-spacing: 0.05em;
}
.p-top-layer-header--left .p-top-layer-header__ja {
  position: static;
  transform: none;
  margin-top: -35px;
  margin-left: 5px;
}

/* ==================================================
   2カラム コンテンツセクション
================================================== */
.p-env-section {
  margin-bottom: 90px;
}
.p-env-section:last-child {
  margin-bottom: 0;
}

.p-env-section__inner {
  display: flex;
  align-items: center;
  gap: 60px;
}

/* 左側：テキストエリア */
.p-env-section__text {
  flex: 1;
}
.p-env-section__body p {
  font-size: 15px;
  line-height: 1.9;
  color: #444;
  margin-bottom: 25px;
}
.p-env-section__btn {
  margin-top: 30px;
}

/* 右側：画像エリア */
.p-env-section__img {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.06);
}
.p-env-section__img img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==================================================
   SP Responsive (max-width: 768px)
================================================== */
@media screen and (max-width: 768px) {
  .p-sub-fv { padding: 100px 0 30px; }
  .p-sub-fv__title { font-size: 24px; }
  .p-env__intro { text-align: left; margin-bottom: 40px; }
  
  /* SP レイヤー風見出し */
  .p-top-layer-header { padding: 25px 0 20px; margin-bottom: 20px; overflow: hidden; }
  .p-top-layer-header--left { padding: 10px 0; }
  .p-top-layer-header__en { font-size: clamp(48px, 13vw, 62px); letter-spacing: 0.04em; line-height: 1.1; }
  .p-top-layer-header__ja { font-size: 30px; letter-spacing: 0.05em; font-weight: 500; }
  .p-top-layer-header--left .p-top-layer-header__ja { margin-top: -30px; margin-left: 2px; }

  /* セクションの縦並び化（SP時は画像を上にするため column-reverse に設定） */
  .p-env-section {
    margin-bottom: 60px;
  }
  .p-env-section__inner {
    flex-direction: column-reverse;
    gap: 30px;
  }
  
  /* テキストの調整 */
  .p-env-section__body p {
    font-size: 14px;
    margin-bottom: 20px;
  }
  
  /* ボタン幅の調整 */
  .p-env-section__btn {
    margin-top: 25px;
  }
  .c-btn-action {
    width: 100%;
  }
}


/* ==================================================
   福利厚生一覧 グリッド (アイコンサイズ拡大)
================================================== */
.p-benefit-section {
  margin-bottom: 60px;
}
.p-benefit-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 30px;
}
.p-benefit-card {
  background: #fff;
  border: 1px solid #f37c8f;
  border-radius: 8px;
  padding: 25px 15px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
}
/* ★アイコンの表示サイズを拡大（48px → 64pxに変更） */
.p-benefit-card .icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.p-benefit-card .icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.p-benefit-card .text {
  font-size: 14px;
  font-weight: bold;
  color: #333;
  margin: 0;
}

/* ==================================================
   下層コンテンツ共通スタイル（左右の幅を完全に均等に固定）
================================================== */
.p-env-section {
  margin-bottom: 90px;
}
.p-env-section:last-child {
  margin-bottom: 0;
}

.p-env-section__inner {
  display: flex;
  align-items: center;
  gap: 60px;
}

/* ★左右のカラム幅を 1:1（flex: 1）に固定して同じサイズにする */
.p-env-section__text {
  flex: 1;
  width: 50%;
}
.p-env-section__img {
  flex: 1;
  width: 50%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.06);
}

.p-env-section__subtitle {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.5;
}
.p-env-section__body p {
  font-size: 15px;
  line-height: 1.9;
  color: #444;
  margin-bottom: 25px;
}
.p-env-section__h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-main, #f37c8f);
  margin: 25px 0 12px 0;
  border-left: 3px solid var(--color-main, #f37c8f);
  padding-left: 10px;
}

/* ピンク枠のタグブロック（資格取得実績用） */
.p-benefit-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}
.p-benefit-tags span {
  display: inline-block;
  background-color: #fff;
  border: 1.5px solid var(--color-main, #f37c8f);
  color: var(--color-main, #f37c8f);
  font-size: 13.5px;
  font-weight: bold;
  padding: 8px 15px;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

/* 主催カンファレンスなどのリスト */
.p-benefit-list {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: #444;
}
.p-benefit-list li {
  margin-bottom: 6px;
}
.p-benefit-list li:last-child {
  margin-bottom: 0;
}


/* ==================================================
   SP Responsive (max-width: 768px)
================================================== */
@media screen and (max-width: 768px) {
  /* 福利厚生一覧：SP時は5列（横に5個並び、縦に2段） */
  .p-benefit-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
  }
  .p-benefit-card {
    padding: 12px 5px;
    gap: 8px;
  }
  /* SP時のアイコンサイズも少し拡大 */
  .p-benefit-card .icon {
    width: 40px;
    height: 40px;
  }
  .p-benefit-card .text {
    font-size: 10.5px;
    letter-spacing: -0.05em;
  }

  /* セクションの縦並び化（SP時は画像を上にする） */
  .p-env-section {
    margin-bottom: 60px;
  }
  .p-env-section__inner {
    flex-direction: column-reverse;
    gap: 30px;
  }
  .p-env-section__text,
  .p-env-section__img {
    width: 100%;
  }

  .p-env-section__subtitle {
    font-size: 18px;
    margin-bottom: 15px;
  }
  .p-env-section__body p {
    font-size: 14px;
    margin-bottom: 20px;
  }
  .p-env-section__h4 {
    font-size: 15px;
    margin: 20px 0 10px 0;
  }
  .p-benefit-tags span {
    font-size: 12px;
    padding: 6px 12px;
  }
  .p-benefit-list {
    font-size: 13.5px;
  }
}