@charset 'UTF-8';

.section02 {
    background-color: #e7d7d7;
}

/*----------星マーク、文字画像の配置----------*/
.img-area a {
    position: absolute;
}

.img-area a:nth-of-type(1) {
    top: 185px;
    left: 321px;
}

/*-----------テキスト、背景、ボタンカラー-----------*/
:root {
    --studyPage-color: #AD0E28;
}
.section01 h2 {
    color: var(--studyPage-color);
}

.section02 p {
    background-color: var(--studyPage-color);
}

.section02 p::after {
    border-top: solid 36px var(--studyPage-color);
}

.section02-bg {
    border: solid 4px var(--studyPage-color);
}

.btn input {
    background-color: var(--studyPage-color);
}

/*----------画面幅500px以下----------*/
@media screen and (max-width: 500px) {

    .img-area a:nth-of-type(1) {
        top: 82px;
        left: 140px;
    }

    .section02-bg {
        border: solid 3px var(--studyPage-color);
    }
}