@charset "UTF-8";
/* ================================================
   企業情報（COMPANY）ページ専用スタイル
   対象テンプレート: page-company.php ほか #COMPANY 配下の各ページ
   ※このファイルは直接編集します（SCSSからは生成しません）
   ================================================ */

/* ----------------------------
    カテゴリ（COMPANY共通のサイドバー）
---------------------------- */
@media only screen and (max-width: 767px) {
  #COMPANY .index__outer {
    padding-top: 6rem;
  }
  #COMPANY .index__outer:has(.sec--ceo) {
    padding-top: 8rem;
  }
}
#COMPANY .index {
  flex-shrink: 0;
}
#COMPANY .index__title {
  font-size: 1.6rem;
  line-height: 1;
  margin-bottom: 1.2rem;
}
#COMPANY .index .list--index__link {
  position: relative;
  padding: 2rem 3.4rem 2rem 2rem;
  font-size: 1.6rem;
  line-height: 1;
  transition: color 0.3s ease, background 0.3s ease;
}
#COMPANY .index .list--index__link::after {
  content: "";
  width: 0.7rem;
  height: 1.3rem;
  position: absolute;
  top: 50%;
  right: 2rem;
  transform: translateY(-50%);
  background: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 13'%3E%3Cpath d='M1 1.2 5.8 6.5 1 11.8' fill='none' stroke='%232e2e2e' stroke-width='1.5'/%3E%3C/svg%3E") center center/contain no-repeat;
}
#COMPANY .index .list--index__link.is--current::after,
#COMPANY .index .list--index__link:hover::after {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 13'%3E%3Cpath d='M1 1.2 5.8 6.5 1 11.8' fill='none' stroke='%230054a7' stroke-width='1.5'/%3E%3C/svg%3E");
}
#COMPANY .index .list--index__link:hover {
  color: #0054a7;
}

/* ----------------------------
    インデックス
---------------------------- */
#COMPANY .sec--index {
  width: calc(100% - 26.4rem);
  padding-top: 0;
  padding-bottom: 0;
}
@media only screen and (max-width: 767px) {
  #COMPANY .sec--index {
    width: 100%;
    padding-bottom: 4rem;
  }
}
#COMPANY .list--company {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem 2rem;
}
@media only screen and (max-width: 767px) {
  #COMPANY .list--company {
    grid-template-columns: 1fr;
    gap: 3.2rem;
  }
}
#COMPANY .list--company__link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 25rem;
  padding: 2rem;
  border: 1px solid #898989;
  text-align: center;
  transition: border-color 0.3s ease, color 0.3s ease;
}
@media only screen and (max-width: 767px) {
  #COMPANY .list--company__link {
    min-height: 22.2rem;
  }
}
#COMPANY .list--company__link:hover {
  border-color: #187FC4;
  color: #0054a7;
}
#COMPANY .list--company__link .text {
  font-size: 2.4rem;
  line-height: 1.4166666667;
}
@media only screen and (max-width: 767px) {
  #COMPANY .list--company__link .text {
    font-size: 2.8rem;
  }
}
#COMPANY .list--company__link .text::after {
  content: "";
  width: 1.2rem;
  height: 1.2rem;
  display: inline-block;
  background: #187FC4;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  margin-left: 1.2rem;
}
@media only screen and (max-width: 767px) {
  #COMPANY .list--company__link .text::after {
    width: 1.4rem;
    height: 1.4rem;
  }
}
#COMPANY .link {
    width: -moz-max-content;
    width: max-content;
    border: 1px solid #898989;
    letter-spacing: -0.05em;
    padding: 1.7rem 2.3rem 1.3rem;
    line-height: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.3rem;
    margin: 5rem auto 0;
}
#COMPANY .link::before {
    content: "";
    width: 1.4rem;
    height: 1.4rem;
    display: block;
    background: #187FC4;
    clip-path: polygon(100% 0, 0 50%, 100% 100%);
    margin-bottom: 0.3rem;
}
#COMPANY .link::after{
  content: none;
}
/* ----------------------------
    代表挨拶
---------------------------- */
@media only screen and (max-width: 767px) {
  #COMPANY .sec--ceo {
    width: 100%;
  }
}
#COMPANY .sec--ceo .sec__title__outer {
  width: 100%;
  margin-bottom: 0;
  text-align: left;
  gap: 4rem;
  align-items: center;
  justify-content: flex-start;
}
@media only screen and (max-width: 767px) {
  #COMPANY .sec--ceo .sec__title__outer {
    gap: 3.2rem;
    align-items: stretch;
  }
}
#COMPANY .sec--ceo .sec__title__outer > img {
  width: 37.4rem;
  flex-shrink: 0;
}
@media only screen and (max-width: 767px) {
  #COMPANY .sec--ceo .sec__title__outer > img {
    width: 70%;
    margin: auto;
  }
}
#COMPANY .sec--ceo .sec__title .title {
  font-size: 2.3rem;
  line-height: 1.65;
  color: #0054a7;
}
@media only screen and (max-width: 767px) {
  #COMPANY .sec--ceo .sec__title .title {
    line-height: 1.52;
  }
}
#COMPANY .sec--ceo .sec__title .name {
  font-size: 2.4rem;
  line-height: 1.6666666667;
  margin-top: 2.7rem;
}
@media only screen and (max-width: 767px) {
  #COMPANY .sec--ceo .sec__title .name {
    font-size: 2rem;
    line-height: 1.625;
    margin-top: 1.2rem;
  }
}
#COMPANY .sec--ceo .sec__text {
  margin-top: 9.2rem;
}
@media only screen and (max-width: 767px) {
  #COMPANY .sec--ceo .sec__text p + p {
    margin-top: 2.6rem;
  }
}

