@charset "utf-8";

/* ============================================================
   company.css — Company section pages (会社概要, 代表者挨拶, etc.)
   Shared styles are in components.css
   ============================================================ */

/* ---- Reset & base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; font-size: 16px; overflow-x: hidden; }

body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", "Yu Gothic", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #1a1a1a;
  overflow-x: clip;
  background: #fff;
}

img { max-width: 100%; height: auto; display: block; }
a { color: #06617f; text-decoration: none; transition: color .2s, opacity .2s; }
a:hover { color: #30a1af; }
ul, ol { list-style: none; }

.container {
  width: 100%;
  max-width: 68.75rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============================================================
   BREADCRUMBS
   ============================================================ */

.breadcrumb {
  padding: 0.75rem 0;
  font-size: 0.8125rem;
  color: #646464;
}
.breadcrumb a { color: #30a1af; }
.breadcrumb a:hover { color: #06617f; }
.breadcrumb__sep {
  margin: 0 0.5rem;
  color: #cacaca;
}

/* ============================================================
   PAGE HEADER (teal banner)
   ============================================================ */

.page-header {
  background: #30a1af;
  padding: 3.5rem 0;
}
.page-header__title {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.1875rem);
  font-weight: normal;
  border-left: 0.3125rem solid #fff;
  padding-left: 1.875rem;
}
.page-header__sub {
  display: block;
  font-size: 1rem;
  font-weight: normal;
  letter-spacing: 0.2em;
  margin-top: 0.25rem;
  font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", sans-serif;
}

/* ============================================================
   PAGE NAV (sub-navigation bar)
   ============================================================ */

.page-nav {
  background: #06617f;
}
.page-nav__list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}
.page-nav__item {
  flex: 1;
  border-right: 1px solid rgba(255,255,255,0.2);
}
.page-nav__item:last-child { border-right: none; }

.page-nav__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem 0.5rem;
  color: #fff;
  font-size: 1.125rem;
  font-weight: 600;
  text-align: center;
  transition: background .2s;
  min-height: 5rem;
}
.page-nav__link:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

/* ============================================================
   SECTION
   ============================================================ */

.section-pad { padding: 5rem 0; }

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 2.5rem;
  text-align: center;
}
.section-title::after {
  content: '';
  display: block;
  width: 3.75rem;
  height: 0.1875rem;
  background: #30a1af;
  margin: 0.75rem auto 0;
  border-radius: 0.125rem;
}

/* ============================================================
   COMPANY TABLE
   ============================================================ */

.company-table {
  width: 100%;
  max-width: 50rem;
  margin: 0 auto;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 1rem;
  background: #fff;
  border: 1px solid rgba(208, 208, 208, 0.5);
  border-radius: 0.75rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.company-table th,
.company-table td {
  padding: 1.25rem 1.5rem;
  border: none;
  border-bottom: 1px solid #eef2f4;
  text-align: left;
  vertical-align: top;
}
.company-table tr:last-child th,
.company-table tr:last-child td {
  border-bottom: none;
}

.company-table th {
  background: #e9f8fa;
  font-weight: 700;
  color: #06617f;
  font-size: 1.125rem;
  width: 10rem;
  white-space: nowrap;
  line-height: 1.7;
}

.company-table td {
  background: #fff;
  color: #333;
  line-height: 1.7;
  letter-spacing: 0.05em;
  text-align: justify;
}

.company-table td a {
  text-decoration: underline;
  text-decoration-color: rgba(6,97,127,0.3);
  text-underline-offset: 0.1875rem;
}
.company-table td a:hover {
  text-decoration-color: #30a1af;
  color: #30a1af;
}

/* 役員：役職＝太字ティール、氏名＝本文（recruit-deflist と同じ見た目） */
.company-table__deflist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.company-table__deflist li {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.9rem;
  align-items: baseline;
}
.company-table__deflist-key {
  flex: 0 0 auto;
  min-width: 5rem;
  font-weight: 700;
  color: #1c7d8a;
}

/* 業務内容：ティールの点付き箇条書き（recruit のリストと同じ間隔） */
.company-table__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.company-table__list li {
  position: relative;
  padding-left: 1.1rem;
}
.company-table__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: #30a1af;
}

