:root {
    --primary-color: #C76575;
    --sub-color: #5D3F14;
}
#main.disease {
    padding-bottom: 6rem;
}
.disease * {
    font-family: 'Noto Sans JP', 'Noto Sans', 'ヒラギノ角ゴ Pro W3', Hiragino Kaku Gothic Pro, "メイリオ", Meiryo, Osaka, 'ＭＳ Ｐゴシック', MS PGothic, sans-serif;
    color: var(--sub-color);
    -webkit-font-smoothing: antialiased;
}
/* _::-webkit-full-page-media, _:future, :root .disease * {
	font-family: 'ヒラギノ角ゴ Pro W3','Noto Sans JP', 'Noto Sans', Hiragino Kaku Gothic Pro, "メイリオ", Meiryo, Osaka, 'ＭＳ Ｐゴシック', MS PGothic, sans-serif;
    color: var(--sub-color);
} */
.disease #sub_fv {
    background: url(library/images/disease_fv_bg.jpg) rgba(255, 255, 255, 0.5) center;
}
.disease #sub_fv .fv_icon {
    background-image: url(library/images/doctor_icon.png);
}
.disease>section:not(:last-child):not(.disease #sub_fv):not(#disease_cat_mid) {
    padding-bottom: 4rem;
}
.disease>section:not(.disease #sub_fv):not(#disease_cat_mid) .inner>*:last-child {
    margin-bottom: 0;
}
.disease>section:not(.disease #sub_fv):not(#disease_cat_mid) {
    padding: 0 5%;
}
.disease>section:not(.disease #sub_fv) .inner {
    padding: 0;
    width: min(100%, 1200px);
    margin-inline: auto;
}
#disease_cat_mid {
    padding: 6rem 5% 2.5rem;
}
#disease_cat_mid h3 {
    font-size: 2em;
    font-weight: 500;
    color: var(--sub-color);
}
#disease_cat_mid h3 span {
    font-size: 0.5em;
    font-weight: 400;
    color: var(--primary-color);
    display: block;
}
.disease_mid {
    color: var(--primary-color);
    border-left: solid 10px var(--primary-color);
    border-bottom: solid 1px var(--primary-color);
    font-size: 1.5em;
    font-weight: 500;
    padding: 0.5rem 0 0.5rem 0.5em;
    margin-bottom: 1.9rem;
    letter-spacing: 0.06em;
}
.disease>section>.inner>p {
    margin-bottom: 1.9rem;
    line-height: 1.8rem;
}
.disease>section>.inner>p>a {
    text-decoration: underline;
    font-weight: bold;
}
.disease_sub_mid01 {
    color: var(--sub-color);
    border-left: solid 3px var(--primary-color);
    font-size: 1.1em;
    font-weight: 500;
    padding-left: 0.5rem;
    margin-bottom: 1.5rem;
}
.disease_sub_mid01 span {
    /* color: var(--primary-color); */
    font-weight: 600;
}
.box_shadow {
    padding: 1.5rem;
    background: #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    margin-bottom: 1.9rem;
}
.box_shadow p:nth-of-type(1) {
    font-size: 1rem;
}
.box_shadow .number_list {
    padding: 1rem 0;
    counter-reset: number 0;
}
.box_shadow .number_list li {
    display: flex;
    align-items: baseline;
}
.box_shadow .number_list li span {
    font-size: 1em;
    font-weight: 800;
    width: fit-content;
    padding-bottom: 0.2rem;
    text-decoration: underline #E07082;
    text-underline-offset: 6px;
    line-height: 1.8rem;
    letter-spacing: 0.06rem;
}
.box_shadow .number_list li:not(:last-child) {
    margin-bottom: 0.8rem;
}
.box_shadow .number_list li::before {
    counter-increment: number 1;
    content: '0' counter(number);
    font-size: 1.6em;
    font-weight: 500;
    margin-right: 0.4rem;
    color: var(--primary-color);
}
.box_shadow .number_list02 {
    counter-reset: number 0;
}
.box_shadow .number_list02 li:not(:last-child) {
    margin-bottom: 0.8rem;
}
.box_shadow .number_list02 li::before {
    counter-increment: number 1;
    content: counter(number) ')';
    font-size: 1em;
    font-weight: 400;
    margin-right: 0.6rem;
    color: var(--primary-color);
}
.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 1.9rem;
}
.container .box_shadow {
    width: 55%;
    margin-bottom: 0;
    height: fit-content;
}
.container.irregular .txt_box .box_shadow {
    width: unset;
    margin-bottom: 1rem;
    height: fit-content;
}
.container.irregular .txt_box p {
    margin-bottom: 1rem;
}
.container.irregular .txt_box *:last-child {
    margin-bottom: 0;
}
.container .desc_pho {
    width: 43%;
}
.container.mid-in .desc_pho {
    width: 49%;
}
.img_title {
    margin-bottom: 1rem;
}
.container .desc_pho img {
    width: 100%;
    margin-left: auto;
    margin-bottom: 0.4rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}
