@charset "UTF-8";

.single_doctor-container .inner {
    max-width: 1200px;
    width: 96%;
    margin: 50px auto 100px;
}

.single_doctor-container .profile_box01 {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 30px;
}

.single_doctor-container .profile_box01 figure {
    width: calc(50% - 30px);
}

.single_doctor-container .profile_box01 .txt {
    width: 50%;
}

.single_doctor-container .profile_box01 .txt p {
    font-size: 1em;
    line-height: 1.8em;
    margin-bottom: 2em;
}

.single_doctor-container .profile_box01 .txt p .txtLead {
    font-size: 1.5em;
}

.profile_box02 {
    margin: 1rem 0;
}

.profile_box02 h3 {
    font-size: 2em;
    padding: 1em 0;
    text-align: center;
}

.profile_box02 .catchphrase {
    font-size: 1.5em;
    text-align: center;
}

.profile_box02 .txt {
    margin: 1rem 0 2rem;
    text-align: center;
}

.profile_box02 .txt p {
    margin-bottom: 2rem;
}

.profile_box02 .txt p:last-of-type {
    margin-bottom: 0;
}

.profile_video {
    max-width: 600px;
    width: 100%;
    margin: 50px auto;
}

.profile_video video {
    width: 100%;
}

.profile_box03 {
    margin: 1rem 0;
}

.profile_box03 h4 {
    text-align: left;
    color: #333;
    background: #FFF;
    padding: 0 0 0 0.6em;
    margin: 2em 0 0.6em;
    border-left: 4px double #CE986B;
    font-size: 1.5em;
}

.profile_box03 .profile_table table {
    border: solid 1px #808080;
}

.profile_box03 .profile_table table tr {
    border-bottom: solid 1px #808080;
}

.profile_box03 .profile_table table tr:last-of-type {
    border-bottom: none;
}

.profile_box03 .profile_table table th {
    background-color: #f1ebd5;
    border-right: solid 1px #808080;
    padding: 14px 20px;
}

.profile_box03 .profile_table table td {
    padding: 14px 20px;
}

.profile_box04 {
    margin: 1rem 0;
}

.profile_box04 h4 {
    text-align: left;
    color: #333;
    background: #FFF;
    padding: 0 0 0 0.6em;
    margin: 2em 0 0.6em;
    border-left: 4px double #CE986B;
    font-size: 1.5em;
}

.profile_box04 .profile_box_flex {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 30px;
}

.profile_box04 .profile_box_flex figure {
    display: flex;
    justify-content: center;
    align-items: center;
    width: calc(50% - 30px);
}

.profile_box04 .profile_box_flex p {
    width: 50%;
}

.profile_box04 .profile_box_flex a {
    word-break: break-all;
}

.profile_box05 {
    margin: 1rem 0;
}

.profile_box05 h4 {
    text-align: left;
    color: #333;
    background: #FFF;
    padding: 0 0 0 0.6em;
    margin: 2em 0 0.6em;
    border-left: 4px double #CE986B;
    font-size: 1.5em;
}

.profile_box05 .media {
    overflow-y: auto;
    max-height: 360px;
    padding: 0 20px;
}

/* 一覧ページ */
.page-doctor_list {
    max-width: 1200px;
    width: 96%;
    margin: 50px auto 100px;
}

.page-doctor_list .inner {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
}

.page-doctor_list .item {
    width: calc((100% - 60px) / 4);
}

.page-doctor_list .item figure img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.page-doctor_list .item h3 {
    margin: 1rem 0 2rem;
    text-align: center;
}

.page-doctor_list .txt_link {
    display: block;
    width: 100%;
    border-top: solid 1px #707070;
    padding: 60px 0;
}

.page-doctor_list .txt_link ul {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
}

.page-doctor_list .txt_link ul li a {
    border: solid 1px #CE986C;
    color: #CE986C;
    padding: 2rem 4rem;
    display: block;
    text-align: center;
    width: fit-content;
}

.pctab-only {
    display: block;
}

.sp-only {
    display: none;
}

@media screen and (max-width: 1080px) {
    .page-doctor_list .item {
        width: calc((100% - 40px) / 3);
    }
}

@media screen and (max-width: 768px) {
    .single_doctor-container .profile_box01 {
        flex-direction: column;
    }

    .single_doctor-container .profile_box01 figure,
    .single_doctor-container .profile_box01 .txt {
        width: 100%;
    }

    .single_doctor-container .profile_box01 figure img {
        margin: 0 auto;
        display: block;
    }

    .profile_box02 h3 {
        font-size: 1.6em;
    }

    .single_doctor-container .profile_box01 .txt {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .profile_box02 .catchphrase {
        font-size: 1.2em;
    }

    .profile_box02 .txt {
        margin: 30px 0;
        text-align: left;
    }

    .profile_box03 .profile_table table th {
        min-width: 100px;
        width: 30%;
        font-size: 14px;
        line-height: 1.4;
    }

    .profile_box03 .profile_table table td {
        width: 70%;
    }

    .profile_box04 .profile_box_flex {
        flex-direction: column;
    }

    .profile_box04 .profile_box_flex ul li {
        font-size: 16px;
        text-align: left;
    }

    .profile_box04 .profile_box_flex figure,
    .profile_box04 .profile_box_flex p {
        width: 100%;
    }

    .page-doctor_list .item {
        width: calc((100% - 20px) / 2);
    }

    .page-doctor_list .txt_link ul {
        flex-direction: column;
    }

    .page-doctor_list .txt_link ul li,
    .page-doctor_list .txt_link ul li a {
        width: 100%;
    }

    .pctab-only {
        display: none;
    }

    .sp-only {
        display: block;
    }
}