@charset "UTF-8";
/* 全体--------------------------------------*/
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Noto+Serif+JP:wght@900&display=swap");
.ai-chat-section p {
  font-family: "Noto Sans JP";
  color: #000;
  font-size: 16px;
  margin: 0;
}
.ai-chat-section .ai-talk-mb {
  display: none;
}
.ai-chat-section button {
  color: #000;
}
.ai-chat-section a {
  color: #000;
}

/*モーダル--------------------------------------*/
/* モーダルと背景の指定 */
.ai-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(var(--vh, 1vh) * 100);
  text-align: center;
  background: white;
  overflow: auto;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  z-index: 2001;
}

/* クラスが追加された時の指定 */
.ai-modal.ai-is-active {
  opacity: 1;
  visibility: visible;
}

/* モーダル内側の指定 */
.ai-modal-container {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  width: 100%;
  /* margin-top: ヘッダーの高さにしてjsで調整;*/
}

/* モーダルを開くボタンの表示デザインホバー時 */
.ai-modal-open:hover {
  opacity: 0.7;
  cursor: pointer;
}

/* モーダル内スクロールバー非表示 */
.ai-modal.ai-is-active {
  /*IE(Internet Explorer)・Microsoft Edgeへの対応*/
  -ms-overflow-style: none;
  /*Firefoxへの対応*/
  scrollbar-width: none;
  /*Google Chrome、Safariへの対応*/
}
.ai-modal.ai-is-active::-webkit-scrollbar {
  display: none;
}

/*タイトルとボタン--------------------------------------*/
.ai-chat-section .ai-title {
  position: fixed;
  width: 100%;
  background-color: #376B9F;
  z-index: 2002;
}
.ai-chat-section .ai-title > div {
  max-width: 1280px;
  padding: 0 24px;
  margin: 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
.ai-chat-section .ai-title > div > div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  font-size: 35px;
  cursor: pointer;
  color: white;
}
.ai-chat-section .ai-title > div > p {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  font-size: 24px;
  color: white;
}

/* モーダルのコンテンツ部分の指定 --------------------------------------*/
.ai-modal-content {
  max-width: 1280px;
  /*margin-topはjsで設定*/
  margin: 0 auto;
  padding: 0 24px 0 24px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: relative;
  overflow-y: scroll;
}
.ai-modal-content::-webkit-scrollbar {
  width: 7px;
}
.ai-modal-content::-webkit-scrollbar-thumb {
  background: -webkit-gradient(linear, left top, left bottom, color-stop(50%, #1bb4d3), to(#1bd8d3));
  background: linear-gradient(to bottom, #1bb4d3 50%, #1bd8d3);
  border-radius: 5px;
}
.ai-modal-content::-webkit-scrollbar-track {
  background: #dcdcdc;
}

.AI_first-view {
  max-width: 1080px;
  margin: 40px auto auto auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.AI_first-view .AI-img-wrapper {
  padding: 0 24px;
  position: relative;
  width: 240px;
  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;
  max-width: 742px;
}
.question-btn-wrapper > div:first-child {
  position: relative;
  padding: 24px;
  border-radius: 20px;
  background-color: #A5E7FF;
  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 #A5E7FF transparent transparent;
  translate: -100% -50%;
}
.question-btn-wrapper > div:first-child > p {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.question-btn-wrapper .question-btn-content > div:first-child {
  margin-bottom: 16px;
  border-bottom: #376B9F solid 2px;
}
.question-btn-wrapper .question-btn-content > div:first-child > p {
  text-align: center;
  margin-bottom: 4px;
  color: #376B9F;
}
.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: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-column-gap: 8px;
     -moz-column-gap: 8px;
          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: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: 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: #EBF8FF;
  -webkit-transition-duration: 0.15s;
          transition-duration: 0.15s;
}

.messages-wrapper {
  max-width: 1080px;
  width: 100%;
  margin: 0 auto 40px auto;
}
.messages-wrapper #messages {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  max-width: 800px;
  padding: 0 24px;
  margin-left: auto;
}
.messages-wrapper #messages .my_displayMessage {
  padding: 48px 0 0 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}
.messages-wrapper #messages .my_displayMessage p {
  position: relative;
  display: inline-block;
  padding: 16px 24px;
  margin-left: 120px;
  border-radius: 20px;
  background-color: #376B9F;
  text-align: left;
  font-weight: 400;
  line-height: 1.5;
  color: white;
}
.messages-wrapper #messages .receive_displayMessage {
  position: relative;
  padding: 48px 0 0 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
}
.messages-wrapper #messages .receive_displayMessage > div > img {
  width: 50px;
  position: absolute;
  left: 0;
}
.messages-wrapper #messages .receive_displayMessage > p {
  position: relative;
  display: inline-block;
  margin-left: 64px;
  margin-right: 120px;
  line-height: 1.5;
  padding: 16px 24px;
  border-radius: 20px;
  background-color: #A5E7FF;
  text-align: left;
  font-weight: 400;
  line-height: 1.5;
  color: #000000;
}
.messages-wrapper #messages .receive_button {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  margin-top: 10px;
}
.messages-wrapper #messages .receive_button > span {
  margin: 0 35% 4px 64px;
  font-size: 16px;
  text-align: start;
}
.messages-wrapper #messages .receive_button > button {
  margin: 0 35% 8px 64px;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  padding: 10px 16px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  border: #000000 solid 1px;
  background-color: white;
}
.messages-wrapper #messages .receive_button > button:hover {
  background-color: #EBF8FF;
}
.messages-wrapper #messages .receive_button > button > span {
  text-align: left;
  font-size: 16px;
  font-family: "Noto Sans JP";
}
.messages-wrapper #messages .receive_button > button > span:first-child {
  word-break: break-all;
}
.messages-wrapper #messages .receive_button > button > span:last-child {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-left: 8px;
}
.messages-wrapper #messages .thinking-display {
  margin: 24px 24px 16px 64px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
}
.messages-wrapper #messages .thinking-display > span {
  font-size: 16px;
}

