:root {
  --ease-in-out: cubic-bezier(0.445, 0.05, 0.55, 0.95);
}

body {
  margin: 0;
  font-family: "Noto Sans JP", serif;
}

main {
  width: 100%;
  margin: 0 auto;
  max-width: 700px;
}

img {
  width: 100%;
  vertical-align: bottom;
}

img {
  width: 100%;
  height: auto;
  display: block;
}

.relative,
.absolute {
  overflow: hidden;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}


/*countdown*/

.fixed-area-wrapper {
  position: fixed;
  bottom: 2%;
  z-index: 999;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  width: 94%;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  opacity: 1;
  visibility: visible;
  max-width: 500px;
}

.fixed-area-wrapper.hidden {
  opacity: 0;
  visibility: hidden;
}

.countdown-wrapper {
  position: absolute;
  top: -50px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2% auto;
  max-width: 630px;
  width: 92%;
  background-color: #fff;
  border-radius: 50px;
  filter: drop-shadow(0px 5px 5px rgba(0, 0, 0, 0.3));
  font-family: "Noto Sans JP", serif;
}

.countdown-wrapper__txt {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01rem;
}

.countdown-wrapper__txt span {
  display: inline-block;
  margin-right: 3px;
  font-size: 16px;
  color: #da615c;
}

.countdown-wrapper__arrow {
  margin: 0 5px 0 8px;
  width: 20px;
}

#countdown p {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  font-family: "Noto Sans JP", serif;
  font-optical-sizing: auto;
  font-size: 14px;
}

#countdown span {
  display: inline-block;
  margin: 0 5px;
  font-family: "Noto Sans JP", serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  color: #da615c;
}


.ac-afterpill_btn_001 {
  width: 100%;
  right: 0%;
  top: 58%;
}

.ac-afterpill_btn_002 {
  width: 100%;
  right: 0%;
  top: 59%;
}

.ac-afterpill_btn_003 {
  width: 100%;
  right: 0%;
  top: 37%;
}



.ac-afterpill_FV_img001 {
  width: 48%;
  right: 50%;
  top: 0%;
}

.ac-afterpill_FV_img002 {
  width: 48%;
  right: 0%;
  top: 0%;
}

.ac-afterpill_FV_img003 {
  width: 59%;
  right: 8%;
  top: 0%;
}

.ac-afterpill_FV_img004 {
  width: 46%;
  right: 46%;
  top: 21%;
}

.ac-afterpill_FV_img005 {
  width: 56%;
  right: 8%;
  top: 51%;
}

.ac-afterpill_achievement_img001 {
  width: 78%;
  right: 10%;
  top: 17%;
}

.ac-afterpill_achievement_img002 {
  width: 78%;
  right: 10%;
  top: 41%;
}

.ac-afterpill_about_img001-1 {
  margin-top: -60%;
}



.ac-afterpill_about_img001 {
  width: 98%;
  right: 2.5%;
  top: 0%;
}

.ac-afterpill_about_img002 {
  width: 45%;
  right: 52%;
  top: 11%;
}

.ac-afterpill_about_002-pill {
  top: 0%;
  width: 22%;
  right: 40%;
}

.ac-afterpill_about_002-title {
  top: 15%;
  width: 50%;
  left: 26%;
}

.ac-afterpill_about_002-text {
  top: 32%;
  width: 80%;
  left: 10%;
}

.ac-afterpill_about_002-img001 {
  top: 45.4%;
  width: 57%;
  right: 40%;
}

.ac-afterpill_about_002-img002 {
  top: 45%;
  width: 60%;
  right: 0%;
}

.ac-afterpill_about_002-img001pill {
  top: 74%;
  width: 37%;
  right: 52%;
}

.ac-afterpill_about_002-img002pill {
  top: 74%;
  width: 40%;
  right: 10%;
}

.ac-afterpill_about_img003 {
  width: 45%;
  right: 3%;
  top: 11%;
}

