@charset "utf-8";
/* company
----------------------------------------------------------------------------------------------------*/
.main {
  width: min(90%, 1140px);
  margin: 0 auto;
  font-feature-settings: "palt"1;
  -webkit-text-size-adjust: 100%;
}
/* Page Title
----------------------------------------------------------------------------------------------------*/
.page-title {
  width: 100%;
  height: 10rem;
  background-color: #0081BB;
  margin-bottom: 8rem;
}
.page-title h3 {
  display: flex;
  align-items: center;
  width: 41.2rem;
  height: 10rem;
  background-color: #FFF;
  border: 1px solid #0081BB;
  padding-left: 3rem;
  color: #000;
  font-size: 3.2rem;
  font-weight: 700;
}
.page-body__copy {
  margin-bottom: 3rem;
  font-size: 3.2rem;
  font-weight: 600;
}
.page-body__text {
  font-size: 1.8rem;
  line-height: 1.75;
}
.page-body__text p {
  margin-bottom: 3rem;
}
@media screen and (max-width: 767px) {
  .page-title {
    margin-bottom: 3rem;
  }
  .page-title h3 {
    width: 100%;
    padding-left: 3rem;
    font-size: 2.6rem;
  }
}
/* Page Headline
----------------------------------------------------------------------------------------------------*/
.company__headline {
  margin-bottom: 6.5rem;
}
.page-body__title {
  margin-bottom: 1rem;
  font-size: 3.2rem;
  font-weight: 700;
}
@media screen and (max-width: 767px) {
  .page-body__title {
    font-size: 2.6rem;
  }
}
/* Page SubTitle
----------------------------------------------------------------------------------------------------*/
.page-subtitle {
  width: 100%;
  background-color: #0081BB;
  margin-bottom: 5rem;
}
.page-subtitle h4 {
  padding: 2rem;
  color: #FFF;
  font-size: 2.4rem;
  font-weight: 700;
}
@media screen and (max-width: 767px) {
  .page-subtitle h4 {
    padding: 1rem;
    font-size: 2rem;
  }
}
/* company nav
----------------------------------------------------------------------------------------------------*/
html {
  scroll-behavior: smooth;
}
.company-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 0 0 10rem;
}
.company-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0083c4;
  color: #FFF;
  text-decoration: none;
  font-size: 2rem;
  width: 30rem;
  height: 8rem;
  border-radius: 4px;
  position: relative;
}
.company-nav a::after {
  content: "";
  border: solid #FFF;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 6px;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
.company-nav a:hover {
  background-color: #323232;
}
@media screen and (max-width: 767px) {
  .company-nav {
    flex-direction: column;
  }
  .company-nav a {
    width: 100%;
  }
}
/* Page Body
----------------------------------------------------------------------------------------------------*/
.company__body {
  margin-bottom: 15rem;
}
.company__body:last-of-type {
  margin-bottom: 0;
}
@media screen and (max-width: 767px) {
  .company__body {
    margin-bottom: 5rem;
  }
}
/* company Box
----------------------------------------------------------------------------------------------------*/
.companyBox {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 0;
  padding: 0;
}
.companyBox p {
  margin-bottom: 2rem;
  font-size: 2rem;
  line-height: 1.75;
}
.companyBox .company__left, .companyBox .company__right {
  width: calc(100% / 2 - 15px);
  margin-bottom: 2rem;
}
.companyBox.boxitem .company__item {
  width: calc(100% / 2 - 10px);
  margin-bottom: 2rem;
}
.companyBox__item {
  display: flex;
  justify-content: space-between;
}
.companyBox__item figure {
  position: relative;
  width: 26.7rem;
  margin-bottom: 3rem;
}
@media screen and (max-width: 767px) {
  .companyBox {
    flex-direction: column-reverse;
    width: 100%;
  }
  .companyBox.boxitem {
    flex-direction: row;
    width: 100%;
  }
  .companyBox .company__left, .companyBox .company__right {
    width: 100%;
  }
  .companyBox.boxitem .company__item {
    width: calc(100% / 2 - 2px);
    margin-bottom: 0.4rem;
  }
  .companyBox p {
    font-size: 1.8rem;
  }
  .companyBox__item figure {
    position: relative;
    width: 16.5rem;
    margin-bottom: 3rem;
  }
}
/* Greeting
----------------------------------------------------------------------------------------------------*/
.name {
  font-size: 2rem;
  font-weight: 700;
  text-align: right;
}
.name-company {
  font-size: 2.4rem;
  font-weight: 700;
  text-align: right;
}
.name span {
  font-size: 2.8rem;
}
/* Company info
----------------------------------------------------------------------------------------------------*/
.company__profile {
  display: table;
  font-size: 2.0rem;
  font-weight: 400;
  line-height: 1.75;
  width: 100%;
  margin: 50px 0 0;
}
.company__profile .profile__row {
  display: table-row;
}
.profile__ttl, .profile__txt {
  display: table-cell;
  border-top: 1px solid #dcdcdc;
  padding: 20px 0;
}
.profile__txt a {
  font-weight: 700;
  text-decoration: none;
  transition: 0.5s;
}
.profile__txt a:hover, .profile__txt a:active {
  opacity: 0.5;
}
.profile__ttl {
  width: 25%;
  background-color: #F4F4F4;
  padding-left: 2rem;
  font-size: 2rem;
  font-weight: 600;
  color: #000;
}
.profile__txt {
  padding-left: 2rem;
  font-size: 2.4rem;
  vertical-align: middle;
}
.txt__areaBox {
  padding: 0 0 20px 0;
}
.company__profile .profile__row:first-child .profile__ttl, .company__profile .profile__row:first-child .profile__txt {
  border-top: none;
}
@media screen and (max-width: 767px) {
  .company__profile {
    font-size: 1.8rem;
  }
  .profile__ttl, .profile__txt {
    font-size: 1.4rem;
  }
  .profile__ttl {
    width: 11.3rem;
    padding: 0.5rem;
  }
  .profile__txt {
    padding: 0.5rem;
  }
}
/* Company access
----------------------------------------------------------------------------------------------------*/
.company__map {
  width: 100%;
}
  .company__map iframe {
    width: 100%;
  }
@media screen and (max-width: 767px) {
  .company__map iframe {
    width: 100%;
    max-height: 40rem;
  }
}
/*-----------------------------------------
昭和建設株式会社
-----------------------------------------*/
.main section {
  margin-bottom: 10rem;
}
.main section:last-of-type {
  margin-bottom: 0;
}
.company-nav {
  margin: 0 auto 10rem;
}
.company-nav a {
  background-color: #8fc42f;
}
.company-nav a:hover {
  background-color: #2b7f21;
}
.page-title {
  background-color: #8fc42f;
  margin-bottom: 5rem;
}
.page-title h3 {
  border: 1px solid #8fc42f;
}
.company__pdf {
  width: calc(100% / 2 - 10px);
  margin: 0 auto;
  text-align: center;
}
.company__txt {
  font-size: 2.0rem;
  font-weight: 400;
}
.profile__ttl, .profile__txt {
  padding-left: unset;
  font-size: 2.0rem;
  padding: 0.5em 1em;
  font-weight: 400;
}
  .profile__txt li a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #000;
  font-size: 2.0rem;
  font-weight: bold;
  transition: 0.5s;
}
  .profile__txt li a:hover,.profile__txt li a:active.new-window {
  opacity: 0.5;
}
.profile__txt li a::after {
  content: "";
  display: inline-block;
  width: 1.6rem;
  height: 1.6rem;
  background-image: url("../img/icon-window.svg");
  background-size: contain;
  background-repeat: no-repeat;
  margin-left: 0.4rem;
  vertical-align: middle;
}
.profile__txt ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.name-company {
  font-size: 2.0rem;
}
.name {
  font-size: 1.6rem;
}
.name span {
  font-size: 2.0rem;
}
@media (max-width: 767px) {
  .company-nav {
    gap: 10px;
  }
  .company-nav a {
    font-size: 1.6rem;
    height: inherit;
    padding: 1em 0;
  }
  .company__txt {
    font-size: 1.6rem;
  }
  .company__profile .profile__row:first-child .profile__ttl, .company__profile .profile__row:first-child .profile__txt {
    border-top: 1px solid #dcdcdc;
  }
  .company__profile .profile__row {
    margin-bottom: 20px;
  }
  .profile__ttl, .profile__txt {
    font-size: 1.6rem;
    display: block;
    width: 100%;
    padding: 0.5em;
    font-weight: 400;
  }

  .profile__txt {
    margin-bottom: 10px;
  }
  .companyBox p {
    font-size: 1.6rem;
  }
  .profile__txt li a {
  font-size: 1.6rem;
 }

  .name-company {
    font-size: 1.8rem;
  }
  .name {
    font-size: 1.4rem;
  }
  .name span {
    font-size: 1.6rem;
  }
}