/* CJ LINE12 LP: styles — PC background colors are under @media(min-width:900px) */
html{margin:0!important;}
body.cj-line12-7parts-page{margin:0!important;padding:0!important;background:#eef6f1;overflow-x:hidden;}
.cj-line12-7parts-page .cj-line12-lp,.cj-line12-7parts-page .cj-line12-lp *{box-sizing:border-box;}
.cj-line12-7parts-page .cj-line12-lp{width:100%;max-width:480px;margin:0 auto;padding:0;background:#f4fdf6;overflow:hidden;box-shadow:0 2px 20px rgba(7,37,25,.08);}
.cj-line12-7parts-page .cj-line12-lp__segment{display:block;position:relative;margin:0!important;padding:0!important;border:0!important;line-height:0!important;font-size:0!important;}
.cj-line12-7parts-page .cj-line12-lp__image{display:block!important;width:100%!important;max-width:100%!important;height:auto!important;border:0!important;border-radius:0!important;margin:0!important;padding:0!important;box-shadow:none!important;vertical-align:top!important;}
/* ボタンなしのセクション画像の上に、独立したLINEボタン画像を重ねる。 */
.cj-line12-7parts-page .cj-line12-lp__tap{display:flex;align-items:center;justify-content:center;position:absolute;z-index:2;cursor:pointer;touch-action:manipulation;outline-offset:3px;text-decoration:none!important;}
/* LP内のLINEボタンは画像自体を112%に拡大（中央揃え） */
.cj-line12-7parts-page .cj-line12-lp__tap img{display:block;width:100%;max-width:none;height:auto;max-height:none;flex-shrink:0;object-fit:contain;transform-origin:center center;filter:drop-shadow(0 6px 8px rgba(28,82,34,.12));}
.cj-line12-7parts-page .cj-line12-lp__tap:focus-visible{outline:3px solid #143bdf;}
.cj-line12-7parts-page .cj-line12-lp__tap:active img{transform:scale(.985)!important;filter:brightness(.98);}
.cj-line12-7parts-page .cj-line12-lp__notice{font-size:13px;line-height:1.6;font-weight:700;text-align:center;margin:0;padding:12px 15px;background:#fff1c5;color:#7b2600;}
.cj-line12-7parts-page .cj-line12-lp__sr{position:absolute!important;width:1px!important;height:1px!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;overflow:hidden!important;white-space:nowrap!important;padding:0!important;margin:-1px!important;border:0!important;}
@media(max-width:480px){.cj-line12-7parts-page .cj-line12-lp{box-shadow:none;}}

  /* JSが正常に始動したときだけ各セクションをゆっくり出現させる。 */
  .cj-line12-7parts-page .cj-line12-lp.cj-motion-enabled .cj-line12-lp__segment[data-reveal="1"]{
    opacity:0;transform:translate3d(0,16px,0);
    transition:opacity .75s ease-out,transform .75s cubic-bezier(.16,1,.3,1);
  }
  .cj-line12-7parts-page .cj-line12-lp.cj-motion-enabled .cj-line12-lp__segment[data-reveal="1"].cj-is-visible{
    opacity:1;transform:translate3d(0,0,0);
  }
  .cj-line12-7parts-page .cj-line12-lp.cj-motion-enabled.cj-button-pulse .cj-line12-lp__tap img{
    animation:cj-line12-button-breathe 3.4s ease-in-out infinite;
  }
  @keyframes cj-line12-button-breathe{0%,100%{transform:scale(1);filter:brightness(1)}50%{transform:scale(1.017);filter:brightness(1.035)}}
  @media(hover:hover){
    .cj-line12-7parts-page .cj-line12-lp__tap:hover img{animation-play-state:paused!important;transform:scale(1.035)!important;filter:brightness(1.06);}
  }



/* ===== PC：実画像を使った固定バナー＋LINE CTA ===== */
.cj-line12-7parts-page .cj-desktop-layout,
.cj-line12-7parts-page .cj-desktop-layout * {box-sizing:border-box;}
.cj-line12-7parts-page .cj-desktop-promo {display:none;}
.cj-line12-7parts-page .cj-desktop-promo {font-family:"LINE Seed JP","Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;}
.cj-line12-7parts-page .cj-promo__banner img {display:block;width:100%;max-width:100%;height:auto;border:0;box-shadow:none;}
.cj-line12-7parts-page .cj-promo__area {
  background-color: #ffffff;
  border-radius: 20px;
  padding: 10px;
}



@media(min-width:900px){
  body.cj-line12-7parts-page {
    background:linear-gradient(145deg,#f3fff5 0%,#dcf2e0 42%,#ccebd3 73%,#eaffed 100%) fixed!important;
  }
  body.cj-line12-7parts-page:before,
  body.cj-line12-7parts-page:after {
    content:"";pointer-events:none;position:fixed;z-index:0;border-radius:50%;
  }
  body.cj-line12-7parts-page:before {
    width:46vw;height:46vw;background:rgba(97,205,117,.17);left:-23vw;bottom:-21vw;
  }
  body.cj-line12-7parts-page:after {
    width:32vw;height:32vw;background:rgba(169,229,182,.32);right:-15vw;top:-16vw;
  }
  .cj-line12-7parts-page .cj-desktop-layout {
    width:100%;max-width:1000px;min-height:100vh;margin:0 auto;
    padding:0 12px;position:relative;z-index:1;
    display:grid;grid-template-columns:minmax(0,460px) minmax(0,460px);
    justify-content:center;gap: clamp(70px, 9vw, 112px);align-items:start;
  }
  /* PCは左に特典エリア、右に縦長LP */
  .cj-line12-7parts-page .cj-desktop-promo {grid-column:1;grid-row:1;}
  .cj-line12-7parts-page .cj-line12-lp {grid-column:2;grid-row:1;}
  .cj-line12-7parts-page .cj-desktop-promo {
    position:sticky;top:0;align-self:start;
    height:100vh;height:100dvh;max-height:100vh;max-height:100dvh;
    padding:10px 10px;display:flex;flex-direction:column;align-items:center;justify-content:center;
    overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none;isolation:isolate;
  }
  .cj-line12-7parts-page .cj-desktop-promo::-webkit-scrollbar {display:none;}
  .cj-line12-7parts-page .cj-desktop-promo:before {
    content:"";position:absolute;z-index:-1;pointer-events:none;
    left:0;top:24%;width:84px;height:96px;opacity:.55;
    background-image:radial-gradient(#a7dda9 2px,transparent 2.5px);background-size:18px 18px;
  }
  .cj-line12-7parts-page .cj-promo__inner {
    width:100%;margin:0 auto;text-align:center;color:#14315c;line-height:1.3;
    flex-shrink:0;display:flex;flex-direction:column;align-items:center;
    gap:clamp(3px,.7vh,10px);
  }
  .cj-line12-7parts-page .cj-promo__brand {
    display:inline-flex;align-items:center;gap:6px;padding:6px 17px;margin:0 auto -8px;
    border-radius:999px;background:#0c2a60;color:white;font-size:clamp(11px,1vw,14px);
    font-weight:900;letter-spacing:.035em;line-height:1.35;
    box-shadow:0 4px 0 rgba(16,50,92,.12);
  }
  .cj-line12-7parts-page .cj-promo__brand .cj-brand-star {color:#ffe300;}
  .cj-line12-7parts-page .cj-promo__banner {
    display:flex;flex-direction:column;align-items:stretch;
    width:min(100%,58vh,440px);max-width:100%;margin:0 auto;
    padding:10px;border-radius:20px;background-color:#32c749;
  }







  .cj-line12-7parts-page .cj-line12-lp {
    width:100%;max-width:460px;margin:0!important;background:#f4fdf6;min-width:0;
    box-shadow:0 14px 44px rgba(86,72,20,.17);
  }
  .cj-line12-7parts-page .cj-line12-lp__notice {font-size:12px;}
}
@media(min-width:900px) and (max-height:650px){
  .cj-line12-7parts-page .cj-promo__inner {gap:2px;}
  .cj-line12-7parts-page .cj-promo__brand {padding:3px 12px;font-size:11px;}
}


/* PC左：画像分割バナー（見出し → QRとテキスト → 特典一覧 → 補足） */
@media (min-width:900px) {
  .cj-line12-7parts-page .cj-promo__headline,
  .cj-line12-7parts-page .cj-promo__benefits,
  .cj-line12-7parts-page .cj-promo__note {width:100%;height:auto;display:block;}
  .cj-line12-7parts-page .cj-promo__note {padding-top: 20px;}
  .cj-line12-7parts-page .cj-promo__qr-block {
    display:flex;align-items:center;justify-content:space-between;
    gap:12px;padding:10px 12px;background:#fff;border-radius:14px;flex-direction: column;
  }
  .cj-line12-7parts-page .cj-promo__headline{margin-bottom: -14px;z-index: 2;}
  .cj-line12-7parts-page .cj-promo__qr-copy {flex:1;min-width:0;text-align:center;}
  .cj-line12-7parts-page .cj-promo__qr-title {
    margin:0 0 0;color:#0d2c54;font-size: clamp(18px, 1.25vw, 20px);
    line-height:1.35;font-weight:900;
  }
  .cj-line12-7parts-page .cj-promo__qr-description {
    margin:0;color:#0d2c54;font-size: clamp(10px, 1vw, 12px);
    line-height:1.55;font-weight:700;padding-bottom: 10px;
  }
  .cj-line12-7parts-page .cj-promo__qr-image {
    width: clamp(140px, 16vh, 160px);aspect-ratio:1;flex:none;
    padding:4px;background:#fff;border:4px solid #e2eee5;border-radius:8px;
  }
  .cj-line12-7parts-page .cj-promo__qr-image img {
    display:block;width:100%;height:100%;object-fit:contain;
  }
}
