html {
  scroll-padding: 70px;
}

#contents {
  /* max-width: 1000px; */
  max-width: unset;
}

@media screen and (max-width: 767px) {
  #contents {
    width: 100%;
  }
}

#contents .con_wrap {
  margin-top: 3vw;
  position: relative;
  padding-block: 10vw;
  width: 100%;
}

#contents .con_wrap::before {
  position: absolute;
  content: "";
  width: 100%;
  left: 50%;
  top: 50%;
  height: 100%;
  transform: translate(-50%, -50%);
  background-color: rgba(112, 112, 112, 0.18);
  z-index: 0;
}

#contents .con_wrap .con_inner {
  max-width: 1000px;
  margin-inline: auto;
  width: 90%;
}

#contents .con_wrap {
  margin-top: 3vw;
  position: relative;
  padding-block: 10vw;
}

/* TYPE */
#type {
  padding-top: 5vw;
}

#contents #type_wrap {
  padding-top: 5vw;
}

/* TYPE - layout */
#type .layout {
  background-color: #fff;
  position: relative;
  z-index: 1;
}


#type .layout .outline {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1rem 2rem;
  background: rgba(151, 141, 130, 0.40);

}

#type .layout .outline .name {
  font-size: 2.8rem;
}

#type .layout .outline .name large {
  font-size: 150%;
}

#type .layout .outline .plan {
  font-size: 3.2rem;
}

#type .layout .outline .plan large {
  font-size: 140%;
}

#type .layout .outline .plan small {
  font-size: 80%;
}

#type .layout .explanation {
  padding: 3rem;
}

#type .layout .explanation .spec {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

#type .layout .explanation .spec .exclusive {
  display: flex;
  gap: 2rem;
  font-size: 2rem;
}

#type .layout .explanation .spec .exclusive span {
  font-size: 130%;
}

#type .layout .explanation .spec .exclusive span large {
  font-size: 130%;
}

#type .layout .explanation .spec .exclusive small {
  font-size: 80%;
}

#type .layout .explanation .spec .exclusive span.annotation {
  display: block;
  font-size: 80%;
}

#type .layout .explanation .spec .share {
  display: flex;
  gap: 2rem;
  font-size: 1.6rem;
}

#type .layout .explanation .merit {
  display: flex;
  gap: 2rem;
  margin-top: 4rem;
  padding: 2rem 1rem;
}

#type .layout .explanation .merit ol {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: unset;
}

#type .layout .explanation .merit ol li {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  padding: 2rem;
  min-height: 8em;
  background-color: rgba(170, 170, 136, .15);
  border-left: var(--leadcolor-) solid 3px;
  border-top: 1px solid #978D82;
  border-bottom: 1px solid #978D82;
}

#type .layout .explanation .merit ol li span {
  font-size: 1.4rem;
  line-height: 2rem;
}

#type .layout .explanation .merit ol li span.n {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--bodycolor);
  background-color: #978D82;
  color: #fff;
}

#type .layout .explanation .merit ol li span:not(.n) {
  width: fit-content;
}

#type .layout .floormap {
  margin: auto;
  padding: 3rem;
  max-width: 1000px;
  position: relative;
}

.floormap #type .layout .floormap .usageguide {
  margin-top: 2rem;
  font-size: 1.3rem;
  line-height: 2rem;
}

#type .layout .floormap .usageguide picture {
  width: 80%;
  max-width: 350px;
  display: inline-block;
  margin-top: 10px;
}


#type .layout .floormap .usageguide img {
  width: 100%;
  height: 1.3rem;
}

#type .layout .floormap .usageguide .annotation {
  display: block;
  margin-top: 1rem;
  font-size: 1.1rem;
  line-height: 1.5rem;
}


#type .typeNavigation {
  position: sticky;
  top: 50%;
  z-index: 1;
}

#type .typeNavigation>* {
  position: absolute;
  bottom: 1rem;
  width: 6rem;
  height: 6rem;
  border-radius: 6rem;
  background-color: #707070;
}

#type .typeNavigation>*>a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 1.2rem;
  line-height: 0;
  color: #f1f1ec;
  text-decoration: none;
  transition: var(--button);
}

#type .typeNavigation>*>a:hover {
  opacity: .6;
  color: var(--bodycolor);
}

#type .typeNavigation .prev {
  padding-right: .2rem;
  left: -3rem;
}

#type .typeNavigation .fwrd {
  padding-left: .2rem;
  right: -3rem;
}

#type .bels {
  margin-top: 8rem;
}

#type .bels img {
  display: block;
  margin: auto;
  max-width: 480px;
}

#type:not(.type3) .bels {
  display: none;
}




/* BUTTONS */

#buttons {
  position: relative;
  z-index: 1;
}

#buttons .page_ttl_area {
  position: relative;
  background-color: transparent;
  margin-block: 10vw 3vw;
  width: 100%;
  box-sizing: border-box;
  border-bottom: 1px solid #978D82;
  padding-bottom: 1vw;
}

#buttons .page_ttl_area .page_ttl {
  font-size: 4.0rem;
  letter-spacing: .1em;
}

#buttons .page_ttl_area .page_ttl .cgaramond {
  position: relative;
}

#buttons .page_ttl_area .page_ttl span:last-child {
  letter-spacing: .2rem;
  color: var(--bodycolor);
}

#buttons ol li {
  max-width: 500px;
  width: 90%;
  margin-inline: auto;
}


@media screen and (min-width: 768px) and (max-width: 1300px) {}



@media screen and (max-width: 767px) {
  #type .layout .outline .name {
    font-size: 2rem;
  }

  #type .layout .outline .plan {
    font-size: 2.4rem;
  }

  #type .layout .explanation {
    padding: 1rem;
  }

  #type .layout .explanation .spec .exclusive {
    flex-direction: column;
    gap: .5rem;
    font-size: 1.7rem;
  }

  #type .layout .explanation .spec .exclusive span {
    font-size: 160%;
  }

  #type .layout .explanation .spec .share {
    flex-direction: column;
    gap: .5rem;
  }

  #type .layout .explanation .merit {
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
    padding: unset;
  }

  #type .layout .explanation .merit ol {
    gap: 1rem;
  }

  #type .layout .explanation .merit ol li {
    padding: 1rem;
    width: 100%;
    min-height: unset;
  }

  #type .layout .explanation .merit ol li span {
    font-size: 1.2rem;
  }

  #type .layout .floormap {
    padding: 1rem;
  }

  #type .layout .floormap .usageguide {
    font-size: 1rem;
  }

  #type .layout .floormap .usageguide img {
    height: 3rem;
  }

  #type .layout .floormap .usageguide .annotation {
    font-size: .8rem;
  }

  #type .typeNavigation {}

  #type .typeNavigation .prev {
    left: -1rem;
    width: 2rem;
    border-radius: unset;
  }

  #type .typeNavigation .fwrd {
    right: -1rem;
    width: 2rem;
    border-radius: unset;
  }

  #type .bels {
    margin: 4rem auto 0;
    width: 80%;
  }

  /* BUTTONS */

  #buttons .page_ttl_area {
    margin-block: 10vw 10vw;
  }

}