@charset "utf-8";

#knowledge.knowledge .bnr_area_top.image_box:not(:has(img)) {
  display: none;
}

#knowledge.knowledge .l_cont_block p {
    line-height: 32px;
    margin-top: 24px;
}

#knowledge.knowledge .image_head {
    text-align: center;
    margin-top: 24px;
    margin-bottom: 15px;
}

#knowledge.knowledge .image_head img.image {
    width: 100%;
    height: auto;
}

#knowledge.knowledge .image_box {
    margin-top: 24px;
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 32px;
}

#knowledge.knowledge .image_box .image {
    flex: 1;
    min-width: 0;
    flex-basis: auto;
    text-align: center;
}

#knowledge.knowledge .image_box img.image {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    flex: 0 0 auto !important;
}

#knowledge.knowledge .image_box .image img {
    width: auto;
    height: auto;
    max-width: 100%;
}

#knowledge.knowledge .image_box .image p {
    margin-bottom: 0;
    margin-top: 0;
    font-size: 14px;
    text-align: center;
}

#knowledge.knowledge .supplement_contents {
    background: #fff;
    border: 4px solid #D0E7FF;
    border-radius: 5px;
    padding: 10px;
    margin: 24px 10px 0;
    overflow: hidden;
}

#knowledge.knowledge .supplement_contents .img_right {
    float: right;
    margin-left: 20px;
    width: 200px;
}

#knowledge.knowledge .supplement_contents .img_right .image {
    width: 100%;
    height: auto;
}

#knowledge.knowledge .supplement_contents p {
    margin: 0;
    font-size: 14px;
}

#knowledge.knowledge .content_container {
    margin-top: 32px;
}

#knowledge.knowledge .content_box {
    margin-top: 32px;
}

#knowledge.knowledge .l_cont_block h1 {
    margin: 12px 0 0 0;
}

#knowledge.knowledge .l_cont_block h2 {
    margin-bottom: 20px;
}

#knowledge.knowledge .l_cont_block h3 {
    font-size: 20px;
    font-weight: bold;
    border-left: 4px solid #0072BE;
    border-bottom: 1px dotted #CCC;
    background-color: #fff;
    padding: 4px 12px;
}

#knowledge.knowledge ul.disc_list {
    list-style-type: disc;
    padding-left: 1rem;
    line-height: 1.8;
    margin: 0 10px;
}

#knowledge.knowledge .text_small {
    display: block;
    font-size: 14px;
}

#knowledge.knowledge .text_center {
    text-align: center;
}

#knowledge.knowledge .text_right {
    text-align: right;
}

#knowledge.knowledge .text_date {
    font-size: 14px;
    color: #666666;
    margin: 0 !important;
    position: absolute;
    bottom: 6px;
    right: 20px;
}

#knowledge.knowledge .image_box.bnr_area_top {
    margin-top: 0;
    margin-bottom: 30px;
}

#knowledge.knowledge .bnr_pc {
    display: block;
}

#knowledge.knowledge .bnr_sp {
    display: none;
}

#knowledge.knowledge .category_link_box,
#knowledge.knowledge .category_tag_box {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    margin: 10px 0;
    list-style: none;
}

#knowledge.knowledge .category_link_box {
    gap: 20px 10px;
}

#knowledge.knowledge .category_link_box li a {
    display: block;
    font-size: 16px;
    background: #EAF4FF;
    padding: 2px 8px;
    border-radius: 6px;
    color: #0072BE;
}

#knowledge.knowledge .category_tag_box li {
    display: block;
    font-size: 13px;
    background: #EAF4FF;
    padding: 2px 8px;
    border-radius: 6px;
    color: #0072BE;
}

#knowledge.knowledge .contents_link {
    display: flex;
    justify-content: center;
    margin-top: 23px;
}

