body{
    margin: 0px;

}

h1{
    font-size: 24px;
}

h2{
    font-size: 19px;
}

h3{
    font-size: 17px;
}

li{
    list-style: none;
}


div{
    padding-inline-start: 0;
}

td{
    padding: 10px;
}

.wrapper{
    min-width: 980px;
}

.header{
    background-color:#111111;
    width: 100%;
    padding-bottom: 10px;
}

.header-logo{
    width: 500px;
}
.header-left{
    float:left;
    
}
.header-right{
    float:right;
    margin: 15px;
}
.clear{
    clear: both;
}
.btn{
    display: inline-block;
}
.btn img{
    width: 30px;
    margin: 15px;
}
.blog{
    display: block;
    border: double 3px white;
    color: white;
    padding: 2px 10px;
} 

.header-list{
    color: white;
    font-size: 15px;
    width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.header-list li ul{
    visibility: hidden;
    position: absolute;
    width: 180px;
    padding: 20px;
}

.header-list  li{
    border-bottom: solid 2px rgba(0, 0, 0, 0);
}
.header-list  li:hover{
    border-bottom: 2px solid #a616d1; 

}

.header-list  li:hover ul{
    visibility: visible;
    background-color: rgba(17, 17, 17, 0.7);
    margin-top: 2px;
}

.header-list a,.header-list a:visited{
    text-decoration: none;
    color: inherit;
}
.flex-list{
    display: flex; 
    justify-content:space-around;
    padding: 0;
}
.main-picture{
    background-image: url(./picture/main.picture2.jpg);
    background-size: cover;
    width: 100%;
    aspect-ratio: 2/1;
    
}

.footer{
    background-color:#111111;
    width: 100%;
    padding-bottom: 10px;
    color: #DDDDDD;
}

.footer-list{
    margin-left: auto;
    margin-right: auto;
    width: 1000px;
    display: flex;
    justify-content:space-between;
    flex-wrap: wrap;
}

.footer-list a,.foooter-list a:visited{
    text-decoration: none;
    color: inherit;
}

.footer-list p:hover{
    color: #C0C0C0;

}

.footer-content{
    width: 25%;
}
.footer-content p,.footer-content a{
    font-size: 13px;
    margin: 0 0 10px 0;
}

.container-home{
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
    width: 1200px;
}

.explanation p{
    font-size: 18px;
}
.contents-items{
    display: flex;
    justify-content:space-between;
    flex-wrap: wrap;
}

.contents-item{
    width: 49%;
    aspect-ratio: 16/9;
    background-size: cover;
    background-color:rgba(255,255,255,0.4);
    background-blend-mode:lighten;
    text-align: center;
    margin-bottom: 10px;
    position: relative;
}
.contents-item:hover{
    background-color:rgba(255,255,255,0.3);
    background-blend-mode:lighten;
}

.contents-item a{
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
}

.sponsorship-home{
  background-image: url(./picture/item-sponsor.JPG);
}

.report-home{
    background-image: url(./picture/item-report.jpg);
}

.event-home{
    background-image: url(./picture/item-event.jpg);
}

.result-home{
    background-image: url(./picture/item-competition.jpg);
}

.contents-item p{
    font-size: 30px;
    font-weight: bold;
}

.contents-item:hover p{
    display: inline-block;
    border-bottom: 2px solid #a616d1;   
    transition : 0.1s;
    
}

.section-title {
    border-bottom: 2px solid #a616d1;
    font-size: 28px;
    padding-bottom: 15px;
    margin-bottom: 50px;
}

.container{
    width: 980px;
    min-height: 1200px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;

}
.container table,.container th,.container td{
    border: 1px solid ;
    border-collapse: collapse;
}
.examination{
    margin-top: 100px;
}
.txt-hide{
    visibility: hidden; 
}

.click:visited .txt-hide p{
    visibility: visible;
}

.tabs{
    float: left;
    
}

.contents{
    display: inline-block;
}

.event-wrapper img{
    width: 40%;
}

.sponsor-wrapper table{
    width: 100%;
    text-align: center;
    table-layout: fixed;
}

.sponsorship-wrapper table{
    width: 60%;
    text-align: center;
}

.sponsorslogo {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0;
    padding: 0;
}

.sponsorlogo {
    width: 100%;
    margin-bottom: 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sponsor-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px; /* 要素間の隙間 */
}

.sponsor-item {
    text-align: center; /* アイテムのテキストを中央揃え */
}


.sponsorlogo img {
    width: 100%;
    height: 200px;
    object-fit: contain;
}

.reports-wrapper{
    display: flex;
    flex-wrap: wrap;
    justify-content:space-between;
}

.report-content{
    width: 30%;
}
.report-content ul{
    padding: 0;
}

.joinus img{
    width: 200px;
    object-fit: contain;
}

.joinus td{
    padding: 10px;
}

.joinus{
    width: 80%;
    
}

.tabs{
   width: 100%;
}

.tabs_flex{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.tabs_flex li{
    width: 10%;
}

.machine{
    display: flex;
    flex-wrap: wrap;
    justify-content:space-around;
}

.spec{
    width: 49%;
}


.img_machine {
    display: flex;
    flex-flow: column;
    justify-content: space-around;
}
.img_machine img{
    width: 100%;
}



.flex-img{
    display: flex; 
    width: 100%;
    justify-content: space-around;
}
.flex-img img{
    width: 47%;
}



@media (max-width:1200px) {

    .header-list{
        width: 80%;
    }
    .footer-list{
        width: 80%;
    }
    .container-home{
        width: 80%;
    }
    .container{
        width: 80%;
    }    
    .contents-item p{
        font-size: 25px;
    }
    .explanation p{
        font-size: 15px;
    }
    .header-logo{
        width: 100%;
    }
    .header-left{
        width: 40%;
    }
    .header-list{
        width: 90%
    }
}