@charset "UTF-8";
/* 1000px幅で16px、狭い画面では12pxまで縮小 */
html {
  font-size: clamp(12px, 1.6vw, 16px);
}

body {
  font-size: 1rem;
  color: #fff;
  background-color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1.6;
  -webkit-text-size-adjust: none;
  word-break: normal;
  word-wrap: break-word;
  overflow-x: hidden;
  font-feature-settings: "palt" 1;
  font-kerning: normal;
}

body {
  animation: whiteIn 1s ease 0s 1 normal;
  -webkit-animation: whiteIn 1s ease 0s 1 normal;
}

@keyframes whiteIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@-webkit-keyframes whiteIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

a:link {
  text-decoration: underline;
  color: #eb5d41;
  transition: all 0.2s;
}

a:visited {
  text-decoration: underline;
  color: #eb5d41;
}

a:hover {
  text-decoration: underline;
  color: #1f788a;
}

.wrap {
  width: 100%;
  overflow: hidden;
}

.header {
  width: 100%;
}

.header-inner {
  position: relative;
  width: 90%;
  max-width: 1000px;
  margin: 1rem auto 0;
}

.header-img {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
}

.header-img img {
  width: 100%;
}

.content {
  position: relative;
  height: 100%;
}

.inner {
  position: relative;
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
}

.floating-vote-btn {
  position: fixed;
  right: max(12px, env(safe-area-inset-right));
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 1000;
  display: block;
  width: clamp(76px, 10vw, 120px);
}

.btn-image img {
  background-color: #fccf00;
  display: block;
  width: 100%;
  height: auto;
  border: #000 solid 3px;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 1);
  transition: all 0.2s;
}

.ranking {
  position: relative;
  width: 100%;
  margin: 3rem 0 0;
  padding: 0 6% 2rem;
  isolation: isolate;
  color: #fff;
}

.ranking::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: #000;
  pointer-events: none;
  clip-path: polygon(
    24px 0,
    calc(100% - 24px) 0,
    100% 24px,
    100% calc(100% - 24px),
    calc(100% - 24px) 100%,
    24px 100%,
    0 calc(100% - 24px),
    0 24px
  );
}

.ranking-inner {
  position: relative;
  width: 100%;
}

.ranking-title {
  width: 66%;
  margin: 0 auto 2rem;
  transform: rotate(-5deg);
}

.ranking-title img {
  display: block;
  width: 100%;
}

.ranking-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.4rem 1rem;
}

.ranking-place {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3em;
  margin-bottom: 0.3rem;
  font-size: clamp(0.75rem, 1.7vw, 1.1875rem);
  font-weight: 900;
  white-space: nowrap;
}

.ranking-place img {
  width: 1.4em;
  height: 1em;
  object-fit: contain;
}

.ranking-item:first-child .ranking-place {
  color: #fccf00;
}
.ranking-item:nth-child(3) .ranking-place {
  color: #d99000;
}

