/* ── Animations (from home.css) ── */
.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
  transition-delay: 0.2s;
}

.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 0.9s ease;
}

.fade-in.is-visible {
  opacity: 1;
}

@keyframes moving1 {
  0%,
  100% {
    transform: rotate(-3deg);
  }
  50% {
    transform: rotate(3deg);
  }
}

@keyframes moving2 {
  0%,
  100% {
    transform: translateX(-6px);
  }
  50% {
    transform: translateX(6px);
  }
}

@keyframes moving3 {
  0%,
  100% {
    transform: scale(1);
  }
  35% {
    transform: scale(1.06);
  }
  65% {
    transform: scale(0.97);
  }
}

@keyframes moving4 {
  0% {
    transform: translate(4px, 0);
  }
  12.5% {
    transform: translate(2.8px, 2.8px);
  }
  25% {
    transform: translate(0, 4px);
  }
  37.5% {
    transform: translate(-2.8px, 2.8px);
  }
  50% {
    transform: translate(-4px, 0);
  }
  62.5% {
    transform: translate(-2.8px, -2.8px);
  }
  75% {
    transform: translate(0, -4px);
  }
  87.5% {
    transform: translate(2.8px, -2.8px);
  }
  100% {
    transform: translate(4px, 0);
  }
}

.moving-1 {
  animation: moving1 4s ease-in-out infinite;
  transform-origin: center center;
}

.moving-2 {
  animation: moving2 3.5s ease-in-out infinite;
}

.moving-3 {
  animation: moving3 2.5s ease-in-out infinite;
  transform-origin: center center;
}

.moving-4 {
  animation: moving4 6s linear infinite;
}

/* ===== Real Talk_PC (Figma 378:1044) ===== */

.ashirai-layer {
  position: absolute;
  width: 1440px;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
}

.ashirai-layer2 {
  position: absolute;
  width: 943px;
  top: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
}

.ashirai {
  position: absolute;
  pointer-events: none;
  max-width: none;
}

.ashirai-1 {
  left: -15px;
  top: 70px;
  width: 140px;
}

.ashirai-2 {
  right: -44px;
  top: -108px;
  width: 95px;
}

.ashirai-3 {
  right: 194px;
  top: 105px;
  width: 89px;
}

.ashirai-4 {
  left: -396px;
  top: 6px;
  width: 451px;
}

.ashirai-5 {
  right: -274px;
  top: 74px;
  width: 140px;
}

.ashirai-6 {
  right: -456px;
  top: -108px;
  width: 436px;
}

.ashirai-7 {
  left: -124px;
  top: 13px;
  width: 109px;
}

.ashirai-8 {
  right: -57px;
  bottom: 42px;
  width: 74px;
}

.ashirai-9 {
  left: -267px;
  top: 10px;
  width: 111px;
}

.ashirai-10 {
  left: -304px;
  top: -221px;
  z-index: 2;
  width: 328px;
}

.ashirai-11 {
  left: -320px;
  top: 20px;
  width: 163px;
}

.ashirai-12 {
  right: -122px;
  top: 118px;
  width: 118px;
}

.ashirai-13 {
  right: -553px;
  top: 135px;
  width: 441px;
}

.ashirai-14 {
  left: -121px;
  bottom: -44px;
  width: 70px;
}

.ashirai-15 {
  left: 377px;
  bottom: -59px;
  width: 89px;
}

.ashirai-16 {
  right: 106px;
  top: 191px;
  width: 93px;
}

.ashirai-17 {
  left: 188px;
  top: 285px;
  width: 140px;
}

.ashirai-18 {
  left: -209px;
  top: 321px;
  width: 418px;
}

.ashirai-19 {
  right: 137px;
  top: 629px;
  width: 140px;
}

