* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-weight: 500;
}

body {
    font-family: "Noto Serif JP", serif;
    font-optical-sizing: auto;
    font-style: normal;
    /* background-image: url(https://crosshall.jp/assets/img/top/main01.jpg); */
    background-image: url("../images/saxophone.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 49%;
}

p {
    margin: 0;
    padding: 0;

}

header {
    display: block;
    position: sticky;
    top: 0;
    z-index: 100;
    height: 70%;
}

.header {
    display: flex;
    position: relative;
    padding: 0.5em 0 0 0;
    justify-content: center;
    align-items: center;
    /* background-image: url("sax_dog.png"); */
    /* background-size: 10%;
    background-repeat: no-repeat; */
    width: 100%;
    background-color: antiquewhite;
    font-size: clamp(0.6rem, calc(0.6rem + 3vw), 3.6rem);
    text-align: center;
    box-shadow: 3px 3px 3px black;
    height: 100%;

}

.main-title-box {
    display: inline-block;
    position: relative;
    height: 90%;
    padding: 0;
    margin: 0;
    left: -2%;
    top: 0;
    font-weight: 800;
}

.main-title {
    font-size: clamp(1.5rem, calc(1.3rem + 3vw), 10rem);
    font-weight: 700;
    display: block;
    position: relative;

}

.main-subTitle {
    font-size: clamp(0.6rem, calc(0.18rem + 1.5vw), 3rem);
    /* margin-top: 3px; */
    /* margin-bottom: 0; */
    /* padding-bottom: 0; */
    height: auto;
    width: auto;
    /* vertical-align: bottom; */
    font-weight: 700;
    display: block;
    position: relative;
    top: 4px;
    padding: 0;
    margin: 0;
}

.logo {
    display: inline-block;
    width: 13%;
    /* margin-left: -10%; */
    /* margin-right: 10px; */
    position: relative;
    /* left: -3px; */
    /* top: 0.5em; */
    right: 3%;
    margin: 0 0 calc(27% - 31vw) 0;
}





.container {
    /* background-color: rgba(240, 248, 255, 0.75); */
    width: 100%;
    display: block;
    position: relative;
    text-align: center;
    z-index: 10;
    padding: 2em 0;
    margin-bottom: 9em;
    z-index: 10;
}

.background-table {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.706);
    height: 100%;
    /* justify-content: flex-start; */
    width: 100%;
    padding: 20px;
    text-align: center;

    bottom: 200px;
    left: 0;
    margin: 0 auto;
    flex-wrap: wrap;
    border-radius: 5%;
}

.point-title {
    display: inline-block;
    position: relative;
    width: 100%;
    padding: 0;
    margin: 0 0 1rem 0;
}

.concertInfo {
    display: inline-block;
    text-align: center;
}


.concertInfo tr th {
    background-color: rgba(245, 245, 220, 0.4);
    border: 1px dotted black;
    padding: 25px;
    text-align: left;
}

.concertInfo tr td {
    /* display: flex; */
    background-color: rgba(245, 245, 220, 0.4);
    border: 1px dotted black;
    padding-left: 25px;
    text-align: left;
    align-items: center;
}

.copy-line {
    width: 40%;
    padding: 0;
    margin: 0 auto;
    /* transform: rotate(-45deg); */
}

.sub_description {
    text-align: center;
    line-height: 2em;
    display: inline-block;
    position: relative;
    width: clamp(50%, 60%, 70%);
    margin: 1rem auto;
    flex-grow: 1;
    /* padding: 0 clamp(4%, 26%, 30%); */
    font-size: larger;

}


.applyTerm {
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    margin: 5px 0;
    padding: 3px 0;
}

.footer {
    /* display: none; 初期状態で非表示 */
    padding: 0 0 0 0;
    width: 100%;
    position: fixed;
    margin-top: 0;
    margin-bottom: 0;
    bottom: 0;
    z-index: 10;
    opacity: 0;
    /* 初期状態で透明 */
    /* transition: opacity 200ms ease-in-out; フェードイン・フェードアウトのアニメーション */
}

