/**
 * Utility 
 */
.mb-1 {margin-bottom: 10px !important; }
.mb-3 {
    margin-bottom: 30px !important;
}
.mb-5 {
    margin-bottom: 60px !important;
}
.txt-center, .text-center {
    text-align: center;
}
.text-danger {
    color: red;
}
.font-weight-bold {
    font-weight: bold;
}
.h3 {font-size: 1.75rem;}
.h4 {
    font-size: 1.5rem;
}
.h5 {
    font-size: 1.25rem;
}
/*
 * Form
 */
.gouhi-input {
    align-items: center;
    display: flex;
    margin: 0 auto;
    max-width: 340px;
    width: 100%;
}
.form-label {
    align-self: center;
    display: flex;
    flex: 1 0 5rem;
    flex-direction: column;
    font-size: 1rem;
    font-weight: 600;
    margin-right: .5rem;
}
.gouhi-input .form-label {
    margin-right: 1rem;
}
/*
 * Button
 */
 .btn.btn-pink {
     background-color: #ed8082;
     color: white;
     margin: 0 auto;
     padding: 20px 0;
     width: 96%;
     max-width: 340px;
 }
 .btn.btn-pink .with-mark {
    background-image: url('../images/icon_btn_gouhi.png');
    background-position: center right;
    background-repeat: no-repeat;
    padding-right: 2rem;
 }
 .btn-back {
    background: #aaaaaa !important;
    height: 50px !important;
    margin-right: 1rem;
}
.btn-card {
    background-color: #b44b4c;
    border-radius: 20px;
    color: #fff;
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    padding: 20px;
    position: relative;
    margin: 0 auto;
    max-width: 340px;
    width: 96%;
}
.btn-card::before {
    background-color: #fff;
    border-radius: 50%;
    content: '';
    height: 1.5rem;
    position: absolute;
    top: calc(50% - .75rem);
    right: 20px;
    width: 1.5rem;
}
.btn-card::after {
    border: 8px solid #b44b4c;
    border-top-color: transparent;
    border-bottom-color: transparent;
    border-right-color: transparent;
    content: '';
    position: absolute;
    top: calc(50% - 9px);
    right: 18px;
}
.btn-card:hover, .btn-card:visited, .btn-ard:active {
    text-decoration: none;
    color: #fff;
}

/*
 * Contents
 */
 .ae_contents {
     color: #582402;
     margin: 0 auto;
     line-height: 1.7rem;
     text-align: center;
     width: 100%;
     max-width: 900px;
 }
 .form__gouhi {
     background: #f2dec7;
     border: 2px solid #e7c094;
     border-radius: 6px;
     padding: 30px 0;
     text-align: center;
 }
 .wrapper__form-gouhi .form-label {
     color: #b44702;
     font-size: 1.25rem;
 }
#exam, #cert, #certification-complete,#exam-complete {
    background: url(../images/page_visual/about.png) top left no-repeat;
    background-size: cover;
    min-height: 400px;
    position: relative;
    top: 37%;
    left: 0;
    padding: 1rem;
    width: 100%;
    color: #fff;
    font-weight: 700;
    line-height: 1.8rem;
}
#exam .standard-page-title,#cert .standard-page-title,
#certification-complete .standard-page-title,
#exam-complete .standard-page-title {
    position: relative;
    top: 37%;
    left: 0;
    padding: 1rem;
    width: 100%;
    color: #fff;
    font-weight: 700;
    line-height: 1.1;
    background: rgba(75, 51, 6, 0.4);
}
#exam .standard-page-title .main-title,#cert .standard-page-title .main-title,
#certification-complete .standard-page-title .main-title,
#exam-complete .standard-page-title .main-title {
    font-size: 2.5rem;
}
#exam .standard-page-title .sub-title,#cert .standard-page-title .sub-title,
#certification-complete .standard-page-title .sub-title,
#exam-complete .standard-page-title .sub-title {
    font-size: 1.3rem;
}
.form-error {
    color: #ff0000;
    font-size: .9rem;
    margin-top: .5rem;
}
.exam-wrapper, .cert-exam-select {
    display: flex;
    flex-wrap: wrap;
}
.exam-item {
    flex: 0 1 33%;
    margin-bottom: 1.5rem;
}
.mark-required {
    color: #ff0000;
    font-weight: 700;
    margin-left: .5rem;
}
.label_cert-type {
    display: inline-block;
    margin: 0 1rem;
    padding: 30px;
    width: 45%;
    font-size: 1.125em;
    color: #b44702;
    font-weight: 500;
    text-align: center;
    border: 2px solid #eed687;
    border-radius: 5px;
    background: #e9d594;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    cursor: pointer;
}
.label_cert-type:hover {
    background-color: #e2edf9;
    border: 2px solid #28a7e1;
}
.pass_container {
    background: #b44b4c url('../images/bg_confetti.png') no-repeat;
    background-size: contain;
    border-radius: 10px;
    line-height: 1.7;
    padding: 60px;
}
.ttl_pass {
    background: url('../images/bg_pass_head.png') top center no-repeat;
    background-size: contain;
    color: #fff;
    font-size: 1.2rem;
    line-height: 1.7;
    min-height: 190px;
    padding-top: 110px;
}
.ttl_card {
    background-color: #b44b4c;
    border-radius: 16px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    padding: 10px;
}
.pass_content {
    background: #f7ede1;
    border-radius: 20px;
    padding: 30px;
}
.img_card img {
    max-width: 50%;
    margin: 0 auto;
} 
@media screen and (max-width: 575px) {
    .exam-item {
        flex: 1 1 50%;
        font-size: 1rem;
    }
    .cert-inquiry .cert-exam-select {
        font-size: 14px;
    }
    .pass_container, .pass_content {
        padding: 30px 2%;
    }

    .img_card img {
        max-width: 94%;
    }
}