@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500;600&display=swap');

/* common */
.page-donate main,
.page-legacy main {
    margin: 100px 0 0 0;
}
.page-furusatotax main {
    margin: 120px 0 0 0;
}
#donate_common_wrap {
    max-width: 1100px;
    width: 90%;
    margin: 0 auto;
    padding-bottom: 150px;
}
.donate_common_section+* {
    margin-top: 100px;
}
.donate_common_block+* {
    margin-top: 100px;
}
.donate_common_block.colorblock {
    background-color: #EAF5FC;
    border-radius: 20px;
    padding: 40px 50px 50px;
    box-sizing: border-box;
}
.donate_common_block.topbottomborder {
    border-top: .5px solid #858687;
    border-bottom: .5px solid #858687;
    padding: 1em 0;
}
.donate_common_head>dt {
    font-size: 3.2rem;
    color: #1892D1;
    border-bottom: 1px solid #858687;
    margin-bottom: 25px;
    padding-bottom: 5px;
}
.page-legacy .donate_common_head>dt {
    color: #1892D1;
}
.donate_common_head_middle>dt {
    font-size: 3rem;
    line-height: 1em;
    margin-bottom: 25px;
    color: #1892D1;
}
.donate_common_btn_wrap {
    display: flex;
    justify-content: center;
    gap: 40px;
}
.donate_common_btn {
    width: fit-content;
    min-width: 310px;
    max-width: 460px;
    background-color: #1892D1;
    color: #fff !important;
    font-size: 1.7rem;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 22px 24px;
    transition: .3s;
    position: relative;
    box-sizing: border-box;
    margin: 1.6em 0;
}
.donate_common_btn.style_sharp {
    font-size: 1.7rem;
}
.donate_common_btn::after {
    content: "";
    width: 12px;
    height: 12px;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translate(0, -50%) rotate(45deg);
    transition: .3s;
}
.donate_common_btn.style_sharp::after {
    width: 10px;
    height: 10px;
}
.donate_common_btn:hover:after {
    transform: translate(4px, -50%) rotate(45deg);
}
.donate_common_link {
    color: #0092D2 !important;
    text-decoration: underline !important;
}
.donate_common_link:hover {
    text-decoration: none !important;
    opacity: 1 !important;
}
.donate_common_icon_arrow {
    padding-left: 20px;
    position: relative;
}
.donate_common_icon_arrow::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    background: #0092D2;
    height: 18px;
    width: 12px;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    transform: translate(0px, -50%);
}
.donate_common_caution {
    font-size: 1.4rem;
}
.caution_wrapper {
    display: inline-block;
    margin:1em 0 2em 0;

}
.page-donate p {
    font-size: 1.7rem;
    line-height: 3.6rem;
    margin: 0;
}
.page-furusatotax p {
    font-size: 1.7rem;
    line-height: 3.6rem;
    margin: 0;
}
.page-legacy p {
    font-size: 1.8rem;
    line-height: 2.2em;
    margin: 0;
}
.page-legacy p.txtcenter {
    text-align: center;
}
@media screen and (max-width: 1200px) {
    .page-donate main,
    .page-legacy main {
        margin: 0;
    }
    .page-furusatotax main {
        margin: 0;
    }
}
@media screen and (max-width: 900px) {
    #donate_common_wrap {
        padding-bottom: 80px;
    }
    .donate_common_section+* {
        margin-top: 50px;
    }
    .donate_common_block+* {
        margin-top: 40px;
    }
    .page-donate p {
        font-size: 1.5rem;
        line-height: 1.8em;
    }
    .page-furusatotax p {
        font-size: 1.5rem;
        line-height: 1.8em;
    }
    .donate_common_block.colorblock {
        padding: 25px 6% 30px;
    }
    .donate_common_head>dt {
        font-size: 2.0rem;
        margin-bottom: 20px;
        padding-bottom: 18px;
        letter-spacing: -0.05em;
    }
    .donate_common_btn_wrap {
        flex-wrap: wrap;
        gap: 20px;
    }
    .donate_common_btn {
        max-width:350px;
        min-width:250px;
        font-size: 1.5rem;
        padding: 16px 22px;
    }
}
/*
   page donate
*/
#mainvisual_donate {
    padding-bottom: 100px;
}
#mainvisual_donate #mainvisual_donate_slide {
    position: relative;
    background-color: #ccc;
}
@keyframes infinity-scroll-left {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}
#mainvisual_donate #mainvisual_donate_slide .scroll-infinity__wrap {
    display: flex;
    overflow: hidden;
}
#mainvisual_donate #mainvisual_donate_slide .scroll-infinity__list {
    display: flex;
    animation: infinity-scroll-left 80s infinite linear 0.5s both;
}
#mainvisual_donate #mainvisual_donate_slide .scroll-infinity__item {
    height: 424px;
    display: block;
}
#mainvisual_donate #mainvisual_donate_slide .scroll-infinity__item>img {
    width: 100%;
}
#mainvisual_donate #mainvisual_donate_slide h2 {
    position: absolute;
    left: calc(50% - 550px);
    top: 90px;
    z-index: 10;
    max-width: 1100px;
    width: 90%;
}
#mainvisual_donate #mainvisual_donate_slide h2 span {
    font-size: 4.2rem;
    line-height: 8rem;
    color: #1892D1;
    display: inline;
    padding: 6px 12px 4px;
    background-color: #fff;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}
