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;
  font-size: 16px;
}
body button {
  color: #000;
}
body a {
  color: #000;
}

main {
  position: relative;
}

.for-TOP {
  max-width: 1080px;
  margin: 40px auto 0 auto;
  padding: 0 24px;
}
.for-TOP > a {
  text-decoration: none;
  background-color: #B1B716;
  color: white;
  padding: 8px 24px;
}

.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: 80px;
  max-width: 742px;
}
.question-btn-wrapper > div:first-child {
  position: relative;
  padding: 16px 24px;
  border-radius: 20px;
  background-color: #E9EACA;
  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 #E9EACA transparent transparent;
  translate: -100% -50%;
}
.question-btn-wrapper > div:first-child > p {
  display: flex;
  flex-wrap: wrap;
}
.question-btn-wrapper .question-btn-content > div:first-child {
  margin-bottom: 16px;
  border-bottom: #464810 solid 2px;
}
.question-btn-wrapper .question-btn-content > div:first-child > p {
  text-align: center;
  margin-bottom: 4px;
}
.question-btn-wrapper .question-btn-content > div:last-child {
  margin-top: 24px;
}
.question-btn-wrapper .question-btn-content > div:last-child > p {
  text-align: center;
}
.question-btn-wrapper .question-btn-content .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-content .question-btn-inner > button {
  padding: 0;
  background-color: white;
  border: #464810 solid 1px;
  width: 220px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.question-btn-wrapper .question-btn-content .question-btn-inner > button > img {
  width: 100%;
}
.question-btn-wrapper .question-btn-content .question-btn-inner > button:hover {
  background-color: #FAF7EE;
  transition-duration: 0.15s;
}

.messages-wrapper {
  max-width: 1080px;
  padding: 0 24px;
  margin: 0 auto 272px 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: 16px 24px;
  margin-right: 24px;
  margin-left: 120px;
  border-radius: 20px;
  background-color: #DFEBED;
  text-align: left;
  font-weight: 400;
  line-height: 1.5;
  color: #000000;
}
.messages-wrapper #messages .receive_displayMessage > img {
  width: 50px;
  position: relative;
  bottom: -55px;
}
.messages-wrapper #messages .receive_displayMessage > p {
  margin-left: 64px;
  margin-right: 120px;
  line-height: 1.5;
  padding: 16px 24px;
  border-radius: 20px;
  background-color: #E9EACA;
  text-align: left;
  font-weight: 400;
  line-height: 1.5;
  color: #000000;
}

.chat-box-wrapper {
  padding: 24px 0;
  width: 100%;
  position: fixed;
  bottom: 98px;
  background-color: white;
}
.chat-box-wrapper #chat-box {
  max-width: 1080px;
  margin: auto;
  padding: 0 24px;
  display: flex;
  justify-content: center;
  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 {
  border: #464810 solid 1px;
  max-width: 694px;
  width: 100%;
  background-color: white;
  height: 54px;
  padding: 0 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 button {
  border: none;
  background-color: #464810;
  color: white;
  height: 54px;
  width: 112px;
  font-size: 16px;
  padding: 0 24px;
  white-space: nowrap;
  cursor: pointer;
  transition-duration: 0.15s;
}
.chat-box-wrapper #chat-box button:hover {
  opacity: 0.7;
}

.contact-btn-wrapper {
  background-color: #B1B716;
  padding: 24px 0;
  width: 100%;
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
  bottom: 0;
}
.contact-btn-wrapper > a {
  width: 300px;
  height: 50px;
  background-color: white;
  color: #B1B716;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.contact-btn-wrapper > a:hover {
  opacity: 0.7;
  transition-duration: 0.15s;
}
@media screen and (max-width: 1080px) {
  .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;
  }

  .messages-wrapper #messages {
    margin: auto;
  }

  .messages-wrapper #messages .my_displayMessage > p {
    margin-right: 0;
  }

  .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;
  }
}

