div:has(> input[name="ANS1"]),
div:has(> input[name="ANS2"]),
label:has(> input[name="ANS2"]),
#contact div[style*="padding-left: 20px"],
.voting-anke-title,
#contact #center1 .centerbox .mainFrame .mainCont h4.title,
input[type="submit"] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

#contents {
  overflow: visible;
}

#contents .mainCont {
  max-width: 1000px;
  margin-left: auto !important;
  margin-right: auto !important;
}

#contents .voting-page * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

#contents #main-column-full {
  /* overflow-x: hidden; */
  padding: 0 !important;
}

#contents .voting-page {
  line-height: 2.2;
  color: #333;
  max-width: none;
  padding: 0;
}

#contact #center1 .centerbox h3.title1 {
  display: none;
}

/* KV セクション */

#contents .kv-wrap {
  /* width: 100vw; */
  width: 100%;
  /* margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw); */
  background: #fff;
  /* 必要なら背景色を指定 */
  position: relative;
  overflow-x: hidden;
}

@media (max-width: 768px) {
  #contents .kv-wrap {
    /* margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw); */
  }
}

#contents .kv-wrap .img,
#contents .kv-wrap picture,
#contents .kv-wrap img {
  display: block;
  margin: 0 auto;
  width: 100%;
  height: auto;
}

@media (max-width: 1440px) {

  #contents .kv-wrap .img,
  #contents .kv-wrap picture,
  #contents .kv-wrap img {
    /* max-width: 100vw; */
    max-width: 100%;
  }
}

#contents .voting-kv {
  text-align: center;
  padding: 24px 0 0;
  /* margin-bottom: 1.5em;*/
  margin-bottom: 0;
}

@media (max-width: 480px) {
  #contents .voting-kv {
    /* padding: 24px 0px 8px; */
    padding: 24px 0px 0px;
    margin-bottom: 0;
  }
}

#contents .voting-kv-title {
  font-size: 27px;
  font-weight: bold;
  color: #0196e2;
  letter-spacing: 0.05em;
  margin-bottom: 1em;
  line-height: 1.6;
}

@media (max-width: 480px) {
  #contents .voting-kv-title {
    font-size: 21px;
    margin-bottom: 0em;
  }
}

#contents .voting-kv-subtitle {
  font-size: 1.4em;
  font-weight: bold;
  color: #000;
  letter-spacing: 0.02em;
}

#contents .voting-ended-text {
  font-size: 27px;
  font-weight: bold;
  color: red;
  text-align: center;
  margin-bottom: 2em;
}

@media (max-width: 480px) {
  #contents .voting-ended-text {
    font-size: 21px;
    margin-bottom: 1.5em;
  }
}

/* イントロダクション */
#contents .voting-intro {
  margin: 2.2em 0;
  padding: 0 8px;
}

.voting-intro-content {
  font-size: 16px;
  line-height: 2.2;
}

/* 投票方法 */
#contents .voting-method {
  margin: 3em 0 2.2em;
  padding: 0 8px;
}

#contents .voting-method-title {
  font-size: 1.25em;
  color: #000;
  margin-bottom: 1em;
  font-weight: bold;
  border-bottom: 1px solid #ccc;
}

#contents .voting-method-list {
  list-style: none;
  font-size: 15px;
  line-height: 2.2;
}

#contents .voting-method-item {
  margin: 0em 0;
  padding-left: 2em;
  position: relative;
}

.voting-method-item:before {
  content: attr(data-number);
  position: absolute;
  left: 0;
  font-weight: bold;
}

#contents .voting-method-note {
  margin: 0;
  margin: 0em 0;
  padding-left: 1em;
  position: relative;
}

.voting-method-note:before {
  content: "※";
  position: absolute;
  left: 0;
}

/* 投票期間・結果発表 */
#contents .voting-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 2.2em 8px;
}

#contents .voting-info-item {
  padding-bottom: 20px;
}

.voting-info-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

#contents #center1 .voting-info-title {
  font-size: 1.25em;
  color: #000;
  border-bottom: 1px solid #ccc;
  margin-bottom: 0.5em;
}

#contents .voting-info-content {
  font-size: 16px;
  line-height: 2.2;
}

/* エントリー作品一覧 */
#contents .voting-entries {
  counter-reset: entry-counter;
  margin: 4em 0;
  padding: 0 8px;
}

