/*
File Name: howtoapply.css
Version: 3.0
*/

/*** howtoapply sec1 ***/

#howtoapply_sec1 {
    height: auto;
    margin: 0 auto;
    max-width: 991px;
    padding: 30px 30px 30px;
    width: 100%;
}

#howtoapply_sec1 h2 {
    background-color: #e8e0d0;
    border-radius: 5px;
    color: #604800;
    font-size: 2.5em;
    line-height: 1.5;
    margin-bottom: 1.0em;
    padding: 15px 15px 15px 40px;
    position: relative;
    text-align: center;
}

#howtoapply_sec1 h2::after {
    bottom: -15px;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid #ebe0d0;
    content: '';
    left: calc(50% - 10px);
    position: absolute;
}

#howtoapply_sec1 > p {
    font-size: 1.6em;
    line-height: 1.5;
    margin-bottom: 0.5em;
    text-align: center;
}

#howtoapply_sec1 > p:last-of-type {
    margin-bottom: 1.5em;
}

#howtoapply_sec1 .sec1_items > p {
    margin: 15px auto;
    text-align: center;
    width: 60px;
}

#howtoapply_sec1 .sec1_items > p i {
    background-color: #303030;
    border-radius: 50%;
    color: #ffffff;
    font-size: 3.0em;
    padding: 5px;
    width: 40px;
}

#howtoapply_sec1 .sec1_item {
    display: flex;
    height: auto;
    width: 100%;
}

#howtoapply_sec1 .sec1_item .item_head {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 200px;
    margin-right: 15px;
    width: calc(30% - 15px);
}

#howtoapply_sec1 .sec1_item .item_head p {
    background-color: rgba(128,128,128,0.5);
    color: #ffffff;
    font-size: 4.0em;
    line-height: 1.2;
    padding: 40px 0 64px;
    text-align: center;
    width: 100%;
}

#howtoapply_sec1 .sec1_item .item_head span {
    font-size: 0.4em;
}

#howtoapply_sec1 .sec1_item .item_para {
    background-color: #f0f0e8;
    height: 200px;
    margin-left: 15px;
    padding: 15px;
    width: calc(70% - 15px);
}

#howtoapply_sec1 .sec1_item .item_para h3 {
    color: #807060;
    font-size: 2.0em;
    margin-bottom: 1.0em;
}

#howtoapply_sec1 .sec1_item .item_para p {
    font-size: 1.4em;
    line-height: 1.5;
    margin-bottom: 0.5em;
    max-width: 30.0em;
}

#howtoapply_sec1 .sec1_item .item_para p a {
    border-bottom: 1px dashed #606058;
}

#howtoapply_sec1 .sec1_item .item_para p.ja {
    padding-left: 1.0em;
}

#howtoapply_sec1 .sec1_item .item_para p.ja::before {
    content: '※';
    display: inline;
    margin-left: -1.0em;
}

#howtoapply_sec1 .sec1_item .item_para p:last-of-type {
    margin-bottom: 0;
}

@media (max-width: 639px) {

    #howtoapply_sec1 {
        padding: 15px 15px 30px;
    }

    #howtoapply_sec1 h2 {
        font-size: 2.0em;
    }

    #howtoapply_sec1 > p {
        font-size: 1.4em;
    }

    #howtoapply_sec1 .sec1_item {
        display: block;
    }

    #howtoapply_sec1 .sec1_item .item_head {
        margin-right: 0;
        width: 100%;
    }

    #howtoapply_sec1 .sec1_item .item_para {
        height: auto;
        margin-bottom: 15px;
        margin-left: 0;
        width: 100%;
    }

    #howtoapply_sec1 .sec1_item .item_para h3 {
        font-size: 1.6em;
        text-align: center;
    }

    #howtoapply_sec1 .sec1_item .item_para p {
        font-size: 1.2em;
        max-width: none;
    }

}

/*** howtoapply sec2 ***/

#howtoapply_sec2 {
    height: auto;
    margin: 0 auto;
    max-width: 991px;
    padding: 30px;
    width: 100%;
}

#howtoapply_sec2 h2 {
    background-color: #e8e0d0;
    border-radius: 5px;
    color: #604800;
    font-size: 2.5em;
    line-height: 1.5;
    margin-bottom: 1.0em;
    padding: 15px 15px 15px 40px;
    position: relative;
    text-align: center;
}

#howtoapply_sec2 h2::after {
    bottom: -15px;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid #ebe0d0;
    content: '';
    left: calc(50% - 10px);
    position: absolute;
}

#howtoapply_sec2 p:first-of-type {
    font-size: 1.4em;
    line-height: 1.5;
    text-align: center;
}

#howtoapply_sec2 p:last-of-type {
    font-size: 1.2em;
    line-height: 1.5;
    text-align: center;
}

#howtoapply_sec2 p a {
    border-bottom: 1px dashed #606058;
}

#howtoapply_sec2 ul {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
    width: 100%;
}

#howtoapply_sec2 li {
    width: calc(33.3% - 20px);
}

#howtoapply_sec2 li img {
    border: 1px solid #b0b0b0;
    border-radius: 5px;
    display: block;
    height: auto;
    margin: 0;
    max-width: none;
    width: 100%;
}

@media (max-width: 639px) {

    #howtoapply_sec2 {
        padding: 30px 15px;
    }

    #howtoapply_sec2 h2 {
        font-size: 2.0em;
    }

    #howtoapply_sec2 ul {
        display: block;
    }

    #howtoapply_sec2 li {
        margin-bottom: 15px;
        width: 100%;
    }

    #howtoapply_sec2 li:last-of-type {
        margin-bottom: 0;
    }

    #howtoapply_sec2 li img {
        margin: 0 auto;
        max-width: 250px;
    }

}