#post-reconstruction {
  --reconstruction-thumb-width: 42%;
  --reconstruction-thumb-max-width: 52rem;
  --reconstruction-thumb-ratio: 4 / 5;
  --reconstruction-content-gap: 6rem;
  max-width: 163rem;
  width: 100%;
  margin: 0 auto;
  padding: 6rem 8rem 10rem;
  background: #fafafa;
}

body#reconstruction01 #post-reconstruction {
  --reconstruction-thumb-width: 100%;
  --reconstruction-thumb-max-width: 60rem;
  --reconstruction-thumb-ratio: 4 / 5;
  --reconstruction-content-gap: 5rem;
}

body#reconstruction02 #post-reconstruction,
body#reconstruction03 #post-reconstruction,
body#reconstruction04 #post-reconstruction {
  --reconstruction-thumb-width: 100%;
  --reconstruction-thumb-max-width: 68rem;
  --reconstruction-thumb-ratio: 16 / 10;
  --reconstruction-content-gap: 4.5rem;
}

#post-reconstruction .type span {
  display: inline-flex;
  color: #fff;
  background: #e60013;
  font-size: 1.3rem;
  letter-spacing: 0.07em;
  padding: 0.1rem 0.8rem;
  margin: 0 0 2rem;
}

#post-reconstruction .entry-title {
  font-size: 4rem;
  line-height: 1.2;
  margin: 0 0 6rem;
}

#post-reconstruction .property-info {
  display: flex;
  gap: var(--reconstruction-content-gap);
  align-items: flex-start;
  margin: 0 0 8rem;
}

#post-reconstruction .property-info_box {
  flex: 1 1 auto;
  min-width: 0;
}

#post-reconstruction .detail-thumb {
  width: var(--reconstruction-thumb-width);
  max-width: var(--reconstruction-thumb-max-width);
}

#post-reconstruction .detail-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: var(--reconstruction-thumb-ratio);
  object-fit: cover;
  border-radius: 1.2rem;
}

#post-reconstruction .detail-info {
  font-size: 1.8rem;
}

#post-reconstruction .detail-info dl {
  display: flex;
  padding: 1.8rem 0;
  border-bottom: solid 1px #c3c3c3;
}

#post-reconstruction .detail-info dl:last-child {
  border-bottom: 0;
}

#post-reconstruction .detail-info dt {
  width: 12.5rem;
  font-weight: bold;
}

#post-reconstruction .detail-info dd {
  width: calc(100% - 12.5rem);
}

#post-reconstruction .entry-content {
  font-size: 1.8rem;
  line-height: 2.05;
  margin: 3.2rem 0 0;
}

#post-reconstruction .entry-content p+p {
  margin-top: 2.2rem;
}

#post-reconstruction .property-info_ttl {
  font-size: 2.3rem;
  font-weight: bold;
  line-height: 1.4;
  padding: 1.2rem 2.6rem;
  background: #ebebeb;
  position: relative;
}

#post-reconstruction .property-info_ttl::before {
  content: "";
  position: absolute;
  width: 0.7rem;
  height: 100%;
  background: #e60013;
  top: 0;
  left: 0;
}

.reconstruction-flow {
  display: grid;
  gap: 1.8rem;
  list-style: none;
  padding: 0;
  margin: 3.6rem 0 4.5rem;
}

.reconstruction-flow li {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding: 2rem 2.4rem;
  background: #fff;
  border: 1px solid #e3e3e3;
  border-radius: 1.2rem;
}

.reconstruction-flow .step-number {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 5.2rem;
  width: 5.2rem;
  height: 5.2rem;
  border-radius: 50%;
  background: #e60013;
  color: #fff;
  font-size: 1.6rem;
  font-weight: bold;
  letter-spacing: 0.08em;
}

.reconstruction-flow .step-text {
  flex: 1 1 auto;
  font-size: 1.7rem;
  line-height: 1.8;
  margin: 0;
  padding-top: 1rem;
}

.reconstruction-closing {
  font-size: 1.8rem;
  line-height: 1.9;
  background: #fff;
  border-radius: 1.2rem;
  padding: 3rem;
  margin: 0 0 7rem;
}

.reconstruction-closing p+p {
  margin-top: 1.8rem;
}

.reconstruction-closing a {
  color: #e60013;
  text-decoration: underline;
}

.reconstruction-gallery {
  display: grid;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 3.6rem 0 7rem;
}

