@charset "UTF-8";
@import url('/files/css/header.css');

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400&family=Roboto+Condensed:wght@300;400&display=swap');

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* 横スクロールを非表示 */

}

body {
    font-family: 
        "游ゴシック体",
        YuGothic,
        "游ゴシック Medium",
        "Yu Gothic Medium",
        "游ゴシック",
        "Yu Gothic",
        sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    /* background-image: url(/images/bg_sp.jpg); */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: repeat;
    text-align: justify;
    overflow-x: hidden;
}


main {
    background-color: rgba(255, 255, 255, 0.85);
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
    position: relative;
    top: 60px;
    margin-bottom: 60px;
    max-width: 100%;
}

footer {
    display: flex;
    z-index: 200;
    min-height: 60px;
    color: #fff;
    text-align: center;
    justify-content: center;
    align-items: center;
    position: relative;
    background-color: rgb(250, 235, 215);
    outline: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.hidden {
    visibility: hidden;
    opacity: 0;
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    /* height: 100%; */
}
.list {
    display: grid;
    grid-template-columns: repeat(3, minmax(calc(20vw - 28px), 1fr));
    gap: 5px;
    width: 100%;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    justify-content: center;
}

h1 {
    font-size: 2rem;
    margin: 0;
    padding: 0;
    padding-top: 10px;
    text-align: center;
}
/* h2 {
    width: 100%;
    text-align: center;
}
.title h2 {
    text-align: none;
} */

.n46 a {
    color: #9e3be2;
    text-decoration: none;
    padding: 10px;
    border-radius: 3px;
}
.s46 a {
    color: #f19db5;
    text-decoration: none;
    padding: 10px;
    border-radius: 3px;
}
.h46 a {
    color: #5bbee5;
    text-decoration: none;
    padding: 10px;
    border-radius: 3px;
}

ul {
    padding: 0;
}
li {
    list-style: none;
    padding: 20px;
    font-size: 1.2rem;
    text-align: center;
}
.member {
    display: grid;
    grid-template-columns: repeat(5, minmax(calc(20vw - 28px), 1fr));
    gap: 5px;
    width: 100%;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    justify-content: center;
}
.member li {
    cursor: pointer;
    list-style: none;
    padding: 10px;
    font-size: large;
    width: calc(20vw - 28px); /* 固定幅を設定 */
}
.menu {
    display: block;
    text-align: center;
}
li img {
    display: block;
    margin: auto;
    width: calc(20vw - 28px);
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: 2px;
}

li p {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    box-sizing: border-box;
    min-height: 30px;
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar li:nth-last-of-type() {
    position: absolute;
    bottom: 0;
}


.site-main {
    background-color: rgba(255, 255, 255, 0.8);
    height: calc(100vh - 120px);
    padding: 0 20px;
}
.policy {
    text-align: left;
}

.policy ul li {
    text-shadow: none;
}

iframe {
    border-radius: 20px;
    width: 560px;
    height: 315px;
}

.video-slider {
    /* width: 50vw; */
    margin: 0 auto;
}

.video-slider div {
    text-align: center;
}



.member a {
    text-decoration: none;
    color: black;
}

.modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    /* height: 100dvh; */
    height: 100vh;
    overflow: auto;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}
.modal.white-base {
    background-color: rgba(255, 255, 255, 0.99);
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    text-align: center;
    display: block;
    width: 100%;
    max-height: 80%;
    margin: 10px;
    transform: scale(0.9);
}

.modal-content.show {
    transform: scale(1);
}

.modal-content.member {
    font-size: 3rem;
}

.modal-content.member p {
    width: 100vw;
    cursor: pointer;
    box-sizing: border-box;
    display: block;
    padding: 10px;
    margin: 0;
}
.modal-content.member p.nogi:hover {
    background-color: #9e3be220;
}
.modal-content.member p.sakura:hover {
    background-color: #f19db560;
}
.hinata.modal-content.member p:hover {
    background-color: #5bbee560;
}

#caption {
    margin: 0;
    display: block;
    width: 80%;
    text-align: center;
    color: #ccc;
    padding: 5px 0;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close.white-base {
    color: #555;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.collapsible {
    background-color: #777;
    color: white;
    cursor: pointer;
    padding: 10px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
}

.active, .collapsible:hover {
    background-color: #555;
}

.meminfo {
    display: flex;
    width: 100%;
}

.col-l, .col-r{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50%;
    box-sizing: border-box;
}


/* .meminfo {
    padding: 0 18px;
    display: none;
    overflow: hidden;
    background-color: #f1f1f1;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
}

.meminfo.show {
    max-height: 500px;
    opacity: 1;
} */

.discography {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    width: 100%;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    justify-content: center;
}

.discography li {
    cursor: pointer;
    list-style: none;
    padding: 10px;
    font-size: large;
    width: calc((100vw - 70) / 3); /* 固定幅を設定 */
}

.discography img {
    display: block;
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 2px;
}

.discography a {
    text-decoration: none;
    color: black;
}

a.nogi {
    color: #9e3be2;
}

a.sakura {
    color: #f19db5;
}

a.hinata {
    color: #5bbee5;
}

a.nogi:hover {
    color: #000;
    background-color: #9e3be240;
}

a.sakura:hover {
    color: #000;
    background-color: #f19db540;
}

a.hinata:hover {
    color: #000;
    background-color: #5bbee540;
}

.award {
    width: 100%;
}

.award-ul {
    display: grid;
    gap: 0;
    /* grid-template-columns: repeat(2, 1fr); */
    width: 60%;
    border-collapse: collapse;
}

/* .award-ul::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background-color: #555;
  left: 50%;
  transform: translateX(-0.5px); 
} */

.award-li {
    border-collapse: collapse;
}

.award-li td{
    padding: 0;
    margin: 0;
    width: 100%;
    text-align: center;
    border: #555 solid 2px;
    border-collapse: collapse;
    text-align: center;
}



/* .award-li:nth-child(1) tr td:nth-child(2){
    border-right: #555 solid 1px;
}
.award-li:nth-child(2) tr td:nth-child(1){
    border-left: #555 solid 1px;
}
.award-li:nth-child(2) tr td:nth-child(2){
    border-right: #555 solid 2px;
} */

/* tr td:nth-child(1) {
    border-left: none;
} */
/* tr td:nth-child(2) {
    border-right: none;
} */


.award-li td a {
    display: block;     /* ブロック要素化 */
    width: 100%;        /* セル全体をカバー */
    height: 100%;
    text-decoration: none;
    color: inherit;     /* テキスト色を継承 */
    background-color: rgb(0, 255, 255, 0.2);
}

.award-li td:nth-child(1), .award-li th:nth-child(1) {
    width: 45%;
}

.award-li td:nth-child(2), .award-li th:nth-child(2) {
    width: 30%;
}



.award-mem {
    text-align: center !important;
}
.award-mem.nogi {
    background-color: #9f3be244;
}
.award-mem.sakura {
    background-color: #f19db544;
}
.award-mem.hinata {
    background-color: #5bbee544;
}
.award-mem:empty {
    background-color: transparent;
}

.sp-br {
    display: none;
}

/* add here */

.custom-select-wrapper {
    position: relative;
    width: 200px;
    user-select: none;
    font-family: sans-serif;
}

.custom-select-selected {
    background: #fff;
    border: 1px solid #ccc;
    padding: 8px 12px;
    cursor: pointer;
}

.custom-select-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ccc;
    border-top: none;
    max-height: 200px;
    overflow-y: auto;
    display: none;
    margin: 0;
    padding: 0;
    list-style: none;
    z-index: 1000;
}