/* ============================================================
   MAP & ACCESS
   ============================================================ */

.access-address {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 1rem;
  color: #333;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

/* 周辺地図(画像)とGoogleマップ(埋め込み)を左右2カラムで並べる */
.access-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
  margin-bottom: 2rem;
}

.access-map {
  border: 1px solid rgba(208, 208, 208, 0.3);
  border-radius: 0.75rem;
  overflow: hidden;
  background: #fff;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  margin-bottom: 2rem;
}
/* 2カラム内では画像を縦中央に置き、行側の余白を使う */
.access-media .access-map {
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.access-map img {
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
}

.access-map-embed {
  border: 1px solid rgba(208, 208, 208, 0.3);
  border-radius: 0.75rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  min-height: 18rem;
}
.access-map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 18rem;
  border: 0;
  display: block;
}

.access-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.access-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  background: #fff;
  border: 1px solid rgba(208, 208, 208, 0.3);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.access-item__icon {
  font-size: 1.75rem;
  color: #06617f;
  flex-shrink: 0;
}
.access-item__body { flex: 1; min-width: 0; }
.access-item__station {
  font-weight: 700;
  font-size: 1.0625rem;
  color: #1a1a1a;
}
.access-item__line {
  font-size: 0.8125rem;
  color: #646464;
  line-height: 1.6;
  margin-top: 0.125rem;
}
.access-item__walk {
  flex-shrink: 0;
  background: #06617f;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  border-radius: 3.125rem;
  padding: 0.3125rem 0.875rem;
  white-space: nowrap;
}

/* shokudo_raku_link styles moved to components.css (shared component) */

/* ============================================================
   PROFILE PAGE
   ============================================================ */

.profile-text {
  font-size: 1rem;
  line-height: 1.8;
  text-align: justify;
  max-width: 52rem;
  margin: 0 auto 3rem;
}

.profile-chart {
  text-align: center;
}
.profile-chart img {
  width: 100%;
  max-width: 50rem;
  margin: 0 auto;
}

/* Business items grid */

/* ============================================================
   GREETING PAGE
   ============================================================ */

.greeting-layout {
  display: flex;
  gap: 3rem;
  max-width: 58rem;
  margin: 0 auto;
  align-items: flex-start;
}

.greeting-text {
  flex: 1;
}
.greeting-text p {
  text-align: justify;
  line-height: 1.8;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
}

.greeting-photo {
  flex-shrink: 0;
  width: 17.5rem;
  text-align: center;
}
.greeting-photo__img {
  width: 100%;
  margin-bottom: 1rem;
}
.greeting-photo__sign {
  width: 100%;
}

/* ============================================================
   HISTORY PAGE
   ============================================================ */

.history-intro {
  text-align: justify;
  line-height: 1.8;
  max-width: 52rem;
  margin: 0 auto 3rem;
}

.history-era {
  color: #06617f;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 2.5rem 0 1.5rem;
  padding-left: 0.75rem;
  border-left: 0.25rem solid #30a1af;
}
.history-era:first-of-type {
  margin-top: 0;
}

/* ---- Vertical timeline ---- */
.history-timeline {
  position: relative;
  margin: 0;
  padding: 0;
  border: none;
  font-size: 1rem;
}
.history-row {
  position: relative;
  display: block;
  border: none;
  padding: 0 0 1.75rem 2rem;
}
.history-row:last-child { padding-bottom: 0; }
.history-row::before {           /* connector line */
  content: '';
  position: absolute;
  left: 0.375rem;
  top: 0.5rem;
  width: 0.125rem;
  height: 100%;
  background: #cfe6e9;
}
.history-row:last-child::before { display: none; }
.history-row::after {            /* node dot */
  content: '';
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 0.875rem;
  height: 0.875rem;
  border-radius: 50%;
  background: #fff;
  border: 0.1875rem solid #30a1af;
}
.history-timeline dt {
  display: block;
  width: auto;
  padding: 0;
  background: none;
  color: #06617f;
  font-weight: 700;
  font-size: 1.0625rem;
  margin-bottom: 0.25rem;
}
.history-timeline dd {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  color: #555;
  line-height: 1.8;
  text-align: justify;
}

