/* 全体 */
.features {
  font-family: "M PLUS Rounded 1c", sans-serif;
  width: 100%;
  box-sizing: border-box;
  /* 中央の背景色：白 */
}

/* 内側全体 */
.features_all {
  width: 52.6rem;
  margin: 0 auto -0.1rem auto;
  /* 中央寄せ */
  background-color: #ffffff;
  /* 中央の背景色：白 */
}

/* トップ画像　囲い */
.features_top_imge_wrap {
  display: flex;
  justify-content: center;
  position: relative;
  /* 重なり順（z-index）を有効化 */
  z-index: 1;
  /* ヘッダーより後ろに配置 */
  background-image: url("../img/features_top.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  width: 52.6rem;
  height: 36rem;
  width: 100%;
}

.responsive_only {
  display: none;
}

/* 治療の特徴　囲い */
.features_main_title_group {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding: 5rem 3rem 4rem 3rem;
}

/* りんごロゴ */
.features_main_title_logo {
  width: 6.1rem;
  height: 5.3rem;
}

/* 治療の特徴　タイトル */
.features_main_title1 {
  font-size: 3.6rem;
  font-weight: bold;
}

/* features */
.features_main_title2 {
  font-size: 1.6rem;
  font-weight: bold;
  color: #1ca63d;
  font-family: "Roboto Mono", sans-serif;
}

.sp_br {
    display: none ;
}

/* 大切にしてる、カムカム歯科のこだわり 囲い */
.features_section_head {
  width: 52.6rem;
  height: 4.1rem;
  background-color: #ed6c00;
  display: flex;
  padding-left: 5rem;
}

/* 大切にしてる、カムカム歯科のこだわり　タイトル */
.features_section_title {
  font-size: 2.4rem;
  color: #ffffff;
}

.features_list {
  padding-top: 3rem;
  position: relative;
  /* 基準位置を明確にするため */
  background-image: url("../img/big_teeth.png");
  background-repeat: no-repeat;
  background-position: right -21rem top 25rem;
  background-size: 41rem auto;
  /* 画像の幅を適切なサイズに指定 */
}

.features_card {
  display: flex;
  align-items: flex-end;
  padding: 2rem 3rem;
  gap: 0.5rem;
}

.features_card_icon {
  width: 9.5rem;
  height: auto;
}

.features_card_title {
  font-size: 1.8rem;
}

.features_card_text {
  font-size: 1.6rem;
  -webkit-text-stroke: 0.2px #000000;
}

.blank_sp {
  margin: 2rem auto;
}

.features {
  width: 100%;
  display: flex;
  justify-content: center;
}

.features_all {
  width: 52.6rem;
  max-width: 100%;
  margin: 0;
  flex-shrink: 0;
}

@media screen and (max-width: 1218px) {
  .features_top_imge_wrap {
    display: flex;
    justify-content: flex-end;
  }

  .responsive_only {
    display: block;
    background-color: #ffca8399;
    border-radius: 2rem 0 0 2rem;
    width: 13.5rem;
    height: auto;
    margin-top: 1.7rem;
    margin-bottom: 6rem;
  }

  .hygiene_container {
    display: flex;
    justify-content: center;
    flex-direction: column;
  }

  .hygiene_container svg,
  .curved_btn_wrapper svg {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    /* これがあるため、HTMLの width="300" よりもCSSが優先されて綺麗に縮みます */
    height: auto;
    /* これがあるため、HTMLの height="100" を無視して横幅に比例した高さになります */
  }

  .application_container {
    background-image: url("../img/white_teeth.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 9rem 8.7rem;
    margin-top: -1rem;
    margin-bottom: 0.5rem;
  }

  .part_time {
    font-size: 1.6rem;
    font-weight: bold;
    text-align: center;
  }

  .recruitment {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
  }

  .blank {
    font-size: 1.3rem;
    font-weight: bold;
    text-align: center;
  }

  .short_time {
    font-size: 1.3rem;
    font-weight: bold;
    text-align: center;
  }

  .telephone_container {
    width: 9.6rem;
    height: 9.6rem;
    border-radius: 50%;
    background-color: #8c4a1a;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border: solid 0.3rem #ed6c00;
    background-image: url(../img/color_teeth.png);
    background-size: 5rem 5rem;
    background-repeat: no-repeat;
    background-position: center;
    margin: 0 auto;
  }

  .phone_call {
    text-align: center;
    text-decoration: none;
    padding-bottom: 1rem;
  }

  .tel_number {
    font-size: 2.1rem;
    font-weight: 600;
    font-family: "Roboto Mono";
    color: white;
  }
}

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

  /* 幅固定の要素をすべて画面幅100%に変更 */
  .features_all,
  .features_top_imge,
  .features_section_head {
    width: 100%;
    max-width: 100%;
  }

  /* 「大切にしてる、カムカム歯科のこだわり」帯の調整 */
  .features_section_head {
    height: auto;
    padding: 0.8rem 1rem;
    text-align: center;
    justify-content: center;
  }

  /* 帯のテキストサイズを調整して折り返し対応 */
  .features_section_title {
    font-size: 2rem;
    font-weight: 900;
  }

  .features_card_icon {
    width: 7rem;
  }

  .features_card {
    align-items: flex-start;
  }

  .features_card_title {
    font-size: 1.9rem;
    font-weight: 1000;
  }

  .features_card_text {
    font-size: 1.6rem;
  }
}

@media screen and (max-width: 380px) {
  .sp_br {
    display: block;
  }
}