#contents .voting-entries-title {
  font-size: 2em;
  color: #0196e2;
  margin-bottom: 2em;
  font-weight: bold;
  /* border: 2px solid; */
  margin: 80px 0 0;
  padding: 40px 0px;
  text-align: center
}

#contents .voting-entries-title span {
  font-size: 0.7em;
  display: block;
  border-top: 2px solid #0196e2;
  padding-top: 1em;
  margin-top: 1em;
  text-align: left;
}

@media (max-width: 480px) {
  #contents .voting-entries-title {
    line-height: 1.5;
  }
}

#contents .voting-anke-title {
  font-size: 1.75em;
  color: #0196e2;
  margin-bottom: 2em;
  font-weight: bold;
  border-bottom: 2px solid;
  margin: 120px 0 48px;
  padding: 16px;
  text-align: center;
}

@media (max-width: 480px) {

  #contents .voting-anke-title,
  #contents .voting-entries-title {
    margin-top: 64px;
    margin-bottom: 0;
    padding: 24px 0;
  }
}

@media (max-width: 480px) {
  #contents .voting-anke-title {
    margin-bottom: 40px;
  }
}

#contact #center1 .centerbox .mainCont input[type="button"],
#contact #center1 .centerbox .mainCont input[type="submit"] {
  font-size: 1rem;
}

#contact .mainFrame .mainCont a.voting-entry-btn {
  font-size: initial;
  color: #fff;
  text-decoration: none;
}

@media (max-width: 556px) {
  #contact .mainFrame .mainCont a.voting-entry-btn {
    margin: auto;
  }
}

div.enquete-section #contact #center1 .centerbox .mainCont .mainFrame .mainCont form[name=ENQ] input[name=ANS2] {
  margin: 12px -5px 12px 4px;
  width: 31px;
  position: relative;
  top: 2px;
}



/* 作品カード */
#contents .voting-entry {
  counter-increment: entry-counter;
  display: flex;
  gap: 40px;
  margin: 4em auto;
  padding: 0;
  border: none;
  background: transparent;
  position: relative;
  flex-wrap: wrap;
  max-width: 1000px;
  align-items: center;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 2px solid #0196e2;
  scroll-margin-top: 100px;
}

@media (max-width: 640px) {
  #contents .voting-entry {
    margin-bottom: 64px;
    padding-bottom: 24px;
  }
}

@media (max-width: 480px) {
  #contents .voting-entry {
    margin-bottom: 56px;
    margin-top: 16px;
    scroll-margin-top: 120px;
  }
}

#contents .voting-entry:last-child {
  /* border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0; */
}

#contents .voting-result-page .voting-entry {
  justify-content: center;
}

#contents .voting-result-page .voting-entry:first-child {
  border-top: 2px solid #0196e2;
  padding-top: 40px;
}

@media (max-width: 556px) {
  #contents .voting-result-page .voting-entry {
    flex-direction: row;
    gap: 24px;
    padding-bottom: 40px;
  }
}




#contents .voting-entry-slider {
  flex: 0 0 25%;
  position: relative;
}

#contents .voting-result-page .voting-entry-slider {
  flex: 0 0 33%;
}

@media (max-width: 556px) {
  #contents .voting-result-page .voting-entry-slider {
    flex: 0 0 80%;
  }
}

#contents .voting-slider-container {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: #f0f0f0;
}

#contents .voting-slider-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

#contents .voting-slider-image.active {
  opacity: 1;
}

#contents .voting-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 0px 4px 4px;
  cursor: pointer;
  font-size: 32px;
  transition: background 0.3s;
  line-height: 1;
}

.voting-slider-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

.voting-slider-btn-prev {
  left: 10px;
}

.voting-slider-btn-next {
  right: 10px;
}

#contents .voting-entry-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

#contents .voting-result-page .voting-entry-info {
  flex: 0;
  flex-basis: 292px;
}

#contents .voting-entry-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 1em;
}

@media (max-width: 480px) {
  #contents .voting-entry-header {
    justify-content: center;
  }
}

#contents .voting-result-page .voting-entry-header {
  margin: 1.2em 0 2em;
}

#contents .voting-entry-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #ddd;
  overflow: hidden;
  order: 2;
}

