.container--full {
  width: 100%;
  margin: 0 auto;
}

/* ======================================
   Common Section Heading
====================================== */
.section-heading {
  margin-bottom: 42px;
}

.section-heading__eyebrow {
  font-family: "Poiret One", sans-serif;
  margin-bottom: 60px;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: #fff;
}

.section-heading__title {
  font-size: 45px;
  line-height: 1.6;
  font-weight: 400;
  color: #fff;
}

/* ======================================
   Hero
====================================== */
.company-hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
}

.company-hero__bg {
  position: absolute;
  inset: 0;
}

.company-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* filter: grayscale(100%); */
}

.company-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}
.works-page .company-hero__bg::after,
.news-page .company-hero__bg::after,
.contact-page .company-hero__bg::after {
  background: none;
}

.company-hero__inner {
  position: relative;
  z-index: 1;
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.company-hero__title {
  font-family: "Poiret One", sans-serif;
  font-size: 60px;
  line-height: 72px;
  font-weight: 300;
  color: #fff;
  letter-spacing: 0.01em;
  text-align: center;
  letter-spacing: 0.1em;
}

/* ======================================
   Message
====================================== */
.message-section {
  padding: 120px 0;
  background-color: #0f0f0f;
}
.message-section .section-heading__title {
  font-weight: 400;
  letter-spacing: 4px;
}

.message-section__inner {
  display: block;
}

/* 写真を左に回り込ませ、本文が写真の下まで回り込むレイアウト */
.message-section__inner::after {
  content: "";
  display: block;
  clear: both;
}

.message-section__image {
  float: left;
  width: 42%;
  max-width: 520px;
  margin: 0 60px 40px 0;
}

.message-section__image img {
  width: 100%;
  display: block;
}

/* 本文途中の写真はスマホのみ表示 */
.message-section__image--sp {
  display: none;
}

/* 写真差し込みのため分割した本文の間は、PCでは詰めて1段落に見せる */
.message-section__text p:first-child {
  margin-bottom: 0;
}

.message-section__content {
  padding-top: 60px;
  min-width: 0;
}

/* 署名は回り込みを解除 */
.message-section__signature {
  clear: both;
}
.message-section__content .section-heading__title {
  color: #fff;
  font-size: 45px;
  line-height: 1.6;
  margin-bottom: 60px;
  letter-spacing: 0.18em;
  font-weight: 100;
}

.message-section__text p {
  font-size: 15px;
  color: #fff;
  line-height: 2;
  margin-bottom: 60px;
}

.message-section__signature {
  width: fit-content;
  margin: 0 0 0 auto;
  color: #fff;
}

.message-section__signature p {
  text-align: left;
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.8;
}

/* ======================================
   Company overview
====================================== */
#company {
  background-color: #333;
}
#company .section-heading__eyebrow {
  margin-bottom: 30px;
  color: #fff;
  letter-spacing: 0.1em;
}
#company .section-heading__title {
  color: #fff;
  font-size: 30px;
  margin-bottom: 60px;
  font-weight: 400;
  letter-spacing: 0.18em;
  font-weight: 100;
}
.company-overview {
  padding: 120px 0;
  border-top: 1px solid #666;
}

.company-table {
  width: 100%;
  border-top: 1px solid #666;
}

.company-table__row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  border-bottom: 1px solid #666;
  min-height: 88px;
  align-items: center;
}

.company-table__head,
.company-table__body {
  padding: 30px 0;
}

.company-table__head {
  align-self: start;
  font-size: 15px;
  line-height: 2;
  color: #fff;
  font-weight: bold;
}

.company-table__body {
  font-size: 15px;
  line-height: 2;
  color: #fff;
}

/* ======================================
   Access
====================================== */
.access-section {
  padding: 120px 0;
  background-color: #0f0f0f;
  overflow-x: clip;
}
.access-section .section-heading__eyebrow {
  margin-bottom: 30px;
}
.access-section .section-heading__title {
  font-size: 30px;
  margin-bottom: 60px;
  color: #fff;
  font-weight: 100;
  letter-spacing: 0.18em;
}
.access-section__inner {
  margin-bottom: 120px;
}
.access-block {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: start;
  border-top: 1px solid #666;
  padding-top: 30px;
  margin-bottom: 60px;
}
.access-block__title {
  margin-bottom: 0;
  font-size: 16px;
  line-height: 30px;
  font-weight: 700;
  color: #fff;
}

