/* ==============================
   症状別リンクエリア
================================ */

.symptom-box-link{
  pointer-events: none;
}

.symptoms-area {
  width: 100%;
  max-width: none;
}

.symptoms-area .para-box {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}

/* 各枠 */
.symptoms-area .symptom-box {
  position: relative;
  width: 33.3333%;
  min-height: 460px;
  padding: 70px 60px;
  box-sizing: border-box;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 背景画像 */
.symptoms-area .symptom-box .para-b {
  position: absolute !important;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  padding: 0 !important;
  overflow: hidden;
}

.symptoms-area .symptom-box .para-b::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(20, 25, 30, 0.42);
  pointer-events: none;
}

.symptoms-area .symptom-box .para {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

/* 枠全体のリンク */
.symptoms-area .symptom-box-link {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
}

/* テキスト */
.symptoms-area .symptom-box .tbox {
  position: relative;
  z-index: 3;
  width: 100%;
  color: #fff;
  text-align: center;
  pointer-events: none;
}

.symptoms-area .symptom-box .main-title {
  margin: 0 0 10px;
  color: #fff;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.4;
}

.symptoms-area .symptom-box .sb-title {
  margin: 0 0 20px;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.7;
}

/* 症状キーワード */
.symptoms-area .symptom-keywords {
  position: relative;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 20px;
  margin: 20px 0;
  padding-top: 20px;
  pointer-events: auto;
}

.symptoms-area .symptom-keywords a {
  position: relative;
  z-index: 5;
  width: calc(50% - 10px);
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid #fff;
  box-sizing: border-box;
  color: #fff;
  background: transparent;
  font-size: 15px;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

.symptoms-area .symptom-keywords a:hover {
  color: #333;
  background-color: #fff;
}

/* 3つなど奇数の場合、最後を中央に配置 */
.symptoms-area .symptom-keywords a:last-child:nth-child(odd) {
  margin-right: calc(25% + 5px);
  margin-left: calc(25% + 5px);
}

/* 説明文 */
.symptoms-area .symptoms-list {
  margin: 20px 0 0;
  padding: 0;
  color: #fff;
  list-style: none;
  text-align: left;
}

.symptoms-area .symptoms-list li {
  position: relative;
  margin: 0 0 8px;
  padding-left: 1em;
  color: #fff;
  font-size: 15px;
  line-height: 1.7;
}

.symptoms-area .symptoms-list li::before {
  content: "・";
  position: absolute;
  top: 0;
  left: 0;
}

/* タブレット */
@media screen and (max-width: 1024px) {
  .symptoms-area .symptom-box {
    min-height: 430px;
    padding: 50px 30px;
  }

  .symptoms-area .symptom-box .main-title {
    font-size: 27px;
  }

  .symptoms-area .symptom-box .sb-title {
    font-size: 15px;
  }

  .symptoms-area .symptom-keywords {
    gap: 10px;
  }

  .symptoms-area .symptom-keywords a {
    width: calc(50% - 5px);
    font-size: 14px;
  }

  .symptoms-area .symptom-keywords a:last-child:nth-child(odd) {
    margin-right: calc(25% + 2.5px);
    margin-left: calc(25% + 2.5px);
  }
}

/* スマートフォン */
@media screen and (max-width: 599px) {
  .symptoms-area .para-box {
    display: block;
  }

  .symptoms-area .symptom-box {
    width: 100%;
    min-height: 460px;
    padding: 45px 30px;
  }

  .symptoms-area .symptom-box .main-title {
    font-size: 27px;
  }

  .symptoms-area .symptom-box .sb-title {
    font-size: 15px;
  }

  .symptoms-area .symptoms-list li {
    font-size: 14px;
  }
}
