@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:ital,wght@0,100..900;1,100..900&family=IBM+Plex+Sans+JP&family=Shippori+Mincho&display=swap');
:root {
  --fwel: 200;
  --fwl: 300;
  --fwn: 400;
  --fwm: 500;
  --fwsb: 600;
  --fwb: 700;
  --ja: "Shippori Mincho", serif;
  --ai-deep: #062223;
  --ai-green: #25665e;
  --ai-green-text: #00523b;
  --ai-green-light: #e8f1ee;
  --ai-pink-bg: #f8ebec;
  --ai-pink-text: #c2536a;
  --ai-border: #dedede;
  --ai-gold: #b99b41;
}

/* ===============================================================
 serch-ai-clinic page
===============================================================*/
body {
  background-color: #f8f4ec;
}
.clinic-result__ttl {
  padding: clamp(1rem, calc(20 / 1680 * 100vw), 2rem) clamp(2rem, calc(90 / 1680 * 100vw), 9rem);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: clamp(1rem, 1.9642857143vw, 3.3rem);
  font-weight: var(--fwsb);
  background: linear-gradient(90deg, rgb(2, 21, 24) 0%, rgb(23, 98, 90) 100%);
}
.clinic-result__ttl-logo {
  width: 6rem;
}
@media screen and (max-width: 834px) {
  .clinic-result__ttl-logo {
    width: 4rem;
  }
}
@media screen and (max-width: 450px) {
  .clinic-result__ttl-logo {
    width: 3rem;
  }
}
.clinic-result__ttl-txt {
  width: calc(100% - (10rem + clamp(1rem, 1.9642857143vw, 3.3rem)));
  font-family: var(--ja);
  font-size: clamp(2rem, calc( 100vw * 32 / 1680), 3.2rem);
  color: #fff;
}
@media screen and (max-width: 834px) {
  .clinic-result__ttl-txt {
    width: calc(100% - (8rem + clamp(1rem, 1.9642857143vw, 3.3rem)));
  }
}
@media screen and (max-width: 450px) {
  .clinic-result__ttl-txt {
    width: calc(100% - (5rem + clamp(1rem, 1.9642857143vw, 3.3rem)));
  }
}
.clinic-result__news:not(:has(.clinic-result__news-ttl)) .clinic-result__news-cont {
  max-width: 100%;
  width: 100%;
  padding-left: 0;
  border-left-width: 0;
}
.clinic-result__news:not(:has(.clinic-result__news-ttl)) .serch-ai__consent {
  margin-top: 0;
}
.clinic-result__news {
  padding: clamp(3rem, 4.7619047619vw, 8rem) 0;
}
.clinic-result__news .inner {
  max-width: 150rem;
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: clamp(calc(1.5rem), 100vw * 30 / 1680, 3rem);
}
@media screen and (max-width: 834px) {
  .clinic-result__news .inner {
    flex-direction: column;
  }
}
.clinic-result__news img {
  width: 100%;
}
.clinic-result__news-ttl {
  min-width: fit-content;
  margin-bottom: clamp(2rem, 2.380952381vw, 4rem);
  padding-left: 2rem;
  font-family: var(--ja);
  font-size: clamp(2rem, 100vw * 24 / 1680, 2.4rem);
  font-weight: var(--fwsb);
  line-height: 1.66;
  color: #224b21;
}
.clinic-result__news-cont {
  max-width: calc(110rem + clamp(2rem, 100vw * 50 / 1680, 5rem));
  min-width: 110rem;
  padding-left: clamp(2rem, 100vw * 50 / 1680, 5rem);
  border-left: 1px solid #dedede;
}
@media screen and (max-width: 834px) {
  .clinic-result__news-ttl br {
    display: none;
  }
  .clinic-result__news-cont {
    max-width: 100%;
    padding-top: clamp(2rem, 100vw * 50 / 1680, 5rem);
    padding-left: 0;
    border-top: 1px solid #dedede;
    border-left-width: 0;
  }
}
.clinic-result__news p {
  margin-block: 1em;
  font-size: clamp(1.5rem, 1.0119047619vw, 1.7rem);
  font-weight: var(--fwl);
  line-height: 1.764;
}

