.txt_red {
    color: #e8464d;
}

#donate.mif_renovation .info ol li {
    list-style: decimal;
    margin-bottom: 15px;
}

#donate.mif_renovation .info ol li:last-child {
    margin-bottom: 0;
}

#donate.mif_renovation .btn {
    margin-top: 30px;
}


@media all and (min-width: 768px) {

    .sp {
        display: none !important;
    }

    #donate.mif_renovation h2 {
        margin-bottom: 20px !important;
        padding: 0;
    }

    #donate.mif_renovation .ttl {
        text-align: center;
    }

    #donate.mif_renovation .ttl img {
        margin-bottom: 50px;
    }

    #donate.mif_renovation .ttl h2 {
        color: #FFF;
        font-size: 53px;
        font-weight: 600;
        line-height: 160%;
        display: inline;
        background: #e8464d;
        padding: 2px;
    }

    #donate.mif_renovation .inner {
        width: 1000px;
        margin: 80px auto;
    }

    #donate.mif_renovation .txt_box {
        margin-bottom: 80px;
    }

    #donate.mif_renovation .txt_box h2 {
        font-size: 28px;
        font-weight: 600;
        line-height: 160%;
        border-bottom: solid 1px #333;
        position: relative;
    }

    #donate.mif_renovation .txt_box h2::after {
        position: absolute;
        content: "";
        display: block;
        border-bottom: solid 1px #e8464d;
        bottom: -1px;
        width: 50px;
    }

    #donate.mif_renovation .txt_box p {
        line-height: 190%;
    }

    #donate.mif_renovation .txt_box.intro {
        display: flex;
        justify-content: space-between;
        gap: 20px;
    }

    #donate.mif_renovation .txt_box.intro h2 {
        width: 15%;
        border: none;
    }

    #donate.mif_renovation .txt_box.intro h2::after {
        border: none;
    }

    #donate.mif_renovation .txt_box.intro .maintxt {
        width: 80%;
    }

    #donate.mif_renovation .photo {
        margin-bottom: 80px;
    }

    #donate.mif_renovation .photo picture {
        margin: 0 0 20px 0;
        display: block;
    }

    #donate.mif_renovation .photo picture:last-child {
        margin-bottom: 0;
    }

    #donate.mif_renovation ol {
        padding: 0;
        margin: 30px 0;
        display: flex;
        justify-content: space-between;
        gap: 20px;
        flex-wrap: wrap;
    }

    #donate.mif_renovation ol li {
        margin: 0;
        padding: 45px;
        background: #f9f2f2;
        width: calc(50% - 10px);
        position: relative;
    }

    #donate.mif_renovation ol li::before {
        position: absolute;
        top: 0;
        left: 0;
        background: #e8464d;
        color: #FFF;
        font-family: "Libre Baskerville", "Noto Serif JP", serif;
        content: "";
        display: flex;
        font-size: 16px;
        line-height: 100%;
        width: 35px;
        height: 35px;
        justify-content: center;
        align-items: center;
    }

    #donate.mif_renovation ol li:nth-child(1)::before {
        content: "1";
    }

    #donate.mif_renovation ol li:nth-child(2)::before {
        content: "2";
    }

    #donate.mif_renovation ol li:nth-child(3)::before {
        content: "3";
    }

    #donate.mif_renovation ol li:nth-child(4)::before {
        content: "4";
    }

    #donate.mif_renovation ol li h3 {
        font-family: "Libre Baskerville", "Noto Serif JP", serif;
        font-weight: 600;
        font-size: 21px;
        line-height: 160%;
        margin-bottom: 10px;
    }

    #donate.mif_renovation ol li h3 small {
        display: block;
        font-size: 16px;
        line-height: 160%;
    }

    #donate.mif_renovation ol li h3 small::before {
        content: "─";
        margin-right: 5px;
    }

    #donate.mif_renovation .targetamount {
        margin: 80px 0;
        background: #f9f2f2;
        border: 1px dotted #e8464d;
        padding: 40px;
    }

    #donate.mif_renovation .targetamount .box {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20px;
        color: #e8464d;
        margin-bottom: 15px;
        border-bottom: 1px dotted #e8464d;
        padding-bottom: 15px;
    }

    #donate.mif_renovation .targetamount .box h2 {
        font-size: 28px;
        font-weight: 600;
        line-height: 100%;
        margin: 0 !important;
    }

    #donate.mif_renovation .targetamount .box .amount {
        font-size: 43px;
        line-height: 100%;
        font-family: "Libre Baskerville", "Noto Serif JP", serif;
    }

    #donate.mif_renovation .targetamount .funding_progress {
        text-align: center;
    }

    #donate.mif_renovation .targetamount .funding_progress p {
        margin: 0;
    }

    #donate.mif_renovation .targetamount .funding_progress .btn {
        margin-top: 15px;
    }

    #donate.mif_renovation dl {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        padding: 0;
        margin: 30px 0;
        border-bottom: 1px solid #AAA;
        border-left: 1px solid #AAA;
    }

    #donate.mif_renovation dt,
    #donate.mif_renovation dd {
        padding: 10px;
        margin: 0;
        border-top: 1px solid #AAA;
        border-right: 1px solid #AAA;
    }

    #donate.mif_renovation dt.ttl,
    #donate.mif_renovation dd.ttl {
        text-align: center;
        background: #e8e8e8;
    }

    #donate.mif_renovation .cost dt {
        width: 80%;
    }

    #donate.mif_renovation .cost dd {
        width: 20%;
        text-align: right;
    }

    #donate.mif_renovation .cost dt.total,
    #donate.mif_renovation .cost dd.total {
        font-weight: 700;
    }

    #donate.mif_renovation .schedule dt {
        width: 30%;
    }

    #donate.mif_renovation .schedule dd {
        width: 70%;
    }

    #donate.mif_renovation .signature {
        text-align: right;
        margin-top: 50px;
    }

    #donate.mif_renovation .btn a {
        max-width: 300px;
        margin: 0 auto;
    }

    #donate.mif_renovation .flex {
        display: flex;
        justify-content: space-between;
        gap: 30px;
        margin: 30px 0 50px 0;
    }

    #donate.mif_renovation .flex .flex_inner {
        width: calc(50% - 15px);
        background: #e8e8e8;
        padding: 30px;
        display: flex;
        flex-direction: column;
    }

    #donate.mif_renovation .flex .flex_inner h3 {
        font-size: 21px;
        font-weight: normal;
        font-family: "Libre Baskerville", "Noto Serif JP", serif;
        line-height: 100%;
        margin-bottom: 10px;
        padding-bottom: 10px;
        border-bottom: 1px dotted #AAA;
    }

    #donate.mif_renovation .flex .flex_inner .btn {
        margin-top: auto;
        padding-top: 20px;
    }
}

