/* ===================================================================
  about.css
  企業案内ページ専用

  メインビジュアルとリード文は common.css の共通スタイル
  （.lower-mv / .lower-lead）を使用しています。

  画像配置先：images/about/about_mv.jpg
  推奨サイズ：横 1920px × 縦 820px 以上
  推奨アスペクト比：約 7:3
=================================================================== */

/* メインビジュアル：企業案内ページ用の表示位置 */
.lower-mv__image {
  object-position: center center;
}

/* ===================================================================
  企業理念

  画像配置先：images/about/about_philosophy.jpg
  推奨サイズ：横 1200px × 縦 800px（3:2）
  表示上限：幅 540px、高さ auto
=================================================================== */
.about-philosophy {
  padding: 0 0 80px;
}

.about-philosophy__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 540px);
  grid-template-areas: "body image";
  align-items: center;
  column-gap: 80px;
  margin-top: 65px;
}

.about-philosophy__image {
  grid-area: image;
  width: 100%;
  max-width: 540px;
  justify-self: end;
}

.about-philosophy__image img {
  display: block;
  width: 100%;
  height: auto;
}

.about-philosophy__body {
  grid-area: body;
  min-width: 0;
}

.about-philosophy__title {
  margin: 0 0 28px;
  color: var(--color-sub1);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.45;
}

.about-philosophy__text p {
  margin-bottom: 24px;
  font-size: 16px;
  overflow-wrap: anywhere;
}

.about-philosophy__text p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .lower-mv__image {
    object-position: center center;
  }

  .about-philosophy {
    padding: 0 0 60px;
  }

  .about-philosophy__content {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    row-gap: 30px;
    margin-top: 38px;
  }

  .about-philosophy__image {
    order: 1;
    width: 100%;
    max-width: none;
  }

  .about-philosophy__body {
    order: 2;
  }

  .about-philosophy__title {
    font-size: 20px;
    margin-bottom: 24px;
  }

  .about-philosophy__text p {
    margin-bottom: 20px;
    font-size: 16px;
  }
}


/* ===================================================================
  会社概要
=================================================================== */
.about-company {
  padding: 0 0 80px;
}

.about-company__list {
  width: 100%;
  max-width: 800px;
  margin: 65px auto 0;
  border-top: 1px solid var(--color-sub3);
}

.about-company__row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  column-gap: 28px;
  padding: 17px 20px;
  border-bottom: 1px solid var(--color-sub3);
}

.about-company__term,
.about-company__description {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
}

.about-company__term {
  font-weight: 500;
}

.about-company__description {
  min-width: 0;
  overflow-wrap: anywhere;
}

.about-company__address {
  font-style: normal;
}

.about-company__bullet-list {
  margin: 0;
  padding: 0;
}

.about-company__bullet-list li {
  position: relative;
  padding-left: 1em;
}

.about-company__bullet-list li::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
}

.about-company__group + .about-company__group {
  margin-top: 6px;
}

.about-company__group p {
  margin: 0;
}

.about-company__group-title {
  font-weight: 500;
}

@media (max-width: 768px) {
  .about-company {
    padding: 0 0 60px;
  }

  .about-company__list {
    margin-top: 38px;
  }

  .about-company__row {
    display: block;
    padding: 18px 0 20px;
  }

  .about-company__term {
    margin-bottom: 8px;
    color: var(--color-main);
    font-weight: 700;
  }

  .about-company__term,
  .about-company__description {
    line-height: 1.8;
  }
}

/* ===================================================================
  会社沿革
=================================================================== */
.about-history {
  padding: 0 0 80px;
}

.about-history__images {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 360px));
  justify-content: space-between;
  gap: 40px;
  margin-top: 65px;
}

.about-history__image {
  width: 100%;
  max-width: 360px;
  margin: 0;
}

.about-history__image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.about-history__list {
  width: 100%;
  max-width: 800px;
  margin: 60px auto 0;
  border-top: 1px solid var(--color-sub3);
}

.about-history__row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  column-gap: 20px;
  padding: 17px 20px;
  border-bottom: 1px solid var(--color-sub3);
}

.about-history__date,
.about-history__description {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
}

