body{

    font-family: 'Kosugi Maru','ヒラギノ丸ゴシック', sans-serif;
    background-color: #15202b;
    color: white;
    padding:0; 
    margin:0; 
    height: 100%;
}


a:link, a:visited, a:hover, a:active {
    color: white;
  }

header{
    width: 100%;
    height: 100px; 
    text-align: left;
    padding: 0;
    border-bottom:  #a2f9ff solid 5px;
  
}

.header-content{
    width:100%;
}
form{
    display: inline;
    text-align: left;
}
.textbox{
    width:10em;
    height: 2em;
}


.topbar{
    width: 100%;
    height: 50px;
    text-align: center;
    margin: 0vw;
    border-bottom:  #a2f9ff solid 5px;
    background-color:#3D3D3D;
    font-size: xx-large;
    display: inline-block;
}
.content{
    height:100%;
    text-align:center;
    margin:3vw;
    background-size: auto;
    border-radius: 5px;

 
}


.title{
    margin: 3em;

}
#sitelogo{
    width: 25vw;

}
.topsearchbar{
    display: inline-block;
}
/* HP*/
.rankings{
    border:5px solid;
    border-color: rgb(255, 203, 107);
    background-color: #3D3D3D;
}
.news{
    border:5px solid;
    border-color: rgb(255, 203, 107);
    background-color: #3D3D3D;
    text-align: left;
    padding: 5vw;
    font-size: x-large;
}
ul li{
    padding-top: 10px;
    padding-bottom: 10px;
}
/* 検索ペーじ*/
#partysearch{
    width: 100%;
    border-bottom:  rgb(255, 203, 107) solid 5px;
    font-size: large;
    text-align: center;

}
.card{
    background-color: #3D3D3D;
    border: solid ;
    border-radius: 10px;
    margin: 5%;
    color:white
}
#container{
    display: grid;
    grid-template-rows: 1fr, 75px, 75px, 75px, 75px, 75px, 75px;
    grid-template-columns: 40px,10px,40px,10px,40px,10px;
}
#articledata{
    grid-row: 1;
    grid-column: 1/6;
    margin: 0 auto;
    word-break: break-word;
    text-align: center;
    font-size: x-large;
}
#articletitle{
    color:white;
    font-size: larger;
}

#pkmn1{
    grid-row: 2/3;
    grid-column: 1;
}
#pkmn2{
    grid-row: 2/3;
    grid-column: 3;
}
#pkmn3{
    grid-row: 2/3;
    grid-column: 5;
}
#pkmn4{
    grid-row: 5/6;
    grid-column: 1;
}
#pkmn5{
    grid-row: 5/6;
    grid-column: 3;
}
#pkmn6{
    grid-row: 5/6;
    grid-column: 5;
}
#item1{
    grid-row: 3;
    grid-column: 2;
}
#item2{
    grid-row: 3;
    grid-column: 4;
}
#item3{
    grid-row: 3;
    grid-column: 6;
}
#item4{
    grid-row: 6;
    grid-column: 2;
}
#item5{
    grid-row: 6;
    grid-column: 4;
}
#item6{
    grid-row: 6;
    grid-column: 6;
}
#tag1{
    grid-row: 4;
    grid-column: 1/2;
}
#tag2{
    grid-row: 4;
    grid-column: 3/4;
}
#tag3{
    grid-row: 4;
    grid-column: 5/6;
}
#tag4{
    grid-row: 7;
    grid-column: 1/2;
}
#tag5{
    grid-row: 7;
    grid-column: 3/4;
}
#tag6{
    grid-row: 7;
    grid-column: 5/6;
}
#tera1{
    grid-row: 2;
    grid-column: 2;
}
#tera2{
    grid-row: 2;
    grid-column: 4;
}
#tera3{
    grid-row: 2;
    grid-column: 6;
}
#tera4{
    grid-row: 5;
    grid-column: 2;
}
#tera5{
    grid-row: 5;
    grid-column: 4;
}
#tera6{
    grid-row: 5;
    grid-column: 6;
}
/*画像設定*/
.topicons{
    width: 80px;
    height:80px;
    background-color: #b6b6b6;
    border: solid;
    border-radius: 50%;
}
.topitemicons{
    width: 40px;
    height:40px;
    background-color: #DBDBDB;
    border: solid;
    border-radius: 50%;
}
.icons{
    width: 100px;
    margin: 0 auto;
    max-width: 20vw;
    background-color: #DBDBDB;
    border: solid;
    border-radius: 50%;
}
.itemicons{
    width: 50px;
    max-width: 10vw;
    background-color: #DBDBDB;
    border: solid;
    border-radius: 50%;
}
.teraicons{
    width: 50px;
    max-width: 10vw;
    background-color: #DBDBDB;
    border: solid;
    border-radius: 50%;
}

.bigicons{
    width: 150px;
    height: 150px;
    background-color: #DBDBDB;
    border: solid;
    border-radius: 50%;
}
.bigitemicons{
    width: 70px;
    height: 70px;
    background-color: #DBDBDB;
    border: solid;
    border-radius: 50%;
}

/* 検索ページ */
.pager{
    font-size: xx-large;
}

/*TOP100*/
.top{
    border: 5px solid;
    border-color:  #a2f9ff;
    background-color:#444444;
}
.toptitle{
    font-size: x-large;
}
.top100search{
    border-bottom: 5px solid;
    border-color: rgb(255, 203, 107);
}

/*data2023*/
 .kpq{
    display: block;
    margin: 0 auto;
    max-width: 80%;
    height: auto;
  }
@media screen and (min-width: 780px) {
    .brdisp{
        display: block;
    }
    .brdisp2{
        display: none;
    }
    
}
@media screen and (min-width: 1500px) {
    .brdisp{
        display: none;
    }
    .brdisp2{
        display: none;
    }
    
}
@media screen and (max-width: 780px) {
    .brdisp{
        display: none;
    }
    .brdisp2{
        display: block;
    }
    
}


/* 文字ページ */
.words{
    margin: 0 0 0 0 auto;
    font-size: x-large;
    line-height: 125%;
    border: #2ca8f2 solid 5px;
}
h1,h2,h3,h4,h5{
    color: white;
}
@media screen and (max-width: 480px){
    .icons{
        width: 20vw;
        margin: 0 auto;
    }
    .itemicons{
        width: 7vw;
    }

}

/* new rankgeneral */
.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 20px;
}

.grid-item {
  display: grid;
  grid-template-areas:
    "pkmn item tera"
    "pkmn tag tag";
  gap: 10px;
}

.grid-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.pkmn {
  grid-area: pkmn;
  width: 130px;
  height: 130px;
  background-color: #DBDBDB;
  border: solid;
  border-radius: 50%;
}

.pkmn img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
}

.item,
.tera {
  width: 60px;
  height: 60px;
  background-color: #DBDBDB;
  border: solid;
  border-radius: 50%;
}

.item img,
.tera img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 50%;
}

.item {
  grid-area: item;
}

.tera {
  grid-area: tera;
}

.tag {
  grid-area: tag;
}

.details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.details p {
  margin: 0;
  padding: 5px 0;
  font-size: 1em;
}

@media (max-width: 768px) {
  .grid-container {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .grid-item {
    grid-template-areas:
      "pkmn"
      "item"
      "tera"
      "tag";
  }
}