@charset "UTF-8";

html {
    scroll-behavior: smooth;
}

:root {
  --theme-color: #EEC443;
  --secondary-color: #c4a872;
  --btn-text-color: #3a2c02;
  --neutral-color: #b3b3b3;
  --font-mincho: "Zen Old Mincho", serif;
  --vote-linear: linear-gradient(180deg, #f8e7a2 0%, #e4bd73 50%, #745301 100%);
  --cta-linear: linear-gradient(179.82deg,
      #f8f4de 0.16%,
      #f7d133 64.95%,
      #c8a853 99.84%);
}

a {
  text-decoration: none;
}

body {
  background-color: black;
  font-family: "noto sans jp";
  line-height: 1.4;
  color: #fff;
}

.accordion__title {
  list-style-type: none;
}

.accordion .accordion__title::-webkit-details-marker {
  display: none;
}

.sp-no-display {
  display: block;
}

.accordion {
  display: none;
}

.voting-page {
  width: 80%;
  max-width: 1040px;
  margin: 0 auto;
}

.title {
  display: block;
  font-family: var(--font-mincho);
  font-weight: 900;
  font-size: clamp(2rem, 8vw, 2.6rem);
  text-align: center;
  color: var(--theme-color);
  width: 100%;
  padding-bottom: 4px;
  border-bottom: solid 1px var(--theme-color);
  padding-top: 8rem;
}

.sub-title {
  display: block;
  font-family: var(--font-mincho);
  font-weight: 700;
  font-size: 1.4rem;
  text-align: center;
  color: var(--theme-color);
  width: 100%;
}

.break-sp-only {
  display: none;
}


.bg-fixed {
  position: relative;
  width: 100vw;
  position: fixed;
  top: 0;
  left: 0;
}

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

.bg-img-left {
  position: absolute;
  top: 0;
  left: 0;
  width: 8%;

}

.bg-img-right {
  position: absolute;
  top: 0;
  right: 0;
  width: 8%;
}

.first-view {
  display: flex;
  flex-direction: column;
}

.first-view__container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 120px;
  gap: 16px;
}

.first-view__logo {
  width: 25%;
}

.first-view__title {
  font-family: var(--font-mincho);
  font-weight: 800;
  font-size: 3rem;
}

.cta-btn {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 18px 0;
  border-radius: 60px;
  background: var(--cta-linear);
  color: black;
  box-shadow: 0px 0px 0px 2px var(--secondary-color) inset;
}

.first-view__cta-btn {
  font-weight: 700;
  font-size: 24px;
  line-height: 1;
  width: 30%;
  min-width: 300px;
  margin: 1.8rem auto;
  position: relative;
  color: var(--btn-text-color);
}

.first-view__award-car--voting-ended {
  text-align: center;
  margin: 36px 0;
}

.first-view__cta-btn--voting-ended{
  font-weight: 700;
  font-size: 36px;
}

.cta-btn__arrow {
  position: absolute;
  right: 18px;
  width: 24px;
}

.first-view__gift {
  display: flex;
  align-items: center;
  justify-content: space-around;
  align-content: center;
  margin: 0 auto;
  flex-wrap: wrap;
}

.first-view__award-car {
  flex-basis: 100%;
  width: 100%;
}

.first-view__left-img {
  width: 45%;
}

.first-view__gift-box {
  width: 55%;
  display: flex;
  align-content: space-between;
  justify-content: space-between;
  flex-direction: column;
  align-items: center;
}

.first-view__gift-title {
  text-align: center;
  display: block;
  width: 100%;
  line-height: 2.5rem;
}

.first-view__gift-title-img {
  width: 100%;
}

.first-view__gift-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 1rem 0;
}

.first-view__gift-text {
  display: flex;
  align-content: center;
  flex-direction: column;
  gap: 1rem;
  color: #E6C23E;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  text-align: center;
  font-size: 22px;
}

.first-view__gift-period {
  width: 100%;
  margin-top: auto;
}