.chat-box-wrapper {
  padding: 16px 0;
  width: 100%;
  position: fixed;
  background-color: white;
  -webkit-box-shadow: 0px -5px 7px rgba(222, 227, 238, 0.336);
          box-shadow: 0px -5px 7px rgba(222, 227, 238, 0.336);
}
.chat-box-wrapper #chat-box {
  max-width: 1080px;
  margin: auto;
  padding: 0 24px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.chat-box-wrapper #chat-box > div:first-child {
  margin-right: 24px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.chat-box-wrapper #chat-box > div:first-child img {
  height: 56px;
  width: 56px;
  border-radius: 20px;
  max-width: none;
}
.chat-box-wrapper #chat-box > div:first-child:hover {
  opacity: 0.8;
  -webkit-transition-duration: 0.15s;
          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: 46px;
  padding: 0 24px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          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: #00376E;
  color: white;
  height: 48px;
  width: 112px;
  font-size: 16px;
  padding: 0 24px;
  white-space: nowrap;
  cursor: pointer;
  -webkit-transition-duration: 0.15s;
          transition-duration: 0.15s;
}
.chat-box-wrapper #chat-box button:hover {
  opacity: 0.7;
}

.contact-btn-wrapper {
  background-color: #3AA4CB;
  padding: 16px 0;
  width: 100%;
  position: fixed;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 80px;
  bottom: 0;
}
.contact-btn-wrapper > a {
  width: 300px;
  height: 40px;
  background-color: white;
  color: #3AA4CB;
  border-radius: 15px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  text-decoration: none;
  font-size: 16px;
}
.contact-btn-wrapper > a:hover {
  opacity: 0.7;
  -webkit-transition-duration: 0.15s;
          transition-duration: 0.15s;
}

