/*
Theme Name: Twenty Twenty-one Child
Version: 1.6
Template: twentytwentyone
*/
:root {
  --viewport-width: min(100vw, 2000px);
  --b: calc(var(--viewport-width) / 160);
}

#earthquake h2 {
  font-size: max(2.8rem, 21px);
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.15em;
}
#earthquake #residence {
  background: #fff;
}
#earthquake #residence .residence__wrapper {
  display: flex;
  align-items: center;
  gap: max(11.5rem, 25px);
  padding-top: max(11rem, 70px);
}
@media screen and (max-width: 1000px) {
  #earthquake #residence .residence__wrapper {
    flex-direction: column;
  }
}
#earthquake #residence .residence__wrapper .textBox {
  flex: 1;
}
#earthquake #residence .residence__wrapper .textBox hgroup {
  margin-bottom: max(3rem, 15px);
}
#earthquake #residence .residence__wrapper .textBox hgroup p {
  font-size: max(1.6rem, 14px);
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.15em;
}
#earthquake #residence .residence__wrapper .imageBox {
  flex-shrink: 0;
  align-self: stretch;
  width: max(68.5rem, 300px);
}
@media screen and (max-width: 1000px) {
  #earthquake #residence .residence__wrapper .imageBox {
    width: 100%;
    aspect-ratio: 137/91;
  }
}
#earthquake #residence .residence__wrapper .imageBox img {
  height: 100%;
}
#earthquake #strength {
  background: white;
}
#earthquake #strength .strength__wrapper {
  padding-top: max(10rem, 50px);
}
#earthquake #strength .strength__wrapper .strength__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: max(8rem, 30px);
}
@media screen and (max-width: 1000px) {
  #earthquake #strength .strength__wrapper .strength__content {
    margin-top: 30px;
    flex-direction: column-reverse;
  }
}
#earthquake #strength .strength__wrapper .strength__content .strength__table {
  width: 70%;
  margin-top: max(3rem, 30px);
  overflow-x: auto;
}
@media screen and (max-width: 1000px) {
  #earthquake #strength .strength__wrapper .strength__content .strength__table {
    width: 100%;
    margin-top: 0;
  }
}
#earthquake #strength .strength__wrapper .strength__content .strength__table table {
  width: 100%;
  min-width: 450px;
  border-collapse: collapse;
}
#earthquake #strength .strength__wrapper .strength__content .strength__table table thead tr {
  background: rgba(59, 49, 40, 0.7);
}
#earthquake #strength .strength__wrapper .strength__content .strength__table table thead tr th {
  padding: max(1rem, 10px);
  border-right: 1px solid #c2c0bd;
  text-align: center;
  vertical-align: middle;
  color: #fff;
  font-size: max(1.4rem, 12px);
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.1em;
}
#earthquake #strength .strength__wrapper .strength__content .strength__table table thead tr th.grade-row {
  width: max(12rem, 65px);
  min-width: 65px;
}
#earthquake #strength .strength__wrapper .strength__content .strength__table table tbody tr {
  border-bottom: 1px solid #c2c0bd;
}
#earthquake #strength .strength__wrapper .strength__content .strength__table table tbody tr:first-of-type {
  border-top: 1px solid #c2c0bd;
}
#earthquake #strength .strength__wrapper .strength__content .strength__table table tbody tr th,
#earthquake #strength .strength__wrapper .strength__content .strength__table table tbody tr td {
  padding: max(1rem, 10px) max(2rem, 15px);
  font-size: max(1.4rem, 12px);
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.1em;
  vertical-align: middle;
}
#earthquake #strength .strength__wrapper .strength__content .strength__table table tbody tr th sup,
#earthquake #strength .strength__wrapper .strength__content .strength__table table tbody tr td sup {
  font-size: max(1.2rem, 10px);
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
}
#earthquake #strength .strength__wrapper .strength__content .strength__table table tbody tr th br,
#earthquake #strength .strength__wrapper .strength__content .strength__table table tbody tr td br {
  line-height: inherit;
}
#earthquake #strength .strength__wrapper .strength__content .strength__table table tbody tr th {
  border-right: 1px solid #c2c0bd;
}
#earthquake #strength .strength__wrapper .strength__content .strength__table table tbody tr td:not(:last-of-type) {
  border-right: 1px solid #c2c0bd;
}
#earthquake #proof {
  background: #fff;
}
#earthquake #proof .proof__wrapper {
  display: flex;
  align-items: center;
  gap: max(6rem, 30px);
  padding-top: max(10rem, 50px);
}
@media screen and (max-width: 1000px) {
  #earthquake #proof .proof__wrapper {
    flex-direction: column;
  }
}
#earthquake #proof .proof__wrapper .textBox {
  flex: 1;
}
#earthquake #proof .proof__wrapper .proof__content {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: max(3rem, 20px);
}
@media screen and (max-width: 1000px) {
  #earthquake #proof .proof__wrapper .proof__content {
    width: 100%;
  }
}
@media screen and (max-width: 768px) {
  #earthquake #proof .proof__wrapper .proof__content {
    flex-direction: column;
  }
}
#earthquake #proof .proof__wrapper .proof__content .proof__image {
  width: max(34rem, 250px);
}
#earthquake #proof .proof__wrapper .proof__content .proof__table {
  flex: 1;
  width: 100%;
}
#earthquake #proof .proof__wrapper .proof__content .proof__table table {
  width: 100%;
  border-collapse: collapse;
}
#earthquake #proof .proof__wrapper .proof__content .proof__table table thead tr {
  border-top: 1px solid #c2c0bd;
}
#earthquake #proof .proof__wrapper .proof__content .proof__table table thead tr th {
  width: max(13.5rem, 90px);
  padding: max(1rem, 10px);
  text-align: center;
  vertical-align: middle;
  font-size: max(1.4rem, 12px);
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.1em;
  border-right: 1px solid #c2c0bd;
}
#earthquake #proof .proof__wrapper .proof__content .proof__table table thead tr th:last-of-type {
  border-right: 0;
  padding-right: 0;
}
#earthquake #proof .proof__wrapper .proof__content .proof__table table tbody tr {
  border-bottom: 1px solid #c2c0bd;
}
#earthquake #proof .proof__wrapper .proof__content .proof__table table tbody tr:first-of-type {
  border-top: 1px solid #c2c0bd;
}
#earthquake #proof .proof__wrapper .proof__content .proof__table table tbody tr th,
#earthquake #proof .proof__wrapper .proof__content .proof__table table tbody tr td {
  text-align: center;
  padding: max(1rem, 10px) max(2rem, 15px);
  font-size: max(1.4rem, 12px);
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.1em;
  vertical-align: middle;
}
#earthquake #proof .proof__wrapper .proof__content .proof__table table tbody tr th sup,
#earthquake #proof .proof__wrapper .proof__content .proof__table table tbody tr td sup {
  font-size: max(1.2rem, 10px);
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
}
#earthquake #proof .proof__wrapper .proof__content .proof__table table tbody tr th br,
#earthquake #proof .proof__wrapper .proof__content .proof__table table tbody tr td br {
  line-height: inherit;
}
#earthquake #proof .proof__wrapper .proof__content .proof__table table tbody tr th {
  border-right: 1px solid #c2c0bd;
}
#earthquake #proof .proof__wrapper .proof__content .proof__table table tbody tr td:not(:last-of-type) {
  border-right: 1px solid #c2c0bd;
}
#earthquake #diagnosis {
  background: #fff;
}
#earthquake #diagnosis .diagnosis__wrapper {
  padding-top: max(11rem, 50px);
}
#earthquake #diagnosis .diagnosis__wrapper .diagnosis__content {
  display: flex;
  align-items: center;
  gap: max(7rem, 30px);
  padding: max(4rem, 30px);
  background: rgba(59, 49, 40, 0.1);
}
@media screen and (max-width: 1000px) {
  #earthquake #diagnosis .diagnosis__wrapper .diagnosis__content {
    flex-direction: column;
  }
}
#earthquake #diagnosis .diagnosis__wrapper .diagnosis__content .textBox {
  flex: 1;
}
#earthquake #diagnosis .diagnosis__wrapper .diagnosis__content .textBox hgroup {
  margin-bottom: max(2.5rem, 15px);
}
#earthquake #diagnosis .diagnosis__wrapper .diagnosis__content .textBox hgroup p {
  color: rgba(59, 49, 40, 0.4);
  font-family: YakuHanJP, "Jost", "Noto Sans JP", sans-serif;
  font-size: max(1.8rem, 16px);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.05em;
}
#earthquake #diagnosis .diagnosis__wrapper .diagnosis__content .imageBox {
  flex-shrink: 0;
  width: max(44.5rem, 300px);
}
@media screen and (max-width: 1000px) {
  #earthquake #diagnosis .diagnosis__wrapper .diagnosis__content .imageBox {
    width: 100%;
  }
}/*# sourceMappingURL=earthquake-resistance.css.map */