@charset "utf-8";

/******************************************
    커뮤니티
******************************************/

.page_content .community.page_container {
  max-width: 100%;
}

.community__intro {
  margin-bottom: 60px;
  font-family: var(--font-serif);
  text-align: center;
  letter-spacing: -0.03em;
}

.community__intro p {
  margin-bottom: 10px;
  font-size: 30px;
}

.community__intro h3 {
  color: var(--label-strong);
  font-size: 54px;
  font-weight: 700;
}

.community__floor-heading {
  margin-bottom: 20px;
}

.community__floor-heading h3 {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--primary-normal);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.25;
}

.community__floor-heading strong {
  font-weight: 700;
}

.community__floor-heading p {
  margin-top: 15px;
  color: #444;
  font-size: 20px;
  line-height: 1.4;
  word-break: keep-all;
}

.community__floor-separator {
  position: relative;
  width: 1px;
  height: 25px;
  flex-shrink: 0;
}

.community .community__floor-separator > img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 25px;
  height: auto;
  max-width: none;
  transform: translate(-50%, -50%) rotate(90deg);
}

.community__photo {
  position: relative;
  min-width: 0;
  overflow: hidden;
  isolation: isolate;
}

.community .community__photo > img {
  position: absolute;
  display: block;
  max-width: none;
  object-fit: cover;
}

.community__photo figcaption {
  position: absolute;
  z-index: 1;
  right: 10px;
  bottom: 8px;
  color: var(--white);
  font-size: 14px;
  line-height: 1.2143;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .7);
}

.community__floor-content {
  display: grid;
  min-width: 0;
}

.community__floor--sports .community__floor-content {
  grid-template-columns: minmax(0, 35.4091fr) minmax(0, 31.0508fr) minmax(0, 27fr);
  column-gap: 42.682px;
  row-gap: 10px;
  align-items: end;
}

.community__photo--gym {
  grid-column: 1 / -1;
  aspect-ratio: 1300 / 599;
}

.community .community__photo--gym > img {
  top: -6.6778%;
  left: 0;
  width: 100.5385%;
  height: 108.8481%;
}

.community__photos--sports {
  display: grid;
  grid-column: 3;
  grid-row: 2;
  grid-template-rows: minmax(0, 216fr) minmax(0, 197fr);
  gap: 8px;
  aspect-ratio: 351 / 421;
}

.community .community__photo--yoga > img {
  top: 0;
  left: 0;
  width: 100%;
  height: 194.9074%;
}

.community .community__photo--golf > img {
  top: -113.7056%;
  left: 0;
  width: 100%;
  height: 213.7056%;
}

.community__site-plan {
  min-width: 0;
}

.community .community__site-plan img,
.community .community__key-plan img {
  width: 100%;
  height: auto;
}

.community__floor--sports .community__site-plan {
  grid-column: 1;
  grid-row: 2;
  margin-bottom: 38px;
}

.community__floor-list {
  color: #333;
  font-size: 18px;
  line-height: 1.5;
  word-break: keep-all;
}

.community__floor-list > li {
  display: list-item;
  list-style: decimal inside;
  padding-left: 13px;
  text-indent: -13px;
}

.community__floor--sports .community__floor-list {
  grid-column: 2;
  grid-row: 2;
  margin-bottom: 34px;
}

.community .community__divider {
  display: block;
  width: 100%;
  height: 1px;
  margin: 100px 0;
}

.community__floor--culture .community__floor-content {
  grid-template-columns: minmax(0, 35.3846fr) minmax(0, 50fr);
  column-gap: 190px;
  row-gap: 36px;
  align-items: end;
}

.community__photos--culture {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.community__photo--pet,
.community__photo--kitchen {
  aspect-ratio: 640 / 341;
}

.community .community__photo--pet > img,
.community .community__photo--kitchen > img {
  top: 0;
  width: 203.125%;
  height: 100%;
}

.community .community__photo--pet > img {
  left: 0;
}

.community .community__photo--kitchen > img {
  left: -103.125%;
}

.community__floor-lists {
  display: grid;
  grid-template-columns: minmax(0, 241fr) minmax(0, 206fr) minmax(0, 203fr);
  min-width: 0;
}

.community__floor--stay .community__floor-content {
  grid-template-columns: minmax(0, 790fr) minmax(0, 459.504fr);
  gap: 22px 46px;
  padding-right: 4.496px;
}

.community__photo--cafe {
  grid-column: 1;
  grid-row: 1 / 3;
  aspect-ratio: 790 / 466;
}

.community .community__photo--cafe > img {
  top: -6.4378%;
  left: -4.3038%;
  width: 117.9747%;
  height: 112.6609%;
}

.community__floor--stay .community__site-plan {
  align-self: end;
  padding-top: 83px;
}

.community__floor--stay .community__floor-list {
  grid-column: 2;
}

.community__cafe-layout {
  display: grid;
  grid-template-columns: minmax(0, 464.265fr) minmax(0, 472.572fr) minmax(0, 285.693fr);
  column-gap: 38.735px;
  align-items: start;
}

.community__plan-card {
  position: relative;
  min-width: 0;
  min-height: var(--card-height);
  color: var(--primary-normal);
}

.community__plan-heading {
  position: relative;
  z-index: 1;
  padding-left: 10px;
  border-left: 3px solid currentColor;
  color: inherit;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  word-break: keep-all;
}

.community__plan-legend {
  position: absolute;
  z-index: 1;
  top: 47px;
  left: 0;
  display: grid;
  gap: 8px;
  max-width: 100%;
  color: var(--black);
  font-size: 16px;
  line-height: 1.3;
}

.community__plan-legend > li {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 5px;
}

.community__plan-legend > li > span:last-child {
  min-width: 0;
  word-break: keep-all;
}

.community__number {
  display: inline-flex;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--primary-normal);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
}

