.rm-fat-faq-gap {
  clear: both;
  height: 100px;
  background: #fff;
}

.rm-fat-faq,
.rm-fat-faq * {
  box-sizing: border-box;
}

.rm-fat-faq [hidden] {
  display: none !important;
}

.rm-fat-faq {
  clear: both;
  width: 100%;
  padding: 140px 0;
  background: #0c0c0c;
  color: #fff;
  font-family: 'Pretendard', 'Pretendard-Regular', sans-serif;
}

.rm-fat-faq__inner {
  width: 92%;
  max-width: 1320px;
  margin: 0 auto;
}

.rm-fat-faq__head {
  margin-bottom: 60px;
  text-align: center;
}

.rm-fat-faq__eyebrow {
  display: block;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, .55);
  font-size: 14px;
  letter-spacing: .3em;
  text-transform: uppercase;
}

.rm-fat-faq h2 {
  margin: 0;
  color: #fff;
  font-size: 50px;
  font-weight: 700;
  line-height: 1.3;
  word-break: keep-all;
}

.rm-fat-faq__lounge {
  display: inline-block;
  margin-top: 20px;
  padding: 6px 16px;
  border: 1px solid rgba(255, 255, 255, .2);
  color: rgba(255, 255, 255, .7);
  font-size: 14px;
  letter-spacing: .15em;
}

.rm-fat-faq__phone {
  position: relative;
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  overflow: hidden;
  border: 10px solid #1a1a1a;
  border-radius: 44px;
  background: #f4f4f4;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .55), 0 0 0 2px #2a2a2a inset;
}

.rm-fat-faq__phone::before {
  content: '';
  position: absolute;
  z-index: 2;
  top: 8px;
  left: 50%;
  width: 110px;
  height: 6px;
  border-radius: 0 0 12px 12px;
  background: #1a1a1a;
  transform: translateX(-50%);
}

.rm-fat-faq__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 65px;
  padding: 26px 18px 14px;
  border-bottom: 1px solid #ececec;
  background: #fff;
  color: #1a1a1a;
}

.rm-fat-faq__bar strong {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.01em;
  text-align: center;
  word-break: keep-all;
}

.rm-fat-faq__back,
.rm-fat-faq__search-toggle {
  display: inline-flex;
  flex: 0 0 24px;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  min-height: 24px;
  padding: 0;
  border: 0;
  background: none;
  color: #555;
  font-size: 27px;
  line-height: 1;
}

.rm-fat-faq__search-toggle {
  cursor: pointer;
}

.rm-fat-faq__search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid #ececec;
  background: #fff;
}

.rm-fat-faq__search input {
  flex: 1;
  width: 0;
  min-height: 40px;
  padding: 10px 16px;
  border: 0;
  border-radius: 22px;
  background: #f4f4f4;
  color: #1a1a1a;
  font: inherit;
  font-size: 16px;
}

.rm-fat-faq__search-close {
  padding: 5px;
  border: 0;
  background: none;
  color: #555;
  cursor: pointer;
}

.rm-fat-faq__chat {
  height: 760px;
  overflow-y: auto;
  padding: 22px 16px 28px;
  background: #f4f4f4;
  scrollbar-width: thin;
}

.rm-fat-faq__chat:focus-visible,
.rm-fat-faq summary:focus-visible,
.rm-fat-faq__search-toggle:focus-visible,
.rm-fat-faq__search-close:focus-visible,
.rm-fat-faq__search input:focus-visible {
  outline: 2px solid #1a1a1a;
  outline-offset: 2px;
}

.rm-fat-faq details {
  margin: 0 0 18px;
  color: #1a1a1a;
}

.rm-fat-faq details:last-child {
  margin-bottom: 0;
}

.rm-fat-faq summary {
  width: fit-content;
  max-width: 88%;
  margin-left: auto;
  padding: 13px 16px;
  border-radius: 16px 4px 16px 16px;
  background: #ffe45c;
  color: #1a1a1a;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  list-style: none;
  cursor: pointer;
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.rm-fat-faq summary::-webkit-details-marker {
  display: none;
}

.rm-fat-faq p {
  position: relative;
  width: fit-content;
  max-width: calc(88% - 58px);
  margin: 38px auto 0 58px;
  padding: 14px 16px;
  border: 1px solid #ececec;
  border-radius: 4px 16px 16px 16px;
  background: #fff;
  color: #2a2a2a;
  font-size: 16px;
  line-height: 1.6;
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.rm-fat-faq p::before {
  content: '리미트 성형외과';
  position: absolute;
  top: -28px;
  left: 4px;
  color: #1a1a1a;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

.rm-fat-faq p::after {
  content: '리미트';
  position: absolute;
  top: 0;
  left: -58px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #1a1a1a;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.rm-fat-faq .rm-fat-faq__empty {
  width: auto;
  max-width: none;
  margin: 0;
  padding: 40px 20px;
  border: 0;
  background: none;
  color: #777;
  text-align: center;
}

.rm-fat-faq .rm-fat-faq__empty::before,
.rm-fat-faq .rm-fat-faq__empty::after {
  content: none;
}

@media (max-width: 900px) {
  .rm-fat-faq-gap {
    height: 70px;
  }

  .rm-fat-faq {
    padding: 90px 0;
  }

  .rm-fat-faq h2 {
    font-size: 38px;
  }

  .rm-fat-faq__phone {
    max-width: 92%;
    border-width: 8px;
    border-radius: 36px;
  }

  .rm-fat-faq__bar {
    padding: 22px 14px 12px;
  }

  .rm-fat-faq__bar strong {
    font-size: 16px;
  }

  .rm-fat-faq__chat {
    height: 680px;
    padding: 18px 12px 24px;
  }

  .rm-fat-faq summary {
    max-width: 92%;
  }

  .rm-fat-faq p {
    max-width: calc(92% - 54px);
    margin-left: 54px;
  }

  .rm-fat-faq p::after {
    left: -54px;
    width: 46px;
    height: 46px;
  }
}

@media (max-width: 480px) {
  .rm-fat-faq__inner {
    width: 100%;
  }

  .rm-fat-faq h2 {
    font-size: 34px;
  }

  .rm-fat-faq__phone {
    max-width: calc(100% - 24px);
  }

  .rm-fat-faq summary,
  .rm-fat-faq p {
    font-size: 15px;
  }
}