.show-footer {
    opacity: 1;
    transition: opacity 200ms ease-in-out;
}



/* .footer {
    background-color: rgb(255, 254, 212);
    padding: 0 0 0 0;
    width: 100%;
    position: fixed;
    margin-top: 0;
    margin-bottom: 0;
    bottom: 0;
    z-index: 10;
    height: 150px;
    opacity: 0;
    transition: opacity 200ms ease-in-out;
} */



li {
    margin-bottom: 0.5em;
    line-height: 1.6em;

}

.main-label {
    position: relative;
    text-align: center;
}

.schedule {
    position: relative;
    display: inline-block;
    margin: 0 auto;
    padding: 0;
    /* z-index: 100; */
    /* width: 70%; */
}

.schedule::before {
    display: inline-block;
    position: absolute;
    content: "";
    background-color: gray;
    width: 6px;
    height: 100%;
    left: 3em;
    top: 0;
    margin: 0;
    padding: 0;
    /* bottom: 40px; */
}

.schedule ul {
    display: inline-block;
    position: relative;
    list-style: none;
    padding: 0;
    margin: 0;
    width: auto;
}

.schedule li {
    position: relative;
    display: flex;
    padding: 0;
    margin: 2em 0 2em 0;
    width: 100%;
    height: auto;
    /* background-color: rgb(231, 220, 241); */
    /* width: calc(100% - 0px); */

}




.schedule_time {
    /* background-color: blue; */
    /* border-right: 8px solid rgb(255, 162, 0); */
    display: inline-block;
    text-align: right;
    position: absolute;
    width: 3em;
    height: auto;
    margin: 0;
    padding: 0;
    left: -1em;
    top: 0.15em;
    z-index: 1;
}

.schedule_time p {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
}



.schedule_time::after {
    content: "";
    position: absolute;
    /* display: inline-block; */
    background-color: #3388dd;
    width: 1.5em;
    height: 1.5em;
    border: 2px solid #fff;
    border-radius: 50%;
    left: 3.45em;
    top: 0.05em;
    z-index: 1;
}

.schedule_contents {
    display: inline-block;
    position: relative;
    width: auto;
    height: auto;
    top: -5px;
    margin: 0 0 0 5em;
    padding: 10px;
    border-radius: 7px;
    background-color: rgb(255, 234, 202);
    filter: drop-shadow(4px 4px 4px rgba(0, 0, 0, 0.5));
    z-index: 0;
    /* width: clamp(9em, 10em, 30em); */
}

.schedule_title {
    display: block;
    /* background-color: rgb(255, 234, 202); */
    margin: 0 auto;
    padding: 0;
    z-index: 9;
    width: auto;
    height: auto;
    /* border-radius: 10px 10px 0 0; */
    text-align: center;
}

hr {
    padding: 0;
    margin: 0.3em auto;
    width: 100%;
}

.schedule_detail {
    display: block;
    position: relative;
    /* font-size: 14px; */
    margin: 0 auto;
    padding: 0;
    height: auto;
    text-align: center;
    width: auto;
    /* border-radius: 0 0 10px 10px; */
    /* border-top: 1px solid black; */
}

.sentence {
    /* text-align: left; */
    font-size: 12px;
    margin: 0;
    padding: 0;
}

.schedule_title::before {
    content: "";
    /* display: inline-block; */
    position: absolute;
    width: 20px;
    height: 20px;
    top: 10px;
    left: -32px;
    border-top: 10px solid transparent;
    border-right: 20px solid rgb(255, 234, 202);
    border-bottom: 10px solid transparent;
    border-left: 20px solid transparent;
}

.main-content {
    display: inline-block;
    position: relative;
    width: 100%;
    padding: 0;
    text-align: center;
}


.fee-table {
    display: inline-block;
    width: auto;
    text-align: left;
}

#deadline {
    width: 500px;
}

