@charset "UTF-8";

/* アクティビティ　カレンダー調整CSS */

/* style.cssの設定を調整 */
.p-post__body table th {
    min-width: 1rem;
}

.p-post__activity-flex table.p-activityCalender__table{
    width: 20rem;    
}

@media not all and (max-width: 768px) {
    
    .p-calender__container {
        padding: 10px 0 0;
    }
    
    .p-calender__around {
        font-size: 0.7rem;
    }
    
}
    
/*　カレンダー実装部分 */
.p-activityCalender__header {
    font-size: 0.8rem;
    line-height: 250%;
}

.p-activityCalender__header span {
    font-size: 1.2rem;
}

.p-calender__next, .p-calender__prev {
    border: none;
    background-color: transparent;
}

.p-activityCalender__table{
    margin-top: 20px;
    font-size: 0.9rem;
    /*width: 20rem;*/
}

.p-activityCalender__table tr th {
    font-size: 1.1rem;
    width: 43px;
}

.p-activityCalender__table tr td {
    height: 3rem;
    width: 43px;
}

.p-activityCalender__table tr td.is-event-date.is-past-date {
    color: #c4c4c4;
    font-size: 0.9rem;
}

.p-calender__table {
    margin-bottom: 20px;
}

.p-activityCalender__table tr td.is-around.is-past-date:after,
.p-activityCalender__table tr td.is-around:after{
    background-color: #9e7e3f;
    border-radius: 50%;
    content: " ";
    display: block;
    inset: 0;
    left: 0.1rem;
    margin: auto;
    position: absolute;
    z-index: -1;
    height: 32px;
    width: 32px;
}

.p-activityCalender__table tr td.is-around.is-past-date:before, 
.p-activityCalender__table tr td.is-around:before {
    content: none;
    height: 0;
}

.p-activityCalender__table tr td.is-today:after {
    height: 32px;
    width: 32px;
}


/* レイアウト調整 */
.p-post__outline{
    width: calc(100% - 25rem);
}

.p-post__outline table{
    width: 100%;
}

.has-side__aside {
    width: 20rem;
    margin-right: 0;
}

.p-post__calendar{
    /*width:19.6875rem;*/
    width: 20rem;
}

@media (max-width: 768px) {
    
    .p-post__outline{
        width: 100%;
    }
    
}