main {
  padding-top: 130px;
}
@media screen and (max-width: 768px) {
  main {
    padding-top: 100px;
  }
}

.main-contents {
  position: relative;
  overflow: clip;
}

.allergy-list {
  padding-top: 70px;
  padding-bottom: 70px;
  position: relative;
}
@media screen and (max-width: 768px) {
  .allergy-list {
    padding-top: 40px;
    padding-bottom: 40px;
    margin-top: calc(-100vh + 100px);
  }
}

.allergy-list__container {
  width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media screen and (max-width: 768px) {
  .allergy-list__container {
    width: 100%;
    padding: 0 50px;
    gap: 20px;
  }
}

.allergy-list__card {
  display: flex;
  width: 100%;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  background-color: #ffffff;
}
@media screen and (max-width: 768px) {
  .allergy-list__card {
    flex-direction: column;
  }
}


.allergy-list__card:hover {
  background-color: #c22b1f;
}

.allergy-list__card:hover .allergy-list__content {
  background-color: #c22b1f;
  color: #ffffff;
}

.allergy-list__card:hover .allergy-list__label {
  border-color: #ffffff;
  color: #ffffff;
}

.allergy-list__card:hover .allergy-list__title {
  color: #ffffff;
}

.allergy-list__card:hover .allergy-list__tag {
  color: #ffffff;
}

.allergy-list__card:hover .allergy-list__category {
  color: #ffffff;
}

.allergy-list__card:hover .allergy-list__text {
  color: #ffffff;
}

.allergy-list__card:hover .allergy-list__date {
  color: #ffffff;
}

.allergy-list__card:hover .allergy-list__tag {
  color: #ffffff;
  border: 1px solid #ffffff;
}

.allergy-list__card:hover .allergy-list__category {
  color: #ffffff;
}

.allergy-list__card:hover .allergy-list__text {
  color: #ffffff;
}


.allergy-list__image {
  width: 200px;
  height: 283px;
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media screen and (max-width: 768px) {
  .allergy-list__image {
    width: 100%;
    height: 300px;
  }
}

.allergy-list__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.allergy-list__content {
  flex: 1;
  background-color: #ffffff;
  color: #c22b1f;
  padding: 55px 30px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}
@media screen and (max-width: 768px) {
  .allergy-list__content {
    padding: 16px 20px;
    gap: 10px;
  }
}

.allergy-list__header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
}

.allergy-list__tag {
  font-family: acumin-pro, sans-serif;
  font-size: 11px;
  color: #c22b1f;
  transition: all 0.3s ease;
  border: 1px solid #c22b1f;
  padding: 1px 7px;
  border-radius: 3px;
}

.allergy-list__tag.--new {
  background-color: #c22b1f;
  color: #ffffff;
}

.allergy-list__category {
  font-family: acumin-pro, sans-serif;
  font-size: 13px;
  color: #c22b1f;
  font-style: italic;
  transition: all 0.3s ease;
}

.allergy-list__title {
  font-family: kepler-std-condensed-display, serif;
  font-weight: 400;
  font-size: 50px;
  line-height: 1;
  color: #C22B21;
  margin-top: 6px;
  transition: all 0.3s ease;
}
@media screen and (max-width: 768px) {
  .allergy-list__title {
    font-size: 32px;
  }
}

.allergy-list__text {
  font-family: vdl-v7mincho, sans-serif;
  transform: scaleY(0.9);
  font-weight: 500;
  font-size: 13px;
  color: #c22b1f;
  margin-top: 13px;
  transition: all 0.3s ease;
}
@media screen and (max-width: 768px) {
  .allergy-list__text {
    font-size: 12px;
  }
}

.allergy-list__date {
  font-family: acumin-pro, sans-serif;
  font-size: 13px;
  color: #c22b1f;
  transition: all 0.3s ease;
}
@media screen and (max-width: 768px) {
  .allergy-list__date {
    font-size: 11px;
  }
}

.allergy-info {
  width: 400px;
  flex-shrink: 0;
  padding-right: 45px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media screen and (max-width: 768px) {
  .allergy-info {
    width: 100%;
    padding-inline: 20px;
    padding-bottom: 30px;
  }
}

.allergy-check {
  display: flex;
  border-top: 1px solid #c22b1f;
  padding-bottom: 12px;
  border-bottom: 1px solid #c22b1f;
}

@media screen and (max-width: 768px) {
  .allergy-check {
    margin-top: 20px;
  }
}

.allergy-check__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 25%;
}

.allergy-check__item-border {
  width: 100%;
  height: 5px;
  border-right: 1px solid #c22b1f;
}

@media screen and (max-width: 768px) {
  .allergy-check__item-border {
    height: 3px;
  }
}

.allergy-check__item:first-child .allergy-check__item-border {
  border-left: 1px solid #c22b1f;
}

.allergy-check__item-title {
  font-size: 11px;
  font-weight: 700;
  color: #c22b1f;
  margin-top: 2px;
  font-family: "Noto Sans JP", sans-serif;
}

@media screen and (max-width: 768px) {
  .allergy-check__item-title {
    font-size: 10px;
    margin-top: 1px;
  }
}

.allergy-check__item-status {
  font-size: 10px;
  margin-top: 4px;
  color: #c22b1f;
}

@media screen and (max-width: 768px) {
  .allergy-check__item-status {
    font-size: 9px;
    margin-top: 2px;
  }
}

.allergy-check .m-yes {
  color: #c22b1f;
}

.allergy-check .m-no {
  color: #c22b1f;
}

.allergy-list__card:hover .allergy-check {
  border-color: #ffffff;
}

.allergy-list__card:hover .allergy-check__item-border {
  border-color: #ffffff;
}

.allergy-list__card:hover .allergy-check__item-title {
  color: #ffffff;
}

.allergy-list__card:hover .allergy-check__item-status {
  color: #ffffff;
}

.allergy-list__card:hover .allergy-check .m-yes {
  color: #ffffff;
}

.allergy-list__card:hover .allergy-check .m-no {
  color: #ffffff;
}

.allergy-meta {
}
@media screen and (max-width: 768px) {
  .allergy-meta {
  }
}

.allergy-meta p {
  display: flex;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid #c22b1f;
  margin: 0;
}

@media screen and (max-width: 768px) {
  .allergy-meta p {
    padding: 6px 0;
    font-size: 11px;
  }
}

.allergy-meta__title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.12em;
}

