@charset "utf-8";
/**
サイト共通の基本設定
こちらにはmixinや変数等のCSSを直接記述しない部品のみ設置可能です。
 */
.btn {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #0081cc;
  border: 1px solid #0081cc;
  background: #fff;
  line-height: 1.2;
  padding: 10px 29.87px 10px 10px;
  position: relative;
  justify-content: center;
  padding: 10px 15px;
}
.btn:after {
  position: absolute;
  top: 50%;
  right: 10px;
  content: "";
  border-right: 1px solid #0081cc;
  border-top: 1px solid #0081cc;
  transform: rotate(45deg) translateY(-50%);
  height: 7px;
  width: 7px;
}
@media (any-hover: hover) {
  .btn:after {
    transition: border-top-color 0.5s ease-out, border-right-color 0.5s ease-out;
  }
}
@media (any-hover: hover) {
  .btn {
    transition: color 0.5s ease-out, border-top-color 0.5s ease-out, border-right-color 0.5s ease-out, border-bottom-color 0.5s ease-out, border-left-color 0.5s ease-out, background-color 0.5s ease-out;
  }
  .btn:hover {
    background: #0081cc;
    color: #fff;
    border-color: #fff;
  }
  .btn:hover:after {
    border-color: #fff;
  }
}

.btn:after {
  position: absolute;
  display: inline-block;
  top: 50%;
  right: 8px;
  transform: translateY(-50%) rotate(45deg);
}

.link-btn {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #333;
  border: 1px solid #aaa;
  background: #fff;
  line-height: 1.2;
  padding: 10px 29.87px 10px 10px;
}
.link-btn:after {
  position: absolute;
  top: 50%;
  right: 10px;
  content: "";
  border-right: 1px solid #333;
  border-top: 1px solid #333;
  transform: rotate(45deg) translateY(-50%);
  height: 7px;
  width: 7px;
}
@media (any-hover: hover) {
  .link-btn:after {
    transition: border-top-color 0.5s ease-out, border-right-color 0.5s ease-out;
  }
}
@media (any-hover: hover) {
  .link-btn {
    transition: color 0.5s ease-out, border-top-color 0.5s ease-out, border-right-color 0.5s ease-out, border-bottom-color 0.5s ease-out, border-left-color 0.5s ease-out, background-color 0.5s ease-out;
  }
  .link-btn:hover {
    background: #0081cc;
    color: #fff;
    border-color: #fff;
  }
  .link-btn:hover:after {
    border-color: #fff;
  }
}

