/* ==================================
   BENEFITS：Hero（福利厚生・働く環境）
   ================================== */

.page-benefits #benefits-hero {
  padding: clamp(72px, 9vw, 104px) 0;
}

.page-benefits #benefits-hero .benefits-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 4vw, 40px);
  align-items: center;
}

.page-benefits #benefits-hero .benefits-hero-copy {
  max-width: 640px;
}

.page-benefits #benefits-hero .eyebrow {
  margin-bottom: 10px;
}

.page-benefits #benefits-hero .title {
  margin: 0 0 12px;
  font-size: clamp(1.9rem, 3.2vw, 2.4rem);
  line-height: 1.6;
  font-weight: 700;
}

.page-benefits #benefits-hero .lead {
  margin: 8px 0 0;
  font-size: .96rem;
  line-height: 1.9;
  color: #4a4a4a;
}

.page-benefits #benefits-hero .benefits-hero-visual {
  position: relative;
  justify-self: flex-end;
}

.page-benefits #benefits-hero .benefits-hero-photo {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 46px rgba(0,0,0,.16);
  background: #fff;
}

.page-benefits #benefits-hero .benefits-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-benefits #benefits-hero .benefits-hero-label {
  position: absolute;
  left: 16px;
  bottom: 16px;
  margin: 0;
  padding: 6px 12px;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #fff;
  border-radius: 999px;
  background: rgba(0,0,0,.42);
}

/* スマホ時：1カラムに崩す */
@media (max-width: 900px) {
  .page-benefits #benefits-hero .benefits-hero-inner {
    grid-template-columns: 1fr;
  }

  .page-benefits #benefits-hero .benefits-hero-visual {
    justify-self: stretch;
  }
}

/* ==================================
   BENEFITS：メインセクション
   （aboutのphilosophyをベースに）
   ================================== */

.page-benefits .benefits-section {
  padding: clamp(56px, 8vw, 88px) 0;
}

.page-benefits .benefits-section .sec-head {
  margin-bottom: 32px;
}

.page-benefits .benefits-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 32px;
  align-items: flex-start;
}

.page-benefits .benefits-grid.reverse {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.page-benefits .benefits-text {
  font-size: 15px;
  line-height: 2;
  color: #444;
}

.page-benefits .benefits-text h3 {
  margin: 0 0 12px;
  font-size: 1.1rem;
}

.page-benefits .benefits-text .tagline {
  margin: 0 0 10px;
  font-size: .86rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #0b74c5;
}

.page-benefits .benefits-text .sublead {
  margin: 0 0 14px;
  font-size: .94rem;
  color: #5a6673;
}

/* 共通リスト（グローバルのulスタイルを継承） */
.page-benefits .benefits-text ul {
  margin: 10px 0 16px;
}

/* 右側：写真や図解ブロック */
.page-benefits .benefits-media {
  display: grid;
  gap: 14px;
}

.page-benefits .benefit-photo {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(0,0,0,.12);
  background: #fff;
}

.page-benefits .benefit-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.page-benefits .benefit-caption {
  margin-top: 4px;
  font-size: 0.82rem;
  color: #666;
}

/* 2枚写真を縦に並べる場合（あれば） */
.page-benefits .benefits-media.two-photos {
  grid-template-columns: 1fr;
}

/* カード型サマリー（福利厚生項目を並べる用） */
.page-benefits .benefits-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.page-benefits .benefit-card {
  background: #fff;
  border-radius: 16px;
  padding: 18px 18px 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-benefits .benefit-card-label {
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #0b74c5;
}

.page-benefits .benefit-card-title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}

.page-benefits .benefit-card-body {
  font-size: .92rem;
  color: #555;
}

/* モバイル調整 */
@media (max-width: 960px) {
  .page-benefits .benefits-grid,
  .page-benefits .benefits-grid.reverse {
    grid-template-columns: 1fr;
  }

  .page-benefits .benefits-cards {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .page-benefits .benefits-cards {
    grid-template-columns: 1fr;
  }
}

/* ==================================
   BENEFITS：福利厚生・働き方ページ
   ================================== */

/* ヒーローエリア：トップ／ABOUTとトーンを合わせる */
.page-benefits #benefits-hero {
  position: relative;
  padding-block: clamp(72px, 12vw, 104px);
}

.benefits-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 60px);
}