/* consent bar (.clinic-result__news-cont 内、ダミーテキストの下に配置)
--------------------------------------------------*/
.serch-ai__news {
  margin-top: 3rem;
  padding-inline: clamp(1em,  100vw * 30 / 1680, 3rem);
  background-color: #fff;
  border-radius: 1rem;
  box-shadow: 0 0 1.6rem rgba(0, 0, 0, 0.05);
  container-type: inline-size;
}
.serch-ai__consent {
  display: flex;
  flex-wrap: wrap;
  gap: 0 2rem;
}
.serch-ai__consent-item {
  padding-block: 1em;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.6rem;
}
.serch-ai__consent-item:not(:last-child) {
  padding-right: 2rem;
  border-right: 1px solid var(--ai-border);
}
@container (width <= 971px) {
  .serch-ai__consent {
    flex-direction: column;
  }
  .serch-ai__consent-item:not(:last-child) {
    padding-right: 0;
    padding-bottom: 1rem;
    border-right: none;
    border-bottom: 1px solid var(--ai-border);
  }
}
/* @media screen and (max-width: 834px) {
  .serch-ai__consent-item:not(:last-child) {
    padding-right: 0;
    padding-bottom: 1.6rem;
    border-right: none;
    border-bottom: 1px solid var(--ai-border);
  }
} */
.serch-ai__news p.serch-ai__consent-text {
  margin-block: 0;
  font-size: clamp(1.2rem,  100vw * 14 / 1680, 1.4rem);
  font-weight: var(--fwm);
  line-height: 1.6;
}
.serch-ai__consent-text a {
  color: var(--ai-green-text);
  text-decoration: underline;
}
.serch-ai__consent-text a .material-icons-outlined {
  font-size: 1.4rem;
  vertical-align: -0.1em;
}
.serch-ai__badge {
  display: inline-flex;
  align-items: center;
  margin-left: 0.4rem;
  font-size: 1.1rem;
  font-weight: var(--fwm);
  color: var(--ai-pink-text);
}
.serch-ai__radio {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.serch-ai__radio label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: clamp(1.2rem,  100vw * 14 / 1680, 1.4rem);
  font-weight: var(--fwn);
  color: #ababab;
  cursor: pointer;
}
.serch-ai__radio input[type="radio"] {
  width: 1.8rem;
  height: 1.8rem;
  border: 1px solid #b6b6b6;
  border-radius: 100vmax;
}
.serch-ai__radio label:has(input[type="radio"]:checked) {
  color: #191919;
}
.serch-ai__radio input[type="radio"]:checked {
  position: relative;
  border-color: #cc4e61;
}
.serch-ai__radio input[type="radio"]:checked::before {
  position: absolute;
  content: '';
  width: 42.8%;
  aspect-ratio: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  background-color: #cc4e61;
  border-radius: 100vmax;
}

.serch-ai__news-notice {
  display: none;
}

.serch-ai__error.error .serch-ai__news {
  background-color: #f8ebec;
}
.serch-ai__error.error p.serch-ai__news-notice {
  display: block;
  font-size: clamp(1.4rem,  100vw * 14 / 1680, 1.6rem);
  color: #cc4e61;
}

/* AI box
--------------------------------------------------*/
.serch-ai__wrap {
  max-width: 150rem;
  width: 90%;
  margin-inline: auto;
  padding-bottom: clamp(11rem, 100vw * 140 / 1680, 14rem);
}
@media screen and (max-width: 640px) {
  .serch-ai__wrap {
    padding-bottom: 13rem;
  }
}

