@charset "utf-8";
/* CSS Document */

#school_payment .content_wrap_inner {
    max-width: 1000px;
    padding: 0 1.6rem;
    margin: 0 auto;
}

/*〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
校納金
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓*/

#payment h2 {
    width: 25.7rem;
    margin: 8rem auto;
}

#payment h3 {
    font-size: 2.6rem;
    letter-spacing: 0.1em;
    margin: 1em 0;
    text-align: center;
}

#payment h3 span {
    display: inline-block;
    padding: 0.3em 1em;
    border: 2px solid #000;
}

@media screen and (max-width:480px) {
    #payment h2 {
        width: 18rem;
        margin: 4rem auto;
    }

    #payment h3 {
        font-size: 1.8rem;
        letter-spacing: 0.1em;
        margin: 1em 0;
        text-align: center;
    }

    #payment h3 span {
        display: inline-block;
        padding: 0.3em 1em;
        border: 2px solid #000;
    }
}

#payment ul.list_paymentlink {
    display: flex;
    justify-content: center;
    margin-bottom: 8rem;
}

#payment ul.list_paymentlink li {
    width: 33%;
}

#payment ul.list_paymentlink li a {
    display: block;
    border-left: 1px solid #ea6188;
    text-align: center;
    font-size: 2.4rem;
    line-height: 1.75;
    font-weight: bold;
    padding: 0.5em 0;
}

#payment ul.list_paymentlink li a:hover {
    text-decoration: none;
}

#payment ul.list_paymentlink li:last-child a {
    border-right: 1px solid #ea6188;
}

@media screen and (max-width:480px) {
    #payment ul.list_paymentlink {
        flex-direction: column;
        width: 100%;
        margin: 0 auto 4rem;
    }

    #payment ul.list_paymentlink li {
        width: 100%;
    }

    #payment ul.list_paymentlink li a {
        border-left: none;
        font-size: 1.8rem;
        padding: 0.5em 0;
        position: relative;
    }

    #payment ul.list_paymentlink li a br {
        display: none;
    }

    #payment ul.list_paymentlink li:last-child a {
        border-right: none;
    }

    #payment ul.list_paymentlink li:nth-child(1) a::before, #payment ul.list_paymentlink li:nth-child(2) a::before {
        content: '';
        display: block;
        position: absolute;
        height: 1px;
        width: 80%;
        background-color: #ea6188;
        bottom: 0;
        right: 0;
        left: 0;
        margin: auto;
    }

    /* #payment ul.list_paymentlink li:nth-child(2n+1) a::after {
        content: '';
        display: block;
        position: absolute;
        height: 80%;
        width: 1px;
        background-color: #ea6188;
        bottom: 0;
        right: 0;
        top: 0;
        margin: auto;
    } */
}

#payment h4 {
    margin: 8rem 0 6rem;
    text-align: center;
}

#payment h4 a {
    display: inline-block;
    font-size: 2rem;
    padding: 0.5em 6em;
    border-top: 1px solid #ea6188;
    border-bottom: 1px solid #ea6188;
    color: #ea6188;
    letter-spacing: 0.1em;
}

#payment h4 a:hover {
    text-decoration: none;
}

@media screen and (max-width:480px) {
    #payment h4 {
        margin: 4rem 0 3rem;
        text-align: center;
    }

    #payment h4 a {
        font-size: 1.6rem;
        padding: 0.5em 3em;
    }
}

#payment .kingaku_wrap {
    display: flex;
    flex-wrap: wrap;
    max-width: 886px;
    margin: auto;
    justify-content: space-between;
}

#payment .kingaku_wrap .item {
    width: 406px;
    margin-bottom: 6rem;
}

#payment .kingaku_wrap .item h5 {
    font-size: 3rem;
    letter-spacing: 0.1em;
    padding: 0.1em 0 0.1em 0.25em;
    margin-bottom: 1em;
    color: #ea6188;
    border-left: 6px solid #ea6188;
}

#payment .kingaku_wrap .item dl {
    display: table;
    width: 100%;
    border: 3px solid #ea6188;
    margin-bottom: 1.6rem;
}

#payment .kingaku_wrap .item dl dt {
    display: table-cell;
    background-color: #ea6188;
    width: 50%;
    text-align: center;
    vertical-align: middle;
    color: #fff;
    font-weight: bold;
    font-size: 1.5rem;
    letter-spacing: 0.075em;
}

#payment .kingaku_wrap .item dl dd {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    font-size: 2.6rem;
    font-weight: bold;
    padding: 0.4em 0;
    color: #ea6188;
}

#payment .kingaku_wrap .item dl dd span {
    display: inline-block;
    font-size: 0.75em;
    margin-left: 0.25em;
}

#payment .kingaku_wrap .item h6 {
    font-size: 1.4rem;
    margin: 0.5em 0;
}

#payment .kingaku_wrap .item p {
    font-size: 1.4rem;
    line-height: 1.5;
    margin-left: 1.4rem;
    font-weight: bold;
    letter-spacing: 0.075em;
}

#payment .kingaku_wrap .item p.ano {
    font-size: 1.2rem;
    font-weight: normal;
}

