/* ----------------------------------------------------------------
    title
----------------------------------------------------------------- */

h2 {
    text-align: center;
    padding: 30px 0;
}

/* ----------------------------------------------------------------
    section
----------------------------------------------------------------- */
.box {
    background: #fff;
    border: solid 1px #a0a0a0;
    border-radius: 5px;
    padding: 30px;
    margin: 0 15px 30px;
}

.box a {
    display: inline;
}

h3 {
    background: url(/csr/photocontest/img/faq/title-bg.png) no-repeat;
    color: #fff;
    font-weight: bold;
    font-size: 150%;
    padding: 10px 0 5px;
    border-radius: 5px;
    margin-bottom: 30px;
}

.box>section {
    margin-bottom: 60px;
}

.box>section:last-child {
    margin-bottom: 0;
}

.faqCont li:last-child {
    border-bottom: 1px solid #cacaca;
}

input {
    display: none;
}

label {
    transition: all 0.3s;
    border-top: 1px solid #cacaca;
    padding: 30px 70px 30px 75px;
    display: block;
    position: relative;
    text-indent: -45px;
}

label:before,
label:after {
    content: "";
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 20px;
    background: #ff578f;
    transition: all 0.3s;
}

label:after {
    transform: translateY(-50%) rotate(90deg);
}

.question:before {
    content: "";
    background: url("/csr/photocontest/img/faq/pic-question.png") center center / contain no-repeat;
    display: inline-block;
    vertical-align: middle;
    width: 30px;
    height: 30px;
    margin: -3px 15px 0 0;
}

.answerText {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s;
}

.answerText p {
    padding: 30px 30px 30px 75px;
    background: #f6f6f6;
    border-top: 1px solid #cacaca;
    text-indent: -45px;
}

.answerText p:before {
    content: "";
    background: url("/csr/photocontest/img/faq/pic-answer.png") center center / contain no-repeat;
    display: inline-block;
    vertical-align: middle;
    width: 30px;
    height: 30px;
    margin: -3px 15px 0 0;
}

input:checked~.answerText {
    max-height: 500px;
    transition: all 1.5s;
}

input:checked~label:before {
    transform: translateY(-50%) rotate(90deg);
}