.serch-ai__box {
  padding: 2.4rem;
  background: url(../img/clinic-ai-result/box-bg.webp) no-repeat center / cover;
  border-radius: 1rem;
  box-shadow: 0 0 1.6rem rgba(0, 0, 0, 0.05);
}
@media screen and (max-width: 834px) {
  .serch-ai__box {
    padding: 2rem;
  }
}
.serch-ai__box-head {
  display: flex;
  align-items: start;
  flex-wrap: wrap;
  gap: 1.6rem;
}
.serch-ai__box-ttl {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--ja);
  font-size: clamp(2rem, 100vw * 22 / 1680, 2.2rem);
  font-weight: var(--fwsb);
}
.serch-ai__box-ttl::before {
  content: "";
  width: 3.3rem;
  aspect-ratio: 33/34;
  background: url(../img/clinic-result/ico-neurology.webp) no-repeat center center/contain;
}
.serch-ai__box-robot {
  display: inline-block;
  margin-left: clamp(2rem, 100vw * 57 / 1680, 5.7rem);
  width: 6.6rem;
  flex-shrink: 0;
}
@media screen and (max-width: 400px) {
  .serch-ai__box-robot {
    margin-left: 0;
  }
}
.serch-ai__box-bubble {
  position: relative;
  padding: 1.6rem 3rem 2rem;
  font-size: 1.7rem;
  background: url(../img/clinic-ai-result/bubble-bg.webp) no-repeat left top / cover;
}
@media screen and (max-width: 860px) {
  .serch-ai__box-bubble {
    display: none;
  }
}
.serch-ai__box-body {
  display: flex;
  align-items: stretch;
  gap: 1.6rem;
}
@media screen and (max-width: 900px) {
  .serch-ai__box-body {
    flex-direction: column;
  }
}
.serch-ai__box-input {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.serch-ai__box-input__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  padding: 2rem 2rem 2.4rem;
  background-color: #fff;
  border-radius: 0.5rem;
  container-type: inline-size;
}
.serch-ai__box-input::before {
  position: absolute;
  content: '';
  width: calc(100% + 0.4rem);
  height: calc(100% + 0.4rem);
  top: -0.2rem;
  left: -0.2rem;
  z-index: 1;
  border-radius: 0.5rem;
  background: linear-gradient(-90deg,rgba(3, 75, 72, 1) 0%, rgba(96, 155, 135, 1) 100%);
}
.serch-ai__box-textarea {
  flex: 1;
  min-height: 22rem;
  max-height: calc(100% - 6rem);
  font-size: 1.6rem;
  width: 100%;
  line-height: 1.7;
  border: none;
  resize: none;
}
.serch-ai__box-textarea::placeholder {
  color: #b0b0b0;
}
.serch-ai__box-textarea:focus {
  outline: none;
}
.serch-ai__box-actions {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 1.6rem;
}
@media screen and (max-width: 900px) {
  .serch-ai__box-actions {
    position: relative;
    flex-wrap: wrap;
    bottom: auto;
    right: auto;
    gap: 1rem;
  }
}
@media screen and (max-width: 400px) {
  .serch-ai__box-actions {
    justify-content: center;
  }
}
.serch-ai__box-upload {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  padding: 1.6rem 3rem;
  font-size: 1.6rem;
  font-weight: var(--fwm);
  color: #4a3c1c;
  background-color: #ecdfba;
  border: none;
  border-radius: 100vmax;
  cursor: pointer;
}

.serch-ai__box-upload-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
@media screen and (max-width: 834px) {
  .serch-ai__box-upload .sp {
    display: none;
  }
}
@media screen and (max-width: 550px) {
  .serch-ai__box-upload {
    padding: 1rem 1.5rem;
    font-size: 1.4rem;
    gap: 1rem;
  }
}
@media screen and (max-width: 400px) {
  .serch-ai__box-upload .sp {
    display: block;
  }
}
.serch-ai__box-mic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  aspect-ratio: 1;
  flex-shrink: 0;
  background-color: #ecdfba;
  border: none;
  border-radius: 50%;
  cursor: pointer;
}
@media screen and (max-width: 550px) {
  .serch-ai__box-mic {
    width: 4rem;
  }
}
.serch-ai__summary {
  width: 40%;
  max-width: 48rem;
  min-height: 40rem;
  flex-shrink: 0;
  border-radius: 0.5rem;
  overflow: hidden;
  background-color: #f8f4ec;
}
@media screen and (max-width: 900px) {
  .serch-ai__summary {
    width: 100%;
    max-width: 100%;
  }
}
.serch-ai__summary-head {
  padding: 1.6rem 2.4rem;
  font-family: var(--ja);
  font-size: 1.7rem;
  font-weight: var(--fwsb);
  color: #fff;
  background: linear-gradient(90deg, rgb(2, 21, 24) 0%, rgb(23, 98, 90) 100%);
}
.serch-ai__summary-body {
  padding: 2.5rem 3rem;
  font-size: 1.4rem;
  line-height: 1.8;
}
.serch-ai__summary-body p {
  margin-bottom: 0.6rem;
  font-weight: var(--fwsb);
}
.serch-ai__summary-body ul:not(:last-child) {
  margin-bottom: 2rem;
}

