@charset "UTF-8";

/* ========================================
   会社概要ページ PC
======================================== */

.company-page,
.company-page *,
.company-page *::before,
.company-page *::after {
  box-sizing: border-box;
}

.company-page {
  width: 100%;
  overflow: hidden;
  color: #000;
  background-color: #fff;
}

.company-page img {
  display: block;
  max-width: 100%;
  height: auto;
}

.company-page figure,
.company-page dl,
.company-page dt,
.company-page dd,
.company-page p {
  margin: 0;
}

.company-container {
  width: calc(100% - 40px);
  max-width: 1280px;
  margin-right: auto;
  margin-left: auto;
}

/* ========================================
   メインビジュアル
======================================== */

.company-mv {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 1600 / 653;
  overflow: hidden;
  background-color: #000;
}

.company-mv__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.company-mv__inner {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.company-mv__text {
  position: absolute;
  top: calc(157 / 653 * 100%);
  left: 10%;
  width: 662px;
  margin: 0;
  color: #fff;
  font-family: "Noto Serif JP", serif;
  font-size: 32px;
  font-style: normal;
  font-weight: 600;
  line-height: 50px;
  letter-spacing: 3.84px;
  transform: none;
}

/* ========================================
   共通見出し
======================================== */

.company-section-title {
  position: relative;
  margin: 0;
  padding-left: 21px;
  color: #000;
  font-family: Roboto, "Noto Sans JP", sans-serif;
  font-size: 36px;
  font-style: normal;
  font-weight: 500;
  line-height: 48px;
}

.company-section-title::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 10px;
  height: 48px;
  background-color: #011b9d;
}

/* ========================================
   会社概要
======================================== */

.company-profile {
  padding-top: 70px;
}

.company-profile__content {
  display: grid;
  grid-template-columns: 611px 590px;
  column-gap: 79px;
  align-items: start;
  margin-top: 52px;
}

/* 会社情報 */

.company-profile__information {
  width: 611px;
}

.company-profile__list {
  width: 100%;
  border-top: 1px solid #d5d5d5;
}

.company-profile__row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  width: 100%;
  min-height: 61px;
  border-bottom: 1px solid #d5d5d5;
}

.company-profile__row dt,
.company-profile__row dd {
  padding-top: 15px;
  padding-bottom: 15px;
  color: #000;
  font-family: Roboto, "Noto Sans JP", sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 30px;
}

.company-profile__row dt {
  padding-left: 3px;
  white-space: pre;
}

.company-profile__row dd {
  min-width: 0;
  overflow-wrap: normal;
  word-break: keep-all;
}

.company-profile__address {
  margin-left: 10px;
  white-space: nowrap;
}

.company-profile__row--business {
  min-height: 128px;
}

.company-profile__row--business dt,
.company-profile__row--business dd {
  padding-top: 13px;
  padding-bottom: 13px;
}

.company-profile__row a {
  color: #000;
  text-decoration: none;
}

.company-profile__row a:hover {
  text-decoration: underline;
}

/* 会社紹介動画 */

.company-profile__video {
  width: 590px;
  padding-top: 16px;
}

.company-profile__video-frame {
  position: relative;
  width: 590px;
  height: 333px;
  overflow: hidden;
  background-color: #eee;
}

.company-profile__video-frame iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.company-profile__video-url:hover {
  text-decoration: underline;
}

/* ========================================
   社屋写真
======================================== */

.company-building {
  display: grid;
  grid-template-columns: repeat(2, 622px);
  column-gap: 34px;
  width: 1278px;
  margin-top: 94px;
}

.company-building__item {
  width: 622px;
  height: 466.5px;
  overflow: hidden;
}

.company-building__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========================================
   ACCESS
======================================== */

.company-access {
  padding-top: 124.5px;
  padding-bottom: 160px;
  background-color: #fff;
}

.company-access__container {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
}

/* ACCESS見出しだけの位置 */
.company-access .company-section-title {
  margin-left: 180px;
}