/* ----------------------------
    企業理念
---------------------------- */
#COMPANY .sec--vision {
  width: calc(100% - 26.4rem);
  padding-top: 0;
}
@media only screen and (max-width: 767px) {
  #COMPANY .sec--vision {
    width: 100%;
  }
}
#COMPANY .sec--vision__item {
  display: flex;
  align-items: flex-start;
  padding: 5.9rem 0;
}
@media only screen and (max-width: 767px) {
  #COMPANY .sec--vision__item {
    flex-direction: column;
    align-items: stretch;
    gap: 2rem;
    padding: 5.5rem 0 5.2rem;
  }
}
#COMPANY .sec--vision__item:first-child {
  padding-top: 0;
  padding-bottom: 3.8rem;
}
@media only screen and (max-width: 767px) {
  #COMPANY .sec--vision__item:first-child {
    padding-bottom: 4.6rem;
  }
}
#COMPANY .sec--vision__item:last-child {
  padding-bottom: 2.5rem;
}
@media only screen and (max-width: 767px) {
  #COMPANY .sec--vision__item:last-child {
    padding-bottom: 3.8rem;
  }
}
#COMPANY .sec--vision__item + .sec--vision__item {
  border-top: 1px solid #DCDDDD;
}
#COMPANY .sec--vision__head {
  width: 20rem;
  flex-shrink: 0;
  font-size: 3.4rem;
  line-height: 1;
  color: #0054a7;
}
@media only screen and (max-width: 767px) {
  #COMPANY .sec--vision__head {
    width: auto;
    font-size: 2.7rem;
  }
}
#COMPANY .sec--vision__text {
  letter-spacing: -0.05em;
}

/* ----------------------------
    会社概要
---------------------------- */
#COMPANY .sec--about {
  width: calc(100% - 26.4rem);
  padding-top: 0;
}
@media only screen and (max-width: 767px) {
  #COMPANY .sec--about {
    width: 100%;
  }
}
#COMPANY .table--about th,
#COMPANY .table--about td {
  border: 1px solid #DCDDDD;
  padding: 1.45rem 2.4rem;
  vertical-align: top;
  text-align: left;
  font-weight: 400;
  letter-spacing: -0.05em;
}
#COMPANY .table--about th {
  width: 30rem;
  background: #F8F8F8;
  color: #0054a7;
  font-weight: 500;
}
@media only screen and (max-width: 767px) {
  #COMPANY .table--about,
  #COMPANY .table--about tbody,
  #COMPANY .table--about tr,
  #COMPANY .table--about th,
  #COMPANY .table--about td {
    display: block;
    width: auto;
  }
  #COMPANY .table--about th,
  #COMPANY .table--about td {
    padding: 1.65rem 2.4rem;
    border-top: none;
    letter-spacing: normal;
  }
  #COMPANY .table--about tr:first-child th {
    border-top: 1px solid #DCDDDD;
  }
}

/* ----------------------------
    拠点
    ※このページは構成案（ワイヤーフレーム）のみのため、
      文字サイズ・罫線は他のCOMPANYページの体裁に合わせています
---------------------------- */
#COMPANY .sec--access {
  width: calc(100% - 26.4rem);
  padding-top: 0;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 8rem 4rem;
  align-content: start;
}
#COMPANY .sec--group {
  width: calc(100% - 26.4rem);
  padding-top: 0;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 8rem 4rem;
  align-content: start;
}
@media only screen and (max-width: 767px) {
  #COMPANY .sec--access,#COMPANY .sec--group {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 5rem;
  }
}
#COMPANY .access--item__name {
  display: flex;
  align-items: center;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.3;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid #DCDDDD;
  height: 3.5rem;
}
#COMPANY .access--item__icon {
  width: 2.4rem;
  height: 2.4rem;
  flex-shrink: 0;
  margin-left: 1.8rem;
}
#COMPANY .access--item__list {
  margin-top: 1.9rem;
}
#COMPANY .access--item__head {
  font-weight: 700;
  color: #0054A7;
}
#COMPANY .access--item__text {
  letter-spacing: -0.05em;
}
#COMPANY .access--item__text + .access--item__head {
  margin-top: 1.2rem;
}

/* ----------------------------
    沿革
---------------------------- */
#COMPANY .sec--history {
  width: calc(100% - 26.4rem);
  padding-top: 0;
}
@media only screen and (max-width: 767px) {
  #COMPANY .sec--history {
    width: 100%;
  }
}
#COMPANY .sec--history__item {
  display: flex;
  padding: 3.2rem 0;
  border-bottom: 1px solid #DCDDDD;
}
@media only screen and (max-width: 767px) {
  #COMPANY .sec--history__item {
    flex-direction: column;
    padding: 5.2rem 0;
  }
}
#COMPANY .sec--history__item:first-child {
  padding-top: 0;
}
#COMPANY .sec--history__item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}
#COMPANY .sec--history__date {
  width: 17.5rem;
  flex-shrink: 0;
  font-size: 2.4rem;
  line-height: 1.25;
  color: #0054a7;
}
@media only screen and (max-width: 767px) {
  #COMPANY .sec--history__date {
    width: auto;
    margin-bottom: 2.4rem;
  }
}
#COMPANY .sec--history__text {
  letter-spacing: -0.05em;
}
@media only screen and (max-width: 767px) {
  #COMPANY .sec--history__text {
    letter-spacing: normal;
  }
}
#COMPANY .sec--history__month {
  display: block;
  color: #0054a7;
}