#mainvisual_donate #mainvisual_donate_slide h2 .bluecolor {
    color: #fff;
    background-color: #1892D1;
}
#mainvisual_donate #mainvisual_donate_sentence {
    color: #fff;
    background-color: #1892D1;
    padding: 60px 0 80px;
}
#mainvisual_donate #mainvisual_donate_sentence p {
    font-size: 2rem;
    line-height: 4.0rem;
    margin-bottom: 10px;
}
#mainvisual_donate #mainvisual_donate_sentence>div {
    max-width: 1100px;
    width: 90%;
    margin: 0 auto;
}
.donate_disclaimer dt p{
    font-size: 1.4rem;
    line-height: 1.6em;
}
.donate_disclaimer dd {
    margin:0 0 1.5em 0;
}
.donate_disclaimer dd ul.disclaimer_list{
    list-style-type:decimal;
    margin:1em 0 0 2em;
}
.donate_disclaimer dd ul li{
    font-size: 1.4rem;
    line-height: 1.6em;
}

@media screen and (max-width: 1200px) {
    #mainvisual_donate #mainvisual_donate_slide h2 {
        position: absolute;
        left: 5%;
        top: 90px;
        z-index: 10;
        max-width: 1100px;
        width: 90%;
    }
}

@media screen and (max-width: 900px) {
    #mainvisual_donate #mainvisual_donate_slide h2 {
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }

    #mainvisual_donate #mainvisual_donate_slide h2>div {
        width: 100%;
        display: inline-block;
        padding-left: 20px;
        box-sizing: border-box;
    }

    #mainvisual_donate #mainvisual_donate_slide h2 span {
        font-size: 3.0rem;
        line-height: 6rem;
    }

    #mainvisual_donate {
        padding-bottom: 60px;
    }

    #mainvisual_donate #mainvisual_donate_sentence {
        padding: 30px 0 50px;
    }

    #mainvisual_donate #mainvisual_donate_sentence p {
        font-size: 1.8rem;
        line-height: 4.0rem;
    }
}

@media screen and (max-width: 480px) {
    #mainvisual_donate #mainvisual_donate_slide h2 span {
        font-size: 2.4rem;
        line-height: 6rem;
    }
    #mainvisual_donate #mainvisual_donate_sentence p {
        font-size: 1.7rem;
        line-height: 3.2rem;
    }
    .donate_common_btn {
        max-width: 280px;
        min-width: 250px;
        font-size: 1.5rem;
        padding: 10px 10px;
        letter-spacing: -0.07em;
    }
    .donate_common_btn.style_sharp {
        font-size: 1.5rem;
        letter-spacing: -0.07em;
    }
}
/*
   page furusatotax
*/
#mainhead_furusatotax {
    margin-bottom: 70px;
    position: relative;
}

#mainhead_furusatotax h2 {
    margin-bottom: 60px;
}

