html {
  overflow-y: scroll;
}

body {
  margin: 0;
}

body p {
  display: block;
  margin-block-start: 0em;
  margin-block-end: 0em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  unicode-bidi: isolate;
  color: #000;
}

body button {
  color: #000;
}

body a {
  color: #000;
}

main {
  position: relative;
}

.AI_header {
  background-color: #e50165;
}

.AI_header-inner {
  max-width: 1368px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
}

.AI_header-inner > div:nth-child(1) {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.AI_header-inner > div:nth-child(1) > img {
  width: 104px;
  height: 100%;
  margin-right: 32px;
}

.AI_header-inner > div:nth-child(1) > p {
  color: white;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.AI_header-inner > div:nth-child(2) {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.AI_header-inner > div:nth-child(2) > a {
  display: inline-block;
  background: #fff;
  color: #000;
  border-radius: 50px;
  min-width: 4em;
  max-width: 100%;
  line-height: 1.8;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  padding: 0.4em 2rem;
  transition: all 0.2s;
  font-size: 16px;
}

.AI_header-inner > div:nth-child(2) > a:hover {
  background: #ccc;
  color: #000;
  text-decoration: none;
  opacity: 1;
}

.AI_first-view {
  max-width: 1080px;
  margin: auto;
  display: flex;
  justify-content: center;
}

.AI_first-view .AI-img-wrapper {
  padding: 0 24px;
  position: relative;
  width: 240px;
  padding-top: 80px;
  margin-right: 24px;
}

.AI_first-view .AI-img-wrapper > img {
  width: 100%;
}

.AI_first-view .AI-img-wrapper .AI-announce_mb {
  display: none;
}

.question-btn-wrapper {
  padding: 0 24px;
  margin-top: 56px;
  max-width: 694px;
}

.question-btn-wrapper > div:first-child {
  position: relative;
  padding: 16px 24px;
  border-radius: 10px;
  background-color: #F8DDE8;
  text-align: left;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 40px;
}

.question-btn-wrapper > div:first-child::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  border-style: solid;
  border-width: 10px 20px 10px 0;
  border-color: transparent #F8DDE8 transparent transparent;
  translate: -100% -50%;
}

.question-btn-wrapper > div:first-child > p {
  display: flex;
  flex-wrap: wrap;
}

.question-btn-wrapper .question-btn-inner {
  font-size: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  column-gap: 8px;
  row-gap: 16px;
}

.question-btn-wrapper .question-btn-inner > button {
  background-color: white;
  width: 200px;
  border-radius: 20px;
  border: #E50165 solid 2px;
  padding: 16px;
}

.question-btn-wrapper .question-btn-inner > button:hover {
  background-color: #F8DDE8;
  transition-duration: 0.15s;
  cursor: pointer;
}

.messages-wrapper {
  max-width: 1080px;
  padding: 0 24px;
  margin: 0 auto 176px auto;
}

.messages-wrapper #messages {
  display: flex;
  flex-direction: column;
  max-width: 800px;
  margin-left: auto;
}

.messages-wrapper #messages .my_displayMessage {
  padding: 48px 0 0 0;
  margin-bottom: -8px;
  display: flex;
  justify-content: flex-end;
}

.messages-wrapper #messages .my_displayMessage p {
  position: relative;
  display: inline-block;
  padding: 8px 16px;
  margin-right: 64px;
  border-radius: 10px 10px 0 10px;
  background-color: #e2edf5;
  text-align: left;
  font-weight: 400;
  line-height: 1.5;
  color: #000000;
}

.messages-wrapper #messages .receive_displayMessage > img {
  width: 50px;
  position: relative;
  bottom: -20px;
}

.messages-wrapper #messages .receive_displayMessage > p {
  margin-left: 64px;
  margin-right: 64px;
  line-height: 1.5;
}

.chat-box-wrapper {
  background-color: #ededed;
  padding: 24px 0;
  width: 100%;
  position: fixed;
  bottom: 0;
}

.chat-box-wrapper #chat-box {
  max-width: 1080px;
  margin: auto;
  padding: 0 24px;
  display: flex;
  justify-content: end;
  align-items: center;
}

.chat-box-wrapper #chat-box > div:first-child {
  margin-right: 24px;
  display: flex;
  align-items: center;
}

.chat-box-wrapper #chat-box > div:first-child img {
  height: 64px;
  width: 64px;
  border-radius: 20px;
}

.chat-box-wrapper #chat-box > div:first-child:hover {
  opacity: 0.8;
  transition-duration: 0.15s;
  cursor: pointer;
}

.chat-box-wrapper #chat-box .chat-box-inner {
  width: 694px;
  background-color: white;
  border-radius: 10px;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-box-wrapper #chat-box .chat-box-inner input {
  font-size: 16px;
  border: none;
  outline: none;
  width: 90%;
}

.chat-box-wrapper #chat-box .chat-box-inner button {
  border: none;
  background-color: transparent;
  cursor: pointer;
  transition-duration: 0.15s;
}

.chat-box-wrapper #chat-box .chat-box-inner button:hover {
  opacity: 0.7;
}

.chat-box-wrapper #chat-box .chat-box-inner button img {
  width: 50px;
}

/* --- Responsive --- */