.access-block p {
  font-size: 15px;
  line-height: 30px;
  color: #fff;
}

/* 地図だけコンテナ幅を抜けて画面横幅いっぱいに */
.access-section__map {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.access-section__map iframe {
  width: 100%;
  height: 400px;
  display: block;
}

/* ======================================
   Tablet
====================================== */
@media screen and (max-width: 1024px) {
  .section-heading__eyebrow {
    margin-bottom: 30px;
  }
  .section-heading {
    margin-bottom: 32px;
  }

  .company-hero {
    min-height: 520px;
  }

  .company-hero__inner {
    min-height: 520px;
  }

  .message-section {
    padding: 72px 0 84px;
  }

  .message-section__image {
    width: 40%;
    max-width: 420px;
    margin: 0 40px 32px 0;
  }

  .message-section__text p {
    line-height: 2;
  }

  .message-section__signature {
    margin-top: 42px;
  }

  .company-overview,
  .history-section,
  .group-section,
  .access-section {
    padding: 68px 0 76px;
  }

  .company-table__row {
    grid-template-columns: 150px minmax(0, 1fr);
    min-height: 78px;
  }

  .company-table__body {
    font-size: 13px;
    line-height: 1.8;
  }

  .history-item {
    grid-template-columns: 88px 30px minmax(0, 1fr);
    column-gap: 14px;
    padding-bottom: 34px;
  }

  .history-item__date {
    font-size: 18px;
  }

  .history-item__dot {
    margin-top: 8px;
  }

  .group-grid {
    gap: 18px;
  }

  .group-card {
    padding: 28px 22px;
  }

  .access-block {
    grid-template-columns: 150px minmax(0, 1fr);
  }
}

/* ======================================
   Mobile / Tablet Narrow
====================================== */
@media screen and (max-width: 767px) {
  .message-section {
    padding: 60px 0;
  }

  /* 見出し → 本文 → 写真（本文の途中） → 本文 → 署名 の縦1列 */
  .message-section__image {
    display: none;
  }
  .message-section__image.message-section__image--sp {
    display: block;
    float: none;
    width: 100%;
    max-width: none;
    margin: 0 0 30px;
  }
  .message-section__content {
    padding-top: 0;
  }
  .message-section .section-heading {
    margin-bottom: 30px;
  }
  .message-section__signature {
    margin-top: 0;
  }

  .message-section .section-heading__eyebrow {
    margin-bottom: 20px;
    font-size: 10px;
  }
  .message-section__content .section-heading__title {
    font-size: 22.5px;
    line-height: 1.6;
    margin-bottom: 0;
    letter-spacing: 0.1em;
  }
  .message-section__text p {
    font-size: 13px;
    line-height: 2;
    margin-bottom: 30px;
  }
  .message-section__text p:first-child {
    margin-bottom: 30px;
  }
  .message-section__signature p {
    font-size: 13px;
    margin-bottom: 10px;
  }
  .message-section__signature img {
    max-width: 160px;
  }

  .company-overview {
    padding: 60px 0;
  }
  #company .section-heading__title {
    font-size: 22.5px;
    margin-bottom: 30px;
  }

  .company-table__row {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    border-bottom: 1px solid #666;
    min-height: auto;
    align-items: center;
  }

  .company-table__head,
  .company-table__body {
    font-size: 12px;
    padding: 15px 0;
  }
  .company-table__body {
    line-height: 2;
  }

  .access-section {
    padding: 60px 0;
  }
  .access-section .section-heading__eyebrow {
    margin-bottom: 30px;
  }
  .access-section .section-heading__title {
    font-size: 22.5px;
    margin-bottom: 30px;
  }
  .access-section__inner {
    margin-bottom: 60px;
  }
  .access-block {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    align-items: start;
    border-top: 1px solid #666;
    padding-top: 30px;
    margin-bottom: 60px;
  }
  .access-block__title {
    font-size: 12px;
    line-height: 2;
  }

  .access-block p {
    font-size: 12px;
    line-height: 2;
  }
}