@charset "UTF-8";
body {
  background-image: url(./../img/bg.webp);
  background-size: cover;
  background-position: center;
}

.fadein {
  opacity: 0;
  transition-duration: 1.8s;
  transition-property: opacity;
}

.scroll-on {
  opacity: 1;
}

.topBlock {
  margin: 0 auto;
  display: flex;
}

.topBlock .topImage {
  width: 0%;
  flex-grow: 0;
}

.topBlock .topBGBlock .topBG-1, .topBlock .topBGBlock .topBG-2, .topBlock .topBGBlock .topBG-3 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.topBlock .topBGBlock .topBG-1 {
  background-image: url("./../img/bg-top-1.webp");
  animation: slide-animation-01 24s infinite;
}

.topBlock .topBGBlock .topBG-2 {
  background-image: url("./../img/bg-top-2.webp");
  animation: slide-animation-02 24s infinite;
}

.topBlock .topBGBlock .topBG-3 {
  background-image: url("./../img/bg-top-3.webp");
  animation: slide-animation-03 24s infinite;
}

@keyframes slide-animation-01 {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  30% {
    opacity: 1;
  }
  40% {
    opacity: 0;
    transform: scale(1.15);
  }
  90% {
    opacity: 0;
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slide-animation-02 {
  0% {
    opacity: 0;
  }
  30% {
    opacity: 0;
    transform: scale(1.1);
  }
  40% {
    opacity: 1;
  }
  60% {
    opacity: 1;
  }
  70% {
    opacity: 0;
    transform: scale(1);
  }
  100% {
    opacity: 0;
  }
}

@keyframes slide-animation-03 {
  0% {
    opacity: 0;
  }
  60% {
    opacity: 0;
    transform: scale(1);
  }
  70% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(1.1);
  }
}

.topBlock .topBGBlock::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 35rem;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.331);
}

.topBlock .topBody {
  flex-grow: 1;
  position: relative;
  overflow: hidden;
}

.topBlock .topBody .topText {
  margin-top: 2rem;
  color: #fff;
  text-shadow: 1.5px 1.5px 2px black;
  font-size: 1.19rem;
  word-spacing: 0.3rem;
}

.topBlock .topBody .topText a, .topBlock .topBody .topText p {
  color: #fff;
  position: relative;
}

.topBlock .topBody .title {
  border-bottom: 0.8px solid #fff;
  font-size: 1.6rem;
  width: 29rem;
  position: relative;
  margin-left: 2rem;
  /* 擬似要素横幅分 */
  padding-left: 4rem;
  /* テキスト開始位置 */
  padding-top: 1rem;
  padding-bottom: 1rem;
  transition: width 0.5s;
}

.topBlock .topBody .linkBox, .topBlock .topBody .contactBox {
  padding-top: 1rem;
  padding-left: 4rem;
  padding-bottom: 1.5rem;
}