/* ============================================================
   KOUKOKU (電子公告) PAGE
   ============================================================ */

.koukoku-tabs { margin: 0; }

.koukoku-tabs input[type="radio"] { display: none; }

.koukoku-tabs__labels {
  display: flex;
  gap: 0.5rem;
  margin: 0 0 1.5rem;
}
.koukoku-tabs__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.75rem;
  font-size: 1rem;
  font-weight: 700;
  color: #06617f;
  background: #fff;
  border: 1px solid rgba(48, 161, 175, 0.4);
  border-radius: 3.125rem;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.koukoku-tabs__label:hover { background: #f7fbfc; }

.koukoku-tabs__panels { background: none; }
.koukoku-panel { display: none; padding: 0; }

/* consistent PDF document card (shared by both tabs) */
.koukoku-doc {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border: 1px solid rgba(208, 208, 208, 0.3);
  border-radius: 0.75rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  color: #1a1a1a;
  transition: border-color .2s, box-shadow .2s, transform .15s;
}
.koukoku-doc:hover {
  border-color: rgba(48, 161, 175, 0.5);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transform: translateY(-0.0625rem);
  color: #1a1a1a;
}
.koukoku-doc__icon {
  font-size: 2.25rem;
  color: #06617f;
  flex-shrink: 0;
}
.koukoku-doc__body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.koukoku-doc__title { font-weight: 700; font-size: 1.0625rem; line-height: 1.5; }
.koukoku-doc__meta { font-size: 0.8125rem; color: #646464; margin-top: 0.25rem; }
.koukoku-doc__action { font-size: 1.5rem; color: #30a1af; flex-shrink: 0; }

#tab1:checked ~ .koukoku-tabs__labels .koukoku-tabs__label[for="tab1"],
#tab2:checked ~ .koukoku-tabs__labels .koukoku-tabs__label[for="tab2"] {
  background: #06617f;
  color: #fff;
  border-color: #06617f;
}
#tab1:checked ~ .koukoku-tabs__panels #panel1 { display: block; }
#tab2:checked ~ .koukoku-tabs__panels #panel2 { display: block; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 48rem) {
  .section-pad { padding: 3.5rem 0; }
  .container { padding: 0 1rem; }

  .page-header { padding: 2.5rem 0; }
  .page-header__title { font-size: 1.5rem; padding-left: 1rem; }

  .page-nav { display: none; }

  .company-table th { width: auto; }

  /* カードの帯を1列に積み、区切りを点線に */
  .company-stats { grid-template-columns: 1fr; }
  .company-stats__item {
    border-right: none;
    border-bottom: 0.0625rem dashed #c0dce0;
  }
  .company-stats__item:last-child {
    border-bottom: none;
  }

  .greeting-layout {
    flex-direction: column;
  }
  .greeting-photo {
    width: 100%;
    max-width: 17.5rem;
    margin: 0 auto;
  }

}

@media (max-width: 30rem) {
  .section-pad { padding: 2.5rem 0; }

  .company-table,
  .company-table thead,
  .company-table tbody,
  .company-table tr,
  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
  }
  .company-table th {
    border-bottom: none;
    padding: 0.625rem 1rem;
    font-size: 0.9375rem;
  }
  .company-table td {
    border-top: none;
  }

  .koukoku-tabs__label {
    flex: 1;
    padding: 0.625rem 0.5rem;
  }
}

/* ============================================================
   COMBINED 会社情報 PAGE
   ── policy.css の統合レイアウト構造 ＋ トップページ(Nagato)の
      ビジュアル言語（ヒーロー / カード / 実績ブロック / CTA）。
   ============================================================ */

