@charset "UTF-8";
/* ================================================================================ */
/* CustomHair Page */
/* 髪型投稿ページのスタイル */
/* ================================================================================ */
/*
	Xtra Small Device : 320pxまで
	Small Device : 960pxまで
	Middle Device : 961pxから
	Large Device : 1200pxから
	Xtra Large Device : 1440pxから
	2Xtra Large Device : 1960pxまで
*/
@import url("https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,800&display=swap");
body {
  background-image: url(../images/customhair/bg-hougan.jpg);
  background-size: 100% auto;
  background-repeat: repeat-y;
}

.customhair {
  background-image: url(../images/customhair/bg_design.png), url(../images/customhair/bg_cross.png);
  background-size: 100% auto, 100% auto;
  background-repeat: no-repeat, no-repeat;
  background-position: center 75.6rem, center 36rem;
}
@media only screen and ( max-width: 766px ) {
  .customhair {
    background-image: url(../images/customhair/bg_design_sp.png), url(../images/customhair/bg_cross.png);
    background-size: 100% auto, 184% auto;
    background-position: center 74rem, center 26rem;
  }
}
.customhair.is-individual {
  background: none;
}
.customhair:after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url(../images/customhair/bg_dots.png);
  background-size: 50rem auto;
  z-index: 1;
}
@media only screen and ( max-width: 766px ) {
  .customhair footer {
    padding-top: 12rem;
  }
}
@media only screen and ( max-width: 766px ) {
  .customhair .page-top {
    top: 4rem;
  }
}
.customhair .footer-contents {
  background-color: #fff;
  border-top: 4rem solid #FFE7EF;
  padding: 2.4rem 12rem;
}
@media only screen and ( max-width: 766px ) {
  .customhair .footer-contents {
    padding: 4rem 2rem;
  }
}
.customhair .footer-top {
  margin-bottom: 0;
}
.customhair .page-top::before, .customhair .page-top::after {
  background-color: #FF76A6;
}
.customhair .bg-loop {
  border-top: 0.2rem solid #FF76A6;
  border-bottom: 0.2rem solid #FF76A6;
}
.customhair .bg-loop:before {
  background: url(../images/customhair/footer-loop.png) repeat-x;
  background-size: auto 2.2rem;
}
.customhair .footer-nav__title {
  color: #FF76A6;
}
.customhair .copyright {
  background-color: #FFE7EF;
  padding: 2.4rem 12rem;
  margin: 0;
}
@media only screen and ( max-width: 766px ) {
  .customhair .copyright {
    padding: 2.4rem 2rem;
  }
}
.customhair .copyright small {
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.5;
  color: #A9AAB2;
}

.js-floating {
  will-change: transform;
}

.customhair-decoration01 {
  position: absolute;
  z-index: 1;
  max-width: 47.6rem;
  top: -20.4rem;
  right: -6.3rem;
}
@media only screen and ( max-width: 766px ) {
  .customhair-decoration01 {
    max-width: 34.6rem;
    top: -24rem;
    right: -10rem;
  }
}

.customhair-decoration02 {
  position: absolute;
  z-index: 1;
  max-width: 4.6rem;
  top: 14.8rem;
  left: 9rem;
}
@media only screen and ( max-width: 766px ) {
  .customhair-decoration02 {
    max-width: 5.1rem;
    left: 0.8rem;
    top: 32.7rem;
  }
}

.customhair-decoration03 {
  position: absolute;
  z-index: 1;
  max-width: 19.5rem;
  top: 14rem;
  left: -5.5rem;
  -webkit-transform: rotate(-38.8deg);
          transform: rotate(-38.8deg);
}
@media only screen and ( max-width: 766px ) {
  .customhair-decoration03 {
    top: 33.7rem;
    left: -8rem;
    -webkit-transform: rotate(-21.6deg);
            transform: rotate(-21.6deg);
  }
}

.customhair-inner {
  max-width: 112rem;
  margin: 0 auto;
  position: relative;
}

.customhair-main {
  position: relative;
  z-index: 2;
}
@media only screen and ( max-width: 766px ) {
  .customhair-main {
    padding-top: 6.2rem;
  }
}

