/* ============================================================
   Campaign LP — Production (Figma 0616テスト / node 0-45)
   PC 1280 (container 1080 / content 1000) → Tablet → Mobile
   ============================================================ */

#aupay_cp {
  /* --- Design Tokens (Figma variables) --------------------- */
  --c-text:        #28200C;  /* Main text */
  --c-blue:        #006BC2;  /* Blue2 */
  --c-blue-dark:   #004B87;  /* Blue3 */
  --c-blue-shadow: #0072CE;
  --c-orange:      #FFA10E;  /* Main color */
--c-cream:       #FFF0C5;  /* Background */
  --c-accent:      #EB5505;  /* Accent color */
  --c-link:        #0064B5;
  --c-sub:         #737373;
  /*--c-ph:           #C7C7C7;  /* image placeholder */
  --c-white:       #FFFFFF;
  --c-stripe:      #E3F0F9;  /* 青ストライプ */

  --ff-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, system-ui, sans-serif;
  --ff-en: "Inter", var(--ff-jp);

  --w-container: 1080px;  /* outer max */
  --pad-side:    40px;    /* (1080 - 1000)/2 */
  --r:           24px;    /* card radius */

  /* 青ストライプ（18px幅） */
  --stripe-bg: repeating-linear-gradient(
    90deg,
    var(--c-stripe) 0, var(--c-stripe) 18px,
    var(--c-white) 18px, var(--c-white) 36px
  );

  /* --- Base Style ----------------------------------------- */
  font-family: var(--ff-jp);
  color: var(--c-text);
  /*background: var(--c-cream);*/
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  word-break: break-word;     /* 長文・全角記号の連続を枠内で折り返す（Figma準拠） */



  /* --- Reset (LP内限定リセット) --------------------------- */
  & *, & *::before, & *::after { box-sizing: border-box; }
  & img, & svg { display: block; max-width: 100%; }
  & button { font: inherit; cursor: pointer; }
  & ul, & ol { margin: 0; padding: 0; list-style: none; }
  & p { margin: 0; }
  & h1, & h2, & h3, & h4 { margin: 0; font-weight: 700; }
  & a { color: var(--c-link); text-decoration: underline; }

  /* --- Utilities ------------------------------------------- */
  .container {
    width: 100%;
    max-width: var(--w-container);
    margin-inline: auto;
    padding-inline: var(--pad-side);
  }

  .ph { background: var(--c-ph); display: block; overflow: hidden; }
  .ph > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .timg, .img {
    width: min(var(--w), 100%);
    aspect-ratio: var(--ar);
  }
  .img { border-radius: 8px; }

  /* --- Backgrounds (themes) -------------------------------- */
  .theme-orange {
    background-color: #FEBD36;
    background-image: url(assets/p_pattern.svg);
    background-size: 200px 200px;
    background-repeat: repeat;
  }
  .theme-dots {
    background-color: var(--c-cream);
    background-image: url(assets/dots_pattern.svg);
    background-size: 80px 80px;
    background-repeat: repeat;
  }
  .theme-stripe {
    background-color: var(--c-white);
    background-image: var(--stripe-bg);
  }

  /* --- Wave divider --------------------------------------- */
  .wave {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 40px;
    transform: translateY(-100%);
    background: var(--stripe-bg);
    -webkit-clip-path: url(#waveClip);
            clip-path: url(#waveClip);
    pointer-events: none;
    z-index: 2;
  }
  .cta .wave {
    transform: none;
    top: -1px;
    -webkit-clip-path: url(#waveClipDown);
            clip-path: url(#waveClipDown);
  }

  /* ============================================================
      01 / Hero
      ============================================================ */
  .hero { width: 100%; }
  .hero__img { width: 100%; }
  .hero__img--pc { aspect-ratio: 1280 / 640; }
  .hero__img--sp { aspect-ratio: 393 / 524; display: none; }

  /* ============================================================
      01' / About card
      ============================================================ */
  .about { padding: 0 0 80px; }
  .about__card {
    background: var(--c-white);
    border-radius: var(--r);
    min-height: 716px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding: 40px;
    overflow: hidden;
    margin: 48px 0;
    font-size: 24px;
    font-weight: 600;
    text-align: center;
  }
  .about__img { width: 100%; aspect-ratio: var(--ar); }
  .about__card img { max-width: 100%; height: auto; display: block; }

  /* ============================================================
     Main wrapper (concept + 参加方法から注意事項まで包括する前提)
     ============================================================ */
  /* summary（.main）から caution（.cautions）までを1つの背景（.theme-dots）で包む想定 */
  .main { padding-top: 80px; padding-bottom: 0; }

  /* ---- 02 / キャンペーン概要 ---- */
  .summary__head { display: flex; justify-content: center; padding-bottom: 40px; }
  .summary__lead { text-align: center; padding-bottom: 24px; }
  .summary__catch {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.5;
  }
  .summary__lead-body {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.5;
  }
  .summary__lead-body .sup { font-size: 12px; vertical-align: super; }
  .summary__hero { display: flex; justify-content: center; padding-bottom: 16px; }
  .summary__note {
    font-size: 16px;
    line-height: 1.5;
    /*padding-bottom: 24px;*/
  }
  .summary__note strong { font-weight: 700; }

  /* 3 step cards */
  .scards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    align-items: stretch;
    padding-bottom: 32px;
  }
  .scard { display: flex; flex-direction: column; min-width: 0; }
  .scard__head {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-inline: 24px;
    border: 2px solid;
    border-radius: var(--r) var(--r) 0 0;
  }
  .scard__head--blue   { background: var(--c-blue);   border-color: var(--c-blue-dark); }
  .scard__head--orange { background: var(--c-orange); border-color: var(--c-text); }
  .scard__head .ph { border-radius: 2px; }

  .scard__body {
    flex: 1;
    background: var(--c-white);
    border: 2px solid;
    border-top: 0;
    border-radius: 0 0 var(--r) var(--r);
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
  .scard__body--blue   { border-color: var(--c-blue-dark); }
  .scard__body--orange { border-color: var(--c-text); }
  .scard__img {
    width: 100%;
    aspect-ratio: var(--ar);
    flex-shrink: 0;
    overflow: hidden;
  }
  .scard__img > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0 !important;
  }
  .scard__textwrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 24px 24px;
    gap:16px;
  }
  .scard__text {
    font-size: 16px;
    line-height: 1.7;
    align-self: stretch;
  }
  .scard__text span {
    font-size: 14px;
    line-height: 1.7;
    align-self: stretch;
  }
	
	
  .scard__body--orange .scard__text { text-align: left; }

  /* 詳しく見る button (3D) */
  .btn-detail {
    margin-top: auto;
    width: 100%;
    max-width: 275px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--c-white);
    color: var(--c-blue);
    font-weight: 700;
    font-size: 24px;
    text-decoration: none;
    border: 2px solid var(--c-blue);
    border-bottom-width: 4px;
    border-radius: 20px;
    box-shadow: 0 2px 0 var(--c-blue-shadow);
    align-self: center;
  }
  .btn-detail__ico {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background: url(assets/detail_arrow.svg) center/contain no-repeat;
  }

  /* notice box */
  .notice {
    background: var(--c-white);
    border: 2px solid var(--c-text);
    border-radius: var(--r);
    padding: 24px;
    text-align: center;
  }
  .notice p { font-size: 20px; line-height: 1.7; }
  .notice__link {
    color: var(--c-blue);
    font-weight: 700;
    text-decoration: underline;
  }

  /* ---- 03-04 / 参加方法 ---- */
  .howto { padding-top: 80px; padding-bottom: 0; }
  .howto__head { display: flex; justify-content: center; padding-bottom: 32px; }

  /* 03 / キャンペーン期間 */
  .period {
    background: var(--c-white);
    border: 2px solid var(--c-text);
    border-radius: var(--r);
    overflow: hidden;
    text-align: center;
	margin-bottom:48px;
  }
  .period__title {
    font-size: 24px;
    font-weight: 600;
    padding: 24px 16px;
    border-bottom: 2px solid var(--c-text);
  }
  .period__body { padding: 24px 16px; display: flex; flex-direction: column; gap: 16px; }
  .period__dates { font-size: 24px; font-weight: 500; line-height: 1.4; }
  .period__give  { font-size: 16px; line-height: 1.4; }

  /* STEP panels */
  /*.step { padding-top: 48px; }*/
  .step:first-of-type { padding-top: 48px; }

  .step__bar {
    display: grid;
    grid-template-columns: 1fr 290px;
    gap: 24px;
    align-items: center;
    padding: 8px 40px;
    border: 2px solid;
    border-radius: var(--r) var(--r) 0 0;
    position: relative;
  }
  .step__bar--blue   { background: var(--c-blue);   border-color: var(--c-blue-dark); }
  .step__bar--orange { background: var(--c-orange); border-color: var(--c-text); }
  .step__bar-title { position: relative; min-height: 64px; display: flex; align-items: center; align-self: stretch; }
  .step__tab {
    position: absolute;
    top: -34px;
    left: 0;
    width: 134px;
    height: 48px;
    background: var(--c-ph);
  }
  .step__bar-text {
    font-family: var(--ff-jp);
    font-size: 32px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--c-white);
  }
  .step__bar-title-img { width: 100%; aspect-ratio: var(--ar); align-self: center; }
  .step__bar-img { justify-self: end; width: 100%; aspect-ratio: var(--ar); }

  .step__body {
    background: var(--c-white);
    border: 2px solid;
    border-top: 0;
    border-radius: 0 0 var(--r) var(--r);
    padding: 40px;
  }
  .step__body--blue   { border-color: var(--c-blue-dark); }
  .step__body--orange { border-color: var(--c-text); }

  /* STEP1 4-item grid */
  .step__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding-bottom: 24px;
  }
  .step__item { display: flex; flex-direction: column; gap: 16px; }
  .step__item-title {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.5;
	min-height: 60px;
  }
  .step__item .note{
    font-size: 14px;
  }
	
  .num {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-white);
    font-family: var(--ff-en);
    font-weight: 600;
    font-size: 24px;
  }
  .num--blue { background: var(--c-blue); }
  .step__item-img { width: 100%; aspect-ratio: var(--ar); }

  .step__note {
    font-size: 16px;
    line-height: 1.5;
    padding-bottom: 32px;
  }

  /* STEP1 link buttons (3D) */
  .step__links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .btn-link {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 72px;
    padding: 12px 24px;
    background: var(--c-white);
    color: var(--c-text);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    border: 2px solid var(--c-text);
    border-bottom-width: 4px;
    border-radius: 8px;
  }
  .btn-link span:first-child { flex: 1; }
  .btn-link__ico {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: url(assets/link_arrow.svg) center/contain no-repeat;
  }

  /* STEP text block (STEP2 / STEP3) */
  .step__textblock { display: flex; flex-direction: column; gap: 24px; }
  .step__subtitle { font-size: 24px; font-weight: 600; line-height: 1.5; }
  .step__paragraph p { font-size: 16px; line-height: 1.7; }

  /* step divider (blue triangle) */
  .step__divider {
    width: 144px;
    height: 56px;
    margin: 24px auto;
    background: url(assets/step_tri.svg) center/contain no-repeat;
  }

  /* ============================================================
      05 / 参加規約
      ============================================================ */
  .terms { padding: 80px 0 0; }
  .terms__head { display: flex; justify-content: center; padding-bottom: 32px; }
  .terms__box {
    background: var(--c-white);
    border: 2px solid var(--c-text);
    border-radius: var(--r);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .terms__list { list-style: disc; padding-left: 24px; }
  .terms__list li { font-size: 16px; line-height: 1.7; }
  .terms__article { display: flex; flex-direction: column; gap: 4px; }
  .terms__article h4 { font-size: 24px; font-weight: 600; line-height: 1.5; }
  .terms__text p { font-size: 16px; line-height: 1.7; }
  .terms__sublist { list-style: disc; padding-left: 24px; }
  .terms__sublist li { font-size: 16px; line-height: 1.7; }
  .terms__text a { color: var(--c-link); text-decoration: underline; }

  /* ============================================================
      06 / ご利用にあたっての注意事項
      ============================================================ */
  .cautions { padding: 80px 0 120px; }
  .cautions__head { display: flex; justify-content: center; padding-bottom: 32px; }
  .cautions__box {
    background: var(--c-white);
    border: 2px solid var(--c-text);
    border-radius: var(--r);
    padding: 40px;
  }
  .cautions__box p { font-size: 16px; line-height: 1.7; }

  /* ============================================================
      07-08 / Merit + FAQ
      ============================================================ */
  .meritfaq { position: relative; padding: 80px 0; }

  /* 07 / Merit */
  .merit__head { display: flex; justify-content: center; padding-bottom: 32px; }
  .merit__card {
    background: var(--c-white);
    border: 2px solid var(--c-text);
    border-radius: var(--r);
    overflow: hidden;
  }
  .merit__imgarea {
    background: var(--c-cream);
    border-bottom: 2px solid var(--c-text);
    padding: 40px;
  }
  .merit__cardtitle { margin: 0 auto 16px; }
  .merit__points {
    display: flex;
    gap: 0;
    align-items: center;
    justify-content: center;
  }
  .merit__note {
    padding: 24px 32px;
    display: flex;
    flex-direction: column;
  }
  .merit__note p { font-size: 16px; line-height: 1.7; }
  .merit__link {
    font-size: 16px;
    color: var(--c-link);
    text-decoration: underline;
  }
  .merit__note .note{
    font-size:14px;
	  margin-top:12px;
  }

  /* 08 / FAQ */
  .faq { padding-top: 80px; }
  .faq__head { display: flex; justify-content: center; padding-bottom: 32px; }
  .faq__list { display: flex; flex-direction: column; gap: 16px; }
  .faq__item {
    background: var(--c-white);
    border: 2px solid var(--c-blue-dark);
    border-bottom-width: 4px;
    border-radius: var(--r);
    overflow: hidden;
  }
  .faq__item details { width: 100%; }
  .faq__q {
    list-style: none;
    cursor: pointer;
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 24px 40px;
    background: var(--c-blue);
  }
  .faq__q::-webkit-details-marker { display: none; }
  .faq__q-text {
    flex: 1;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--c-white);
  }
  .badge {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .badge--q { background: var(--c-white); }
  .badge--a { background: var(--c-orange); border: 2px solid var(--c-text); }
  .badge__letter { width: 58%; height: 58%; display: block; }
  .faq__ico {
    position: relative;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
  }
  .faq__ico::before,
  .faq__ico::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 18px;
    height: 3px;
    border-radius: 2px;
    background: #fff;
    transform: translate(-50%, -50%);
    transition: opacity .2s ease, transform .25s ease;
  }
  .faq__ico::after { transform: translate(-50%, -50%) rotate(90deg); }
  & details[open] .faq__ico::after { opacity: 0; transform: translate(-50%, -50%) rotate(0deg); }
  .faq__a {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 24px 40px;
  }
  .faq__a-text { flex: 1; font-size: 16px; line-height: 1.7; padding-top: 8px; }
  .faq__a-block { display: block; }
  .faq__a-block + .faq__a-block { margin-top: 1.7em; }
  .faq__a-list { list-style: disc; padding-left: 24px; }
  .faq_note{margin-top:40px;font-size: 16px;}

  /* ============================================================
      09 / Contact + CTA
      ============================================================ */
  .cta { position: relative; padding: 80px 0; }
  .contact {
    background: var(--c-white);
    border-radius: var(--r);
    padding: 80px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .contact__title {
    font-size: 40px;
    font-weight: 700;
    color: var(--c-accent);
    text-align: center;
    line-height: 1.3;
    padding-bottom: 32px;
  }

  .cta__banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    display: flex;
    justify-content: center;
    padding: 10px 16px;
    padding-bottom: max(10px, env(safe-area-inset-bottom));
    pointer-events: none;
    transform: translateY(120%);
    opacity: 0;
    visibility: hidden;
    transition: transform .35s ease, opacity .35s ease, visibility .35s;
  }
  .cta__banner.is-visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  /*.cta__pc-img {
    display: block;
    width: 100%;
    max-width: 560px;
    aspect-ratio: var(--ar);
    border-radius: var(--r);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    pointer-events: auto;
  }*/
  .cta__pc-img {
    display: block;
    width: 100%;
    max-width: 560px;
    aspect-ratio: var(--ar);
    border-radius: var(--r);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    pointer-events: auto;

    /* ↓ PC用CTAのhover時の半透明化を無効化 */
    @media (hover: hover) {
      &:hover {
        opacity: 1 !important;
        filter: none !important; /* 万が一、別ルールで明るさやブラーが変わる設定があっても無効化 */
      }
    }
  }
	
	
  .cta__sp-btn { display: none; }


  #share {
    overflow: hidden;
    width: 200px;
    margin: 16px auto;
  }	
	



  /* ============================================================
      Responsive — Tablet (≤1024px)
      ============================================================ */
  @media (max-width: 1024px) {
    --pad-side: 24px;
    .main { padding-top: 56px; padding-bottom: 0; }
    .howto { padding-top: 56px; padding-bottom: 0; }
    .terms { padding-top: 56px; padding-bottom: 0; }
    .cautions { padding-top: 56px; padding-bottom: 84px; }
    .meritfaq, .cta { padding-block: 56px; }
    .about { padding-bottom: 56px; }
    .about__card { min-height: 480px; }

    .summary__catch, .summary__lead-body { font-size: 20px; }
    .scards .btn-detail { font-size: 18px; padding-left: 16px; padding-right: 44px; }
    .step__bar { grid-template-columns: 1fr 220px; }
    .step__bar-text { font-size: 26px; }
    .step__body { padding: 24px; }
    .step__grid { gap: 20px; }
    .merit__imgarea { padding: 24px; }
    .contact__title { font-size: 32px; }
  }

  /* ============================================================
      Responsive — Mobile (≤768px)
      ============================================================ */
  @media (max-width: 768px) {
    --pad-side: 16px; --r: 16px;
    .hero__img--pc { display: none; }
    .hero__img--sp { display: block; }
    .main { padding-top: 40px; padding-bottom: 0; }
    .howto { padding-top: 40px; padding-bottom: 0; }
    .terms { padding-top: 40px; padding-bottom: 0; }
    .cautions { padding-top: 40px; padding-bottom: 60px; }
    .meritfaq, .cta { padding-block: 40px; }
    .about { padding-bottom: 40px; }
    .about__card { min-height: 320px;margin:40px 0;font-size:16px;padding:32px 16px;gap:16px;}
    .about__card .about_tit{padding:0 36px;}

    .summary__head { padding-bottom: 24px; }
    .summary__catch, .summary__lead-body { font-size: 16px; }
    .summary__lead-body { text-align: left; }
    .summary__note{font-size:14px;}
    .scards { grid-template-columns: 1fr; gap: 16px; }
    .scard__head { height: 56px; }
    .btn-detail { max-width: 100%; height: 56px; font-size: 18px; }
    .notice { padding: 16px; text-align: left; }
    .notice p { font-size: 16px; }

    .howto { padding-top: 40px; }
    .period__title { font-size: 20px; padding: 16px; }
    .period__dates { font-size: 16px; }
    .period__give { font-size: 14px; }

    .step__bar {
      display: flex;
      flex-direction: column;
      align-items: stretch;
      gap: 8px;
      padding: 28px 16px 12px;
    }
    .step__bar-title { display: block; align-self: stretch; }
    .step__tab { width: 105px; height: 40px; top: -48px; }
    .step__bar-text { display: block; font-size: 18px; }
    .step__bar-img { width: 165px; max-width: 100%; align-self: center; }
    .step__bar-title-img { width: 100%; }
    .step__body { padding: 16px; }
    .step__grid { grid-template-columns: 1fr; gap: 24px; }
    .step__item-title { font-size: 18px; min-height: auto;}
    .num { width: 40px; height: 40px; font-size: 18px; }
    .step__links { grid-template-columns: 1fr; }
    .step__subtitle { font-size: 18px; }
    .step__paragraph p { font-size: 14px; }
.step__textblock {gap: 16px; }
    .terms { padding-bottom: 0; }
 .terms__list li { font-size: 14px;}
    .terms__box { padding: 16px; }
    .terms__text p{font-size:14px;}
    .terms__text{font-size:14px;}
    .terms__article h4 { font-size: 18px; }
    .terms__sublist li { font-size: 14px; }
    .cautions { padding-bottom: 60px; }
    .cautions__box { padding: 16px; }

    .merit__imgarea { padding: 16px; }
    .merit__points { flex-direction: column; gap: 12px; }
    .merit__note { padding: 16px; }
    .faq { padding-top: 56px; }
    .faq__q { padding: 16px; gap: 12px; }
    .faq__q-text { font-size: 18px; }
    .faq__ico { width: 24px; height: 24px; }
    .faq__a { padding: 16px; gap: 12px; }
    .badge { width: 36px; height: 36px; }

    .contact { padding: 40px 16px; }
    .contact__title { font-size: 25px; }
    .cta__pc-img { display: none; }
    /* .cta__sp-btn {
        display: block;
        width: 100%;
        max-width: 361px;
        aspect-ratio: 361 / 64;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        pointer-events: auto;
      }*/
	  	
    .cta__sp-btn {
      -webkit-appearance: none;  /* 1. iOS独自のデフォルト背景・スタイルを完全リセット */
      appearance: none;
      
      display: block;
      width: 100%;
      max-width: 361px;
      aspect-ratio: 361 / 64;
      background-color: var(--c-white); /* ※必要に応じた背景色トークン */
      
      border: none;              /* 2. デフォルトの枠線や不要な背景の干渉を防ぐ */
      border-radius: 32px;       /* 3. 高さ64pxに対して「32px」指定で完全なカプセル型に */
      overflow: hidden;          /* 4. 子要素や背景のはみ出しを強制カット */
      
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
      pointer-events: auto;
    }

    .wave { height: 18px; }
  }

  @media (max-width: 380px) {
    .step__bar-text { font-size: 19px; }
    .contact__title { font-size: 19px; }
  }

  .is-sp { display: none; }
  @media (max-width: 768px) {               
    .is-pc { display: none !important; }
    .is-sp {
      display: block;
      width: fit-content;
      margin: 0 auto;
    }
  }

  .timg.is-sp {
    width: var(--w);
  }
}

@media (prefers-reduced-motion: reduce) {
  #aupay_cp .cta__banner { transition: none; }
}