@charset "UTF-8";
/* App store CTA (AppsFlyer OneLink trial). Kept separate from style.css so it can be reverted in one step. */

/* Phone: download button + both store badges / PC and tablet: QR code + store badges */
.c-app-cta {
  display: block;
}
.c-app-cta__sp {
  display: block;
}
.c-app-cta__pc {
  display: none;
}
@media (min-width: 768px) {
  .c-app-cta__sp {
    display: none;
  }
  .c-app-cta__pc {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
  }
}
/* Device classes set by app-cta.js override the width-based default */
html.is-phone .c-app-cta__sp {
  display: block !important;
}
html.is-phone .c-app-cta__pc {
  display: none !important;
}
html.is-tablet .c-app-cta__sp {
  display: none !important;
}
html.is-tablet .c-app-cta__pc {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
/* Longer label than the old one: tighten spacing so it clears the arrow */
.o-btn a.c-app-cta__main {
  letter-spacing: 0.5px;
  padding-right: 32px;
}
.c-app-cta__sp .c-app-cta__note {
  margin-top: 12px;
}

.c-app-cta__qr {
  flex: 0 0 auto;
  width: 112px;
  height: 112px;
  padding: 6px;
  background-color: #ffffff;
  border: solid 1px #E0E0E0;
  border-radius: 8px;
}
.c-app-cta__qr[hidden] {
  display: none;
}
.c-app-cta__qr canvas,
.c-app-cta__qr img,
.c-app-cta__qr svg {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.c-app-cta__stores {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 200px;
}
.c-app-cta__note {
  display: block;
  color: #333;
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  line-height: 1.4;
}
/* Main visual has a colored background */
.o-mv .c-app-cta__note {
  color: #ffffff;
}
/* Official store badges laid out like worker web: Google Play -> App Store, centered row that wraps */
.c-app-cta__stores.is-row,
.c-app-cta__badges {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
}
.c-app-cta__stores.is-row {
  width: 100%;
  margin-top: 8px;
}
/* Reset the generic .o-btn anchor styles (orange pill button) for badge images */
.o-btn a.c-app-cta__store,
a.c-app-cta__store {
  display: block;
  height: auto;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  line-height: 0;
  letter-spacing: 0;
}
.o-btn a.c-app-cta__store:hover,
a.c-app-cta__store:hover {
  background: none;
}
.c-app-cta__store img {
  display: block;
  height: auto;
}

/* Circle badge replacing the "Webで簡単登録!" image; fills its positioned wrapper */
.c-app-circle {
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background-color: #36AE8A;
  color: #ffffff;
  font-weight: bold;
  line-height: 1.2;
  text-align: center;
}
.c-app-circle span:nth-child(1) {
  font-size: 13cqi;
}
.c-app-circle span:nth-child(2) {
  font-size: 17cqi;
}
