@charset "UTF-8";
/* =========================================
   会社案内ページ
   ========================================= */
/* 本文レイアウト（左：追従ローカルナビ ／ 右：本文） */
.company-profile {
  padding-top: 2.5rem;
  padding-bottom: 4rem;
}

.company-profile__body {
  width: 100%;
}

.company-profile__section + .company-profile__section {
  margin-top: 4.5rem;
}

.company-profile__ttl {
  margin-bottom: 1.875rem;
}

/* 追従ローカルナビ（lg以上で表示） */
.local-nav {
  display: none;
}

.local-nav__list {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
}

.local-nav__link {
  position: relative;
  color: #6b6b6b;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

.local-nav__link:hover,
.local-nav__link.is-current {
  color: #333;
}

/* スクロール連動でカレント項目に表示する赤い■ */
.local-nav__link.is-current::before {
  content: "";
  position: absolute;
  left: -1.375rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0.5rem;
  height: 0.5rem;
  background-color: #D7000F;
}

@media screen and (min-width: 992px) {
  .company-profile__section + .company-profile__section {
    margin-top: 7.5rem;
  }
  .company-profile {
    display: flex;
    align-items: flex-start;
    column-gap: 2rem;
    padding-top: 3.75rem;
    padding-bottom: 7.5rem;
  }
  .local-nav {
    display: block;
    flex-shrink: 0;
    width: 18.625rem;
    position: sticky;
    top: 7.5rem;
    padding-left: 3rem;
  }
  .company-profile__body {
    width: 60.375rem;
  }
}
/* ---- 企業理念 ---- */
.philosophy-text > p {
  margin-bottom: 1.625rem;
}

.philosophy-text > p:last-child {
  margin-bottom: 0;
}

.philosophy-symbol {
  margin-top: 2.5rem;
  background-color: #fff;
  padding: 2.5rem 1.25rem;
}

.philosophy-symbol__img {
  display: block;
  width: 100%;
  max-width: 50.375rem;
  margin-right: auto;
  margin-left: auto;
}

.philosophy-caption {
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.6;
}

.philosophy-caption__ttl {
  font-weight: 500;
}

@media screen and (min-width: 768px) {
  .philosophy-symbol {
    padding: 5rem;
  }
  .philosophy-caption {
    display: flex;
    gap: 1.875rem;
  }
  .philosophy-caption__ttl {
    flex-shrink: 0;
  }
}
/* ---- 会社概要（dl-standard を流用）内の補助 ---- */
/* 資格者数の内訳 */
.dl-standard--outline:first-of-type {
  border-top: none;
}

.qual-list {
  width: 100%;
}

.qual-list__row {
  display: flex;
  gap: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #dadada;
}

.qual-list__row + .qual-list__row {
  padding-top: 1.25rem;
}

.qual-list__row--inner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.qual-list__row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.qual-list__num {
  flex-shrink: 0;
  text-align: right;
}

/* オフィス一覧＋本社外観 */
.office-summary__img {
  display: block;
  width: 12.5rem;
  height: auto;
  margin-top: 1rem;
}

@media screen and (min-width: 768px) {
  .office-summary {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
  }
  .office-summary__img {
    flex-shrink: 0;
    width: 17.375rem;
    margin-top: 0;
  }
  .qual-list__row--inner {
    width: 217px;
    max-width: 100%;
  }
}
/* ---- 事務所一覧 ---- */
.office-item {
  padding: 1.875rem 0;
  border-bottom: 1px solid #dadada;
}

.office-item:last-child {
  border-bottom: 1px solid #dadada;
}

.office-item__name {
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.office-item__address {
  letter-spacing: 0.05em;
}

.office-item__map {
  margin-top: 1.25rem;
}

.office-item__map-frame {
  display: block;
  width: 100%;
  aspect-ratio: 746/312;
  border: 0;
}

.office-item__print-wrap {
  margin-top: 0.75rem;
  text-align: right;
}

.office-item__print {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  color: #333;
}

.office-item__print-icon {
  width: 1.375rem;
  height: 1.375rem;
}

@media screen and (min-width: 768px) {
  .office-item__head {
    display: flex;
    gap: 1.25rem;
  }
  .office-item__name {
    flex-shrink: 0;
    width: 12.5rem;
    margin-bottom: 0;
  }
  .office-item__map {
    margin-left: 13.75rem;
  }
}
/* ---- 沿革 ---- */
.history__item {
  display: flex;
  flex-direction: column;
  padding: 1.875rem 0;
  border-bottom: 1px solid #dadada;
  margin-left: 2rem;
  position: relative;
}

.history__item::before {
  content: "";
  position: absolute;
  top: -1px;
  bottom: 0;
  left: -1.4285714286rem;
  width: 1px;
  background-color: #ACACAC;
}

.history__item:first-of-type:before {
  top: 2.5714285714rem;
}

.history__item:last-of-type:before {
  bottom: unset;
  height: 2.5714285714rem;
}

.history__date {
  display: flex;
  gap: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  position: relative;
}

.history__date::after {
  content: "";
  position: absolute;
  top: 0.55rem;
  left: -1.6428571429rem;
  width: 0.5rem;
  height: 0.5rem;
  background-color: #D7000F;
}

.history__body {
  letter-spacing: 0.05em;
}

@media screen and (min-width: 768px) {
  .history__item {
    position: relative;
    flex-direction: row;
    align-items: flex-start;
    column-gap: 9rem;
  }
  /* タイムラインの縦線（各itemに引き、先頭/末尾を■の位置でトリム） */
  .history__item::before {
    left: 16.5rem;
  }
  .history__item:first-child::before {
    top: 2.5rem;
  }
  .history__item:last-child::before {
    top: 0;
    bottom: auto;
    height: 2.5rem;
  }
  .history__date {
    flex-shrink: 0;
    justify-content: space-between;
    width: 11.875rem;
    margin-bottom: 0;
    position: relative;
  }
  /* タイムラインの赤い目印 */
  .history__date::after {
    top: 0.5rem;
    right: -4.9rem;
    left: unset;
  }
  .history__body {
    flex: 1;
  }
}
/* ---- 役員（会社概要2） ---- */
.officer-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.875rem;
}

.officer-head__date {
  flex-shrink: 0;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
}

.officer-list__item {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid #dadada;
}

.officer-list__role {
  font-weight: 500;
  line-height: 1.625;
}

.officer-list__name {
  flex-shrink: 0;
  width: 6.25rem;
  letter-spacing: 0.05em;
}

.officer-notice {
  text-align: right;
  margin-top: 0.9375rem;
}

@media screen and (min-width: 768px) {
  .officer-list__name {
    width: 13.75rem;
  }
}