.page-furusatotax #mainhead_furusatotax p {
    font-size: 1.8rem;
}

#mainhead_furusatotax h2 span {
    color: #fff;
    font-size: 4.0rem;
    line-height: 8rem;
    background-color: #1892D1;
    padding: 6px 12px 4px;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

#mainhead_furusatotax #mainhead_furusatotax_img {
    max-width: 510px;
    width: 100%;
    position: absolute;
    right: -24px;
    top: -46px;
}

#mainhead_furusatotax p+* {
    margin-top: 50px;
}

#mainhead_furusatotax p.halfsize {
    width: 50%;
}

#furusatotax_howtodonate {
    counter-reset: howtodonate_ttl_number;
    padding-top: 45px;
}

#furusatotax_howtodonate>dl+* {
    padding-top: 60px;
}

#furusatotax_howtodonate dt {
    font-size: 2.4rem;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 0 10px;
}

#furusatotax_howtodonate dt span {
    flex: 1;
}

#furusatotax_howtodonate dt::before {
    counter-increment: howtodonate_ttl_number 1;
    content: counter(howtodonate_ttl_number) "";
    background-color: #1892D1;
    color: #fff;
    display: inline-flex;
    font-size: 2rem;
    line-height: 1em;
    width: 28px;
    aspect-ratio: 1;
    justify-content: center;
    align-items: center;
    border-radius: 100%;
}

#furusatotax_howtodonate .furusatotax_howtodonate_list {
    counter-reset: howtodonate_list1_number;
    padding-top: 30px;
    margin-bottom: 25px;
}

#furusatotax_howtodonate .furusatotax_howtodonate_list li:not(:last-child) {
    margin-bottom: 20px;
}

#furusatotax_howtodonate .furusatotax_howtodonate_list li>p {
    padding-left: 1.2em;
    text-indent: -1.2em;
}

#furusatotax_howtodonate .furusatotax_howtodonate_list li>p::before {
    counter-increment: howtodonate_list1_number 1;
    content: counter(howtodonate_list1_number) ". ";
    color: #1892D1;
    font-size: 1.8rem;
}

#furusatotax_howtodonate .furusatotax_howtodonate_list .furusatotax_howtodonate_list_cont {
    padding-left: 18px;
}

#furusatotax_howtodonate .furusatotax_howtodonate_list .howtodonate_list_img {
    max-height: 245px;
}

/*よくあるご質問*/
#furusatotax_qa>dt {
    border-bottom: .5px solid #858687;
    margin-bottom: 0;
}

.furusatotax_qa_cont .toggle {
    display: none;
}

.furusatotax_qa_cont .Label {
    font-size: 2rem;
    padding: 25px 50px 25px 0;
    display: block;
    display: flex;
    gap: 0 30px;
}

.furusatotax_qa_cont .Label::before {
    content: "Q";
    color: #1892D1;
}

.furusatotax_qa_cont .Label .icon {
    font-size: 2.4rem;
    color: #fff;
    font-weight: bold;
    width: 28px;
    aspect-ratio: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 24px;
    right: 0px;
    background-color: #0092D2;
    border-radius: 100%;
    transition: .3s;
}

.furusatotax_qa_cont .Label .icon::before,
.furusatotax_qa_cont .Label .icon::after {
    content: "";
    width: 50%;
    height: 2px;
    background-color: #fff;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: .3s;
}

.furusatotax_qa_cont .Label span {
    display: inline-block;
}

.furusatotax_qa_cont .Label .icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.furusatotax_qa_cont .Label,
.furusatotax_qa_cont .content {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    transition: .3s;
}

.furusatotax_qa_cont .content {
    position: relative;
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s ease-out;
    padding: 0px 20px 0px 45px;
    overflow: hidden;
    border-bottom: .5px solid #858687;
    transition: all .5s;
}

.furusatotax_qa_cont .content::before {
    content: "A";
    font-size: 2.2rem;
    color: #727171;
    position: absolute;
    left: 0px;
    top: 0;
}

.furusatotax_qa_cont .content p {
    position: relative;
    overflow-y: hidden;
}