.container .txt_box {
    width: 55%;
}
.container .txt_box>p:not(:last-of-type) {
    margin-bottom: 1.5rem;
}
.container.mid-in .txt_box {
    width: 49%;
}
.pho_box {
    margin-bottom: 1.9rem;
}
.pho_box img {
    width: 100%;
}
.pho_box_shadow {
    margin-bottom: 1.9rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}
.pho_box_shadow img {
    width: 100%;
}
.circle_list li {
    display: flex;
    color: var(--sub-color);
    font-weight: 400;
}
.circle_list li:not(:last-child) {
    margin-bottom: 0.3rem;
}
.circle_list li::before {
    content: '';
    display: block;
    min-width: 10px;
    min-height: 10px;
    max-width: 10px;
    max-height: 10px;
    border-radius: 50%;
    background: #E07082;
    margin: 0.5rem 0.5rem 0 0;
}
.circle_list.no_shadow {
    margin-bottom: 1.5rem;
}
.circle_list.circle_list.no_shadow li:not(:last-child) {
    margin-bottom: 0.3rem;
}
.authority {
    /* margin-top: -1rem; */
}
*:has(+ .authority) {
    margin-bottom: 0.5rem;
}
.disease_sub_mid04 {
    display: flex;
    align-items: center;
    color: var(--sub-color);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1rem;
    letter-spacing: 0.06em;
}
.disease_sub_mid04+p {
    font-size: 16px;
}
.disease_sub_mid04 span {
    width: 1.6em;
    height: 1.6em;
    position: relative;
    margin-right: 0.5rem;
}
.disease_sub_mid04 span::before,
.disease_sub_mid04 span::after {
    content: '';
    display: block;
    border-radius: 50%;
    position: absolute;
}
.disease_sub_mid04 span::before {
    width: 1.3em;
    height: 1.3em;
    background: #E07082;
    top: 0;
    left: 0;
    z-index: -2;
}
.disease_sub_mid04 span::after {
    width: 1em;
    height: 1em;
    background: #EEA741;
    bottom: 0;
    right: 0;
    z-index: -1;
}
.disease .btn {
    margin-bottom: 1.9rem;
}
.disease_sub_mid03 {
    font-weight: 500;
    color: var(--sub-color);
    margin-bottom: 1.5rem;
    background: linear-gradient(transparent 60%, #ff6 60%);
    display: inline-block;
}
.disease_sub_mid02 {
    color: var(--primary-color);
    display: flex;
    align-items: center;
    font-size: 1.3em;
    margin-bottom: 1.5rem;
}
.disease_sub_mid02 span {
    max-width: 20px;
    max-height: 20px;
    min-width: 20px;
    min-height: 20px;
    background: #E07082;
    margin-right: 1rem;
    transform: rotate(45deg);
    position: relative;
}
.disease_sub_mid02 span::before {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    border: solid 1px #E07082;
    top: -0.2rem;
    left: 0.2rem;
}
.img_wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}
.img_wrapper+.img_wrapper {
    margin-top: -1rem;
}
.img_wrapper a {
    width: 49%;
    margin-bottom: 0;
}
.img_wrapper a img {
    width: 100%;
}
.disease .btn.left {
    text-align: left;
}
.disease>section>.inner>.list_read {
    margin-bottom: 1.5rem;
}
.dyslipidemia_table01 {
    display: flex;
    flex-wrap: wrap;
    margin-top: -1rem;
    margin-bottom: 1rem;
}
.dyslipidemia_table01 dt {
    width: 25%;
    background: #F4DDE2;
    color: var(--sub-color);
    font-weight: bold;
    padding: 1rem;
    text-align: left;
    border-right: solid 1px #F4DDE2;
}
.dyslipidemia_table01 dd {
    width: 37.5%;
    text-align: right;
    padding: 1rem;
    color: var(--sub-color);
    border-top: solid 1px #F4DDE2;
    border-right: solid 1px #F4DDE2;
    border-bottom: solid 1px #F4DDE2;
}
.dyslipidemia>section:nth-child(7) .circle_list.no_shadow {
    margin-bottom: 0rem;
}
.dyslipidemia table tr:nth-child(1) td:nth-child(1),
.dyslipidemia table tr:nth-child(1) td:nth-child(2) {
    width: 23%;
}
.dyslipidemia table tr td {
    padding: 1rem 0.5rem;
}
.dyslipidemia_table {
    border-collapse: collapse;
    overflow-x: scroll;
    display: block;
    margin-bottom: 1rem;
}
.dyslipidemia_table tbody {
    min-width: 725px;
    display: block;
}
.table_bg_primary {
    background: #F4DDE2;
    border: none;
    font-weight: 600;
}
.table_bg_primary span {
    font-weight: 400;
}
.align_ce {
    text-align: center;
}
.table_bg_blue {
    background: #D3FCFF;
}
.table_bg_yellow {
    background: #FDFFD3;
}
.table_bg_pink {
    background: #FFD3D3;
}
.dyslipidemia_table tr td:not(.table_bg_primary) {
    border-right: solid 1px #EAC7CD;
    border-bottom: solid 1px #EAC7CD;
}
.epworth {
    margin-bottom: 2rem;
}
.epworth dl {
    display: flex;
    padding: 1rem 0;
    border-bottom: solid 1px #CCCCCC;
}
.epworth dl dt {
    width: 50%;
    display: flex;
    align-items: flex-end;
    line-height: 1.5;
}
.epworth dl dt span {
    color: var(--primary-color);
    font-size: 2.3em;
    margin-right: 0.8rem;
    line-height: 1;
}
.epworth dl dd {
    width: calc(50% / 4);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.epworth dl:nth-of-type(1) dd span {
    display: contents;
}
.epworth dl dd input {
    width: 15px;
    height: 15px;
}
.btn_inp {
    display: block;
    text-align: center;
    position: relative;
    margin: 0 auto;
    width: 200px;
    margin-bottom: 2rem;
}
.btn_inp::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 10px 10px;
    border-color: transparent transparent #ffffff transparent;
    position: absolute;
    inset: auto 4px 4px auto;
}
.btn_inp input,.btn_inp button,.btn_inp a {
    padding: 0.6em 2em;
    background-color: #EEA741;
    font-size: 1rem;
    color: #fff;
    display: inline-block;
    border: none;
    display: block;
    width: 200px;
    margin: 0 auto;
    text-align: center;
    cursor: pointer;
}
.total_point {
    display: flex;
    align-items: flex-end;
    width: min(450px, 100%);
    margin: 0 auto 2rem;
    height: 75px;
}
.total_point h4 {
    background: #E07082;
    color: #fff;
    height: 100%;
    width: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.total_point p {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50%;
    height: 100%;
    border: solid 1px #E07082;
    background: #fff;
    font-size: 2em;
    font-weight: 600;
}
.total_point span {
    text-align: center;
    width: 10%;
}
.epworth_li li {
    justify-content: center;
}
.csap_container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: .5rem;
}
.csap_container li {
    width: calc(100% / 7);
    /*min-width: 130px; */
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}
.csap_container li:not(:last-of-type)::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-color: transparent transparent transparent #E07082;
    border-width: 10px 0px 10px 10px;
    margin: 0 10px;
}
.csap_container li dl {
    background: #E07082;
    border-radius: 5px;
    padding: 1rem;
    width: 80%;
    /* width: 120px; */
    height: 183px;
    display: flex;
    flex-direction: column;
}
.csap_container li dl dt {
    padding: 0.3rem;
    background: #fff;
    color: var(--sub-color);
    text-align: center;
    border-radius: 5px;
}
.csap_container li dl dd {
    color: #fff;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}
/* 動脈硬化性疾患の発症確率   */
.probability {
    width: 100%;
    margin-bottom: 1.9rem;
    padding: 2rem 1rem;
    background: #fff;
    height: 75vh;
    overflow-y: scroll;
    border: solid 1px #EAC7CD;
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.1);
}
.question_list {
    width: 100%;
}
.question_list>p {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}
.question_list>p>input {
    border: solid 1px #ccc;
    border-radius: 5px;
    margin-right: 0.5rem;
}
.question_list>p *:not(:last-child) {
    margin-right: 1rem;
}
.question_list .questionItemTitle2 {
    width: 100px;
}
.question_list .questionItemTitle>span,
.question_list .questionItemTitle2>span,
.question_list .boldText>span {
    display: inline-block;
    padding: 0.1rem 0.6rem;
    background: #FF5D2A;
    color: #fff;
    border-radius: 5px;
    margin-left: .5rem;
}
.result_container h3 {
    display: block;
    padding: .5rem;
    background: #E07082;
    text-align: center;
    color: #fff;
    margin-bottom: 1.1rem;
    font-size: 1.1rem;
}
.result_container .result_text {
    text-align: center;
    font-size: 1.3em;
    font-weight: 600;
    color: #FF0000;
    margin-bottom: 1rem;
}
.result_container .result_detail01 {
    text-align: center;
    margin-bottom: 1.5rem;
}
.result_container .result_detail01_1 span {
    font-size: 1.5em;
}
.result_container .result_detail01_1 strong {
    font-size: 1.5em;
    text-align: center;
    margin: 0 1rem;
}
.result_container .result_detail02 {
    font-size: 1.5em;
    text-align: center;
    margin: 0 1rem;
    font-weight: 600;
}
.result_container .result_desc {
    border: solid 1px #E07082;
    padding: 1.5rem;
    margin-bottom: 1rem;
}
.result_container .result_desc p {
    text-align: center;
    line-height: 2rem;
}
.probability .btn_wrapper {
    display: flex;
    flex-wrap: wrap;
    width: min(600px, 100%);
    margin: 0 auto;
}
.probability .btn_wrapper .btn_inp {
    width: calc(100% / 2 - 0.5rem);
}
.probability .btn_wrapper .btn_inp input {
    width: 100%;
    cursor: pointer;
}
.probability .btn_wrapper .btn_inp:nth-child(2) input {
    background: #B4B4B4;
}
/* 狭心症・心筋梗塞 */
.angina-pectoris_myocardial-infarction>section:nth-of-type(3) .pho_box_shadow {
    width: min(800px, 100%);
}
.angina-pectoris_myocardial-infarction>section:nth-of-type(4) .pho_box_shadow {
    width: min(530px, 100%);
}
section:nth-of-type(6) .container .txt_box>p:not(:last-of-type) {
    margin-bottom: 3rem;
}
/* 弁膜症 */
.valve>section:nth-of-type(3) .pho_box_shadow {
    width: min(800px, 100%);
}
.valve>section:nth-of-type(7) .pho_box_shadow:nth-child(6) {
    width: min(800px, 100%);
}
.valve>section:nth-of-type(7) .pho_box_shadow:nth-child(24) {
    width: min(800px, 100%);
}
.valve>section:nth-of-type(7) .pho_box_shadow:nth-child(26) {
    width: min(700px, 100%);
}