.benefits-hero-copy {
  max-width: 640px;
}

.page-benefits .benefits-hero-copy .eyebrow {
  letter-spacing: .16em;
}

.page-benefits .benefits-hero-copy .title {
  margin-top: 12px;
}

.page-benefits .benefits-hero-copy .title .hero-large {
  display: inline-block;
  margin-bottom: 8px;
}

.page-benefits .benefits-hero-copy .lead {
  margin-top: 18px;
  font-size: .95rem;
  line-height: 1.9;
  color: var(--text-muted);
}

/* 右側ビジュアル */
.benefits-hero-visual {
  justify-self: flex-end;
  max-width: 420px;
}

.benefits-hero-photo {
  position: relative;
}

.benefits-hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(15, 36, 64, 0.18);
}

.hero-mission-label {
  margin-top: 14px;
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-emerald);
}

/* ----------------------------------
   セクション共通
   ---------------------------------- */

.page-benefits .section {
  padding-block: clamp(56px, 9vw, 80px);
}

/* ほんのりトーンの違う帯で、セクションを視覚的に区切る */
.page-benefits .section:nth-of-type(odd) {
  background: linear-gradient(180deg, rgba(255,255,255,0.9), #f8f8f6);
}

.page-benefits .section:nth-of-type(even) {
  background: #ffffff;
}

/* 小さめ幅のコンテンツ */
.page-benefits .wrap.narrow {
  max-width: 960px;
}

/* セクション見出し（ABOUTと統一） */
.page-benefits .sec-head .eyebrow {
  font-size: .78rem;
  letter-spacing: .22em;
}

.page-benefits .sec-head .h2 {
  font-size: clamp(1.4rem, 2.1vw, 1.8rem);
}

/* ----------------------------------
   働き方・環境（WORKSTYLE）
   ---------------------------------- */

.benefits-section.workstyle {
  position: relative;
}

.workstyle-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.workstyle-card {
  position: relative;
  height: 100%;
  padding: 22px 20px 20px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(15, 36, 64, 0.08);
  border: 1px solid rgba(12, 46, 95, 0.04);
}

.workstyle-card .card-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  margin-bottom: 10px;
  font-size: .76rem;
  border-radius: 999px;
  background: rgba(10, 150, 130, 0.06);
  color: var(--accent-emerald);
}

.workstyle-card h3.card-title {
  margin-bottom: 6px;
  font-size: .98rem;
}

.workstyle-card .card-lead {
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.workstyle-card ul {
  margin-top: 6px;
}

.workstyle-card li {
  font-size: .85rem;
}

/* ----------------------------------
   福利厚生一覧（BENEFITS LIST）
   ---------------------------------- */

.benefits-section.benefits-list {
  border-top: 1px solid rgba(4, 32, 62, 0.06);
}

.benefits-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: flex-start;
}

.benefits-column-title {
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-emerald);
  margin-bottom: 10px;
}

.benefits-feature-list li strong {
  font-weight: 600;
}

.benefits-feature-list li + li {
  margin-top: 6px;
}

.benefits-section .note {
  margin-top: 20px;
  font-size: .8rem;
  color: var(--text-muted);
}

/* ----------------------------------
   ある１週間の働き方（EXAMPLES）
   ---------------------------------- */

.benefits-section.examples {
  border-top: 1px solid rgba(4, 32, 62, 0.06);
}

.example-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.example-card {
  position: relative;
  padding: 18px 18px 16px;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(15, 36, 64, 0.06);
  border: 1px solid rgba(12, 46, 95, 0.04);
}

.example-card .example-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  margin-bottom: 10px;
  font-size: .75rem;
  border-radius: 999px;
  background: rgba(12, 67, 130, 0.06);
  color: var(--accent-blue);
}