.furusatotax_qa_cont .toggle:checked+.Label+.content {
    grid-template-rows: 1fr;
    padding: 0px 20px 20px 45px;

}

.furusatotax_qa_cont .toggle:checked+.Label .icon {
    content: "-";
    background-color: #A1A1A1;
}

.furusatotax_qa_cont .toggle:checked+.Label .icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

/* background circle  */

.page-furusatotax .furusatotax_bg_circle {
    aspect-ratio: 1;
    border-radius: 100%;
    position: absolute;
    z-index: -1;
    mix-blend-mode: multiply;
}

.page-furusatotax .furusatotax_bg_circle.circle1 {
    width: 490px;
    background-color: #D5E681;
    opacity: 0;
    top: -370px;
    left: 200px;
    transition: all 2.6s .3s cubic-bezier(0.25, 1, 0.5, 1);
    transform: translate(0, 100px);
}

.page-furusatotax .furusatotax_bg_circle.circle1.circle_start {
    opacity: .5;
}

.page-furusatotax .furusatotax_bg_circle.circle2 {
    width: 650px;
    background-color: #DEF1FB;
    opacity: 0;
    top: -150px;
    left: -280px;
    z-index: -2;
    transition: all 5.6s .4s cubic-bezier(0.25, 1, 0.5, 1);
    transform: translate(0, 70px);
}

.page-furusatotax .furusatotax_bg_circle.circle2.circle_start {
    opacity: 1;
}

.page-furusatotax .furusatotax_bg_circle.circle3 {
    width: 230px;
    background-color: #D5E681;
    opacity: 0;
    top: 435px;
    left: -116px;
    transition: all 2.2s .4s cubic-bezier(0.25, 1, 0.5, 1);
    transform: translate(0, 120px);
}

.page-furusatotax .furusatotax_bg_circle.circle3.circle_start {
    opacity: .5;
}

.page-furusatotax .furusatotax_bg_circle.circle4 {
    width: 438px;
    background-color: #FAD3BF;
    opacity: 0;
    top: -157px;
    right: 195px;
    transition: all 2.5s .5s cubic-bezier(0.25, 1, 0.5, 1);
    transform: translate(0, 80px);
}

.page-furusatotax .furusatotax_bg_circle.circle4.circle_start {
    opacity: .3;
}

.page-furusatotax .furusatotax_bg_circle.circle5 {
    width: 631px;
    background-color: #F6AB00;
    opacity: 0;
    top: 170px;
    right: -380px;
    z-index: -2;
    transition: all 4.6s .5s cubic-bezier(0.25, 1, 0.5, 1);
    transform: translate(0, 80px);
}

.page-furusatotax .furusatotax_bg_circle.circle5.circle_start {
    opacity: .3;
}

.page-furusatotax .furusatotax_bg_circle.circle6 {
    width: 174px;
    background-color: #F9D3D7;
    opacity: 0;
    top: 600px;
    right: 80px;
    transition: all 2.2s .5s cubic-bezier(0.25, 1, 0.5, 1);
    transform: translate(0, 120px);
}

.page-furusatotax .furusatotax_bg_circle.circle6.circle_start {
    opacity: .3;
}

.page-furusatotax .furusatotax_bg_circle.circle7 {
    width: 651px;
    background-color: #DEF1FB;
    opacity: 0;
    top: 1750px;
    left: -260px;
    transition: all 5.2s .6s cubic-bezier(0.25, 1, 0.5, 1);
    transform: translate(0, 70px);
}

.page-furusatotax .furusatotax_bg_circle.circle7.circle_start {
    opacity: 1;
}

.page-furusatotax .furusatotax_bg_circle.circle8 {
    width: 332px;
    background-color: #F6AB00;
    opacity: 0;
    top: 1530px;
    right: -50px;
    transition: all 2.4s .6s cubic-bezier(0.25, 1, 0.5, 1);
    transform: translate(0, 80px);
}

.page-furusatotax .furusatotax_bg_circle.circle8.circle_start {
    opacity: .3;
}