@media screen and (max-width: 1080px) {
  .AI_header-inner > div:nth-child(1) > p {
    font-size: 20px;
  }
  .AI_first-view {
    justify-content: center;
    max-width: 768px;
  }
  .AI_first-view .AI-img-wrapper {
    width: 160px;
  }
  .question-btn-wrapper .question-btn-content {
    max-width: 424px;
    margin: auto;
  }
  .question-btn-wrapper .question-btn-content .question-btn-inner > button {
    width: 200px;
  }
  .chat-box-wrapper #chat-box {
    justify-content: center;
  }
  .chat-box-wrapper #chat-box > div:first-child {
    width: 60px;
    height: 60px;
    margin-right: 16px;
  }
  .chat-box-wrapper #chat-box > div:first-child span {
    font-size: 12px;
  }
  .chat-box-wrapper #chat-box .chat-box-inner {
    max-width: 582px;
  }
  .messages-wrapper #messages {
    margin: auto;
  }
  .messages-wrapper #messages .my_displayMessage > p {
    margin-right: 0;
  }
}

@media screen and (max-width: 768px) {
  body {
    background-color: #fff0f0;
  }
  .AI_header-inner {
    padding: 20px 16px 24px 16px;
  }
  .AI_header-inner > div:nth-child(1) > p {
    font-size: 16px;
  }
  .AI_header-inner > div:nth-child(1) > img {
    width: 72px;
    height: 100%;
    margin-right: 16px;
  }
  .AI_header-inner > div:nth-child(2) > a {
    padding: 0.3em 0.5rem;
    font-size: 14px;
  }
  .AI_first-view {
    flex-direction: column;
    align-items: center;
    margin-top: 56px;
  }
  .AI_first-view .AI-img-wrapper {
    padding: 0 16px;
    display: flex;
    justify-content: center;
    max-width: 768px;
    width: auto;
    margin: 0;
  }
  .AI_first-view .AI-img-wrapper img {
    width: 160px;
    height: 100%;
    margin-right: 24px;
  }
  .AI_first-view .AI-img-wrapper .AI-announce_mb {
    position: relative;
    display: inline-block;
    padding: 16px 16px 32px 24px;
    border: 2px solid #e50165;
    border-radius: 30px;
    background-color: #ffffff;
    line-height: 1.8;
    margin-bottom: 56px;
    text-align: left;
    font-size: 16px;
    line-height: 1.5;
    color: #000000;
  }
  .AI_first-view .AI-img-wrapper .AI-announce_mb::before {
    content: "";
    position: absolute;
    top: 25%;
    left: 0;
    border-style: solid;
    border-width: 10px 20px 10px 0;
    border-color: transparent #e50165 transparent transparent;
    translate: -100% -50%;
  }
  .AI_first-view .AI-img-wrapper .AI-announce_mb::after {
    content: "";
    position: absolute;
    top: 25%;
    left: 1px;
    border-style: solid;
    border-width: 7.8px 15.5px 7.8px 0;
    border-color: transparent #ffffff transparent transparent;
    translate: -100% -50%;
  }
  .AI_first-view .AI-img-wrapper .AI-announce_mb > p {
    display: flex;
    flex-wrap: wrap;
  }
  .question-btn-wrapper {
    background-color: white;
    max-width: none;
    width: 100%;
    padding: 0;
    margin-top: 24px;
  }
  .question-btn-wrapper .AI-announce_pc {
    display: none;
  }
  .question-btn-wrapper .question-btn-content {
    max-width: 1080px;
    margin: auto;
    padding: 24px 16px;
    display: flex;
    justify-content: center;
  }
  .question-btn-wrapper .question-btn-content .question-btn-inner {
    max-width: 440px;
  }
  .messages-wrapper {
    margin-bottom: 140px;
  }
  .messages-wrapper #messages .receive_displayMessage p {
    padding: 8px 16px;
    border-radius: 0px 10px 10px 10px;
    border: #c7c7c7 2px solid;
    background-color: white;
    text-align: left;
    font-weight: 400;
    line-height: 1.5;
    color: #000000;
  }
  .chat-box-wrapper {
    padding: 24px 0;
  }
  .chat-box-wrapper #chat-box {
    padding: 0 16px;
  }
  .chat-box-wrapper #chat-box > div:first-child {
    margin-right: 10px;
  }
  .chat-box-wrapper #chat-box > div:first-child img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    max-width: none;
  }
  .chat-box-wrapper #chat-box .chat-box-inner {
    max-width: none;
    width: 340px;
    padding: 8px 16px;
  }
  .chat-box-wrapper #chat-box .chat-box-inner button > img {
    width: 40px;
  }
}

@media screen and (max-width: 480px) {
  main p {
    font-size: 14px;
  }
  .AI_header-inner > div:nth-child(1) > p {
    font-size: 14px;
  }
  .AI_first-view {
    margin-top: 32px;
  }
  .AI_first-view .AI-img-wrapper img {
    width: 120px;
    margin-right: 16px;
  }
  .AI_first-view .AI-img-wrapper .AI-announce_mb {
    margin-bottom: 0px;
    padding: 16px 8px 24px 16px;
  }
  .question-btn-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 24px;
  }
  .question-btn-wrapper .question-btn-content .question-btn-inner {
    column-gap: 4px;
    row-gap: 8px;
    max-width: 340px;
    justify-content: center;
    flex-direction: column;
    flex-wrap: nowrap;
  }
  .question-btn-wrapper .question-btn-content .question-btn-inner > button {
    width: 280px;
    padding: 8px 4px 8px 4px;
    letter-spacing: -0.5px;
  }
  .chat-box-wrapper #chat-box > div:first-child {
    width: 40px;
    height: 40px;
    margin-right: 8px;
    max-width: none;
  }
  .chat-box-wrapper #chat-box .chat-box-inner {
    width: 480px;
    padding: 8px 0px 8px 6px;
  }
  .chat-box-wrapper #chat-box .chat-box-inner button > img {
    width: 32px;
  }
  .messages-wrapper #messages .receive_displayMessage p {
    margin-right: 0;
  }
}

@media screen and (max-width: 374px) {
  .chat-box-wrapper #chat-box .chat-box-inner {
    width: 240px;
  }
}