.ac-afterpill_about_img004 {
  width: 45%;
  right: 52%;
  top: 41%;
}

.ac-afterpill_about_img005 {
  width: 45%;
  right: 3%;
  top: 41%;
}

.ac-afterpill_about_img006 {
  width: 45%;
  right: 52%;
  top: 71%;
}

.ac-afterpill_about_img007 {
  width: 45%;
  right: 3%;
  top: 71%;
}


.slick-ac-afterpill_voice {
  width: 100%;
  margin: -100% auto;
}

.slick-ac-afterpill_flow {
  width: 88%;
  margin: -130% auto;
}

body>main>div.ac-afterpill_flow_001.relative>div.slick-ac-afterpill_flow.slick-initialized.slick-slider.slick-dotted>ul {
  bottom: 5% !important;
}

.slick-ac-afterpill_flow-prev {
  position: absolute;
  left: 0;
  top: 60%;
  padding: 0;
  border: 0;
  background: none;
  transform: scaleX(-1);
  width: 15%;
}

.slick-ac-afterpill_flow-next {
  position: absolute;
  right: 0;
  top: 60%;
  padding: 0;
  border: 0;
  background: none;
  width: 15%;
}

.ac-afterpill_worry_img001 {
  width: 56%;
  right: 44%;
  top: 58%;
}

.ac-afterpill_worry_img002 {
  width: 56%;
  right: 0%;
  top: 67%;
}

.ac-afterpill_worry_img003 {
  width: 81%;
  right: 14%;
  top: 81.5%;
}

.ac-afterpill_worry_img004 {
  width: 87%;
  right: 6%;
  top: 81%;
}

.ac-afterpill_worry_img005 {
  width: 86%;
  right: 7%;
  top: 8%;
}

.ac-afterpill_worry_img006 {
  width: 85%;
  right: 8%;
  top: 57%;
}

.ac-afterpill_worry_img007 {
  width: 94%;
  right: 3%;
  top: 1%;
}

.ac-afterpill_worry_img008 {
  width: 94%;
  right: 3%;
  top: 17.2%;
}

.ac-afterpill_worry_img009 {
  width: 94%;
  right: 3%;
  top: 33.4%;
}

.ac-afterpill_worry_img010 {
  width: 94%;
  right: 3%;
  top: 50%;
}

.slick-ac-afterpill_howto {
  width: 100%;
  margin: -85% auto;
}

.link-list {
  display: flex; 
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 0; 
  margin: 14px; 
}

.link-list div {
  margin: 0.2rem;
}

.link-list div a {
  color: #ffa49e; 
  font-weight: bold; 
  font-size: 0.875rem; 
}




/*/////////animation用//////////*/

.pulse,
.slick-active>div.youtube-slide-container>div {
  -webkit-animation: pulse 0.85s cubic-bezier(0.25, 0.8, 0.25, 1) both;
  animation: pulse 0.85s cubic-bezier(0.25, 0.8, 0.25, 1) both;
}

.poyopoyo {
  animation: poyopoyo 1s infinite;
}