.related-link {
  background-color: #f5f5f5;
}
.related-link__list {
  display: grid;
  grid-gap: 10px;
}
.related-link__list + .related-link__list {
  margin-top: 60px;
}
@media screen and (max-width:599px) {
  .related-link__list {
    grid-template-columns: repeat(1, 1fr);
  }
}
@media screen and (min-width:600px) and (max-width:1024px) {
  .related-link__list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (min-width: 1025px) {
  .related-link__list {
    grid-template-columns: repeat(4, 1fr);
  }
}
.related-link__title {
  flex-basis: 100%;
  font-weight: 600;
}
@media screen and (max-width:599px) {
  .related-link__title {
    font-size: 2rem;
    grid-column: 1/2;
  }
}
@media screen and (min-width:600px) and (max-width:1024px) {
  .related-link__title {
    font-size: 2rem;
    grid-column: 1/3;
  }
}
@media screen and (min-width: 1025px) {
  .related-link__title {
    font-size: 3rem;
    grid-column: 1/5;
  }
}
.related-link__item {
  display: flex;
}
.related-link__link-btn {
  width: 100%;
}
@media screen and (min-width:600px) {
  .related-link__link-btn {
    min-height: 75px;
  }
}

/**
カラムレイアウト
 */
@media screen and (max-width: 1024px) {
  .col__container--sptab1-pc2 {
    display: grid;
    gap: 40px;
    grid-template-columns: 1fr;
  }
}
@media screen and (min-width: 1025px) {
  .col__container--sptab1-pc2 {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 1024px) {
  .col__container--sptab1-pc3 {
    display: grid;
    gap: 40px;
    grid-template-columns: 1fr;
  }
}
@media screen and (min-width: 1025px) {
  .col__container--sptab1-pc3 {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 1024px) {
  .col__container--sptab2-pc4 {
    display: grid;
    gap: 40px 20px;
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (min-width: 1025px) {
  .col__container--sptab2-pc4 {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(4, 1fr);
  }
}

.link__text {
  color: #0081cc;
}
.link__text:hover {
  text-decoration: underline;
}
.link__text--r-arrow {
  display: flex;
  align-items: center;
  color: #0081cc;
}
.link__text--r-arrow:hover {
  text-decoration: underline;
}
.link__text--r-arrow::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 4px;
  border-right: 1px solid #0081cc;
  border-bottom: 1px solid #0081cc;
  transform: rotate(-45deg);
}

.text__sup {
  vertical-align: super;
  font-size: 1.2rem;
}

.text__note {
  display: inline-block;
  text-indent: -1em;
  padding-left: 1em;
  font-size: 1.4rem;
}

.text__note {
  font-size: 1.2rem;
}

.chapter__title--alpha {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 12px;
}
.chapter__visual {
  position: relative;
}
.chapter__visual--img {
  aspect-ratio: 238/125;
  width: 100%;
  max-height: 800px;
  display: block;
}
.chapter__visual--img-area {
  position: relative;
}
@media screen and (max-width:599px) {
  .chapter__visual--img-area::after {
    content: "";
    background-color: rgba(51, 51, 51, 0.2);
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
  }
}
.chapter__visual--wrap {
  width: 100%;
  position: absolute;
  top: 0;
  max-height: 800px;
  height: 100%;
  background: rgba(51, 51, 51, 0.3);
}
@media screen and (max-width:599px) {
  .chapter__visual--wrap {
    position: static;
    background: none;
  }
}
.chapter__visual--wrap-box {
  max-width: 1200px;
  position: relative;
  margin: auto;
  max-height: 800px;
  height: 100%;
}
@media screen and (max-width:599px) {
  .chapter__visual--wrap-box {
    width: 100%;
  }
}
.chapter__visual--wrap-box-intro {
  position: absolute;
  color: #fff;
  width: 430px;
  padding: 30px 0 0 20px;
}
@media screen and (max-width:599px) {
  .chapter__visual--wrap-box-intro {
    position: static;
    text-align: center;
    padding: 10px 20px 20px;
    width: 100%;
    color: #333;
    background: #fff;
  }
}
.chapter__visual--wrap-box-intro-subtext {
  border-bottom: 1px solid #333;
  color: #333;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.2em;
}
.chapter__visual--wrap-box-intro-main {
  font-size: 6rem;
  font-weight: 700;
  font-family: "HG教科書体", "HG正楷書体-PRO", serif;
}
@media screen and (max-width:599px) {
  .chapter__visual--wrap-box-intro-main {
    font-size: 4rem;
  }
}
.chapter__visual--wrap-box-intro-sub {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.4em;
  margin-bottom: 15px;
}
@media screen and (max-width:599px) {
  .chapter__visual--wrap-box-intro-sub {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }
}
.chapter__visual--wrap-box-intro-text {
  letter-spacing: 0.1em;
}

@media screen and (max-width:599px) {
  .col__container--sp1-tabpc4 {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr;
  }
}
@media screen and (min-width:600px) {
  .col__container--sp1-tabpc4 {
    display: grid;
    gap: 40px;
    grid-template-columns: repeat(4, 1fr);
  }
}

.history__link {
  color: #231815;
  border: 1px solid #231815;
  display: flex;
  flex-direction: column;
  padding: 10px;
  min-height: 460px;
  background: #fff;
  position: relative;
  transition: all 0.4s ease;
  height: 100%;
}
.history__link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 10px 10px;
  bottom: 5px;
  right: 5px;
  border-color: transparent transparent #231815 transparent;
}
@media (any-hover: hover) {
  .history__link:hover {
    color: #fff;
    border: 1px solid #fff;
    background: #231815;
  }
  .history__link:hover .history__img {
    transform: scale(1.1);
  }
  .history__link:hover::after {
    border-color: transparent transparent #fff transparent;
  }
}
.history__num {
  font-size: 4rem;
  font-family: serif;
  font-weight: 700;
}
.history__gaiyo {
  min-height: 80px;
  font-size: 1.8rem;
  font-weight: 700;
}
.history__img {
  aspect-ratio: 3/2;
  width: 100%;
  display: block;
  transition: all 0.5s ease;
}
.history__img-area {
  overflow: hidden;
  border: 1px solid #fff;
}
.history__text {
  font-size: 1.4rem;
  margin-top: 5px;
  line-height: 1.6em;
}

.building02 {
  background: #fff;
}
@media screen and (max-width:599px) {
  .building02 {
    padding-bottom: 0;
  }
}
.building02__gaiyo {
  color: #007A83;
  text-align: center;
  margin-bottom: 80px;
}
.building02__gaiyo-subttl {
  font-size: 1.8rem;
  margin-bottom: 10px;
  font-weight: 700;
}
@media screen and (max-width:599px) {
  .building02__gaiyo-subttl {
    font-size: 1.6rem;
  }
}
.building02__gaiyo-mainttl {
  font-size: 5rem;
  font-weight: 700;
  margin-bottom: 20px;
}
@media screen and (max-width:599px) {
  .building02__gaiyo-mainttl {
    font-size: 3.5rem;
  }
}
.building02__gaiyo-text {
  font-size: 1.4rem;
  line-height: 2em;
  margin-bottom: 20px;
}
.building02__gaiyo-icon {
  aspect-ratio: 1/1;
  display: block;
  background-color: #fff;
  margin: 0 auto;
  width: 10%;
}
@media screen and (max-width:599px) {
  .building02__gaiyo-icon {
    width: 30%;
  }
}
.building02__item {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 7em;
}
@media screen and (max-width:599px) {
  .building02__item {
    flex-direction: column-reverse;
    margin-bottom: 5em;
  }
}
.building02__item:nth-child(odd) {
  flex-direction: row-reverse;
}
@media screen and (max-width:599px) {
  .building02__item:nth-child(odd) {
    flex-direction: column-reverse;
  }
}
.building02__item:nth-child(odd) .building02__list--link-area {
  margin-left: auto;
}
.building02__list {
  width: 50%;
  padding: 0 20px;
}
@media screen and (max-width:599px) {
  .building02__list {
    width: 100%;
    padding: 0 10px 15px;
  }
}
.building02__list--category {
  display: inline-block;
  border: 1px solid #333;
  padding: 5px 10px;
  font-size: 1.4rem;
  margin-bottom: 20px;
}
.building02__list--ttl {
  font-size: 2.5rem;
  font-weight: 700;
}
@media screen and (max-width:599px) {
  .building02__list--ttl {
    font-size: 2rem;
  }
}
.building02__list--text {
  font-size: 1.4rem;
}
.building02__list--link {
  display: flex;
  flex-direction: column;
  width: 100%;
  border: 1px solid #007A83;
  background: #fff;
  padding: 10px;
  color: #007A83;
  position: relative;
  font-weight: bold;
  transition: all 0.5s ease;
  text-align: center;
}
@media (any-hover: hover) {
  .building02__list--link:hover {
    background-color: #007A83;
    color: #fff;
  }
  .building02__list--link:hover::after {
    border-color: #fff;
  }
}
.building02__list--link::after {
  transition: all 0.5s ease;
  position: absolute;
  top: 50%;
  right: 10px;
  content: "";
  height: 7px;
  width: 7px;
  border-right-width: 1px;
  border-right-style: solid;
  border-top-width: 1px;
  border-top-style: solid;
  border-color: #007A83;
  transform: translateY(-50%) rotate(45deg);
}
.building02__list--link-area {
  margin: 20px 0;
  width: 250px;
}
@media screen and (max-width:599px) {
  .building02__list--link-area {
    margin: 20px auto;
  }
}
.building02__list--link-area-rblock {
  margin-left: auto;
}
.building02__link {
  width: 50%;
  padding: 0 20px;
}
@media screen and (max-width:599px) {
  .building02__link {
    width: 100%;
    margin-bottom: 15px;
    padding: 0 10px;
  }
}
@media (any-hover: hover) {
  .building02__link:hover .building02__link--img {
    transform: scale(1.1);
  }
}
.building02__link--img {
  aspect-ratio: 1000/667;
  display: block;
  transition: all 0.5s ease;
}
.building02__link--img-area {
  overflow: hidden;
  border: 1px solid #f0f0f0;
}

.business {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}
.business__item {
  flex-shrink: 0;
  padding: 16px;
  display: flex;
}
@media screen and (min-width:600px) {
  .business__item {
    width: 33.33%;
    min-width: 300px;
  }
}
@media screen and (max-width:599px) {
  .business__item {
    width: 100%;
  }
}
.business__link {
  display: flex;
  flex-direction: column;
  width: 100%;
  border: 1px solid #999;
}
@media screen and (min-width:600px) {
  .business__link:hover .business__icon-fill {
    fill: #fff;
  }
  .business__link:hover .business__picture-image {
    transform: scale(1.1);
  }
  .business__link:hover .business__name {
    color: #fff;
  }
  .business__link:hover .business__text {
    color: #fff;
    background-color: #0081cc;
  }
}
.business__link-active {
  pointer-events: none;
}
@media screen and (min-width:600px) {
  .business__link-active:hover .business__picture-image {
    transform: none;
  }
}
.business__picture {
  width: 100%;
  overflow: hidden;
  flex-shrink: 0;
}
.business__picture-image {
  aspect-ratio: 412/263;
  width: 100%;
  display: block;
  transition: all 0.5s ease;
}
.business__text {
  transition: all 0.5s ease;
  flex-grow: 1;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fff;
}
.business__text-active {
  background-color: #0081cc;
  color: #fff;
}
.business__icon {
  height: 50px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.business__icon-svg {
  height: 50px;
}
.business__icon-fill {
  fill: #0081cc;
}
.business__icon-fill-active {
  fill: #fff;
}
.business__icon-image--engineer, .business__icon-image--building-material-housing, .business__icon-image--building-material-public, .business__icon-image--material {
  height: 50px;
  aspect-ratio: 1/1;
}

.business__name {
  transition: all 0.5s ease;
  color: #0081cc;
  font-size: 1.8rem;
  font-weight: 600;
}
.business__name-active {
  color: #fff;
}
.business__summary {
  transition: all 0.5s ease;
}

@media screen and (min-width:600px) {
  .btn {
    width: 400px;
    margin: 0 auto;
  }
}

.btn-area {
  margin-top: 50px;
}
@media screen and (min-width:600px) {
  .btn-area__link {
    width: 500px;
    margin: 0 auto;
    padding: 20px;
  }
}

.picture01 {
  aspect-ratio: 1904/1000;
  height: auto;
}

.picture02 {
  aspect-ratio: 261/174;
  height: auto;
}

.picture03 {
  aspect-ratio: 150/150;
  height: auto;
}

.picture04 {
  aspect-ratio: 1000/667;
  height: auto;
}

.picture05 {
  aspect-ratio: 366/234;
  height: auto;
}