.voting-entry-photo img {
  width: 100%;
  /* 100% */
  height: 100%;
  /* 100% */
  object-fit: cover;
}

@media (max-width: 480px) {
  .voting-entry-num {
    text-align: center;
  }

}

#contents .voting-entry-num.rank {
  font-family: 'bureaugrotesquethreethree', sans-serif;
  letter-spacing: 0.12em;
  border-bottom: 2px solid;
  font-size: 52px;
  font-weight: bold;
  line-height: 1;
  position: relative;
  top: 6px;
  border-bottom: none;
  color: #000;
}

#contents .voting-entry-num.rank span {
  font-size: 0.72em;
}

#contents .voting-entry-num.rank::before {
  display: none !important;
}


#contents .voting-entry-num::before {
  content: "" counter(entry-counter, decimal-leading-zero);
  font-size: 52px;
  font-weight: bold;
  line-height: 1;
  /* margin-bottom: 20px; */
  width: 100%;
  color: #000;
  border-bottom: 0px solid;
  /* padding: 16px 8px; */
  /* font-style: unset; */
  font-family: 'bureaugrotesquethreethree', sans-serif;
  letter-spacing: 0.02em;
  border-bottom: 2px solid;
  position: relative;
  top: 6px;
}

@media (max-width: 480px) {

  #contents .voting-entry-num::before {
    /* text-align: center; */
    top: 0;
  }
}

#contents .voting-entry-name {
  font-size: 1.4em;
  font-weight: bold;
}

#contents .voting-entry-role {
  font-size: 0.8em;
  color: #666;
}

@media (max-width: 480px) {
  #contents .voting-entry-role {
    max-width: 16em;
    line-height: 1.5;
  }
}

#contents .voting-entry-concept-title {
  font-size: 17px;
  font-weight: bold;
  margin-top: 0.5em;
  margin-bottom: 0em;
  background: #d1ebf7;
  padding: 16px;
}

#contents .voting-entry-concept {
  font-size: 16px;
  line-height: 2.1;
  margin-bottom: 2em;
  background: #d1ebf7;
  padding: 0 16px 16px;
}

#contents a.voting-entry-btn {
  margin-top: auto;
  padding: 15px 30px;
  background: #000;
  color: #fff;
  border: none;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
  align-self: flex-start;
  display: none;
  text-decoration: none;
}

#contents a.voting-entry-btn:hover {
  text-decoration: none;
  background-color: #0196e2;
}

#contents .voting-result-page .voting-entry-btn {
  display: block;
}

@media (max-width: 480px) {
  .voting-thumbnails {
    grid-template-columns: repeat(3, 1fr);
  }
}

#contents .voting-thumbnails {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0px;
  margin-top: 10px;
}

#contents .voting-thumbnail-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
}

#contents .voting-thumbnail-img.active {
  border-color: #0196e2;
}

@media (max-width: 480px) {
  .voting-page {
    line-height: 1.8;
  }

  .voting-kv-title {
    font-size: 22px;
    margin-bottom: 0.5em;
  }

  .voting-kv-subtitle {
    font-size: 1.2em;
  }

  .voting-intro {
    margin: 1.8em 0;
  }

  .voting-intro-content {
    line-height: 1.8;
  }

  .voting-method {
    margin: 1.8em 0;
  }

  .voting-method-title {
    font-size: 1.2em;
    margin-bottom: 0;
  }

  .voting-method-list,
  .voting-method-note {
    line-height: 1.8;
  }

  .voting-info {
    grid-template-columns: 1fr;
  }

  .voting-info-title {
    font-size: 1.2em;
    margin-bottom: 0;
  }

  .voting-info-content {
    line-height: 1.8;
  }

  .voting-entries {
    margin: 2.5em 0;
  }

  .voting-entries-title {
    font-size: 1.2em;
    margin-bottom: 0;
  }

  .voting-entry {
    flex-direction: column;
    padding: 0;
    margin: 2.5em 0;
  }

  .voting-entry-slider {
    flex: 0 0 auto;
  }

  .voting-entry-concept {
    line-height: 1.8;
  }

}

div.enquete-section #contact #center1 .centerbox .mainCont .mainFrame .mainCont form[name=ENQ] h4.title {
  font-size: 125%;
  line-height: 1.5;
  padding-bottom: 0.25em;
}

#contact table td {
  font-size: 90%;
}