* {
    margin: 0;
    padding: 0;
}

/* 全体のやつ */

body {
    width: 100%;
    height: 100%;
    background-image: url(../images/background.png);
    background-repeat: repeat-y;
    position: absolute;
}

h1 {
    font-size: 500%;
    font-family: 'Yusei Magic', sans-serif;
    font-style: Bold;
}

h2 {
    font-size: 700%;
    font-family: 'Yusei Magic', sans-serif;
    text-align: center;
}

h3 {
    font-family: 'Yusei Magic', sans-serif;
    font-style: bolder;
    font-size: 250%;
    text-align: center;
    margin-bottom: 0.4em;
}

p {
    font-family: 'Kiwi Maru', serif;
    text-align: center;
}

a {
    text-decoration: none;
}

img {
    backface-visibility: hidden;
}

.material-symbols-outlined {
    vertical-align: text-bottom;
    transition: 0.3s;
}

.material-symbols-outlined:hover {
    color: #1e1e1e;
}

.material-symbols-outlined.size-36 {
    font-size: 36px;
}

.material-symbols-outlined.size-16 {
    font-size: 16px;
}

/* ヘッダー */

.navbar {
    background-color:#f1e3c9;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* トップ */

.top {
    background-image: url(../images/school.png);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: cover;
    width: auto;
    height: 810px;
    color: rgb(255, 255, 255);
    padding: 160px 10% 10% 10%;
    font-family: 'Yusei Magic', sans-serif;
}

.top h3 {
    font-family: 'Yusei Magic', sans-serif;
    font-size: 170%;
}

.top h1 {
    
    font-size: 300%;
}

.day {
    font-family: 'Yusei Magic', sans-serif;
    font-weight: bolder;
    width: 300px;
    height: 75px;
    color: white;
    margin: 150px auto 75px;
    text-align: center;
    line-height: 75px;
    font-size: 150%;
    background: #ff6e6e;
    background: linear-gradient(90deg, rgba(255, 145, 0, 0.863) 0%, rgba(255, 0, 0, 0.8) 100%);
}

.day:hover {
    animation-name: BoundAnime;
    animation-duration: 0.25s;
    animation-fill-mode: forwards;
}

@keyframes BoundAnime {
    0% {
        width: 300px;
        height: 75px;
        margin: 150px auto 75px;
        font-size: 150%;
    }

    100% {
        width: 315px;
        height: 78.75px;
        margin: 148.125px auto 73.125px;
        line-height: 78.75px;
        font-size: 157.5%;
    }
}

/* 記事 */

.wrapper {
    width: 80%;
    color: #1F1F1F;
}

.wrapper div {
    padding: 40px;
    background-color: #f8f8f8;
    border: solid 1px #ddd;
    border-radius: 5px;
}

.wrapper div p {
    text-align: center;
}

.longtitle {
    font-size: 200%;
}

table {
    margin: auto;
    font-family: 'Kiwi Maru', serif;
}

table td {
    padding: 10px 40px;
    font-size: medium;
}

table tr {
    border-bottom: solid 1px rgb(116, 116, 116);
    border-collapse: collapse
}

table tr.even td {
    background-color: #f0f0f0;
}

.embed {
    display: block;
    margin: 0 auto;
    max-width: 100%;
}

.wrapper a {
    color: #1F1F1F;
    text-decoration: underline;
    text-decoration-color: #ed9f9f;
    text-decoration-thickness: 2px;
    text-underline-offset: 3.5px;
    text-decoration-skip-ink: none;
    padding: 1em;
}

.wrapper a:hover {
    animation: UnderlineAnime;
    animation-duration: 0.25s;
    animation-fill-mode: forwards;
}

.wrapper a.no-link {
    text-decoration: none;
}

.wrapper a.no-link:hover {
    animation: none;
}

.localtitle {
    margin-top: calc(40px + 1rem + 3rem);
    font-size: 350%;
}

.underline {
    display: inline-block;
    position: relative;
}

.underline::after {
    content: "";
    position: absolute;
    width: 30%;
    bottom: -8px;
    left: 35%;
    border-bottom: 3px solid #55a132;
}

.court img {
    width: 100%;
}

@keyframes UnderlineAnime {
    0% {
        text-decoration-thickness: 2px;
        text-underline-offset: 3.5px;
    }

    100% {
        text-decoration-thickness: 25px;
        text-underline-offset: -32px;
    }
}

.game {
    width: 60%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 100px;
    margin-bottom: 50px;
    display: block;
}


.listA img {
    width: 200px;
    flex: 1;
    margin: 5px;
    border: solid 1px #ddd;
    border-radius: 5px;
    color: inherit;
    text-decoration: none;
}

.listA a {
    display: inline-block;
}

.listA a:hover {
    opacity: 0.7;
}

button {
    font-family: 'Yusei Magic', sans-serif;
}


.coming-soon {
    position: relative;
    top: 30%;
}


/* フッター */

.footer {
    width: 100%;
    height: 140px;
    text-align: center;
    padding: 50px 0;
    background-color: #1F1F1F;
    color: white;
}

.footer.footer-fixed {
    position: absolute;
    bottom: 0px;
}

.logo {
    width: 140px;
    margin-top: -30px;
    margin-bottom: 10px;
}


/* 固定要素 */

.page-top {
    position: fixed;
    bottom: 0px;
    right: 0px;
    border-radius: 100%;
    height: 70px;
    text-align: center;
    width: 70px;
    transition: 0.3s;
}

.page-top:hover {
    opacity: 0.9;
}

.page-top img {
    width: 70px;
}

/* レスポンシブにするやつ */

@media screen and (max-width: 1360px) {
    .top {
        height: 630px;
    }

    .top h1 {
        font-size: 170%;
    }

    .top h2 {
        font-size: 380%;
    }

    .top h3 {
        font-size: 130%;
    }

    .day {
        width: 200px;
        height: 50px;
        margin: 100px auto 50px;
        text-align: center;
        line-height: 50px;
        font-size: 100%;

    }

    @keyframes BoundAnime {
        0% {
            width: 200px;
            height: 50px;
            margin: 100px auto 50px;
            font-size: 100%;
        }

        100% {
            width: 210px;
            height: 52.5px;
            margin: 98.75px auto 48.75px;
            line-height: 52.5px;
            font-size: 105%;
        }
    }

    td {
        font-size: 80%;
    }

    .coming-soon {
        font-size: 350%;
        top: 35%;
    }
}

@media screen and (max-width: 775px) {
    .top {
        height: 600px;
        padding: 160px 5% 10% 5%;
    }

    .top h1 {
        font-size: 170%;
    }

    .top h2 {
        font-size: 300%;
    }

    .top h3 {
        font-size: 130%;
    }

    .localtitle {
        font-size: 250%;
    }

    .longtitle {
        font-size: 150%;
    }

    .wrapper div h3 {
        font-size: 200%;
    }

    .day {
        width: 200px;
        height: 50px;
        margin: 100px auto 50px;
        text-align: center;
        line-height: 50px;
        font-size: 100%;
    }

    @keyframes BoundAnime {
        0% {
            width: 200px;
            height: 50px;
            margin: 100px auto 50px;
            font-size: 100%;
        }

        100% {
            width: 210px;
            height: 52.5px;
            margin: 98.75px auto 48.75px;
            line-height: 52.5px;
            font-size: 105%;
        }
    }

   

    .coming-soon {
        font-size: 200%;
        top: 35%;
    }
}

@media screen and (max-width: 620px) {
    .top h2 {
        font-size: 250%;
    }

    .wrapper div {
        padding: 30px;
    }

    .wrapper div p {
        text-align: left;
    }

    table td {
        padding: 10px 15px;
    }

    .center-button {
        width: 80%;
    }
}

@media screen and (max-width: 495px) {
    .wrapper div {
        padding: 20px;
    }

    table td {
        padding: 10px 15px;
        font-size: 50%;
    }
}

/* 続きを読む */
.read-more-004 {
    position: relative;
}

.read-more-004 p {
    display: -webkit-box;
    position: relative;
    margin-bottom: 5px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4; /* 開く前に見せたい行数を指定 */
}

.read-more-004:has(:checked) p {
    display: block;
}

.read-more-004 p::after {
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(180deg, hsla(0, 0%, 100%, 0) 0, hsla(0, 0%, 100%, .9) 50%, hsla(0, 0%, 100%, .9) 0, #fff);
    content: '';
}

.read-more-004:has(:checked) p::after {
    content: none;
}

.read-more-004 label {
    display: flex;
    align-items: center;
    gap: 0 4px;
    position: absolute;
    bottom: 10;
    left: 50%;
    transform: translateX(-50%);
    padding: .4em 1.2em;
    border-radius: 1px;
    background-color: #ff5c5c;
    color: #fff;
    font-size: .7em;
}

.read-more-004 label:hover {
    border:1px solid #ff5c5c;
    background-color: #fff;
    color: #ff5c5c;
    cursor: pointer;
}

.read-more-004:has(:checked) label {
    display: none;
}

.read-more-004 label::after {
    display: inline-block;
    width: 10px;
    height: 5px;
    background-color: #fff;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    content: '';
}

.read-more-004 label:hover::after{
    background-color: #ff5c5c;
}

.read-more-004 input {
    display: none;
}

/* ブラウザごとの変更 */

::-webkit-full-page-media,
:future,
:root .wrapper a:hover {
    animation: none;
}

@-moz-document url-prefix() {
    .wrapper a:hover {
        animation: none;
    }
}

@media screen and (min-width: 768px){
    .br-sp {display: none; 
    }
}
