@charset "UTF-8";
@media screen and (min-width: 770px) {
  /* FV */
  #conts_common_fv .common_kv img {
    object-position: center 40%;
  }
  /* 外科診療・内科診療のご案内 */
  .section_top {
    margin: 0 50px 33px;
  }
  .title_text {
    font-size: 17px;
    line-height: 2;
  }
  .bottom_wrap {
    background-color: var(--color-pink2);
    border-radius: 20px;
    padding: 38px 50px 54px;
    position: relative;
  }
  .section_bg .bottom_wrap {
    background-color: var(--bg-color);
  }
  .bottom_wrap h3 {
    width: 100%;
    padding-left: 38px;
    font-size: 25px;
    border-bottom: 3px solid #ffd4e2;
    margin-bottom: 35px;
    position: relative;
  }
  .bottom_wrap h3::before {
    content: "";
    display: block;
    width: 28px;
    height: 28px;
    border-radius: 20px;
    background-color: #ffd4e2;
    position: absolute;
    left: 0px;
    top: 50%;
    transform: translateY(-50%);
  }
  .bottom_wrap .check_list {
    display: flex;
    flex-wrap: wrap;
    column-gap: 20px;
    margin-bottom: -40px;
  }
  .bottom_wrap .check_list li {
    font-size: 19px;
    min-width: 180px;
    width: fit-content;
    margin: 0 0 40px 0;
    padding-left: 35px;
  }
  .bottom_wrap .check_list li::before {
    left: 0;
  }
  .etc {
    font-size: 17px;
    position: absolute;
    bottom: 25px;
    right: 34px;
  }
  /* 予防接種のご案内 */
  .cost_group {
    border-radius: 20px;
    padding: 40px 50px 45px;
    margin-bottom: 50px;
  }
  .cost_group:last-of-type {
    margin-bottom: 0;
  }
  .bg_wrapper {
    background-color: var(--color-pink2);
  }
  .bg_wrapper h3 {
    margin-bottom: 24px;
  }
  .bg_wrapper h3::before {
    content: "";
    display: block;
    width: 28px;
    height: 28px;
    border-radius: 20px;
    background-color: #ffd4e2;
    position: absolute;
    left: 0px;
    top: 50%;
    transform: translateY(-50%);
  }
  .table_block {
    margin-bottom: 40px;
  }
  .title_cost {
    margin-bottom: 10px;
    font-size: 20px;
    line-height: 1.5;
  }
  .cost_box {
    margin-bottom: 10px;
    font-size: 18px;
    border-collapse: collapse;
  }
  .cost_box th {
    width: 440px;
    padding: 15px 30px 13px;
    background-color: #ffe3e6;
    border: 2px solid var(--border-pink);
    line-height: 1.7;
  }
  .cost_box td {
    width: calc(100% - 440px);
    padding: 15px 30px 13px;
    background-color: #fff;
    text-align: right;
    border: 2px solid var(--border-pink);
    vertical-align: middle;
  }
  .cost_block {
    width: 900px;
    margin: 0 auto 32px;
  }
  .cost_block:last-of-type {
    margin-bottom: 0;
  }
  .caution_text {
    font-size: 17px;
    text-align: right;
    line-height: 1.6;
  }
  .message {
    text-align: center;
    font-size: 20px;
    padding-top: 36px;
    line-height: 2;
    text-decoration: underline;
    text-underline-offset: 6px;
    text-decoration-color: var(--border-pink);
  }
}
@media screen and (max-width: 769px) {
  /* 外科診療・内科診療のご案内 */
  .title_text {
    font-size: 17px;
    line-height: 2;
  }
  .section_top {
    margin-bottom: 30px;
  }
  .bottom_wrap {
    background-color: var(--color-pink2);
    border-radius: 12px;
    padding: 30px 5% 40px;
    position: relative;
  }
  .section_bg .bottom_wrap {
    background-color: var(--bg-color);
  }
  .bottom_wrap .check_list {
    display: flex;
    flex-wrap: wrap;
  }
  .bottom_wrap .check_list li {
    font-size: 17px;
    min-width: 250px;
    margin-bottom: 12px;
  }
  .bottom_wrap .check_list li:last-of-type {
    margin-bottom: 0;
  }
  .etc {
    position: absolute;
    bottom: 10px;
    right: 20px;
  }
  /* 予防接種のご案内 */
  .cost_group {
    border-radius: 15px;
    padding: 30px 5% 20px;
    margin-bottom: 50px;
  }
  .cost_group:last-of-type {
    margin-bottom: 0;
  }
  .bg_wrapper {
    background-color: var(--color-pink2);
  }
  .table_block {
    margin-bottom: 40px;
  }
  .cost_box {
    margin-bottom: 8px;
    border-collapse: collapse;
  }
  .cost_box tr:not(:last-of-type) {
    display: block;
    margin-bottom: 12px;
  }
  .cost_box th {
    text-align: center;
    display: block;
    width: 100%;
    padding: 13px 25px 11px;
    background-color: #ffe3e6;
    border: 2px solid var(--border-pink);
    line-height: 1.7;
  }
  .cost_box td {
    display: block;
    width: 100%;
    padding: 13px 25px 11px;
    background-color: #fff;
    border: 2px solid var(--border-pink);
    border-top: none;
    text-align: center;
  }
  .cost_box tr:last-of-type td {
    border-bottom: 2px solid var(--border-pink);
  }
  .cost_block {
    width: 100%;
    margin: 0 auto 20px;
  }
  .cost_block:last-of-type {
    margin-bottom: 0;
  }
  .title_cost {
    margin-bottom: 10px;
    line-height: 1.5;
  }
  .caution_text {
    line-height: 1.6;
    font-size: 14px;
    padding-left: 1em;
    text-indent: -1em;
  }
  .message {
    font-size: 17px;
    padding-top: 16px;
    line-height: 2;
    text-decoration: underline;
    text-underline-offset: 6px;
    text-decoration-color: var(--border-pink);
  }
}