
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200..900&display=swap');

* {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Noto Serif JP", serif;
    color: #FFF;
    background-color: rgb(0, 0, 0, 0.8);
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

.site-title {
    font-size: 36px;
}

.sub-title {
    font-size: 34px;
}

.section-title {
    display: flex;
    align-items: center;
    font-size: 32px;
    margin: 30px 0;
}

.section-title span {
    width: 38px;
    display: block;
    line-height: 0;
    margin-right: 10px;
}

.section-title span img {
    width: 100%;
}

.text {
    font-size: 20px;
}

.menu-btn {
    font-size: 28px;
    color: #FFF;
}

/* ページ上部戻るボタン
====================== */

.scroll-top {
    width: 50px;
    height: 50px;
    position: fixed;
    left: 25px;
    bottom: 25px;
    background: rgba(123, 97, 3, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2;
    cursor: pointer;
    border-radius: 50%;
}

.sc-top-arrow {
    display: block;
    width: 10px;
    height: 10px;
    border-top: 3px solid #FFF;
    border-right: 3px solid #FFF;
    transform: translateY(20%) rotate(-45deg);
}


/* スクロール表示
====================== */

.fade-down {
    position: relative;
    top: -15px;
    opacity: 0;
    transition: 0.8s all;
}

.fade-down.active {
    position: relative;
    bottom: 0;
    opacity: 1;
}


/* header
====================== */

#header {
    width: 100%;
    background: linear-gradient(35deg, rgb(143, 143, 143) 20%, rgb(192, 192, 192) 80%);
}

.header-logo {
    padding: 15px;
}

#header .site-title {
    width: 300px;
    margin: 0 auto;
}

#header .site-title img {
    width: 100%;
}

.header-list {
    display: flex;
    white-space: nowrap;
    align-items: center;
    justify-content: center;
    background-color: rgb(33, 12, 12);
    overflow-x: hidden;
    padding: 10px;
}

.header-list li {
    margin: 0 10px;
}

#pc-nav {
    display: block;
}

#sp-nav {
    display: none;
}


/* セクション共通
======================= */

.section-content {
    max-width: 960px;
    padding: 25px;
    margin: 40px auto;
}


/* about
======================= */

#about .inner-content {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

#about .inner-content::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) skewY(-7deg);
    display: flex;
    align-items: center;
    width: 100%;
    height: 50%;
    background: radial-gradient(circle, rgba(123, 97, 3, 0.9) 0%, rgba(123, 97, 3, 0) 100%);
    z-index: -1;
}

#about .inner-img {
    max-width: 960px;
    padding: 40px;
    margin: 0 auto;
}

#about .inner-img img {
    position: relative;
    width: 100%;
    border-radius: 7px;
}


/* lifesテーブル
========================== */

.lifes-table tr {
    width: 100%;
    margin-bottom: 30px;
}

.lifes-table tr:last-child {
    margin-bottom: 0;
}

.lifes-table .table-field,
.lifes-table .table-text {
    position: relative;
    display: inline-block;
}

.lifes-table .table-field {
    padding-right: 5px;
}

.lifes-table .table-text {
    display: flex;
    align-items: center;
    margin: 5px 0 10px 7px;
}

.lifes-table .table-text span {
    width: 33px;
    display: block;
    line-height: 0;
    margin-right: 7px;
}

.lifes-table .table-text span img {
    width: 100%;
}

/* 最近のニュース
========================== */

#history .btn-desc-text {
    font-size: 18px;
    color: FFF;
    margin: 10px 0 10px 7px;
}

/* 最近のニュース 画像スライダー
========================== */

.slider-cover {
    width: 100%;
    overflow-x: hidden;
    background-color: rgba(208, 177, 63, 0.5);
    border-radius: 7px;
    margin: 20px 0;
}

.slider-contents {
    width: calc((300px + 30px) * 10);
    display: flex;
    transform: translateX(4%);
    padding: 5px;
}

.slider-contents.start {
    animation: x-scroll 60s linear infinite;
}

