/* -----------------------------
        About Page
-------------------------------*/
.secProfMission {
    margin-bottom: 150px;
}


.secProfMission p {
    text-align: center;
    font-weight: bold;
    font-size: 1.6rem;
}

.secProfMission h2 {
    margin-bottom: 80px;
}


.secProfMission h3 {
    text-align: center;
    font-size: 2.2rem;
}

.profBox {
    padding-bottom: 40px;
}

.secProfCareer dl {
    font-size: 1.4rem;
    position: relative;
    margin-bottom: 20px;
    width: 820px;
    margin: 0 auto 40px;
}

.secProfCareer dl dt {
    width: 10%;
    margin: 0;
    background: #77a706;
    color: #fff;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    border-right: #e5f286 dashed 1px;
    border-bottom: #e5f286 dashed 1px;
    box-sizing: border-box;
}

.secProfCareer dl dt.lt {
    border-radius: 10px 0 0 0;
}

.secProfCareer dl dt.lb {
    border-radius: 0px 0 0 10px;
}

.secProfCareer dl dd.rt {
    border-radius: 0px 10px 0 0;
}

.secProfCareer dl dd.rb {
    border-radius: 0px 0 10px 0px;
}

.secProfCareer dl dd {
    width: 90%;
    margin: 0;
    padding: 30px 0;
    background: #77a706;
    color: #fff;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    border-right: #e5f286 dashed 1px;
    border-bottom: #e5f286 dashed 1px;
}

.secProfCareer dl dt.lr,
.secProfCareer dl dd.lr {
    border-bottom: none;
}

/* -----------------------------
        Works List Page
-------------------------------*/
.secWorks {
    margin-top: 40px;
    margin-bottom: 150px;
}

.secWorks h3 {
    margin-top: 0px;
}

.secWorks ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.secWorks ul li {
    width: 600px;
    max-width: 48%;
    box-sizing: border-box;
    border-radius: 10px;
    margin-bottom: 50px;
    position: relative;
    background: #fff;
}

.secWorks ul li .bgDiv {
    background: url(../img/332928.png) no-repeat;
    background-size: 300px;
    background-position: top -70px right -70px;
    padding: 80px 30px 100px 30px;
    border-radius: 20px;
}

.secWorks ul li img {
    width: auto;
    height: 300px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
}

.secWorks .numBox {
    background: #77a706;
    color: #fff;
    position: absolute;
    top: 0;
    left: 0;
    font-size: 1.8rem;
    padding: 15px;
    border-radius: 10px 0 0 0px;
}

.secWorks .photoBoxPc {
    border: #77a706 solid 10px;
    border-radius: 10px;
    margin-bottom: 80px;
    position: relative;
}

.secWorks .photoBoxPc img {
    object-fit: cover;
}

.secWorks .photoBoxSp {
    position: absolute;
    top: 40px;
    right: 20px;
    border: #77a706 solid 10px;
    border-radius: 10px;
    background: #fff;
}

.secWorks .photoBoxSp img {
    max-width: 150px;
    object-fit: cover;
    box-sizing: border-box;
}

.secWorks .textBox {
    border-top: dashed;
}

.secWorks .textBox p {
    line-height: 2rem;
    margin-bottom: 0;
}

.secWorks .moreLink>a {
    margin: 0px;
}

.secWorks .moreLink {
    position: absolute;
    bottom: 30px;
    right: 50%;
    transform: translateX(50%);
}

/* -----------------------------
        Works Show Page
-------------------------------*/
.showBox img {
    width: 100%;
}

.showBox .numBox {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.showBox .photoBoxPc {
    border: #77a706 solid 10px;
    border-radius: 10px;
    margin-bottom: 30px;
    overflow: hidden;
}

.showBox .textBox {
    background: #fff;
    padding: 40px;
    box-sizing: border-box;
    border-radius: 10px;
    font-size: 1.6rem;
    line-height: 1.8rem;
    word-spacing: 1.4rem;
    width: 80%;
    margin: 0 auto 40px;
}

.detailBox .photoBoxSp {
    border: #77a706 solid 10px;
    border-radius: 10px;
    margin-left: 100px;
}

.detailBox .photoBoxSp img {
    width: 240px;
    height: 500px;
    object-fit: cover;
    box-sizing: border-box;
}

.showBox .detailBox .textBox {
    padding: 40px;
    box-sizing: border-box;
    border-radius: 10px;
    font-size: 1.6rem;
    line-height: 1.8rem;
    word-spacing: 1.4rem;
    margin: 0;
    width: 680px;
}

.detailBox .textBox {
    background: url(../img/332928.png) #fff no-repeat;
    background-size: 300px;
    background-position: bottom -70px right -70px;
    border-radius: 20px;
}


/* -----------------------------
        Contact Page
-------------------------------*/
#contactForm {
    background: #e5f286;
    padding: 40px 30px 20px;
    margin: 40px auto;
    box-sizing: border-box;
    border-radius: 10px;
}

#contactForm label {
    font-size: 16px;
    margin-bottom: 10px;
    display: block;
}

#contactForm input,
#contactForm textarea,
#contactForm p {
    width: 100%;
    display: block;
    border: none;
    border-radius: 10px;
    padding: 20px 30px;
    box-sizing: border-box;
    margin-bottom: 20px;
    background: #fff;
}

#contactForm p {
    background: #e5e5e5;
}

#contactForm p.error-message {
    color: #f00;
    background: none;
    margin-top: -10px;
    padding: 0;
}

#contactForm textarea {
    height: 450px;
}

#contactForm .flexBox {
    width: 400px;
}

#contactForm .moreLink>button {
    margin: 0 auto;
}

@media screen and (max-width: 480px) {
    #contactForm {
        padding: 20px 10px;
    }

    .secProfMission h3 {
        font-size: 1.8rem;
    }

    .secProfCareer dl {
        width: 100%;
        font-size: 1.1rem;
    }

    .secProfCareer dl dt {
        width: 20%;
        line-height: 1.5rem;
    }

    .secProfCareer dl dd {
        width: 80%;
        padding: 16px 10px;
    }

    .secWorks ul li {
        max-width: 100%;
    }

    .secWorks ul li img {
        height: 170px;
    }

    .secWorks ul li .bgDiv {
        padding: 70px 10px 100px;
    }

    .secWorks .photoBoxSp img {
        max-width: 80px;
    }

    .showBox .textBox {
        padding: 20px;
        width: 100%;
    }

    .showBox .textBox p {
        margin: 0 0 10px;
    }

    .showBox .detailBox {
        flex-wrap: wrap;
        justify-content: center;
    }

    .detailBox .photoBoxSp {
        margin: 0 0 30px;
    }

    .showBox .detailBox .textBox {
        width: 100%;
        padding: 20px;
    }

    #contactForm .flexBox {
        width: 100%;
    }
}