.page-furusatotax .furusatotax_bg_circle.circle9 {
    width: 146px;
    background-color: #F9D3D7;
    opacity: 0;
    top: 1760px;
    right: 170px;
    transition: all 2.0s .6s cubic-bezier(0.25, 1, 0.5, 1);
    transform: translate(0, 120px);
}

.page-furusatotax .furusatotax_bg_circle.circle9.circle_start {
    opacity: .3;
}

.page-furusatotax .furusatotax_bg_circle.circle10 {
    width: 210px;
    background-color: #D5E681;
    opacity: 0;
    top: 2000px;
    right: -105px;
    transition: all 2.4s .6s cubic-bezier(0.25, 1, 0.5, 1);
    transform: translate(0, 120px);
}

.page-furusatotax .furusatotax_bg_circle.circle10.circle_start {
    opacity: .3;
}

.page-furusatotax #furusatotax_bg_circle_wrap.circle_show {
    opacity: 1;
}

.page-furusatotax .furusatotax_bg_circle.circle_start {
    transform: translate(0, 0);
}

@media screen and (max-width: 1120px) {
/*    #mainhead_furusatotax #mainhead_furusatotax_img {
        width: 100%;
        position: relative;
        right: 0px;
        top: 0px;
        margin-bottom: 30px;
    }
    */
    #mainhead_furusatotax h2 span {
        font-size: 3.0rem;
        line-height: 8rem;
    }
    #mainhead_furusatotax h2 {
        margin-bottom: 85px;
    }
    #mainhead_furusatotax #mainhead_furusatotax_img {
        max-width: 370px;
    }
    #mainhead_furusatotax p.halfsize {
        width: 100%;
    }
}

@media screen and (max-width: 900px) {
    #mainhead_furusatotax #mainhead_furusatotax_img {
        width: 100%;
        position: relative;
        margin: -10% 0 0 30%;
    }
    .page-furusatotax .furusatotax_bg_circle.circle1 {
        width: 245px;
        top: -170px;
        left: 20%;
    }
    .page-furusatotax .furusatotax_bg_circle.circle2 {
        width: 325px;
        top: -120px;
        left: -180px;
    }
    .page-furusatotax .furusatotax_bg_circle.circle3 {
        width: 115px;
        top: 320px;
        left: -58px;
    }
    .page-furusatotax .furusatotax_bg_circle.circle4 {
        width: 219px;
        top: -27px;
        right: -120px;
    }
    .page-furusatotax .furusatotax_bg_circle.circle5 {
        width: 315px;
        top: 200px;
        right: -180px;
    }
    .page-furusatotax .furusatotax_bg_circle.circle6 {
        width: 80px;
        top: 600px;
        right: 20px;
    }

    .page-furusatotax .furusatotax_bg_circle.circle7 {
        width: 325px;
        top: 1750px;
        left: -160px;
    }

    .page-furusatotax .furusatotax_bg_circle.circle8 {
        width: 166px;
        top: 1530px;
        right: -50px;
    }

    .page-furusatotax .furusatotax_bg_circle.circle9 {
        width: 73px;
        top: 1660px;
        right: 40px;
    }

    .page-furusatotax .furusatotax_bg_circle.circle10 {
        width: 110px;
        top: 2000px;
        right: -55px;
    }


    #mainhead_furusatotax {
        margin-bottom: 40px;
    }

    .page-furusatotax #mainhead_furusatotax p {
        font-size: 1.6rem;
    }
    #mainhead_furusatotax p+* {
        margin-top: 30px;
    }

    #mainhead_furusatotax h2 {
        margin-bottom: 40px;
    }

    #mainhead_furusatotax h2 span {
        font-size: 2.4rem;
        line-height: 6rem;
        letter-spacing: -0.05em;
    }

    #furusatotax_howtodonate {
        padding-top: 25px;
    }

    #furusatotax_howtodonate dt {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    #furusatotax_howtodonate dt::before {
        width: 20px;
        font-size: 1.6rem;
    }

    #furusatotax_howtodonate .furusatotax_howtodonate_list {
        padding-top: 20px;
        margin-bottom: 15px;
    }

    #furusatotax_howtodonate>dl+* {
        padding-top: 40px;
    }

    .furusatotax_qa_cont .Label {
        font-size: 1.8rem;
        padding: 15px 30px 15px 0;
        gap: 0 15px;
    }

    .furusatotax_qa_cont .content {
        margin-bottom: 0;
        padding: 0px 20px 0px 25px;
    }

    .furusatotax_qa_cont .toggle:checked+.Label+.content {
        padding: 0px 20px 20px 25px;

    }

    .furusatotax_qa_cont .content::before {
        font-size: 1.8rem;
    }

    .furusatotax_qa_cont .Label .icon {
        top: 16px;
        width: 24px;
    }
}
@media screen and (max-width: 680px) {
    #mainhead_furusatotax #mainhead_furusatotax_img {
        width: 100%;
        position: relative;
        margin: 12% 0 0 9%;
    }
    #mainhead_furusatotax h2 span {
        font-size: 2.0rem;
        line-height: 6rem;
    }
    #furusatotax_howtodonate dt {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }

    #furusatotax_howtodonate dt::before {
        width: 20px;
        font-size: 1.4rem;
    }
    .furusatotax_qa_cont .Label {
        font-size: 1.6rem;
        padding: 15px 30px 15px 0;
        gap: 0 15px;
    }
    .furusatotax_qa_cont .content::before {
        font-size: 1.6rem;
    }
}
@media screen and (max-width: 480px) {
    #mainhead_furusatotax #mainhead_furusatotax_img {
        width: 100%;
        position: relative;
        margin: 12% 0 0 -5%;
    }
}
/*
  page legacy
*/
.page-legacy {
    counter-reset: legacy_bequestdonation_table_number legacy_bequestdonation_table_number_sp;
}


