:root {
    interpolate-size: allow-keywords;
}

.contents {
    overflow: unset
}

.footer {
    margin-top: 0;
}

.panNav {
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

/*-- #content__wrapper ----------------------------------------------*/
#content__wrapper {
    margin: 0 auto 0;
    width: 100%;
}

#content__wrapper .content__width--1200 {
    max-width: 1200px;
    margin: 0 auto 60px;
}

@media screen and (max-width: 1199px) {
    #content__wrapper section.content__width--1200 {
        margin: 0 20px 0;
    }
}

@media screen and (max-width: 767px) {
    #content__wrapper section.content__width--1200 {
        margin: 0 10px 25px;
    }
}

/*-- content__header ----------------------------------------------*/
#content__header {
    margin: 0 auto 0;
    padding: 0 0 10px;
    width: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    background-image: url("/contents/common/images/revision_reiwa08/bg.jpg");
    background-size: cover;
    text-align: center;
    box-sizing: border-box;
}

#content__header .page-title {
    padding: 20px;
    margin: 0 auto;
    max-width: 1200px;
    width: 100%;
    box-sizing: border-box;
}

#content__header .page-title img {
    width: 100%;
    max-width: 900px;
}

#content__header .share-inner {
    margin: 20px auto 0;
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: row;
    justify-content: end;
}

@media screen and (max-width: 767px) {
    #content__header {
        margin: 0;
        padding: 20px;
        width: 100%;
    }

    #content__header .page-title {
        padding: 10px;
        width: 100%;
    }

    #content__header .share-inner {
        justify-content: center;
    }
}




/*-- content__body ------------------------------------------------*/

/*---- エリア開始 ----*/
#content__body {
    padding: 0 0 0;
    width: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.bg-gry {
    padding: 0 20px 60px;
    padding: 0 10px 60px;
    width: 100%;
    background-color: #F0F0F0;
    box-sizing: border-box;
}

@media screen and (max-width: 767px) {
    .bg-gry {
        width: 100%;
    }
}


/*---- 見出し開始 ----*/
.title-bulb {
    display: flex;
    align-items: center;
    justify-content: center;
}

.title-bulb::before {
    content: url("contents/common/images/revision_reiwa08/icon-lightbulb.svg");
}

/*---- 見出し終了 ----*/


/*---- テキスト開始 ----*/
#content__body p {
    margin: 10px 0 15px;
    font-size: clamp(0.875rem, 0.653rem + 0.46vw, 1rem);
    line-height: 1.7;
}

#content__body big {
    font-size: 120%;
}

#content__body small {
    font-size: 85%;
}

.txt-red {
    color: #CC0000;
    font-weight: bold;
}

.txt-s {
    margin: 10px 0 0;
    font-size: 75%;
}

.score {
    display: inline-block;
    font-size: 140%;
    font-weight: bold;
}


@media screen and (max-width: 767px) {
    #content__body p {
        line-height: 1.5;
    }
}

/*---- テキスト終了 ----*/
/*---- ボタンリンク開始 ----*/
#content__body a.link__button {
    display: inline-block;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px auto 0;
    padding: 15px 32px;
    max-width: 350px;
    border-radius: 10px;
    background-color: #144290;
    color: #ffffff !important;
    font-size: clamp(0.875rem, 0.431rem + 0.93vw, 1.125rem);
    font-weight: bold;
    text-decoration: none !important;
    box-sizing: border-box;
    border: 1px solid #144290;
}

#content__body a.link__button::after {
    margin-left: 10px;
    content: '';
    width: 5px;
    height: 5px;
    border-top: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
    transform: rotate(45deg);
}

#content__body a.link__button:hover {
    background-color: #ffffff;
    color: #144290 !important;
    border: 1px solid #144290;
}

#content__body a.link__button:hover::after {
    border-top: 2px solid #144290;
    border-right: 2px solid #144290;
}



#content__body a.link__button.pnk {
    max-width: 600px;
    margin-top: 60px;
    padding: 20px 32px;
    background-color: #F78080;
    border: 1px solid #F78080;
}

#content__body a.link__button.pnk:hover {
    color: #F78080 !important;
    border: 1px solid #F78080;
}

#content__body a.link__button.pnk:hover::after {
    border-top: 2px solid #F78080;
    border-right: 2px solid #F78080;
}



/*---- ボタンリンク終了 ----*/

