#stepMenu {
    display: flex;
    justify-content: space-between;
    margin: 40px 0 100px;
}

#stepMenu div {
    text-align: center;
    width: 215px;
    background: #E1EFEE;
    border-radius: 10px;
    padding: 18px 0 0;
    position: relative;
}

#stepMenu div:hover {
    background: #ebf0dd;
}

#stepMenu a {
    color: #000;
    text-decoration: none;
}

#stepMenu div::after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-top: 16px solid transparent;
    border-bottom: 16px solid transparent;
    border-left: 16px solid #006259;
    border-right: 0;
    position: absolute;
    top: 50%;
    right: -25px;
    transform: translateY(-50%);
}

#stepMenu div:last-child:after {
    display: none;
}

.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;
}

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

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

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

.kakomiGray {
    background: #efefef;
    border-radius: 8px;
    padding: 10px 30px;
}

#kubun {
    width: 570px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.kubunContent {
    border: 2px solid #006259;
    padding: 0 45px 0;
    border-radius: 4px;
    margin-bottom: 15px;
}

.kubunContent .detail {
    padding-top: 20px;
    border-top: 2px dotted #999;
    margin-bottom: 40px;
}

.block2em {
    display: block;
    margin-left: 2em;
    line-height: 1.6;
}



.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);
}

.kakomiGray h3.plus::before,.kakomiGray h3.plus::after {
    top: 50%;
}

.kubunContent h3.plus::before,.kubunContent h3.plus::after {
    top: 50%;
}

#contents .kakomi .comment3 {
    text-indent: -2.5em;
    margin-left: 2.5em;
}

.comment1 strong {
    background: #FBFBCA;
    padding: 0 4px;
}


@media screen and (max-width:599px) {
    #stepMenu {
        flex-wrap: wrap;
        gap: 30px 0;
        padding: 0 30px 0 0;
    }

    #stepMenu div {
        width: calc(50% - 15px);
    }

    #contents #stepMenu p {
        font-size: 0.875rem;
    }

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

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

    .kakomiGray {
        padding: 10px 15px;
    }

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

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

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

    #kubun {
        gap: 0 1px;
    }

    .kubunContent {
        padding: 0 15px 0;
    }

}