.custom-select-options li {
    padding: 8px 12px;
    cursor: pointer;
}

.custom-select-options li:hover {
    background-color: #f0f0f0;
}

.custom-select-options li.highlighted {
    background-color: #ffff99; /* 薄い黄色 */
}

/* add over here */



@media (max-width: 910px) {
    .site-main {
        padding: 0;
    }
    h1 {
        font-size: 1.5rem;
    }
    .member {
        display: grid;
        grid-template-columns: repeat(3, auto);
        gap: 5px;
        width: fit-content;
        margin: 0 auto;
        padding: 0;
        box-sizing: border-box;
    }
    .member li {
        list-style: none;
        padding: 5px;
        font-size: medium;
        width: calc((100vw - 80px) / 3);
    }
    li img {
        width: calc((100vw - 80px) / 3);
        aspect-ratio: 4/5;
        object-fit: cover;
        border-radius: 2px;
    }
    li p {
        height: 20px;
        margin: 5px 0;
    }

    .discography {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
        width: 100%;
        padding: 0;
        margin: 0;
        box-sizing: border-box;
        justify-content: center;
    }

    .discography li {
        cursor: pointer;
        list-style: none;
        padding: 10px;
        font-size: medium;
        width: calc((100vw - 70px) / 2); /* 固定幅を設定 */
    }

    .discography img {
        display: block;
        width: 100%;
        aspect-ratio: 1/1;
        object-fit: cover;
        border-radius: 2px;
    }

    .award-ul {
        width: 100%;
    }

    .award-li td:nth-child(1), .award-li th:nth-child(1) {
        width: 40%;
    }

    .award-li td:nth-child(2), .award-li th:nth-child(2) {
        width: 30%;
    }

    .award-li td:nth-child(3) {
        font-size: 0.6rem;
    }



    .sp-br {
        display: inline;
    }
    
    .pc-th {
        display: none;
        height: 0;
    }

    .award-li:nth-child(1) tr td:nth-child(2){
        border-right: #555 solid 2px;
    }

    .award-li:nth-child(2) tr td:nth-child(1){
        border-left: #555 solid 2px;
    }
    .award-li:nth-child(1) tr:last-child td{
        border-bottom: #555 solid 1.4px;
    }
    .award-li:nth-child(2) tr:nth-child(2) td{
        border-top: #555 solid 1px;
    }
    .modal-content.member {
        display: block;
    }
}