@media screen and (max-width: 768px) {
  body p {
    font-size: 14px;
  }

  .for-TOP {
    margin-top: 32px;
  }

  .AI_first-view {
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
  }

  .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 24px;
    border-radius: 20px;
    background-color: #E9EACA;
    line-height: 1.8;
    margin-bottom: 16px;
    text-align: left;
    font-size: 16px;
    line-height: 1.5;
    color: #000000;
    min-height: 160px;
    height: 100%;
  }

  .AI_first-view .AI-img-wrapper .AI-announce_mb::before {
    content: "";
    position: absolute;
    top: 60%;
    left: 0;
    border-style: solid;
    border-width: 10px 20px 10px 0;
    border-color: transparent #E9EACA transparent transparent;
    translate: -100% -50%;
  }

  .AI_first-view .AI-img-wrapper .AI-announce_mb::after {
    content: "";
    position: absolute;
    top: 60%;
    left: 1px;
    border-style: solid;
    border-width: 7.8px 15.5px 7.8px 0;
    border-color: transparent #E9EACA 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;
    flex-direction: column;
    align-items: center;
  }

  .question-btn-wrapper .question-btn-content > div:first-child,
  .question-btn-wrapper .question-btn-content div:last-child {
    width: 100%;
    max-width: 440px;
  }

  .question-btn-wrapper .question-btn-content .question-btn-inner {
    max-width: 440px;
  }

  .messages-wrapper {
    margin-bottom: 246px;
  }

  .chat-box-wrapper {
    padding: 16px 0;
  }

  .chat-box-wrapper #chat-box {
    padding: 0;
    align-items: end;
  }

  .chat-box-wrapper #chat-box > div:first-child {
    margin-right: 10px;
    align-items: end;
  }

  .chat-box-wrapper #chat-box > div:first-child img {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    max-width: none;
  }

  .chat-box-wrapper #chat-box .chat-box-inner {
    max-width: none;
    height: 48px;
  }

  .chat-box-wrapper #chat-box .chat-box-inner > input {
    letter-spacing: -1.5px;
  }

  .chat-box-wrapper #chat-box button {
    width: 72px;
    padding: 0 8px;
    height: 48px;
    font-size: 14px;
  }

  .contact-btn-wrapper {
    gap: 40px;
  }

  .contact-btn-wrapper > a:first-child {
    margin-left: 16px;
  }

  .contact-btn-wrapper > a:last-child {
    margin-right: 16px;
  }
}

@media screen and (max-width: 480px) {
  main p {
    font-size: 14px;
  }

  .for-TOP {
    padding: 8px 16px;
  }

  .for-TOP > a {
    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;
    min-height: 160px;
    margin-top: -64px;
    height: 100%;
  }

  .AI_first-view .AI-img-wrapper .AI-announce_mb > p {
    font-size: 14px;
  }

  .AI_first-view .AI-img-wrapper .AI-announce_mb::before {
    top: 40%;
  }

  .AI_first-view .AI-img-wrapper .AI-announce_mb::after {
    top: 40%;
  }

  .question-btn-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 24px;
  }

  .question-btn-wrapper .question-btn-content > div:first-child,
  .question-btn-wrapper .question-btn-content > div:last-child {
    width: 100%;
  }

  .question-btn-wrapper .question-btn-content .question-btn-inner {
    max-width: 374px;
    justify-content: center;
    gap: 8px;
  }

  .question-btn-wrapper .question-btn-content .question-btn-inner > button {
    width: 155px;
  }

  .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: 0px 0px 0px 6px;
  }

  .messages-wrapper #messages .my_displayMessage p {
    margin-left: 0px;
  }

  .messages-wrapper #messages .receive_displayMessage p {
    margin-right: 0;
  }

  .contact-btn-wrapper {
    gap: 16px;
  }

  .contact-btn-wrapper > a {
    font-size: 14px;
  }
}

@media screen and (max-width: 374px) {
  .question-btn-wrapper .question-btn-content .question-btn-inner {
    max-width: 340px;
  }

  .question-btn-wrapper .question-btn-content .question-btn-inner > button {
    width: 140px;
  }
}

.mb-display {
  display: none;
}

@media screen and (max-width: 641px) {
  .pc-display {
    display: none;
  }

  .mb-display {
    display: flex;
  }
}

.receive_displayMessage > p > .chat-link {
  padding: 4px 16px;
  border: #E50165 solid 1px;
  background-color: white;
  color: #E50165;
  border-radius: 10px;
}

.receive_displayMessage > p > .chat-link:hover {
  background-color: #E50165;
  color: white;
  opacity: 1;
}




