* {
    font-size: 3.5vw;
}

:root {
    --color-font-title: #3480b6;
    --color-primary: #E1EEF7;
    --color-secondary: #BFD8EC;
    --color-font-primary: #002E6B;
    --color-border1: #073C70;
}

header {
    width: 100%;
    height: fit-content;

}

header img {
    width: 100%;
}

.tour-header {
    background-image: url(../img/border.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-size: 100% 100%;
    position: relative;
    z-index: -2
}

.tour-header::after {
    content: '';
    width: 94%;
    height: 88%;
    background-color: rgba(255, 255, 255, 1);
    position: absolute;
    display: block;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -2;
}

.tour-header img {
    width: 40%;
}

body {
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -o-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

article#load {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    z-index: 30;
}

section {
    padding-bottom: 3vh;
}

section>.title {
    color: var(--color-font-title);
    padding: 2vw 2vw 1vw 0vw;
    display: flex;
    align-items: center;
    z-index: 20;
    font-size: 4vw;
    font-weight: 700;
}

#reservation {
    margin: 1vh 3vw;
}

#reservation>.title {
    color: #002E6B;
    font-size: 5vw;
    font-weight: bold;
    margin-bottom: 3vh;
    text-align: center;
    border-radius: 0;
}

#discription .back {
    border: solid 1px #A7CEEA;
    display: flex;
    padding: 2vw 0;
}

#discription img {
    padding: 0 2vw;
    object-fit: contain;
    width: 40%;
}

#discription .title {
    color: var(--color-font-primary);
    font-weight: bold;
}

#discription .textArea {
    display: flex;
    flex-flow: column;
}

#discription .text {
    font-size: 3vw;
}

#btnSchedule {
    border-top-left-radius: 3.5vw;
    border-bottom-left-radius: 3.5vw;
    background-color: var(--color-font-title);
    color: white;
    font-size: 3vw;
    padding: 2vw;
    margin-top: 3vw;
    text-align: right;
    margin-left: auto;
}

/* 質問事項 */
.questionSelection,
.questionDescription {
    margin-top: 4vw;
}

.questionSelection>.msg,
.questionDescription>.msg {
    color: var(--color-font-title);
    padding: 2vw 2vw 0vw 0vw;
    display: flex;
    align-items: center;
    z-index: 20;
}

.questionSelection>.link,
.questionDescription>.link {
    font-size: 3.5vw;
    margin-left: 2vw;
    margin-bottom: 2vw;
}

.questionSelection .choiceList {
    padding-inline-start: 0px;
    margin-block-start: 0;
    margin-block-end: 0;
    list-style-type: none;
}

.questionSelection .choiceList>li {
    align-items: center;
    width: auto;
    color: var(--color-border1);
    border-radius: 1vw;
    padding: 2vw 0;
    font-size: 3vw;
    border: solid 1px var(--color-border1);
    margin-bottom: 2vw;
    text-align: center;
}

.questionSelection .choiceList>li.choise {
    background-color: var(--color-border1);
    color: #fff;
    border: none;
}

.questionDescription .answer {
    width: 100%;
    font-size: 4vw;
    padding: 1vw;
    border: solid 1px var(--color-border1);
    border-radius: 0;
    margin-top: 1vw;
}

.questionDescription .answer .numOnly {
    width: 95%;
    margin: 2vw;
    font-size: 4vw;
    padding: 1vw;
}

.inputUsers {
    text-align: center;
    margin-bottom: 2vw;
}
.asterisk{
    color: red;
}
.bold{
    font-weight: 700;
}
.font-size4{
    font-size: 4vw;
}

#olduser,
#childuser {
    width: 20%;
    /* text-align: right; */
    margin-left: 3vw;
}

label[for="childuser"] {
    margin-left: 10vw;
}

#wrnWindow {
    margin: 4vw 0;
}

#wrnTitle {
    text-align: center;
    background-color: var(--color-primary);
    width: 100%;
    color: var(--color-font-primary);
    font-size: 4vw;
    border-radius: 10px 10px 0 0;
    border: solid 1px var(--color-secondary);
}

#wrnBody {
    width: 100%;
    background-color: var(--color-primary);
    overflow-y: scroll;
    position: relative;
    border-radius: 0 0 10px 10px;
    border: solid 1px var(--color-secondary);
}

