.topbg {
  margin: 0 auto;
  text-align: center;
  background: rgba(32, 35, 103, 1);
}

.topbg img {
  width: 100%;
  max-width: 1000px;
}

main {
  margin: 0 auto;
}

.bumonTitle {
  width: 100%;
  background: rgb(221, 151, 0);
  margin: 0 auto;
  text-align: center;
}
.bumonTitle-in {
  max-width: 1000px;
  width: 100%;
  background: rgb(221, 151, 0);
  background: linear-gradient(
    270deg,
    rgba(221, 151, 0, 1) 0%,
    rgba(228, 221, 126, 1) 50%,
    rgba(221, 151, 0, 1) 100%
  );
  margin: 0 auto;
  text-align: center;
  padding: clamp(0.9375rem, 0.2679rem + 3.5714vw, 2.5rem) 0;
}
.outline {
  color: #000000;
  font-size: clamp(1.25rem, 0.1786rem + 5.7143vw, 3.75rem);
  font-weight: bold;
  -webkit-text-stroke: 2px #fff;
  text-stroke: 2px #fff;
}
@media screen and (max-width: 500px) {
  .outline {
    -webkit-text-stroke: 1px #fff;
    text-stroke: 1px #fff;
  }
}

.top-content {
  margin-top: min(4.5vw, 45px);
}

.content {
  text-align: center;
  font-size: clamp(0.75rem, 0.5357rem + 1.1429vw, 1.25rem);
  width: 90%;
}

.cate,
.shotyo,
.special {
  width: 100%;
  max-width: 1000px;
  text-align: center;
  margin: 0 auto;
}

.cate_box,
.shotyo-area,
.special-area {
  margin-bottom: min(3vw, 30px) 0;
  text-align: center;
}

.cate_box > img,
.shotyo-area > img,
.special-area > img {
  width: 100%;
}

.cate_btns {
  margin: min(3vw, 30px) auto;
  width: 95%;
  display: flex;
}

img.btn1 {
  width: 87%;
}

[id^="main-"],
#shotyoRes,
#specialRes {
  width: 100%;
}

.rankmain {
  width: 100%;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(
    153deg,
    rgba(226, 204, 83, 1) 0%,
    rgba(255, 255, 255, 1) 48%,
    rgba(255, 255, 255, 1) 52%,
    rgba(226, 204, 83, 1) 100%
  );
}

.rankmain-in {
  margin: 0 auto;
  width: 100%;
  max-width: 1000px;
}

.bumonbanner {
  padding-top: min(5vw, 50px);
  margin: 0 auto min(2vw, 20px);
  width: 80%;
  text-align: center;
}

.bumonbanner img {
  width: 100%;
}

.rank {
  width: 70%;
  position: relative;
  background: rgba(32, 35, 103, 1);
  background: radial-gradient(
    circle,
    rgba(0, 98, 169, 1) 0%,
    rgba(32, 35, 103, 1) 100%
  );
  margin: 0 auto;
  text-align: center;
}

.rank a:hover {
  opacity: 1;
  filter: brightness(140%);
}

.kuuhakuNo1 {
  height: min(13vw, 130px);
}

.kuuhakuother {
  height: min(12vw, 120px);
}

.No1ribbon {
  width: 40%;
  margin: max(-13vw, -130px) 0 min(4vw, 40px);
}

.otherribbon {
  width: 25%;
  margin: max(-13vw, -130px) 0 min(2vw, 20px);
}

.rank1 .onsen-img {
  /* 内枠のスタイル */
  width: 80%;
  display: inline-block;
  position: relative;
  border: solid min(1.2vw, 12px);
  border-image: linear-gradient(
      90deg,
      rgba(185, 150, 31, 1) 0%,
      rgba(228, 205, 106, 1) 25%,
      rgba(180, 149, 59, 1) 50%,
      rgba(227, 222, 141, 1) 75%,
      rgba(200, 162, 49, 1) 100%
    )
    1;
}

