body {
  padding-top: 50px;
}

.contents {
  padding: 20px 60px 20px 60px;
  margin-left: auto;
  margin-right: auto;
  max-width: 1400px;
  width: 100%;
}

ul.amino-list {
  display: flex;
  flex-wrap: wrap;
  padding-left: 0;
}
ul.amino-list > li {
  width: 25%;
  overflow: hidden;
  padding-left: 2px;
}

table.ranking th {
  background-color: #1a1d20;
  color: #ffffff;
  text-align: center;
}

table.all {
  width: 100%;
}

table.groups {
  width: 100%;
}

h1 {
  position: relative;
  padding: 0.3em 0.5em;
  background: -webkit-linear-gradient(to top, rgb(137, 184, 255), #c5ceff);
  background: linear-gradient(to top, rgb(137, 184, 255), #c5ceff);
  color: white;
}

/*https://saruwakakun.com/html-css/reference/h-design*/
h3 {
  position: relative;
  padding: 0.6em;
  background: #e0edff;
  /*width: 20%;*/
  font-size: medium;
}

h3:after {
  position: absolute;
  content: '';
  top: 100%;
  left: 30px;
  border: 15px solid transparent;
  border-top: 15px solid #e0edff;
  width: 0;
  height: 0;
}

/*チェックした項目のリスト*/
.list-tit {
  font-weight: bold;
  margin: 0;
  padding: .5em;
  text-align: center;
}
.list-tit span {
  background: linear-gradient(transparent 50%, #fffd3e 50%);
  padding: 0 6px;
}
.list-box {
  border-radius: 5px;
  box-shadow: 0 0 10px 1px #d7d7d7;
  padding: 1em;
}
.list-design {
  display: block;
  list-style: none;
  margin: 0;
  padding: 0 .5em;
  width: initial;
}
.list-design li {
  border-bottom: 1px dashed #b9b9b9;
  padding: .5em 0;
}

/* コピーボタン */
.success-msg {
  display: none;
  position: fixed;
  width: 300px;
  height: 40px;
  line-height: 40px;
  background-color: #29aba4;
  color: #fff;
  top: 100px;
  left: 0;
  right: 0;
  margin: auto;
  text-align: center;
  border-radius: 5px;
}

/* バナー */
.banner {
  position: fixed;
  margin: 15px 20px;
  z-index: 99998;
  bottom: 0;
  right: 0;
}
.banner a {
  text-decoration: none;
}

.banner-icon {
  color: #f8f8f8;
  font-size: 40px;
}

.banner-back {
  width: 300px;
  background-color: #fff;
  border-radius: 25px;
}

.banner-top {
  padding: 20px;
  border-radius: 25px 25px 0px 0px;
  background: -moz-radial-gradient(#0AB0C7, #006EB0 70%);
  background: -webkit-radial-gradient(#0AB0C7, #006EB0 70%);
  background: radial-gradient(#0AB0C7, #006EB0 70%);
}

.banner-copy {
  font-size: 18px;
  position: relative;
}
.banner-copy::after {
  font-family: 'Font Awesome 6 Free';
  font-size: 20px;
  content: '\f054';
  color: #006EB0;
  position: absolute;
  margin-top: 11px;
  top: 0;
  right: 18px;
}

.banner-bottom {
  padding: 25px 0px 5px 0px;
  line-height: 1.6;
}

.banner-body {
  width: 300px;
  background: #f8f8f8;
  color: #000000;
  font-weight: bold;
  text-align: center;
  border-radius: 25px;
  -webkit-box-shadow: 0 0 7px rgb(0 0 0 / 40%);
  box-shadow: 0 0 7px rgb(0 0 0 / 40%);
}
.banner-body:hover {
  transition: opacity 0.3s ease;
  opacity: 0.7;
}

.banner-close {
  font-weight: bold;
  position: absolute;
  top: -2px;
  right: -4px;
  z-index: 99999;
  padding: 4px 8px;
  border: none;
  background-color: #f8f8f8;
  border-radius: 25px;
  cursor: pointer;
  -webkit-box-shadow: 0 0 7px rgb(0 0 0 / 40%);
  box-shadow: 0 0 7px rgb(0 0 0 / 40%);
}

@media screen and (max-width: 750px) {
  .banner {
    width: 100%;
    margin: 0px;
  }
  .banner-icon {
    font-size: 28px;
  }
  .banner-body {
    width: 100%;
    border-radius: 0px;
  }
  .banner-back {
    width: 100%;
    margin: 0px;
    border-radius: 0px;
  }
  .banner-top {
    padding: 5px;
    border-radius: 0px;
    background: -moz-linear-gradient(#006EB0 50%, #0AB0C7);
    background: -webkit-linear-gradient(#006EB0 50%, #0AB0C7);
    background: linear-gradient(#006EB0 50%, #0AB0C7);
  }
  .banner-bottom {
    padding: 10px 10px 18px 10px;
  }
  .banner-copy {
    font-size: 15px;
  }
  .banner-copy::after {
    font-size: 12px;
    margin-top: 1.4px;
    margin-left: 12px;
    top: initial;
    right: initial;
  }
  .banner-close {
    top: 8px;
    right: 15px;
  }
  .banner-copy-br {
    display: none;
  }
}

/*テーブルのヘッダ列を固定*/
th:first-child, td:first-child {
  position: sticky;
  left: 0;
}
/*テーブルの末尾列を固定*/
th:last-child, td:last-child {
  position: sticky;
  right: 0;
}

/**/
.search-link {
  padding: 20px;
  background: -moz-radial-gradient(#0AB0C7, #006EB0 70%);
  background: -webkit-radial-gradient(#0AB0C7, #006EB0 70%);
  background: radial-gradient(#0AB0C7, #006EB0 70%);
}

.pagetop {
  /*display: none;*/
  /*position: fixed;*/
  /*left: 70px;*/
}
.pagetop a {
  display: block;
  background-color: #ccc;
  text-align: center;
  color: #222;
  font-size: 12px;
  text-decoration: none;
  padding: 5px 10px;
  filter:alpha(opacity=50);
  -moz-opacity: 0.5;
  opacity: 0.5;
}
.pagetop a:hover {
  display: block;
  background-color: #b2d1fb;
  text-align: center;
  color: #fff;
  font-size: 12px;
  text-decoration: none;
  padding:5px 10px;
  filter:alpha(opacity=50);
  -moz-opacity: 0.5;
  opacity: 0.5;
}

.modal_pop {
  margin-top: 80px; /*ヘッダーに被らない位置で調整*/
  --bs-modal-zindex: 1055;
  --bs-modal-width: 500px;
  --bs-modal-padding: 1rem;
  --bs-modal-margin: 0.5rem;
  --bs-modal-color: ;
  --bs-modal-bg: var(--bs-body-bg);
  --bs-modal-border-color: var(--bs-border-color-translucent);
  --bs-modal-border-width: var(--bs-border-width);
  --bs-modal-border-radius: var(--bs-border-radius-lg);
  --bs-modal-box-shadow: var(--bs-box-shadow-sm);
  --bs-modal-inner-border-radius: calc(var(--bs-border-radius-lg) - (var(--bs-border-width)));
  --bs-modal-header-padding-x: 1rem;
  --bs-modal-header-padding-y: 1rem;
  --bs-modal-header-padding: 1rem 1rem;
  --bs-modal-header-border-color: var(--bs-border-color);
  --bs-modal-header-border-width: var(--bs-border-width);
  --bs-modal-title-line-height: 1.5;
  --bs-modal-footer-gap: 0.5rem;
  --bs-modal-footer-bg: ;
  --bs-modal-footer-border-color: var(--bs-border-color);
  --bs-modal-footer-border-width: var(--bs-border-width);
  position: fixed;
  top: 0;
  right: 0;
  z-index: var(--bs-modal-zindex);
  display: none;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  outline: 0;
}

.modal_pop {
  transition: transform 0.3s ease-out;
  transform: translate(0, -50px);
}
@media (prefers-reduced-motion: reduce) {
  .modal_pop.fade .modal-dialog {
    transition: none;
  }
}
.modal_pop.show .modal-dialog {
  transform: none;
}
.modal_pop.modal-static .modal-dialog {
  transform: scale(1.02);
}
@media (min-width: 576px) {
  .modal_pop {
    --bs-modal-margin: 1.75rem;
    --bs-modal-box-shadow: var(--bs-box-shadow);
  }
}

@media (max-width: 575.98px) {
  .modal-content {
    height: 100%;
    border: 0;
    border-radius: 0;
  }
  .modal-header,
  .modal-footer {
    border-radius: 0;
  }
  .modal-body {
    overflow-y: auto;
  }
}
@media (max-width: 767.98px) {
  .modal-content {
    height: 100%;
    border: 0;
    border-radius: 0;
  }
  .modal-header,
  .modal-footer {
    border-radius: 0;
  }
  .modal-body {
    overflow-y: auto;
  }
}
@media (max-width: 991.98px) {
  .modal-content {
    height: 100%;
    border: 0;
    border-radius: 0;
  }
  .modal-header,
  .modal-footer {
    border-radius: 0;
  }
  .modal-body {
    overflow-y: auto;
  }
}
@media (max-width: 1199.98px) {
  .modal-content {
    height: 100%;
    border: 0;
    border-radius: 0;
  }
  .modal-header,
  .modal-footer {
    border-radius: 0;
  }
  .modal-body {
    overflow-y: auto;
  }
}
@media (max-width: 1399.98px) {
  .modal-content {
    height: 100%;
    border: 0;
    border-radius: 0;
  }
  .modal-header,
  .modal-footer {
    border-radius: 0;
  }
  .modal-body {
    overflow-y: auto;
  }
}