.about-history__date {
  font-weight: 500;
  white-space: nowrap;
}

.about-history__description {
  min-width: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 768px) {
  .about-history {
    padding: 0 0 60px;
  }

  .about-history__images {
    grid-template-columns: 1fr;
    justify-items: stretch;
    gap: 20px;
    margin-top: 38px;
  }

  .about-history__image {
    max-width: none;
  }

  .about-history__list {
    margin-top: 38px;
  }

  .about-history__row {
    display: block;
    padding: 18px 0 20px;
  }

  .about-history__date {
    margin-bottom: 8px;
    color: var(--color-main);
    font-weight: 700;
  }

  .about-history__date,
  .about-history__description {
    line-height: 1.8;
  }
}

/* ===================================================================
  サステナブル経営方針
=================================================================== */
.about-sustainability {
  padding: 0 0 80px;
}

.about-sustainability__lead {
  margin: 45px 0 50px;
  font-size: 16px;
  line-height: 2;
}

.about-sustainability__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "environment quality"
    "safety people"
    "worklife visual";
}

.about-sustainability__panel,
.about-sustainability__visual {
  min-height: 300px;
}

.about-sustainability__panel {
  display: flex;
  align-items: center;
}

.about-sustainability__panel-inner {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 55px 70px;
  text-align: left;
}

.about-sustainability__panel--environment {
  grid-area: environment;
}

.about-sustainability__panel--quality {
  grid-area: quality;
}

.about-sustainability__panel--safety {
  grid-area: safety;
}

.about-sustainability__panel--people {
  grid-area: people;
}

.about-sustainability__panel--worklife {
  grid-area: worklife;
}

.about-sustainability__visual {
  grid-area: visual;
  margin: 0;
  overflow: hidden;
}

.about-sustainability__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-sustainability__panel--light {
  background: #F6F6F6;
  color: var(--color-text);
}

.about-sustainability__panel--dark {
  background: var(--color-main);
  color: var(--color-white);
}

.about-sustainability__title {
  margin-bottom: 20px;
  color: var(--color-sub1);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
}

.about-sustainability__panel--dark .about-sustainability__title {
  color: var(--color-white);
}

.about-sustainability__list {
  margin: 0;
  padding: 0;
}

.about-sustainability__list li {
  position: relative;
  padding-left: 1em;
  font-size: 16px;
  line-height: 1.9;
}

.about-sustainability__list li::before {
  content: "・";
  position: absolute;
  top: 0;
  left: 0;
}

.about-sustainability__document {
  width: 100%;
  max-width: 800px;
  margin: 55px auto 0;
  text-align: center;
}

.about-sustainability__document-text {
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.8;
}

.about-sustainability__document-link {
  display: block;
  width: 100%;
}

.about-sustainability__document-link img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .about-sustainability {
    padding: 0 0 60px;
  }

  .about-sustainability__lead {
    margin: 30px 0 36px;
    font-size: 16px;
    line-height: 1.9;
  }

  .about-sustainability__grid {
    display: flex;
    flex-direction: column;
  }

  .about-sustainability__panel,
  .about-sustainability__visual {
    min-height: 0;
  }

  .about-sustainability__panel--environment {
    order: 1;
  }

  .about-sustainability__panel--quality {
    order: 2;
  }

  .about-sustainability__panel--people {
    order: 3;
  }

  .about-sustainability__panel--safety {
    order: 4;
  }

  .about-sustainability__visual {
    order: 5;
  }

  .about-sustainability__panel--worklife {
    order: 6;
  }

  .about-sustainability__panel-inner {
    padding: 36px 24px 40px;
  }

  .about-sustainability__title {
    margin-bottom: 16px;
    font-size: 20px;
    line-height: 1.55;
  }

  .about-sustainability__list li {
    line-height: 1.85;
  }

  .about-sustainability__visual img {
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
  }

  .about-sustainability__document {
    margin-top: 38px;
  }

  .about-sustainability__document-text {
    margin-bottom: 16px;
    font-size: 13px;
    text-align: left;
  }
}


/* ===================================================================
  SDGs行動宣言
=================================================================== */
.about-sdgs {
  padding: 0 0 80px;
}