#payment .kingaku_wrap .item ul {
    font-size: 1.4rem;
    letter-spacing: 0.075em;
    line-height: 1.5;
}

#payment .kingaku_wrap .item ul li {
    margin: 0.25em 0 0.25em 1.4rem;
}

#payment .kingaku_wrap .item ul li span {
    font-size: 0.75em;
    padding: 0.125em 0;
    display: inline-block;
    background-color: #666;
    color: #fff;
    text-align: center;
    width: 5em;
    vertical-align: middle;
    margin-right: 0.5em;
}

@media screen and (max-width:480px) {
    #payment .kingaku_wrap {
        width: 96%;
        margin: auto;
        flex-direction: column;
    }

    #payment .kingaku_wrap .item {
        width: 100%;
        margin-bottom: 4rem;
    }

    #payment .kingaku_wrap .item h5 {
        font-size: 2rem;
    }

    #payment .kingaku_wrap .item dl {
        margin-bottom: 2rem;
    }

    #payment .kingaku_wrap .item dl dt {
        font-size: 1.3rem;
        letter-spacing: normal;
    }

    #payment .kingaku_wrap .item dl dd {
        font-size: 1.9rem;
        padding: 0.6em 0;
    }

    #payment .kingaku_wrap .item dl dd span {
        margin-left: 0.1em;
    }

    #payment .kingaku_wrap .item h6 {
        font-size: 1.3rem;
    }

    #payment .kingaku_wrap .item p {
        font-size: 1.2rem;
        letter-spacing: normal;
        margin-left: 0;
    }

    #payment .kingaku_wrap .item p.ano {
        font-size: 1rem;
    }

    #payment .kingaku_wrap .item ul {
        font-size: 1.2rem;
        letter-spacing: normal;
        line-height: 1.5;
    }

    #payment .kingaku_wrap .item ul li {
        margin: 0.25em 0 0.25em 0;
    }

    #payment .kingaku_wrap .item ul li span {
        font-size: 0.75em;
        padding: 0.125em 0;
        display: inline-block;
        background-color: #666;
        color: #fff;
        text-align: center;
        width: 4em;
        vertical-align: middle;
        margin-right: 0.5em;
    }

    #payment .button_list a {
        letter-spacing: normal;
    }
}

/*〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
保護者支援制度
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓*/

#support {
    margin-top: 12rem;
    padding-top: 8rem;
    border-top: 1px solid #000;
}

#support h2 {
    width: 316px;
    margin: 0 auto 6rem;
}

#support h3 {
    margin: 4rem 0;
    text-align: center;
}

#support h3 span {
    display: inline-block;
    position: relative;
    font-size: 2rem;
    letter-spacing: 0.1em;
    padding: 0 1.5em;
}

#support h3 span::before, #support h3 span::after {
    content: '';
    display: block;
    position: absolute;
    height: 160%;
    width: 2px;
    background-color: #000;
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    transform: skewX(30deg);
}

#support h3 span::after {
    left: auto;
    right: 0;
    margin: auto;
    transform: skewX(-30deg);
}

@media screen and (max-width:480px) {
    #support {
        margin-top: 6rem;
        padding-top: 6rem;
    }

    #support h2 {
        width: 70%;
        margin: 0 auto 4rem;
    }

    #support h3 {
        margin: 4rem 0 8rem;
    }

    #support h3 span {
        font-size: 1.6rem;
        letter-spacing: 0.1em;
    }
}

#support .kyufukin_wrap {
    max-width: 862px;
    display: flex;
    justify-content: space-between;
    margin: auto;
    position: relative;
}

#support .kyufukin_wrap::before {
    content: '';
    display: block;
    position: absolute;
    width: 92px;
    height: 78px;
    background-image: url(../img/img_hogosyahien_2022@2x.png);
    background-size: cover;
    background-repeat: no-repeat;
    top: -78px;
    left: 160px;
}

#support .kyufukin_wrap .item {
    width: 402px;
}

#support .kyufukin_wrap .item h4 {
    background: rgb(251, 201, 55);
    background: linear-gradient(45deg, rgba(251, 201, 55, 1) 0%, rgba(232, 60, 91, 1) 100%);
    padding: 4px;
    margin-bottom: 3rem;
}

#support .kyufukin_wrap .item h4 span {
    display: block;
    background-color: #fff;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    color: #000;
    font-size: 2.4rem;
    line-height: 1.25em;
    padding: 1.1rem 0;
    letter-spacing: 0.05em;
}

@media screen and (max-width:480px) {
    #support .kyufukin_wrap {
        flex-direction: column;
    }

    #support .kyufukin_wrap::before {
        width: 8.077rem;
        height: 7rem;
        top: -7rem;
        left: 0;
        right: 0;
        margin: auto;
    }

    #support .kyufukin_wrap .item {
        width: 100%;
        margin-bottom: 4rem;
    }

    #support .kyufukin_wrap .item h4 {
        margin-bottom: 2rem;
    }

    #support .kyufukin_wrap .item h4 span {
        font-size: 2rem;
    }
}