.community__plan-figure {
  position: absolute;
  top: var(--plan-top);
  left: var(--plan-left);
  width: var(--plan-width);
  max-width: calc(100% - var(--plan-left));
  aspect-ratio: var(--plan-ratio);
}

.community__plan-image {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.community .community__plan-image > img {
  position: absolute;
  top: var(--image-y);
  left: var(--image-x);
  width: var(--image-width);
  height: var(--image-height);
  max-width: none;
}

.community__pin {
  position: absolute;
  top: var(--pin-pc-y);
  left: var(--pin-pc-x);
}

.community__key-plan {
  min-width: 0;
}

.community__key-plan--cafe {
  width: 252.928px;
  max-width: calc(100% - 28.693px);
  margin-top: 158px;
  margin-left: 28.693px;
}

.community__plan-card--sports-b1 {
  margin-top: 107px;
  color: #b2a8a2;
}

.community__plan-card--sports-b1 .community__number {
  background: #b2a8a2;
}

.community__plan-card--sports-b1 .community__plan-legend {
  grid-template-rows: repeat(4, auto);
  grid-template-columns: 230px auto;
  grid-auto-flow: column;
  column-gap: 0;
}

.community__key-plan--sports {
  position: absolute;
  top: 279px;
  left: 2px;
  width: 259px;
  max-width: 100%;
}

.community__plans-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 16px;
  row-gap: 110px;
  align-items: start;
}

.community__plans-grid > .blind {
  position: absolute;
}

.community__plan-card--kids-1f {
  margin-left: 8px;
}

.community__key--community {
  min-width: 0;
  margin-left: -8px;
}

.community__key--community .community__key-plan {
  width: 314.403px;
  max-width: 100%;
}

.community__key-legend {
  display: grid;
  grid-template-columns: minmax(0, 312px) minmax(0, 1fr);
  gap: 28px;
  margin-top: 37px;
  color: var(--black);
  font-size: 16px;
  line-height: 1.3;
}

.community__key-legend ul {
  display: grid;
  align-content: start;
  gap: 8px;
}

.community__key-legend li {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 5px;
  word-break: keep-all;
}