.about-sdgs__intro {
  display: flex;
  align-items: center;
  gap: clamp(60px, 9vw, 150px);
  margin: 60px 0 70px;
}

.about-sdgs__symbol {
  flex: 0 0 min(300px, 30%);
  max-width: 300px;
  margin: 0;
}

.about-sdgs__symbol img {
  display: block;
  width: 100%;
  height: auto;
}

.about-sdgs__intro-text {
  flex: 1;
  min-width: 0;
}

.about-sdgs__intro-text p {
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 2;
}

.about-sdgs__intro-text p:last-child {
  margin-bottom: 0;
}

.about-sdgs__activities {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.about-sdgs__activity {
  min-width: 0;
  padding: 24px 30px 0;
}

.about-sdgs__activity:first-child {
  padding-left: 0;
}

.about-sdgs__activity:last-child {
  padding-right: 0;
}

.about-sdgs__activity + .about-sdgs__activity {
  border-left: 1px solid #CCCCCC;
}

.about-sdgs__activity-title {
  min-height: 72px;
  margin-bottom: 22px;
  color: #025AA1;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.45;
}

.about-sdgs__goals {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}

.about-sdgs__goals img {
  display: block;
  width: min(110px, calc((100% - 28px) / 3));
  max-width: 110px;
  height: auto;
}

.about-sdgs__activity-text {
  margin: 0;
  font-size: 16px;
  line-height: 2;
}

@media (max-width: 768px) {
  .about-sdgs {
    padding: 0 0 60px;
  }

  .about-sdgs__intro {
    flex-direction: column;
    align-items: stretch;
    gap: 30px;
    margin: 38px 0 48px;
  }

  .about-sdgs__symbol {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .about-sdgs__intro-text p {
    font-size: 16px;
    line-height: 1.9;
  }

  .about-sdgs__activities {
    grid-template-columns: 1fr;
  }

  .about-sdgs__activity,
  .about-sdgs__activity:first-child,
  .about-sdgs__activity:last-child {
    padding: 34px 0;
  }

  .about-sdgs__activity:first-child {
    padding-top: 0;
  }

  .about-sdgs__activity:last-child {
    padding-bottom: 0;
  }

  .about-sdgs__activity + .about-sdgs__activity {
    border-top: 1px solid #CCCCCC;
    border-left: none;
  }

  .about-sdgs__activity-title {
    min-height: 0;
    margin-bottom: 18px;
    font-size: 20px;
    line-height: 1.5;
  }

  .about-sdgs__goals {
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
  }

  .about-sdgs__goals img {
    width: min(110px, calc((100% - 24px) / 3));
  }

  .about-sdgs__activity-text {
    line-height: 1.9;
  }
}


/* ===================================================================
  アクセスマップ
=================================================================== */

.about-access__map {
  width: 100%;
  height: 400px;
  margin: 60px 0 70px;
  overflow: hidden;
}

.about-access__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.about-access__detail {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  align-items: start;
  gap: 60px;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.about-access__route-image {
  width: 100%;
  max-width: 420px;
  margin: 0;
  border: 1px solid #CCC;
}

.about-access__route-image img {
  display: block;
  width: 100%;
  height: auto;
}

.about-access__guidance {
  min-width: 0;
}

.about-access__group + .about-access__group {
  margin-top: 26px;
}

.about-access__title {
  margin-bottom: 8px;
  color: var(--color-text);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
}

.about-access__route + .about-access__route {
  margin-top: 12px;
}

.about-access__route-heading,
.about-access__group p {
  margin-bottom: 0;
  font-size: 16px;
  line-height: 1.9;
}

.about-access__route-heading {
  font-weight: 400;
}

@media (max-width: 768px) {
  .about-access {
    padding: 0;
  }

  .about-access__map {
    height: 360px;
    margin: 38px 0 45px;
  }

  .about-access__detail {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-access__route-image {
    max-width: 400px;
    margin: 0 auto;
    order: 2;
  }

  .about-access__guidance {
    order: 1;
  }

  .about-access__title {
    font-size: 18px;
  }

  .about-access__route-heading,
  .about-access__group p {
    line-height: 1.9;
  }
}