.rank1 .onsen-img::before {
  /* 外枠のスタイル */
  content: "";
  position: absolute;
  top: max(-2.5vw, -25px);
  bottom: max(-2.5vw, -25px);
  left: max(-2.5vw, -25px);
  right: max(-2.5vw, -25px);
  border: solid min(0.7vw, 7px);
  border-image: linear-gradient(
      141deg,
      rgba(185, 150, 31, 1) 0%,
      rgba(228, 205, 106, 1) 25%,
      rgba(180, 149, 59, 1) 50%,
      rgba(228, 205, 106, 1) 75%,
      rgba(185, 150, 31, 1) 100%
    )
    1;
  z-index: 2;
}

.rank2 .onsen-img {
  /* 内枠のスタイル */
  width: 80%;
  display: inline-block;
  position: relative;
  border: solid min(1.2vw, 12px);
  border-image: linear-gradient(
      90deg,
      rgba(179, 180, 179, 1) 0%,
      rgba(192, 192, 192, 1) 15%,
      rgba(179, 180, 179, 1) 30%,
      rgba(255, 255, 255, 1) 45%,
      rgba(192, 192, 192, 1) 50%,
      rgba(179, 180, 179, 1) 70%,
      rgba(255, 255, 255, 1) 75%,
      rgba(179, 180, 179, 1) 100%
    )
    1;
}

.rank2 .onsen-img::before {
  /* 外枠のスタイル */
  content: "";
  position: absolute;
  top: max(-2.5vw, -25px);
  bottom: max(-2.5vw, -25px);
  left: max(-2.5vw, -25px);
  right: max(-2.5vw, -25px);
  border: solid min(0.7vw, 7px);
  border-image: linear-gradient(
      90deg,
      rgba(179, 180, 179, 1) 0%,
      rgba(192, 192, 192, 1) 15%,
      rgba(179, 180, 179, 1) 30%,
      rgba(255, 255, 255, 1) 45%,
      rgba(192, 192, 192, 1) 50%,
      rgba(179, 180, 179, 1) 70%,
      rgba(255, 255, 255, 1) 75%,
      rgba(179, 180, 179, 1) 100%
    )
    1;
  z-index: 2;
}

.rank3 .onsen-img {
  /* 内枠のスタイル */
  width: 80%;
  display: inline-block;
  position: relative;
  border: solid min(1.2vw, 12px);
  border-image: linear-gradient(
      90deg,
      rgba(217, 117, 79, 1) 0%,
      rgba(221, 130, 71, 1) 10%,
      rgba(232, 184, 117, 1) 20%,
      rgba(228, 164, 100, 1) 25%,
      rgba(221, 130, 71, 1) 34%,
      rgba(211, 80, 49, 1) 46%,
      rgba(221, 130, 71, 1) 61%,
      rgba(232, 184, 117, 1) 74%,
      rgba(221, 130, 71, 1) 84%,
      rgba(211, 80, 49, 1) 93%
    )
    1;
}

.rank3 .onsen-img::before {
  /* 外枠のスタイル */
  content: "";
  position: absolute;
  top: max(-2.5vw, -25px);
  bottom: max(-2.5vw, -25px);
  left: max(-2.5vw, -25px);
  right: max(-2.5vw, -25px);
  border: solid min(0.7vw, 7px);
  border-image: linear-gradient(
      90deg,
      rgba(217, 117, 79, 1) 0%,
      rgba(221, 130, 71, 1) 10%,
      rgba(232, 184, 117, 1) 20%,
      rgba(228, 164, 100, 1) 25%,
      rgba(221, 130, 71, 1) 34%,
      rgba(211, 80, 49, 1) 46%,
      rgba(221, 130, 71, 1) 61%,
      rgba(232, 184, 117, 1) 74%,
      rgba(221, 130, 71, 1) 84%,
      rgba(211, 80, 49, 1) 93%
    )
    1;
  z-index: 2;
}

.rank4 .onsen-img {
  /* 内枠のスタイル */
  width: 80%;
  display: inline-block;
  position: relative;
}

.rank5 .onsen-img {
  /* 内枠のスタイル */
  width: 80%;
  display: inline-block;
  position: relative;
}

.onsen-img img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.rank h3 {
  width: 80%;
  font-size: min(3.5vw, 35px);
  color: #ffffff;
  font-weight: bold;
  margin: min(4vw, 40px) auto min(1vw, 10px);
}

.rank h2 {
  width: 80%;
  font-size: min(4.5vw, 45px);
  color: #ffffff;
  font-weight: bold;
  padding: min(2vw, 20px) 0 min(3vw, 30px);
}

