@charset "utf-8";
/*  company_common.css
    企業情報グループ（/company/ 配下）で共有するパーツ
---------------------------------------------- */

/*  pc
---------------------------------------------- */
:root {
  --paragraph-gap: 30px;
}

/*-------- arrow --------*/
/* 白円と矢印を組み合わせた1パーツ。ボタン側では right（または left）だけ指定する */
.arrow-right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 23px;
  aspect-ratio: 1/1;
  background: #fff;
  border-radius: 50%;
}
.arrow-right::after {
  content: "";
  width: 6px;
  height: 6px;
  border-top: solid 1px #385874;
  border-right: solid 1px #385874;
  /* 三角形の重心が要素の中心より右に来るため、その分左に寄せる */
  transform: translateX(-29%) rotate(45deg);
}

/*-------- button --------*/
/* ボタン・メニューの文字 */
.btn-txt {
  font-size: 1.8rem;
}
.btn-base {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 610px;
  height: 85px;
  margin: 0 auto;
  background: #385874;
  color: #fff !important;
  text-align: center;
  line-height: 1.3;
  transition: all 0.3s;
}
.btn-base:hover {
  background: #2d4a63;
}
.btn-base .arrow-right {
  right: 30px;
}

/*-------- heading --------*/
/* 英語タイトル（data-en 属性の値を表示） */
.head-en::before {
  content: attr(data-en);
  display: block;
  color: #385874;
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: 6rem;
  line-height: 1.4;
}
/* 日本語タイトル */
.head-ttl {
  display: block;
  margin-bottom: 35px;
  font-size: 3.6rem;
  line-height: 1.6;
}
/* サブタイトル */
.head-sub {
  font-size: 2.8rem;
  line-height: 1.6;
}
p.head-sub {
  margin-top: 35px;
  line-height: 1.9;
}

/* ラベル・リード文 */
.label-txt {
  font-size: 2rem;
  line-height: 1.6;
}

/*-------- text --------*/
.body-txt {
  margin-top: var(--paragraph-gap);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.6rem;
  line-height: 1.9;
}
/* 共通CSSの p セレクタが継承値を上書きするため、囲みに .body-txt を付けた場合の中の p を揃える */
.body-txt p {
  font-size: inherit;
}

/*-------- section --------*/
.company-sec {
  padding: 140px 0;
}

/*-------- page-list --------*/
.page-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px 27px;
}
.page-list_item {
  width: calc((100% - 81px) / 4);
  transition: all 0.3s;
}
.page-list_item:hover {
  opacity: 0.8;
}
.page-list_item-img {
  height: auto;
  aspect-ratio: 56/31;
}
.page-list_item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-list_item-txt {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50px;
  background: #385874;
  color: #fff;
  text-align: center;
  line-height: 1.4;
}
.page-list_item-txt .arrow-right {
  right: 20px;
}

/*-------- aside-contact --------*/
.lower-aside .aside-link_wrapper {
  gap: 15px;
}
.lower-aside .aside-tel_wrapper {
  display: grid;
}
.lower-aside .aside-tel_dept {
  text-align: center;
  font-size: 2.5rem;
}
.lower-aside .aside-tel {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  font-family: "Noto Serif JP", serif;
  font-size: 5.6rem;
  line-height: 1;
}
.lower-aside .aside-tel::before {
  content: "";
  align-self: flex-end;
  margin-bottom: 4px;
  width: 62px;
  height: 40px;
  background: url(../img/owner/icon_tel02.svg) no-repeat center / contain;
}
.lower-aside .aside-tel_num {
  color: #fff;
}
.lower-aside .aside-tel_open {
  margin-top: 0;
  text-align: center;
}

/*  sp
---------------------------------------------- */
@media only screen and (max-width: 959px) {
  :root {
    --paragraph-gap: 25px;
  }

  /*-------- arrow --------*/
  .arrow-right {
    width: 1.6rem;
    min-width: 15px;
  }
  .arrow-right::after {
    width: 0.4rem;
    height: 0.4rem;
    min-width: 4px;
    min-height: 4px;
  }

  /*-------- button --------*/
  .btn-txt {
    font-size: max(14px, 1.4rem);
  }
  .btn-base {
    width: 100%;
    height: 70px;
  }
  .btn-base .arrow-right {
    right: 20px;
  }

  /*-------- heading --------*/
  .head-en::before {
    font-size: max(42px, 4.2rem);
  }
  .head-ttl {
    margin-bottom: 20px;
    font-size: max(26px, 2.6rem);
  }
  .head-sub {
    font-size: max(22px, 2.2rem);
  }
  p.head-sub {
    margin-top: 20px;
    line-height: 1.8;
  }

  /* PCと同じ大きさを保つ */
  .label-txt {
    font-size: max(20px, 2rem);
  }

  /*-------- text --------*/
  .body-txt {
    font-size: max(14px, 1.4rem);
  }

  /*-------- section --------*/
  .company-sec {
    padding: 70px 0;
  }

  /*-------- page-list --------*/
  .page-list {
    gap: 7px 2%;
  }
  .page-list_item {
    width: 49%;
  }
  .page-list_item-txt {
    height: 5rem;
    min-height: 45px;
  }
  .page-list_item-txt .arrow-right {
    right: 10px;
  }

  /*-------- aside-contact --------*/
  .lower-aside .aside-text_wrapper {
    width: 100%;
  }
  .lower-aside .aside-title_en {
    font-size: 8.5rem;
  }
  .lower-aside .aside-link_wrapper {
    width: 100%;
    gap: 15px;
  }
  .lower-aside .aside-tel,
  .lower-aside .aside-tel_open {
    white-space: nowrap;
  }
  .lower-aside .aside-tel {
    gap: 10px;
    font-size: max(40px, 4rem);
  }
  .lower-aside .aside-tel::before {
    margin-bottom: 0;
    width: 54px;
    height: 35px;
  }
  .lower-aside .aside-tel_num {
    align-self: flex-end;
    margin-bottom: 3px;
  }
}