.ranking-photo {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.ranking-name {
  padding: 0.15em 0;
  background: #fff;
  color: #000;
  text-align: center;
  font-size: clamp(0.625rem, 1.5vw, 1rem);
  font-weight: 900;
  line-height: 1.3;
}

.ranking-note {
  grid-column: 1 / -1;
  margin: 0;
}

.ranking-note img {
  width: 72%;
}

.ranking-note span {
  display: none;
}

.about {
  position: relative;
  width: 100%;
  margin: 12rem auto 4rem;
  padding: 4rem 4rem 4rem;
  border: #000 solid 3px;
  background-color: rgba(255, 255, 255, 0.8);
  z-index: 2;
}

.about-sec {
  width: 100%;
  margin: 6rem auto 4rem;
}

.about-heading-1 {
  position: absolute;
  top: -110px;
  left: 0;
  width: 100%;
  text-align: center;
}

.about-heading-1 img {
  width: 80%;
  transform: rotate(-5deg);
}

.c-1 {
  position: absolute;
  top: -9%;
  right: -10%;
  width: 50%;
  z-index: 1;
}

.cap-1 {
  position: absolute;
  top: -7%;
  right: 4%;
  width: 6.5%;
  z-index: 1;
  transform: rotate(10deg);
}

.about-outer {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 2;
}

.about-frame {
  width: 48%;
  padding: 2rem;
  background-color: #000;
}

.hagaki-border {
  border: #ff7bac solid 3px;
}

.web-border {
  border: #3fa9f5 solid 3px;
}

.about-frame-inner {
  height: 16em;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.about-frame-inner-2 {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 1rem 0 0;
}

.about-frame-text {
  color: #fff;
  font-size: min(3.6vw, 1.125rem);
  font-weight: 600;
  text-align: center;
  line-height: 1.4;
}

p.hagaki-text {
  display: inline-block;
  color: #ff7bac;
  font-size: 140%;
  font-weight: 900 !important;
}

p.web-text {
  display: inline-block;
  color: #3fa9f5;
  font-size: 140%;
  font-weight: 900;
}

.about-frame-note {
  margin: 1em 0 0;
  font-size: 0.875rem;
  font-weight: 400;
  text-align: left;
}

.about-frame-note p {
  padding-left: 1em;
  text-indent: -1em;
}

span.rotate {
  display: inline-block;
  transform: rotate(15deg);
  padding: 0 0 0 0.2em;
}

.btn-anchor {
  width: 40%;
  margin: 2rem auto 3rem;
  transition: all 0.2s;
}

.btn-anchor .btn-image img {
  height: auto;
  background-color: #fccf00;
}

.follow-btn .btn-image img,
.comics-btn .btn-image img {
  background-color: #fccf00;
}

.back-btn .btn-image img {
  background-color: #fccf00;
}

.thanks-btn .btn-image img {
  background-color: #fccf00;
}

.floating-vote-btn img,
.vote-btn img {
  background-color: #fccf00;
}

.c-2 {
  position: absolute;
  top: 20%;
  left: -15%;
  width: 55%;
  z-index: 1;
}

.about-heading-2 {
  position: relative;
  width: 100%;
  margin: 0 0 2rem;
  text-align: center;
  z-index: 2;
}

.about-heading-2 img {
  width: 86%;
  transform: rotate(-5deg);
}

.prize-image {
  position: relative;
  width: 50%;
  margin: 0 auto;
  z-index: 2;
}

.about-text {
  position: relative;
  width: 65%;
  margin: 1.5rem auto;
  z-index: 2;
}

.about-text img {
  filter: drop-shadow(2px 2px 0 #fff);
}

.method-heading {
  width: 36%;
  margin: 3rem auto 2rem;
}

.hagaki {
  width: 50%;
  margin: 0 auto 1rem;
}

.ticket {
  display: grid;
  grid-template-columns: 491fr 483fr;
  gap: 1rem;
  width: 60%;
  margin: 0 auto 2rem;
}

.ticket-item {
  min-width: 0;
  margin: 0;
  text-align: center;
}

.ticket-item img {
  display: block;
  width: 100%;
  height: auto;
}

.ticket-item figcaption {
  margin-top: 0.3em;
  font-size: 14px;
  line-height: 1.5;
}

.prize {
  color: #000;
}

.prize-text {
  width: 100%;
}

.prize-text p {
  font-size: 0.875rem;
  padding-left: 1em;
  text-indent: -1em;
}

.prize-heading {
  width: 100%;
  margin: 1em 0 1em;
  padding: 0 0 0.3em 0.8em;
  font-weight: 600;
  border-left: #ff7bac solid 4px;
  border-bottom: #000 solid 2px;
}

.prize-address {
  font-size: 1rem;
  font-weight: 600;
}

.prize-period {
  font-size: 1.125rem;
  font-weight: 800;
}

.prize-period span {
  font-size: 0.875rem;
  font-weight: 400;
}

.prize-note {
  font-size: 0.875rem;
  font-weight: 400;
}

.prize-note p {
  padding-left: 1em;
  text-indent: -1em;
}

.web-vote {
  position: relative;
  color: #000;
  z-index: 2;
}

.web-vote-inner {
  width: 64%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.web-vote-num {
  width: 10%;
  margin: 0 0 1rem;
}

.web-vote-text {
  width: 85%;
  margin: 0 0 1rem;
  font-size: 1.375rem;
  font-weight: 800;
  line-height: 1.4;
}

.web-vote-note {
  font-size: 1.125rem;
  font-weight: 600;
}

.follow-btn {
  width: 100%;
  margin: 0 0 1rem;
}

.follow-btn img {
  width: 50%;
  margin: 0 0 0 15%;
}

.c-3 {
  position: absolute;
  bottom: -1%;
  right: -8%;
  width: 50%;
  z-index: 1;
}

.vote-outer {
  position: relative;
  padding: 4rem 0;
}

.vote-inner {
  position: relative;
  width: 100%;
}

.vote-list-title {
  position: relative;
  width: 100%;
  padding: 0 0 0 29%;
  z-index: 3;
}

.vote-list-title img {
  width: 96%;
  transform: translateY(-40%) rotate(-5deg);
}

.cut-4 {
  position: absolute;
  top: -140%;
  left: -16%;
  width: 50%;
  z-index: 1;
}

.cap-2 {
  position: absolute;
  top: -120%;
  left: 16%;
  width: 9%;
  z-index: 3;
  transform: rotate(10deg);
}

.vote-bg {
  scroll-margin-top: 4rem;
  position: relative;
  z-index: 3;
  isolation: isolate;
  background-color: #fccf00;
}

@media screen and (max-width: 743px) {
  .vote-bg {
    scroll-margin-top: 7rem;
  }
}

.vote-bg-clip {
  position: absolute;
  inset: 0;
  z-index: -1;
  clip-path: inset(0);
  pointer-events: none;
}

.vote-bg-clip::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url(../img/bg-vote.png) top left / auto 100% no-repeat;
  pointer-events: none;
}

.vote-box {
  position: relative;
  width: 100%;
  margin: 0 auto 2rem;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 35px 25px;
  z-index: 3;
}

.vote-item {
  position: relative;
  font-optical-sizing: auto;
  font-style: normal;
  color: #fff;
  background-color: #000;
  box-shadow: 3px 3px 0 #c6a000;
  transition: all 0.2s;
}

.thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
}

.thumb img {
  width: 100%;
  border: #000 3px solid;
}

.name {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90%;
  height: 3.2em;
  margin: 0 auto;
  padding: 0 5%;
  text-align: center;
  color: #fccf00;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  border-bottom: #fccf00 1px solid;
}

.cap {
  width: 100%;
  padding: 0.6em 5%;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.4;
}

.num {
  position: absolute;
  top: -0.6em;
  left: -0.6em;
  width: 20%;
  aspect-ratio: 1 / 1;
  background-color: #c20813;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 500;
  font-family: "Anton", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.vote-item-inner > .select-btn {
  display: block;
  color: inherit;
  text-decoration: none;
}

.vote-item:hover {
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0);
}

.footer-bg {
  background-color: rgba(255, 255, 255, 0.8);
}

.comics {
  position: relative;
  width: 60%;
  margin: 0 auto 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}

.comics-title {
  position: relative;
  width: 100%;
  margin: 4rem 0 1.5rem;
}

.comics-cover {
  position: relative;
  width: 50%;
}

.comics-text {
  position: relative;
  width: 45%;
}

.comics-text img {
  width: 100%;
}

.comics-btn {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 45%;
}

.comics-title,
.comics-cover,
.comics-text,
.comics-btn {
  z-index: 2;
}

.cut-5 {
  pointer-events: none;
  position: absolute;
  top: 36%;
  right: -26%;
  width: 90%;
  z-index: 1;
}

.cap-3 {
  pointer-events: none;
  position: absolute;
  top: 46%;
  right: 2.5%;
  width: 10%;
  z-index: 3;
  transform: rotate(10deg);
}

.footer {
  width: 100%;
  padding: 2rem 0;
  color: #000;
  font-size: 0.75rem;
  text-align: center;
}

.social {
  width: 100%;
  margin: 0 0 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.social-item:first-child {
  width: 8%;
  padding: 0 1.2%;
  line-height: 0;
}

.social-item {
  width: 6%;
  padding: 0 1.2%;
}

@media screen and (min-width: 1px) and (max-width: 743px) {
  .pc {
    display: none;
  }

  .tab {
    display: none;
  }

  .btn-image img {
    border: #000 solid 2px;
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 1);
  }

  .header {
    width: 100%;
  }

  .inner {
    width: 100%;
  }

  .ranking {
    margin-top: 2rem;
    padding: 0 3% 1.5rem;
  }

  .ranking::before {
    clip-path: polygon(
      20px 0,
      calc(100% - 20px) 0,
      100% 20px,
      100% calc(100% - 20px),
      calc(100% - 20px) 100%,
      20px 100%,
      0 calc(100% - 20px),
      0 20px
    );
  }

  .ranking-title {
    width: 90%;
    margin: 0 auto 1.5rem;
    transform: rotate(-5deg);
  }

  .ranking-title img {
    display: block;
    width: 100%;
  }

  .ranking-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.7rem 0.7rem;
    padding: 0 0.3rem;
  }

  .ranking-place {
    font-size: clamp(0.75rem, 3vw, 1.125rem);
  }

  .ranking-name {
    font-size: clamp(0.6875rem, 2.8vw, 1rem);
  }

  .ranking-note {
    grid-column: 3 / 5;
    align-self: start;
    padding-top: 1rem;
    text-align: center;
  }

  .ranking-note img {
    width: 90%;
  }

  /* SPデザイン追加調整（既存ルールは保持） */
  .header-inner {
    width: 100%;
    margin-top: 0;
  }

  .floating-vote-btn {
    width: 70px;
    right: 8px;
    bottom: max(8px, env(safe-area-inset-bottom));
  }

  .about {
    width: 92%;
    margin: 6rem auto 5rem;
    padding: 2.5rem 3% 4rem;
  }

  .about-heading-1 {
    top: -70px;
    left: -2%;
    text-align: left;
  }

  .about-heading-1 img {
    width: 100%;
  }

  .c-1 {
    top: -5.5%;
    right: -22%;
    width: 80%;
  }

  .cap-1 {
    top: -4%;
    right: 5%;
    width: 10%;
  }

  .about-outer {
    flex-direction: column;
    gap: 1rem;
  }

  .about-frame {
    width: 100%;
    padding: 1rem 4%;
  }

  .about-frame-inner {
    height: auto;
    min-height: 12rem;
    padding: 1rem 0;
  }

  .about-frame-inner-2 {
    padding: 1rem 0;
  }

  .about-frame-text {
    width: 100%;
    font-size: clamp(12px, 3.5vw, 18px);
    line-height: 1.6;
  }

  .about-frame-note {
    font-size: clamp(10px, 2.7vw, 14px);
    line-height: 1.6;
  }

  .btn-anchor {
    width: 78%;
    margin: 1.5rem auto 3rem;
  }

  .c-2 {
    top: 50.5%;
    left: -30%;
    width: 80%;
  }

  .about-heading-2 {
    margin-bottom: 1.5rem;
  }

  .about-heading-2 img {
    width: 110%;
    max-width: none;
    margin-left: -5%;
  }

  .prize-image {
    width: 90%;
  }

  .about-text {
    width: 100%;
    margin: 1.5rem auto;
  }

  .method-heading {
    position: relative;
    width: 60%;
    margin: 2rem auto 1.5rem;
    z-index: 2;
  }

  .hagaki {
    position: relative;
    width: 100%;
    z-index: 2;
  }

  .ticket {
    width: 100%;
    margin-bottom: 1.5rem;
  }

  .ticket-item figcaption {
    font-size: 12px;
  }

  .prize-text,
  .prize-address {
    font-size: clamp(12px, 3.2vw, 16px);
    line-height: 1.7;
  }

  .prize-text p,
  .prize-note {
    font-size: clamp(12px, 3.2vw, 16px);
    line-height: 1.7;
  }

  .prize-heading {
    margin: 1.5rem 0 0.75rem;
    font-size: 1.15rem;
  }

  .prize-period {
    font-size: clamp(13px, 3.5vw, 18px);
  }

  .prize-period span {
    display: block;
    font-size: 0.9rem;
  }

  .web-vote-inner {
    width: 100%;
    align-items: flex-start;
  }

  .web-vote-num {
    width: 9%;
  }

  .web-vote-text {
    width: 87%;
    font-size: clamp(12px, 3.4vw, 17px);
    line-height: 1.5;
  }

  .web-vote-note {
    width: 60%;
    font-size: clamp(10px, 2.8vw, 14px);
    line-height: 1.6;
  }

  .follow-btn img {
    width: 60%;
    margin: 0 auto;
  }

  .c-3 {
    bottom: -3%;
    right: -12%;
    width: 62%;
    z-index: 1;
  }

  .vote-outer {
    width: 92%;
    padding: 2rem 0 1rem;
  }

  .vote-list-title {
    width: 100%;
    padding: 0 0 0 16%;
  }

  .vote-list-title img {
    width: 100%;
    transform: translateY(-70%) rotate(-5deg);
  }

  .cut-4 {
    top: -150px;
    left: -22%;
    width: 80%;
  }

  .cap-2 {
    top: -100px;
    left: 0;
    width: 10%;
    transform: rotate(-10deg);
  }

  .vote-box {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem 0.7rem;
  }

  .vote-item {
    min-width: 0;
  }

  .name {
    width: 94%;
    padding: 0 2%;
    height: auto;
    min-height: 3em;
    font-size: clamp(11px, 2.8vw, 14px);
    overflow-wrap: anywhere;
  }

  .cap {
    font-size: clamp(11px, 2.8vw, 14px);
    line-height: 1.5;
  }

  .num {
    width: 24%;
    font-size: clamp(14px, 4vw, 20px);
    letter-spacing: 0.03em;
  }

  .comics {
    width: 90%;
    margin-bottom: 1.5rem;
  }

  .comics-title {
    margin: 2.5rem 0 1rem;
  }

  .cut-5 {
    top: 35%;
    right: -26%;
    width: 90%;
  }

  .cap-3 {
    right: 2%;
    width: 11%;
  }

  .social-item:first-child {
    width: 20%;
    padding: 0 3%;
  }

  .social-item {
    width: 14%;
    padding: 0 3%;
  }

  .footer {
    padding: 1.5rem 0 2rem;
    font-size: 0.85rem;
  }

  /* スマホの装飾を応募パネルより手前に表示 */
  .web-vote {
    z-index: 4;
  }
  .c-3 {
    z-index: 3;
  }
  .vote-bg {
    z-index: 3;
  }
  .cut-4 {
    z-index: 2;
  }
  .cap-2 {
    z-index: 4;
  }
}

@media screen and (min-width: 744px) and (max-width: 1024px) {
  .sp {
    display: none;
  }

  .ranking {
    padding: 0 5% 2rem;
  }

  .about {
    padding: 3rem 5%;
  }

  .vote-box {
    gap: 20px 15px;
  }

  .vote-outer {
    padding: 4rem 0 2rem;
  }
}

@media screen and (min-width: 1025px) {
  .sp {
    display: none;
  }
  .tab {
    display: none;
  }

  .floating-vote-btn img:hover,
  .btn-anchor img:hover,
  .about-btn img:hover,
  .comics-btn img:hover,
  .follow-btn img:hover,
  .thanks-btn img:hover,
  .back-btn img:hover {
    transform: translate(3px, 3px);
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0);
  }

  .inner {
    max-width: 1000px;
  }

  a.btn-hover img,
  button.btn-hover img {
    -webkit-transition: -weblit-transform 0.3s;
    -o-transition: -o-transform 0.3s;
    -webkit-transition: -webkit-transform 0.3s;
    transition: -webkit-transform 0.3s;
    -o-transition: transform 0.3s;
    transition: transform 0.3s;
    transition:
      transform 0.3s,
      -webkit-transform 0.3s;
  }
  a.btn-hover img:hover,
  button.btn-hover img:hover {
    -webkit-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
  }
}