.reconstruction-gallery--before {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.reconstruction-gallery--after {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.reconstruction-gallery li {
  background: #fff;
  border-radius: 1.2rem;
  overflow: hidden;
}

.reconstruction-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.reconstruction-work-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem 2rem;
  list-style: none;
  padding: 0;
  margin: 3.6rem 0 7rem;
}

.reconstruction-work-list li {
  position: relative;
  font-size: 1.7rem;
  line-height: 1.75;
  background: #fff;
  border-radius: 1.2rem;
  padding: 2rem 2rem 2rem 4rem;
}

.reconstruction-work-list li::before {
  content: "";
  position: absolute;
  top: 2.8rem;
  left: 2rem;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: #e60013;
}

.reconstruction-outline {
  margin: 3.6rem 0 7rem;
}

.reconstruction-stage-list {
  display: grid;
  gap: 2.4rem;
  list-style: none;
  padding: 0;
  margin: 3.6rem 0 7rem;
}

.reconstruction-stage-card {
  background: #fff;
  border-radius: 1.2rem;
  padding: 2.4rem;
}

.reconstruction-stage-head {
  display: flex;
  gap: 1.8rem;
  align-items: center;
}

.reconstruction-stage-title {
  font-size: 2rem;
  line-height: 1.6;
  margin: 0;
}

.reconstruction-stage-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
}

.reconstruction-stage-gallery li {
  border-radius: 1rem;
  overflow: hidden;
}

.reconstruction-stage-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

#post-reconstruction .property_btn {
  display: flex;
  justify-content: center;
}

#post-reconstruction .property_btn .btn_link01 {
  margin: 0 auto;
}

@media screen and (max-width: 767px) {
  #post-reconstruction {
    padding: 3.8rem 2rem 6.6rem;
  }

  #post-reconstruction .type span {
    font-size: 1.2rem;
    margin: 0 0 1.4rem;
  }

  #post-reconstruction .entry-title {
    font-size: 2.2rem;
    margin: 0 0 2.6rem;
  }

  #post-reconstruction .property-info {
    flex-direction: column-reverse;
    gap: 2.6rem;
    margin: 0 0 3.6rem;
  }

  #post-reconstruction .property-info_box,
  #post-reconstruction .detail-thumb {
    width: 100%;
  }

  #post-reconstruction .detail-thumb img {
    aspect-ratio: 4 / 3;
  }

  #post-reconstruction .detail-info,
  #post-reconstruction .entry-content,
  .reconstruction-closing {
    font-size: 1.4rem;
  }

  #post-reconstruction .detail-info dl {
    padding: 1.3rem 0;
  }

  #post-reconstruction .detail-info dt {
    width: 7.2rem;
  }

  #post-reconstruction .detail-info dd {
    width: calc(100% - 7.2rem);
  }

  #post-reconstruction .entry-content {
    line-height: 1.9;
    margin: 2.4rem 0 0;
  }

  #post-reconstruction .entry-content p+p {
    margin-top: 1.6rem;
  }

  #post-reconstruction .property-info_ttl {
    font-size: 1.6rem;
    padding: 1rem 2rem;
  }

  .reconstruction-flow {
    gap: 1.2rem;
    margin: 2.4rem 0 3rem;
  }

  .reconstruction-flow li {
    gap: 1.2rem;
    padding: 1.5rem;
  }

  .reconstruction-flow .step-number {
    min-width: 3.8rem;
    width: 3.8rem;
    height: 3.8rem;
    font-size: 1.2rem;
  }

  .reconstruction-flow .step-text {
    font-size: 1.4rem;
    line-height: 1.7;
    padding-top: 0.4rem;
  }

  .reconstruction-closing {
    padding: 2rem 1.6rem;
    margin: 0 0 4rem;
  }

  .reconstruction-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin: 2.4rem 0 4rem;
  }

  .reconstruction-work-list {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 2.4rem 0 4rem;
  }

  .reconstruction-work-list li {
    font-size: 1.4rem;
    padding: 1.6rem 1.4rem 1.6rem 3.2rem;
  }

  .reconstruction-work-list li::before {
    top: 2.2rem;
    left: 1.5rem;
    width: 0.7rem;
    height: 0.7rem;
  }

  .reconstruction-outline {
    margin: 2.4rem 0 4rem;
  }

  .reconstruction-stage-list {
    gap: 1.6rem;
    margin: 2.4rem 0 4rem;
  }

  .reconstruction-stage-card {
    padding: 1.6rem;
  }

  .reconstruction-stage-head {
    gap: 1.2rem;
    align-items: flex-start;
  }

  .reconstruction-stage-title {
    font-size: 1.5rem;
    line-height: 1.65;
    padding-top: 0.6rem;
  }

  .reconstruction-stage-gallery {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.4rem;
  }

  #post-reconstruction .property_btn .btn_link01 {
    width: 100%;
    justify-content: center;
  }
}