#wrnBody .msg {
    padding: 2vw;
    font-size: 3vw;
    white-space: pre-wrap;
    color: var(--color-font-primary);
}

.checkBoxArea {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 3vw;
}

.checkBox {
    width: 5vw;
    height: 5vw;
    margin-right: 3vw;
    border: solid 1px #000000;
}

.checkBox.checked {
    background-color: #192988 !important;
    background-image: url(../img/check.png) !important;
    background-size: cover;
    background-position: center;
}

#CheckText {
    font-size: 4vw;
    color: var(--color-font-primary);
}

/* 予約施設を選択してください */
#facility>img {
    display: flex;
    padding: 2vh;
    margin-left: auto;
    margin-right: auto;
    width: 80%;
}

#facility>select {
    width: 100%;
    padding: 2vw;
    border: solid 1px var(--color-border1);
    border-radius: 0;
    font-size: 4vw;
    background-color: white;
}

#dateTime .reserveOk {
    color: #ff0000;
}

#conform {
    display: flex;
    border: solid 1px var(--color-border1);
    padding: 1vh 0 1vh 2vw;
    margin-top: 3vh;
    align-items: center;
}

#conform>.title {
    font-size: 3vw;
    color: var(--color-font-title);
}

#reservDateTime {
    font-size: 4vw;
    font-weight: bold;
    color: var(--color-font-primary);
}

#reservDateTime.notSelect {
    font-weight: normal;
    color: #E57373;
}

#calendarGuide {
    margin-bottom: 0.5vh;
    width: 100%;
}

/* ファンクラブ会員確認 */
#memberChk {
    background-color: var(--color-primary);
    border: solid 1px var(--color-secondary);
    border-radius: 2vw;
    padding: 5vw 2vw 0 2vw;
}

#memberChk .item {
    display: flex;
    align-items: center;
    margin-bottom: 5vw;
}

#memberChk label {
    margin-left: 1vw;
    color: var(--color-font-primary);
    font-size: 3vw;
}

/* レンタル用品貸出しについて */
#dateTime .text,
#rentalGoods .text,
#payment .text {
    color: var(--color-font-title);
    padding-left: 3.5vw;
}

#rentalGoods {
    border: solid 1px var(--color-border1);
    border-radius: 2vw;
    padding-left: 0.5em;
    margin: 1em auto;
    padding-right: 0.5em;
}

#rentalGoods img {
    width: 100%;
}

#feeBreakDown {
    background-color: var(--color-primary);
    border: solid 1px var(--color-secondary);
    border-radius: 2vw;
    padding: 1vw 2vw 3vw 2vw;
}

#feeBreakDown>.title {
    margin-bottom: 1vh;
    color: var(--color-font-title);
}

#feeBreakDown .item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1vh;
}

#feeBreakDown .item.invalid {
    display: none;
}

#feeBreakDown .warning {
    color: #E57373;
}

#feeBreakDown .item div {
    color: var(--color-font-primary);
}

#feeBreakDown .rate {
    font-size: 2vw;
}

#feeBreakDown hr {
    border: none;
    background-color: var(--color-secondary);
    height: 1px;
}

#estimate {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    border: solid 1px var(--color-border1);
    padding: 2vw;
    /* margin-top: 2vh; */
}

#estimate>.title {
    color: var(--color-font-title);
}

#estimate>.amount {
    color: var(--color-font-primary);
    font-size: 4vw;
    font-weight: bold;
}

#fee>img {
    width: 100%;
    margin-top: 3vh;
}

#payment .cashless-wrapper {
    margin: 8vw auto 1vw;
    display: grid;
    grid-template-rows: 1fr 1fr;
    grid-template-columns: auto auto;
    gap: 1rem;
}

#payment .cashless-wrapper p {
    text-align: center;
    background-color: var(--color-font-title);
    color: #fff;
    padding: 1vw;
    font-weight: 500;
}

#payment .cashless-wrapper img {
    width: 100%;
    margin-top: 2vw;
}

/* ご利用規約 */
#agreeBack {
    padding: 2vw;
    margin: 2vw;
    background-color: #f3f3f3;
    overflow-y: scroll;
}

#agreeBack * {
    color: #747474;
    font-size: 2.7vw;
}

