@media screen and (max-width: 640px) {
    /***** 共通 *****/
    body.noPatientsTop #contents sup {
        font-size: 70%;
        line-height: 0;
        vertical-align: super;
    }

    div#contents {
        padding: 0;
    }

    /***** SPメニュー *****/
    #topicPath {
        display: block;
        position: relative;
        min-height: 84px;
        padding: 12px 64px 12px 16px;
    }

    #topicPath p {
        width: auto;
        margin: 0;
        font-size: 0 !important;
        line-height: 1.5;
        font-weight: bold;
    }

    #topicPath p em {
        display: block;
        color: #333;
        font-size: 14px;
        line-height: 1.5;
    }

    .sdm-sp-menu__button {
        display: flex;
        position: absolute;
        z-index: 2;
        top: 50%;
        right: 12px;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        padding: 0;
        border: 0;
        background: transparent;
        cursor: pointer;
        transform: translateY(-50%);
    }

    .sdm-sp-menu__icon,
    .sdm-sp-menu__icon::before,
    .sdm-sp-menu__icon::after {
        display: block;
        width: 34px;
        height: 4px;
        background: #FFDA40;
        transition: top 0.2s ease, transform 0.2s ease, background 0.2s ease;
    }

    .sdm-sp-menu__icon {
        position: relative;
    }

    .sdm-sp-menu__icon::before,
    .sdm-sp-menu__icon::after {
        content: "";
        position: absolute;
        left: 0;
    }

    .sdm-sp-menu__icon::before {
        top: -10px;
    }

    .sdm-sp-menu__icon::after {
        top: 10px;
    }

    .sdm-sp-menu__button[aria-expanded="true"] .sdm-sp-menu__icon {
        background: transparent;
    }

    .sdm-sp-menu__button[aria-expanded="true"] .sdm-sp-menu__icon::before {
        top: 0;
        transform: rotate(45deg);
    }

    .sdm-sp-menu__button[aria-expanded="true"] .sdm-sp-menu__icon::after {
        top: 0;
        transform: rotate(-45deg);
    }

    .sdm-sp-menu__panel[aria-hidden="false"] {
        display: block;
        position: absolute;
        z-index: 10;
        top: 100%;
        right: 0;
        left: 0;
        background: #FCFAF2;
        box-shadow: 0 8px 14px rgba(0, 0, 0, 0.12);
    }

    .sdm-sp-menu__list {
        margin: 0;
        padding: 22px 32px 44px;
        list-style: none;
    }

    .sdm-sp-menu__item {
        margin: 0;
        padding: 0;
        border-bottom: 2px dotted #F4BA16;
    }

    body.noPatientsTop .sdm-sp-menu__item a,
    body.noPatientsTop .sdm-sp-menu__item a:link,
    body.noPatientsTop .sdm-sp-menu__item a:visited {
        display: flex;
        align-items: center;
        gap: 10px;
        min-height: 64px;
        padding: 8px 0;
        color: #333;
        font-size: 16px;
        font-weight: normal;
        line-height: 1.45;
        text-decoration: none;
    }

    body.noPatientsTop .sdm-sp-menu__item a:hover,
    body.noPatientsTop .sdm-sp-menu__item a:focus-visible,
    body.noPatientsTop .sdm-sp-menu__item a.sdm-sp-menu__link--active {
        color: #D64F00;
    }

    body.noPatientsTop .sdm-sp-menu__item--home a {
        min-height: 54px;
    }

    .sdm-sp-menu__arrow {
        display: block;
        position: relative;
        flex: 0 0 23px;
        width: 23px;
        height: 23px;
        border-radius: 50%;
        background: #F8C000;
    }

    .sdm-sp-menu__arrow::before {
        content: "";
        position: absolute;
        top: 7px;
        left: 8px;
        width: 7px;
        height: 7px;
        border-right: 2px solid #FFF;
        border-bottom: 2px solid #FFF;
        transform: rotate(45deg);
    }

    .sdm-sp-menu__home {
        flex: 0 0 24px;
        width: 24px;
        height: 24px;
        fill: none;
        stroke: #F8C000;
        stroke-linecap: round;
        stroke-linejoin: round;
        stroke-width: 2;
    }

    /***** メインビジュアル *****/
    .visual {
        width: auto;
        height: 260px;
        margin: 12px 16px 20px 16px;
    }

    .visual::before {
        height: 260px;
    }

    .visual__img {
        top: auto;
        right: 8px;
        bottom: -20px;
        width: 140px;
    }

    .visual__title {
        top: 36px;
        right: 18px;
        left: 18px;
        font-size: 22px;
        line-height: 1.35;
    }

    .visual__title-sub {
        margin-bottom: 6px;
        font-size: 16px;
    }

    .visual__kanshu {
        top: 160px;
        right: auto;
        bottom: auto;
        left: 18px;
        width: auto;
        font-size: 11px;
        line-height: 1.5;
    }
    .visual__kanshu-span {
        margin-left: 0;
    }

    /***** アンカーリンク *****/
    .anker {
        width: auto;
        margin: 0 16px 70px 16px;
    }

    /***** 基本セクション *****/
    .bodyarea, .bodyarea2 {
        width: auto;
        padding: 0 0 40px 0;
        border-radius: 0;
    }

    .bodyarea__inner {
        width: auto;
    }

    .bodyarea2__inner {
        width: auto;
        margin: 0 12px;
        padding: 30px 0 0 0;
    }

    .section_with,
    .section_sample,
    .section_consent,
    .section_repeat {
        width: auto;
        margin: 0 auto 60px auto;
    }
    .section_repeat {
        margin-bottom: 0;
    }

    .title_h2 {
        height: auto;
        margin: 0 16px 16px 0;
        padding: 5px 0 5px 10px;
    }

    .title_h2 span {
        margin: 0 0 0 6px;
        padding: 6px 10px;
        border-left: 8px solid #FFDA40;
        font-size: 18px;
        line-height: 1.4;
    }

    .title_h2.check__h2 span {
        border-left: 8px solid #C75000;
    }


    /***** 医療者と一緒に考えていきましょう *****/
    .section_with__flow {
        padding: 20px;
    }

    .section_with__flownum {
        width: 100px;
    }

    /***** 会話例・吹き出し *****/
    .conversation__gaiyo {
        width: auto;
        margin: -40px 16px 0;
    }

    .title_cv {
        width: auto;
        margin: 30px 30px 20px 30px;
        font-size: 16px;
    }

    body.noPatientsTop .conversation--comparison .conversation__left .conversation__bubble--comparison-details {
        height: auto;
    }

    body.noPatientsTop .conversation__left .conversation__bubble.cv2 {
        left: 130px;
        right: auto;
    }

    .title_cv--comparison {
        margin-top: -110px;
    }

    .conversation__left .illust_cv2 {
        top: 50px;
    }

    .conversation__right.cv2 {
        top: 220px;
    }

    body.noPatientsTop .conversation--consent .conversation__right .conversation__bubble.cv4 {
        top: 40px;
    }

    .conversation__right.cv3 {
        top: 150px;
    }

    .conversation__right.cv3 p {
        top:40px;
    }

    .conversation__right.cv3-2 {
        top: 100px;
    }

    .conversation__right.cv3-2 p {
        top:40px;
    }

    body.noPatientsTop .conversation--comparison .conversation__left .conversation__bubble--reconsider {
        height: auto;
    }

    .conversation--step3-followup .conversation__inner {
        margin: 0;
    }

    .title_cv--step3 {
        margin-top: 52px;
    }

    .conversation__inner {
        height: 260px;
    }

    .conversation__left img {
        top: 12px;
        bottom: auto;
        left: 8px;
        width: 130px;
    }

    body.noPatientsTop .conversation__left .conversation__bubble {
        top: 24px;
        right: 10px;
        left: auto;
        width: calc(100% - 145px);
        height: auto;
        min-height: 48px;
        white-space: normal;
    }

    body.noPatientsTop .conversation--consent .conversation__left .conversation__bubble {
        width: calc(100% - 145px);
    }

    body.noPatientsTop .conversation--consent .conversation__right .conversation__bubble {
        width: 300px;
        top: 70px;
    }

    .conversation__right {
        top: 90px;
    }

    .conversation__right img {
        right: 8px;
        bottom: 12px;
        width: 130px;
    }

    body.noPatientsTop .conversation__right .conversation__bubble {
        top: auto;
        right: auto;
        left: 10px;
        bottom: 32px;
        width: calc(100% - 135px);
        height: auto;
        min-height: 48px;
        white-space: normal;
    }

    /***** SDMは繰り返すことが大切です *****/
    .section_repeat__flex {
        display: flex;
        flex-direction: column;
        gap: 30px;
        margin: 0 16px;
        padding: 0 0 40px 0;
    }

    .section_repeat__text {
        margin: 20px 0 0 0;
    }

    .section_repeat__img {
        margin: auto;
    }

    /***** SDMのためのチェックリスト *****/
    .check__about {
        padding: 0 12px;
    }

    .check__list {
        margin-top: 24px;
    }

    .checkh2_img {
        position: absolute;
        top: 10px;
        left: auto;
        right: 10%;
        width: 40px;
    }

    body.noPatientsTop .check__list-title {
        padding: 14px 16px;
        font-size: 20px;
        line-height: 1.6;
    }

    .check__form {
        padding: 30px 18px 40px;
    }

    .check__group {
        margin-bottom: 34px;
    }

    .check__group-title {
        gap: 8px;
        font-size: 19px;
    }

    .check__item {
        padding-left: 12px;
    }

    .check__question {
        font-size: 16px;
    }

    .check__options,
    .check__options--wide {
        gap: 12px;
    }

    .check__img {
        right: 0;
        width: 200px;
        margin: 0 0% 0 0;
    z-index: 100;
    transform: translateY(-60px);
    }

    .check__option {
        font-size: 15px;
    }

    .check__note {
        display: block;
        margin: 4px 0 0;
        white-space: normal;
    }

    .check__question-line {
        display: block;
        width: 100%;
        max-width: 100%;
        white-space: normal;
    }

    .check__question-line > span {
        display: block;
        white-space: normal;
    }

    .check__question-line .check__note {
        display: block;
        width: 100%;
        margin: 4px 0 0;
        white-space: normal;
        text-align: left;
    }

    .check__btn {
        width: 100%;
        margin: 36px auto 56px;
    }

    body.noPatientsTop .check__btn a {
        gap: 14px;
        min-height: 64px;
        padding: 12px 20px;
        font-size: 18px;
    }

    .check__btn img {
        width: 24px;
    }

    /***** 情報とのつきあい方・参考文献 *****/
    .section_info {
        padding-top: 40px;
    }

    .infocard {
        width: auto;
        margin: 0 16px 30px 16px;
        padding: 30px 16px 10px 16px;
    }

    .infocard__title {
        margin: 0 0 16px 0;
    }

    .rfr {
        width: auto;
        padding: 40px 20px;
    }
}