#knowledge.knowledge .contents_link a {
    display: block;
    background: #fff;
    border-radius: 10em;
    border: 1px solid #0072BE;
    color: #333;
    font-size: 14px;
    font-weight: bold;
    max-width: 320px;
    min-width: 256px;
    padding: 10px 26px;
    text-align: center;
}

#knowledge.knowledge .contents_link a:hover {
    background: #0072BE;
    color: #fff;
    opacity: 1;
}

#knowledge.knowledge .content_boxes {
    display: flex;
    flex-direction: row;
    justify-content: start;
    flex-wrap: wrap;
    gap: 23px;
    margin-bottom: 15px;
}

#knowledge.knowledge .content_boxes .content_box {
    list-style: none;
    width: calc((100% - 24px) / 2);
    margin: 0;
    position: relative;
}

#knowledge.knowledge .content_boxes .content_box a {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: #333333;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

#knowledge.knowledge .content_boxes .content_box img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}


#knowledge.knowledge .l_cont_block .content_boxes .content_box h3 {
    font-size: 18px;
    margin: 0 0 10px;
    line-height: 1.6;
    border-left: none;
    border-bottom: none;
}

#knowledge.knowledge .l_cont_block .content_boxes .content_box .category_tag_box {
    padding: 0 10px;
}

#knowledge.knowledge .content_boxes .content_box .content_inbox {
    padding: 0 16px 0 16px;
    margin-top: auto;
    height: 100px;
}

#knowledge.knowledge .content_boxes .content_box .content_inbox p:not(.text_date) {
    font-size: 14px;
    color: #666666;
    line-height: 1.5;
    margin: 0 0 8px 0;
}

#knowledge.knowledge .pager_area {
    padding-top: 5px;
    margin-bottom: 30px;
}

#knowledge.knowledge .pager_area ul.pager {
    display: flex;
    justify-content: center;
}

#knowledge.knowledge .pager_area ul.pager li {
    margin-right: 10px;
}

#knowledge.knowledge .pager_area ul.pager li a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    height: 36px;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 0 14px;
}

#knowledge.knowledge .pager_area ul.pager li a[tabindex] {
    background: #147cbe;
    color: #fff;
}

#knowledge.knowledge .pager_area ul.pager li:last-of-type {
    margin-right: 0;
}

#knowledge.knowledge .consult_category_search {
    background: #D0E7FF;
    padding: 10px;
    border-radius: 5px;
    margin-top: 30px;
}

#knowledge.knowledge .consult_category_title img {
    width: 30px;
}

#knowledge.knowledge .consult_category_title {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    width: 100%;
    border: none;
    padding: 0;
    margin: 0 0 10px;
}

#knowledge.knowledge .consult_category_title h2 {
    border: none;
    padding: 0;
    min-height: auto;
    margin: 0;
    font-size: 20px;
    background-color: transparent;
}

#knowledge.knowledge .consult_category_title h2::before {
    display: none;
}

#knowledge.knowledge .consult_category_list {
    background: #fff;
    padding: 14px 18px;
}

#knowledge.knowledge .consult_category_list .consult_category_subtitle {
    display: flex;
    justify-content: start;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px;
    width: 100%;
    border: none;
    padding: 20px 0 0;
    margin: 20px 0 0;
    border-top: 1px dashed #BBB;
}

#knowledge.knowledge .consult_category_list .consult_category_subtitle:first-of-type {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
}

#knowledge.knowledge .consult_category_list .consult_category_subtitle>img {
    height: 21px;
    width: auto;
}

#knowledge.knowledge .consult_category_list .consult_category_subtitle h3 {
    background: none;
    padding: 0;
    border-left: none;
    border-bottom: none !important;
    font-size: 16px;
    margin-bottom: 0;
    color: #333;
    min-height: auto;
}

#knowledge.knowledge .consult_top_title {
    display: flex;
    justify-content: space-between;
    align-items: start;
    flex-wrap: wrap;
    gap: 20px;
}