@media screen and (max-width: 768px) {
  .allergy-meta__title {
    font-size: 10px;
    letter-spacing: 0;
  }
}

.allergy-meta__value {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  line-height: 1;
  font-weight: 400;
}

@media screen and (max-width: 768px) {
  .allergy-meta__value {
    font-size: 11px;
    line-height: 11px;
  }
}

.allergy-meta p:first-child {
}

.allergy-meta span {
  font-weight: bold;
  min-width: 51px;
  margin-right: 12px;
}

@media screen and (max-width: 768px) {
  .allergy-meta span {
    min-width: 40px;
    margin-right: 9px;
  }
}

.allergy-list__card:hover .allergy-meta p {
  border-color: #ffffff;
}

.allergy-list__card:hover .allergy-meta__title {
  color: #ffffff;
}

.allergy-list__card:hover .allergy-meta__value {
  color: #ffffff;
}

.c-breadcrumb {
  padding: 15px 179px;
}
@media screen and (max-width: 768px) {
  .c-breadcrumb {
    padding: 15px 20px;
  }
}

.c-breadcrumb__list {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  gap: 8px;
}

.c-breadcrumb__item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.c-breadcrumb__link {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  color: #666666;
  text-decoration: none;
  transition: opacity 0.3s ease;
}
.c-breadcrumb__link:hover {
  opacity: 0.7;
}

.c-breadcrumb__current {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  color: #c22b1f;
  font-weight: 400;
  text-decoration: underline;
}

.c-breadcrumb__separator {
  font-family: acumin-pro, sans-serif;
  font-size: 12px;
  color: #c22b1f;
  margin: 0 4px;
}