@charset "UTF-8";

body.bg {
  background: linear-gradient(to right, #d9ffff, transparent 50%);
}

.black-outline {
  color: black;
  /* 中の文字色 */
  font-weight: bold;
  filter: drop-shadow();
  text-shadow: 0 0 2px white, 0 0 3px white, 0 0 4px white, 1px 1px 2px white, -1px -1px 2px white;
}

.carousel-fade .active.carousel-item-start,
.carousel-fade .active.carousel-item-end {
  transition: opacity 0s 2s;
}

.carousel-item {
  transition: transform 2s ease-in-out;
}

.red-outline {
  color: black;
  line-height: 1.25;
  white-space: nowrap;
}

@media (min-width: 992px) {
  .red-outline {
    font-size: 1.5rem;
  }
}

.top-button {
  position: fixed;
  right: 0;
  bottom: 0;
  text-align: center;
  width: 40px;
  height: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #4ca3dd;
  /* 青系 */
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 12px;
  padding-top: 5px;
}

.top-button .triangle {
  width: 0;
  height: 0;
  border-left: 0.75rem solid transparent;
  border-right: 0.75rem solid transparent;
  border-bottom: 1.2990381057rem solid white;
  margin: 0 auto;
}

.fade-in {
  opacity: 0;
}

.fade-in.start {
  animation-name: fadein;
  animation-duration: 1s;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
}

@keyframes fadein {
  0% {
    opacity: 0;
    transform: translateY(100px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadein2 {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.top-link > div {
  opacity: 0;
  animation-name: fadein2;
  animation-duration: 1s;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
}

.top-link > div:nth-child(1) {
  animation-delay: 0.3s;
}

.top-link > div:nth-child(2) {
  animation-delay: 0.6s;
}

.top-link > div:nth-child(3) {
  animation-delay: 0.9s;
}

.top-link > div:nth-child(4) {
  animation-delay: 1.2s;
}

.top-link > div:nth-child(5) {
  animation-delay: 1.5s;
}

.custom-list li::marker {
  color: #0aa9ea;
  font-size: 1em;
  content: "■";
}

section {
  scroll-margin-top: calc(var(--header-height, 85px) + 1rem);
}

.category-item {
  --collapse-icon: url("data:image/svg+xml,%3Csvg%20stroke=%22currentColor%22%20fill=%22currentColor%22%20stroke-width=%220%22%20viewBox=%220%200%2016%2016%22%20%20xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cpath%20fill-rule=%22evenodd%22%20d=%22M1.646%204.646a.5.5%200%200%201%20.708%200L8%2010.293l5.646-5.647a.5.5%200%200%201%20.708.708l-6%206a.5.5%200%200%201-.708%200l-6-6a.5.5%200%200%201%200-.708%22%3E%3C/path%3E%3C/svg%3E");
  display: flex;
  flex-direction: column;
}

.category-item .category-head {
  background-color: #bfffff;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
}

.category-item .category-head::before {
  content: "";
  width: 1.25rem;
  height: 1.25rem;
  display: inline-block;
}

.category-item .category-head::after {
  width: 1.25rem;
  height: 1.25rem;
  content: "";
  align-self: center;
  background-image: var(--collapse-icon);
  background-repeat: no-repeat;
  background-size: 1.25rem;
  transition: transform 0.2s ease-in-out;
  display: inline-block;
  flex-shrink: 0;
}

.category-item .category-head:not(.collapsed)::after {
  transform: rotate(-180deg);
}

.category-item .category-body {
  background-color: var(--bs-body-bg);
  padding: 0.5rem;
  flex-grow: 1;
}

.store-button {
  height: 60px;
  /* 高さを揃える */
  object-fit: contain;
}

article.medical-info section:nth-child(2n) {
  background: #d1effd;
}