#knowledge.knowledge .consult_top_title .consult_count.top {
    background: #eee;
    justify-content: center;
    border-radius: 5px;
    padding: 6px 14px;
    margin-top: 5px;
}

#knowledge.knowledge .consult_top_title .consult_count {
    display: flex;
    align-items: center;
}

#knowledge.knowledge .consult_top_title .consult_count img {
    margin-right: 6px;
}


#knowledge.knowledge .consult_top_title .consult_count p {
    display: flex;
    align-items: center;
    margin: 0;
    line-height: 1.8;
}

#knowledge.knowledge .consult_top_title .consult_count.top p span {
    font-size: 24px;
    background: #fff;
    padding: 0 10px;
    margin: 0 8px;
    border-radius: 5px;
    line-height: 1.6;
}

#knowledge.knowledge .consult_top_title .consult_count p span {
    font-size: 24px;
    color: red;
    font-weight: bold;
    margin: 0 4px 8px;
}

#knowledge.knowledge.knowledge_article .doctor_box {
    border: 1px solid #ccc;
    padding: 20px;
    background: #fff;
    margin: 30px 0;
}

#knowledge.knowledge.knowledge_article .doctor_box h2 {
    border-bottom: 1px dashed #BBB;
    padding: 0 0 5px;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
    min-height: auto;
}

#knowledge.knowledge.knowledge_article .doctor_box .doctor_info {
    display: flex;
    gap: 20px;
    align-items: start;
}

#knowledge.knowledge.knowledge_article .doctor_box .doctor_info .image_box {
    margin: 0;
}

#knowledge.knowledge.knowledge_article .doctor_box .doctor_info .image_box .image {
    max-width: 100px;
    height: auto;
    object-fit: cover;
    border-radius: 50%;
}

#knowledge.knowledge.knowledge_article .doctor_box .doctor_info .doctor_text p {
  line-height: 1.8;
  font-size: 14px;
  margin: 0;
}
#knowledge.knowledge.knowledge_article .doctor_box .doctor_info .doctor_text p span.font-bold {
  display: inline-block;
  font-size: 16px;
  margin-bottom: 8px;
}
#knowledge.knowledge.knowledge_article .l_cont_block .font-bold {
  font-weight: bold;
}
#knowledge.knowledge.knowledge_article .l_cont_block .font-pink {
  color: #e867a8;
}
#knowledge.knowledge.knowledge_article .l_cont_block .font-green {
  color: #3aafaf;
}

#knowledge.knowledge .find_clinic {
    background: #D0E7FF;
    border-radius: 8px;
    margin: 40px auto 20px;
    letter-spacing: 0.06em;
    padding: 5px 20px 20px;
}

#knowledge.knowledge .find_clinic a {
  cursor: pointer;
}
#knowledge.knowledge .find_clinic a:hover {
  opacity: 0.8;
}

#knowledge.knowledge .find_clinic .find-clinic_title {
    text-align: center;
    color: #333;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #fff;
}

#knowledge.knowledge .find_clinic .find-clinic_title span.type_flg {
    font-size: 24px;
}

#knowledge.knowledge .find_clinic .find-clinic_btn {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

#knowledge.knowledge .find_clinic .find-clinic_btn .btn-type_flg {
    width: 40%;
}

#knowledge.knowledge .find_clinic .btn-type_flg a.btn_flg {
    display: flex;
    position: relative;
    color: #333;
    justify-content: center;
    align-items: center;
    background: #fff;
    padding: 24px 0;
    font-size: 20px;
    border-radius: 12px;
    font-weight: bold;
    width: 100%;
    height: 100%;
    box-shadow: 0px 0px 3px 0px #AAA;
}

#knowledge.knowledge .find_clinic .btn-type_flg a.btn_flg>img {
    margin-left: -1em;
}