.line1 {
  margin: 0 auto;
  width: 86.5%;
  border: solid min(0.2vw, 2px) #decc65;
}

.line2 {
  margin: 0 auto;
  width: 86.5%;
  border: solid min(0.2vw, 2px) #cccccc;
}

.line3 {
  margin: 0 auto;
  width: 86.5%;
  border: solid min(0.2vw, 2px) #f15a24;
}

.line4 {
  margin: 0 auto;
  width: 86.5%;
  border: solid min(0.2vw, 2px) #29abe2;
}

.line5 {
  margin: 0 auto;
  width: 86.5%;
  border: solid min(0.2vw, 2px) #39b54a;
}

.bumonback {
  padding-top: min(5vw, 50px);
}

.bumonback a {
  color: rgba(32, 35, 103, 1);
  font-size: min(2.5vw, 20px);
}

#ButtonGroup {
  display: flex;
  flex-direction: column;
  padding-top: min(7vw, 70px);
  padding-bottom: min(8vw, 80px);
  margin: 0 auto;
  text-align: center;
}
.TopBackButton {
  margin: min(2vw, 20px) auto min(4vw, 40px);
  background: linear-gradient(#bbbbbb, #ffffff, #bbbbbb);
  border: 2px solid#bbbbbb;
}
.SearchBackButton {
  margin: min(2vw, 20px) auto min(4vw, 40px);
  background: linear-gradient(orange, rgb(255, 243, 73), orange);
  border: 2px solid rgb(255, 153, 0);
}

.ButtonTxt {
  width: 35%;
  border-radius: min(1vw, 10px);
  padding: min(1.5vw, 15px) 0;
  font-size: min(1.7vw, 17px);
  font-weight: 600;
}

@media screen and (max-width: 960px) {
  .content {
    font-size: 2.5vw;
  }

  .TopBackButton {
    margin: 2vw auto 7vw;
  }
  .ButtonTxt {
    width: 55%;
    padding: 2vw 0;
    font-size: 3vw;
  }
}

@media screen and (max-width: 500px) {
  .content {
    font-size: 3vw;
    line-height: 130%;
  }

  #ButtonGroup {
    margin: 0 auto;
  }
  .TopBackButton {
    margin: 3vw auto 8vw;
  }
  .ButtonTxt {
    width: 60%;
    padding: 2.5vw 0;
    font-size: 3.5vw;
  }
}

/* 省庁・特別賞
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */
.syotyo-title {
  margin: 0 auto;
  text-align: center;
  background: rgba(32, 35, 103, 1);
}
.syotyo-title .center {
  margin: 0 auto;
  text-align: center;
  width: 100%;
  max-width: 1000px;
  background: rgba(32, 35, 103, 1);
  background: radial-gradient(
    circle,
    rgba(0, 98, 169, 1) 0%,
    rgba(32, 35, 103, 1) 100%
  );
}
.syotyo-title .center .center-in {
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.syotyo-title .center .center-in h1{
  font-size: clamp(1.875rem, 0.2679rem + 8.5714vw, 5.625rem);
  color: #fff;
  font-weight: bold;
  text-shadow: 10px 14px 0px rgba(0, 0, 0, 0.4);
  margin: 0;
}
.syotyo-title .center .center-in img{
  width: auto;
  height: clamp(2.1875rem, 0.4464rem + 9.2857vw, 6.25rem);
  margin-right: 20px;
}
.syotyo-title .center p{
  font-size: clamp(0.625rem, 0.3571rem + 1.4286vw, 1.25rem);
  color: #fff;
}
@media screen and (max-width: 500px) {
  .syotyo-title .center .center-in {
    padding: 20px 10px 10px;
  }
  .syotyo-title .center .center-in h1{
    text-shadow: 5px 7px 0px rgba(0, 0, 0, 0.4);
  }
  .syotyo-title .center .center-in img{
    margin-right: 10px;
  }
  .syotyo-title .center p{
    width: 90%;
    text-align: left;
  }
}

.shotyoribbon {
  width: 90%;
  margin: max(-13vw, -65px) 0 0;
}
.syotyo-text{
  width: 90%;
  font-size: clamp(0.625rem, 0.3571rem + 1.4286vw, 1.25rem);
  color: #fff;
  text-align: left;
}