.first-view__amazon-img {
  width: 44%;
  padding: 16px;
}

.about {
  padding-bottom: 2rem;
}

.about__container {
  display: flex;
}

.about__wrapper {
  margin: 0;/*横幅不具合のため調整*/
}

.about__title {
  margin-bottom: 2rem;
}

.about__sub-title {
  padding: 1rem 0;
}

.about__img {
  width: 40%;
  align-self: center;
}

.vote-part {
  display: flex;
  flex-direction: column;
  position: relative;
}

.vote-part__title {
  padding-top: 6rem;
}

.vote-part__sub-title {
  padding-top: 1rem;
  margin-bottom: 2rem;
  font-size: 2rem;
}

.voting-box {
  background-color: #181818;
  padding: 2rem;
}

.voting-box__number-board {
  transform: translateZ(0);
  position: relative;
  display: block;
  padding: 2rem 0;
  width: 70%;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  border-radius: 12px;
  background: linear-gradient(171deg, rgba(34, 26, 1, 0) 0%, #7D5E00 100%);
  box-shadow: inset 0px 4px 4px rgba(255, 191, 0, 0.16);
  filter: drop-shadow(0px 0px 20px rgba(255, 195, 42, 0.22)) drop-shadow(0px 0px 15px rgba(255, 195, 42, 0.47));
}

.number-board__display {
  font-size: 1.5rem;
  font-weight: 600;
}

.number-board__display--bigger {
  font-size: 4rem;
  font-weight: bold;
  margin-right: 4px;
}

  .number-board__note {
    font-size: 14px;
    color: #cdcdcd;
  }

.voting-box__list {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  gap: clamp(1.875rem, 2.7vw, 2.375rem);
  flex-wrap: wrap;
  padding: 4rem 0;
}

.voting-box__card {
  display: flex;
  align-content: flex-start;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: calc(90% / 3);
  gap: 10px;
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.2) 0%,
      rgba(255, 255, 255, 0.001) 49.5%,
      rgba(255, 255, 255, 0.2) 100%),
    #000000;
  border: 1px solid #887656;
  box-shadow: 0px 2px 12px rgba(255, 255, 128, 0.3);
  border-radius: 12px;
}

.history {
  background: #7B0008;
}

.history .history__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 45%;
  width: 100%;
  height: 52px;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  color: var(--btn-text-color);
  background: #C4A872;
  border-radius: 60px;
}

.history__wrap {
  display: flex;
  padding: 30px 5%;
  align-items: center;
  justify-content: space-around;
}

.history__x-vote {
  width: 45%;
  text-align: center;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.history__x-vote .thanks__link-x {
  margin: 16px auto;
  font-size: clamp(20px, 1.8vw, 22px);
  width: 100%;
  padding: 12px 0;
}

.history__x-vote .thanks__message-x {
  font-size: clamp(16px, 1.8vw, 22px);
}


.history__x-vote .heading-design::before {
  width: 30px;
  height: 27px;
}


.history__x-vote .heading-design::after {
  width: 30px;
  height: 27px;
}

.info__img {
  width: 100%;
  border-radius: 12px 12px 0 0;
  object-fit: cover;
}

.info__text-box {
  line-height: 1.6;
  padding: 0 8px;
  margin-left: 4px;
  margin-top: 4px;
}

.info__text-box--large-margin {
  margin-bottom: 8px;
}

.info__brand {
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--secondary-color);
  opacity: 0.5;
}

.info__model {
  font-size: 0.875rem;
  letter-spacing: 1px;
  color: var(--secondary-color);
}

.info__note {
  display: block;
  font-size: 0.75rem;
  color: var(--secondary-color);
  background: black;
  opacity: 0.8;
  text-align: left;
  padding: 6px;
}


.info__to-modal {
  display: block;
  text-align: right;
  font-weight: 350;
  font-size: 0.75rem;
  line-height: 13px;
  color: #8f8f8f;
  padding-top: 4px;
  text-decoration: underline;
}

