@charset "UTF-8";

/* =========================================================
   FV styles (clean tidy)
   ========================================================= */

/* Base */
*, *::before, *::after { box-sizing: border-box; }

/* --------------------------------------------
   Wipe Box (headline)
   -------------------------------------------- */
.wipeBox{
  position: relative;
  display: block;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 40px;
  background: #1800ad;
  color: #fff;
  border-radius: 10px;
  text-align: center;
  text-shadow: 2px 2px 6px rgba(0,0,0,.5);
  white-space: nowrap;
  line-height: 1;
  font-weight: 900;
  font-size: 3.6rem;
  overflow: hidden;
}
.wipeBox::before{
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  z-index: 2;
  transform: translateX(0);
  animation: wipeOut 1s ease forwards;
}
@keyframes wipeOut { to { transform: translateX(100%); } }
.wipeBox .pcOnly{ display: inline; }
.wipeBox .spOnly{ display: none; }

/* --------------------------------------------
   Info boxes (achievements / retention)
   -------------------------------------------- */
.infoBoxes{
  display: flex;
  align-items: stretch;
  gap: 20px;
  max-width: 800px;
  width: 100%;
  margin: 20px auto;
  font-family: "Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic","Yu Gothic UI","Meiryo",sans-serif;
  font-synthesis: weight style;
}
.infoBox{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: 0 0 calc((100% - 20px) / 2);
  padding: 16px 22px;
  background: #fff;
  color: #000;
  border-radius: 8px;
  text-align: center;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  word-break: keep-all;
  opacity: 0;
  transform: translateY(30px);
  animation: slideFadeUp .8s ease forwards;
}
@keyframes slideFadeUp { to { opacity: 1; transform: translateY(0); } }

.numberLine{
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: .25em;
}
.numberLine span{ white-space: nowrap; }

.infoBox .highlight{
  font-size: 2.6rem;
  font-weight: 800;
  color: #E95B6B;
}
.infoBox .big{
  font-size: 2.3rem;
  font-weight: 600;
  color: #000;
}
.subText{
  margin-top: .35em;
  font-size: 1.5rem;
  font-weight: 600;
  opacity: .9;
}

/* labels: 「記事」「継続率」 */
.infoBoxes .numberLine span:not(.highlight){ font-weight: 600; }
/* only “継続率” label slightly larger */
.infoBoxes .infoBox:nth-child(2) .numberLine span:not(.highlight){
  font-size: 1.08em;
  letter-spacing: .01em;
}

/* --------------------------------------------
   Price block
   -------------------------------------------- */
.priceSection{
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 30px;
  max-width: 720px;
  margin: 30px auto;
}
.circlePrice{
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 150px;
  height: 150px;
  min-width: 150px;
  min-height: 150px;
  flex-shrink: 0;
  padding: 10px;
  background: #2a87d9;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 1;
  font-weight: 700;
}
.circlePrice .small{ font-size: 1.5rem; font-weight: 600; display: block; }
.circlePrice .price{
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: .1em;
  margin: .15em 0;
  white-space: nowrap;
}
.circlePrice .num{   font-size: clamp(32px, 4.4vw, 46px); font-weight: 900; line-height: 1; }
.circlePrice .unit{  font-size: 1.5rem; font-weight: 700;  line-height: 1; }

.priceText{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: clamp(1.3rem, 2vw, 2rem);
  line-height: 1.45;
  font-weight: 700;
}
.priceText .line{ display: block; margin: .25em 0; }
.priceText .free{
  position: relative;
  z-index: 1;
  display: inline-block;
  color: #E95B6B;
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  text-shadow: 2px 2px 0 #fdeff2;
  vertical-align: baseline;
  transform: translateY(.04em);
}
.priceText .free::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -.25em;
  width: 0;
  height: .45em;
  background: #ffeb3b;
  z-index: -1;
  animation: markerWipe 1.2s ease forwards;
  animation-delay: .6s;
}
@keyframes markerWipe { from { width: 0; } to { width: 100%; } }

/* --------------------------------------------
   Media & layout
   -------------------------------------------- */
.imageBox video{
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}
.fvWrap{
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.floatLeft{ flex: 1 1 0; min-width: 0; }
.imageBox { flex: 1 1 0; min-width: 0; text-align: right; }

/* strong locks for headline */
.fv .wipeBox{
  margin-left: auto;
  margin-right: auto;
  padding-left: 40px;
  padding-right: 40px;
  text-align: center !important;
  white-space: nowrap !important;
  line-height: 1;
  font-weight: 900;
  font-size: clamp(36px, 3.3vw, 56px);
}
.fv .wipeBox .pcOnly{ display: inline !important; }
.fv .wipeBox .spOnly{ display: none  !important; }
.fv .catchcopy{ text-align: inherit !important; }

/* =========================================================
   Responsive
   ========================================================= */

/* Tablet */
@media screen and (max-width: 1024px){
  .infoBoxes{ gap: 16px; }
  .infoBox{ padding: 14px 18px; }
  .infoBox .highlight{ font-size: 2.4rem; }
  .infoBox .big{ font-size: 1.8rem; }
  .subText{ font-size: 1.2rem; }
  .infoBoxes .infoBox:nth-child(2) .numberLine span:not(.highlight){ font-size: 1.06em; }
}

/* Smartphone */
@media screen and (max-width: 768px){
  .wipeBox{
    max-width: 95%;
    padding: 16px 18px;
    white-space: normal;
    line-height: 1.4;
    font-size: 2.2rem;
  }
  .wipeBox .pcOnly{ display: none; }
  .wipeBox .spOnly{ display: inline; }

  .fv .wipeBox{
    max-width: 95%;
    padding: 16px 18px;
    white-space: normal !important;
    font-size: clamp(22px, 6.5vw, 34px);
  }
  .fv .wipeBox .pcOnly{ display: none !important; }
  .fv .wipeBox .spOnly{ display: inline !important; }

  .fvWrap{ flex-direction: column; text-align: center; }
  .imageBox{ display: none !important; }

  .infoBoxes{ max-width: 95%; flex-direction: column; gap: 12px; }
  .infoBox{ flex: 1 1 100%; width: 100%; }

  .priceSection{ flex-direction: column; align-items: center; gap: 12px; }
  .priceText .line{ margin: .15em 0; font-size: 1.2rem; line-height: 1.4; }
  .priceText .free{ font-size: 2.2rem; transform: translateY(.03em); }
  .priceText .free::after{ height: .30em; bottom: -.22em; }

  .infoBoxes .infoBox:nth-child(2) .numberLine span:not(.highlight){ font-size: 1.05em; }
}
