@charset "UTF-8";
/* 見学希望日 日付ピッカー */

.kg2-field{ position: relative; }
.kg2-wishDate{
    box-sizing: border-box;
    width: 100%;
    height: 4.6rem; /* 時間セレクトと高さを揃える(style.css側と同値) */
    padding: 0 1.2rem;
    font-size: 1.5rem;
    border: none;
    border-radius: .6rem;
    background: #fff;
    color: #333;
    font-family: inherit;
    cursor: pointer;
}
.kg2-wishDate::placeholder{ color: #999; }

.kg2-dp{
    display: none;
    position: absolute;
    top: calc(100% + .4rem);
    left: 0;
    z-index: 100;
    box-sizing: border-box;
    width: 28rem;
    max-width: 88vw;
    background: #fff;
    border-radius: .6rem;
    box-shadow: 0 .4rem 1.6rem rgba(0, 0, 0, .25);
    padding: 1.2rem;
}
.kg2-dp.is-open{ display: block; }

.kg2-header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: .8rem;
}
.kg2-title{
    font-size: 1.4rem;
    font-weight: bold;
    color: #333;
}
.kg2-nav{
    border: none;
    background: #eaf6f8;
    color: #4a99a8;
    font-size: 1.8rem;
    line-height: 1;
    width: 3rem;
    height: 3rem;
    border-radius: .4rem;
    cursor: pointer;
}
.kg2-nav:disabled{ opacity: .3; cursor: default; }

.kg2-grid{
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: .2rem;
}
.kg2-dow{
    text-align: center;
    font-size: 1.1rem;
    color: #888;
    padding: .3rem 0;
}
.kg2-day{
    border: none;
    background: transparent;
    font-size: 1.3rem;
    font-family: inherit;
    color: #333;
    padding: .7rem 0;
    border-radius: .4rem;
    cursor: pointer;
}
.kg2-day:hover:not(:disabled){ background: #eaf6f8; }
.kg2-day:disabled{ color: #ccc; cursor: default; }
.kg2-day.is-selected{ background: #4a99a8; color: #fff; }
.kg2-dow.kg2-sun, .kg2-day.kg2-sun:not(:disabled){ color: #d9502f; }
.kg2-dow.kg2-sat, .kg2-day.kg2-sat:not(:disabled){ color: #3a7bd5; }
.kg2-day.is-selected.kg2-sun, .kg2-day.is-selected.kg2-sat{ color: #fff; }