#mainvisual_legacy {
    background-color: #1892D1;
    position: relative;
    overflow: hidden;
    height: 410px;
    margin-bottom: 65px;
    background-image:
        url("/assets/img/donate/legacy_head_bg_left.png"),
        url("/assets/img/donate/legacy_head_bg_right.png");
    background-size:
        contain,
        contain;
    background-position:
        0% center,
        100% center;
    background-repeat:
        no-repeat,
        no-repeat;

}

#mainvisual_legacy h2 {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 60%;
    min-width: 850px;
    aspect-ratio: 1;
    background-color: #1892D1;
    border-radius: 100%;
    transform: translate(-50%, -50%);
}

#mainvisual_legacy h2 div {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    font-size: 4.0rem;
    line-height: 8.2rem;
}
@media screen and (max-width: 1200px) {
    #mainvisual_legacy h2 div {
        display: flex;
        width: 100%;
        height: 100%;
        justify-content: center;
        align-items: center;
        text-align: center;
        color: #fff;
        font-size: 3.4rem;
        line-height: 7.2rem;
    }
}

.page-legacy p#legacy_head_txt {
    font-size: 2.2rem;
    line-height: 4.8rem;
    text-align: center;
}


.page-legacy .content_main-onemin {
    padding-top: 30px;
    display: flex;
    gap: 50px 20px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: end;
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
}

.page-legacy .content_main-onemin li {
    width: 280px;
    text-align: center;
}

.page-legacy .content_main-onemin li img {
    padding: 0 25px;
    box-sizing: border-box;
}

.page-legacy .content_main-onemin li dl {
    margin-top: 15px;
}

