/* ============================================================
   RESPONSIVE STYLES — style_1100.css
   Breakpoint: max-width 1100px
   使用ページ: asbestos.html / design.html / keiryo.html / dojo.html / shikoku-kanri.html（サイドバー縮小）
   ============================================================ */

@media (max-width: 1100px) {
  .page-layout__inner {
    grid-template-columns: 1fr 200px;
    gap: 28px;
    justify-content: unset;
  }

  .sidebar-nav__header { font-size: 13px; padding: 10px 14px; }
  .sidebar-nav__link   { font-size: 13px; padding: 10px 14px; }

  /* コースカード：固定幅を解除して3列フレキシブルに */
  .asb-courses { grid-template-columns: repeat(3, 1fr); }
  .asb-course  { width: 100%; height: auto; min-height: 220px; }

  /* ステップカード → 1100px から縦並び・全幅（グリッドが1fr列になるタイミングに合わせる） */
  .asb-steps {
    flex-direction: column;
    align-items: stretch;
    padding-top: 48px;
  }

  .asb-step {
    width: 100% !important;
    height: auto;
    min-height: 100px;
    padding-top: 56px;
  }

  .asb-step__arrow {
    align-self: center;
    transform: rotate(90deg);
    margin-block: 16px 52px;
    position: relative;
    z-index: 2;
  }

  .p-breadcrumb .container { padding-inline-start: 80px; }
  .p-news__inner,
  .p-article__container,
  .p-privacy__inner { padding-inline: 80px; }
  /* .p-company__inner { padding-inline: 80px; } */

  /* ===== CSR/社会貢献 PAGE ===== */
  .p-csr-social__title-ja { font-size: 48px; }
  .p-csr-social__head { padding-left: 120px; }
  .p-csr-social__body { padding-left: 120px; }
  .p-csr-social__photo img { width: 360px; height: 252px; }
  .p-csr-cards__img { width: 160px; height: 160px; margin-right: 32px; }
  .p-csr-cards__title { font-size: 20px; }

  /* ===== SDGs PAGE ===== */
  .p-sdgs__title-ja { font-size: 48px; }
  .p-sdgs__photo img { width: 100%; height: auto; }
  .p-sdgs-items { max-width: 100%; }
  .p-sdgs-item__img { width: 160px; height: 160px; }

  /* ===== ACTION PLAN PAGE（行動計画） ===== */
  .p-action-plan__title-ja { font-size: 48px; }
  .p-action-plan__subtitle { font-size: 26px; }
  .p-action-plan__body { padding-left: 80px; }

  /* ===== KODOMO CAFETERIA PAGE（こども食堂） ===== */
  .p-kodomo__breadcrumb .container { padding-inline: 80px; }
  .p-kodomo__inner { padding-inline: 80px; }
  .p-kodomo__title-ja { font-size: 48px; }
  .p-kodomo__body { padding-left: 80px; }
  .p-kodomo__subtitle { font-size: 26px; }
  .p-kodomo__text { font-size: 16px; }
  .p-kodomo__images { gap: 40px; }
  .p-kodomo__img-item { width: 450px; height: 600px; }

  /* ===== VOLUNTEER PAGE（ボランティア活動） ===== */
  .p-volunteer__breadcrumb .container { padding-inline: 80px; }
  .p-volunteer__inner { padding-inline: 80px; }
  .p-volunteer__title-ja { font-size: 48px; }
  .p-volunteer__body { padding-left: 60px; }
  .p-volunteer__subtitle { font-size: 26px; }
  .p-volunteer__text { font-size: 16px; }
  .p-volunteer__divider { margin-left: 60px; }
  .p-volunteer__images { margin-left: 60px; gap: 40px 40px; }

  /* ===== SERVICE TOP PAGE ===== */
  .p-service-intro__inner { padding-inline: 80px; gap: 60px; }
  .p-service-intro__en { font-size: 48px; }
  .p-service-intro__catch { font-size: 22px; }
  .p-service-section__inner { padding-inline: 80px; }
  .p-service-section__cat-ja { font-size: 30px; }
  .p-service-section__catch { font-size: 20px; }
  .p-service-hero { height: 520px; }
  .p-service-row { height: auto; min-height: 260px; }
  .p-service-item { padding: 0 15px; gap: 32px; }
  .p-service-item__img { width: 160px; height: 160px; }
  .p-service-item__label { font-size: 20px; }

  /* ===== 施工管理試験 PAGE ===== */
  .p-shikoku__heading { font-size: 28px; }
  .p-shikoku__subheading { font-size: 18px; }
  .p-shikoku-photos { gap: 20px; }

  /* ===== 森林土木 PAGE ===== */
  .p-shinrin-photos { gap: 16px; }

  /* ===== 業務実績 PAGE ===== */
  .p-works-title__heading { font-size: 52px; }
  .p-works-section__heading { font-size: 28px; }
  .p-works-table { font-size: 15px; }
  .p-works-table thead th { font-size: 17px; }
  .p-works-table__col-client   { width: 220px; }
  .p-works-table__col-category { width: 200px; }

  /* ===== 点検・測量 PAGE（specialties-list2 縦並び） ===== */
  .p-design__specialties-list2 {
    flex-direction: column;
  }
}

/* ---- recruit.html ---- */
@media (max-width: 1100px) {
  .p-recruit__culture-inner {
    flex-direction: column;
    padding: 170px 40px;
    min-height: auto;
  }
  .p-recruit__culture-photos {
    justify-content: center;
    flex-wrap: wrap;
  }
  .p-recruit__culture-photos-col--offset {
    margin-top: 0;
  }
  .p-recruit__culture-photo {
    width: 180px;
  }
  .p-recruit__culture-content {
    text-align: center;
    margin: 0 0 40px 0; /* 450px → 解除 */
    order: -1;          /* テキストを写真の上に */
  }
  .p-recruit__culture-btns {
    justify-content: center;
  }
  .p-recruit__numbers-grid {
    gap: 24px;
  }
  .p-recruit__stat-card {
    min-width: 240px;
    flex: 1 1 240px;
  }

  /* タブボタン */
  .p-recruit__tabs {
    max-width: 100%;
    gap: 12px;
  }
  .p-recruit__tab-btn {
    flex: 1;
    height: 96px;
    font-size: 22px;
    grid-template-columns: 40px 1fr 40px;
    padding: 0 18px;
  }
  .p-recruit__tab-icon svg {
    width: 40px;
    height: 40px;
  }
  /* ヒーローキャッチ */
  .p-recruit__hero-catch {
    font-size: 62px;
  }
  /* 募集要項 */
  .p-recruit__requirements {
    padding: 140px 0 80px;
  }
}