#knowledge.knowledge .find_clinic .btn-type_flg a.btn_flg.area:before {
    position: absolute;
    width: 18px;
    height: 18px;
    border: 2px solid #555;
    border-radius: 50px;
    transform: translateY(-50%) rotate(45deg);
    content: "";
    right: 20px;
    top: 49%;
}

#knowledge.knowledge .find_clinic .btn-type_flg a.btn_flg p {
    font-size: 1.2em;
    margin: 0 0.4em 0 0;
}

#knowledge.knowledge .find_clinic .btn-type_flg a.btn_flg.area:after {
    position: absolute;
    width: 6px;
    height: 6px;
    border-bottom: 2px solid #555;
    border-right: 2px solid #555;
    transform: translateY(-50%) rotate(45deg);
    content: "";
    right: 27px;
    top: 47%;
}

.btn-type_flg a.btn_flg p {
    font-size: 1.2em;
    margin-left: 0.8em;
    margin-right: 0.2em;
}

#knowledge.knowledge .find_clinic .area-open .arrow {
    position: relative;
    width: 100%;
    height: 1.8em;
    margin: 1em 0 0.5em;
    display: flex;
    justify-content: center;
    align-items: center;
}

#knowledge.knowledge .find_clinic .area-open .arrow:before {
    position: absolute;
    width: 15px;
    height: 15px;
    border-bottom: 3px solid #333;
    border-right: 3px solid #333;
    transform: rotate(45deg);
    content: "";
    top: 2px;
}

#knowledge.knowledge .find_clinic .area-open .arrow:after {
    position: absolute;
    width: 15px;
    height: 15px;
    border-bottom: 3px solid #333;
    border-right: 3px solid #333;
    transform: rotate(45deg);
    content: "";
    top: -5px;
}

#knowledge.knowledge .find_clinic .area-open .link_area {
    padding: 0.5em 50px;
}

#knowledge.knowledge .find_clinic .area-open .link_area ul {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

#knowledge.knowledge .find_clinic .area-open .link_area ul li {
    width: calc((100% - 30px) / 3);
}

#knowledge.knowledge .find_clinic .area-open .link_area ul li a {
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    padding: 12px 5px;
    font-size: 20px;
    border-radius: 12px;
    font-weight: bold;
    width: 100%;
    height: 100%;
    box-shadow: 0px 0px 3px 0px #AAA;
}

#knowledge.knowledge .find_clinic .return-btn-area {
    text-align: right;
    margin-top: 10px;
}

#knowledge.knowledge .find_clinic .return-btn-area a.return-btn {
    color: #333;
    font-size: 20px;
    font-weight: bold;
}

#knowledge.knowledge .find_clinic .return-btn-area a.return-btn::before {
    content: "<";
    padding-right: 5px;
}

#knowledge.knowledge .content_container.info_company {
    border: 1px solid #CCCCCC;
    padding: 25px;
}


#knowledge.knowledge .content_container.info_company h2 {
    border-bottom: 1px dashed #BBB;
    border-left: none;
    background-color: transparent;
    padding: 0;
    margin-top: 15px;
    font-size: 16px;
    color: #333;
}

#knowledge.knowledge .content_container.info_company .image_box img.image {
    width: 270px;
}

#knowledge.knowledge .content_container.info_company h2:first-of-type {
    margin-top: 0;
}

#knowledge.knowledge .content_container.info_company h2::before {
    display: none;
}



#knowledge.knowledge.knowledge_article .l_cont_block h1 {
    padding-left: 0;
    font-size: 25px;
}

#knowledge.knowledge.knowledge_article .l_cont_block h1::before,
#knowledge.knowledge.knowledge_article .l_cont_block h1::after {
    display: none;
}

#knowledge.knowledge.knowledge_article .l_cont_block h2:not(.default) {
    padding-left: 0;
    background-color: transparent;
}

#knowledge.knowledge.knowledge_article .l_cont_block h2:not(.default)::before {
    display: none;
}

