/* 守護天使診断フォーム wrapper */
.assp-form {
    display: block;
    margin-bottom: 2rem;
    width: 100%;
    border: solid 5px #ECEBCC;
}

/* ヘッダー部分 */
.assp-form .header {
    padding-top: 0.75rem;
    text-align: center;
}
.assp-form .header.logo {
    padding: 0;
    aspect-ratio: 1000 / 700;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-size: 120% !important;
}
.assp-form .header img {
    width: 70%;
    margin: 0;
    padding: 0;
    object-fit: contain;
}
@media (min-width: 768px) {
    .assp-form .header {
        padding: 1.5rem 0;
    }
    .assp-form .header.logo {
        aspect-ratio: 1000 / 580;
        background-size: 100% !important;
    }
}

/* メイン部分 */
.assp-form .body {
    padding: 1rem;
    text-align: center;
}

.assp-form .body .call {
    position: relative;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.875rem;
}
.assp-form .body .call.bold {
    font-weight: bold;
}
.assp-form .body .call::before {
    position: absolute;
    bottom: 0.5rem;
    left: -1rem;
    display: inline-block;
    content: "";
    width: 1.25rem;
    height: 1.25rem;
    border-bottom: solid 1px #333;
    transform: rotate(50deg);
}
.assp-form .body .call::after {
    position: absolute;
    bottom: 0.5rem;
    right: -1rem;
    display: inline-block;
    content: "";
    width: 1.25rem;
    height: 1.25rem;
    border-bottom: solid 1px #333;
    transform: rotate(-50deg);
}
@media (min-width: 768px) {
    .assp-form .body .call {
        margin-top: 1rem;
        font-size: 1rem;
    }
    .assp-form .body .call::before {
        bottom: 0.5rem;
        left: -1.25rem;
        width: 1.75rem;
        height: 1.75rem;
    }
    .assp-form .body .call::after {
        bottom: 0.5rem;
        right: -1.25rem;
        width: 1.75rem;
        height: 1.75rem;
    }
}

/* ボタン */
.assp-form .body .button a {
    display: block;
    width: 100%;
    margin-top: 1rem;
    margin-bottom: 0.75rem;
    padding: 15px 0;
    font-size: 17px;
    color: #fff !important;
    text-decoration: none !important;
    box-shadow: 0px 5px 15px -5px #ccc;
    text-align: center;
    background-color: #03af7a;
    border-radius: 5px;
}


.assp-form .body .button a:hover {
    opacity: 1;
    transform: scale(0.95);
}

.assp-form .body .button a.disabled {
    background-color: #DDD;
}
.assp-form .body .button a.disabled:hover {
    opacity: 1;
    transform: scale(1);
    cursor: not-allowed;
}

@media (min-width: 768px) {
    .assp-form .body .button a {
        display: inline-block;
        width: 80%;
        padding: 15px 40px;
    }
}
@media (min-width: 992px) {
    .assp-form .body .button a {
        padding: 19px 80px;
        width: auto;
    }
}

/* エラー表示 */
.assp-form .body .error {
    display: none;
    margin-bottom: 0.75rem;
    padding: 0.75rem;
    color: #C00;
    font-size: 0.875rem;
    border: solid 1px #E00;
    border-radius: 0.25rem;
}

/* 選択肢リンク */
.assp-form .body .date {
    margin-top: 1rem;
    margin-bottom: 0.75rem;
    border: 0;
    vertical-align: baseline;
    box-sizing: border-box;
}
.assp-form .body .date select {
    border: solid 1px #DDD;
    padding: 8px;
    font-size: 1rem;
    border-radius: 0.375rem;
    background-color: #FFF;
}
@media (min-width: 768px) {
    .assp-form .body .button {
        margin-bottom: 0.375rem;
    }
}


/* 守護天使診断フォーム エラーメッセージ */
.assp-form .assp-error-message {
    display: none;
    color: #fd5b85;
    font-size: 13px;
}
.assp-has-error .assp-error-message {
    display: block;
}

/* 守護天使診断フォーム アイコン */
.assp-form .assp-form-icon {
    position: absolute;
    top: -17px;
    left: 34px;
    transition: top 0.3s ease-out;
}
@media screen and (max-width: 1100px) {
    .assp-form .assp-form-icon {
        width: 20%;
        top: calc(-80px + 10%);
        left: 5%;
    }
}
@media screen and (max-width: 500px) {
    .assp-form .assp-form-icon {
        top: -9%;
    }
}

/* 守護天使診断フォーム タイトル */
.assp-form .assp-form-title {
    padding: 0 10%;
    margin-bottom: 20px;
}
.assp-form .assp-form-title img {
    display: block;
    margin: 0 auto;
}

.assp-form .assp-form-contents {
    margin-bottom: 30px;
}

/* 守護天使診断フォーム セクション */
.assp-form .assp-form-section {
    padding: 0 72px;
    margin: 0 auto 10px;
}
@media screen and (max-width: 600px) {
    .assp-form .assp-form-section {
        padding: 0 11%;
    }
}

/* 守護天使診断フォーム ラベル */
.assp-form .assp-form-label {
    color: #333;
    font-size: 16px;
    line-height: 1.5;
    padding: 8px 0;
}
@media screen and (max-width: 600px) {
    .assp-form .assp-form-label {
        font-size: 16px;
    }
}

/* 守護天使診断フォーム 入力欄 */
.assp-form .assp-form-input {
    display: block;
    width: 100%;
    padding: 0.5rem 1rem;
    background-color: #fff;
    border: 1px solid #aaa;
    appearance: none;
    border-radius: 3px;
    box-sizing: border-box;
    text-align: center;
    font-size: 16px;
}

.assp-form .assp-form-input-date .assp-form-input-year,
.assp-form .assp-form-input-date .assp-form-input-month,
.assp-form .assp-form-input-date .assp-form-input-day {
    display: inline-block;
    text-align: center;
    font-size: 16px;
    border: none;
    outline: none;
    padding: 0;
    margin: 0;
    appearance: none;
    line-height: 16px;
}

.assp-form .assp-form-input-date .assp-form-input-year {
    width: 52px;
}

.assp-form .assp-form-input-date .assp-form-input-month,
.assp-form .assp-form-input-date .assp-form-input-day {
    width: 26px;
}


.assp-form .assp-form-btn a {
    margin: 0 auto;
}

.assp-form .assp-disabled {
    opacity: 0.5!important;
    cursor: progress;
}


/* マイエンジェルナンバーの結果 */
.assp-form.myangelnumber {
    display: block;
}

.assp-form.myangelnumber .result {
    display: none;
    position: relative;
    margin: 1rem -1rem -1rem -1rem;
    aspect-ratio: 1000 / 730;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-size: 140% !important;
}
.assp-form.myangelnumber .result > div {
    position: absolute;
    display: block;
    width: 100%;
    left: 0;
    bottom: 15%;
    font-size: 0.675rem;
    text-align: center;
}
@media screen and (min-width: 600px) {
    .assp-form.myangelnumber .result > div {
        font-size: 0.875rem;
    }
}
@media screen and (min-width: 768px) {
    .assp-form.myangelnumber .result {
        aspect-ratio: 1000 / 530;
        background-size: 100% !important;
    }
}
@media screen and (min-width: 992px) {
    .assp-form.myangelnumber .result > div {
        font-size: 1rem;
    }
}