#agreeText {
    margin-top: 2vh;
    width: 100%;
    height: 20vh;
}

#chkColunmn {
    display: flex;
    background-color: #f2f2f2;
    border: solid 1px #e4e4e4;
    width: fit-content;
    padding: 2vw 2vw 2vw 4vw;
    border-radius: 2vw;
    align-items: center;
    margin-top: 2vh;
    margin-left: 2vw;
}

#chkColunmn>label {
    color: black;
}

#btnReservation {
    text-align: center;
    background-color: #1B61A3;
    color: white;
    border-radius: 1vw;
    width: 60vw;
    margin: auto;
    padding: 3vw;
    font-size: 4vw;
    margin-bottom: 5vw;
    box-shadow: 0 5px 5px #ccc;
}

#btnReservation.invalid {
    background-color: #DADADA;
}

#dateTime .fixed {
    background-color: white;
}

.button {
    background-color: unset;
    display: flex;
    justify-content: space-between;
    margin: 3vw 0
}

.button a {
    padding: 0 10px;
    text-decoration: none;
    font-size: 15px;
    text-decoration-line: underline;
    color: #002080;
}

#prev {
    text-align: right;
    width: 30%;
}

#next {
    text-align: left;
    width: 30%;
}

#year,
#month {
    color: #747474;
}

#month {
    font-size: 5vw;
}

table {
    width: 100%;
    border-collapse: collapse;
    border: solid 1px #d1d4e7;
    border-spacing: 0;
}

tr {
    height: 50px;
}

td,
th {
    text-align: center;
    background-color: #929292;
    border: solid 1px white;
    padding: 1vw;
    color: #928F8F;
}

.subtitle {
    height: 0 !important;
}

.fixed {
    position: sticky;
    top: 0;
}

th.fixed::before {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    width: 100%;
    height: 100%;
    border: solid 1px #d1d4e7
}

.subtitle>td>span {
    color: white;
}

.saturday {
    background-color: #3B96DD;
}

.holiday {
    background-color: #E57373;
}

.saturday>span,
.holiday>span {
    color: #fff !important;
}

table .check {
    background-color: #DBDF2A !important;
}

.reservable_ok {
    background-color: var(--color-primary) !important;
}

.reservable_ok_peak {
    background-color: var(--color-secondary) !important;
}

.reservable_tel {
    background-color: #EDECEC !important;
}

.reservable_none {
    background-color: #EDECEC !important;
}

.reservable_fully {
    background-color: lightpink !important;
}

/* 利用料金・スケジュールはこちら */
#scheduleArea {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 999;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

#schedule {
    display: flex;
    width: 100%;
    height: 100%;
    margin: auto;
}

#schedule img {
    width: 90%;
    margin: auto;
}

#schedule {
    transform: translateX(100vw);
    transition: all .3s linear;
}

#schedule.open {
    transform: translateX(0);
}

/* 会員規約 */
#agreeText #agree_text * {
    text-decoration: none;
    list-style: none;
    list-style-position: inside;
}

#agreeText #mem_agr_list {
    padding-left: 0;
}

#agreeText ol#mem_agr_list li,
#agreeText ol#mem_agr_list li ol li {
    line-height: 140%;
    list-style: none;
    list-style-position: inside;
}

#agreeText ol#mem_agr_list li p,
#agreeText ol#mem_agr_list li ol {
    margin: 2% 0 2% 4%;
}

#agreeText ol#mem_agr_list li h2 {
    margin: 3% 0 0 0;
    font-size: 1em;
}

#agreeText li#mem_agr_list01 ol li,
#agreeText li#mem_agr_list02 ol li,
#agreeText li#mem_agr_list03 ol li,
#agreeText li#mem_agr_list04 ol li,
#agreeText li#mem_agr_list05 ol li,
#agreeText li#mem_agr_list06 ol li,
#agreeText li#mem_agr_list07 ol li,
#agreeText li#mem_agr_list08 ol li,
#agreeText li#mem_agr_list09 ol li,
#agreeText li#mem_agr_list10 ol li,
#agreeText li#mem_agr_list11 ol li,
#agreeText li#mem_agr_list12 ol li,
#agreeText li#mem_agr_list13 ol li,
#agreeText li#mem_agr_list14 ol li,
#agreeText li#mem_agr_list15 ol li {
    padding: 0 0 0 1.0em;
    text-indent: -1.0em;
}