.slider-contents.fade-in {
    opacity: 0;
}

.slider-contents.restart {
    animation: fadeInSlides;
    animation-duration: 0.5s;
    opacity: 1;
}

.slider-contents .after-delete {
    opacity: 0;
}

.slider-contents.able .after-delete {
    display: none;
}

@keyframes x-scroll {
    0% {
        transform: translateX(4%);
        opacity: 0;
    }

    1% {
        transform: translateX(4%);
        opacity: 1;
    }
    100% {
        transform: translateX(-90%);
        opacity: 1;
    }
}

@keyframes fadeInSlides {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.slide-box {
    flex: 0 0 300px;
    background-color: rgb(58, 46, 0, 0.5);
    border-radius: 7px;
    box-shadow: 0 0 5px #000;
    animation: colorChange 4s infinite;
    padding: 10px;
    margin: 15px;
}

.slider-box .img-refe-link {
    font-size: 12px;
    color: #777;
    margin: 15px 0;
}

.slide-box .text {
    font-size: 18px;
    color: #FFF;
    text-align: left;
    padding: 10px;
    margin: 10px 0 15px 0;
}

.slide-box img {
    width: 100%;
    border-radius: 7px;
}

.slide-box .history-year {
    font-size: 24px;
    font-weight: 900;
    text-align: right;
    transform: rotate(5deg);
} 

@keyframes colorChange {
    
    0% {
        box-shadow: 0 0 5px #8a7800;
    }
    
    40% {
        box-shadow: 0 0 5px #000000;
    }

    100% {
        box-shadow: 0 0 5px #8a7800;
    }
}


/* footer
=========================== */

#footer {
    width: 100%;
    background: linear-gradient(35deg, rgb(143, 143, 143) 20%, rgb(192, 192, 192) 80%);
}

.footer-flexs {
    max-width: 960px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    margin: 20px auto;
}

.footer-list li {
    text-align: center;
    margin-bottom: 15px;
}

.footer-logo img {
    width: 100%;
}

.footer-list li:last-child {
    margin-bottom: 0;
}

.footer-list .menu-btn {
    color: #444;
}

.copy {
    font-size: 15px;
    text-align: center;
    color: #444;
    padding: 10px;
    margin: 0 auto;
}



/* 成績ページ
============================== */

#score {
    max-width: 960px;
    padding: 25px;
    margin: 40px auto;  
}


/* form共通設定
=============================== */

.form {
    margin: 25px 0;
}

.form p {
    margin: 5px 0;
}


/* 成績テーブル設定
=============================== */

.table-cover {
    overflow-x: auto;
    white-space: nowrap;
}

.score-table {
    width: max-content;
    border-collapse: collapse;
}

.score-table th,
.score-table td {
    font-size: 20px;
    border: 1px solid #FFF;
    text-align: center;
    padding: 10px;
}

.score-table thead th {
    background-color: rgba(208, 177, 63, 0.5);
}

.score-table tbody th {
    background-color: rgba(133, 107, 16, 0.5);
}

.score-table .tuusan th {
    background-color: rgba(134, 130, 118, 0.5);
}

.score-table .tuusan td {
    background-color: rgba(165, 158, 134, 0.5);
}

/* form下 説明文設定
=============================== */

.score-table-desc {
    font-size: 17px;
    color: #FFF;
    margin: 25px 0;
}


@media screen and (max-width: 1024px) {
 
    /* #pc-nav {
        display: none;
    }

    #sp-nav {
        display: block;
    } */

    .header-list {
        justify-content: flex-start;
        overflow-x: scroll;
    }

    .inner-content::before {
        background: radial-gradient(circle, rgba(123, 97, 3, 0.9) 55%, rgba(123, 97, 3, 0) 100%);
    }

    .footer-logo,
    .footer-list {
        width: 48%;
    }

    .footer-list .menu-btn {
        font-size: 24px;
    }

    .score-cover {
        overflow-x: scroll;
    }

}