.customhair-main__title {
  max-width: 80.7rem;
  margin: 0 auto;
  padding-right: 3.4rem;
}
@media only screen and ( max-width: 766px ) {
  .customhair-main__title {
    max-width: initial;
    width: 90.65%;
    padding-right: 0;
  }
}
.customhair-main__title.en {
  max-width: 96rem;
  padding-right: 6.3rem;
}
@media only screen and ( max-width: 766px ) {
  .customhair-main__title.en {
    width: 102%;
    margin-left: -4%;
    padding-right: 0;
  }
}
.customhair-main__title.zh {
  max-width: 94.2rem;
  padding-right: 3.6rem;
}
@media only screen and ( max-width: 766px ) {
  .customhair-main__title.zh {
    width: 103%;
    margin-left: -4%;
    padding-right: 0;
  }
}

.style-decoration01 {
  position: absolute;
  z-index: 1;
  max-width: 6.8rem;
  left: 0;
  bottom: 8rem;
}
@media only screen and ( max-width: 766px ) {
  .style-decoration01 {
    left: 2.4rem;
    max-width: 5.2rem;
    bottom: 0.8rem;
  }
}

.style-decoration02 {
  position: absolute;
  z-index: 1;
  max-width: 9.2rem;
  right: -1rem;
  bottom: 7rem;
}
@media only screen and ( max-width: 766px ) {
  .style-decoration02 {
    max-width: 3.4rem;
    right: 1.8rem;
    bottom: 1.2rem;
  }
}

.customhair-main__style {
  -webkit-perspective: 900px;
          perspective: 900px;
}
@media only screen and ( max-width: 766px ) {
  .customhair-main__style {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    margin-top: -1.6rem;
    gap: 7.5rem;
  }
}
@media only screen and ( max-width: 766px ) {
  .customhair-main__style.en {
    margin-top: -5.6rem;
  }
}
@media only screen and ( max-width: 766px ) {
  .customhair-main__style.zh {
    margin-top: -4.8rem;
  }
}

.customhair-main__mens {
  position: absolute;
  bottom: 9.2rem;
  left: -1rem;
  z-index: 1;
  max-width: 23.2rem;
  -webkit-transform: rotate(-10deg);
          transform: rotate(-10deg);
  line-height: 0;
}
@media screen and (max-width: 960px) {
  .customhair-main__mens {
    left: 0;
    bottom: 6.4rem;
  }
}
@media only screen and ( max-width: 766px ) {
  .customhair-main__mens {
    max-width: 12.5rem;
    position: initial;
    -webkit-transform: rotate(-10deg) translateX(0.4rem);
            transform: rotate(-10deg) translateX(0.4rem);
    padding-top: 1.4rem;
  }
}

.customhair-main__ladies {
  position: absolute;
  bottom: 12rem;
  right: -3rem;
  z-index: 1;
  max-width: 23.2rem;
  -webkit-transform: rotate(10deg);
          transform: rotate(10deg);
  line-height: 0;
}
@media screen and (max-width: 960px) {
  .customhair-main__ladies {
    right: 0;
    bottom: 6.4rem;
  }
}
@media only screen and ( max-width: 766px ) {
  .customhair-main__ladies {
    position: initial;
    max-width: 12rem;
    -webkit-transform: rotate(10deg) translate(0.4rem);
            transform: rotate(10deg) translate(0.4rem);
  }
}

.js-hair-l,
.js-hair-m {
  display: block;
  -webkit-transform: rotateY(0deg);
          transform: rotateY(0deg);
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  will-change: transform;
}
.js-hair-l.is-flip,
.js-hair-m.is-flip {
  -webkit-animation: hairFlipY 250ms ease-in-out;
          animation: hairFlipY 250ms ease-in-out;
}

@-webkit-keyframes hairFlipY {
  0% {
    -webkit-transform: rotateY(0deg);
            transform: rotateY(0deg);
  }
  49% {
    -webkit-transform: rotateY(90deg);
            transform: rotateY(90deg);
  }
  50% {
    -webkit-transform: rotateY(90deg);
            transform: rotateY(90deg);
  }
  100% {
    -webkit-transform: rotateY(0deg);
            transform: rotateY(0deg);
  }
}

@keyframes hairFlipY {
  0% {
    -webkit-transform: rotateY(0deg);
            transform: rotateY(0deg);
  }
  49% {
    -webkit-transform: rotateY(90deg);
            transform: rotateY(90deg);
  }
  50% {
    -webkit-transform: rotateY(90deg);
            transform: rotateY(90deg);
  }
  100% {
    -webkit-transform: rotateY(0deg);
            transform: rotateY(0deg);
  }
}
.customhair-about {
  margin-bottom: 8.8rem;
  position: relative;
  z-index: 2;
  padding: 0 2.4rem;
  margin-top: -4.6rem;
}
@media only screen and ( max-width: 766px ) {
  .customhair-about {
    margin: -1.4rem 0 7rem;
    padding: 0;
  }
}