.page-legacy .content_main-onemin li dl dt {
    font-size: 2.2rem;
    font-weight: bold;
    line-height: 1em;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.page-legacy .content_main-onemin li dl dd {
    font-size: 2.3rem;
    font-weight: bold;
    line-height: 1em;
}

.page-legacy .content_main-onemin li dl dd span.num {
    font-size: 5.6rem;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
}

.page-legacy .content_main-onemin li dl dd span.num_small {
    font-size: 3.8rem;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
}

.page-legacy .content_main-onemin li dl dd sup {
    font-size: 1.6rem;
    vertical-align: super;
    letter-spacing: -0.25em;
}

.page-legacy .content_main-onemin li:nth-child(1) dl dd span.num,
.page-legacy .content_main-onemin li:nth-child(1) dl dd span.num_small {
    color: #33a8db;
}

.page-legacy .content_main-onemin li:nth-child(2) dl dd span.num,
.page-legacy .content_main-onemin li:nth-child(2) dl dd span.num_small {
    color: #33b1ab;
}

.page-legacy .content_main-onemin li:nth-child(3) dl dd span.num,
.page-legacy .content_main-onemin li:nth-child(3) dl dd span.num_small {
    color: #6468ad;
}

.page-legacy .content_main-onemin li dl dd span.unit {
    font-size: 3.8rem;
}

.page-legacy .donate_common_block dl.fleximg {
    margin-top:2em;
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-self: center;
    justify-content: center;
}

@media screen and (max-width: 900px) {
    .page-legacy .content_main-onemin {
        align-items: start;
    }

    .page-legacy .content_main-onemin li {
        width: 75%;
        max-width: 350px;
        text-align: center;
    }

    .page-legacy .content_main-onemin li dl {
        margin-top: 10px;
    }

    .page-legacy .content_main-onemin li dl dt {
        font-size: 1.6rem;
        min-height: 40px;
    }

    #main-onemin.en .page-legacy .content_main-onemin li dl dt {
        font-size: 1.4rem;
    }

    .page-legacy .content_main-onemin li dl dd {
        font-size: 1.4rem;
    }

    .page-legacy .content_main-onemin li dl dd span.num {
        font-size: 4rem;
    }

    .page-legacy .content_main-onemin li dl dd span.num_small {
        font-size: 2rem;
    }

    .page-legacy .content_main-onemin li dl dd span.unit {
        font-size: 2rem;
    }
    .page-legacy .donate_common_block dl.fleximg {
    margin-top:2em;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-self: center;
    justify-content: center;
}
}

.page-legacy .legacy_bequestdonation_table {
    background-color: #F5F5F5;
    border-radius: 6px;
    margin-top: 20px;
    padding: 20px;
}

.page-legacy .legacy_bequestdonation_table table {
    width: 100%;
}

.page-legacy .legacy_bequestdonation_table th {
    white-space: nowrap;
    width: calc(100% / 5);
    padding: 0 20px;
}

.page-legacy .legacy_bequestdonation_table th:first-child {
    padding: 0 20px 0 0;
}

.page-legacy .legacy_bequestdonation_table th:last-child {
    padding: 0 0 0 20px;
}

.page-legacy .legacy_bequestdonation_table th:not(:last-child) {
    border-right: .75px solid #9D9D9D;
}

.page-legacy .legacy_bequestdonation_table th span {
    width: 100%;
    display: inline-block;
    background-color: #1892D1;
    border-radius: 4px;
    color: #fff;
    font-size: 2rem;
    line-height: 1em;
    padding: 12px 0;
}

.page-legacy .legacy_bequestdonation_table td {
    border-right: .75px solid #9D9D9D;
    border-bottom: .75px solid #9D9D9D;
    padding: 20px;
    font-size: 1.8rem;
    vertical-align: top;
}

.page-legacy .legacy_bequestdonation_table td:last-child {
    border-right: none;
}

.page-legacy .legacy_bequestdonation_table tr:last-child td,
.page-legacy .legacy_bequestdonation_table td.nobdbtm {
    border-bottom: none;
}


.page-legacy .legacy_bequestdonation_table td:last-child {
    padding: 20px 0 20px 20px;
}

.page-legacy .legacy_bequestdonation_table td.ttlhowto {
    vertical-align: middle;
    font-size: 2rem;
    color: #025FA0;
    padding: 20px 20px 20px 0;
}

.page-legacy .legacy_bequestdonation_table td.ttlhowto span {
    position: relative;
    display: inline-block;
    padding-left: 52px;
    padding-right: 10px;
}

.page-legacy .legacy_bequestdonation_table td.ttlhowto span::before {

    counter-increment: legacy_bequestdonation_table_number 1;
    content: counter(legacy_bequestdonation_table_number) "";

    position: absolute;
    left: 0;
    top: 50%;
    width: 40px;
    aspect-ratio: 1;
    background-color: #1892D1;
    border-radius: 100%;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.4rem;
    transform: translate(0, -50%);
}


