.ui-datepicker-calendar {
    width: 95% !important;
    margin-bottom: 12px !important;
}

.ui-datepicker-calendar tr{
    display: grid !important;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    text-align: center;
}

.ui-datepicker-calendar thead tr th{
    text-align: center !important;
    font-weight: bold !important;
    padding-top: 12px !important;
    padding-bottom: 0px !important;
}

.ui-datepicker .ui-datepicker-title,
.ui-datepicker .ui-datepicker-header,
.ui-datepicker .ui-datepicker-month,
.ui-datepicker .ui-datepicker-year {
    font-size: 20px;
    font-weight: bold;
}

.calDateTime .calDateTimeInner {
    display: none;
}

.abtest_id005_wrapper {
    width: 100%;
}

.ui-datepicker {
    width: 100%;
    margin: 0 auto;
    border: 1px solid #1888d1 !important;
    padding: 0;
    font-family: 'Hiragino Sans', 'Meiryo', sans-serif;
}

.ui-datepicker th {
    align-items: initial;
    display: table-cell;
    width: calc(100% / 7 - 9px);
}

.ui-datepicker tr {
    border-width: 0px !important;
    display: table-row;
}

.ui-datepicker td {
    padding: 8px 4px !important;
    width: initial;
    display: table-cell;
}

.ui-datepicker .ui-datepicker-header {
    background: #d1e7f6;
}

a.ui-state-default.ui-state-highlight.ui-state-active.ui-state-hover {}

.ui-state-default,
.ui-widget-content .ui-state-default {
    background-color: #d4f5ff;
    border-radius: 5px;
    border-width: 0px;
    text-align: center;
    font-weight: 700;
}

.ui-state-highlight,
.ui-widget-content .ui-state-highlight,
.ui-widget-header .ui-state-highlight {
    border: 1px solid #dad55e;
    background: #fffa90;
    color: #777620;
}

.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active,
a.ui-button:active,
.ui-button:active,
.ui-button.ui-state-active:hover {
    border: 0px;
    background: #1888d1;
    font-weight: normal;
    color: #fff;
}

.time_title_wrapper {
    text-align: center;
    position: relative;
    background: #d1e7f6;
}

.page-section {
    user-select: none;
}

.ui-icon {
    scale: 1.5;
}

div#time {
    width: 100%;
    margin: 0 auto;
    font-family: 'Hiragino Sans', 'Meiryo', sans-serif;
    border: 1px solid #1888d1 !important;
    background: white;
}



.time_title_wrapper p {
    font-weight: bold;
    height: 40px;
    line-height: 40px;
}

#time a {
    border: 1px solid #1888d1 !important;
}

a.back.time {
    position: absolute;
    top: 4px;
    right: 10px;
}

.time_list_area span {
    border: 1px solid #ccc;
    width: calc(25% - 5px);
    text-align: center;
    padding: 4px 0;
    border-radius: 4px;
    cursor: pointer;
}

.time_list_area {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 4px;
    padding: 12px 12px 0;
}

#time a.next {
    display: block;
    margin: 20px auto;
    background: #1888d1;
    color: white;
    width: 50%;
    padding: 8px 0;
    border-radius: 4px;
    text-align: center;
    opacity: 0.1;
    pointer-events: none;
}

.kunoji {
    display: inline-block;
    background: #1888d1;
    /* width: 15px; */
    /* height: 15px; */
    position: relative;
    border-radius: 18px;
    padding: 8px;
    margin-right: 8px;
    top: 3px;
}

.kunoji span {
    border: solid white;
    display: inline-block;
    transform: rotate(135deg);
    border-width: 0 1px 1px 0 !important;
    width: 6px;
    height: 6px;
    position: absolute;
    top: 4px;
    right: 3px;
}

a.back {
    color: #1888d1;
    border: 1px solid #1888d1 !important;
    background: white;
    /* padding: 2px 12px; */
    border-radius: 3px;
    height: 30px;
    line-height: 30px;
    font-size: 14px;
    display: inline-block;
    padding: 0 8px;
    white-space: nowrap;
}

.time_list_area span.active {
    background: #1888d1;
    color: white;
}

.result_wapper {
    display: flex;
    gap: 0 4px;
    justify-content: center;
}

.result_wapper p.title {
    border: 1px solid #1888CF !important;
    background: #d1e7f6;
    color: #1888d1;
    padding: 0 10px;
    width: fit-content;
    white-space: nowrap;
}

p.result_days {
    border: 1px solid #ccc;
    background: white;
    padding: 0 8px;
}

#result .result_wapper * {
    font-size: clamp(12px, 4vw, 18px);
}

div#result p {
    text-align: center;
}

#result .result_wapper p,
#result .result_wapper a {
    height: 35px;
    line-height: 32px;
}

div#time {
    display: none;
}

div#result {
    display: none;
}

#time .time_list_area:has(.active)+a.next {
    opacity: 1 !important;
    pointer-events: initial !important;
}

form:not(:has(#result.active)) .id005_hide {
    display: none !important;
}