.customhair-about__detail {
  padding: 3rem 1rem;
  border-radius: 3rem;
  background-color: rgba(255, 255, 255, 0.8);
  text-align: center;
  font-weight: 900;
  font-size: 2.2rem;
  letter-spacing: 0.05em;
  line-height: 1.8;
  margin: 0 auto 3rem;
  max-width: 112rem;
}
@media only screen and ( max-width: 766px ) {
  .customhair-about__detail {
    border-radius: 0;
    padding: 2rem 2.4rem;
    font-size: 1.6rem;
    margin-bottom: 4rem;
    text-align: left;
  }
}
.customhair-about__detail span {
  background-color: #FF76A6;
  color: #fff;
  padding: 0.2rem 1rem 0.3rem;
  margin-right: 0.4rem;
  margin-left: 0.2rem;
  margin-bottom: 0.4rem;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.customhair-about__detail span:last-of-type {
  margin-bottom: 0;
}
@media only screen and ( max-width: 766px ) {
  .customhair-about__detail span {
    padding: 0.1rem 0.4rem;
    margin: 0.4rem 0.4rem 0.4rem 0;
    font-size: 1.6rem;
  }
}

.customhair-btn {
  display: block;
  max-width: 37rem;
  border-radius: 100vmax;
  border: 0.3rem solid #FF76A6;
  background-color: #fff;
  text-align: center;
  font-size: 1.8rem;
  font-weight: 900;
  color: #FF76A6;
  padding: 1.6rem 0.4rem;
  line-height: 1;
  margin: 0 auto 5rem;
  -webkit-box-shadow: 0.5rem 0.5rem 0 0 #FF76A6;
          box-shadow: 0.5rem 0.5rem 0 0 #FF76A6;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
}
@media only screen and ( max-width: 766px ) {
  .customhair-btn {
    max-width: 33rem;
  }
}
@media print, only screen and ( min-width: 767px ) {
  .customhair-btn:hover {
    -webkit-transform: translate(0.5rem, 0.5rem);
            transform: translate(0.5rem, 0.5rem);
    -webkit-box-shadow: 0 0 0 0 #FF76A6;
            box-shadow: 0 0 0 0 #FF76A6;
  }
}
.customhair-btn span {
  padding: 0 2.8rem;
  position: relative;
  display: inline-block;
}
.customhair-btn span:after {
  content: "";
  position: absolute;
  min-width: 2rem;
  width: 2rem;
  aspect-ratio: 1;
  background-image: url(../images/customhair/arrow_right.png);
  background-size: cover;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  z-index: 1;
}
.customhair-btn.is-wide {
  max-width: 48rem;
  margin-bottom: 0;
}
@media only screen and ( max-width: 766px ) {
  .customhair-btn.is-wide {
    max-width: 33rem;
    line-height: 1.2;
    font-size: 1.6rem;
  }
}
.customhair-btn.is-wide span:after {
  right: -0.4rem;
}

.customhair-about__overview {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  border: 0.3rem solid #54A1F3;
  padding: 3.2rem 4rem;
  max-width: 70rem;
  margin: 0 auto;
  border-radius: 2rem;
  background-color: #fff;
  gap: 0.8rem 2rem;
}
@media only screen and ( max-width: 766px ) {
  .customhair-about__overview {
    display: block;
    padding: 4.3rem 2rem;
    max-width: calc(100% - 4rem);
  }
}
.customhair-about__overview dt {
  width: 7.8rem;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  font-size: 2.2rem;
  font-weight: 900;
  color: #54A1F3;
  line-height: 1.8;
  letter-spacing: 0.05em;
  border-bottom: 0.2rem solid #54A1F3;
  text-align: center;
}
@media only screen and ( max-width: 766px ) {
  .customhair-about__overview dt {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin: 0 auto 1.4rem;
    text-align: left;
    border-bottom: 0.1rem solid #54A1F3;
    font-size: 1.6rem;
  }
  .customhair-about__overview dt:last-of-type {
    margin-top: 2.8rem;
  }
}
.customhair-about__overview dd {
  width: calc(100% - 11.8rem);
  font-size: 2.2rem;
  line-height: 1.8;
  letter-spacing: 0.05em;
  font-weight: 800;
}
@media only screen and ( max-width: 766px ) {
  .customhair-about__overview dd {
    width: 100%;
    max-width: -webkit-fit-content;
    max-width: -moz-fit-content;
    max-width: fit-content;
    margin: 0 auto;
    font-size: 1.6rem;
  }
}
.customhair-about__overview.en {
  max-width: 90.5rem;
}
@media only screen and ( max-width: 766px ) {
  .customhair-about__overview.en {
    max-width: calc(100% - 4rem);
  }
}
.customhair-about__overview.en dt {
  width: 17rem;
}
@media only screen and ( max-width: 766px ) {
  .customhair-about__overview.en dt {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
  }
}
.customhair-about__overview.en dd {
  width: calc(100% - 19rem);
}
@media only screen and ( max-width: 766px ) {
  .customhair-about__overview.en dd {
    width: 100%;
  }
}
.customhair-about__overview.zh {
  max-width: 71rem;
}
@media only screen and ( max-width: 766px ) {
  .customhair-about__overview.zh {
    max-width: calc(100% - 4rem);
  }
}

.customhair-design {
  position: relative;
  z-index: 2;
  padding: 0 2.4rem;
}
@media only screen and ( max-width: 766px ) {
  .customhair-design {
    padding: 0 2rem;
  }
}

.design_decoration01 {
  position: absolute;
  z-index: 1;
  max-width: 10.1rem;
  top: 14.5rem;
  left: 2.1rem;
}

.design_decoration02 {
  position: absolute;
  z-index: 1;
  right: 5rem;
  max-width: 7.3rem;
  top: 13.6rem;
}

.design_decoration03 {
  position: absolute;
  z-index: 1;
  right: 1.3rem;
  max-width: 7.3rem;
  top: 55.8rem;
}

.design_decoration04 {
  position: absolute;
  z-index: 1;
  max-width: 3.9rem;
  left: 2.1rem;
  top: 86.3rem;
}

.design_decoration05 {
  position: absolute;
  z-index: 1;
  max-width: 3.9rem;
  left: 4.8rem;
  bottom: 43.8rem;
}

.design_decoration06 {
  position: absolute;
  z-index: 1;
  max-width: 7.9rem;
  right: 1rem;
  bottom: 35rem;
}

.design_decoration07 {
  position: absolute;
  z-index: 1;
  max-width: 7.3rem;
  left: 2.8rem;
  bottom: 1.4rem;
}

.customhair-design-contents {
  max-width: 112rem;
  margin: 0 auto;
  border-radius: 2rem;
  overflow: hidden;
  border: 0.3rem solid #54A1F3;
  background-color: #fff;
  padding-bottom: 8rem;
  position: relative;
}
@media only screen and ( max-width: 766px ) {
  .customhair-design-contents {
    border: 0.2rem solid #54A1F3;
    margin-bottom: 8.5rem;
  }
}

.customhair-design__headline {
  text-align: center;
  color: #fff;
  background-color: #91C5FD;
  font-size: 3.8rem;
  letter-spacing: 0.05em;
  line-height: 1.8;
  font-weight: 800;
  padding: 0.8rem;
  border-bottom: 0.1rem solid #54A1F3;
  margin-bottom: 4rem;
}
@media only screen and ( max-width: 766px ) {
  .customhair-design__headline {
    font-size: 2.2rem;
    border-bottom: 0.2rem solid #54A1F3;
    line-height: 1.3;
  }
}
.customhair-design__headline span {
  display: inline-block;
  padding: 0 4.4rem;
  position: relative;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: #54A1F3;
}
.customhair-design__headline span:before, .customhair-design__headline span:after {
  content: "";
  position: absolute;
  z-index: 1;
  width: 2.8rem;
  height: 2.8rem;
  background-image: url(../images/customhair/title-decoration.png);
  background-size: cover;
  top: 0;
  bottom: 0;
  margin: auto;
}
.customhair-design__headline span:before {
  left: 0;
}
.customhair-design__headline span:after {
  right: 0;
}

.customhair-design__catch {
  text-align: center;
  font-size: 2.2rem;
  letter-spacing: 0.05em;
  line-height: 1.8;
  font-weight: 800;
  margin-bottom: 1.6rem;
}
@media only screen and ( max-width: 766px ) {
  .customhair-design__catch {
    line-height: 1.6;
    margin-bottom: 2rem;
    padding: 0 1.4rem;
  }
}

.customhair-design__text {
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 1.5;
  color: #6F7075;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin: 0 auto 4rem;
  -webkit-transform: rotate(0.05deg);
          transform: rotate(0.05deg);
}
@media only screen and ( max-width: 766px ) {
  .customhair-design__text {
    padding: 0 1.4rem;
    line-height: 1.8;
  }
}

.customhair-design-list {
  max-width: 90.6rem;
  margin: 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 2.4rem 2.2rem;
  position: relative;
  z-index: 2;
}
@media only screen and ( max-width: 766px ) {
  .customhair-design-list {
    padding: 0 1.4rem;
    gap: 0.8rem 0.7rem;
  }
}
.customhair-design-list li {
  width: calc((100% - 6.6rem) / 4);
  border-radius: 1.5rem;
  border: #BEABFF solid 0.3rem;
  background-color: #fff;
  padding: 1.5rem 0.5rem 2.5rem;
  -webkit-box-shadow: 0.4rem 0.4rem 0 0 #E0D7FF;
          box-shadow: 0.4rem 0.4rem 0 0 #E0D7FF;
  position: relative;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
}
@media only screen and ( max-width: 766px ) {
  .customhair-design-list li {
    width: calc((100% - 0.7rem) / 2);
    padding: 1.2rem 0.2rem 1.4rem;
    -webkit-box-shadow: 0.2rem 0.4rem 0 0 #E0D7FF;
            box-shadow: 0.2rem 0.4rem 0 0 #E0D7FF;
  }
}
@media print, only screen and ( min-width: 767px ) {
  .customhair-design-list li:hover {
    -webkit-transform: translate(0.4rem, 0.4rem);
            transform: translate(0.4rem, 0.4rem);
    -webkit-box-shadow: 0 0 0 0 #E0D7FF;
            box-shadow: 0 0 0 0 #E0D7FF;
    cursor: pointer;
  }
}
.customhair-design-list li.is-selected:before {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: #5B5B85;
  opacity: 0.2;
  border-radius: 1.2rem;
  z-index: 5;
}
.customhair-design-list li.is-selected:after {
  content: "投票済";
  position: absolute;
  inset: 0;
  text-align: center;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  margin: auto;
  font-weight: 800;
  font-size: 3.6rem;
  line-height: 1.8;
  letter-spacing: 0.05em;
  z-index: 10;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: #BEABFF;
  color: #fff;
}
@media only screen and ( max-width: 766px ) {
  .customhair-design-list li.is-selected:after {
    font-size: 3rem;
  }
}
.customhair-design-list li.is-disabled {
  pointer-events: none;
}
@media print, only screen and ( min-width: 767px ) {
  .customhair-design-list li.is-disabled:hover {
    -webkit-transform: translate(0);
            transform: translate(0);
    cursor: initial;
  }
}
.customhair-design-list.en li.is-selected:after {
  content: "Voted";
}
.customhair-design-list.zh li.is-selected:after {
  content: "已投票";
}
.customhair-design-list p {
  font-family: "Inter", sans-serif;
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  z-index: 1;
  width: 2.5rem;
  aspect-ratio: 1;
  border-radius: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background-color: #BEABFF;
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
}
@media only screen and ( max-width: 766px ) {
  .customhair-design-list p {
    top: 0.6rem;
    left: 0.5rem;
  }
}
.customhair-design-list figure {
  position: relative;
}
.customhair-design-list figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.8;
  text-align: center;
  color: #BEABFF;
  -webkit-transform: rotate(0.05deg);
          transform: rotate(0.05deg);
}