/*---- 目次開始 ----*/
#content__body .revision_r08_index {
    /* padding: 20px; */
    width: 100%;
    background-color: #ffffff;
}

#content__body .revision_r08_index .list_title {
    text-align: center;
}

#content__body .revision_r08_index .selectMenu {
    margin: 0 auto;
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 1em;
}

#content__body .revision_r08_index .list_item {
    display: block;
    list-style-position: outside;
    list-style-type: none;
    background-color: #F0F0F0;
    border-radius: 50vh;
    cursor: pointer;
    font-size: 100%;
    box-sizing: border-box;
}

#content__body .revision_r08_index .list_item.selectedIndex,
#content__body .revision_r08_index .list_item:hover {
    background-color: #144290;
    color: #ffffff;
}

/* #content__body .revision_r08_index .list_item a {
    display: inline-block;
    padding: 10px 15px;
    width: 100%;
    height: 100%;
    color: #333333!important;
    text-decoration: none!important;
}

#content__body .revision_r08_index .list_item a:hover {
    color: #ffffff!important;
    opacity: 1;
    transition: none;
} */


#content__body .revision_r08_index .list_item {
    padding: 10px 15px;
}

@media screen and (max-width: 767px) {
    #content__body .revision_r08_index .list_item {
        padding: 5px 10px;
        font-size: 12px;
    }

    #content__body a.link__button {
        margin: 20px auto 0;
    }
}



/*---- 記事開始 ----*/

#content__body #revision_r08_body {
    width: 100%;
    max-width: 890px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}


#revision_r08_body .r08_title {
    text-align: center;
    font-size: clamp(1.5rem, 0.833rem + 1.39vw, 1.875rem);
    margin: 10px;
}

#revision_r08_body .r08_subtitle {
    text-align: left;
    font-size: clamp(0.875rem, 0.431rem + 0.93vw, 1.125rem);
    font-weight: bold;
}

#revision_r08_body .r08_section {
    margin: 40px auto 0;
    padding: 30px;
    background-color: #ffffff;
    opacity: 1;
}

@media screen and (max-width: 767px) {

    #revision_r08_body .r08_title {
        font-size: 21px;
    }

    #revision_r08_body .r08_section {
        padding: 10px;
    }
}


/*-- 改定ポイント ------------------------------------------------*/

#revision_r08_body .r08_topic .point-title {
    display: flex;
    align-items: center;
    padding: 7px 10px;
    width: fit-content;
    background-color: #F78080;
    color: #ffffff;
    border-radius: 10px 10px 0 0;
}

#revision_r08_body .r08_topic .point-title::before {
    content: url("/contents/common/images/revision_reiwa08/icon-lightbulb.svg");
}

#revision_r08_body .r08_topic .point-wrapper {
    padding: 20px 10px;
    background-color: #FEFAFB;
    border: 1px solid #F78080;
    border-radius: 0 10px 10px 10px;
    box-sizing: border-box;
}

#revision_r08_body .r08_topic .point-wrapper h5 {
    margin: 20px 0 10px;
}

#revision_r08_body .r08_topic .point-wrapper h5:first-child {
    margin-top: 0;
}


#revision_r08_body .r08_topic .point-wrapper ul.list__target li {
    margin: 0.5em 0 0 1.5em;
    list-style-image: url("/contents/common/images/revision_reiwa08/icon-check.svg");
    font-size: clamp(0.875rem, 0.653rem + 0.46vw, 1rem);
    line-height: 1.7 !important;
}

#revision_r08_body .r08_topic .point-wrapper ul.list__target li li {
    margin: 0.1em 0 0 1.5em;
    list-style-type: disc;
    list-style-image: unset;

}

#revision_r08_body .r08_topic .point-wrapper ul.list__target li dt {
    margin-bottom: 4px;
    line-height: 1.5 !important;
}

#revision_r08_body .r08_topic .point-wrapper ul.list__target li dd {
    line-height: 1.5 !important;
}

#revision_r08_body .r08_topic .point-wrapper ul.list__target li a {
    color: #144290;
    text-decoration: underline;
    font-size: ;
}

#revision_r08_body .r08_topic .point-wrapper ul.list__target li a.link__out::after {
    margin-left: 7px;
    content: url("/contents/common/images/revision_reiwa08/icon-elink.svg");
}


/*-- 診療に役立つおすすめ品 ------------------------------------------------*/

