.plan-mv {
  position: relative;
  overflow: hidden;
}
.plan-mv__photo picture,
.plan-mv__photo img {
  display: block;
  width: 100%;
  height: auto;
}
.plan-mv::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 52%;
  background: linear-gradient(to bottom, rgba(150, 128, 63, 0.82) 0%, rgba(150, 128, 63, 0.35) 45%, rgba(150, 128, 63, 0) 100%);
  z-index: 1;
  pointer-events: none;
}
.plan-mv__head {
  position: absolute;
  top: 10.375em;
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 2;
  font-size: clamp(16px, 1.25vw, 24px);
}
@media (max-width: 1024px) {
  .plan-mv__head {
    font-size: inherit;
  }
}
@media (max-width: 768px) {
  .plan-mv__head {
    top: 2.5em;
  }
}
.plan-mv__title {
  margin: 0;
}
.plan-mv__title img {
  display: inline-block;
  width: 41.875em;
  max-width: 84%;
  height: auto;
}
@media (max-width: 768px) {
  .plan-mv__title img {
    width: 20.625em;
  }
}
.plan-mv__credit {
  position: absolute;
  right: 1.25em;
  bottom: 1.25em;
  z-index: 2;
  margin: 0;
  font-size: 0.6875em;
  letter-spacing: 0.04em;
  color: #fff;
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}
@media (max-width: 768px) {
  .plan-mv__credit {
    right: 0.625em;
    bottom: 5.9375em;
    font-size: 0.5625em;
  }
}

.plan-intro {
  position: relative;
  z-index: 3;
  margin-top: -5.625em;
  padding: 0 1.25em;
}
@media (max-width: 768px) {
  .plan-intro {
    margin-top: -3em;
  }
}
.plan-intro__inner {
  position: relative;
  overflow: hidden;
  max-width: 55em;
  margin: 0 auto;
  padding: 3.5em 3em 3.125em;
  background: url("../images/plan/about_bg_pc.jpg") no-repeat center center/cover;
}
@media (max-width: 768px) {
  .plan-intro__inner {
    background-image: url("../images/plan/about_bg_sp.jpg");
    padding: 2.5em 1.5em 2.375em;
  }
}
.plan-intro__label {
  width: 12.5em;
  margin: 0 auto 1.25em;
}
.plan-intro__label picture {
  display: block;
  line-height: 0;
}
.plan-intro__label img {
  display: block;
  width: 100%;
  height: auto;
}
@media (max-width: 768px) {
  .plan-intro__label {
    width: 8.4375em;
    margin-bottom: 0.625em;
  }
}
.plan-intro__title {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 1.875em;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.6;
  text-align: center;
  color: #231815;
}
@media (max-width: 768px) {
  .plan-intro__title {
    font-size: 1.1875em;
  }
}

.plan-first {
  background-color: #fff;
  padding: 5em 1.25em 5em;
}
@media (max-width: 768px) {
  .plan-first {
    padding: 3.25em 0.9375em 3.625em;
  }
}
.plan-first__inner {
  max-width: 61.25em;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .plan-first__inner {
    max-width: none;
    width: 100%;
  }
}
.plan-first__head {
  width: 35em;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3em;
}
@media (max-width: 768px) {
  .plan-first__head {
    width: 19.5em;
    margin-bottom: 2em;
  }
}
.plan-first__subtitle {
  font-size: 1.5em;
  text-align: center;
  margin-bottom: 1.75em;
  letter-spacing: 0.08em;
  line-height: 2.04em;
}
@media (max-width: 768px) {
  .plan-first__subtitle {
    font-size: 0.9375em;
    margin-bottom: 2.5em;
  }
}

