@media only screen and (min-width: 768px) {
    .greencurtain {
        font-size: 20px;
        line-height: 1.8;
    }

    .greencurtain > :last-child {
        margin-bottom: 0;
    }
    
    .greencurtain h1,
    .greencurtain h2,
    .greencurtain h3 {
        border: 0;
        margin: 0;
        padding: 0;
        background-color: transparent;
    }

    .greencurtain h3::after {
        display: none;
    }

    .greencurtain .c-intro {
        margin-bottom: 65px;
    }

    .greencurtain .c-intro__title {
        margin-bottom: 20px;
    }

    .greencurtain .c-intro__list {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        margin: auto;
        width: 830px;
    }

    .greencurtain .c-intro__item {
        margin-left: 15px;
        width: 260px;
        height: 50px;
        text-align: center;
    }

    .greencurtain .c-intro__item:first-child,
    .greencurtain .c-intro__item:nth-child(4) {
        margin-left: 0;
    }

    .greencurtain .c-intro__item:nth-child(n+4) {
        margin-top: 17px;
    }

    .greencurtain .c-intro__link {
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100%;
        color: #3aa120;
        font-weight: bold;
        background: #e5f4e1;
        text-decoration: none;
        line-height: 1.1;
    }

    .greencurtain .c-intro__list {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        margin: auto;
        width: 830px;
    }

    .greencurtain .footer_navi{
        margin: 60px 0 20px;
    }

    .greencurtain .footer_navi .c-intro__list {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        margin: auto;
        width: 900px;
    }

    .greencurtain .footer_navi .c-intro__list.first-item{
        justify-content: flex-end;
    }

    .greencurtain .footer_navi .c-intro__list.last-item{
        justify-content: flex-start;
    }

    .greencurtain .footer_navi .c-intro__item {
        margin-left: 7px;
        width: 295px;
        height: 75px;
        text-align: center;
    }

    .greencurtain .footer_navi .c-intro__item:first-of-type{
        margin-left: 0;
    }

    .greencurtain .footer_navi .c-intro__link{
        position: relative;
    }
    .greencurtain .footer_navi .active_ .c-intro__link{
        color: #443829;
        background: #dddddd;
    }

    .greencurtain .footer_navi .c-intro__item:not(.active_):last-of-type  a::after {
    content: "";
    position: absolute;
    right: 14px;
    top: 50%;
    width: 8px;
    height: 8px;
    margin-top: -4px;
    border-right: 2px solid #3aa120;
    border-bottom: 2px solid #3aa120;
    transform: rotate(-45deg);
    }
    .greencurtain .footer_navi .c-intro__item:not(.active_):first-of-type  a::after {
    content: "";
    position: absolute;
    left: 8px;
    top: 50%;
    width: 8px;
    height: 8px;
    margin-top: -4px;
    border-right: 2px solid #3aa120;
    border-bottom: 2px solid #3aa120;
    transform: rotate(-225deg);
    }
    .c-link-next {
        text-align: center;
    }
    .c-link-next__link {
        color: #3aa120;
        font-weight: bold;
        text-decoration: none;
    }

    .u-underline {
        padding: 0 0 2px 0;
        display: inline;
        background-image: linear-gradient(to right, #47be1d, #47be1d 6px, transparent 6px, transparent 10px);
        background-size: 10px 2px;
        background-repeat: repeat-x;
        background-position: left bottom;
    }
    
    .u-sp {
        display: none;
    }
}

@media only screen and (max-width: 767px) {
    .greencurtain {
        padding: 0 10px;
        font-size: 18px;
        line-height: 1.8;
    }

    .greencurtain h1,
    .greencurtain h2,
    .greencurtain h3 {
        border: 0;
        margin: 0;
        padding: 0;
        background-color: transparent;
    }

    .greencurtain img {
        max-width: 100%;
        width: auto;
        height: auto;
    }

    .greencurtain h3::after {
        display: none;
    }

    .greencurtain .c-intro {
        margin-bottom: 40px;
    }

    .greencurtain .c-intro__title {
        margin-bottom: 20px;
    }

    .greencurtain .c-intro__item {
        text-align: center;
    }

    .greencurtain .c-intro__item + .c-intro__item {
        margin-top: 10px;
    }

    .greencurtain .footer_navi {
        margin: 20px 0;
    }

    .greencurtain .c-intro__link {
        display: block;
        padding: 10px;
        width: 100%;
        height: 100%;
        color: #3aa120;
        font-weight: bold;
        background: #e5f4e1;
        text-decoration: none;
        line-height: 1.1;
    }
    .greencurtain .footer_navi .c-intro__link{
        position: relative;
    }
    .greencurtain .footer_navi .active_ .c-intro__link {
        color: #443829;
        background: #dddddd;
    }
    .greencurtain .footer_navi .c-intro__item:not(.active_):last-of-type  a::after {
    content: "";
    position: absolute;
    right: 14px;
    top: 50%;
    width: 8px;
    height: 8px;
    margin-top: -4px;
    border-right: 2px solid #3aa120;
    border-bottom: 2px solid #3aa120;
    transform: rotate(-45deg);
    }
    .greencurtain .footer_navi .c-intro__item:not(.active_):first-of-type  a::after {
    content: "";
    position: absolute;
    left: 14px;
    top: 50%;
    width: 8px;
    height: 8px;
    margin-top: -4px;
    border-right: 2px solid #3aa120;
    border-bottom: 2px solid #3aa120;
    transform: rotate(-225deg);
    }
    .c-link-next {
        text-align: center;
    }
    .c-link-next__link {
        color: #3aa120;
        font-weight: bold;
        text-decoration: none;
    }
    .u-underline {
        padding: 0 0 2px 0;
        display: inline;
        background-image: linear-gradient(to right, #47be1d, #47be1d 6px, transparent 6px, transparent 10px);
        background-size: 10px 2px;
        background-repeat: repeat-x;
        background-position: left bottom;
    }
    
    .u-pc {
        display: none;
    }
}