@charset "UTF-8";
/* =========================================================
 * 会社情報ページ(/corporation/)だけのCSS
 * corporation_sub.css(土台)・base.css(事業内容ページと同じ部品)の後に読み込みます。
 * PC: 960px以上 / SP: 959px以下(事業内容・作業料金・採用ページと同じ区切り)
 * 色:#182987(紺)/ #0093DD(青)/ #ECEEEF(グレー)
 * 会社概要の表は、採用ページの募集要項(requirements-section)と同じ見た目です。
 * ======================================================= */

/* ---------- 見出しと各まとまりの間隔 ---------- */
.corp-page .title-block {
  margin-bottom: 40px;
}
.corp-page .biz-lead + .biz-section {
  padding-top: 60px;
}

/* ---------- 沿革 ---------- */
.corp-history-list {
  position: relative;
  max-width: 1000px;
  list-style: none;
}
/* 縦の線 */
.corp-history-list::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 160px;
  width: 2px;
  background: #d5d8da;
}
.corp-history-list > li {
  position: relative;
  display: flex;
  align-items: center; /* 内容が2行・3行になっても、年月を内容の高さの真ん中にそろえる */
  padding: 18px 0;
  border-bottom: 1px solid #ECEEEF;
}
.corp-history-list > li:last-child {
  border-bottom: none;
}
/* 年月の点(行の高さの真ん中) */
.corp-history-list > li::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 155px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(90deg, #182B89 0%, #0093DD 100%);
}
.corp-history-date {
  flex: 0 0 160px;
  padding-right: 30px;
  font-family: "Oswald", sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.2;
  color: #182987;
  letter-spacing: 0.04em;
}
.corp-history-text {
  flex: 1;
  padding-left: 40px;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.7;
}

/* ---------- 会社概要(募集要項と同じ表) ---------- */
.corp-overview-list {
  list-style: none;
  border-top: 1px solid #CCC;
}
.corp-overview-list > li {
  border-bottom: 1px solid #CCC;
}
.corp-overview-list > li > dl {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  color: #333;
}
.corp-overview-list > li > dl > dt {
  display: flex;
  align-items: center;
  width: 250px;
  padding: 0 20px;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.2;
  background: #ECEEEF;
}
.corp-overview-list > li > dl > dd {
  flex: 1;
  padding: 30px 20px;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.6;
}

/* ---------- アクセス(拠点カードを1段ずつ・事業内容のカードと同じ形) ---------- */
.corp-offices {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.corp-office {
  display: flex;
  align-items: stretch;
  background: #ECEEEF;
  clip-path: polygon(0% 0%, 100% 0, 100% calc(100% - 65px), calc(100% - 25px) 100%, 0% 100%);
}
.corp-office-body {
  flex: 0 0 42%;
  padding: 40px 40px 60px;
}
.corp-office.no-map .corp-office-body {
  flex: 1;
}
.corp-office-name {
  position: relative;
  margin-bottom: 20px;
  padding-left: 45px;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.4;
  color: #222;
}
.corp-office-name::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 35px;
  height: 22px;
  background: url(images/title_bg.svg) no-repeat center center/contain;
  transform: translateY(-50%);
}
.corp-office-address {
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.7;
}
.corp-office-zip {
  display: block;
  font-size: 1.4rem;
  color: #5c6270;
}
.corp-office-phones {
  margin-top: 20px;
  border-top: 1px solid #d5d8da;
}
.corp-office-phones > div {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #d5d8da;
}
.corp-office-phones dt {
  flex: 0 0 8.5em;
  font-size: 1.4rem;
  font-weight: 500;
  color: #5c6270;
}
.corp-office-phones dd {
  flex: 1;
  font-family: "Oswald", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  color: #182987;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
.corp-office-phones dd a {
  color: inherit;
  text-decoration: none;
}
.corp-office-map {
  flex: 1;
  min-height: 340px;
  background: #dfe2e4;
}
.corp-office-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
}

/*PC*/
@media screen and (min-width: 960px) {
  .corp-office-phones dd a:hover {
    opacity: 0.7;
  }
}
/*SP*/
@media screen and (max-width: 959px) {
  .corp-page .title-block {
    margin-bottom: 30px;
  }
  .corp-history-list::before {
    left: 5px;
  }
  /* スマホは「年月が上・内容が下」の縦並び。点は年月の横(真ん中ぞろえはPCだけ) */
  .corp-history-list > li {
    flex-direction: column;
    align-items: stretch;
    padding: 14px 0 14px 28px;
  }
  .corp-history-list > li::before {
    top: 20px;
    left: 0;
    transform: none;
  }
  .corp-history-date {
    flex: none;
    padding: 0 0 4px;
    font-size: 1.8rem;
  }
  .corp-history-text {
    padding-left: 0;
    font-size: 1.5rem;
  }
  .corp-overview-list > li > dl {
    flex-direction: column;
  }
  .corp-overview-list > li > dl > dt {
    width: 100%;
    padding: 12px 15px;
    font-size: 1.5rem;
  }
  .corp-overview-list > li > dl > dd {
    padding: 15px;
    font-size: 1.5rem;
  }
  .corp-office {
    flex-direction: column;
    clip-path: polygon(0% 0%, 100% 0, 100% calc(100% - 45px), calc(100% - 20px) 100%, 0% 100%);
  }
  .corp-office-body {
    flex: none;
    padding: 30px 20px 25px;
  }
  .corp-office-name {
    padding-left: 38px;
    font-size: 1.8rem;
  }
  .corp-office-name::before {
    width: 28px;
    height: 18px;
  }
  .corp-office-address {
    font-size: 1.5rem;
  }
  .corp-office-phones dt {
    flex-basis: 7.5em;
    font-size: 1.3rem;
  }
  .corp-office-phones dd {
    font-size: 1.8rem;
  }
  .corp-office-map,
  .corp-office-map iframe {
    min-height: 260px;
  }
  .corp-office-map {
    margin-bottom: 45px; /* 右下の斜めの切り欠きに地図がかからないように */
  }
  .corp-office.no-map .corp-office-body {
    padding-bottom: 60px;
  }
}