@media screen and ( max-width: 767px ) {
  .ashirai-layer {
    width: 100%;
  }

  .ashirai-layer2 {
    width: 100%;
  }

  .ashirai {
  }

  .ashirai-1 {
    left: -16vw;
    top: 43.6vw;
    width: 32vw;
  }

  .ashirai-2 {
    right: -7.2vw;
    top: 1vw;
    width: 21vw;
  }

  .ashirai-3 {
    left: auto;
    right: 4vw;
    top: auto;
    bottom: -12vw;
    width: 21.5vw;
  }

  .ashirai-4 {
    left: -71.5vw;
    top: auto;
    bottom: -6vw;
    width: 85vw;
  }

  .ashirai-6 {
    right: -46vw;
    top: -17vw;
    width: 65vw;
  }

  .ashirai-7 {
    left: -20vw;
    top: -24vw;
    width: 31vw;
  }

  .ashirai-8 {
    right: -4.5vw;
    top: -9vw;
    bottom: auto;
    width: 23.2vw;
  }

  .ashirai-9 {
    left: -19vw;
    top: 38vw;
    width: 30vw;
  }

  .ashirai-11 {
    left: -29.7vw;
    top: -32.5vw;
    width: 38vw;
  }

  .ashirai-13 {
    right: -53vw;
    top: -19vw;
    width: 63.5vw;
  }

  .ashirai-14 {
    left: -23vw;
    bottom: 15.5vw;
    width: 23vw;
  }

  .ashirai-16 {
    right: -8vw;
    top: 34vw;
    width: 25vw;
  }

  .ashirai-17 {
    left: -14vw;
    top: 62.5vw;
    width: 37vw;
  }

  .ashirai-18 {
    left: -43vw;
    top: auto;
    bottom: 29.5vw;
    width: 62vw;
  }

  .ashirai-19 {
    right: -11vw;
    top: auto;
    bottom: 13vw;
    width: 38vw;
  }

  .ashirai-21 {
    left: -33vw;
    bottom: 22vw;
    width: 49.6vw;
  }
}

/* ── Hero (rth) ── */
.rth {
  overflow: visible;
  position: relative;
  margin: auto;
  aspect-ratio: 2000 / 539;
}

.rth__title {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  width: 100%;
  margin: auto;
}

.rth__title-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.rth__inner {
  position: relative;
  z-index: 3;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 210px;
}

.rth__breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 158px;
  font-family: var(--ff-body);
  font-size: 12px;
  color: var(--c-text);
}

.rth__breadcrumb a {
  color: var(--c-text);
}

.rth__breadcrumb span[aria-hidden] {
  font-size: 10px;
}

@media screen and ( max-width: 2000px ) {
  .rth {
    max-width: 1440px;
    aspect-ratio: 1440 / 539;
  }
  .rth__title {
    left: -1000px;
    right: -1000px;
    width: calc(2000 / 1440 * 100%);
  }
}

@media screen and ( max-width: 1440px ) {
  .rth {
    aspect-ratio: 1440 / 525;
  }

  .rth__title {
    min-width: 100%;
  }

  .rth__inner {
    padding: 0 calc(210 / 1440 * 100vw);
  }

  .rth__breadcrumb {
    padding-top: calc(158 / 1440 * 100vw);
  }
}

@media screen and ( max-width: 767px ) {
  .rth {
    padding-top: 140px;
    aspect-ratio: auto;
  }

  .rth__title {
    position: static;
    width: 100%;
    aspect-ratio: 750 / 764;
  }

  .rth__title-img {
  }

  .rth__inner {
    padding: 0;
  }

  .rth__breadcrumb {
    display: none;
  }
}

/* ── Intro (rti) ── */
.rti {
  overflow: visible;
  padding: 75px 0 40px;
}

.rti__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 120px;
  text-align: center;
}