@media screen and (max-width: 1080px) {
  .AI_first-view {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            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;
  }
  .chat-box-wrapper #chat-box {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            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;
  }
}
@media screen and (max-width: 750px) {
  .ai-chat-section p {
    font-size: 14px;
  }
  .ai-modal {
    height: 100vh;
  }
  .ai-modal-content {
    padding: 0;
    overflow-y: visible;
  }
  .ai-chat-section .ai-title div {
    padding: 0 16px;
  }
  .ai-chat-section .ai-title div > div {
    padding: 0;
  }
  .AI_first-view {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    margin-top: 40px;
  }
  .AI_first-view .AI-img-wrapper {
    padding: 0 16px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            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 {
    display: inline-block;
  }
  .AI_first-view .AI-img-wrapper .AI-announce_mb div {
    position: relative;
    display: inline-block;
    padding: 16px 24px;
    border-radius: 20px;
    background-color: #A5E7FF;
  }
  .AI_first-view .AI-img-wrapper .AI-announce_mb div::before {
    content: "";
    position: absolute;
    top: 60%;
    left: 0;
    border-style: solid;
    border-width: 10px 20px 10px 0;
    border-color: transparent #A5E7FF transparent transparent;
    translate: -100% -50%;
  }
  .AI_first-view .AI-img-wrapper .AI-announce_mb div::after {
    content: "";
    position: absolute;
    top: 60%;
    left: 1px;
    border-style: solid;
    border-width: 7.8px 15.5px 7.8px 0;
    border-color: transparent #A5E7FF transparent transparent;
    translate: -100% -50%;
  }
  .AI_first-view .AI-img-wrapper .AI-announce_mb div > p {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    text-align: left;
    font-size: 16px;
    line-height: 1.5;
    color: #000000;
  }
  .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: 16px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            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: 240px;
  }
  .messages-wrapper #messages .my_displayMessage > p {
    font-size: 16px;
  }
  .messages-wrapper #messages .receive_displayMessage > p {
    font-size: 16px;
  }
  .messages-wrapper #messages .receive_button > span {
    font-size: 14px;
    margin-right: auto;
  }
  .messages-wrapper #messages .receive_button > button {
    margin-right: 120px;
  }
  .messages-wrapper #messages .receive_button > button > span {
    font-size: 14px;
  }
  .messages-wrapper #messages .thinking-display {
    margin-left: 0;
  }
  .chat-box-wrapper {
    padding: 16px 0;
  }
  .chat-box-wrapper #chat-box {
    padding: 0;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: end;
  }
  .chat-box-wrapper #chat-box > div:first-child {
    margin-right: 10px;
    -webkit-box-align: end;
        -ms-flex-align: end;
            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;
  }
  .chat-box-wrapper #chat-box .chat-box-inner > input {
    letter-spacing: -1.5px;
  }
  .chat-box-wrapper #chat-box button {
    width: 72px;
    padding: 0 8px;
    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-chat-section .ai-title div > p {
    font-size: 20px;
  }
  .ai-chat-section .ai-title div > div {
    font-size: 30px;
  }
  .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 > div {
    padding: 16px 8px 24px 16px;
  }
  .AI_first-view .AI-img-wrapper .AI-announce_mb > div > p {
    font-size: 14px;
  }
  .AI_first-view .AI-img-wrapper .AI-announce_mb > div::before {
    top: 40%;
  }
  .AI_first-view .AI-img-wrapper .AI-announce_mb > div::after {
    top: 40%;
  }
  .question-btn-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            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;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            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 > div:first-child > img {
    width: 42px;
    height: 42px;
  }
  .chat-box-wrapper #chat-box .chat-box-inner {
    width: 480px;
    padding: 0px 0px 0px 6px;
    height: 40px;
  }
  .chat-box-wrapper #chat-box button {
    height: 42px;
  }
  .messages-wrapper #messages .my_displayMessage {
    padding-top: 32px;
  }
  .messages-wrapper #messages .my_displayMessage p {
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 15px;
    margin-left: 0px;
  }
  .messages-wrapper #messages .receive_displayMessage {
    padding-top: 24px;
  }
  .messages-wrapper #messages .receive_displayMessage p {
    font-size: 14px;
    margin-right: 0;
    padding: 10px 20px;
    border-radius: 15px;
  }
  .messages-wrapper #messages .thinking-display > span {
    font-size: 14px;
  }
  .messages-wrapper #messages .receive_button > span {
    margin-left: 0;
  }
  .messages-wrapper #messages .receive_button > button {
    margin-right: 10%;
    margin-left: 0;
    padding: 8px 16px;
  }
  .messages-wrapper #messages .receive_button > button > span {
    font-size: 12px;
  }
  .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: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
}
.mb-display {
  display: none;
}

@media screen and (max-width: 641px) {
  .pc-display {
    display: none;
  }
  .mb-display {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
}