@charset "UTF-8";

.page-head {
  margin: 22px 0 30px
}

.page-head__title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center
}

.faq {
  margin: 0 0 43px
}

.faq__list {
  display: grid;
  gap: 12px
}

.faq-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(245, 230, 228, .85);
  overflow: hidden
}

.faq-item__q {
  position: relative;
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 44px 14px 14px;
  color: #333;
  font-size: 1.5rem;
  font-weight: 600
}

.faq-item__q::-webkit-details-marker {
  display: none
}

.faq-item__q::marker {
  content: ""
}

.faq-item__q::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
  transform: translateY(-50%) rotate(45deg);
  transition: transform .2s ease
}

.faq-item[open] .faq-item__q::after {
  transform: translateY(-50%) rotate(-135deg)
}

.faq-item__q:focus-visible {
  outline: 2px solid rgba(0, 0, 0, .25);
  outline-offset: 2px;
  border-radius: 10px
}

.faq-item__badge {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1
}

.faq-item__badge--q {
  background: #8B5A3C
}

.faq-item__badge--a {
  background: #D73B3B
}

.faq-item__qtext {
  margin: 0;
  font: inherit;
  color: inherit;
  min-width: 0;
  flex: 1 1 auto;
  line-height: 1.6
}

.faq-item[open] .faq-item__q {
  border-bottom: 1px solid rgba(0, 0, 0, .06)
}

.faq-item__a {
  padding: 0
}

.faq-item__a-inner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px 14px
}

.faq-item__atext {
  min-width: 0;
  flex: 1 1 auto
}

.faq-item__a p {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.8;
  color: #333
}
/* 追加 問い合わせボット */
.km-contact {
  padding: 0px 0 40px
}

.km-chatbot {
  border: 1px solid #d9d9d9;
  border-radius: 0;
  overflow: visible;
  background: #fff;
  box-shadow: none
}

.km-chatbot__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 20px;
  border: 0;
  background: transparent;
  margin: 18px 0 12px
}

.km-chatbot__headerTitle {
  font-weight: 800;
  font-size: 18px;
  line-height: 1.3
}

.km-chatbot__toggle {
  appearance: none;
  border: 0;
  background: #f2f2f2;
  color: #111;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  cursor: pointer
}

.contact__title {
  margin: 0 0 30px;
  font-size: 2rem;
  font-weight: 700;
  text-align: center
}

.km-contact__title {
  margin: 0 0 20px;
  font-size: 1.8rem
}

.km-contact__lead {
  margin: 0 0 15px;
  font-size: 1.6rem
}

.km-chatbot__panel {
  padding: 0
}

.km-chatbot__messages {
  height: 420px;
  overflow: auto;
  background: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 0;
  padding: 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 18px
}

.km-chatbot__msg {
  max-width: calc(100% - 70px);
  padding: 10px 15px;
  border-radius: 14px;
  line-height: 1.8;
  font-size: 14px;
  word-break: break-word;
  box-shadow: 0 10px 18px rgba(0, 0, 0, .10)
}

.km-chatbot__msg--user {
  align-self: flex-end;
  background: #fcc;
  color: #933;
  border: 1px solid rgba(0, 0, 0, .08);
  box-shadow: none;
  border-bottom-right-radius: 6px
}

.km-chatbot__msg--bot {
  align-self: flex-start;
  background: #dff7fb;
  color: #111;
  border-bottom-left-radius: 6px;
  position: relative;
  margin-left: 56px
}

.km-chatbot__msg--bot::first-line {
  font-weight: 800;
  color: #0b6f82
}

.km-chatbot__msg--bot strong {
  color: #0b6f82
}

.km-chatbot__msg--bot::before {
  content: "";
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #fff url("../img/common/bot_icon.png") center / contain no-repeat;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  left: -52px;
  top: 20px;
}

.km-chatbot__msg--sys {
  align-self: flex-start;
  background: #fff;
  border: 1px dashed rgba(0, 0, 0, .18);
  box-shadow: none;
  color: #333
}

.km-chatbot__composer {
  margin: 20px
}

.km-chatbot__label {
  position: absolute;
  left: -9999px
}

.km-chatbot__row {
  display: flex;
  align-items: stretch;
  gap: 14px
}

.km-chatbot__input {
  flex: 1;
  height: 56px;
  border: 1px solid #cfcfcf;
  border-radius: 6px;
  padding: 0 16px;
  font-size: 16px;
  outline: none;
  background: #fff
}

.km-chatbot__input:focus {
  border-color: #999
}

.km-chatbot__send {
  height: 56px;
  min-width: 90px;
  border: 0;
  border-radius: 6px;
  background: #d90000;
  color: #fff;
  font-weight: 800;
  cursor: pointer
}

.km-chatbot__send:disabled {
  opacity: .6;
  cursor: not-allowed
}

.km-chatbot__note {
  margin: 10px 0 0;
  font-size: 12px;
  color: #666
}

.km-chatbot__messages::-webkit-scrollbar {
  width: 10px
}

.km-chatbot__messages::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, .16);
  border-radius: 999px
}

.km-chatbot__messages::-webkit-scrollbar-track {
  background: transparent
}

@media (max-width:768px) {
  .km-chatbot__messages {
    padding: 18px 16px;
    height: 380px
  }

  .km-chatbot__msg {
    max-width: 100%
  }

  .km-chatbot__msg--bot {
    margin-left: 48px
  }

  .km-chatbot__msg--bot::before {
    left: -46px;
    top: 16px
  }

  .km-chatbot__row {
    gap: 10px
  }

  .km-chatbot__input {
    height: 50px;
    font-size: 16px
  }

  .km-chatbot__send {
    height: 50px;
    min-width: 84px
  }
}