/* ---- Page hero (dark-blue banner) ---- */
.page-hero {
  background: var(--c-teal);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero__label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.page-hero__label::before {
  content: '';
  display: inline-block;
  width: 3rem;
  height: 0.25rem;
  background: rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
}
.page-hero__title {
  font-size: clamp(1.5rem, 3.6vw, 2.5rem);
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
  margin-bottom: 1rem;
}
.page-hero__desc {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.0625rem;
  line-height: 1.8;
  max-width: 42rem;
}
.page-hero__deco {
  position: absolute;
  border-radius: 50%;
  border: 2.5rem solid rgba(255, 255, 255, 0.05);
  pointer-events: none;
}
.page-hero__deco--br {
  width: 24rem;
  height: 24rem;
  bottom: -5rem;
  right: -5rem;
}

/* ---- Buttons (for CTA) ---- */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border-radius: 3.125rem;
  border: 0.125rem solid #06617f;
  background: #06617f;
  color: #fff;
  transition: background .25s, color .25s, transform .15s;
  cursor: pointer;
  line-height: 1.4;
}
.btn:hover {
  background: #fff;
  color: #06617f;
  transform: translateY(-0.0625rem);
}
.btn--white {
  background: #fff;
  color: #06617f;
  border-color: #fff;
}
.btn--white:hover { background: #06617f; color: #fff; }
.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn--ghost:hover { background: #fff; color: #06617f; }

/* ---- Layout: sidebar + main ---- */
.company-layout {
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
}
.company-sidebar {
  position: sticky;
  top: 6rem;
  flex: 0 0 16rem;
  background: var(--c-teal);
  border-radius: 0.75rem;
  padding: 0.5rem;
  box-shadow: 0 0.0625rem 0.25rem rgba(0, 0, 0, 0.08);
}
.company-sidebar__heading {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 0.75rem 1rem 0.5rem;
}
.company-sidebar__list { list-style: none; margin: 0; padding: 0; }
.company-sidebar__link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1rem;
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  border-radius: 0.5rem;
  transition: background .2s, color .2s;
}
.company-sidebar__link .material-symbols-outlined { font-size: 1.25rem; flex-shrink: 0; }
.company-sidebar__link:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.company-sidebar__link.active {
  background: #fff;
  color: #06617f;
}
.company-main { flex: 1 1 auto; min-width: 0; }

/* ---- Article card (one per former page) ---- */
.company-article {
  background: #fff;
  border-radius: 1rem;
  border: 1px solid rgba(208, 208, 208, 0.3);
  padding: 3rem;
  box-shadow: 0 0.0625rem 0.25rem rgba(0, 0, 0, 0.06);
  scroll-margin-top: 6rem;
}
.company-article + .company-article { margin-top: 2.5rem; }
.company-article .section-title {
  text-align: left;
  margin-bottom: 2rem;
}
.company-article .section-title::after { margin: 0.75rem 0 0; }
/* content blocks fill the card width (override max-width centering) */
.company-article .profile-text, .company-article .company-list, .company-article .greeting-layout, .company-article .history-intro, .company-article .history-era, .company-article .history-timeline, .company-article .koukoku-tabs { max-width: none; }

/* 本文ブロックは可読幅(52rem)に制限。policyページの .handling-content と統一 */
.company-article .profile-lead,
.company-article .profile-text,
.company-article .company-list,
.company-article .history-intro,
.company-article .history-timeline {
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}

/* ---- Lead copy (会社プロフィール) ---- */
.profile-lead {
  font-size: clamp(1.0625rem, 2vw, 1.3125rem);
  font-weight: 700;
  color: #06617f;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

/* ---- 経営理念: teal-bordered list (Nagato policy-list look) ---- */
.company-list { list-style: none; padding: 0; margin: 0; }
.company-list__item {
  margin-bottom: 1.5rem;
}
.company-list__item:last-child { margin-bottom: 0; }
.company-list__text { color: #555; line-height: 1.8; }

/* ---- Subheading inside a card ---- */
.company-subtitle {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 2.5rem 0 1.25rem;
  padding-left: 0.75rem;
  border-left: 0.25rem solid #30a1af;
}

/* ---- 営業品目: Material-icon feature cards ---- */
.biz-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.biz-card {
  background: #fff;
  border: 1px solid rgba(208, 208, 208, 0.3);
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.biz-card__icon {
  font-size: 2rem;
  color: var(--c-dark-blue);
  margin-bottom: 0.5rem;
}
.biz-card__title {
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--c-text);
  margin-bottom: 0.5rem;
}
.biz-card__text { font-size: 0.9375rem; color: #646464; line-height: 1.7; }

/* ---- 会社概要: highlight stats strip (Nagato achievements) ---- */
/* 会社概要：表（左）と数値カード（右）を2カラムで並べる */
.company-overview {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.company-overview .company-table {
  max-width: 52rem;
  margin: 0 auto;
}

.company-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  max-width: 52rem;
  margin: 0 auto;
  border-top: 0.25rem solid var(--c-teal);
  border-radius: 0.5rem;
  box-shadow: 0 4px 24px rgba(6, 97, 127, 0.08);
  overflow: hidden;
}
.company-stats__item {
  padding: 1.5rem 1.25rem;
  text-align: center;
  border-right: 0.0625rem solid #e8f4f6;
  background: #fff;
}
.company-stats__item:last-child {
  border-right: none;
}
.company-stats__label {
  font-size: 0.8125rem;
  color: #666;
  margin-bottom: 0.5rem;
  letter-spacing: 0.04em;
}
.company-stats__number {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--c-dark-blue);
  line-height: 1.0;
  white-space: nowrap;
}
.company-stats__unit {
  font-size: clamp(0.875rem, 1.8vw, 1rem);
  font-weight: 700;
  margin-left: 0.125rem;
}
.company-stats__icon {
  display: block;
  margin-top: 0.75rem;
  font-size: 1.75rem;
  color: #c8e8ed;
}

/* ---- CTA section (Nagato cta-section) ---- */
.cta-section {
  background: #30a1af;
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: #fff;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}
.cta-section__text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.0625rem;
  line-height: 1.8;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}
.cta-section__buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-section__deco {
  position: absolute;
  border-radius: 50%;
  border: 2.5rem solid rgba(255, 255, 255, 0.1);
  pointer-events: none;
}
.cta-section__deco--bl { width: 24rem; height: 24rem; bottom: -5rem; left: -5rem; }
.cta-section__deco--tr { width: 16rem; height: 16rem; top: -5rem; right: -5rem; border-width: 1.25rem; }

/* ============================================================
   COMBINED PAGE — RESPONSIVE
   ============================================================ */
@media (max-width: 48rem) {
  .page-hero { padding: 3.5rem 0; }

  .company-layout { display: block; }
  /* スマホではサイドバー目次を非表示にし、本文を全幅で表示 */
  .company-sidebar { display: none; }
  .company-article {
    padding: 2rem;
    scroll-margin-top: 4.5rem;
  }
  .biz-cards { grid-template-columns: 1fr; }
  .access-list { grid-template-columns: 1fr; }
  .access-media { grid-template-columns: 1fr; }

  /* 会社概要の数値ストリップ：スマホでは縦積みにして
     3列が枠からはみ出して見切れるのを防ぐ */
  .company-stats { grid-template-columns: 1fr; }
  .company-stats__item { border-right: none; border-bottom: 0.0625rem solid #e8f4f6; }
  .company-stats__item:last-child { border-bottom: none; }
}

@media (max-width: 30rem) {
  .company-article { padding: 1.5rem; }
}

/* ============================================================
   ワイド画面（≥94rem）: サイドバーをコンテンツ枠の外（左余白）へ
   ============================================================ */
@media (min-width: 94rem) {
  .company-layout {
    margin-left: -17.5rem;  /* サイドバー幅(16rem)+gap(1.5rem) 分だけ左へ */
    gap: 1.5rem;
  }
  .company-sidebar { flex: 0 0 16rem; }
}
