@charset "UTF-8";
@import url(./common.css);
/*==================================================================*/
/* style css　*/
/*==================================================================*/
#topicpath {
  margin-bottom: 4em;
}

#about .title-bg {
  background: url("/about/image/about.jpg") no-repeat 50% 50%;
  background-size: cover;
}

.title-bg {
  background: url("/about/image/history.jpg") no-repeat 50% 50%;
  background-size: cover;
}

#wrapper {
  margin-bottom: 0;
}

/* 椛山建設について
---------------------------------------------------------------------------- */
#about #contents section {
  margin-bottom: 6em;
}
#about #contents section#philosophy, #about #contents section#map, #about #contents section#awards {
  padding: 3em 0;
  background: url("/business/image/bg_business.jpg") repeat 50% 50%;
}
#about #contents section .read {
  margin-bottom: 1.5em;
}
#about #contents section .about-block {
  margin-bottom: 2.5em;
}
#about #contents section .about-block dl {
  display: flex;
  padding: 15px 25px;
  border-bottom: 1px solid #ccc;
}
#about #contents section .about-block dl dt {
  width: 15%;
  font-weight: bold;
}
#about #contents section .about-block dl dd {
  width: 85%;
}
#about #contents section .photo-area ul {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
#about #contents #message .president {
  text-align: right;
  font-weight: bold;
}
#about #contents #message .president span {
  margin-left: 1em;
  font-size: 1.4em;
}
#about #contents #message .f-block {
  display: flex;
  justify-content: space-between;
  flex-direction: row-reverse;
  align-items: center;
}
#about #contents #message .f-block .text-block {
  width: 65%;
}
#about #contents #message .f-block .photo {
  width: 30%;
  text-align: right;
}
#about #contents #profile .photo-area ul li {
  width: 24.5%;
}
#about #contents #map .map-in {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
#about #contents #map .map-in dl {
  width: 47%;
}
#about #contents #map .map-in dl dt {
  margin-bottom: .5em;
  font-weight: bold;
  text-align: center;
  font-size: 1.1em;
}
#about #contents #map .map-in dl dd iframe {
  width: 100%;
}
#about #contents #history .photo-area ul li {
  width: 32.333%;
}
#about #contents #awards {
  margin-bottom: 3em;
}
#about #contents .base-btn {
  margin-bottom: 6em;
}