@keyframes poyopoyo {
  from {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }

  50% {
    -webkit-transform: scale3d(1.05, 1.05, 1.05);
    transform: scale3d(1.05, 1.05, 1.05);
  }

  to {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

.fadeComein,
div.youtube-slide-container>div {
  opacity: 0;
  transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transition-duration: 0.8s;
  transition-property: opacity, transform;
  transform: scale(0.9) rotate(0.0001deg);
}

.fadeComein.active,
.slick-active>div.youtube-slide-container>div {
  opacity: 1;
}


/*delay*/
.delay01 {
  transition-delay: calc(0.15s * 1);
  opacity: 0;
}

.delay02 {
  transition-delay: calc(0.15s * 2);
  opacity: 0;
}

.delay03 {
  transition-delay: calc(0.15s * 3);
  opacity: 0;
}


.delay04 {
  transition-delay: calc(0.15s * 4);
  opacity: 0;
}

.delay05 {
  transition-delay: calc(0.15s * 5);
  opacity: 0;
}

.delay06 {
  transition-delay: calc(0.15s * 6);
  opacity: 0;
}

.duration1s {
  transition-duration: 1s !important;
}

/*slidejp*/
.mini-slideUp {
  -webkit-transform: translateY(5vw) scale(1);
  transform: translateY(5vw) scale(1);
  -webkit-transition-duration: 0.6s;
  transition-duration: 0.6s;
  -webkit-transition-timing-function: ease;
  transition-timing-function: ease;
  -webkit-transition-property: opacity, -webkit-transform, -webkit-filter;
  transition-property: opacity, -webkit-transform, -webkit-filter;
  transition-property: transform, opacity, filter;
  transition-property: transform, opacity, filter, -webkit-transform,
    -webkit-filter;
  opacity: 0;
  will-change: transform, opacity;
}

.mini-slideUp.active {
  -webkit-transform: translateY(0);
  transform: translateY(0);
  opacity: 1;
}

/*slidejp*/
.mini-slideUp-r {
  -webkit-transform: translateX(5vw) scale(1);
  transform: translateX(5vw) scale(1);
  -webkit-transition-duration: 1s;
  transition-duration: 1s;
  -webkit-transition-timing-function: ease;
  transition-timing-function: ease;
  -webkit-transition-property: opacity, -webkit-transform, -webkit-filter;
  transition-property: opacity, -webkit-transform, -webkit-filter;
  transition-property: transform, opacity, filter;
  transition-property: transform, opacity, filter, -webkit-transform,
    -webkit-filter;
  opacity: 0;
  will-change: transform, opacity;
}

.mini-slideUp-r.active {
  -webkit-transform: translateY(0);
  transform: translateY(0);
  opacity: 1;
}


/*slidejp*/
.mini-slideUp-l {
  -webkit-transform: translateX(-5vw) scale(1);
  transform: translateX(-5vw) scale(1);
  -webkit-transition-duration: 1s;
  transition-duration: 1s;
  -webkit-transition-timing-function: ease;
  transition-timing-function: ease;
  -webkit-transition-property: opacity, -webkit-transform, -webkit-filter;
  transition-property: opacity, -webkit-transform, -webkit-filter;
  transition-property: transform, opacity, filter;
  transition-property: transform, opacity, filter, -webkit-transform,
    -webkit-filter;
  opacity: 0;
  will-change: transform, opacity;
}

.mini-slideUp-l.active {
  -webkit-transform: translateY(0);
  transform: translateY(0);
  opacity: 1;
}


/*fadein*/
@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.js-fadein-scale.active {
  opacity: 0;
  transform: scale(0.8);
  animation: fadeInScale 0.4s cubic-bezier(0.34, 1.56, 0.64, 1.26) forwards;
  animation-delay: 0.2s;
  will-change: opacity, transform;
}

/*bright*/
.bright.active {
  animation: bright 1s forwards;
}

@keyframes bright {
  0% {
    filter: brightness(2);
  }

  100% {
    filter: brightness(1);
  }
}

/*rotation*/
.rotation {
  animation: 9s linear infinite rotation;
}

@keyframes rotation {
  0% {
    transform: rotate(0);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*////////*/
.fadeup {
  animation: fadeup 1s cubic-bezier(0.33, 1, 0.68, 1) forwards;
}

@keyframes fadeup {
  0% {
    transform: translateY(30px);
    opacity: 0;
  }

  80% {
    opacity: 1;
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


.reflection:after {
  content: "";
  height: 100%;
  width: 30px;
  position: absolute;
  top: -180px;
  left: 0;
  background-color: #fff;
  opacity: 0;
  -webkit-transform: rotate(45deg);
  -webkit-animation: reflection 3s ease-in-out infinite;
}

@keyframes reflection {
  0% {
    -webkit-transform: scale(0) rotate(45deg);
    opacity: 0;
  }

  80% {
    -webkit-transform: scale(0) rotate(45deg);
    opacity: 0.5;
  }

  81% {
    -webkit-transform: scale(4) rotate(45deg);
    opacity: 1;
  }

  100% {
    -webkit-transform: scale(50) rotate(45deg);
    opacity: 0;
  }
}


.scroll {
  animation: scroll 2.5s infinite;
  border: solid #9e9c9a;
  ;
  border-width: 0 0 2px 2px;
  content: "";
  margin: auto;
  position: absolute;
  top: 55%;
  right: 0px;
  left: 0px;
  transform: rotate(-45deg);
  width: 50px;
  height: 50px;
}

@keyframes scroll {
  0% {
    transform: rotate(-45deg) translate(0, 0);
  }

  80% {
    transform: rotate(-45deg) translate(-50px, 50px);
  }

  0%,
  80%,
  100% {
    opacity: 0;
  }

  40% {
    opacity: 1;
  }
}

/*fadeUpblur */
.fadeUpblur {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(10px);
  transition: opacity 0.6s var(--ease-in-out), filter 0.6s var(--ease-in-out),
    transform 0.6s var(--ease-in-out);
}

.active.fadeUpblur {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}


/*scrollグラフ*/

.ac-afterpill_graphContainer {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.ac-afterpill_graphContainer.active {
  opacity: 1;
}

.ac-afterpill_graphContainer {
  position: relative;
  width: 100%;
  height: 100%;
}

.ac-afterpill_graphHeader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 10;
  max-width: 700px;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
}

.ac-afterpill_graphTimeLab3els {
  display: flex;
  justify-content: space-evenly;
  font-size: 3vmin;
  margin-top: -101%;
  z-index: 111;
  position: relative;
}



.ac-afterpill_graphTime {
  color: gray;
  transition: color 0.3s, font-weight 0.3s;
}

.ac-afterpill_graphTime.active {
  color: #ff1515;
  font-weight: bold;
  font-size: 4vmin;
}

.ac-afterpill_graphMain {
  position: relative;
  margin: 13% auto;
  width: 65%;
  height: 50%;
  background-color: #ffffffd6;
  border-radius: 300px;
  padding: 2%;
  color: #6c6f6f;
}

.ac-afterpill_graphPercentage {
  position: absolute;
  top: 57%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(16vmin, 16vmin, 2rem);
  font-family: "Bodoni Moda", serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: italic;
  z-index: 19;
}

.ac-afterpill_graphSVG {
  width: 100%;
  height: 100%;
  transform: rotate(-8deg);
}

.ac-afterpill_graphBackground {
  fill: none;
  stroke: #eee;
  stroke-width: 2;
}

.ac-afterpill_graphCircle {
  fill: none;
  stroke-linecap: round;
  transition: stroke-dasharray 0.3s ease;
}


.ac-afterpill_graphSection {
  height: 60vh;
}

.ac-afterpill_nextContent {
  height: 100vh;
  background-color: #f0f0f0;
  text-align: center;
  line-height: 100vh;
  font-size: 2rem;
  color: #666;
}

.ac-afterpill_graphTimeLabels {
  position: relative;
  display: flex;
  justify-content: space-around;
  font-size: 1.5rem;
  margin-top: 20px;
}

.ac-afterpill_graphTime {
  position: relative;
  color: gray;
  transition: color 0.3s, font-weight 0.3s;
}

.ac-afterpill_pillImage {
  position: absolute;
  top: -193%;
  left: 0;
  width: 15%;
  /* ピル画像のサイズ */
  transition: left 0.3s ease;
  /* スムーズに移動 */
  transform: translateX(-50%);
}

.ac-afterpill_graphMain-title {
  position: absolute;
  top: 23%;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  font-size: clamp(1rem, 5vmin, 2rem;
  }