#knowledge.knowledge.knowledge_article .l_cont_block h3 {
    font-size: 20px;
    font-weight: bold;
    border-left: none;
    border-bottom: 1px dashed #0072BE;
    background-color: #fff;
    padding: 0 0 10px;
}

#knowledge.knowledge.knowledge_article .l_cont_block .content_boxes .content_box h3 {
    padding: 4px 12px;
}

#knowledge.knowledge.knowledge_article .l_cont_block h4 {
    background-color: #EFEFEF;
    border-radius: 20px;
    color: #444;
    border-bottom: none;
    padding: 0 15px;
}

#knowledge.knowledge.knowledge_article .l_cont_block .date_box {
    display: grid;
    grid-template-columns: max-content max-content max-content max-content;
    justify-content: end;
    gap: 0;
    margin-top: 20px;
}

#knowledge.knowledge.knowledge_article .l_cont_block .date_box dt,
#knowledge.knowledge.knowledge_article .l_cont_block .date_box dd {
    font-size: 14px;
}

#knowledge.knowledge.knowledge_article .l_cont_block .date_box dt:nth-of-type(2) {
    margin-left: 16px;
}

#knowledge.knowledge.knowledge_article .l_cont_block .category_link_area {
    display: flex;
    align-items: center;
}

#knowledge.knowledge.knowledge_article .l_cont_block .category_link_area dt {
    text-wrap: nowrap;
}

#knowledge.knowledge.knowledge_article .l_cont_block .content_inbox {
    padding: 0 15px;
}

#knowledge.knowledge.knowledge_article .table_contents {
    background: #fff;
    text-align: center;
    border: 4px solid #E4E6EB;
    border-radius: 5px;
    margin: 24px 0 0;
}

#knowledge.knowledge.knowledge_article .l_cont_block .table_contents>h3 {
    background-color: #E4E6EB;
    border-bottom: none;
    font-size: 18px;
    padding: 15px;
}

#knowledge.knowledge.knowledge_article .table_contents ul {
    padding: 15px;
    margin-left: 15px;
}

#knowledge.knowledge.knowledge_article .table_contents ul li {
    position: relative;
    font-size: 17px;
    line-height: 1.5;
    font-weight: bold;
    text-align: left;
    padding-left: 15px;
}

#knowledge.knowledge.knowledge_article .table_contents ul li a:after {
    position: absolute;
    width: 5px;
    height: 5px;
    border-bottom: 2px solid #555;
    border-right: 2px solid #555;
    transform: rotate(45deg);
    content: "";
    left: 0;
    top: 12px;
}

#knowledge.knowledge.knowledge_article .table_contents ul li a {
    display: block;
    padding: 6px 0;
}

#knowledge.knowledge.knowledge_article .table_contents ul li.h3 a {
  padding-left: 14px;
  margin-left: 20px;
  position: relative;
}