/* accordion
--------------------------------------------------*/
.serch-ai__accordion {
  margin-top: 4rem;
}
.serch-ai__accordion-item:not(:last-child) {
  border-bottom: 1px solid #d8d5cc;
}
.serch-ai__accordion-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1.6rem;
  padding: 2rem clamp(2rem, calc(30 / 1680 * 100vw), 3rem);
  text-align: left;
  background-color: #ececec;
  border: none;
  cursor: pointer;
}
.serch-ai__accordion-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  aspect-ratio: 1;
  flex-shrink: 0;
  border: 1px solid #51775a;
  border-radius: 50%;
  transition: transform 0.2s ease;
  transform: rotate(180deg);
}
.serch-ai__accordion-icon img {
  width: 1.1rem;
}
.serch-ai__accordion-item.--open {
  border-bottom: 0;
}
.serch-ai__accordion-item.--open .serch-ai__accordion-icon {
  transform: rotate(0deg);
}
.serch-ai__accordion-ttl {
  font-family: var(--ja);
  font-size: 2rem;
  font-weight: var(--fwm);
}
.serch-ai__accordion-item.--input .serch-ai__accordion-ttl {
  color: var(--ai-green-text);
}
.serch-ai__accordion-desc {
  font-size: 1.4rem;
  font-weight: var(--fwl);
  color: #191919;
}
@media screen and (max-width: 834px) {
  .serch-ai__accordion-desc {
    display: none;
  }
}
.serch-ai__accordion-body {
  overflow: hidden;
  max-height: 0;
  background-color: #fff;
  transition: max-height 0.3s ease;
}
.serch-ai__accordion-item.--open .serch-ai__accordion-body {
  max-height: 500rem;
}
.serch-ai__accordion-inner {
  padding: clamp(2rem, calc(40 / 1680 * 100vw), 4rem) clamp(2rem, calc(70 / 1680 * 100vw), 7rem) clamp(2rem, calc(60 / 1680 * 100vw), 6rem);
}

.serch-ai__notice {
  margin-bottom: 3.2rem;
  width: fit-content;
  padding: 2rem clamp(2rem, calc(60 / 1680 * 100vw), 6rem) 2rem clamp(2rem, calc(60 / 1680 * 100vw), 6rem);
  font-size: clamp(1.5rem, calc(17 / 1680 * 100vw), 1.7rem);
  line-height: 1.8;
  color: var(--ai-pink-text);
  background-color: var(--ai-pink-bg);
}

.serch-ai__field {
  margin-bottom: 3.2rem;
}

