.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%) rotate(-28deg);
    display: block;
    width: 86px;
    height: 86px;
    border: 4px solid rgba(120,120,120,.30);
    border-radius: 50%;
    box-shadow:
        0 0 0 2px rgba(120,120,120,.16) inset,
        0 0 0 9px rgba(120,120,120,.10) inset;
    opacity: .75;
}
.attend .calendar .cal_wrap .dates > div span {
    position: relative;
    display: block;
    width: 25px;
    height: 25px;
    line-height: 25px;
    text-align: center;
    z-index: 3;
    box-sizing: border-box;
}
.attend .calendar .cal_wrap .dates > div .attend-point {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    display: block;
    width: 62px;
    height: 24px;
    line-height: 24px;
    color: rgba(110,110,110,.72);
    font-size: 13px;
    font-style: normal;
    font-weight: 600;
    text-align: center;
    letter-spacing: -0.4px;
    white-space: nowrap;
    z-index: 2;
}
.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 .attend-point {
    color: #0031F5;
    font-size: 16px;
    font-weight: 900;
    letter-spacing: -0.5px;
    width: 60px;
    height: 60px;
    line-height: 60px;
    border: 3px solid #0031F5;
    border-radius: 50%;
    background: rgba(255,255,255,.96);
    box-sizing: border-box;
    text-align: center;
    z-index: 4;
}
.attend .calendar .cal_wrap .dates > div.on {
    opacity: 1;
}
.attend .calendar .cal_wrap .dates > div.on span {
    border-radius: 50%;
    background: #0031F5;
    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) {
    /* R22: attended day = one clean centered blue circle; non-attended stamp stays */
    .attend .calendar .cal_wrap .dates > div.on:after {
        display: none !important;
        background: none !important;
    }
    .attend .calendar .cal_wrap .dates > div.on .attend-point {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 40px;
        height: 40px;
        line-height: 40px;
        margin: 0 !important;
        padding: 0;
        border: 2px solid #0031F5;
        border-radius: 50%;
        background: #fff;
        color: #0031F5;
        font-size: 13px;
        font-weight: 800;
        letter-spacing: -0.4px;
        text-align: center;
        white-space: nowrap;
        box-sizing: border-box;
        z-index: 10;
        pointer-events: none;
    }
    .attend .calendar .cal_wrap .dates > div .attend-point {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 46px;
        height: 22px;
        line-height: 22px;
        font-size: 11px;
        font-weight: 600;
        letter-spacing: -0.4px;
        text-align: center;
        white-space: nowrap;
    }
    .attend .calendar .cal_wrap .dates > div.on .attend-point {
        color: #0031F5;
        font-size: 14px;
        font-weight: 900;
        width: 40px;
        height: 40px;
        line-height: 36px;
        border: 2px solid #0031F5;
        border-radius: 50%;
        background: rgba(255,255,255,.96);
        box-sizing: border-box;
        text-align: center;
        z-index: 4;
    }
    .attend .calendar .cal_wrap .dates > div:after {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 50px;
        height: 50px;
        background-size: 50px;
    }

    .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.on .attend-point {
        width: 36px;
        height: 36px;
        line-height: 36px;
        font-size: 12px;
        border-width: 2px;
    }
    .attend .calendar .cal_wrap .dates > div:after {
        width: 40px;
        background-size: 50px;
    }
}
@media screen and (max-width: 380px) {
    .attend .calendar .cal_wrap .dates > div.on .attend-point {
        width: 34px;
        height: 34px;
        line-height: 34px;
        font-size: 11px;
        border-width: 2px;
    }
    .attend .calendar .cal_wrap .dates > div .attend-point {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 36px;
        height: 18px;
        line-height: 18px;
        font-size: 10px;
        font-weight: 600;
        text-align: center;
        white-space: nowrap;
    }
    .attend .calendar .cal_wrap .dates > div.on .attend-point {
        color: #0031F5;
        font-size: 12px;
        font-weight: 900;
        width: 34px;
        height: 34px;
        line-height: 30px;
        border: 2px solid #0031F5;
        border-radius: 50%;
        background: rgba(255,255,255,.96);
        box-sizing: border-box;
        text-align: center;
        z-index: 4;
    }

    .attend .calendar .cal_wrap .dates > div:after {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 36px;
        height: 36px;
        background-size: 38px;
    }

    .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;
    }
}