.r08_goods h4 {
    margin: 30px 0 15px;
    font-size: clamp(1.125rem, 0.792rem + 0.69vw, 1.313rem);
    text-align: center;
}

.r08_goods .flex__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 30px;
    width: 100%;
}

.r08_goods .flex__wrapper .flex__item p {
    margin: 10px 0 0 !important;
    text-align: center;
    line-height: 1.7 !important;
}

.r08_goods .flex__wrapper .flex__item a {
    color: #144290 !important;
    font-weight: bold;
    font-size: clamp(0.75rem, 0.306rem + 0.93vw, 1rem);
}

@media screen and (max-width: 767px) {
    .r08_goods h4 {
        margin: 20px 0 10px;
    }

    .r08_goods .flex__wrapper {
        column-gap: 10px;
    }

    .r08_goods .flex__wrapper .flex__item p {
        line-height: 1.2 !important;
    }
}


/*additional*/
#view_switcher .view_switch {
    width: 200px !important;
    font-size: 110%;
    padding: 20px 0;
}

.page-title-text{
    font-size:120%;
}

.goods_view .r08_goods .flex__wrapper {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    gap: 30px 30px;
}

@media screen and (max-width: 767px) {
    .goods_view .r08_goods .flex__wrapper {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 20px 15px;
    }
}

@media screen and (min-width: 768px) {}
    .flex__wrapper>div:nth-of-type(n+4) {
        display: none;
    }

    .goods_view .flex__wrapper>div:nth-of-type(n+4) {
        display: block;
    }

.goods_view .flex__item {
    position: relative;
    border: 1px solid #ccc;
}

.goods_view .flex__item p {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    white-space: nowrap;
    overflow: hidden;
    padding: 5px;
    font-size:90%;
}

.goods_view .r08_goods .flex__wrapper .flex__item a {
    color: #fff !important;
}

#content__body .goods_view a.link__button {
    display: none;
}


#revision_r08_body .r08_section.focusingSection {
    order: 0;
    transition: opacity .5s ease-out;
    /* box-shadow: 1px 1px 20px rgba(0, 0, 0, 0.5); */
    /* outline: 2px solid #d1d1d1; */
}

#revision_r08_body .r08_section.disappearSection {
    opacity: 0;
}

#revision_r08_body .r08_goods,
#revision_r08_body .r08_goods_2,
#revision_r08_body .r08_content {
    height: auto;
    opacity: 1;
    transition: all .5s ease-out;
}

#revision_r08_body .disappearContent {
    height: 0;
    opacity: 0;
    overflow: hidden;
}

#revision_r08_body .r08_topic li {
    margin-bottom: .8em;
    list-style-position: outside;
    list-style-type: none;
    line-height: 180%;
}

#revision_r08_body .r08_topic strong {
    color: red;
    font-size: 140%;
    font-weight: 800;
}

#revision_r08_body .r08_goods_2 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

#revision_r08_body .r08_goods_2 a {
    color: #144290 !important;
    text-align: center;
    line-height: 1.5 !important;
}

#revision_r08_body.text_view .r08_goods,
#revision_r08_body.text_view .r08_goods_2,
#revision_r08_body.text_view .r08_subtitle {
    padding: 0;
    margin: 0;
    height: 0;
    opacity: 0;
    overflow: hidden;
}

#revision_r08_body.goods_view .r08_content {
    padding: 0;
    margin: 0;
    height: 0;
    opacity: 0;
    overflow: hidden;
}

#view_switcher {
    display: flex;
    justify-content: center;
    gap: 10px;
    /* margin: 20px 0; */
}

.contents .view_switch {
    /* border-radius: 50vh; */
    padding: 10px 5px;
    color: #CCCCCC;
    /* background-color: #F0F0F0; */
}

.contents .selectedView {
    color: #333333;
    border-bottom: 2px solid #333333;
}

.selectedIndex {
    background-color: #4099ff;
}


.share-wrapper {
    margin: 40px auto;
    padding: 20px;
    width: 100%;
    max-width: 890px;
    background-color: #ffffff;
}

.share-wrapper h3 {
    text-align: center;
    font-size: clamp(1.5rem, 0.833rem + 1.39vw, 1.875rem);
    margin: 0 0 20px;
}

.share-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/*additional*/
#revision_r08_body .reminder_section {
    margin: 0;
    padding: 0;
    order: 20;
}