#agreeText #agree_text {
    text-align: left;
    padding: 0 5px;
    height: 60%;
    width: 95%;
    overflow: scroll;
    margin: 50px auto;
    border: solid 1px var(--velca-navy);
    font-family: sans-serif;
}

#agreeText #agree_text h2,
#agreeText #agree_text h3,
#agreeText #agree_text p {
    margin: 0.5em 0;
}


#agreeText ol#mem_agr_list li ol.article01 {
    list-style: decimal;
    list-style-position: inside;
}

#agreeText ol#mem_agr_list li ol.article01,
#agreeText ol#mem_agr_list li.mem_agr_list>p,
#agreeText ol#mem_agr_list li ol.article01>li,
#agreeText ol#mem_agr_list ol.article01 p,
#agreeText ol#mem_agr_list li ol.article02,
#agreeText ol#mem_agr_list li ol.article03,
#agreeText ol#mem_agr_list li ol.article04,
#agreeText ol#mem_agr_list li ol.article05,
#agreeText #agree_text #history {
    font-size: 12px;
}

#agreeText ol#mem_agr_list li ol.article01,
#agreeText ol#mem_agr_list li.mem_agr_list>p {
    margin-left: 1.5em;
}

#agreeText ol#mem_agr_list li ol.article01>li {
    list-style: decimal;
    list-style-position: inside;
}

#agreeText ol#mem_agr_list ol.article01 p {
    margin-left: 1em;
    margin-top: 0;
}

#agreeText ol#mem_agr_list li ol.article02>li {
    list-style: cjk-ideographic;
}

#agreeText ol#mem_agr_list li ol.article03>li {
    list-style-type: none;
    list-style-position: inside;
    counter-increment: cnt;
}

#agreeText ol#mem_agr_list li ol.article03>li:before {
    display: marker;
    content: "(" counter(cnt) ") ";
}

#agreeText ol#mem_agr_list li ol.article04 {
    margin-left: 1.5em;
    padding-left: 2em;
    text-indent: -2em;
}

#agreeText ol#mem_agr_list li ol.article04>li {
    list-style-position: inside;
    list-style-type: disc;
}

#agreeText ol#mem_agr_list li ol.article05 {
    margin-left: 1.5em;
    padding-left: 2em;
    text-indent: -2em;
}

#agreeText ol#mem_agr_list li ol.article05>li {
    list-style-position: inside;
    list-style-type: none;
}

#agreeText #agree_text span.underline {
    text-decoration: underline;
}

#agreeText #agree_text #history {
    border: none;
}

/* POP関連 */
#popMaster {
    position: fixed;
}

/*******************************************************************************************************************************************/
/*  予約確認画面 */
#conftitle{
    margin-top: 3vh;

}
#conftitle #confhead{
    font-weight: 700;
}

#conftitle div.maintitle {
    font-weight: bold;
    font-size: 25px;
    margin: 10px;
}

#conftitle div.title {
    justify-content: center;
    text-align: center;
    color: #083a6b;
    font-weight: 400;
}

#conf #feeBreakDown {
    border-radius: 0;
    padding: 2vw;
}

#confname,
#confshisetu,
#confdate,
#confnameUsers,
#conffee,
#confpricemeisai {
    padding-bottom: 1vh;
}


div.confcont {
    margin: auto;
    width: 80%;
}


#confBtn,
#payacceptBtn,
#BackBtn {
    text-align: center;
}

button.acceptBtn {
    text-align: center;
    background-color: #1B61A3;
    color: white;
    border-radius: 1vw;
    width: 60vw;
    margin: 4vw auto 2vw;
    padding: 3vw;
    font-size: 4vw;
    margin-bottom: 5vw;
    box-shadow: 0 5px 5px #ccc;
    border: none;
}

button.backBtn {
    text-align: center;
    background-color: #dadada;
    color: black;
    border-radius: 1vw;
    width: 60vw;
    margin: auto;
    padding: 3vw;
    font-size: 4vw;
    margin-bottom: 5vw;
    box-shadow: 0 5px 5px #ccc;
    border: none;
}

