/* SAGA ramen campaign, second edition. */
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
.x-btn { transition: background-color .3s ease, color .3s ease, border-color .3s ease; border:1px solid transparent }
      .x-btn-arrow { transition: transform .3s ease }
      .x-btn--dark { border-color:#000 }
      .x-btn--light { border-color:#fff }
      .x-btn--dark:hover, .x-btn--dark:focus-visible { background:#fff; color:#000; border-color:#000 }
      .x-btn--light:hover, .x-btn--light:focus-visible { background:#000; color:#fff; border-color:#000 }
      .x-btn:hover .x-btn-arrow, .x-btn:focus-visible .x-btn-arrow { transform:translateX(5px) }
      @media(prefers-reduced-motion:reduce){ .x-btn, .x-btn-arrow { transition:none } .x-btn:hover .x-btn-arrow, .x-btn:focus-visible .x-btn-arrow { transform:none } }
      .sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0 }
      /* holo card effect */
      .holo-card{position:relative;overflow:hidden;border-radius:2px;transform-style:preserve-3d;transition:transform .12s ease;transform:rotateX(var(--ry,0deg)) rotateY(var(--rx,0deg))}
      .holo-card img{display:block;width:100%;height:auto}
      .holo-layer{position:absolute;inset:0;pointer-events:none;border-radius:inherit;opacity:0;transition:opacity .25s ease}
      .holo-foil{mix-blend-mode:color-dodge;background:repeating-linear-gradient(115deg,#ff4d6d 0%,#ffd24d 12%,#4dff9e 24%,#4dd2ff 36%,#b04dff 48%,#ff4d6d 60%);background-size:300% 300%;background-position:calc(var(--mx,50%) * 1.4) calc(var(--my,50%) * 1.4);filter:saturate(1.2)}
      .holo-glare{mix-blend-mode:soft-light;background:radial-gradient(circle at var(--mx,50%) var(--my,50%),rgba(255,255,255,.8),rgba(255,255,255,0) 40%)}
      .holo-sweep{mix-blend-mode:color-dodge;background:linear-gradient(105deg,transparent 38%,rgba(255,255,255,.5) 49%,rgba(255,255,255,.85) 50%,rgba(255,255,255,.5) 51%,transparent 62%);background-size:280% 100%}
      @media(hover:hover){.holo-card:hover .holo-foil{opacity:.18}.holo-card:hover .holo-glare{opacity:.55}}
      @media(hover:none){.holo-card.holo-tap .holo-sweep{animation:holoSweepOnce .9s ease-out}}
      @keyframes holoSweepOnce{0%{opacity:0;background-position:150% 0}15%{opacity:.6}85%{opacity:.6}100%{opacity:0;background-position:-150% 0}}
      /* campaign prize placeholder */
      .card-placeholder { background:#d9d9d9; display:flex; align-items:center; justify-content:center; color:#999; font-size:12px; letter-spacing:0.06em }
      @media(min-width:1024px){ .step-icon-placeholder { width:160px !important; height:160px !important } .terms-inner { padding:70px 50px !important } #terms-box { margin-left:auto !important; margin-right:auto !important; margin-top:64px !important } }
      @media(max-width:1023px){ #terms-box { margin-left:24px !important; margin-right:24px !important } }
      /* ===== Campaign KV (white) ===== */
      .kv-section { background:#fff; position:relative }
      .kv-container { position:relative; width:100%; max-width:1512px; margin:0 auto; aspect-ratio:1512/667; z-index:1 }
      /* 透かし: Figma 332:1114 (left260/top-198/991px, パス毎opacity0.03はSVGに焼き込み済み) */
      .kv-watermark { position:absolute; left:17.2%; top:-29.7%; width:65.56%; aspect-ratio:1/1; z-index:0; pointer-events:none }
      .kv-frame { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; z-index:1; pointer-events:none }
      .kv-frame-sp { display:none }
      .kv-stack { position:absolute; inset:0; z-index:2; display:flex; flex-direction:column; align-items:center; justify-content:center }
      .kv-stack > * { margin:0 }
      .kv-center { display:flex; flex-direction:column; align-items:center; width:100%; gap:42px }
      .kv-titlegroup { display:flex; flex-direction:column; align-items:center; width:100% }
      .kv-title { width:34.6%; height:auto }
      .kv-pill-filled { margin-top:15px; display:inline-block; background:#c8161d; color:#fff; font-family:'Zen Old Mincho',serif; font-size:20px; letter-spacing:0.06em; padding:9px 40px; border-radius:24px; line-height:1.4 }
      .kv-date { margin-top:16px; font-family:'Zen Old Mincho',serif; font-size:33px; letter-spacing:0.06em; color:#000 }
      .kv-pill-outline { margin-top:25px; display:inline-block; border:1px solid #c8161d; color:#c8161d; font-family:'Zen Old Mincho',serif; font-size:12px; letter-spacing:0.06em; padding:3px 11px; border-radius:6px; line-height:1.4 }
      .kv-btn-wrap { margin-top:0 }
      /* KV SP override (Figma 360:1451) */
      @media(max-width:639px){
        .kv-section { overflow:visible }
        .kv-container { aspect-ratio:auto; overflow:visible; padding:40px 22px; display:flex; flex-direction:column; align-items:center; width:100%; gap:42px; position:relative }
        .kv-frame { display:none }
        .kv-frame-sp { display:block; width:calc(100vw - 28px); max-width:365px; height:auto; position:relative; z-index:1 }
        .kv-watermark { left:-10.4vw; top:12px; width:120.9vw; max-width:none }
        .kv-stack { position:relative; z-index:1; inset:auto; display:flex; flex-direction:column; align-items:center; width:100%; gap:0; justify-content:flex-start }
        .kv-center { gap:30px }
        .kv-title { width:333px !important; max-width:100%; height:auto }
        .kv-pill-filled { margin-top:9px; font-size:14px; padding:5px 24px; border-radius:16px }
        .kv-date { margin-top:10px; font-size:21px; color:#231815 }
        .kv-pill-outline { margin-top:13px; font-size:11px; padding:3px 8px; border-radius:4px }
      }
      /* ABOUT lead & pills */
      .about-lead { width:100% }
      .about-lead p { margin:0 }
      .about-pills { display:flex; align-items:center; justify-content:center; gap:41px }
      .about-pill-box { width:332px; height:64px; border:1px solid #c8161d; border-radius:6px; display:flex; align-items:center; justify-content:center }
      @media(max-width:639px){ .about-lead { max-width:337px; margin-inline:auto } .about-pills { flex-direction:column; gap:26px; width:100% } .about-pills > div { width:100% } .about-pill-box { width:100% } }
      /* HOW TO JOIN steps responsive */
      .steps-row { display:flex; gap:24px; margin-top:48px }
      @media(max-width:767px){ .steps-row { flex-direction:column } }
      /* SHOPS cards SP */
      .shops-grid { display:flex; flex-wrap:wrap; justify-content:center; gap:24px; margin-top:48px }
      .shops-grid > .shop-card { flex:0 0 calc((100% - 72px) / 4); max-width:calc((100% - 72px) / 4) }
      @media(max-width:639px){
        .shops-grid { gap:22px }
        .shops-grid > .shop-card { flex:0 0 calc((100% - 22px) / 2); max-width:calc((100% - 22px) / 2) }
      }
      .shop-card { display:flex; flex-direction:column; gap:10px; align-items:flex-start }
      .shop-card-img { width:100%; border-radius:2px }
      @media(max-width:639px){ .shop-card-img { aspect-ratio:697/1016; object-fit:contain } }
.kv-date { display: flex; flex-direction: column; align-items: center; line-height: 1.5; font-size: clamp(22px, 2.2vw, 33px); }
.kv-year { font-size: .53em; letter-spacing: .12em; }
.kv-center { gap: 26px; }
.about-pill-box { width: 370px; padding: 10px; text-align: center; }
.about-pill-box > span { font-size: 15px !important; letter-spacing: .04em !important; }
.shop-copy { font-family: "Zen Old Mincho", serif; letter-spacing: .06em; }
.shop-copy h3 { font-size: 15px; font-weight: 700; line-height: 1.6; }
.shop-city { font-size: 12px; color: #777; line-height: 2; }
.shop-menu { font-size: 13px; line-height: 1.7; }
.section-lead { margin-top: 28px; text-align: center; font-size: 18px; letter-spacing: .1em; line-height: 2; }
.prizes-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; margin-top: 48px; }
.prize-card { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 28px 20px; border-radius: 20px; background: #fff; text-align: center; box-shadow: 0 0 17px #0000000f; }
.prize-course { color: #c8161d; font-size: 15px; font-weight: 700; line-height: 1.6; }
.prize-image { position: relative; width: 100%; aspect-ratio: 4/3; background: #fff; }
.prize-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.prize-card h3 { font-size: 17px; font-weight: 700; line-height: 1.6; }
.prize-badge { display: inline-flex; justify-content: center; padding: 6px 14px; border-radius: 30px; background: #c8161d; color: #fff; font-size: 13px; line-height: 1.6; }
.prize-note { font-size: 13px; line-height: 1.9; }
.campaign-notes { max-width: 800px; margin: 34px auto 0; color: #666; font-size: 13px; line-height: 1.9; letter-spacing: .04em; }
.campaign-notes p + p { margin-top: 7px; }
.entry-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); max-width: 900px; margin: 42px auto 0; border-top: 1px solid #d9d3ca; border-bottom: 1px solid #d9d3ca; }
.entry-action { padding: 30px 28px 34px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.entry-action + .entry-action { border-left: 1px solid #d9d3ca; }
.entry-number { color: #c8161d; font: italic 32px/1.3 "Playfair Display",serif; }
.entry-action h3 { font-size: 20px; font-weight: 700; margin: 12px 0; line-height: 1.6; }
.entry-action p { font-size: 15px; line-height: 1.9; margin-bottom: 24px; }
.entry-button { display: flex; justify-content: space-between; align-items: center; width: 100%; max-width: 302px; min-height: 56px; margin-top: auto; border-radius: 30px; padding: 12px 22px; background: #000; color: #fff; font-size: 17px; }
.entry-mail { margin: auto 0 10px; font-family: sans-serif; font-size: 17px; text-decoration: underline; text-underline-offset: 5px; overflow-wrap: anywhere; }
.entry-complete { margin: 28px auto 0; text-align: center; color: #a3161d; font-weight: 700; font-size: 16px; line-height: 1.9; }
.entry-notes { margin-top: 22px; }
.entry-contact { margin-top: 42px; text-align: center; font-size: 15px; line-height: 2; }
.entry-contact a { text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.terms-source { font-size: 13px; text-decoration: underline; text-underline-offset: 4px; line-height: 1.8; }
#terms-box { max-width: 1000px; max-height: 400px; overflow: auto; margin: 40px auto 0 !important; border: 1px solid #ddd; border-radius: 6px; background: #fff; overscroll-behavior: contain; }
.terms-inner { padding: 32px 26px; font-size: 14px; line-height: 1.9; letter-spacing: .04em; overflow-wrap: anywhere; }
.terms-inner h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.terms-inner h4 { margin-top: 26px; margin-bottom: 10px; font-weight: 700; }
.terms-inner p + p { margin-top: 8px; }
.terms-inner a { text-decoration: underline; }
.terms-table-wrap { overflow-x: auto; margin: 12px 0 20px; }
.terms-inner table { width: 100%; border-collapse: collapse; font-size: 13px; }
.terms-inner th, .terms-inner td { border: 1px solid #ddd; padding: 10px; text-align: left; vertical-align: top; }
.terms-inner th { background: #f6f3ee; }
a:focus-visible, #terms-box:focus-visible { outline: 2px solid #c8161d; outline-offset: 4px; }
@media (min-width:640px) and (max-width:1023px) {
  .kv-container { aspect-ratio: 1.6; }
  .kv-frame { object-fit: fill; }
  .kv-title { width: 40%; }
  .kv-pill-filled { margin-top: 10px; padding: 5px 26px; font-size: 16px; }
  .kv-date { margin-top: 10px; }
  .kv-pill-outline { margin-top: 12px; }
  .kv-center { gap: 20px; }
  .about-pills { gap: 20px; }
  .about-pill-box { width: 290px; }
  .prizes-grid { gap: 14px; }
  .prize-card { padding: 22px 14px; }
  .prize-course { font-size: 13px; }
  .prize-card h3 { font-size: 15px; }
}
@media (max-width:639px) {
  .kv-section { overflow-x: clip; }
  .kv-date { font-size: clamp(18px,5.15vw,23px); letter-spacing: .025em; }
  .kv-center { gap: 28px; }
  .kv-btn-wrap { max-width: 100%; }
  .kv-btn-wrap > a { max-width: 100%; }
  .about-pill-box { width: 100%; }
  .about-pill-box > span { font-size: 14px !important; }
  .section-lead { font-size: 16px; letter-spacing: .06em; }
  .prizes-grid { grid-template-columns: 1fr; gap: 24px; margin-top: 34px; }
  .prize-card { padding: 26px 22px; gap: 16px; }
  .prize-image { max-width: 360px; }
  .entry-actions { grid-template-columns: 1fr; margin-top: 30px; }
  .entry-action { padding: 28px 8px; }
  .entry-action + .entry-action { border-left: 0; border-top: 1px solid #d9d3ca; }
  .entry-action h3 { font-size: 19px; }
  .entry-mail { font-size: 16px; }
  .entry-complete { text-align: left; font-size: 15px; }
  .campaign-notes { font-size: 12px; }
  .terms-inner { padding: 24px 18px; font-size: 13px; }
  .terms-inner table { table-layout: fixed; font-size: 12px; letter-spacing: 0; }
  .terms-inner th, .terms-inner td { padding: 8px 6px; overflow-wrap: anywhere; }
  .terms-inner th:nth-child(1) { width: 30%; }
  .terms-inner th:nth-child(2) { width: 33%; }
  .terms-inner th:nth-child(3) { width: 37%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
