#recSlide {
    width: 100%;
    border: 1px solid #EEE;
    margin-bottom: 80px;
}

#recSlide img {
    width: auto;
    height: 580px;
}

#contents #recSlide p {
    margin: 0;
}

#contents #recSlide ul {
    margin: 0;
    padding: 0;
}

#contents #recSlide ul li {
    background: none;
    margin: 0;
    padding: 0;
    line-height: 1;
}

.infoArea {
    display: flex;
    justify-content: space-between;
    gap: 0 40px;
    margin-bottom: 50px;
}

.infoArea #news {
    width: calc(100% - 290px);
}

#contents #news h2 {
    font-size: 1.25rem;
    background: none;
    border-bottom: 2px solid #006259;
    border-radius: 0;
    margin-bottom: 20px;
}

#contents #news ul li {
    background: none;
    position: relative;
    border-bottom: 1px dotted #CCC;
    padding: 10px 0 10px 17px;
}

#contents #news ul li::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 0;
    width: 6px;
    height: 6px;
    background-color: #006259;
    border-radius: 50%;
}

#entry {
    width: 250px;
    text-align: center;
    border: 1px solid #CCC;
    border-radius: 8px;
    padding: 0 10px;
    align-self: flex-start;
}

#contents #entry h2 {
    font-size: 1rem;
    background: none;
    border-bottom: 1px solid #CCC;
    margin-bottom: 15px;
}

.kakomi.green {
    border: none;
    background: #E1EFEE;
    padding: 40px 20px 25px;
}

.kakomi.green p.textCenter {
    font-weight: bold;
}

.step {
    border: 2px solid #006259;
    border-radius: 4px;
    padding: 0 50px 2px;
    margin-bottom: 30px;
}

#contents .step h3 {
    color: #006259;
    background: none;
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 15px 0 20px;
    margin: 0;
    text-align: center;
}

#contents .step h3.plus {
    position: relative;
    cursor: pointer;
}

#contents .step h3 img {
    vertical-align: bottom;
    margin-right: 20px;
}

#contents .step h3 span {
    font-size: 1rem;
    margin-right: 1em;
}

#contents .step h4 {
    color: #006259;
}

#contents .step h5 {
    background: #eff9fe;
    color: #000;
    padding: 10px 20px 12px;
    border-left: 8px solid #4277c7;
}

.stepContent {
    border-top: 2px dotted #999;
    padding: 40px 12px 20px;
}

.plus::before,.plus::after  {
    content: '';
    display: inline-block;
    width: 20px;
    height: 3px;
    background-color: #666;
    position: absolute;
    right: 5px;
    top: 53%;
    transform: translateY(-50%);
    transition: opacity 0.2s;
}

.plus::after {
    transform: translateY(-50%) rotate(90deg);
    transition: transform 0.2s;
}

.plus.open::before {
    opacity: 0;
}

.plus.open::after {
    transform: translateY(-50%) rotate(180deg);
}

.kakomiGreen {
    background: #f2f9ec;
    border-radius: 8px;
    padding: 10px 30px;
    margin-bottom: 20px;
}

.kakomiGreen .detail {
    background: #FFF;
    padding: 30px 40px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.flex.item2.data {
    justify-content: center;
    gap: 40px 60px;
}
.flex.item2.data > * {
    width: 247px;
}

.flex.item5 {
    justify-content: center;
    align-items: stretch;
    gap: 10px;
}

.flex.item5 > * {
    display: flex;
    width: calc((100% - 40px) / 5);
}

.senpai a {
    display: block;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    background: #E1EFEE;
    border-radius: 8px;
    color: #000;
    text-decoration: none;
}

#contents .senpai a p {
    padding: 10px;
    line-height: 1.4;
    margin: 0;
    font-size: 0.875rem;
    height: 100%;
    display: flex;
    align-items: center;
}

.sempaiWrap {
    width: 300px;
    margin: 50px auto;
}

#contents .sempaiWrap p {
    background: #0976a0;
    color: #FFF;
    padding: 10px 20px;
    font-size: 1.125rem;
    font-weight: bold;
}


#contents .kakomiGreen.faq h3 {
    text-align: left;
    background: url(images/faq-q.svg) no-repeat left center;
    padding: 15px 0 20px 60px;
}

.kakomiGreen.faq .detail {
    padding: 30px 40px 15px 100px;
    background: url(images/faq-a.svg) no-repeat 20px 30px #fff;
}

#contents p.modoru {
    text-align: center;
    margin-top: 50px;
}

#contents p.modoru a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #E1EFEE;
    color: #000;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    text-decoration: none;
}

#contents p.modoru a:hover {
    background: #eed995;
}

@media screen and (max-width:599px) {
    #recSlide * {
        max-width: initial;
    }

    #recSlide img {
        width: 100%;
        height: auto;
    }

    .infoArea {
        display: block;
    }

    .infoArea #news {
        width: 100%;
        margin-bottom: 30px;
    }

    #entry {
        width: 100%;
    }

    .step {
        padding: 0 10px 2px 15px;
    }

    #contents .step h3 {
        font-size: 1.25rem;
        padding: 15px 35px 15px 0;
    }

    #contents .step h3 img {
        margin-right: 10px;
    }

    .kakomiGray {
        padding: 10px 15px;
    }

    #contents .step h3 {
        padding: 15px 35px 15px 0;
    }

    #contents h4::before {
        top: 17px;
    }

    #contents .stepContent .textCenter img {
        max-width: 100%;
    }

    #kubun {
        gap: 0 1px;
    }

    .kubunContent {
        padding: 0 15px 0;
    }

    .kakomiGreen {
        padding: 10px;
    }

    .kakomiGreen .detail {
        padding: 30px 20px 15px;
    }

    .flex.item5 {
        flex-wrap: wrap;
        gap: 20px 10px;
    }

    .flex.item5 > * {
        width: calc((100% - 10px) / 2);
    }

    #contents .kakomiGreen.faq h3 {
        padding: 15px 22px 10px 60px;
    }

    .kakomiGreen.faq .detail {
        padding: 90px 20px 15px 20px;
        background: url(images/faq-a.svg) no-repeat top 20px center #fff;
    }

    #contents p.textRight.spCenter {
        text-align: center;
    }
}