/* 安全・環境・社会貢献
---------------------------------------------------------------------------- */
#history #contents .link-block {
  position: relative;
  margin-bottom: 4em;
  padding: 1em 0 3em;
}
#history #contents .link-block p.catch {
  margin-bottom: 1.5em;
  color: #0056c8;
  font-size: 1.8em;
  font-weight: bold;
  text-align: center;
}
#history #contents .link-block .f-block {
  display: flex;
  justify-content: space-between;
  flex-direction: row-reverse;
  margin-bottom: 2em;
}
#history #contents .link-block .f-block p.photo {
  width: 30%;
}
#history #contents .link-block .f-block .text-block {
  width: 67%;
}
#history #contents .link-block .f-block .text-block p.read {
  margin-bottom: 2em;
  font-weight: bold;
}
#history #contents section {
  margin-bottom: 6em;
}
#history #contents section#contribution, #history #contents section#safety {
  padding: 3em 0;
  background: url("/business/image/bg_business.jpg") repeat 50% 50%;
}
#history #contents section#contribution {
  margin-bottom: 0;
}
#history #contents section#environment {
  padding: 3em 0 1em;
}
#history #contents section#environment .sdgs-area .f-area {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
#history #contents section#environment .sdgs-area .f-area .fig {
  width: 35%;
  padding: 3em 2em;
  border-radius: 10px;
  box-shadow: 0 0 10px #ccc;
  display: flex;
  justify-content: center;
  align-items: center;
  height: fit-content;
}
#history #contents section#environment .sdgs-area .f-area .r-block {
  width: 60%;
}
#history #contents section#environment .sdgs-area .f-area .r-block .read a {
  text-decoration: underline;
}
#history #contents section#environment .sdgs-area .f-area .r-block .read a:hover {
  text-decoration: none;
}
#history #contents section#environment .sdgs-area .f-area .r-block ul {
  display: flex;
  flex-wrap: wrap;
}
#history #contents section#environment .sdgs-area .f-area .r-block ul li {
  width: 22.5%;
  margin-right: 2%;
  margin-bottom: 1em;
}
#history #contents section#safety .block .bg-block {
  position: relative;
  background: #fff;
  box-shadow: 0 0 10px #ccc;
  padding: 2em;
  background: url("/about/image/bg_safety.png") no-repeat 100% 100%;
  background-color: #fff;
  background-size: contain;
}
#history #contents section#safety .block .bg-block .min-block {
  width: 80%;
  margin: 0 auto 2em;
}
#history #contents section#safety .block .bg-block .min-block h4 {
  margin-bottom: 1em;
  font-size: 1.8em;
  text-shadow: -1px -1px 0px #fff, 1px -1px 0px #fff, 1px 1px 0px #fff, -1px 1px 0px #fff;
  text-align: center;
  font-weight: bold;
}
#history #contents section#safety .block .bg-block .min-block .read {
  text-shadow: -1px -1px 0px #fff, 1px -1px 0px #fff, 1px 1px 0px #fff, -1px 1px 0px #fff;
  font-weight: bold;
}
#history #contents section#safety .block .bg-block .min-block ul.min {
  font-size: 1.3em;
  font-weight: bold;
  padding: 1em;
  background-size: cover;
  text-shadow: -1px -1px 0px #fff, 1px -1px 0px #fff, 1px 1px 0px #fff, -1px 1px 0px #fff;
}
#history #contents section#safety .block .bg-block .photo-area {
  width: 80%;
  margin: 0 auto;
}
#history #contents section#safety .block .bg-block .photo-area p.photo {
  box-shadow: none;
}
#history #contents section .inblock .block {
  margin-bottom: 5em;
}
#history #contents section .inblock .block h3.base {
  margin-bottom: .5em;
  font-size: 1.5em;
  font-weight: bold;
  text-indent: -1.8em;
  padding-left: 2em;
}
#history #contents section .inblock .block h3.base span {
  position: relative;
  padding-left: 1.8em;
  text-indent: -1.8em;
}
#history #contents section .inblock .block h3.base span:before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  height: 5px;
  width: 35px;
  border-radius: 50px;
  background: #0056c8;
}
#history #contents section .inblock .block .read {
  margin-bottom: 2em;
}
#history #contents section .inblock .block .read span.bikou {
  display: block;
  font-size: .9em;
}
#history #contents section .inblock .block .photo-area {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
#history #contents section .inblock .block .photo-area p.photo {
  width: 48%;
  margin-bottom: 4%;
  border-radius: 15px;
  overflow: hidden;
  line-height: 0;
  box-shadow: 0 0 10px #ccc;
}
#history #contents section .inblock .block .photo-area dl {
  width: 31%;
}
#history #contents section .inblock .block .photo-area dl dt {
  margin-bottom: .5em;
  border-radius: 15px;
  overflow: hidden;
  line-height: 0;
  box-shadow: 0 0 10px #ccc;
}
#history #contents section .inblock .block .photo-area dl dd {
  font-weight: bold;
  text-align: center;
}