.example-card h3 {
  font-size: .95rem;
  margin-bottom: 6px;
}

.example-card p {
  font-size: .84rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.example-card ul {
  margin-top: 8px;
}

.example-card li {
  font-size: .84rem;
}

/* ----------------------------------
   CTA（ENTRYリンク）
   ---------------------------------- */

.benefits-section.benefits-cta {
  padding-bottom: clamp(64px, 10vw, 88px);
}

.benefits-section.benefits-cta .cta {
  margin-top: 26px;
}

.benefits-section.benefits-cta .bubble {
  max-width: 860px;
}

/* ----------------------------------
   RESPONSIVE
   ---------------------------------- */

@media (max-width: 1024px) {
  .benefits-hero-inner {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 32px;
  }

  .benefits-hero-visual {
    max-width: 360px;
  }

  .workstyle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .benefits-columns {
    grid-template-columns: minmax(0, 1fr);
  }

  .example-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .page-benefits #benefits-hero {
    padding-block: 56px;
  }

  .benefits-hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .benefits-hero-copy {
    text-align: left;
  }

  .benefits-hero-visual {
    justify-self: stretch;
    max-width: 100%;
  }

  .benefits-hero-photo img {
    aspect-ratio: 16 / 10;
  }

  .workstyle-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .example-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-benefits .section {
    padding-inline: 0;
  }
}

/* ===============================
   BENEFITS / 福利厚生・働く環境
   =============================== */

/* ページ全体 ---------------------------------------- */

/* 下層ページ共通：中身を白ベースに */
.page-main {
  background: #ffffff;
}

.page-benefits .page-main {
  padding-bottom: 80px;
}

/* ----------------------------------------
   HERO
   ---------------------------------------- */

.page-benefits #benefits-hero {
  padding: 72px 0 40px;
  background: #ffffff; /* about/interviewと同じ白ベース */
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.page-benefits #benefits-hero .wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px 32px;
}

.page-benefits .benefits-hero-inner {
  display: block;
  gap: 40px;
}

.page-benefits .benefits-hero-copy .eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: #0b74c5;
}

.page-benefits .benefits-hero-copy .title,
.page-benefits .benefits-hero-copy h1 {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.4;
  font-weight: 700;
  margin: 0 0 12px;
}

.page-benefits .benefits-hero-copy .lead {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.9;
  color: #4a4a4a;
  max-width: 640px;
}

/* HERO ビジュアル */
.page-benefits .benefits-hero-visual {
  margin-top: 24px;
}

.page-benefits .benefits-hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

/* PCレイアウト */
@media (min-width: 960px) {
  .page-benefits .benefits-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.45fr);
    align-items: center;
    gap: 36px;
  }

  .page-benefits .benefits-hero-visual {
    margin-top: 0;
  }
}

/* ----------------------------------------
   共通セクションレイアウト
   ---------------------------------------- */

.page-benefits .benefits-section {
  padding: 56px 0;
}

/* 全セクションの中身幅 */
.page-benefits .benefits-section .wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

/* セクションヘッダー（sec-head トーン統一） */
.page-benefits .sec-head {
  margin-bottom: 28px;
}

.page-benefits .sec-head .eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #0b74c5;
  margin-bottom: 0.7rem;
}

.page-benefits .sec-head .h2,
.page-benefits .sec-head h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  line-height: 1.6;
  font-weight: 700;
  margin: 0 0 0.6rem;
}

.page-benefits .sec-head .sub {
  font-size: 0.98rem;
  line-height: 1.9;
  color: #4a4a4a;
  margin: 0;
}

/* ----------------------------------------
   WORK STYLE
   ---------------------------------------- */

.page-benefits .workstyle .workstyle-grid {
  display: grid;
  gap: 20px;
}