@media(max-width:489px) {
    .accordion {
        display: inline-block;
        width: 90%;

    }

    .main-title {
        font-size: 27px;
    }

    .logo {
        width: 15%;
    }

    .sub_description {
        width: 90%;
    }

    .copy-line {
        width: 70%;
    }

    #deadline {
        width: 90%;
    }

}

@media(min-width:490px) and (max-width:989px) {
    .accordion {
        display: inline-block;
        width: 70%;

    }
}

@media(min-width:990px) {
    .accordion {
        display: inline-block;
        width: 500px;
    }

    .accordion-item button {
        padding: 2.5% 7%;
    }

}

.accordion {
    display: inline-block;
    border: 1px solid rgb(206, 206, 206);
    /* box-shadow: 10px 10px 10px 10px rgb(0, 0, 0); */
    filter: drop-shadow(50px 50px 0.1 black);
    /* text-align: center; */
    margin: 0 auto;
    /* width: 70%; */

}

.accordion-body {
    text-align: start;
    padding-left: 2em;
    padding-right: 2em;
    padding-bottom: 1em;
    width: auto;
    height: auto;
    line-height: 2em;
}

.time_schedule {
    text-align: center;
}

.accordion-table-row {
    height: 3em;

}

.accordion-title {
    width: 5em;
    text-align-last: justify;
    border-right: 1px solid black;
    padding-right: 10px;
    /* text-justify: distribute-all-lines; */
}

/* .accordion-title::after {
    content: "";
    display: block;
    border-right: 1px solid black;
    position: relative;
    width: 1px;
    height: 100%;
} */

/* .accordion-title::after {
    content: "";
    display: inline-block;
    position: relative;
    background-color: black;
    width: 1px;
    height: 1.5rem;
    margin-right: 0.5em;
    top: 2px;
    margin-left: 0.8em;
    vertical-align: text-top;
} */

/* .accordion-subtitle::before {
    content: "";
    display: inline-block;
    position: relative;
    background-color: black;
    width: 1px;
    height: 1.5rem;
    margin-right: 0.5em;
    top: 2px;
    margin-left: 0.8em;
    vertical-align: text-top;
} */

.accordion-subtitle {
    padding-left: 10px;
}

span.badge {
    margin-left: 3px;

}

.accordion-subtitle-div {
    display: inline-block;
    margin-top: 0;
    padding-top: 0;
}

.deco {
    display: block;
    /* width: 300px; */
    /* height: 50px; */
    margin: 0 auto;
    letter-spacing: 0.3em;
    text-align: center;
    position: relative;
    margin-bottom: 0.5em;
    font-weight: 700;
    color: white;
}

.deco::before {
    display: inline-block;
    content: "";
    height: 1px;
    width: 20px;
    bottom: 5px;
    margin-right: 0.5em;
    padding-left: 10px;
    position: relative;
    transform: rotate(45deg);
    background-color: white;
}

.deco::after {
    display: inline-block;
    position: relative;
    content: "";
    padding-right: 10px;
    height: 1px;
    width: 20px;
    bottom: 5px;
    margin-left: 0.5em;
    background-color: white;
    transform: rotate(-45deg);
}

.submit-button {
    font-size: x-large;
    font-weight: 600;
}



.modal-backdrop.show {
    z-index: 1040 !important;
    /* モーダルの背後に表示するため、モーダルより低い値を設定 */
}

.modal {
    z-index: 1050 !important;
    /* モーダル自体の z-index を設定 */
}

.modal-content {
    z-index: 1060 !important;
    /* モーダル内のコンテンツの z-index を設定 */
}

.modal-dialog {
    z-index: 1070 !important;
    /* モーダルダイアログの z-index を設定 */
}

.modal.show .modal-dialog {
    z-index: 2000;
}

/* 他の要素の z-index を確認し、適切な調整を行う */
header {
    z-index: 100;
    /* モーダルより低い値に設定 */
}

.container {
    z-index: 10;
    /* モーダルより低い値に設定 */
}

/*/* Custom Modal Styles */
.custom-modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
}

.custom-modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    /* Could be more or less, depending on screen size */
    max-width: 500px;
}

.custom-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.custom-close:hover,
.custom-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}