.banner {
  margin: 5.8rem auto 0;
  max-width: 50rem;
  position: relative;
  z-index: 2;
}
@media only screen and ( max-width: 766px ) {
  .banner {
    padding: 0 2rem;
    max-width: 44rem;
  }
}

.banner__text {
  text-align: center;
  font-weight: 800;
  font-size: 2.2rem;
  line-height: 1.8;
  letter-spacing: 0.05em;
  padding: 0 2.8rem;
  color: #F39800;
  position: relative;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin: 0 auto;
  z-index: 1;
}
@media only screen and ( max-width: 766px ) {
  .banner__text {
    font-size: 1.6rem;
    padding: 0 2.4rem;
    margin: 0 auto 0.4rem;
  }
}
.banner__text:before, .banner__text:after {
  content: "";
  position: absolute;
  z-index: 1;
  width: 2.2rem;
  height: 0.3rem;
  border-radius: 100vmax;
  background-color: #F39800;
  z-index: 1;
  top: 0.3rem;
  bottom: 0;
  margin: auto;
}
@media only screen and ( max-width: 766px ) {
  .banner__text:before, .banner__text:after {
    width: 1.8rem;
  }
}
.banner__text:before {
  left: 0;
  -webkit-transform: rotate(50deg);
          transform: rotate(50deg);
}
.banner__text:after {
  right: 0;
  -webkit-transform: rotate(-50deg);
          transform: rotate(-50deg);
}