.community__key-color {
  display: block;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.community__key-color--kids { background: #a99378; }
.community__key-color--childcare { background: #5c9eba; }
.community__key-color--pet { background: #ef804a; }
.community__key-color--library { background: #706caa; }
.community__key-color--guest { background: #db565d; }
.community__key-color--study { background: #5fb29b; }
.community__key-color--culture { background: #727171; }

@media screen and (max-width: 1024px) {
  .community__intro {
    margin-bottom: calc(60 / var(--width) * var(--device-width));
  }

  .community__intro p {
    margin-bottom: calc(10 / var(--width) * var(--device-width));
    font-size: calc(20 / var(--width) * var(--device-width));
  }

  .community__intro h3 {
    font-size: calc(24 / var(--width) * var(--device-width));
  }

  .community__floor-heading {
    margin-bottom: calc(20 / var(--width) * var(--device-width));
  }

  .community__floor-heading h3 {
    gap: calc(11.625 / var(--width) * var(--device-width));
    font-size: calc(16 / var(--width) * var(--device-width));
  }

  .community__floor-heading p {
    margin-top: calc(11.625 / var(--width) * var(--device-width));
    font-size: calc(16 / var(--width) * var(--device-width));
  }

  .community__floor-separator {
    width: calc(1 / var(--width) * var(--device-width));
    height: calc(20 / var(--width) * var(--device-width));
  }

  .community .community__floor-separator > img {
    width: calc(20 / var(--width) * var(--device-width));
  }

  .community__photo figcaption {
    right: calc(8 / var(--width) * var(--device-width));
    bottom: calc(6 / var(--width) * var(--device-width));
    font-size: calc(11 / var(--width) * var(--device-width));
    text-shadow: 0 calc(1 / var(--width) * var(--device-width)) calc(3 / var(--width) * var(--device-width)) rgba(0, 0, 0, .7);
  }

  .community__floor--sports .community__floor-content,
  .community__floor--culture .community__floor-content,
  .community__floor--stay .community__floor-content {
    grid-template-columns: minmax(0, 1fr);
    gap: calc(20 / var(--width) * var(--device-width));
  }

  .community__photo--gym,
  .community__photo--cafe {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 335 / 220;
  }

  .community .community__photo--gym > img,
  .community .community__photo--cafe > img {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-position: center;
  }

  .community__photos--sports {
    grid-column: auto;
    grid-row: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    gap: calc(10 / var(--width) * var(--device-width));
    margin-top: calc(-10 / var(--width) * var(--device-width));
    aspect-ratio: auto;
  }

  .community__photo--yoga,
  .community__photo--golf {
    aspect-ratio: 162.5 / 162;
  }

  .community .community__photo--yoga > img {
    top: 0;
    left: -31.3846%;
    width: 162.7077%;
    height: 195.679%;
  }

  .community .community__photo--golf > img {
    top: -114.8765%;
    left: -39.3846%;
    width: 178.6462%;
    height: 214.9383%;
  }

  .community__floor--sports .community__site-plan,
  .community__floor--sports .community__floor-list,
  .community__floor--stay .community__floor-list {
    grid-column: auto;
    grid-row: auto;
    margin-bottom: 0;
  }

  .community__floor-list {
    font-size: calc(14 / var(--width) * var(--device-width));
  }

  .community .community__divider {
    margin: calc(50 / var(--width) * var(--device-width)) 0;
  }

  .community__photos--culture {
    grid-column: auto;
    grid-template-columns: minmax(0, 1fr);
    gap: calc(10 / var(--width) * var(--device-width));
  }

  .community__photo--pet,
  .community__photo--kitchen {
    aspect-ratio: 335 / 178;
  }

  .community .community__photo--pet > img,
  .community .community__photo--kitchen > img {
    width: 203.1045%;
    height: 100.2809%;
  }

  .community .community__photo--kitchen > img {
    left: -103.1045%;
  }

  .community__floor-lists {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.1fr);
    gap: calc(12 / var(--width) * var(--device-width));
  }

  .community__floor-lists .community__floor-list {
    font-size: calc(13 / var(--width) * var(--device-width));
  }

  .community__floor--stay .community__floor-content {
    padding-right: 0;
  }

  .community__floor--stay .community__site-plan {
    padding-top: 0;
  }

  .community__cafe-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: calc(40 / var(--width) * var(--device-width));
  }

  .community__plan-card {
    min-height: 0;
  }

  .community__plan-heading {
    padding-left: calc(7.75 / var(--width) * var(--device-width));
    border-left-width: 2px;
    font-size: calc(16 / var(--width) * var(--device-width));
    line-height: 1.25;
  }

  .community__plan-legend,
  .community__plan-card--sports-b1 .community__plan-legend {
    position: relative;
    top: auto;
    left: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-flow: row;
    gap: calc(8 / var(--width) * var(--device-width));
    margin-top: calc(16 / var(--width) * var(--device-width));
    font-size: calc(12 / var(--width) * var(--device-width));
    line-height: 1.25;
  }

  .community__plan-legend > li {
    gap: calc(3.846 / var(--width) * var(--device-width));
  }

  .community__number {
    width: calc(20 / var(--width) * var(--device-width));
    height: calc(20 / var(--width) * var(--device-width));
    font-size: calc(12 / var(--width) * var(--device-width));
  }

  .community__plan-figure {
    position: relative;
    top: auto;
    left: auto;
    width: var(--mobile-plan-width, 100%);
    max-width: 100%;
    margin-top: calc(16 / var(--width) * var(--device-width));
    aspect-ratio: var(--mobile-plan-ratio);
  }

  .community .community__plan-image > img {
    top: var(--mobile-image-y);
    left: var(--mobile-image-x);
    width: var(--mobile-image-width);
    height: var(--mobile-image-height);
  }

  .community__pin {
    top: var(--pin-mobile-y);
    left: var(--pin-mobile-x);
  }

  .community__key-plan--cafe,
  .community__key-plan--sports {
    position: relative;
    top: auto;
    left: auto;
    width: calc(200 / var(--width) * var(--device-width));
    max-width: 100%;
    margin: 0;
  }

  .community__plan-card--sports-b1 {
    margin-top: calc(50 / var(--width) * var(--device-width));
  }

  .community__key-plan--sports {
    margin-top: calc(16 / var(--width) * var(--device-width));
  }

  .community__plans-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: calc(50 / var(--width) * var(--device-width));
  }

  .community__plan-card--kids-1f,
  .community__key--community {
    margin-left: 0;
  }

  .community__key--community .community__key-plan {
    width: calc(260 / var(--width) * var(--device-width));
  }

  .community__key-legend {
    grid-template-columns: minmax(0, 1fr);
    gap: calc(8 / var(--width) * var(--device-width));
    margin-top: calc(16 / var(--width) * var(--device-width));
    font-size: calc(13 / var(--width) * var(--device-width));
  }

  .community__key-legend ul {
    gap: calc(6.4 / var(--width) * var(--device-width));
  }

  .community__key-legend li {
    gap: calc(4 / var(--width) * var(--device-width));
  }

  .community__key-color {
    width: calc(20.8 / var(--width) * var(--device-width));
    height: calc(20.8 / var(--width) * var(--device-width));
  }
}
