@charset "UTF-8";
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: none;
font-style: normal;
text-align: left;
zoom: 1;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
table {
border-collapse: collapse;
font-family: inherit;
}
h1,h2,h3,h4,h5 {
font-size: 100%;
font-weight: normal;
line-height: 1;
}
input,textarea,select {
font-family: inherit;
font-size: 16px;
}
input[type="button"],input[type="text"],input[type="submit"] {
-webkit-appearance: none;
border-radius: 0;
}
textarea {
resize: none;
-webkit-appearance: none;
border-radius: 0;
}
th,td {
border-collapse: collapse;
}
table th,table td {
white-space: nowrap;
}
ul,ol {
list-style-type: none;
}
img {
vertical-align: text-bottom;
vertical-align: -webkit-baseline-middle;
max-width: 100%;
height: auto;
width /***/:auto;
}

  * {
  font-family: "Noto Sans JP",sans-serif
}
body{
      position: relative;
}
.maincontent{
  font-size: 20px;
    font-weight: 700;
    line-height: 1.75em;
    margin: 0;
    background: url("/img/bg.png") #efefef;
    max-width: 1030px;
    margin:0 auto 0;
    min-height: 100vh;
    padding: 1rem;
    box-shadow: 0px 0px 32px #b9b9b9;
 padding-bottom: 220px;
}
.maincontent::after {
  content: "";
  display: block;
  height: 100px; /* フッター的な余白 */
}
.afposition {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.3);
  z-index: 999;
  text-align: center;
  box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
    left: 50%;
  transform: translateX(-50%);
}

h1{
  font-size: 40px;
  font-weight: 700;
  line-height: 1em;
      background: linear-gradient(90deg, #6ea4f7, #ff5675);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    width: fit-content;
    margin: 0 auto;
    text-align: center;
    padding-top: 50px;
}
.h1sub{
  margin: 30px auto;
  width: fit-content;
  background: linear-gradient(90deg, #6ea4f7, #ff5675);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.setumei{
      width: 100%;
    font-size: 17px;
    font-weight: normal;
    line-height: 1.2;
}
.base {
  height: 150px;
  width: 150px;
  border-radius: 50%;
  background: linear-gradient(#ff5675 48%, rgb(53, 53, 53) 48%, rgb(53, 53, 53) 52%, white 52%);
  display: grid;
  place-items: center;
  border:5px solid rgb(53, 53, 53);
  margin: 100px auto 50px;
  cursor: pointer;
  animation: tilt 3s infinite;
}

.center {
  border-radius: 50%;
  border: 7px solid rgb(53, 53, 53);
  height: 25%;
  width: 25%;
  background-color: #f5f5f5;
  display: grid;
  place-items: center;
}

.center-button {
  border-radius: 50%;
  border: none;
  display: block;
  height: 20px;
  width: 20px;
  box-shadow:
    2px 2px 4px rgba(0,0,0,0.2),
    -3px -3px 4px rgba(255,255,255,0.2);
  background-color: #ffffff;
}

.base:active .center-button {
  box-shadow:
    inset 2px 2px 3px rgba(0,0,0,0.2),
    inset -3px -3px 3px rgba(255,255,255,0.2);
}
#energyInputs {
  margin-top: 50px;
}
#energyInputs label {
    display: flex;
    align-items: center;
    gap: 0.3em;
    white-space: nowrap;
  }
  #toggleExclude{
    padding: 0px 4px;
    margin-left: 5px;
  }
#energyInputs label span{
  display: flex;
}
#energyInputs label span img{
  width: 30px;
}
#excludeRegs{
  line-height: 1;
}
#excludeRegs label{
font-size: 15px;
width: 29%;
    display: flex;
    align-items: center;
    gap: 0.3em;
}
.koushinlink{
  display: flex;
    align-items: center;
    margin: 0 auto 50px;
    width: fit-content;
    font-size: 15px;
    text-decoration: none;
    color: #6fa2f5;
}
.koushinlink svg {
fill: #6fa2f5;
    margin-top: 1px;
    margin-left: 3px;
}
.searchbutton{
  font-size: 18px;
    width: fit-content;
    display: block;
    margin:0 auto;
}
#results{
  display: flex;
    flex-wrap: wrap;
    column-gap: 15px;
    border: 5px solid #cdcdcd;
    padding: 15px;
    border-radius: 10px;
    background: #f9f9f985;
    margin: 0 10px;
}

#results li {
display: flex;
    width: 310px;
    justify-content: space-between;
    font-size: 18px;
    color: #555;
}

#results div a{
text-decoration: none;
}
.gbcoment{
  text-align: center;
  margin-bottom: 5px;
  color: #ff5675;
  line-height: 1;
}
.gbcoment span{
  font-size: 13px;
}
.pokemon a{
  color: #ff5675;
}
.goods a{
  color:#d16f9e;
}
.support a{
 color:#ab83c0 
}
.tool a{
  color: #8c93db;
}
.stadium a{
  color: #70a3f5;
}
.energy a{
  color: #6fcff5
}
@keyframes tilt {
  0%   { transform: rotate(0deg); }
  6%  { transform: rotate(10deg); }
  12%  { transform: rotate(-10deg); }
  20% { transform: rotate(0deg); }
}

#bookmarkletButton{
  position:relative;
  display:inline-block;
  padding:24px 28px;
  background: inherit;
  border: none;
  background: linear-gradient(90deg, #6ea4f7, #ff5675);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    width: fit-content;
    font-size: 17px;
    font-weight: bold;
    cursor: pointer;
    margin: 0 auto;
}

#bookmarkletButton::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50px;
    border: 5px solid transparent;
    background: linear-gradient(90deg, #6ea4f7, #ff5675) border-box border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0) border-box;
    -webkit-mask-composite: destination-out;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0) border-box;
    mask-composite: exclude;
  }
  #bookmarkletButtoncoment{
    text-align: center;
    display: block;
    font-size: 13px;
    cursor: pointer;
    color: #6fa2f5;
  }
  @media screen and (max-width: 1066px){
    #results li{
      width: 30%;
      font-size: 15px;
    }
  }

  @media screen and (max-width: 900px){
    #results{
      margin: 0;
      padding: 15px 0;
    }
  #excludeRegs label{
font-size: 14px;
width: 40%;
  }
}
  @media screen and (max-width: 820px){
    #results li{
      width: 45%;
    }
  }
  @media screen and (max-width: 480px){
h1{
  font-size: 30px;
  padding-top: 20px;
}
.h1sub{
  font-size: 85%;
}
.base {

  margin: 50px auto 50px;
}
.gbcoment{
  font-size: 85%;
}
#energyInputs label{
  width: 21%;
}
  }
  @media screen and (max-width: 400px){
    #energyInputs label{
  width: 20%;
}
  }