.voting-box__btn-group {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  gap: 8px;
}

.voting-box__btn {
  font-size: 15px;
  display: block;
  text-align: center;
  color: var(--btn-text-color);
  background: var(--vote-linear);
  border: 2px solid var(--secondary-color);
  height: 28px;
  width: 28px;
  line-height: 28px;
  border-radius: 30px;
  cursor: pointer;
}

.voting-box__btn--disabled {
    opacity: 0.5;
    pointer-events: none;
}

.voting-box__btn--round {
  font-weight: 900;
}

.voting-box__btn--all {
  font-weight: 700;
  padding: 0 10px;
}

.voting-box__number {
  display: block;
  width: max-content;
  background: rgba(255, 255, 255, 0.2);
  padding: 10px;
  border-radius: 4px;
  box-shadow: 0px 0px 0px 1px var(--theme-color) inset;
  cursor: default;
}

.voting-box__number-bigger {
  font-size: 24px;
  padding: 0 4px;
  line-height: 1;
}

.voting-box__note-one {
  padding: 1rem 0;
}

.vote-part__cta-container {
  box-sizing: border-box;
  --cta-box-width: calc(99.5vw - 1040px);
  position: sticky;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  background: #7b0008;
  padding: 1rem 0;
  margin: 0 calc(50% - 50vw);
  width: 99.5vw;
  padding: 1rem calc(var(--cta-box-width) / 2);
}

.vote-part__btn {
  font-size: 20px;
  font-weight: 600;
  padding: 12px;
  display: block;
  text-align: center;
  color: var(--btn-text-color);
  background: var(--vote-linear);
  box-shadow: 0px 0px 0px 1px var(--theme-color) inset;
  border-radius: 60px;
  width: 45%;
  cursor: pointer;
}

.vote-part__cta-btn {
  position: relative;
  font-size: 20px;
  font-weight: bold;
  padding: 12px;
  width: 45%;
}

.cta-btn__arrow--right {
  transform: rotate(0.75turn);
}

.gift__title {
  padding: 1.5rem 0;
  width: 100%;
  background: linear-gradient(90deg,
      rgba(0, 0, 0, 0.2) 0%,
      rgba(107, 84, 47, 0.4) 15%,
      #dbab5f 50%,
      rgba(110, 86, 48, 0.4) 85%,
      rgba(0, 0, 0, 0.2) 100%);
  text-align: center;
  font-family: var(--font-mincho);
  font-weight: 700;
  font-size: 2rem;
  margin-top: 8rem;
  margin-bottom: 2rem;
}

.gift__wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70%;
  margin: auto;
}

.vote-official-x {
  text-align: center;
}

.gift__intro-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: auto;
}

.gift__sub-title {
  font-size: 32px;
}

.gift__amazon-policy {
  font-size: 0.8rem;
  line-height: 1.2;
  color: var(--neutral-color);
  list-style: none;
  padding-left: 1.5em;
  margin-left: 0.5em;
}

.gift__amazon-policy li {
  text-indent: -1.5em;
  padding: 4px 0;
}

.gift__amazon-policy--link {
  text-decoration: underline;
  color: var(--neutral-color);
  cursor: pointer;
}

.gift__intro-img {
  width: 60%;
  margin: 1rem auto;
}


.contact {
  display: flex;
  align-content: space-around;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  gap: 12px;
  border: 1px solid var(--neutral-color);
  border-radius: 12px;
  width: 60%;
  padding: 16px 0 24px 0;
  margin: 0 auto;
  margin-bottom: 5rem;
}

.contact__title {
  font-size: 1.25rem;
  padding: 12px 0;
}

.contact__text {
  color: #fff;
}

.contact__text--url {
  pointer-events: auto;
  cursor: pointer;
}

.contact__text--mincho {
  font-family: var(--font-mincho);
  border-bottom: solid 1px white;
}

.disabled {
  display: none;
}

/* ------------------------------------- modal ------------------------------------- */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
  transform: translateZ(0);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}

