@charset "UTF-8";
.fadein {
  opacity: 0;
  transition-duration: 1.8s;
  transition-property: opacity;
}

.scroll-on {
  opacity: 1;
}

.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;
}

.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;
  background-image: url(./../img/jisseki-bg.webp);
  background-size: cover;
  background-position: bottom;
}

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

.jissekiBlock .linkBox {
  text-align: left;
  padding-top: 3rem;
  padding-left: 4rem;
  padding-bottom: 1.5rem;
}

.jissekiBlock .linkBox .subTitle {
  position: relative;
}

.jissekiBlock .linkBox .subTitle::before {
  content: '　';
  width: 0.5rem;
  height: 0.5rem;
  border: 1.8px solid #333;
  background-color: #fff;
  position: absolute;
  left: -1rem;
  bottom: 0.46rem;
}

.jissekiBlock .linkBox .linkItems {
  margin-left: 2.5rem;
}

.jissekiBlock .linkBox .linkItems .linkItem {
  display: inline;
  margin-left: 0.3rem;
  margin-right: 0.3rem;
  transition: border-bottom 0.1s;
}

.jissekiBlock .linkBox .linkItems .linkItem:hover {
  border-bottom: 2.5px solid #65321f;
}

.jissekiBlock .linkBox .linkItems .minBr {
  height: 0px;
  display: none;
}

.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;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.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;
}

.jissekiBlock .jissekiBase .tableJisseki tbody .yearTitle {
  font-size: 1rem;
}

.jissekiBlock .jissekiBase .tableJisseki tbody .yearTitle th, .jissekiBlock .jissekiBase .tableJisseki tbody .yearTitle td {
  background-color: #65321f;
  color: #fff;
  text-align: center;
  padding: 0.5rem;
}

.mapBlock iframe {
  width: 100%;
}

@media screen and (max-width: 640px) {
  .jissekiBlock h4 {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
  }
  .jissekiBlock .titleBox {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }
  .jissekiBlock .linkBox .linkItems .minBr {
    display: inherit;
  }
  .jissekiBlock .jissekiBase .tableJisseki {
    border-radius: 0;
    text-align: left;
  }
  .jissekiBlock .jissekiBase .tableJisseki thead {
    display: none;
  }
  .jissekiBlock .jissekiBase .tableJisseki th, .jissekiBlock .jissekiBase .tableJisseki td {
    display: block;
    border: 0;
    border-bottom: 1px solid #888;
  }
  .jissekiBlock .jissekiBase .tableJisseki tbody .yearTitle {
    font-size: 1.3rem;
  }
  .jissekiBlock .jissekiBase .tableJisseki tbody .yearTitle .material {
    display: none;
  }
  .jissekiBlock .jissekiBase .tableJisseki tbody .yearTitle .amount {
    display: none;
  }
  .jissekiBlock .jissekiBase .tableJisseki tbody .yearTitle .city {
    display: none;
  }
  .jissekiBlock .jissekiBase .tableJisseki tbody .yearTitle th {
    background-color: #65321f;
  }
  .jissekiBlock .jissekiBase .tableJisseki tbody th {
    background: #444;
    color: #fff;
    text-align: center;
  }
}