.page-legacy .legacy_bequestdonation_table_sp {
    display: none;
    margin-top: 20px;
    background-color: #F5F5F5;
    border-radius: 6px;
    padding: 12px;
}

.page-legacy .legacy_bequestdonation_table_sp table {
    margin-bottom: 20px;
    width: 100%;
}

.page-legacy .legacy_bequestdonation_table_sp tr:not(:last-child) th {
    border-bottom: .75px solid #9D9D9D;
}

.page-legacy .legacy_bequestdonation_table_sp th {
    white-space: nowrap;
    padding: 12px 12px 12px 0;
}

.page-legacy .legacy_bequestdonation_table_sp th:not(:last-child) {
    border-right: .75px solid #9D9D9D;
}

.page-legacy .legacy_bequestdonation_table_sp th span {
    width: 100%;
    display: inline-block;
    background-color: #1892D1;
    border-radius: 4px;
    color: #fff;
    font-size: 1.3rem;
    line-height: 1em;
    padding: 8px 6px;
    box-sizing: border-box;
}

.page-legacy .legacy_bequestdonation_table_sp td {
    border-right: .75px solid #9D9D9D;
    border-bottom: .75px solid #9D9D9D;
    padding: 12px;
    font-size: 1.4rem;
    vertical-align: top;
}

.page-legacy .legacy_bequestdonation_table_sp td:last-child {
    border-right: none;
}

.page-legacy .legacy_bequestdonation_table_sp tr:last-child td {
    border-bottom: none;
}


.page-legacy .legacy_bequestdonation_table_sp td.ttlhowto {
    vertical-align: middle;
    font-size: 1.6rem;
    color: #025FA0;
    padding: 12px 12px 12px 0;
}

.page-legacy .legacy_bequestdonation_table_sp td.ttlhowto span {
    position: relative;
    display: inline-block;
    padding-left: 48px;
    padding-right: 10px;
}

.page-legacy .legacy_bequestdonation_table_sp td.ttlhowto span::before {
    counter-increment: legacy_bequestdonation_table_number_sp 1;
    content: counter(legacy_bequestdonation_table_number_sp) "";
    position: absolute;
    left: 10px;
    top: 50%;
    width: 26px;
    aspect-ratio: 1;
    background-color: #1892D1;
    border-radius: 100%;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.7rem;
    line-height: 1em;
    transform: translate(0, -50%);
}



@media screen and (max-width: 900px) {
    .page-legacy p {
        font-size: 1.6rem;
        line-height: 3.4rem;
        margin: 0;
    }

    #mainvisual_legacy {
        height: 280px;
        margin-bottom: 35px;
        background-position: -44px center, calc(100% + 30px) center;
    }

    #mainvisual_legacy h2 {
        width: 80%;
        min-width: auto;
    }

    #mainvisual_legacy h2 div {
        font-size: 2.0rem;
        line-height: 5rem;
        padding: 0 0px;
        box-sizing: border-box;
    }

    .page-legacy p#legacy_head_txt {
        font-size: 1.6rem;
        line-height: 4.0rem;
        letter-spacing: -0.05em;
    }

    .donate_common_head_middle>dt {
        font-size: 2.0rem;
        line-height: 1.4em;
        margin-bottom: 10px;
    }

    .donate_common_head>dt {
        color: #1892D1;
        margin-bottom: 10px;
        padding-bottom: 5px;
    }

    .donate_common_icon_arrow {
        padding-left: 14px;
    }

    .donate_common_icon_arrow::before {
        height: 12px;
        width: 8px;
    }

    .page-legacy .legacy_bequestdonation_table {
        display: none;
    }

    .page-legacy .legacy_bequestdonation_table_sp {
        display: block;
    }
}
br.sp {
    display: none;
}
.right {
    display: inline-block;
    float:right;
    margin-bottom:3em;
}
@media screen and (max-width: 480px) {
    #mainvisual_legacy h2 {
        width: 90%;
        min-width: auto;
    }
    #mainvisual_legacy h2 div {
        font-size: 1.8rem;
        line-height: 5rem;
        padding: 0 0px;
        box-sizing: border-box;
        letter-spacing: -0.05em;
    }
    br.sp {
        display: inline;
    }
}