.serch-ai__field.--purpose .serch-ai__pills {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
@media screen and (max-width: 834px) {
  .serch-ai__field.--purpose .serch-ai__pills {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 500px) {
  .serch-ai__field.--purpose .serch-ai__pills {
    grid-template-columns: repeat(1, 1fr);
  }
}


.serch-ai__row.--other .serch-ai__input {
  max-width: 10rem;
}
.serch-ai__row.--other .serch-ai__pills {
  max-width: 60rem;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
@media screen and (max-width: 834px) {
  .serch-ai__row.--other .serch-ai__pills {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 500px) {
  .serch-ai__row.--other .serch-ai__pills {
    grid-template-columns: repeat(1, 1fr);
  }
}

.serch-ai__row.--other .serch-ai__select {
  width: 19rem;
}

.serch-ai__field.--touseki-area .serch-ai__row {
  gap: clamp(1.5rem, calc(30 / 1680 * 100vw), 3rem);
}
.serch-ai__field.--touseki-area .serch-ai__pills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}
@media screen and (max-width: 500px) {
  .serch-ai__field.--touseki-area .serch-ai__pills {
    grid-template-columns: repeat(1, 1fr);
  }
}
.serch-ai__field.--touseki-area .serch-ai__input {
  width: 56rem;
}
@media screen and (max-width: 700px) {
  .serch-ai__field.--touseki-area .serch-ai__input {
    width: 100%;
  }
}
.serch-ai__field.--touseki-date .serch-ai__pills {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
}
@media screen and (max-width: 1100px) {
  .serch-ai__field.--touseki-date .serch-ai__pills {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media screen and (max-width: 834px) {
  .serch-ai__field.--touseki-date .serch-ai__pills {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (max-width: 500px) {
  .serch-ai__field.--touseki-date .serch-ai__pills {
    grid-template-columns: repeat(1, 1fr);
  }
}


.serch-ai__field-ttl {
  margin-bottom: 1.2rem;
  font-size: 1.6rem;
  font-weight: var(--fwsb);
  color: var(--ai-green-text);
}
.serch-ai__select {
  width: 100%;
  max-width: 25rem;
  padding: 1.2rem 4rem 1.2rem 1.6rem;
  font-size: 1.6rem;
  color: #333;
  background: #fff url(../img/clinic-ai-result/icon-arw_gray.webp) no-repeat right 1.6rem center/1.1rem auto;
  border: 1px solid var(--ai-border);
  border-radius: 0.5rem;
  appearance: none;
}
.serch-ai__row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(2rem, calc(110 / 1680 * 100vw), 11rem);
}
.serch-ai__row-item--auto {
  flex: 0 0 auto;
  min-width: 0;
}
.serch-ai__input {
  width: 100%;
  padding: 1.2rem 1.6rem;
  font-size: 1.6rem;
  border: 1px solid var(--ai-border);
  border-radius: 0.5rem;
}
.serch-ai__input::placeholder {
  color: #b0b0b0;
}

.serch-ai__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.serch-ai__pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1.4rem 2rem;
  font-size: 1.6rem;
  color: #ababab;
  background-color: #f4f4f4;
  border: 1px solid transparent;
  border-radius: 100vmax;
  cursor: pointer;
}
.serch-ai__pill::before {
  content: "";
  width: 1.8rem;
  height: 1.8rem;
  flex-shrink: 0;
  border: 1px solid #b6b6b6;
  border-radius: 100vmax;
}
.serch-ai__pill.--input {
  color: #488362;
  font-weight: var(--fwm);
  background-color: var(--ai-green-light);
  border-color: #488362;
}
.serch-ai__pill.--input::before {
  border-color: #488362;
}
.serch-ai__pill.--input::after {
  position: absolute;
  content: '';
  width: 0.8rem;
  aspect-ratio: 1;
  border-radius: 100vmax;
  top: 50%;
  left: 2.5rem;
  transform: translateY(-50%);
  z-index: 1;
  background-color: #488362;
}
.serch-ai__pill input {
  display: none;
}

.serch-ai__tags {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}
@media screen and (max-width: 834px) {
  .serch-ai__tags {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 500px) {
  .serch-ai__tags {
    grid-template-columns: repeat(1, 1fr);
  }
}
.serch-ai__tag {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  padding: 1.1rem 1.8rem;
  font-size: 1.5rem;
  color: #969696;
  background-color: #f4f4f4;
  border: 1px solid transparent;
  border-radius: 100vmax;
  cursor: pointer;
}
.serch-ai__tag img {
  display: none;
}
.serch-ai__tag.--input {
  color: #488362;
  font-weight: var(--fwm);
  background-color: var(--ai-green-light);
  border-color: #488362;
}
.serch-ai__tag.--input img {
  display: block;
}

.serch-ai__parts-groups {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.4rem 6rem;
}
@media screen and (max-width: 834px) {
  .serch-ai__parts-groups {
    grid-template-columns: 1fr;
  }
}
.serch-ai__parts-group:not(:last-child) {
  margin-bottom: 0;
}
.serch-ai__parts-group-ttl {
  margin-bottom: 1.2rem;
  font-size: 1.5rem;
  font-weight: var(--fwm);
}

.serch-ai__icon-grid {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 3.6rem 1.2rem;
}
.serch-ai__icon-grid--body {
  grid-template-columns: repeat(9, 1fr);
}
@media screen and (max-width: 1400px) {
  .serch-ai__icon-grid {
    grid-template-columns: repeat(7, 1fr);
  }
}
@media screen and (max-width: 1100px) {
  .serch-ai__icon-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media screen and (max-width: 570px) {
  .serch-ai__icon-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.serch-ai__icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}
.serch-ai__icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 14rem;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 100vmax;
  border: 1px solid #eee;
}
@media screen and (max-width: 1100px) {
  .serch-ai__icon-circle {
    max-width: 10rem;
  }
}
@media screen and (max-width: 450px) {
  .serch-ai__icon-circle {
    width: 8rem;
    height: 8rem;
  }
}
.serch-ai__icon-circle img {
  max-width: 60%;
  max-height: 60%;
  width: auto;
  height: auto;
}
.serch-ai__icon-circle .icon--green {
  display: none;
}
.serch-ai__icon-label {
  font-size: clamp(1.4rem, calc(16 / 1680 * 100vw), 1.6rem);
  color: #ababab;
  text-align: center;
}
.serch-ai__icon-item.--input .serch-ai__icon-circle {
  background-color: var(--ai-green-light);
  border-width: 0;
}
.serch-ai__icon-item.--input .serch-ai__icon-circle .icon--gray {
  display: none;
}
.serch-ai__icon-item.--input .serch-ai__icon-circle .icon--green {
  display: block;
}
.serch-ai__icon-item.--input .serch-ai__icon-label {
  color: #488362;
}

/* fixed action bar
--------------------------------------------------*/
.serch-ai__fixedbar {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  z-index: 100;
  min-height: 10rem;
  padding-block: 2rem;
  background-color: rgba(0, 0, 0, 0.5);
}

.serch-ai__fixedbar .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.6rem;
}
.serch-ai__fixedbar-count {
  display: flex;
  align-items: baseline;
  font-family: var(--ja);
  color: #fff;
  font-size: 1.6rem;
}
.serch-ai__fixedbar-count strong {
  display: inline-block;
  margin-left: clamp(1.6rem, calc(20 / 1680 * 100vw), 2rem);
  font-family: "Hanken Grotesk", sans-serif;
  font-size: clamp(2.4rem, calc(36 / 1680 * 100vw), 3.6rem);
  font-weight: var(--fwn);
}
.serch-ai__fixedbar-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
@media screen and (max-width: 640px) {
  .serch-ai__fixedbar-actions {
    justify-content: center;
  }
}
.serch-ai__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 14rem;
  padding: 1.4rem 2.4rem;
  font-family: var(--ja);
  font-size: 1.8rem;
  border: 1px solid transparent;
  border-radius: 100vmax;
  cursor: pointer;
}
.serch-ai__btn.--outline {
  color: #333;
  background-color: #fff;
  border-color: #fff;
}
.serch-ai__btn.--gold {
  min-width: 24rem;
  color: #fff;
  background-color: var(--ai-gold);
}
@media screen and (max-width: 640px) {
  .serch-ai__fixedbar {
    padding-block: 1rem;
    min-height: fit-content;
  }
  .serch-ai__fixedbar .inner {
    flex-direction: column;
    justify-content: center;
  }
  .serch-ai__btn {
    min-width: fit-content;
    padding: 0.5rem 1rem;
    font-size: 1.5rem;
  }
  .serch-ai__btn.--gold {
    min-width: fit-content;
  }
}

/* modal
--------------------------------------------------*/
.serch-ai__modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.serch-ai__modal[hidden] {
  display: none;
}
.serch-ai__modal-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(2, 15, 16, 0.7);
}
.serch-ai__modal-panel {
  position: relative;
  width: 90%;
  max-width: 90rem;
  max-height: 85vh;
  overflow-y: auto;
  padding: 4.8rem;
  background-color: #fff;
  border-radius: 1rem;
}
@media screen and (max-width: 834px) {
  .serch-ai__modal-panel {
    padding: 3rem 2rem;
  }
}
.serch-ai__modal-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.6rem;
  height: 3.6rem;
  color: #999;
  background: none;
  border: none;
  cursor: pointer;
}
@media screen and (max-width: 440px) {
  .serch-ai__modal-close {
    top: 1rem;
    right: 0;
  }
}
.serch-ai__modal-ttl {
  position: relative;
  margin-bottom: 1.6rem;
  padding-bottom: 1.6rem;
  font-family: var(--ja);
  font-size: clamp(2rem, calc(24 / 1680 * 100vw), 2.4rem);
  font-weight: 600;
  color: var(--ai-green-text);
  border-bottom: 1px solid var(--ai-border);
}
.serch-ai__modal-ttl::before {
  position: absolute;
  content: '';
  width: 2rem;
  height: 1px;
  bottom: 0;
  left: 0;
  z-index: 1;
  background: linear-gradient(90deg,rgba(2, 21, 24, 1) 0%, rgba(23, 98, 90, 1) 100%);
}
.serch-ai__modal-body p {
  font-size: 1.7rem;
  line-height: 1.764;
}
.serch-ai__modal-body a {
  color: var(--ai-green-text);
  text-decoration: underline;
}
.serch-ai__modal-body a .material-icons-outlined {
  display: inline-flex;
  align-items: end;
  font-size: 1.7rem;
}