/*******************************************************************************************************************************************/
/* 日程選択 */
.select-date-button {
    width: 100%;
    display: block;
    margin: auto;
    padding: 2vw 0;
    background-color: #fff;
    border: 1px solid var(--color-border1);
    font-size: 4vw;
    position: relative;
}

.select-date-button::after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    right: 3%;
    color: var(--color-border1);
    width: 0.3em;
    height: 0.3em;
    border: 0.14em solid currentColor;
    border-left: 0;
    border-bottom: 0;
    transform: translateY(-50%) rotate(135deg);
}

#timeSelection .container {
    width: 90%;
    display: block;
    margin: auto;
}

#timeSelection .time-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1vw 0;
}

#timeSelection label span {
    font-size: 5vw;
    /* color: #333; */
    margin-right: 2vw;
}

#timeSelection input[type=radio] {
    inline-size: 1.5rem;
    block-size: 1.5rem;
    margin-bottom: -1vw;
}


#popCalender {
    position: fixed;
    inset: 0;
    background-color: #fff;
    animation: fadeIn 0.5s ease 0s 1 normal backwards;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.5s ease-in-out;
    margin-top: 5em;
    /* padding-top: 5em; */
    overflow-y: auto;
    border-top: 1px solid #ddd;
    border-radius: 1em;
}

@keyframes fadeIn {
    from {
        /* opacity: 0; */
        transform: translateY(100%);
    }

    to {
        /* opacity: 1; */
        transform: translateY(0%);
    }
}

#popCalender.show {
    opacity: 1;
    transform: translateY(0%);
}

#popCalender .container {
    width: 90%;
    margin: auto;
    display: block;
    position: relative;
    padding-top: 1vw;
    margin-top: 2vw;
}

#popCalender .close-btn {
    background-color: transparent;
    border: none;
    cursor: pointer;
    outline: none;
    padding: 0;
    appearance: none;
    -webkit-appearance: none;
    display: block;
    font-size: 5.5vw;
    font-weight: 700;
    position: absolute;
    top: 0;
    right: 0;
}

#popCalender .header {
    margin: 2vw auto 4vw;
}

#popCalender .header .title {
    text-align: center;
    font-size: 5vw;
    font-weight: 500;
    letter-spacing: 0.1rem;
}

#prevMonth,
#nextMonth {
    background-color: transparent;
    border: none;
    cursor: pointer;
    outline: none;
    padding: 0;
    appearance: none;
    -webkit-appearance: none;
}

#currentMonth {
    font-size: 4.5vw;
    margin-bottom: 2vw;
}

#currentMonth span {
    font-size: 7vw;
    font-weight: 500;
}


.month-navigation {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

#prevMonth:disabled,
#nextMonth:disabled {
    color: gray;
    cursor: not-allowed;
}

.calendar-table {
    width: 100%;
    margin: 0 auto;
    border-collapse: collapse;
}

.calendar-table th,
.calendar-table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: center;
    position: relative;
    color: #333;
    width: calc(100% / 7);
    height: 10vw;
}

.calendar-table th {
    background-color: #f4f4f4;
    font-weight: 700;
}

.calendar-table td {
    background-color: #fff;
    padding-top: 2em;
}

.calendar-table td.selected {
    background-color: lightblue;
}

.date {
    font-size: 0.9em;
    position: absolute;
    top: 5px;
    left: 5px;
    font-weight: 700;
    color: inherit;
}

.status {
    font-weight: 700;
    font-size: 1.5em;
}

.available {
    color: green;
}

.limited {
    color: orange;
}

.unavailable {
    color: red;
}

.capazero {
    color: gray;
}


/* 土曜日を青色、日曜日を赤色にする */
.calendar-table th:nth-child(1),
.calendar-table td:nth-child(1) {
    color: #ef0000;
}

.calendar-table th:nth-child(7),
.calendar-table td:nth-child(7) {
    color: blue;
}

/**********************************
 * スタジアムシティ会員情報
 **********************************/
#memberInfo {
    width: 100%;
    display: block;
}

#memberInfo .member-options {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin: 2vw 5vw;
}

#memberInfo label {
    align-items: center;
    font-size: 1.3rem;
    color: black;
    margin-right: 2vw;
}

#memberInfo input[type=radio] {
    inline-size: 1.5rem;
    block-size: 1.5rem;
    align-items: center;
}