.banner__img {
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
}
@media print, only screen and ( min-width: 767px ) {
  .banner__img:hover {
    opacity: 0.8;
  }
}

.vote-modal {
  position: fixed;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  z-index: 9999;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.vote-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.vote-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.vote-modal__panel {
  position: relative;
  max-width: 72rem;
  max-height: 90vh;
  background: #fff;
  border-radius: 3rem;
  padding: 4.8rem 2rem 2rem;
  width: 100%;
}
@media only screen and ( max-width: 766px ) {
  .vote-modal__panel {
    max-width: 35rem;
    width: calc(100% - 2.4rem);
    padding: 8rem 2rem 2rem;
  }
}

.vote-modal__catch {
  font-size: 3.2rem;
  line-height: 1.25;
  font-weight: 800;
  text-align: center;
  margin-bottom: 3.2rem;
}
@media only screen and ( max-width: 766px ) {
  .vote-modal__catch {
    font-size: 2.2rem;
    margin-bottom: 1.6rem;
  }
}

.vote-modal__close {
  position: absolute;
  top: 2rem;
  right: 3.2rem;
  z-index: 1;
  max-width: 6.6rem;
}
@media only screen and ( max-width: 766px ) {
  .vote-modal__close:hover {
    opacity: 0.8;
  }
}
@media only screen and ( max-width: 766px ) {
  .vote-modal__close {
    max-width: 3.7rem;
    top: 1.8rem;
    right: 1.8rem;
  }
}

.vote-modal__figure {
  max-width: 28rem;
  position: relative;
  margin: 0 auto 3.2rem;
}
@media only screen and ( max-width: 766px ) {
  .vote-modal__figure {
    max-width: 24rem;
  }
}

.vote-modal__btn {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  font-size: 2.2rem;
  line-height: 1.8;
  font-weight: 800;
  text-align: center;
  background-color: #C7B7FF;
  border: 0.3rem solid #BEABFF;
  max-width: 31.8rem;
  border-radius: 100vmax;
  margin: 0 auto 0.6rem;
  color: #fff;
  width: 100%;
  display: block;
  padding: 1rem;
  -webkit-box-shadow: 0.4rem 0.6rem 0 0 #E0D7FF;
          box-shadow: 0.4rem 0.6rem 0 0 #E0D7FF;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
}
@media only screen and ( max-width: 766px ) {
  .vote-modal__btn {
    max-width: 20.8rem;
    font-size: 1.8rem;
    padding: 0.9rem;
    margin-bottom: 1rem;
  }
}
@media print, only screen and ( min-width: 767px ) {
  .vote-modal__btn:hover {
    -webkit-transform: translate(0.4rem, 0.6rem);
            transform: translate(0.4rem, 0.6rem);
    -webkit-box-shadow: 0 0 0 0 #E0D7FF;
            box-shadow: 0 0 0 0 #E0D7FF;
  }
}

.vote-modal__caption {
  position: absolute;
  left: 0;
  right: 0;
  text-align: center;
  bottom: 0;
  font-size: 1.8rem;
  line-height: 1.8;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #BEABFF;
}
@media only screen and ( max-width: 766px ) {
  .vote-modal__caption {
    font-size: 1.4rem;
  }
}

.vote-modal__count {
  font-size: 1.8rem;
  color: #6F7075;
  line-height: 1.8;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-align: center;
}
@media only screen and ( max-width: 766px ) {
  .vote-modal__count {
    font-size: 1.4rem;
  }
}
.vote-modal__count span {
  color: #BEABFF;
}

.vote-modal__decoration {
  position: absolute;
  z-index: 1;
}
.vote-modal__decoration.vote-modal__decoration01 {
  max-width: 10.1rem;
  top: 20rem;
  left: 5.6rem;
}
@media only screen and ( max-width: 766px ) {
  .vote-modal__decoration.vote-modal__decoration01 {
    max-width: 4.5rem;
    top: 16.8rem;
    left: 2.7rem;
  }
}
.vote-modal__decoration.vote-modal__decoration01.is-active img {
  opacity: 1;
  -webkit-animation: kira-pop-l 0.4s ease forwards;
          animation: kira-pop-l 0.4s ease forwards;
}
.vote-modal__decoration.vote-modal__decoration02 {
  max-width: 10.3rem;
  top: 31rem;
  right: 5.6rem;
}
@media only screen and ( max-width: 766px ) {
  .vote-modal__decoration.vote-modal__decoration02 {
    right: 1.9rem;
    top: 36.5rem;
    max-width: 4.67rem;
  }
}
.vote-modal__decoration.vote-modal__decoration02.is-active img {
  opacity: 1;
  -webkit-animation: kira-pop-r 0.4s ease forwards;
          animation: kira-pop-r 0.4s ease forwards;
}
.vote-modal__decoration img {
  display: block;
  opacity: 0;
  -webkit-transform: scale(0.3) rotate(30deg);
          transform: scale(0.3) rotate(30deg);
  -webkit-transition: opacity 0.2s ease;
  transition: opacity 0.2s ease;
}

@-webkit-keyframes kira-pop-l {
  0% {
    -webkit-transform: scale(0.3) rotate(30deg);
            transform: scale(0.3) rotate(30deg);
  }
  60% {
    -webkit-transform: scale(1.2) rotate(0deg);
            transform: scale(1.2) rotate(0deg);
  }
  100% {
    -webkit-transform: scale(1) rotate(0deg);
            transform: scale(1) rotate(0deg);
  }
}

@keyframes kira-pop-l {
  0% {
    -webkit-transform: scale(0.3) rotate(30deg);
            transform: scale(0.3) rotate(30deg);
  }
  60% {
    -webkit-transform: scale(1.2) rotate(0deg);
            transform: scale(1.2) rotate(0deg);
  }
  100% {
    -webkit-transform: scale(1) rotate(0deg);
            transform: scale(1) rotate(0deg);
  }
}
@-webkit-keyframes kira-pop-r {
  0% {
    -webkit-transform: scale(0.3) rotate(-30deg);
            transform: scale(0.3) rotate(-30deg);
  }
  60% {
    -webkit-transform: scale(1.2) rotate(0deg);
            transform: scale(1.2) rotate(0deg);
  }
  100% {
    -webkit-transform: scale(1) rotate(0deg);
            transform: scale(1) rotate(0deg);
  }
}
@keyframes kira-pop-r {
  0% {
    -webkit-transform: scale(0.3) rotate(-30deg);
            transform: scale(0.3) rotate(-30deg);
  }
  60% {
    -webkit-transform: scale(1.2) rotate(0deg);
            transform: scale(1.2) rotate(0deg);
  }
  100% {
    -webkit-transform: scale(1) rotate(0deg);
            transform: scale(1) rotate(0deg);
  }
}
.customhair-detail {
  position: relative;
  z-index: 10;
  padding-top: 12rem;
}
@media only screen and ( max-width: 766px ) {
  .customhair-detail {
    padding-top: 8rem;
  }
}

.customhair-detail__inner {
  border-radius: 1.5rem;
  border: #BEABFF solid 0.3rem;
  background-color: #fff;
  max-width: 96rem;
  width: calc(100% - 4rem);
  margin: 0 auto;
  padding: 2.4rem 2rem 4.8rem;
}
@media only screen and ( max-width: 766px ) {
  .customhair-detail__inner {
    padding: 2.4rem 1.6rem 3.2rem;
  }
}

.customhair-detail__title {
  text-align: center;
  font-size: 2.8rem;
  color: #BEABFF;
  font-weight: 800;
  line-height: 1.8;
}
@media only screen and ( max-width: 766px ) {
  .customhair-detail__title {
    font-size: 2.4rem;
  }
}

.customhair-detail__img {
  max-width: 32rem;
  margin: 0.5rem auto 0.8rem;
}
@media only screen and ( max-width: 766px ) {
  .customhair-detail__img {
    max-width: 24rem;
  }
}