.attend {
    gap: 60px;
}
.attend .top_box > div {
    flex: 1;
    background: var(--white);
    border-radius: 10px;
    padding: 40px;
    font-size: 24px;
    box-sizing: border-box;
}
.attend .top_box > div strong {
    font-weight: 500;
    color: var(--key-color);
}
.attend .top_box > div span {
    color: var(--text);
}
.attend .calendar {
	position: relative;
    gap: 60px;
}
.attend .calendar .date-month {
    position: relative;
	justify-content: center;
}
.attend .calendar .year-month {
    font-size: 32px;
    font-weight: 700;
}
.attend .calendar .attend_btn {
    position: absolute;
    top: -6px;
    right: 0;
    font-size: 20px;
    font-weight: 500;
    padding: 10px 30px;
    border-radius: 50px;
    background: #000;
    color: var(--white);
    box-sizing: border-box;
}
.attend .calendar .cal_wrap .days {
    position: relative;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}
.attend .calendar .cal_wrap .days .day {
	font-size: 20px;
	font-weight: 500;
	text-align: center;
    padding: 20px 0;
    background: var(--white);
}
.attend .calendar .cal_wrap .days .day:nth-child(1) {
    color: #E90000;
}
.attend .calendar .cal_wrap .days .day:nth-child(7) {
    color: #0031F5;
}
.attend .calendar .cal_wrap .dates {
	display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    margin-top: 2px;
}
.attend .calendar .cal_wrap .dates > div {
    position: relative;
    min-height: 120px;
    font-size: 20px;
    font-weight: 500;
    background: var(--white);
    color: var(--black);
    padding: 10px;
    text-align: center;
    box-sizing: border-box;
}
.attend .calendar .cal_wrap .dates > div:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    display: block;
    width: 120px;
    height: 120px;
    background: url("../images/stam_bg.png")no-repeat 50% 50%;
    opacity: .2;
}
.attend .calendar .cal_wrap .dates > div span {
    position: relative;
    display: block;
    width: 25px;
    height: 25px;
    line-height: 25px;
    text-align: center;
    z-index: 1;
    box-sizing: border-box;
}
.attend .calendar .cal_wrap .dates > div:nth-child(7n) {
    color: #0031F5;
}
.attend .calendar .cal_wrap .dates > div:nth-child(1),
.attend .calendar .cal_wrap .dates > div:nth-child(7n+1) {
    color: #E90000;
}
.attend .calendar .cal_wrap .dates > div.today {
    opacity: 1;
}
.attend .calendar .cal_wrap .dates > div.on.today span, 
.attend .calendar .cal_wrap .dates > div.today span {
    color: var(--white);
}
.attend .calendar .cal_wrap .dates > div.on.today span:before, 
.attend .calendar .cal_wrap .dates > div.today span:before {
    content: '';
    position: absolute;
    top: -4px;
    left: -5px;
    display: block;
    background: var(--point);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    z-index: -1;
}
.attend .calendar .cal_wrap .dates > div.on {
    opacity: 1;
}
.attend .calendar .cal_wrap .dates > div.on span {
    border-radius: 50%;
    background: var(--black);
    color: var(--white);
    box-shadow: 4px 6px 8px 0 rgba(0, 0, 0, 0.55);
    margin: 0 auto;
}
.attend .calendar .cal_wrap .dates > div.on:after {
    opacity: 1;
}
.attend .calendar .cal_wrap .dates > div.disable {
    color: rgba(50, 50, 50, 0.10);
    opacity: 1;
}
.attend .calendar .cal_wrap .dates > div.disable:after {
    display: none;
}




@media screen and (max-width: 1280px) {
    .attend .top_box > div {
        padding: 30px;
        font-size: 20px;
    }

    .attend .calendar .year-month {
        font-size: 28px;
    }
    .attend .calendar .attend_btn {
        top: -8px;
    }
    .attend .calendar .cal_wrap .dates > div.on.today span:before,
    .attend .calendar .cal_wrap .dates > div.today span:before {
        top: -2px;
        left: -2px;
        width: 30px;
        height: 30px;
    }
    .attend .calendar .cal_wrap .dates > div:after {
        background-size: 100px;
    }
}
@media screen and (max-width: 1024px) {
    .attend {
        gap: 40px;
    }
    .attend .top_box > div {
        padding: 20px;
        font-size: 16px;
    }
    .attend .calendar .year-month {
        font-size: 22px;
    }
    .attend .calendar .attend_btn {
        font-size: 16px;
    }
    .attend .calendar .cal_wrap .days .day {
        font-size: 16px;
        padding: 15px 0;
    }
    .attend .calendar .cal_wrap .dates > div {
        min-height: 95px;
        font-size: 16px;
        padding: 5px;
    }
    .attend .calendar .cal_wrap .dates > div:after {
        top: calc(50% - -8px);
        width: 80px;
        height: 80px;
        background-size: 80px;
    }
    .attend .calendar .cal_wrap .dates > div.on.today span:before, 
    .attend .calendar .cal_wrap .dates > div.today span:before {
        top: 0px;
        left: 0px;
        width: 25px;
        height: 25px;
    }
}
@media screen and (max-width: 768px) {
    .attend .top_box > div {
        flex: none;
        width: 100%;
    }
    .attend .calendar .attend_btn {
        font-size: 14px;
        padding: 8px 20px;
        top: 30px;
    }
    .attend .calendar .cal_wrap .dates > div {
        min-height: 80px;
        font-size: 14px;
        padding: 2px;
    }
    .attend .calendar .cal_wrap .dates > div:after {
        top: calc(50% - -8px);
        width: 50px;
        height: 60px;
        background-size: 60px;
    }
    .attend .calendar .cal_wrap .dates > div.on.today span:before, 
    .attend .calendar .cal_wrap .dates > div.today span:before {
        top: 2px;
        left: 2px;
        width: 20px;
        height: 20px;
    }
}
@media screen and (max-width: 480px) {
    .attend .calendar .cal_wrap .dates > div:after {
        width: 40px;
        background-size: 50px;
    }
}
@media screen and (max-width: 380px) {
    .attend .calendar .cal_wrap .days .day {
        font-size: 14px;
    }
    .attend .calendar .cal_wrap .dates > div {
        min-height: 60px;
        font-size: 13px;
    }
    .attend .calendar .cal_wrap .dates > div:after {
        width: 30px;
        height: 35px;
        background-size: 38px;
    }
    .attend .calendar .cal_wrap .dates > div span {
        width: 20px;
        height: 20px;
        line-height: 20px;
    }
    .attend .calendar .cal_wrap .dates > div.on.today span:before, 
    .attend .calendar .cal_wrap .dates > div.today span:before {
        top: 2px;
        left: 2px;
        width: 16px;
        height: 16px;
    }
}