.plan-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.625em 0;
  list-style: none;
  padding: 0;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .plan-tags {
    gap: 0.4375em 0em;
  }
}
.plan-tags__item {
  position: relative;
  width: 47.9%;
  height: 4.625em;
  background: linear-gradient(to right, #dfd0b0 0%, #f2e7d8 100%);
  border: 1px solid #c8b485;
  text-align: center;
  font-size: 1.375em;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 4.625em;
}
.plan-tags__item::before {
  content: "";
  position: absolute;
  inset: 0.3125em;
  border: 2px solid #c6aa80;
  pointer-events: none;
}
@media (max-width: 768px) {
  .plan-tags__item {
    width: 100%;
    font-size: 1.1875em;
    height: 3.375em;
    line-height: 3.375em;
  }
}
.plan-tags__item small {
  display: inline-block;
  font-size: 0.6em;
}
@media (max-width: 768px) {
  .plan-tags__item small {
    font-size: 0.5em;
    margin-left: -0.2em;
    margin-right: -0.9em;
    letter-spacing: 0.05em;
  }
}

.plan-outpole {
  background-color: #fcfaf2;
  padding: 3.625em 1.25em 5.625em;
}
@media (max-width: 768px) {
  .plan-outpole {
    padding: 2.5em 0.9375em 3.5em;
  }
}
.plan-outpole__inner {
  max-width: 61.25em;
  margin: 0 auto;
  text-align: center;
}
@media (max-width: 768px) {
  .plan-outpole__inner {
    max-width: none;
    width: 100%;
  }
}
.plan-outpole__title {
  width: 37.5em;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.375em;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #79540d;
  border-bottom: 1px solid #79540d;
  padding-bottom: 0.3em;
  margin-bottom: 2.5em;
}
@media (max-width: 768px) {
  .plan-outpole__title {
    width: 100%;
    font-size: 1.125em;
    margin-bottom: 1.875em;
  }
}
.plan-outpole__layout {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 4.375em;
  text-align: left;
}
@media (max-width: 768px) {
  .plan-outpole__layout {
    flex-direction: column;
    align-items: center;
    gap: 1.875em;
    text-align: left;
  }
}
.plan-outpole__main {
  max-width: 29.375em;
}
.plan-outpole__floorplan {
  width: 17.5em;
  flex-shrink: 0;
  line-height: 0;
}
.plan-outpole__floorplan img {
  display: block;
  width: 100%;
  height: auto;
}
@media (max-width: 768px) {
  .plan-outpole__floorplan {
    width: 13.75em;
  }
}
.plan-outpole__lead {
  font-size: 1em;
  line-height: 1.9;
  letter-spacing: 0.04em;
}
@media (max-width: 768px) {
  .plan-outpole__lead {
    font-size: 0.875em;
    line-height: 1.8;
  }
}
.plan-outpole__lead .sub_txt {
  font-size: 0.75em;
}
@media (max-width: 768px) {
  .plan-outpole__lead .sub_txt {
    font-size: 0.75em;
  }
}
.plan-outpole__memo {
  /* max-width: em(300); */
  margin: 2.3125em 0 2.875em;
  padding: 1em 1.25em;
  border: 1px solid #c8bfb0;
  background-color: #fff;
  font-size: 0.75em;
  line-height: 1.4;
  letter-spacing: 0.02em;
}
@media (max-width: 768px) {
  .plan-outpole__memo {
    /* max-width: em(280); */
    margin: 1.75em auto 2.125em;
    padding: 0.875em 1em;
    font-size: 0.6875em;
  }
}
.plan-outpole__compare {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 5em;
}
@media (max-width: 768px) {
  .plan-outpole__compare {
    justify-content: center;
    gap: 1.25em;
  }
}
.plan-outpole__col {
  width: 13.125em;
}
@media (max-width: 768px) {
  .plan-outpole__col {
    width: 47%;
  }
}
.plan-outpole__label {
  font-size: 1em;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 1em;
}
@media (max-width: 768px) {
  .plan-outpole__label {
    font-size: 0.8125em;
    margin-bottom: 0.625em;
  }
}
.plan-outpole__diagram {
  width: 100%;
  max-width: 12.0625em;
  line-height: 0;
}
.plan-outpole__diagram img {
  display: block;
  width: 100%;
  height: auto;
}
.plan-outpole__captions {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 2.5em;
  width: 100%;
  margin-top: 1.375em;
}
@media (max-width: 768px) {
  .plan-outpole__captions {
    flex-direction: column;
    gap: 0.75em;
    margin-top: 0.75em;
  }
}
.plan-outpole__caption-col {
  flex: 1;
}
.plan-outpole__caption {
  font-size: 1em;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 0.8125em;
}
@media (max-width: 768px) {
  .plan-outpole__caption {
    font-size: 0.8125em;
    margin-bottom: 0.5em;
  }
}
.plan-outpole__body {
  font-size: 0.75em;
  line-height: 1.8;
  letter-spacing: 0.02em;
}
@media (max-width: 768px) {
  .plan-outpole__body {
    font-size: 0.6875em;
  }
}
.plan-outpole__notes {
  font-size: 0.625em;
  line-height: 1.7;
  letter-spacing: 0.02em;
  margin-top: 1.75em;
}
@media (max-width: 768px) {
  .plan-outpole__notes {
    font-size: 0.5625em;
    margin-top: 1.25em;
  }
}

.plan-view {
  background-color: #fff;
  padding: 3.125em 0em 0em;
  text-align: center;
}
@media (max-width: 768px) {
  .plan-view {
    padding: 1.875em 0em 0em;
  }
}
.plan-view__caption {
  margin: 0 0 1.875em;
  font-size: 1.4375em;
  letter-spacing: 0.1em;
  line-height: 1.85;
}
@media (max-width: 768px) {
  .plan-view__caption {
    font-size: 0.9375em;
    margin-bottom: 1em;
  }
}
.plan-view__frame {
  position: relative;
  height: 22.25em;
}
@media (max-width: 768px) {
  .plan-view__frame {
    height: 11.375em;
  }
}
.plan-view__viewport {
  width: 100%;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.plan-view__viewport::-webkit-scrollbar {
  display: none;
}
.plan-view__viewport.is-grabbing {
  cursor: grabbing;
}
.plan-view__viewport picture {
  display: block;
  height: 100%;
}
.plan-view__viewport img {
  display: block;
  height: 100%;
  width: auto;
  max-width: none;
  user-select: none;
  -webkit-user-drag: none;
}
.plan-view__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 1.5em;
  height: 1.5em;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.plan-view__arrow:hover {
  opacity: 0.8;
}
.plan-view__arrow img {
  display: block;
  width: 100%;
  height: auto;
}
.plan-view__arrow--prev {
  left: 1.25em;
}
.plan-view__arrow--next {
  right: 1.25em;
}
@media (max-width: 768px) {
  .plan-view__arrow {
    width: 1.25em;
    height: 1.25em;
  }
  .plan-view__arrow--prev {
    left: 0.5em;
  }
  .plan-view__arrow--next {
    right: 0.5em;
  }
}

.plan-floor {
  background-color: #fff;
  padding: 5em 0em;
}
@media (max-width: 768px) {
  .plan-floor {
    padding: 1.75em 0em 3.75em;
  }
}
.plan-floor__inner {
  max-width: 43.125em;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
}
@media (max-width: 768px) {
  .plan-floor__inner {
    max-width: none;
    width: 100%;
    display: block;
  }
}
.plan-floor__diagram {
  width: 34.1%;
}
@media (max-width: 768px) {
  .plan-floor__diagram {
    width: 14.6875em;
    margin-left: auto;
    margin-right: auto;
  }
}
.plan-floor__map {
  width: 57%;
}
@media (max-width: 768px) {
  .plan-floor__map {
    width: 16.25em;
    margin-left: 5em;
    margin-right: 0;
    margin-bottom: 2.9375em;
  }
}

.plan-types__inner {
  max-width: 43.125em;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .plan-types__inner {
    max-width: none;
    width: 22.5em;
  }
}
.plan-types__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75em 0;
}
@media (max-width: 768px) {
  .plan-types__grid {
    gap: 1.625em 0em;
  }
}

.plan-card,
.plan-card-link {
  width: 48.1%;
}
@media (max-width: 768px) {
  .plan-card,
  .plan-card-link {
    width: 100%;
  }
}

.plan-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.plan-card-link:hover {
  opacity: 0.85;
}
.plan-card-link .plan-card {
  width: 100%;
}

.plan-ctype {
  margin-top: 6.25em;
  margin-bottom: 3.75em;
  scroll-margin-top: calc(4.75em + 1.25em);
}
@media (max-width: 768px) {
  .plan-ctype {
    margin-top: 4em;
    margin-bottom: 0em;
  }
}
@media (max-width: 1024px) {
  .plan-ctype {
    scroll-margin-top: calc(3.75em + 1.25em);
  }
}
.plan-ctype__inner {
  max-width: 50em;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .plan-ctype__inner {
    max-width: none;
    width: 100%;
  }
}
.plan-ctype__head {
  line-height: 0;
}
@media (max-width: 768px) {
  .plan-ctype__head {
    width: 22.5em;
    margin-left: auto;
    margin-right: auto;
  }
}
.plan-ctype__body {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
@media (max-width: 768px) {
  .plan-ctype__body {
    flex-direction: column;
    gap: 1.5em;
    padding: 0 0.9375em;
  }
}
.plan-ctype__meta {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0em 2.5em;
  padding: 0.625em 0em;
  border-bottom: 1px solid #af7900;
  margin-bottom: 3.75em;
}
@media (max-width: 768px) {
  .plan-ctype__meta {
    max-width: 22.5em;
    margin-left: auto;
    margin-right: auto;
    padding: 1.25em 0.9375em 0.625em;
    margin-bottom: 1.875em;
    border-bottom: 1px solid #af7900;
  }
}
.plan-ctype__meta-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0em 0.625em;
}
@media (max-width: 768px) {
  .plan-ctype__meta-main {
    width: 100%;
    gap: 0em 0.625em;
    justify-content: center;
    padding-bottom: 0.3125em;
    margin-bottom: 0.3125em;
  }
}
.plan-ctype__meta-label {
  font-size: 0.875em;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1;
  padding-top: 0.3em;
}
@media (max-width: 768px) {
  .plan-ctype__meta-label {
    font-size: 0.8125em;
  }
}
.plan-ctype__meta-value {
  font-size: 2.3125em;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1;
}
@media (max-width: 768px) {
  .plan-ctype__meta-value {
    font-size: 2.1875em;
  }
}
.plan-ctype__meta-unit {
  font-size: 0.5em;
}
.plan-ctype__meta-sub {
  font-size: 0.8125em;
  letter-spacing: 0.04em;
  line-height: 2;
}
@media (max-width: 768px) {
  .plan-ctype__meta-sub {
    font-size: 0.8125em;
    text-align: center;
    line-height: 1.7;
  }
}
.plan-ctype__meta-sub p {
  margin: 0;
}
.plan-ctype__features {
  width: 35.9%;
  display: flex;
  flex-direction: column;
  padding-top: 4.375em;
}
@media (max-width: 768px) {
  .plan-ctype__features {
    width: 100%;
    display: block;
    padding-top: 0em;
  }
}
.plan-ctype__hanrei {
  display: block;
  width: 100%;
  height: auto;
  margin-top: auto;
  padding-top: 1.25em;
}
@media (max-width: 768px) {
  .plan-ctype__hanrei {
    display: none;
  }
}
.plan-ctype__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9375em;
}
@media (max-width: 768px) {
  .plan-ctype__list {
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    gap: 0.3125em 0em;
  }
}
.plan-ctype__item {
  background-image: url(../images/plan/txt_bg02_pc.svg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  width: 100%;
  height: 6.25em;
  font-size: 1em;
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.04em;
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
@media (max-width: 768px) {
  .plan-ctype__item {
    width: 100%;
    height: 2.625em;
    font-size: 0.875em;
    letter-spacing: 0;
  }
}
.plan-ctype__photo {
  width: 56.1%;
}
@media (max-width: 768px) {
  .plan-ctype__photo {
    width: 100%;
  }
}

.notes {
  border-bottom: 1px solid #aa7721;
  width: 100%;
  max-width: none;
  margin-bottom: 4.6875em;
}
.notes__inner {
  max-width: 50em;
  width: 90%;
  margin: 0 auto;
  margin-bottom: 2.5em;
}

@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