@media screen and (max-width: 768px) {
    #knowledge.knowledge .l_cont_block h1 {
        margin: 0 6px;
    }

    #knowledge.knowledge .image_box {
        margin: 24px 10px 0;
        gap: 15px;
    }

    #knowledge.knowledge .image_box img.image {
        width: auto;
    }

    #knowledge.knowledge .supplement_contents .img_right {
        float: none;
        margin-left: 0;
        margin-bottom: 10px;
        width: 100%;
    }

    #knowledge.knowledge .bnr_pc {
        display: none;
    }

    #knowledge.knowledge .bnr_sp {
        display: block;
    }

    #knowledge.knowledge .text_date {
        paddding-right: 10px;
    }

    #knowledge.knowledge .content_boxes {
        flex-direction: column;
        padding: 0 10px;
    }

    #knowledge.knowledge .content_boxes .content_box {
        width: 100%;
    }

    #knowledge.knowledge .consult_category_search {
        margin: 15px 10px 0;
    }

    #knowledge.knowledge .consult_count.top {
        padding: 6px 14px;
    }

    #knowledge.knowledge .consult_count.top p {
        margin: 0;
    }

    #knowledge.knowledge .consult_count p {
        font-size: 15px;
        margin: 6px 10px;
    }

    #knowledge.knowledge .consult_count.top p span {
        padding: 0 12px;
        font-size: 20px;
    }

    #knowledge.knowledge .find_clinic {
        width: 94%;
    }

    #knowledge.knowledge .find_clinic .find-clinic_title {
        font-size: 1.4em;
    }

    #knowledge.knowledge .consult_top_title {
        margin: 0 10px;
    }

    #knowledge.knowledge.knowledge_article .l_cont_block h1 {
        padding-left: 10px;
        padding-right: 10px;
    }

    #knowledge.knowledge.knowledge_article .l_cont_block .date_box {
        gap: 8px 0;
        margin-top: 10px;
        padding: 0 10px;
    }

    #knowledge.knowledge.knowledge_article .l_cont_block .date_box dd,
    #knowledge.knowledge.knowledge_article .l_cont_block .date_box dt {
        font-size: 14px;
    }

    #knowledge.knowledge.knowledge_article .l_cont_block h2 {
        padding-left: 10px !important;
        padding-right: 10px;
    }

    #knowledge.knowledge.knowledge_article .l_cont_block .category_link_area {
        padding: 0 10px;
    }

    #knowledge.knowledge.knowledge_article .l_cont_block .consult_category_search h2 {
        padding-left: 0 !important;
    }

    #knowledge.knowledge.knowledge_article .l_cont_block h3 {
        padding: 0 10px 10px;
    }

    #knowledge.knowledge.knowledge_article .l_cont_block h4 {
        margin: 0 10px;
    }

    #knowledge.knowledge.knowledge_article .doctor_box {
        margin: 30px 10px;
    }

    #knowledge.knowledge.knowledge_article .doctor_box .doctor_info p {
        font-size: 1.2em;
    }

    #knowledge.knowledge.knowledge_article .table_contents {
        margin: 30px 10px;
    }

    #knowledge.knowledge.knowledge_article .table_contents ul {
        margin-left: 0;
    }

    #knowledge.knowledge .consult_category_list .consult_category_subtitle h3 {
        font-size: 15px;
        padding: 0;
    }

    #knowledge.knowledge .category_link_box,
    #knowledge.knowledge .category_tag_box {
        padding: 0 10px;
    }

    #knowledge.knowledge .find_clinic .find-clinic_btn .btn-type_flg {
        width: 80%;
    }

    #knowledge.knowledge .find_clinic .btn-type_flg a.btn_flg {
        padding: 1em 0;
    }

    #knowledge.knowledge .find_clinic .btn-type_flg a.btn_flg p {
        margin: 0 16px 0 0;
        font-size: clamp(16px, 5vw, 20px);
    }

    #knowledge.knowledge .find_clinic .btn-type_flg a.btn_flg.area:before {
        right: 10px;
    }

    #knowledge.knowledge .find_clinic .btn-type_flg a.btn_flg.area:after {
        right: 17px;
    }

    #knowledge.knowledge .find_clinic .area-open .link_area {
        padding: 0.5em 0;
    }

    #knowledge.knowledge .find_clinic .area-open .link_area ul li a {
        font-size: 1em;
    }

    #knowledge.knowledge .find_clinic .return-btn-area {
        text-align: right;
    }

    #knowledge.knowledge .find_clinic .return-btn-area a.return-btn {
        font-size: 1.4em;
    }

    #knowledge.knowledge .content_container.info_company {
        margin: 20px 10px 0;
    }

    #knowledge.knowledge .text_date {
        padding: 0 10px;
    }
    #knowledge.knowledge .content_boxes .content_box .content_inbox {
      height: 120px;
    }
    #knowledge.knowledge .text_date {
        right: 20px;
    }
}
