/* 担当科目セクション */
.instructor-subjects {
  margin-top: 40px;
  margin-bottom: 20px;
  padding: 25px;
  background-color: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.instructor-subjects__title {
  font-size: 18px;
  font-weight: 700;
  color: #333333;
  letter-spacing: 0.4px;
  line-height: 1.5;
  margin-bottom: 15px;
  padding: 10px 15px;
  border-bottom: 2px solid var(--color_main);
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 8px 8px 0 0;
}

.instructor-subjects__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.instructor-subjects__item {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.2px;
  line-height: 1.4;
  padding: 8px 16px;
  background: linear-gradient(135deg, var(--color_main) 0%, #007acc 100%);
  border-radius: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.instructor-subjects__item:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* タブレット対応（768px以下） */
@media screen and (max-width: 768px) {
  .instructor-subjects {
    margin-top: 30px;
    margin-bottom: 15px;
    padding: 20px;
  }

  .instructor-subjects__title {
    font-size: 16px;
    font-weight: 700;
    color: #333333;
    letter-spacing: 0.3px;
    line-height: 1.5;
    margin-bottom: 12px;
    padding: 8px 12px;
  }

  .instructor-subjects__item {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.1px;
    line-height: 1.4;
    padding: 6px 12px;
  }
}

/* スマートフォン対応（480px以下） */
@media screen and (max-width: 480px) {
  .instructor-subjects {
    margin-top: 20px;
    margin-bottom: 10px;
    padding: 15px;
  }

  .instructor-subjects__title {
    font-size: 15px;
    font-weight: 700;
    color: #333333;
    letter-spacing: 0.2px;
    line-height: 1.4;
    margin-bottom: 10px;
    padding: 6px 10px;
  }

  .instructor-subjects__item {
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.1px;
    line-height: 1.3;
    padding: 5px 10px;
  }
}

.instructor-description {
  margin-top: 40px;
  padding: 30px;
  background-color: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.instructor-description__title {
  font-size: 20px;
  font-weight: 700;
  color: #333333;
  letter-spacing: 0.5px;
  line-height: 1.5;
  margin-bottom: 20px;
  padding: 12px 20px 10px 20px;
  border-bottom: 2px solid var(--color_main);
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 8px 8px 0 0;
}

.instructor-description__content {
  font-size: 16px;
  font-weight: 400;
  color: #555555;
  letter-spacing: 0.3px;
  line-height: 1.8;
  white-space: normal;
}

/* タブレット対応（768px以下） */
@media screen and (max-width: 768px) {
  .instructor-description {
    margin-top: 30px;
    padding: 20px;
  }

  .instructor-description__title {
    font-size: 18px;
    font-weight: 700;
    color: #333333;
    letter-spacing: 0.4px;
    line-height: 1.5;
    margin-bottom: 15px;
    padding: 10px 15px 8px 15px;
  }

  .instructor-description__content {
    font-size: 14px;
    font-weight: 400;
    color: #555555;
    letter-spacing: 0.2px;
    line-height: 1.7;
  }
}

/* スマートフォン対応（480px以下） */
@media screen and (max-width: 480px) {
  .instructor-description {
    margin-top: 20px;
    padding: 15px;
  }

  .instructor-description__title {
    font-size: 16px;
    font-weight: 700;
    color: #333333;
    letter-spacing: 0.3px;
    line-height: 1.4;
    margin-bottom: 12px;
    padding: 8px 12px 6px 12px;
  }

  .instructor-description__content {
    font-size: 13px;
    font-weight: 400;
    color: #555555;
    letter-spacing: 0.1px;
    line-height: 1.6;
  }
}