.rti__text {
  font-family: var(--ff-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 40px;
  color: var(--c-text);
  margin: 0;
}

@media screen and ( max-width: 767px ) {
  .rti {
    padding: 10.5vw  0 9vw;
  }

  .rti__inner {
    padding: 0 6.4vw;
  }

  .rti__text {
    font-size: 18px;
    line-height: 36px;
  }
}

/* ── Q&A (rtq) ── */
.rtq {
  overflow: visible;
  padding: 70px 0 27px;
}

.rtq__inner {
  max-width: 943px;
  margin: 0 auto;
}

/* Q item */
.rtq__item {
  position: relative;
  padding: 0 0 47px 0;
}

/* Photo */
.rtq__photo {
  position: absolute;
  bottom: 0;
  z-index: 2;
}

.rtq__item:nth-child(1) .rtq__photo {
  left: -32px;
}

.rtq__item:nth-child(2) .rtq__photo {
  right: -108px;
}

.rtq__item:nth-child(3) .rtq__photo {
  left: -81px;
}

.rtq__item:nth-child(4) .rtq__photo {
  right: -109px;
}

.rtq__item:nth-child(5) .rtq__photo {
  bottom: 94px;
  left: -39px;
}

.rtq__photo img {
  width: 437px;
  height: 490px;
  object-fit: contain;
  display: block;
}

.rtq__item:nth-child(2) .rtq__photo img {
  width: 448px;
  height: 349px;
}

.rtq__item:nth-child(3) .rtq__photo img {
  width: 484px;
  height: 448px;
}

.rtq__item:nth-child(4) .rtq__photo img {
  width: 448px;
  height: 455px;
}

.rtq__item:nth-child(5) .rtq__photo img {
  width: 358px;
  height: 277px;
}

/* Q card */
.rtq__card {
  position: relative;
  width: 540px;
  background-color: #FFFFDF;
  padding: 30px;
  border-radius: 36px;
}

.rtq__item:nth-child(1) .rtq__card {
  margin-left: auto;
}

.rtq__item:nth-child(2) .rtq__card {
  background-color: #DEF1F9;
  margin-left: 63px;
}

.rtq__item:nth-child(3) .rtq__card {
  background-color: #FCE8EF;
  margin-left: auto;
}

.rtq__item:nth-child(4) .rtq__card {
  background-color: #E0F2E2;
  margin-left: 63px;
}

.rtq__item:nth-child(5) .rtq__card {
  background-color: #FFFFDF;
  margin-left: auto;
}

.rtq__badge {
  position: absolute;
  top: -30px;
  left: -62px;
  z-index: 3;
  width: 100px;
  aspect-ratio: 1 / 1;
}

.rtq__q {
  padding: 11px 40px 6px;
  font-family: var(--ff-heading);
  font-size: 33px;
  font-weight: 500;
  line-height: 38px;
  color: var(--c-text);
  margin-bottom: 10px;
}

.rtq__answers {
  background-color: #FFFFFF;
  list-style: none;
  margin: 0;
  padding: 13px 40px;
  border-radius: 24px;
}

.rtq__answers li {
  font-family: var(--ff-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 28.8px;
  color: var(--c-text);
  padding: 6px 0 7px 0;
  background-image: radial-gradient(circle, #303030 1px, transparent 1px);
  background-position: left bottom;
  background-repeat: repeat-x;
  background-size: 6px 2px;
}

.rtq__answers li:last-child {
  background-image: none;
}

@media screen and ( max-width: 1100px ) {
  .rtq__photo img {
    width: 347px;
    height: 462px;
  }

  .rtq__item:nth-child(2) .rtq__photo img {
    width: 347px;
    height: 379px;
  }

  .rtq__item:nth-child(1) .rtq__photo {
    left: 0;
  }

  .rtq__item:nth-child(2) .rtq__photo {
    right: -2.5%;
  }
}

@media screen and ( max-width: 920px ) {
  .rtq__item:nth-child(3) .rtq__photo {
    left: -16%;
  }

  .rtq__item:nth-child(4) .rtq__photo {
    right: -21%;
  }

  .rtq__item:nth-child(5) .rtq__photo {
    bottom: 94px;
    left: -39px;
  }

  .rtq__card {
    width: 60%;
  }
}

@media screen and ( max-width: 767px ) {
  .rtq {
    padding: 6.5vw 0 8vw;
  }

  .rtq__inner {
    padding: 0 6.4vw;
  }

  /* Q item */
  .rtq__item {
    padding: 0 0 15.5vw 0;
  }

  .rtq__item:last-child {
    padding-bottom: 0;
  }

  /* Photo */
  .rtq__photo {
    display: none;
  }

  /* Q card */
  .rtq__card {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 5.5vw;
    border-radius: 8vw;
  }

  .rtq__item:nth-child(1) .rtq__card {
    margin-left: 0;
  }

  .rtq__item:nth-child(2) .rtq__card {
    margin-left: 0;
  }

  .rtq__item:nth-child(3) .rtq__card {
    margin-left: 0;
  }

  .rtq__item:nth-child(4) .rtq__card {
    margin-left: 0;
  }

  .rtq__item:nth-child(5) .rtq__card {
    margin-left: 0;
  }

  .rtq__badge {
    top: -7.9vw;
    left: 0;
    width: 18.9vw;
  }

  .rtq__q {
    padding: 5vw 0 4.5vw 5vw;
    font-size: 24px;
    line-height: 28px;
    margin-bottom: 0;
  }

  .rtq__answers {
    padding: 4vw 5vw;
    border-radius: 3vw;
  }

  .rtq__answers li {
    font-size: 16px;
    line-height: 28.8px;
    padding: 1.8vw 0;
  }

  .rtq__answers li:last-child {
    background-image: none;
  }
}

/* ── Message section (rtm) ── */
.rtm {
  position: relative;
  padding: 100px 0 0 0;
}

.rtm__bg {
  position: absolute;
  top: 0;
  left: -1000px;
  right: -1000px;
  width: 2000px;
  height: 100px;
  background-image: url("../images/realtalk/bg-rtm.png");
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: cover;
  margin: auto;
}

.rtm__cont {
  background-color: #FFFFEF;
  padding: 0 0 52px 0;
}

.rtm__inner {
  position: relative;
  z-index: 2;
  max-width: 1024px;
  margin: 0 auto;
  padding: 61px 0 0 0;
}

.rtm__head {
  max-width: 480px;
  margin: 0 auto 62px auto;
}

.rtm__head-title {
  margin: 0;
}

/* Message cards */
.rtm__messages {
  max-width: 720px;
  margin: 0 auto;
}

.rtm__msg {
  margin-bottom: 48px;
}

.rtm__msg-card {
  position: relative;
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: 30.5px 50px;
}

.rtm__msg-label {
  position: absolute;
  margin: 0;
}

.rtm__msg:nth-child(1) .rtm__msg-label {
  top: -6px;
  right: 186px;
  width: 153px;
  height: 37px;
}

.rtm__msg:nth-child(2) .rtm__msg-label {
  top: -15px;
  left: 179px;
  width: 112px;
  height: 31px;
}

.rtm__msg:nth-child(3) .rtm__msg-label {
  top: -18px;
  right: 182px;
  width: 156px;
  height: 36px;
}

.rtm__msg-text {
  font-family: var(--ff-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 32px;
  color: var(--c-text);
  margin: 0;
}

.rtm__msg:nth-child(1) .rtm__msg-text {
}

.rtm__msg:nth-child(2) .rtm__msg-text {
  padding-left: 155px;
}

.rtm__msg:nth-child(3) .rtm__msg-text {
  padding-right: 135px;
}

.rtm__msg-photo {
  position: absolute;
  bottom: 0;
}

.rtm__msg:nth-child(1) .rtm__msg-photo {
  right: 0;
}

.rtm__msg:nth-child(2) .rtm__msg-photo {
  left: 0;
}

.rtm__msg:nth-child(3) .rtm__msg-photo {
  right: 0;
}

.rtm__msg-photo img {
  width: 230px;
  height: 188px;
}

@media screen and ( max-width: 767px ) {
  .rtm {
    padding: 0;
  }

  .rtm__bg {
    position: static;
    width: 100%;
    height: auto;
    background-image: url("../images/realtalk/bg-rtm-sp.png");
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: cover;
    margin: auto;
    aspect-ratio: 375 / 30;
  }

  .rtm__cont {
    padding: 0 0 21vw 0;
  }

  .rtm__inner {
    padding: 7.5vw 6.4vw 0 6.4vw;
  }

  .rtm__head {
    width: 100%;
    margin: 0 auto 5.5vw auto;
  }

  .rtm__head-title {
    margin: 0;
  }

  /* Message cards */
  .rtm__msg {
    margin-bottom: 5vw;
  }

  .rtm__msg-card {
    border-radius: 7vw;
    padding: 5vw;
    border: 2px solid #BDE3C1;
  }

  .rtm__msg:nth-child(2) .rtm__msg-text {
    padding-left: 0;
  }

  .rtm__msg:nth-child(3) .rtm__msg-text {
    padding-right: 0;
  }
}
