/* ============================================================
   RESPONSIVE STYLES — style_768.css
   Breakpoint: max-width 768px
   使用ページ: index.html / asbestos.html / news / service.html（スマホ対応開始・ハンバーガーメニュー等）
   ============================================================ */

@media (max-width: 768px) {
  :root {
    --gutter: 24px;
    --header-h: 64px;
  }

  /* ===== INDEX PAGE ===== */
  .en-label { font-size: 36px; }
  .hero__title { font-size: 42px; }
  .about__heading { font-size: 24px; }
  .service-card__title { font-size: 24px; }
  .cta-split__heading { font-size: 30px; }

  .about { padding-block: 64px; }
  .service, .news, .company, .blog { padding-block: 64px; }
  .cta-split__panel { padding-block: 60px; }

  .about__inner { gap: 32px; }
  .service__inner { gap: 40px; }
  .service__header, .company__header { gap: 40px; }
  .company__inner { gap: 40px; }
  .blog__inner { gap: 24px; }
  .news__inner { gap: 32px; }

  /* Header */
  .header__logo img { width: 300px; height: auto; }

  /* Drawer */
  .drawer__list a { font-size: 36px; }

  /* Hero */
  .hero { min-height: 600px; }
  .hero__media { height: 600px; }
  .hero__body {
    margin-top: -600px;
    height: 600px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 24px;
    padding-inline-start: var(--gutter);
    padding-block-end: 80px;
  }
  .hero__recruit-cta {
    position: relative;
    right: auto;
    bottom: auto;
    align-self: flex-start;
  }

  /* Service */
  .service__cards { grid-template-columns: 1fr; }
  .service-card__list  { position: static; transform: none; }
  .service-card__figure { padding-top: 75%; }

  /* NEWS */
  .news__filter { flex-wrap: wrap; gap: 12px; }
  .news__tab { font-size: 14px; padding: 8px 16px; }
  .news__slider { gap: 8px; }
  .news-card__link {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
  }
  .news-card__figure { width: 100%; height: 180px; }

  /* BLOG */
  .blog__slider { gap: 8px; }
  .blog-card__body  { gap: 16px; }
  .blog-card__title { font-size: 16px; }

  /* Company */
  .company__photos { grid-template-columns: 1fr; }

  /* CTA */
  .cta-split__inner { grid-template-columns: 1fr; }
  .cta-split__panel--contact { border-right: none; border-bottom: 1px solid var(--c-gray); }

  /* Footer */
  .footer__body-inner { flex-direction: column; gap: 32px; }
  .footer__bar-inner  { flex-direction: column; gap: 8px; text-align: center; }
  .footer__logo img   { width: 300px; height: auto; }
  .footer__nav-list   { margin-left: var(--gutter); }

  /* ===== ASBESTOS PAGE ===== */
  .page-content { align-items: center; }
  .page-layout { padding-block: 48px; }

  /* ステップカード幅 強制統一（①②③） */
  .asb-steps,
  .asb-steps--green,
  .asb-steps--olive {
    width: 100%;
    max-width: none;
  }
  .asb-step {
    width: 100% !important;
  }

  /* サイドバー幅をさらに縮小 */
  .page-layout__inner {
    grid-template-columns: 1fr 150px;
    gap: 16px;
  }

  .sidebar-nav { max-height: 360px; overflow-y: auto; }
  .sidebar-nav__link   { font-size: 11px; padding: 8px 8px; }
  .sidebar-nav__header { font-size: 11px; padding: 8px 8px; }

  .page-hero { height: 360px; }
  .page-hero__en    { font-size: 36px; }
  .page-hero__title { font-size: 20px; }
  .asb-quote        { font-size: 20px; }
  .page-hero__label-group { left: var(--gutter); top: 120px; }
  .page-hero__content     { left: var(--gutter); bottom: 12px; }

  /* 3列ギャラリー → 1列（横幅が150pxサイドバーで狭いため） */
  .asb-gallery3 { grid-template-columns: 1fr; }

  /* Notice box */
  .asb-notice-box { padding: 20px 16px; }

  .asb-qualifications__heading { font-size: 22px; }
  .asb-qualifications__list    { margin-bottom: 32px; }

  /* ===== CONTACT PAGE (お問い合わせ) ===== */
  .p-contact-hero { height: 400px; }
  .p-contact-hero__body { padding-inline-start: var(--gutter); padding-block-start: 100px; }
  .p-contact-hero__en { font-size: 42px; }

  .p-contact { padding-block: 60px 80px; }
  .p-contact__inner { gap: 32px; }
  .p-contact__heading-en { font-size: 42px; }
  .p-contact__desc { font-size: 16px; }
  .p-contact__tel-num, .p-contact__tel-hours { font-size: 18px; }

  /* フォーム: 1列レイアウト */
  .p-contact-form__row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .p-contact-form__row--textarea { padding-block-start: 16px; }
  .p-contact-form__privacy-row { padding-left: 0; }
  .p-contact-form__submit-wrap { padding-left: 0; justify-content: center; }
  .p-contact-form__submit { width: 100%; max-width: 380px; }

  /* ===== NEWS PAGE (お知らせ) ===== */
  .p-news-hero { height: 400px; }
  .p-news-hero__body { padding-inline-start: var(--gutter); padding-block-start: 100px; }
  .p-news-hero__en { font-size: 42px; }

  .p-news { padding-block: 60px 80px; }
  .p-news__inner { gap: 32px; }
  .p-news__heading-en { font-size: 42px; }

  .p-news__filter { gap: 10px; }
  .p-news__tab { font-size: 13px; padding: 6px 16px; }

  /* ニュースアイテム: スタック縦並び */
  .p-news-item__link {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding-block: 20px;
  }

  .p-news-item__thumb {
    width: 100%;
    height: 0;
    padding-top: 56.25%; /* 16:9 */
    position: relative;
  }
  .p-news-item__thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .p-news-item__title { font-size: 16px; }
  .p-news-item__arrow { display: none; }

  /* ===== ASBESTOS FORM PAGE (アスベスト依頼フォーム) ===== */
  .p-asbestos-form-hero { height: 400px; }
  .p-asbestos-form-hero__body { padding-block-start: 100px; }
  .p-asbestos-form-hero__en { font-size: 42px; }

  .p-asbestos-form { padding-block: 60px 80px; }
  .p-asbestos-form__heading-en { font-size: 36px; }
  .p-asbestos-form__desc { font-size: 16px; }
  .p-asbestos-form__tel-num,
  .p-asbestos-form__tel-hours { font-size: 18px; }

  /* フォーム: 1列レイアウト */
  .p-asbestos-form__row {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-block-end: 16px;
  }
  .p-asbestos-form__row--textarea { padding-block-start: 0; }
  .p-asbestos-form__row--no-label { margin-block-start: 0; }
  .p-asbestos-form__label-spacer { display: none; }
  .p-asbestos-form__privacy-row { padding-left: 0; }
  .p-asbestos-form__submit-wrap { padding-left: 0; justify-content: center; }
  .p-asbestos-form__submit { width: 100%; max-width: 380px; }

  /* ===== ARTICLE PAGE (お知らせ記事詳細) ===== */
  .p-article { padding-block: 48px 80px; }
  .p-article__heading-en { font-size: 42px; }
  .p-article__title { font-size: 24px; }
  .p-article__nav { gap: 60px; padding-block-start: 32px; }

  /* ===== COMPANY PAGE (会社概要) ===== */
  .p-company { padding-block: 60px 80px; }
  .p-breadcrumb .container { padding-inline-start: var(--gutter); }
  .p-news__inner,
  .p-article__container,
  .p-privacy__inner,
  .p-security__inner,
  .p-greeting__inner,
  .p-plan__inner { padding-inline-start: var(--gutter); }
  .p-company__inner { gap: 60px; padding-inline: var(--gutter); }
  .p-company-section__heading { font-size: 42px; }
  .p-company-map { grid-template-columns: 1fr; gap: 40px 0; }
  .p-company-map__frame { height: 300px; }
  .p-company-history__date { width: 160px; font-size: 13px; padding: 14px 16px 14px 0; white-space: normal; }
  .p-company-history__event { font-size: 14px; padding: 14px 0; }
  .p-company-qual { grid-template-columns: 1fr; gap: 0; }
  .p-company-qual__col:last-child .p-company-qual__item:first-child { border-top: none; }

  /* ===== PRIVACY POLICY PAGE (プライバシーポリシー) ===== */
  .p-privacy { padding-block: 60px 80px; }
  .p-privacy__head { margin-bottom: 48px; }
  .p-privacy__heading { font-size: 42px; }
  .p-privacy__heading-en { font-size: 16px; }
  .p-privacy__body { font-size: 16px; line-height: 2.5; }

  /* ===== GREETING PAGE (ごあいさつ/経営理念) ===== */
  .p-greeting { padding-block: 60px 100px; }
  .p-greeting__section + .p-greeting__section { margin-top: 80px; }
  .p-greeting__section-head { margin-bottom: 40px; }
  .p-greeting__section-heading { font-size: 42px; }
  .p-greeting__section-heading-en { font-size: 16px; }
  .p-greeting-greeting__body { flex-direction: column; gap: 40px; }
  .p-greeting-greeting__photo { width: 100%; max-width: 400px; }
  .p-greeting-greeting__text p { font-size: 16px; }
  .p-greeting-greeting__sig { font-size: 18px; }
  .p-greeting-philosophy__box { padding: 40px; }
  .p-greeting-philosophy__text { font-size: 20px; }
  .p-greeting-policy__title,
  .p-greeting-policy__body { font-size: 16px; }
  .p-greeting-policy__item + .p-greeting-policy__item { margin-top: 40px; }

  /* ===== MANAGEMENT PLAN PAGE (経営計画) ===== */
  .p-plan { padding-block: 60px 100px; }
  .p-plan__head { margin-bottom: 40px; }
  .p-plan__heading { font-size: 42px; }
  .p-plan__heading-en { font-size: 16px; }
  .p-plan__body { padding-left: 0; }
  .p-plan__subtitle { font-size: 26px; margin-bottom: 28px; }
  .p-plan__text p { font-size: 16px; line-height: 2.5; }
  .p-plan__closing { font-size: 16px; line-height: 2.5; }
  .p-plan__image-area { margin-top: 60px; margin-bottom: 60px; min-height: 150px; }

  /* ===== INFORMATION SECURITY PAGE (情報セキュリティ基本方針) ===== */
  .p-security { padding-block: 60px 100px; }
  .p-security__head { margin-bottom: 40px; }
  .p-security__heading { font-size: 42px; }
  .p-security__heading-en { font-size: 16px; }
  .p-security__body { padding-left: 0; }
  .p-security__text p { font-size: 16px; line-height: 2.5; }

  /* ===== CSR/社会貢献 PAGE ===== */
  .p-csr-social { padding-top: 60px; }
  .p-csr-social__head { margin-bottom: 48px; }
  .p-csr-social__title-ja { font-size: 42px; }
  .p-csr-social__title-en { font-size: 16px; }
  .p-csr-social__body { padding-left: 0; margin-bottom: 60px; }
  .p-csr-social__lead { font-size: 16px; line-height: 2; letter-spacing: 0.05em; }
  .p-csr-social__photo img { width: 100%; height: auto; }
  .p-csr-cards { grid-template-columns: 1fr; }
  .p-csr-cards__item { padding: 32px 24px; }
  .p-csr-cards__img { width: 120px; height: 120px; margin-right: 24px; }
  .p-csr-cards__title { font-size: 18px; margin-bottom: 16px; }
  .p-csr-cards__text { font-size: 14px; line-height: 2; }
  .p-csr-social__cards-wrap { padding-bottom: 80px; }

  /* ===== SDGs PAGE ===== */
  .p-sdgs__title-ja { font-size: 36px; }
  .p-sdgs__section-heading { font-size: 20px; }
  .p-sdgs__sub-heading { font-size: 20px; }
  .p-sdgs-items { grid-template-columns: 1fr; }
  .p-sdgs-item--single { grid-column: 1 / -1; }
  .p-sdgs-item__img { width: 120px; height: 120px; }

  /* ===== ACTION PLAN PAGE（行動計画） ===== */
  .p-action-plan { padding-top: 60px; }
  .p-action-plan__inner { padding-bottom: 60px; }
  .p-action-plan__head { margin-bottom: 40px; }
  .p-action-plan__title-ja { font-size: 36px; }
  .p-action-plan__title-en { font-size: 14px; }
  .p-action-plan__body { padding-left: 0; }
  .p-action-plan__subtitle { font-size: 22px; margin-bottom: 28px; }
  .p-action-plan__intro { font-size: 16px; line-height: 2; letter-spacing: 0.05em; margin-bottom: 32px; }
  .p-action-plan__text { font-size: 15px; line-height: 2.2; letter-spacing: 0.05em; }

  /* ===== KODOMO CAFETERIA PAGE（こども食堂） ===== */
  .p-kodomo__breadcrumb .container { padding-inline: var(--gutter); }
  .p-kodomo__inner { padding-inline: var(--gutter); }
  .p-kodomo { padding-top: 60px; }
  .p-kodomo__head { margin-bottom: 40px; }
  .p-kodomo__title-ja { font-size: 36px; }
  .p-kodomo__title-en { font-size: 14px; }
  .p-kodomo__body { padding-left: 0; margin-bottom: 48px; }
  .p-kodomo__subtitle { font-size: 22px; margin-bottom: 20px; }
  .p-kodomo__text { font-size: 15px; line-height: 2.2; letter-spacing: 0.05em; }
  .p-kodomo__images { flex-direction: column; align-items: center; gap: 24px; margin-bottom: 60px; }
  .p-kodomo__img-item { width: 100%; height: 400px; }

  /* ===== VOLUNTEER PAGE（ボランティア活動） ===== */
  .p-volunteer__breadcrumb .container { padding-inline: var(--gutter); }
  .p-volunteer__inner { padding-inline: var(--gutter); }
  .p-volunteer { padding-top: 60px; }
  .p-volunteer__head { margin-bottom: 40px; }
  .p-volunteer__title-ja { font-size: 36px; }
  .p-volunteer__title-en { font-size: 14px; }
  .p-volunteer__body { padding-left: 0; margin-bottom: 40px; }
  .p-volunteer__subtitle { font-size: 22px; margin-bottom: 20px; }
  .p-volunteer__text { font-size: 15px; line-height: 2.2; letter-spacing: 0.05em; }
  .p-volunteer__divider { margin-left: 0; margin-top: 32px; margin-bottom: 32px; }
  .p-volunteer__images { margin-left: 0; grid-template-columns: 1fr; gap: 20px; margin-bottom: 60px; }

  /* ===== SERVICE TOP PAGE ===== */
  .p-service-intro { padding-block: 60px 40px; }
  .p-service-intro__inner {
    grid-template-columns: 1fr;
    padding-inline: var(--gutter);
    gap: 24px;
  }
  .p-service-intro__en { font-size: 36px; }
  .p-service-intro__subtitle { font-size: 15px; }
  .p-service-intro__catch { font-size: 18px; margin-top: 12px; }
  .p-service-intro__text { font-size: 14px; line-height: 1.9; }
  .p-service-section__inner {
    padding-inline: var(--gutter);
    padding-block: 52px 60px;
  }
  .p-service-section__cat-ja { font-size: 24px; margin-top: 6px; }
  .p-service-section__catch { font-size: 17px; margin-top: 14px; }
  .p-service-section__desc { font-size: 14px; line-height: 1.9; margin-top: 12px; max-width: 100%; }
  .p-service-section__head { margin-bottom: 32px; }
  /* catch + desc を縦積みに切り替え */
  .p-service-section__waku,
  .p-service-section__waku2,
  .p-service-section__waku3 {
    flex-direction: column;
    gap: 16px;
    margin: 36px 0;
  }
  .p-service-hero { height: 300px; }
  /* Rows → vertical stacking */
  .p-service-row {
    height: auto;
    flex-direction: column;
  }
  .p-service-row__divider {
    width: 100%;
    height: 1px;
    align-self: auto;
  }
  .p-service-item {
    padding: 0 15px;
    gap: 20px;
  }
  .p-service-item--empty { display: none; }
  .p-service-item__img { width: 100px; height: 100px; }
  .p-service-item__label { font-size: 16px; }
  .p-service-item__text { font-size: 13px; }

  /* ===== 補償業務 PAGE ===== */
  .p-hosho__heading  { font-size: 24px; }
  .p-hosho__subheading { font-size: 17px; }
  .p-hosho__lead { font-size: 14px; line-height: 2; }

  /* 事前/事後テーブル: 縦積み */
  .p-hosho-table__header,
  .p-hosho-table__body {
    grid-template-columns: 1fr;
  }
  .p-hosho-table__sep,
  .p-hosho-table__divider {
    width: 100%;
    height: 1px;
    align-self: auto;
  }
  .p-hosho-table__col { padding: 16px 20px; }
  .p-hosho-table__col-text { font-size: 14px; line-height: 2; }

  /* 調査項目グリッド: 1列 */
  .p-hosho-survey__row,
  .p-hosho-survey__row--single {
    grid-template-columns: 1fr;
    max-width: none;
    gap: 32px;
  }
  .p-hosho-survey { gap: 32px; }
  .p-hosho-survey__label { font-size: 15px; }
  .p-hosho-survey__text  { font-size: 14px; line-height: 2; }
}