.topBlock .topBody .linkBox .subTitle, .topBlock .topBody .contactBox .subTitle {
  position: relative;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.topBlock .topBody .linkBox .subTitle::before, .topBlock .topBody .contactBox .subTitle::before {
  content: '　';
  width: 0.9rem;
  height: 0.9rem;
  border: 1.8px solid #fff;
  background-color: #ffffff00;
  position: absolute;
  left: -1.3rem;
  bottom: 0.3rem;
}

.topBlock .topBody .linkBox .linkItems, .topBlock .topBody .contactBox .linkItems {
  margin-left: 0.5rem;
}

.topBlock .topBody .linkBox .linkItems .linkItem, .topBlock .topBody .contactBox .linkItems .linkItem {
  display: inline;
  margin-left: 0.3rem;
  margin-right: 0.3rem;
  color: #fff;
}

.topBlock .topBody .linkBox .hLinkItem, .topBlock .topBody .contactBox .hLinkItem {
  margin-left: 0.3rem;
  margin-right: 0.3rem;
}

.topBlock .topBody p {
  margin-left: 1rem;
  line-height: 1.2rem;
}

.topBlock .topBody .tel {
  display: block;
  width: fit-content;
  border-radius: 0.7rem;
  border: 0px solid #783d29;
  color: #fff;
  padding-top: 1rem;
  padding-bottom: 1rem;
  padding-left: 3rem;
  padding-right: 3rem;
  margin-top: 1rem;
  margin-left: 3rem;
  font-size: 1.1rem;
  background-color: #783d29;
  transition: background-color 0.5s, color 0.5s;
}

.topBlock .topBody .tel:hover {
  background-color: #92513b;
  color: #fff;
}

.aboutBlock {
  padding-top: 1rem;
  text-align: center;
}

.aboutBlock h3 {
  padding-top: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  font-size: 1.5rem;
  border-bottom: 2.5px solid #783d29;
  padding-left: 3rem;
  padding-right: 3rem;
}

.aboutBlock .aboutImg {
  width: 90%;
  margin-bottom: 3rem;
  max-width: 676px;
}

.aboutBlock .aboutFirst {
  margin-top: 3rem;
  font-size: 1.1rem;
  line-height: 2.2rem;
}

.aboutBlock .aboutFirst .big {
  font-size: 1.3rem;
}

.aboutBlock .aboutSecond {
  margin-top: 2rem;
  margin-bottom: 4rem;
  line-height: 5rem;
  font-size: 2rem;
}

.aboutBlock .aboutSecond .big {
  font-size: 3rem;
}

.aboutBlock .buttonWrap {
  margin-top: 2rem;
  margin-bottom: 8rem;
}

.aboutBlock .buttonWrap .button {
  width: fit-content;
  border-radius: 0.7rem;
  border: 1px solid #783d29;
  color: #783d29;
  font-size: 1.5rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  padding-left: 3rem;
  padding-right: 3rem;
  transition: background-color 0.5s, color 0.5s;
}

.aboutBlock .buttonWrap .button:hover {
  background-color: #783d29;
  color: #fff;
}

.titleBox {
  text-align: center;
  background-color: #333;
  color: #fff;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.titleBox h4 {
  font-size: 1rem;
}

.titleBox h3 {
  font-size: 1.6rem;
}

.serviceHorLine {
  height: 1.6px;
  width: 120%;
  background-color: #232323;
  margin-top: 3rem;
}

.serviceBlock {
  overflow: hidden;
  padding-bottom: 10rem;
}

.serviceBlock .jigyoBoxItems {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 5rem;
}

.serviceBlock .jigyoBoxItems .jigyoBoxBase1 {
  width: 100%;
  max-width: 1240px;
}

.serviceBlock .jigyoBoxItems .jigyoBoxBase1 .jigyoBox1 {
  margin-top: 5rem;
  padding-top: 5rem;
  padding-bottom: 10rem;
  padding-left: 2rem;
  padding-right: 2rem;
  text-align: left;
  width: 80%;
  border-right: 2px solid #232323;
}

.serviceBlock .jigyoBoxItems .jigyoBoxBase1 .jigyoBox1 img {
  width: 110%;
}

.serviceBlock .jigyoBoxItems .jigyoBoxBase1 .jigyoBox1 .jigyoNaiyo {
  padding-top: 3rem;
}

.serviceBlock .jigyoBoxItems .jigyoBoxBase2 {
  width: 100%;
  max-width: 1240px;
  display: flex;
  justify-content: flex-end;
}

.serviceBlock .jigyoBoxItems .jigyoBoxBase2 .jigyoBox2 {
  margin-top: 5rem;
  padding-top: 5rem;
  padding-bottom: 10rem;
  padding-left: 2rem;
  padding-right: 2rem;
  text-align: left;
  width: 80%;
  border-left: 2px solid #232323;
}

.serviceBlock .jigyoBoxItems .jigyoBoxBase2 .jigyoBox2 img {
  width: 110%;
  margin-left: -10%;
}

.serviceBlock .jigyoBoxItems .jigyoBoxBase2 .jigyoBox2 .jigyoNaiyo {
  padding-top: 3rem;
}

.serviceBlock .jigyoBoxItems .jigyoBoxBase2 .jigyoBox2 .serviceHorLine {
  margin-left: -20%;
}

.serviceBlock .jigyoBoxItems .jigyoBoxBase3 {
  width: 100%;
  max-width: 1240px;
}

.serviceBlock .jigyoBoxItems .jigyoBoxBase3 .jigyoBox3 {
  margin-top: 5rem;
  padding-top: 5rem;
  padding-bottom: 10rem;
  padding-left: 2rem;
  padding-right: 2rem;
  text-align: left;
  width: 80%;
  border-right: 2px solid #232323;
}

.serviceBlock .jigyoBoxItems .jigyoBoxBase3 .jigyoBox3 img {
  width: 110%;
}

.serviceBlock .jigyoBoxItems .jigyoBoxBase3 .jigyoBox3 .jigyoNaiyo {
  padding-top: 3rem;
}

.workBlock {
  text-align: center;
  padding-bottom: 8rem;
}

.workBlock .workItemBase {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10rem;
  padding-bottom: 10rem;
}

.workBlock .workItemBase .workItemBox {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 2px;
  row-gap: 2px;
  width: 80%;
  max-width: 1000px;
}

.workBlock .workItemBase .workItemBox img {
  max-width: 100%;
  transition: border 0.5s,border-radius 0.5s;
}

.workBlock .workItemBase .workItemBox img:hover {
  border: 3px solid #ebebeb;
  border-radius: 10px;
}

.workBlock .kuwashiku {
  border-radius: 1rem;
  height: 4rem;
  border: 2px solid #232323;
  padding-top: 1.2rem;
  padding-bottom: 1.2rem;
  padding-left: 4rem;
  padding-right: 4rem;
  font-size: 1.2rem;
  transition: background-color 0.5s, color 0.5s;
}

.workBlock .kuwashiku:hover {
  background-color: #232323;
  color: #fff;
}

.contactBlock {
  text-align: center;
  padding-bottom: 15rem;
  background-image: url(./../img/contact_back.webp);
  background-size: cover;
  background-position: center;
}

.contactBlock p {
  padding-top: 15rem;
  padding-bottom: 3rem;
  color: #131313;
  font-size: 1.1rem;
}

.contactBlock .tel {
  border-radius: 1rem;
  height: 4rem;
  border: 2px solid #783d29;
  color: #783d29;
  padding-top: 1.2rem;
  padding-bottom: 1.2rem;
  padding-left: 4rem;
  padding-right: 4rem;
  font-size: 1.2rem;
  transition: background-color 0.5s, color 0.5s;
}

.contactBlock .tel:hover {
  background-color: #783d29;
  color: #fff;
}

.jissekiBlock {
  text-align: center;
}

.jissekiBlock p {
  padding-top: 2rem;
}

.jissekiBlock .jissekiBase {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 5rem;
}

.jissekiBlock .jissekiBase .tableJisseki {
  border-collapse: collapse;
  table-layout: fixed;
  width: 98%;
  max-width: 1240px;
  border-radius: 2px;
  overflow: hidden;
  text-align: center;
}

.jissekiBlock .jissekiBase .tableJisseki thead tr .thName {
  background-color: #65321f;
  width: 30%;
}

.jissekiBlock .jissekiBase .tableJisseki thead tr .thMaterial {
  width: 35%;
}

.jissekiBlock .jissekiBase .tableJisseki thead tr .thAmount {
  width: 10%;
}

.jissekiBlock .jissekiBase .tableJisseki thead tr .thCity {
  width: 25%;
}

.jissekiBlock .jissekiBase .tableJisseki tr {
  background-color: #efefef;
  text-align: left;
}

.jissekiBlock .jissekiBase .tableJisseki tr:nth-child(even) {
  background-color: #fff;
}

.jissekiBlock .jissekiBase .tableJisseki th, .jissekiBlock .jissekiBase .tableJisseki td {
  padding: 0.2em;
}

.jissekiBlock .jissekiBase .tableJisseki thead th {
  background-color: #333;
  color: #fff;
  font-weight: bold;
  text-align: center;
}

.jissekiBlock .jissekiBase .tableJisseki tbody th {
  color: #5b5b5b;
  text-align: left;
}

.mapBlock iframe {
  width: 100%;
}

@media screen and (max-width: 640px) {
  .topBlock {
    overflow: hidden;
  }
  .topBlock .topImage {
    object-fit: cover;
    object-position: left;
    width: 0%;
  }
  .topBlock .topBody .title {
    width: 20rem;
    position: relative;
    margin-left: 0.9rem;
    /* 擬似要素横幅分 */
    padding-left: 3rem;
    /* テキスト開始位置 */
    padding-top: 0.3rem;
    transition: width 0.5s;
  }
  .topBlock .topBody .title:hover {
    width: 13rem;
  }
  .topBlock .topBody .topBGBlock::after {
    width: 640px;
  }
  .aboutBlock .aboutImg {
    width: 98%;
    overflow: hidden;
  }
  .serviceBlock .jigyoBoxItems .jigyoBoxBase1 .jigyoBox1 {
    width: 90%;
  }
  .serviceBlock .jigyoBoxItems .jigyoBoxBase1 .jigyoBox1 img {
    margin-left: -2rem;
    width: 120%;
  }
  .serviceBlock .jigyoBoxItems .jigyoBoxBase2 .jigyoBox2 {
    width: 90%;
  }
  .serviceBlock .jigyoBoxItems .jigyoBoxBase2 .jigyoBox2 img {
    margin-left: -4rem;
    width: 120%;
  }
  .serviceBlock .jigyoBoxItems .jigyoBoxBase2 .jigyoBox2 .serviceHorLine {
    margin-left: -20%;
  }
  .serviceBlock .jigyoBoxItems .jigyoBoxBase3 .jigyoBox3 {
    width: 90%;
  }
  .serviceBlock .jigyoBoxItems .jigyoBoxBase3 .jigyoBox3 img {
    margin-left: -2rem;
    width: 120%;
  }
  .jissekiBlock .jissekiBase .tableJisseki {
    border-radius: 0;
    text-align: left;
  }
  .jissekiBlock .jissekiBase .tableJisseki thead {
    display: none;
  }
  .jissekiBlock .jissekiBase .tableJisseki tr {
    background-color: unset;
  }
  .jissekiBlock .jissekiBase .tableJisseki th, .jissekiBlock .jissekiBase .tableJisseki td {
    display: block;
    border: 0;
    border-bottom: 1px solid #888;
  }
  .jissekiBlock .jissekiBase .tableJisseki tbody th {
    background: #888;
    color: #fff;
    text-align: center;
  }
}