/*===========================================================================*/
/*  media quary:1025px  */
/*===========================================================================*/
@media screen and (max-width: 1025px) {
  /* 椛山建設について
  ---------------------------------------------------------------------------- */
  #about #contents section .about-block dl {
    padding: 10px 15px;
  }
  #about #contents section .about-block dl dt {
    width: 20%;
  }
  #about #contents section .about-block dl dd {
    width: 80%;
  }
  #about #contents #message, #about #contents #profile, #about #contents #map, #about #contents #history, #about #contents #awards {
    margin-top: -80px !important;
    padding-top: 80px !important;
  }
  #about #contents #map .map-in dl dd iframe {
    height: 300px;
  }

  /* 安全・環境・社会貢献
  ---------------------------------------------------------------------------- */
  #history #contents .link-block {
    margin-bottom: 4em;
  }
  #history #contents .link-block p.catch {
    margin-bottom: 1em;
    font-size: 1.5em;
  }
  #history #contents .link-block .f-block {
    display: block;
  }
  #history #contents .link-block .f-block p.photo {
    margin-bottom: 2em;
    width: 100%;
    text-align: center;
  }
  #history #contents .link-block .f-block .text-block {
    width: 100%;
  }
  #history #contents section#safety, #history #contents section#environment, #history #contents section#contribution {
    margin-top: -80px;
    padding-top: 80px;
  }
  #history #contents section#safety .block .bg-block {
    padding: 1em;
    background-size: cover;
  }
  #history #contents section#safety .block .bg-block .min-block {
    width: 100%;
    margin: 0 auto 2em;
  }
  #history #contents section#safety .block .bg-block .min-block h4 {
    margin-bottom: 1em;
    font-size: 1.7em;
  }
  #history #contents section#safety .block .bg-block .min-block ul.min {
    font-size: 1.4em;
    padding: 0;
  }
  #history #contents section#safety .block .bg-block .photo-area {
    width: 100%;
    margin: 0 auto;
  }
  #history #contents section .inblock .block {
    margin-bottom: 4em;
  }
  #history #contents section .inblock .block .read {
    margin-bottom: 1.5em;
  }
}
/*===========================================================================*/
/*  media quary:767px  */
/*===========================================================================*/
@media screen and (max-width: 769px) {
  #topicpath {
    margin-bottom: 4em;
  }

  /* 椛山建設について
  ---------------------------------------------------------------------------- */
  #about .page-link {
    display: none;
  }
  #about #contents section .about-block dl {
    display: block;
  }
  #about #contents section .about-block dl dt {
    width: 100%;
  }
  #about #contents section .about-block dl dd {
    width: 100%;
  }
  #about #contents #message .f-block {
    display: block;
  }
  #about #contents #message .f-block .text-block {
    width: 100%;
    margin-bottom: 1em;
  }
  #about #contents #message .f-block .photo {
    margin-bottom: 1em;
    width: 100%;
    text-align: center;
  }
  #about #contents #profile .photo-area ul {
    justify-content: center;
  }
  #about #contents #profile .photo-area ul li {
    width: 48%;
    margin: 0 1% .5em;
    text-align: center;
  }
  #about #contents #map .map-in {
    display: block;
  }
  #about #contents #map .map-in dl {
    width: 100%;
    margin-bottom: 2em;
  }
  #about #contents #map .map-in dl dd iframe {
    height: 300px;
  }

  /* 安全・環境・社会貢献
  ---------------------------------------------------------------------------- */
  #history #contents .link-block {
    margin-bottom: 4em;
  }
  #history #contents .link-block p.catch {
    margin-bottom: 1em;
    font-size: 1.5em;
  }
  #history #contents .link-block .f-block {
    display: block;
  }
  #history #contents .link-block .f-block p.photo {
    margin-bottom: 2em;
    width: 100%;
  }
  #history #contents .link-block .f-block p.photo img {
    max-width: 250px;
  }
  #history #contents .link-block .f-block .text-block {
    width: 100%;
  }
  #history #contents section#safety .block .bg-block {
    padding: 1.5em;
    background: #fff;
  }
  #history #contents section#safety .block .bg-block .min-block {
    width: 100%;
    margin: 0 auto 2em;
    padding: 0;
  }
  #history #contents section#safety .block .bg-block .min-block h4 {
    margin-bottom: 1em;
    font-size: 1.5em;
  }
  #history #contents section#safety .block .bg-block .min-block ul.min {
    font-size: 1.2em;
    padding: 0;
  }
  #history #contents section#safety .block .bg-block .min-block ul.min li {
    margin-bottom: .5em;
    text-indent: -3.1em;
    padding-left: 3.1em;
  }
  #history #contents section#safety .block .bg-block .photo-area {
    width: 100%;
    margin: 0 auto;
  }
  #history #contents section#environment .sdgs-area .f-area {
    display: block;
  }
  #history #contents section#environment .sdgs-area .f-area .fig {
    width: 50%;
    margin: 0 auto 2em;
  }
  #history #contents section#environment .sdgs-area .f-area .r-block {
    width: 100%;
  }
  #history #contents section#environment .sdgs-area .f-area .r-block .read {
    text-align: center;
  }
  #history #contents section#environment .sdgs-area .f-area .r-block ul {
    justify-content: center;
  }
  #history #contents section#environment .sdgs-area .f-area .r-block ul li {
    width: 22.5%;
    margin-right: 2%;
    margin-bottom: 1em;
  }
  #history #contents section .inblock .block {
    margin-bottom: 4em;
  }
  #history #contents section .inblock .block h3.base {
    font-size: 1.2em;
    padding-left: 2.5em;
    text-indent: -2.5em;
  }
  #history #contents section .inblock .block h3.base span {
    padding-left: 2.5em;
  }
  #history #contents section .inblock .block .read {
    margin-bottom: 1.5em;
  }
  #history #contents section .inblock .block .photo-area dl {
    width: 48%;
    margin-bottom: 1em;
  }
}
/*===========================================================================*/
/*  media quary:479px  */
/*===========================================================================*/
@media screen and (max-width: 479px) {
  /* 安全・環境・社会貢献
  ---------------------------------------------------------------------------- */
  #history #contents .link-block {
    margin-bottom: 4em;
  }
  #history #contents .link-block p.catch {
    margin-bottom: 1em;
    font-size: 1.5em;
  }
  #history #contents .link-block .f-block {
    display: block;
  }
  #history #contents .link-block .f-block p.photo {
    margin-bottom: 2em;
    width: 100%;
  }
  #history #contents .link-block .f-block p.photo img {
    max-width: 250px;
  }
  #history #contents .link-block .f-block .text-block {
    width: 100%;
  }
  #history #contents section {
    margin-bottom: 3em;
  }
  #history #contents section#safety .block .bg-block {
    padding: 1.5em;
  }
  #history #contents section#safety .block .bg-block .min-block {
    width: 100%;
    margin: 0 auto 2em;
    padding: 0;
    background: none;
  }
  #history #contents section#safety .block .bg-block .min-block h4 {
    margin-bottom: 1em;
    font-size: 1.5em;
  }
  #history #contents section#safety .block .bg-block .min-block ul.min {
    font-size: 1em;
    padding: 0;
  }
  #history #contents section#safety .block .bg-block .min-block ul.min li {
    margin-bottom: .5em;
    text-indent: -3.1em;
    padding-left: 3.1em;
  }
  #history #contents section#safety .block .bg-block .photo-area {
    width: 100%;
    margin: 0 auto;
  }
  #history #contents section .inblock .block {
    margin-bottom: 4em;
  }
  #history #contents section .inblock .block h3.base {
    font-size: 1.2em;
    padding-left: 2.5em;
    text-indent: -2.5em;
  }
  #history #contents section .inblock .block h3.base span {
    padding-left: 2.5em;
  }
  #history #contents section .inblock .block .read {
    margin-bottom: 1.5em;
  }
  #history #contents section .inblock .block .photo-area {
    display: block;
  }
  #history #contents section .inblock .block .photo-area p.photo {
    width: 100%;
  }
  #history #contents section .inblock .block .photo-area dl {
    width: 100%;
    margin-bottom: 2em;
  }
  #history #contents section#environment .sdgs-area .f-area .fig {
    width: 70%;
    padding: 2em;
  }
  #history #contents section#environment .sdgs-area .f-area .r-block ul li {
    margin-bottom: .5em;
  }
}