/* 心筋症 */
.cardiomyopathy>section:nth-of-type(3) .pho_box {
    width: min(800px, 100%);
}
.cardiomyopathy>section:nth-of-type(6) .pho_box {
    width: min(800px, 100%);
}
.cardiomyopathy>section:nth-of-type(6) .pho_box_shadow {
    width: min(800px, 100%);
}
/* 高血圧 */

.hypertension>section:nth-of-type(3) .pho_box {
    width: min(600px, 100%);
}
.hypertension>section:nth-of-type(7) .pho_box {
    width: min(600px, 100%);
}
/* 糖尿病 */
.table_container {
    overflow-x: scroll;
    margin-bottom: 1.9rem;
}
.dm_table01 {
    display: flex;
    flex-wrap: wrap;
    border: solid 1px #F4DDE2;
    min-width: 680px;
}
.dm_table01 dt {
    width: 20%;
    font-weight: 600;
}
.dm_table01 dd {
    width: calc(80% / 3);
    text-align: center;
}
.dm_table01>* {
    padding: 1rem;
}
.dm_table01>*:nth-child(-n + 4),
.dm_table01 dt {
    background: #F4DDE2;
}
.dm_table01>dd:nth-child(n+6):nth-child(-n+8) {
    border-left: solid 1px #F4DDE2;
}
.dm_table02 {
    display: flex;
    flex-wrap: wrap;
    /* border: solid 1px #F4DDE2; */
    min-width: 680px;
}
.dm_table02 dt {
    width: 20%;
    font-weight: 600;
}
.dm_table02 dd {
    width: calc(80% / 3);
    border-right: solid 1px #EAC7CD;
    border-bottom: solid 1px #F4DDE2;
}
.dm_table02 dd:nth-child(n + 2):nth-child(-n + 4) {
    text-align: center;
    border-right: 0;
}
.dm_table02>* {
    width: calc(100% / 4);
    padding: 1rem;
}
.dm_table02>*:nth-child(-n + 4),
.dm_table02 dt {
    background: #F4DDE2;
}
.mp4_movie {
    width: min(600px, 100%);
    /* margin-bottom: 1.5rem; */
    aspect-ratio: 516 / 315;
}
.mp4_movie video {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 516 / 315;
}
.yt_movie {
    /* margin-bottom: 1.5rem; */
    width: min(600px, 100%);
    aspect-ratio: 516 / 315;
}
.yt_movie iframe {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 516 / 315;
}
@media screen and (max-width:1100px) {
    .csap_container {
        justify-content: unset;
    }
    .csap_container li {
        width: calc(100% / 5);
        margin-bottom: 1rem;
    }
}
@media screen and (max-width:920px) {}
@media screen and (max-width:820px) {
    .disease>section:not(:last-child):not(.disease #sub_fv):not(#disease_cat_mid) {
        padding-bottom: 3rem;
    }
    #disease_cat_mid {
        padding: 3rem 5% 2rem;
    }
    .disease_mid {
        margin-bottom: 1rem;
    }
    .disease_sub_mid01 {
        margin-bottom: 1rem;
    }
    .box_shadow {
        padding: 1rem;
    }
    .container .box_shadow {
        width: 100%;
        margin-bottom: 1.5rem;
    }
    .container .txt_box {
        width: 100%;
        margin-bottom: 1rem;
    }
    .container .desc_pho {
        width: 100%;
    }
    .box_shadow .number_list {
        padding: 0.5rem 0;
    }
    .box_shadow .number_list li:not(:last-child) {
        margin-bottom: 0.2rem;
    }
    .circle_list li:not(:last-child) {
        margin-bottom: 0.5rem;
    }
    .dyslipidemia_table01 dt {
        width: 100%;
        border-right: 0;
    }
    .dyslipidemia_table01 dd {
        width: 50%;
        text-align: left;
    }
    .dyslipidemia_table01 dd {
        border-left: solid 1px #F4DDE2;
    }
    .dyslipidemia_table01 .dys_none {
        display: none;
    }
    .epworth dl dt {
        width: 40%;
    }
    .epworth dl dd {
        width: calc(60% / 4);
    }
    .csap_container li {
        width: calc(100% / 4);
    }
}
@media screen and (max-width:640px) {
    #main.disease {
        padding-bottom: 4rem;
    }
    .container.mid-in .txt_box {
        width: 100%;
        margin-bottom: 1.5rem;
    }
    .container.mid-in .desc_pho {
        width: 100%;
    }
    .img_wrapper a {
        width: 100%;
        margin-bottom: 1rem;
    }
    .img_wrapper+.img_wrapper {
        margin-top: -1.5rem;
    }
    .epworth dl dt {
        width: 20%;
        font-size: .7em;
    }
    .epworth dl:nth-of-type(1) dd {
        align-items: flex-end;
    }
    .epworth dl:nth-of-type(1) dd span {
        display: none;
    }
    .epworth dl dt span {
        display: none;
    }
    .epworth dl dd {
        width: calc(80% / 4);
        font-size: .7em;
    }
    .csap_container {
        justify-content: space-between;
    }
    .csap_container li {
        width: calc(100% / 2 - 0.5rem);
    }
    .csap_container li:not(:last-of-type)::after {
        content: none;
    }
    .csap_container li dl {
        width: 100%;
        height: 100%;
        padding: 0.5rem;
    }
    .csap_container li dl dd {
        padding: 1.5rem 0;
    }
    .question_list>p {
        display: block;
    }
    .question_list>p>span {
        display: block;
        margin-bottom: 0.5rem;
    }
    .result_container .result_desc {
        padding: 0.5rem;
    }
    .dm_table02>* {
        font-size: 0.8em;
    }
}