@media all and (max-width: 767px) {

    .pc {
        display: none !important;
    }

    #donate.mif_renovation h1 {
        padding: 0 20px;
    }

    #donate.mif_renovation h2 {
        margin-bottom: 20px !important;
        padding: 0;
    }

    #donate.mif_renovation .ttl img {
        margin-bottom: 50px;
    }

    #donate.mif_renovation .ttl h2 {
        color: #FFF;
        font-size: 24px;
        font-weight: 600;
        line-height: 160%;
        background: #e8464d;
        padding: 10px 20px;
    }

    #donate.mif_renovation .inner {
        margin: 40px auto;
    }

    #donate.mif_renovation .txt_box {
        margin-bottom: 40px;
    }

    #donate.mif_renovation .txt_box h2 {
        font-size: 22px;
        font-weight: 600;
        line-height: 160%;
        border-bottom: solid 1px #333;
        position: relative;
        padding-bottom: 10px !important;
    }

    #donate.mif_renovation .txt_box h2::after {
        position: absolute;
        content: "";
        display: block;
        border-bottom: solid 1px #e8464d;
        bottom: -1px;
        width: 50px;
    }

    #donate.mif_renovation .txt_box p {
        line-height: 190%;
    }

    #donate.mif_renovation .txt_box.intro h2 {
        border: none;
        padding: 0 !important;
        margin-bottom: 10px !important;
        text-align: center;
    }

    #donate.mif_renovation .txt_box.intro h2::after {
        border: none;
    }

    #donate.mif_renovation .photo {
        margin-bottom: 40px;
    }

    #donate.mif_renovation .photo picture {
        margin: 0 0 20px 0;
        display: block;
    }

    #donate.mif_renovation .photo picture:last-child {
        margin-bottom: 0;
    }

    #donate.mif_renovation ol {
        padding: 0;
        margin: 30px 0;
    }

    #donate.mif_renovation ol li {
        margin: 0 0 30px 0;
        padding: 45px;
        background: #f9f2f2;
        position: relative;
    }

    #donate.mif_renovation ol li:last-child {
        margin-bottom: 0;
    }

    #donate.mif_renovation ol li::before {
        position: absolute;
        top: 0;
        left: 0;
        background: #e8464d;
        color: #FFF;
        font-family: "Libre Baskerville", "Noto Serif JP", serif;
        content: "";
        display: flex;
        font-size: 16px;
        line-height: 100%;
        width: 35px;
        height: 35px;
        justify-content: center;
        align-items: center;
    }

    #donate.mif_renovation ol li:nth-child(1)::before {
        content: "1";
    }

    #donate.mif_renovation ol li:nth-child(2)::before {
        content: "2";
    }

    #donate.mif_renovation ol li:nth-child(3)::before {
        content: "3";
    }

    #donate.mif_renovation ol li:nth-child(4)::before {
        content: "4";
    }

    #donate.mif_renovation ol li h3 {
        font-family: "Libre Baskerville", "Noto Serif JP", serif;
        font-weight: 600;
        font-size: 21px;
        line-height: 160%;
        margin-bottom: 10px;
    }

    #donate.mif_renovation ol li h3 small {
        display: block;
        font-size: 16px;
        line-height: 160%;
    }

    #donate.mif_renovation ol li h3 small::before {
        content: "─";
        margin-right: 5px;
    }

    #donate.mif_renovation .targetamount {
        margin: 40px 0;
        background: #f9f2f2;
        border: 1px dotted #e8464d;
        padding: 20px;
    }

    #donate.mif_renovation .targetamount .box {
        color: #e8464d;
        margin-bottom: 15px;
        border-bottom: 1px dotted #e8464d;
        padding-bottom: 15px;
    }

    #donate.mif_renovation .targetamount h2 {
        font-size: 22px;
        font-weight: 600;
        line-height: 100%;
        margin: 0 0 10px 0 !important;
    }

    #donate.mif_renovation .targetamount .amount {
        font-size: 36px;
        line-height: 100%;
        font-family: "Libre Baskerville", "Noto Serif JP", serif;
    }

    #donate.mif_renovation .targetamount .funding_progress p {
        margin: 0;
    }

    #donate.mif_renovation .targetamount .funding_progress .btn {
        margin-top: 15px;
    }

    #donate.mif_renovation dl {
        border-bottom: 1px solid #AAA;
    }

    #donate.mif_renovation dt,
    #donate.mif_renovation dd {
        padding: 10px;
        margin: 0;
        border-top: 1px solid #AAA;
        border-right: 1px solid #AAA;
    }

    #donate.mif_renovation dt {
        background: #e8e8e8;
    }

    #donate.mif_renovation dt.ttl,
    #donate.mif_renovation dd.ttl {
        display: none;
    }

    #donate.mif_renovation .cost dd {
        text-align: right;
    }

    #donate.mif_renovation .cost dt.total,
    #donate.mif_renovation .cost dd.total {
        font-weight: 700;
    }

    #donate.mif_renovation .cost dt.total {
        background: #f9f2f2;
    }

    #donate.mif_renovation dt,
    #donate.mif_renovation dd {
        border-left: 1px solid #AAA;
    }

    #donate.mif_renovation dd {
        border-top: 1px dotted #AAA;
    }

    #donate.mif_renovation .signature {
        text-align: right;
        margin-top: 50px;
    }

    #donate.mif_renovation .flex {
        margin: 30px 0 50px 0;
    }

    #donate.mif_renovation .flex .flex_inner {
        background: #e8e8e8;
        padding: 20px;
        margin-bottom: 20px;
    }

    #donate.mif_renovation .flex .flex_inner:last-child {
        margin-bottom: 0;
    }

    #donate.mif_renovation .flex .flex_inner h3 {
        font-size: 21px;
        font-weight: normal;
        font-family: "Libre Baskerville", "Noto Serif JP", serif;
        line-height: 120%;
        margin-bottom: 10px;
        padding-bottom: 10px;
        border-bottom: 1px dotted #AAA;
    }
}