.page-benefits .workstyle-card {
  background: #fff;
  border-radius: 18px;
  padding: 18px 18px 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.page-benefits .workstyle-card h3 {
  font-size: 1rem;
  margin: 0 0 8px;
  letter-spacing: 0.02em;
}

.page-benefits .workstyle-card p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.9;
  color: #444;
}

@media (min-width: 960px) {
  .page-benefits .workstyle .workstyle-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  .page-benefits .workstyle-card {
    padding: 20px 20px 24px;
  }
}

/* ----------------------------------------
   BENEFITS LIST
   ---------------------------------------- */

.page-benefits .benefits-columns {
  display: grid;
  gap: 20px;
}

.page-benefits .benefits-column {
  background: #fff;
  border-radius: 18px;
  padding: 18px 18px 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.page-benefits .benefits-column h3 {
  font-size: 0.98rem;
  margin: 0 0 10px;
}


.page-benefits .note {
  margin-top: 18px;
  font-size: 0.82rem;
  color: #777;
}

@media (min-width: 960px) {
  .page-benefits .benefits-columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
}

/* ----------------------------------------
   WORK EXAMPLES
   ---------------------------------------- */

.page-benefits .examples .example-grid {
  display: grid;
  gap: 20px;
}

.page-benefits .example-card {
  background: #fff;
  border-radius: 18px;
  padding: 18px 18px 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.page-benefits .example-card h3 {
  font-size: 1rem;
  margin: 0 0 6px;
}

.page-benefits .example-tag {
  font-size: 0.8rem;
  color: #0b74c5;
  margin: 0 0 10px;
}


@media (min-width: 960px) {
  .page-benefits .examples .example-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
}

/* ----------------------------------------
   FAQ（見出しトーンは共通CSSに乗せる）
   ---------------------------------------- */

.page-benefits .benefits-faq {
  padding: 56px 0 80px;
}

.page-benefits .benefits-faq .wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ----------------------------------------
   スマホ調整
   ---------------------------------------- */

@media (max-width: 960px) {
  .page-benefits #benefits-hero {
    padding-top: 56px;
  }

  .page-benefits .benefits-section {
    padding: 40px 0;
  }
}

@media (max-width: 767px) {
  .page-benefits .page-main {
    padding-bottom: 56px;
  }

  .page-benefits #benefits-hero .wrap {
    padding: 0 18px 28px;
  }

  .page-benefits .sec-head .h2,
  .page-benefits .sec-head h2 {
    font-size: 1.35rem;
  }

  .page-benefits .workstyle-card,
  .page-benefits .benefits-column,
  .page-benefits .example-card {
    padding: 16px 16px 18px;
    border-radius: 16px;
  }

  .page-benefits .benefits-hero-photo img {
    border-radius: 20px;
  }
}


/* =========================================
   福利厚生ページ：リストマークリセット＆再定義
   ========================================= */

/* いったん、このページ内の箇条書きマークは全部OFF */
.page-benefits main ul {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}

.page-benefits main ul li::before {
  content: none;
}

/* 福利厚生のボックス用：○マークを定義 */
.page-benefits .benefits-column li,
.page-benefits .example-card li {
  position: relative;
  padding-left: 1.6em;   /* ○ぶん少し広め */
  font-size: 0.9rem;
  line-height: 1.8;
  color: #444;
}

/* 中が抜けた ○ マーク（少し大きめ） */
.page-benefits .benefits-column li::before,
.page-benefits .example-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;          /* 縦位置。気になったら 0.7〜0.8em で微調整OK */
  width: 0.55em;
  height: 0.55em;
  border-radius: 999px;
  border: 2px solid #0b74c5;  /* 枠線だけ＝○ */
}


/* ニチレクならではの福利厚生（英字ラベル＆住の注釈） */
.page-benefits .benefits-unique {
  margin-top: 32px;
}

.page-benefits .benefits-unique .benefits-column h3 {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.page-benefits .benefits-unique .benefits-column .en {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
  font-weight: 700;
}

.page-benefits .benefits-unique .benefits-column .note.small {
  margin-top: 10px;
  line-height: 1.7;
  opacity: 0.85;
}