/* 地図 */
.company-access .company-access__map {
  width: 971px;
  height: 728px;
  margin: 62px auto 0;
  overflow: hidden;
}

.company-access__map img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ========================================
   1280px未満はSP実装まで横幅を維持
======================================== */

@media screen and (min-width: 768px) and (max-width: 1319px) {
  .company-profile,
  .company-access {
    min-width: 1320px;
  }
}

/* ========================================
   会社概要ページ SP
======================================== */

@media screen and (max-width: 767px) {
  /* ========================================
     共通
  ======================================== */

  .company-page {
    width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .company-container {
    width: calc(100% - 34px);
    max-width: none;
    margin-right: auto;
    margin-left: auto;
  }

  /* ========================================
     メインビジュアル
  ======================================== */

  .company-mv {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 394 / 592;
    overflow: hidden;
  }

  .company-mv__picture {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
  }

  .company-mv__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .company-mv__inner {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    max-width: none;
    height: 100%;
    margin: 0;
  }

  .company-mv__text {
    position: absolute;
    top: auto;
    right: 20px;
    bottom: 15px;
    left: 24px;
    width: 370px;
    margin: 0;
    color: #fff;
    font-family: "Noto Serif JP", serif;
    font-size: 18.133px;
    font-style: normal;
    font-weight: 600;
    line-height: 34px;
    letter-spacing: 2.176px;
    transform: none;
  }

  /* ========================================
     共通見出し
  ======================================== */

  .company-section-title {
    padding-left: 18px;
    font-size: 24px;
    font-weight: 500;
    line-height: 28px;
  }

  .company-section-title::before {
    top: 0;
    width: 6px;
    height: 28px;
    transform: none;
  }

  /* ========================================
     会社概要
  ======================================== */

  .company-profile {
    padding-top: 40px;
  }

  .company-profile__content {
    display: block;
    margin-top: 29px;
  }

  /* 会社情報 */

  .company-profile__information {
    width: 100%;
  }

  .company-profile__list {
    width: 100%;
  }

  .company-profile__row {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    width: 100%;
    min-height: 38px;
  }

  .company-profile__row dt,
  .company-profile__row dd {
    padding-top: 9px;
    padding-bottom: 9px;
    font-size: 11.793px;
    font-weight: 500;
    line-height: 17.69px;
  }

  .company-profile__row dt {
    padding-left: 2px;
    white-space: nowrap;
  }

  .company-profile__row dd {
    min-width: 0;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .company-profile__address {
    display: block;
    margin-left: 0;
    white-space: normal;
  }

  .company-profile__row--business {
    min-height: 76px;
  }

  .company-profile__row--business dt,
  .company-profile__row--business dd {
    padding-top: 9px;
    padding-bottom: 9px;
  }

  /* 会社紹介動画 */

  .company-profile__video {
    width: calc(100% + 19px);
    margin-top: 29px;
    margin-left: -9.5px;
    padding-top: 0;
  }

  .company-profile__video-frame {
    width: 100%;
    height: auto;
    aspect-ratio: 375 / 217;
  }

  .company-profile__video-url {
    margin-top: 9px;
    font-size: 12px;
    line-height: 18px;
  }

  /* ========================================
     社屋写真
  ======================================== */

  .company-building {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 16px;
    width: calc(100% + 19px);
    margin-top: 35px;
    margin-left: -9.5px;
  }

  .company-building__item {
    width: 100%;
    height: auto;
    aspect-ratio: 375 / 281;
  }

  .company-building__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* ========================================
     ACCESS
  ======================================== */

  .company-access {
    padding-top: 59px;
    padding-bottom: 70px;
  }

  .company-access__container {
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .company-access .company-section-title {
    margin-left: 17px;
  }

  .company-access .company-access__map {
    width: calc(100% - 14px);
    max-width: 380px;
    height: auto;
    aspect-ratio: 380 / 285;
    margin: 21px auto 0;
  }

  .company-access__map img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}