.modal__box {
	background: #1C1C1C;
	backdrop-filter: blur(6px);
  transform: translateZ(0);
	-webkit-backdrop-filter: blur(6px);
	max-width: 1840px;
	width: calc(100% - 150px);
	border-radius: 4px;
	animation: modalopen 0.2s ease-in;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	border: solid 1px #151515;
	transition: all .2s;
	box-shadow: 0px 2px 15px 0px rgba(255, 255, 128, 0.30);
}

.modal__inner {
	max-height: 60dvh;
	overflow-y: scroll;
	padding: 0 60px 80px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.modal__inner::-webkit-scrollbar {
  display:none;
 }

.modal__inner-section {
  margin-left: calc(50% - 50vw); 
  margin-right: calc(50% - 50vw);
}

.modalclose {
	position: absolute;
	top: 10px;
	right: 10px;
	cursor: pointer;
	font-size: 34px;
	border: solid 4px #808080;
	color: #808080;
	border-radius: 100%;
}

.modalopen {
	cursor: pointer;
}

@keyframes modalopen {
  0% { opacity: 0; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}
@-webkit-keyframes modalopen {
  0% { opacity: 0; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

/* ------------------------------------- 車説明 ------------------------------------- */
.slick-dots li button:before {
	color: #8B8B8B!important;
	font-size: 12px!important;
}

.slick-dots li.slick-active button:before {
	color: #fff!important;
	font-size: 12px!important;
}

.slick-list {
	height: 400px!important;
}

.slick-prev,
.slick-next {
	position: absolute!important;
	top: 50%!important;
	transform: translateY(-50%)!important;
	z-index: 1!important;
}
.slick-prev {
	left: calc(50% - 380px - 13px)!important;
}
.slick-next {
	right: calc(50% - 380px - 13px)!important;
}
.slick-prev::before,
.slick-next::before {
	position: absolute;
	font-size: 26px!important;
	left: 50%;
	transform: translate(-50%, -50%);
}

.car__photo {
	position: relative;
}

.car__photo::before {
	content: "";
	max-width: 1196px;
	width: 90%;
	height: 400px;
	margin: 0 auto;
	border-radius: 8px;
	border-bottom: 2px solid var(--www-japancarawards-com-nero-30, rgba(255, 255, 255, 0.30));
	background: var(--www-japancarawards-com-linear-nero-nero-nero, linear-gradient(90deg, rgba(255, 255, 255, 0.05)0%, rgba(255, 255, 255, 0.20)50%, rgba(255, 255, 255, 0.05)100%));
	text-align: center;
	position: absolute;
	left: 50%;
	transform: translate(-50%, 0);
	top: 0;
	z-index: -1;
}

.car__photo-image {
	margin: auto;
	object-fit: cover;
}

.slick-slide img {
	transform: scale(.7);
	opacity: 0.3;
	margin: 60px 100px 0;
	max-width: 700px;
}

.slick-center img {
	opacity: 1;
	transform: scale(1);
	margin-top: 0;
}

.slide-one {
	margin: 0 0 20px;
}

.slide-one img {
	opacity: 1;
	margin: auto;
	max-width: 700px;
	display: block;
	width: 100%;
}

.slick-slider .slick-track {
	display: flex;
	justify-content: center;
}

.car__title {
	max-width: 1130px;
	margin: auto;
	font-size: clamp(15px, 1.8vw, 28px);
	font-weight: 300;
}

.car__brand {
	display: block;
	margin: 0 0 10px;
	font-size: clamp(13px, 1.8vw, 24px);
	color: #8D8D8D;
}

.car__detail-text {
	max-width: 1090px;
	max-height: 170px;
	margin: 50px auto 0;
	padding: 20px;
	background-color: #000;
	line-height: 1.8;
	overflow-y: auto;
}


/* ------------------------------------- 投票数表示 ------------------------------------- */
.vote__number {
	padding: 24px 16px;
	margin: 40px auto 0;
	border-radius: 8px;
	border-bottom: 2px solid var(--www-japancarawards-com-nero-30, rgba(255, 255, 255, 0.30));
	background: var(--www-japancarawards-com-linear-nero-nero-nero, linear-gradient(90deg, rgba(255, 255, 255, 0.05)0%, rgba(255, 255, 255, 0.20)50%, rgba(255, 255, 255, 0.05)100%));
	text-align: center;
	position: relative;
}

.vote__previous {
	padding: 0 0 30px;
	color: #B3B3B3;
	font-size: clamp(16px, 1.8vw, 24px);
}

.vote__previous-title {
	font-weight: bold;
	margin: 0 0 20px;
}

.vote__current {
	font-size: 20px;
}

.vote__current-car-name {
	margin: 0 0 20px;
	padding: 20px 0 5px;
	border-top: 1px solid #AA9163;
	font-size: clamp(19px, 1.8vw, 36px);
	line-height: 1.5;
}

.vote__current-car-name span {
	display: inline-block;
}

.vote__current-number {
	font-size: clamp(16px, 1.8vw, 20px);
}


/* ------------------------------------- 投票フォーム ------------------------------------- */
.vote__amazon {
	max-width: 1196px;
	padding: 24px;
	margin: 50px auto 0;
	border-radius: 8px;
	background: var(--Linear, linear-gradient(180deg, #F8F4DE 0.16%, #F7D133 64.95%, #C8A853 99.84%));
	color: #000;
}

.vote__amazon-heading {
	font-size: clamp(14px, 1.8vw, 20px);
}

.vote__amazon-message {
	margin: 10px 0 20px;
	font-size: clamp(11px, 1.8vw, 14px);
}

.vote__amazon-email {
	width: 100%;
	font-size: clamp(13px, 1.8vw, 16px);
	padding: 14px 24px;
	border-radius: 4px;
	border: none;
  box-sizing: border-box;
}

.vote__amazon-button {
	max-width: 640px;
	height: 40px;
	margin: 20px auto 0;
	position: relative;
	font-size: 20px;
}

.view_award_history {
  display: flex;
  justify-content: center;
  padding: 80px 0 40px 0;
}
.view_award_history__btn {
  transform: translateZ(0);
  font-size: 20px;
  font-weight: 600;
  padding: 12px;
  display: block;
  text-align: center;
  color: #fff;
  border-radius: 60px;
  width: 45%;
  background: linear-gradient(180deg, rgba(34, 26, 1, 0) 0%, #7D5E00 100%);
  box-shadow: inset 0px 4px 4px rgba(255, 191, 0, 0.16);
  filter: drop-shadow(0px 0px 16px rgba(255, 195, 42, 0.22)) drop-shadow(0px 0px 12px rgba(255, 195, 42, 0.47));
}

/* ------------------------------------- 投票後画面 ------------------------------------- */
.vote__thanks {
	text-align: center;
}

.thanks__heading {
	font-size: clamp(16px, 1.8vw, 48px);
	margin: 70px 0;
}

.thanks__message,
.thanks__message-x {
	font-size: clamp(16px, 1.8vw, 32px);
}

.thanks__message-x {
	color: #C4A872;
	font-weight: bold;
}

.thanks__message-button {
	max-width: 640px;
	height: 40px;
	margin: 20px auto 0;
	position: relative;
	font-size: 20px;
}

.thanks__message-button .material-symbols-outlined {
	position: absolute;
	left: 30px;
}

.heading-design {
	position: relative;
	display: inline-block;
}

.heading-design::before {
	content: "";
	position: absolute;
	left: -50px;
	bottom: 0;
	background: url(../../img/heading-design.svg);
	background-size: cover;
	width: 37px;
	height: 34px;
}

.heading-design::after {
	content: "";
	position: absolute;
	right: -50px;
	bottom: 0;
	background: url(../../img/heading-design.svg);
	background-size: cover;
	width: 37px;
	height: 34px;
	transform: scale(-1, 1);
}

.thanks__link-x {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 32px auto;
	padding: 12px 28px;
	gap: 10px;
	color: var(--btn-text-color);
	background: var(--vote-linear);
	box-shadow: 0px 0px 0px 1px var(--theme-color) inset;
	border-radius: 60px;
  width: 50%;
}

.thanks__icon-x {
	width: 24px;/*サイズ調整*/
}

/*-------------------------------------------------------------------*/

@media screen and (max-width: 1135px) {

  /*可視性確保のため２列並びに調整*/
  .voting-box__card {
    width: calc(90% / 2);
    flex-grow: 1;
  }
}

  /* 最後のカードのみ幅と伸長を調整 */
@media screen and (min-width:904px) and (max-width:1135px) {
	.voting-box__list .voting-box__card:last-child {
    flex-grow: 0;
    width: calc(95% / 2);
  }
}

/*-------------------------------------------------------------------*/
@media (min-width: 1001px) {
  .vote-official-x {
    text-align: center;
  }

  .gift__x {
    margin: 20px 0 0 22px;
  }

  .gift__wrapper .thanks__link-x {
    margin: 16px 0;
    font-size: clamp(14px, 0.8vw, 19px);
    padding: 12px 16px;
  }
  .gift__wrapper .thanks__icon-x {
    width: 20px;
  }

  .gift__wrapper .thanks__message-x {
    font-size: clamp(13px, 0.8vw, 17px);
  }

  .gift__wrapper .heading-design::before {
    left: -30px;
    width: 22px;
    height: 20px;
}

	.gift__wrapper .heading-design::after {
		right: -30px;
		width: 22px;
    height: 20px;
	}
}

/*-------------------------------------------------------------------*/
@media (max-width: 1000px){
	.modal__box {
		width: 92%;
		padding: 24px 0 0;
	}

	.modalclose {
		font-size: 24px;
		top: 8px;
    right: 8px;
		background: #111;
	}

	.modal__inner {
		padding: 0 3% 20px;
		overflow-x: hidden;
		max-height: 80dvh;
	}

	.car__photo-item {
		box-sizing: border-box;
		width: 65vw;
	}

	.car__photo::before {
		content: none;
	}

  .slick-arrow {
    display: none;
  }
  .slick-arrow::before {
    display: none;
  }
	
	.slick-list {
		height: 35vw!important;
	}

	.slick-slide {
		padding: 0 0.5vw;
	}


	.slick-slide img {
		width: 100%;
		height: 35vw;
		transform: scale(0.7);
		margin: 0;
	}

	.slick-center img {
		transform: scale(1.2);
	}

	.slide-one .car__photo-item {
		width: 100%;
		padding: 0 3%;
	}

	.slide-one img {
		max-width: initial;
	}

	.car__detail-text {
		margin: 20px auto 0;
		padding: 5px 10px;
		max-height: 35vh;
	}

	.vote__number {
		margin: 40px auto 0;
		padding: 36px 10px 20px;
	}

	.vote__previous {
		padding: 0 0 20px;
	}

	.vote__previous-title {
		margin: 0 0 10px;
	}

	.vote__current-car-name {
		margin: 0 0 20px;
	}

	.vote__amazon {
		padding: 10px;
		margin: 40px auto 0;
	}

	.vote__amazon-button {
		height: 30px;
	}

	.thanks__message-button {
		height: 30px;
	}

	.thanks__heading {
		margin: 30px 0 20px;
	}

	.heading-design::before {
		left: -20px;
		width: 16px;
    height: 14px;
	}

	.heading-design::after {
		right: -20px;
		width: 16px;
    height: 14px;
	}

	.thanks__link-x {
		margin: 22px auto;
    width: 70%;
	}

  .gift__x {
    margin-top: 20px
  }

  .history__x-vote .heading-design::before {
    left: -40px;
  }

  .history__x-vote .heading-design::after {
    right: -40px;
  }

}

/*-------------------------------------------------------------------*/

@media screen and (max-width: 904px) {

  /* 904px以下（タブレット用） */
  .voting-page {
    width: calc(100% - 64px);
    padding: 32px;
  }

  .title {
    font-size: clamp(2rem, 5.5vw, 2.6rem);
  }

  .sub-title {
    font-size: clamp(1.6rem, 3vw, 2rem);
  }

  .first-view__container {
    order: 1;
    padding-top: 80px;
  }

  .first-view__cta-btn {
    order: 3;
  }

  .first-view__title {
    font-size: clamp(2.2rem, 6vw, 4rem);
  }

  .first-view__logo {
    width: 40%;
    max-width: 260px;
  }

  .first-view__cta-btn {
    width: 70%;
  }

  .first-view__cta-btn--voting-ended {
    font-size: clamp(2.2rem, 6vw, 4rem);
  }

  .first-view__award-car {
    order: 2;
  }

  .first-view__left-img {
    width: 60%;
    order:  1;
  }

  .first-view__gift-box {
    width: 100%;
    order: 3;
  }

  .first-view__gift {
    flex-direction: column;
    order: 2;
  }

  .first-view__gift-text {
    font-size: clamp(1rem, 2.7vw, 1.5rem);
  }

  .first-view__gift-title {
    font-size: clamp(20px, 4vw, 2rem);
  }

  .first-view__gift-title::before,
  .first-view__gift-title::after {
    width: clamp(20px, 4vw, 46px) ;
  }

  .about__container {
    display: flex;
    flex-direction: column-reverse;
  }

  .about__img {
    width: 100%;
  }

  .about__text {
    font-weight: 300;
  }

  .about__sub-title {
    padding: 2rem 0 1rem 0;
  }


  .vote-part__sub-title {
    margin-bottom: 120px;
  }

  .voting-box__number-board {
    width: 80%;
  }

  .voting-box {
    padding: 4rem 1rem;
    background-color: transparent;
  }

  .voting-box__list {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0;
    gap: 0.5rem;
  }

  .voting-box__card {
    width: 90%;
    gap: 10px;
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0.01) 0%,
        rgba(255, 255, 255, 0.1) 49.5%,
        rgba(255, 255, 255, 0.2) 100%),
      #000000;
  }

  .voting-box__info {
    display: flex;
  }

  .info__img {
    width: 45%;
    border-radius: 12px 0 0 0;
  }

  .info__img--no-votes {
  border-radius: 12px 0 0 12px;
}

  .info__text-box {
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    background: black;
    border-radius: 0 12px 0 0;
  }

  .info__to-modal {
    padding-top: 0;
    padding-bottom: 4px;
  }

  .info__note {
  padding: 0;
  }
  .vote-part__cta-btn {
    width: 50%;
  }

  .vote-part__btn {
    width: 33%;
  }

  .vote-part__cta-container {
    padding: 1rem 32px;
    margin: 0 calc(50% - 50vw);
  }

  .history__wrap {
    flex-direction: column-reverse;
  }

  .history .history__btn {
    max-width: none;
    margin-top: 10px;
    width: 200px
  }

  .history__x-vote {
    width: 100%;
  }

  .gift__title {
    font-size: clamp(1.8rem, 4vw, 2.7rem);
    padding: 1rem 0;
    background: linear-gradient(90deg,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(107, 84, 47, 0.5) 8%,
        #dbab5f 50%,
        rgba(110, 86, 48, 0.5) 92%,
        rgba(0, 0, 0, 0.1) 100%);
  }

  .gift__wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
  }

  .gift__intro-img {
    width: 80%;
    align-self: center;
    margin: 1rem 0;
  }


  .contact {
    width: 100%;
    gap: 8px;
  }

  .contact__title {
    font-size: 1.125rem;
    padding: 8px 0;
  }

  .contact__text {
    font-size: 0.875rem;
  }

  .view_award_history__btn {
    width: 33%;
    font-size: 1.125rem;
  }
}

/*-------------------------------------------------------------------*/

@media screen and (max-width: 600px) {
  /* 600px以下（スマホ用） */

  .break-sp-only {
    display: block;
  }

  .voting-page {
    width: calc(100% - 32px);
    padding: 16px;
  }

  .title {
    font-size: clamp(1.125rem, 4.5vw, 2rem);
  }

  .first-view__container {
    padding-top: 40px;
  }

  .first-view__title {
    font-size: clamp(1rem, 6vw, 2.2rem);
    width: 100%;
    text-align: center;
  }

  .first-view__logo {
    width: 50%;
  }

  .first-view__cta-btn {
    width: 90%;
    min-width: 200px;
    font-size: 20px;
    margin: 1rem auto;
  }

  .first-view__cta-btn--voting-ended {
    font-size: clamp(1rem, 6vw, 2.2rem);
  }

  .first-view__left-img {
    width: 80%;
  }

  .first-view__gift-title {
    font-size: clamp(0.875rem, 4vw, 1.5rem);
  }

  .first-view__gift-text {
    font-size: clamp(0.8rem, 4vw, 1.125rem);
  }

  .first-view__gift-title::before,
  .first-view__gift-title::after {
    width: clamp(2px, 4vw, 35px) ;
  }

  .about__sub-title {
    font-size: 5vw;
  }

  .vote-part__sub-title {
    margin-bottom: 2rem;
    font-size: clamp(1.0rem, 7vw, 2rem);
  }

  .number-board__display--bigger {
    font-size: 2.4rem;
    line-height: 1.5;
  }

  .voting-box {
    padding: 1rem 0;
  }

  .voting-box__card {
    width: 95%;
  }

  .voting-box__number-board--voting-active {
    padding: 1.5rem 0;
    width: 95%;
  }

  .voting-box__note-one {
    padding: 1rem 4px;
  }

  .voting-box__note-two {
    font-size: 0.875rem;
    padding: 0 4px;
  }

  .vote-part__cta-container {
    padding: 1rem 16px;
  }

  .vote-part__btn {
    font-size: 18px;
  }

  .vote-part__cta-btn {
    font-size: 18px;
  }

  .gift__title {
    font-size: clamp(1.4rem, 4vw, 2.7rem);
  }

  .gift__sub-title {
    font-size: 24px;
  }

  .view_award_history__btn {
    width: 50%;
  }

  .sp-no-display {
    display: none;
  }

  .accordion {
    display: block;
    box-sizing: border-box;
    width: 100%;
    border-radius: 8px;
    background-color: #000;
    padding: 1em 2em;
    box-shadow: 0px 0px 0px 1px var(--theme-color) inset;
  }

  .accordion__title {
    list-style: none;
    padding: 16px;
    cursor: pointer;
    font-size: 1rem;
    color: white;
    background-image: url("../../img/accordion-arrow-down.svg");
    background-position: right 8px center;
    background-size: 28px;
    background-repeat: no-repeat;
  }

  /*開いているときに適用するスタイル*/
  .accordion[open] .accordion__title {
    color: var(--theme-color);
    background-image: url("../../img/accordion-arrow-up.svg");
  }

  .accordion[open] .accordion__text {
    padding-top: 24px;
    border-top: solid 1px var(--theme-color);
  }

  /*開いているときの中身のテキスト*/
  .accordion__text {
    padding: 16px;
    margin-top: 0;
    color: white;
  }

  /*spの際の間隔調整*/
  .history__x-vote .thanks__link-x {
    margin: 8px auto;
    width: 70%;
  }
  .history .history__btn {
    margin-top: 16px;
  }
}

@media (hover: hover) {
  .modalopen:hover,
  .cta-btn:hover,
  .vote-part__btn:hover,
  .voting-box__btn:hover,
  .history__btn:hover,
  .view_award_history__btn:hover,
  .thanks__link-x:hover {
    transform: translateZ(0);
    filter: brightness(1.2);
  }
}