/* ==================================================
   症状から探す
================================================== */

.symptoms-page {
  color: #1f3656;
  font-size: 18px;
}

.symptoms-page p {
  margin: 20px 0 0;
}

.symptoms-intro {
  padding-bottom: 80px;
}

.symptoms-intro p {
  text-align: left;
}


/* ==================================================
   症状一覧
================================================== */

.symptoms-index {
  padding-top: 40px;
}

.symptoms-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 56px;
}

.symptoms-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  min-width: 0;
  overflow: hidden;
  color: inherit;
  background: #fff;
  border: 1px solid #dcebf7;
  border-radius: 24px;
  box-shadow: 0 5px 18px rgba(31, 54, 86, .07);
}

.symptoms-card__image {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100%;
  padding: 50px 18px 24px;
  background: #f0f8fd;
}

.symptoms-card__image > img {
  width: 96px;
  height: 138px;
  object-fit: contain;
}

.symptoms-card__image > span {
  position: absolute;
  top: 20px;
  left: 22px;
  color: #86b4e5;
  font-family: var(--font-en);
  font-size: 24px;
  font-weight: 700;
}

.symptoms-card__body {
  display: flex;
  flex-direction: column;
  min-height: 290px;
  padding: 32px 28px 26px;
}

.symptoms-card__body h3 {
  margin: 0;
  color: #0c3d7d;
  font-size: 23px;
  line-height: 1.55;
}

.symptoms-card__body > p {
  margin-top: 22px;
  font-size: 16px;
  line-height: 1.9;
}

.symptoms-card__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 24px;
  color: #2e5ea7;
  font-size: 15px;
  font-weight: 700;
}

.symptoms-card__link img {
  flex: 0 0 auto;
  width: 16px;
}

@media (hover: hover) {

  .symptoms-card {
    transition: transform .3s ease, box-shadow .3s ease;
  }

  .symptoms-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(31, 54, 86, .12);
  }

  .symptoms-card__link img {
    transition: transform .3s ease;
  }

  .symptoms-card:hover .symptoms-card__link img {
    transform: translate(2px, -2px);
  }

}


/* ==================================================
   受診案内
================================================== */

.symptoms-note {
  padding-top: 0;
}

.symptoms-note__panel {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 30px;
  padding: 52px 60px;
  background: #fffaf1;
  border: 1px solid #eee2c9;
  border-radius: 24px;
}

.symptoms-note__mark {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  color: #fff;
  background: #c6a86a;
  border-radius: 50%;
  font-size: 28px;
  font-weight: 700;
}

.symptoms-note h2 {
  margin: 0;
  color: #0c3d7d;
  font-size: 28px;
  line-height: 1.5;
}

.symptoms-note p {
  margin-top: 20px;
  line-height: 1.9;
}

.symptoms-note a {
  display: inline-block;
  margin-top: 24px;
  padding: 14px 28px;
  color: #fff;
  background: #4f8fd4;
  border-radius: 14px;
  font-weight: 700;
}


/* ==================================================
   Tablet
================================================== */

@media screen and (min-width: 768px) and (max-width: 1024px) {

  .symptoms-page {
    font-size: 17px;
  }

  .symptoms-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
    margin-top: 48px;
  }

  .symptoms-card {
    grid-template-columns: 118px minmax(0, 1fr);
  }

  .symptoms-card__image {
    padding: 46px 12px 20px;
  }

  .symptoms-card__image > img {
    width: 76px;
    height: 114px;
  }

  .symptoms-card__body {
    min-height: 0;
    padding: 26px 20px 22px;
  }

  .symptoms-card__body h3 {
    font-size: 20px;
  }

}


/* ==================================================
   Smartphone
================================================== */

@media screen and (max-width: 767px) {

  .symptoms-page {
    font-size: 16px;
  }

  .symptoms-intro {
    padding-bottom: 48px;
  }

  .symptoms-index {
    padding-top: 32px;
  }

  .symptoms-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 38px;
  }

  .symptoms-card {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    border-radius: 18px;
  }

  .symptoms-card__image {
    height: auto;
    min-height: 100%;
    padding: 46px 12px 20px;
  }

  .symptoms-card__image > img {
    width: 74px;
    height: 112px;
  }

  .symptoms-card__image > span {
    top: 16px;
    left: 14px;
    font-size: 19px;
  }

  .symptoms-card__body {
    min-height: 0;
    padding: 24px 18px 20px;
  }

  .symptoms-card__body h3 {
    font-size: 19px;
  }

  .symptoms-card__body > p {
    margin-top: 14px;
    font-size: 16px;
    line-height: 1.8;
  }

  .symptoms-card__link {
    margin-top: 20px;
    padding-top: 0;
    font-size: 13px;
    line-height: 1.6;
  }

  .symptoms-note__panel {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 34px 24px;
    border-radius: 20px;
  }

  .symptoms-note__mark {
    width: 48px;
    height: 48px;
    font-size: 22px;
  }

  .symptoms-note h2 {
    font-size: 23px;
  }

  .symptoms-note a {
    display: block;
    padding: 14px 18px;
    text-align: center;
  }

}


/* ==================================================
   Small Smartphone
================================================== */

@media screen and (max-width: 374px) {

  .symptoms-card {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .symptoms-card__image {
    padding-right: 8px;
    padding-left: 8px;
  }

  .symptoms-card__image > img {
    width: 62px;
    height: 100px;
  }

  .symptoms-card__body {
    padding-right: 14px;
    padding-left: 14px;
  }

  .symptoms-card__body h3 {
    font-size: 18px;
  }

  .symptoms-card__link {
    font-size: 12px;
  }

  .symptoms-note__panel {
    padding-right: 20px;
    padding-left: 20px;
  }

}
