:root {
    --line-green: #06c755;      /* メインカラー */
    --line-green-dark: #00b24c;
    --bg: #f7faf8;
    --white: #ffffff;
    --text: #1f2937;
    --subtext: #6b7280;
    --border: #dfe7e2;
    --coupon-bg: #fff8d9;
    --coupon-border: #f3df7b;
    --coupon-price:#b45309;
    --accent: #fff3b0;
    --shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --max-width: 1120px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 
        "Helvetica Neue", "Segoe UI",
        "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3",
        "Noto Sans JP", "Yu Gothic", "游ゴシック体", sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.logo{
    margin: 30px 0 15px;
}
.logo img{
    width: 200px;
}

.container {
    width: min(100% - 32px, var(--max-width));
    margin: 0 auto;
}

.section {
    padding: 56px 0;
}

.section-head {
    text-align: center;
    margin-bottom: 40px;
}

.section-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--line-green);
    background: rgba(6, 199, 85, 0.08);
    padding: 9px 18px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.section-title {
    margin: 0;
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.section-text {
    margin: 10px auto 0;
    color: var(--subtext);
    font-size: 0.98rem;
    max-width: 720px;
}

/* =========================
       campaign
========================= */
.campaign {
    position: relative;
    overflow: hidden;
    padding: 0 0 56px;
    background:
        radial-gradient(circle at 100% 0%, rgba(6, 199, 85, 0.10), transparent 35%),
        radial-gradient(circle at 0% 20%, rgba(255, 243, 176, 0.45), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f7faf8 100%);
}

.campaign-inner {
    display: grid;
    gap: 24px;
    align-items: center;
}

.campaign-card {
    padding: 20px 0;
}

.campaign-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(6, 199, 85, 0.08);
    color: var(--line-green);
    border-radius: 999px;
    padding: 9px 18px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.campaign-title {
    margin: 0;
    font-size: clamp(1.9rem, 6vw, 3rem);
    line-height: 1.25;
    font-weight: bold;
    letter-spacing: 0.02em;
}

.campaign-title .highlight {
    display: inline-block;
    position: relative;
    z-index: 1;
}

.campaign-title .highlight::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.08em;
    height: 0.5em;
    background: rgba(255, 243, 176, 0.85);
    z-index: -1;
    border-radius: 999px;
}

.campaign-sub {
    margin: 16px 0 0;
    color: var(--subtext);
    font-size: 1rem;
}
.campaign-sub strong{
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--coupon-price);
}

.campaign-note {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.campaign-note span {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #777;
    background: #f3f7f4;
    border: 1px solid var(--border);
    padding: 7px 12px;
    border-radius: 999px;
}

.campaign-cta-wrap {
    margin-top: 50px;
    display: grid;
    gap: 14px;
}

.btn-line {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width:100%;
    padding: 20px 0;
    margin-bottom: 30px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--line-green) 0%, var(--line-green-dark) 100%);
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    text-align: center;
    box-shadow: 0 10px 24px rgba(6, 199, 85, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-line:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(6, 199, 85, 0.32);
}

.btn-line::before {
    content: "💬";
    font-size: 1.1rem;
    line-height: 1;
}

.campaign-qr {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #fff;
    width: 100%;
    flex-shrink: 0;
}

.qr-box {
    width: 84px;
    flex-shrink: 0;
}

.campaign-qr-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    color: var(--subtext);
    font-size: 0.85rem;
    line-height: 1.5;
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
    word-break: break-word;
}

.campaign-qr-text strong {
    display: block;
    color: var(--text);
    font-size: 0.92rem;
    font-weight: 600;
}

.campaign-qr-text span {
    display: block;
    margin: 0;
}

.campaign-visual {
    position: relative;
}

.phone {
    width: min(100%, 360px);
    margin: 0 auto;
    background: #101827;
    border-radius: 36px;
    padding: 12px;
    box-shadow: 0 18px 40px rgba(17, 24, 39, 0.16);
}
.phone-screen {
    background: #eefbf2;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.phone-top {
    background: var(--line-green);
    color: #fff;
    padding: 14px 16px;
    font-size: 0.95rem;
    font-weight: 700;
    text-align: center;
}
.chat {
    padding: 16px;
    display: grid;
    gap: 12px;
    min-height: 360px;
    background:
        radial-gradient(circle at 100% 100%, rgba(6, 199, 85, 0.06), transparent 40%),
        #eefbf2;
}

.bubble {
    max-width: 88%;
    padding: 12px 14px;
    border-radius: 18px;
    font-size: 0.92rem;
    line-height: 1.5;
    box-shadow: 0 4px 10px rgba(17, 24, 39, 0.04);
}
.bubble.left {
    background: #fff;
    border-top-left-radius: 6px;
    justify-self: start;
}
.bubble.right {
    background: #d6f8df;
    border-top-right-radius: 6px;
    justify-self: end;
}
.coupon-mini {
    margin-top: 4px;
    display: inline-block;
    background: #fff8d9;
    border: 1px dashed #e5c94b;
    border-radius: 12px;
    padding: 8px 10px;
    font-weight: 700;
    font-size: 0.86rem;
}

/* =========================
       Steps
========================= */
.steps-grid {
    display: grid;
    gap: 16px;
}

.step-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    box-shadow: var(--shadow);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(6, 199, 85, 0.1);
    color: var(--line-green);
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 14px;
}

.step-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.4;
}

.step-text {
    margin: 8px 0 0;
    font-size: 0.95rem;
    color: var(--subtext);
}
.step-image {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 80px;
    border: 1px solid #37456b;
    border-radius: 50%;
}


.step-card.is-subtle {
    background: #fbfcfb;
}

.step-card.is-subtle .step-title {
    font-size: 1rem;
}

/* =========================
       Coupon
========================= */
.coupon-wrap {
    position: relative;
}
.coupon-card {
    position: relative;
    background: var(--coupon-bg);
    border: 2px dashed var(--coupon-border);
    border-radius: 28px;
    padding: 28px 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
}
.coupon-card::before {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  top: 76px;
  border-top: 2px dashed rgba(180, 83, 9, 0.18);
}

.coupon-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 999px;
    padding: 6px 12px;
    margin-bottom: 12px;
}
.coupon-title {
    margin-top: 20px;
    font-size: clamp(1.6rem, 5vw, 2.4rem);
    line-height: 1.25;
    font-weight: 800;
}
.coupon-title strong {
    color: var(--coupon-price);
}
.coupon-text {
    margin: 12px 0 0;
    color: #4b5563;
    font-size: 0.98rem;
}
.coupon-notes {
    margin: 14px 0 0;
    padding-left: 1.2em;
    color: #6b7280;
    font-size: 0.9rem;
}

/* =========================
       Events
 ========================= */
.events-grid {
    display: grid;
    gap: 16px;
}

.event-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.event-card-header {
    padding: 18px 18px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.event-date {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(6, 199, 85, 0.08);
    color: var(--line-green);
    font-size: 0.9rem;
    font-weight: 800;
}

.event-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: #f3f4f6;
    color: #4b5563;
    font-size: 0.8rem;
    font-weight: 700;
}


.event-body {
    padding: 14px 18px 18px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.event-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.4;
}

.event-text {
    margin: 8px 0 0;
    color: var(--subtext);
    font-size: 0.95rem;
}

.event-action {
    margin-top: auto;
    padding-top: 18px;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    padding: 12px 16px;
    border-radius: 999px;
    border: 1px solid var(--line-green);
    background: #fff;
    color: var(--line-green);
    font-size: 0.95rem;
    font-weight: 800;
    transition: background 0.2s ease, transform 0.2s ease;
}

.btn-secondary:hover {
    background: rgba(6, 199, 85, 0.04);
    transform: translateY(-1px);
}

.event-card.is-comingsoon {
    background:
        linear-gradient(180deg, #ffffff 0%, #f8faf9 100%);
}

.event-card.is-comingsoon .btn-secondary {
    border-color: #d1d5db;
    color: #9ca3af;
    pointer-events: none;
    cursor: default;
    background: #f9fafb;
}

/* =========================
       CTA Bottom
========================= */
.cta-bottom {
    background: linear-gradient(180deg, rgba(6, 199, 85, 0.06) 0%, rgba(6, 199, 85, 0.03) 100%);
}

.cta-box {
    background: #fff;
    border: 1px solid rgba(6, 199, 85, 0.14);
    border-radius: 28px;
    box-shadow: var(--shadow);
    padding: 28px 20px;
}

.cta-box .campaign-cta-row {
    margin-top: 18px;
}

/* =========================
       Notes
========================= */
.notes-box {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    box-shadow: var(--shadow);
}

.notes-list {
    margin: 0;
    padding-left: 1.2em;
    color: var(--subtext);
    font-size: 0.92rem;
}
.notes-list li{
    margin-left: 1rem;
    text-indent: -1rem;
}
.notes-list li+li {
    margin-top: 8px;
}

/* =========================
       Footer
========================= */
.footer {
    padding: 24px 0 40px;
    text-align: center;
    color: #6b7280;
    font-size: 0.85rem;
}
footer ul {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}



/* =========================
       Floating CTA (SP)
========================= */
.floating-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 12px;
    z-index: 30;
    padding: 0 16px env(safe-area-inset-bottom, 16px);
    pointer-events: none;
    opacity: 0;
    transform: translateY(16px);
    transition:
        opacity 0.35s ease,
        transform 0.35s ease;
}
.floating-cta.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.floating-cta-inner {
    pointer-events: auto;
    width: min(100%, 560px);
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(223, 231, 226, 0.9);
    border-radius: 999px;
    box-shadow: 0 12px 30px rgba(17, 24, 39, 0.12);
    padding: 8px;
}
.floating-cta .btn-line {
    min-height: 54px;
    font-size: 0.95rem;
}

/* =========================
    Responsive
========================= */
@media (min-width: 768px) {

    .section {
        padding: 80px 0;
    }

    .campaign {
        padding: 0 0 80px;
    }

    .campaign-card {
        padding: 36px;
    }

    .campaign-cta-row .btn-line {
        flex: 1 1 320px;
        min-width: 280px;
    }

    .campaign-cta-row .campaign-qr {
        flex: 0 0 320px;
    }

    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .events-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .cta-box {
        padding: 36px;
    }
}

@media (min-width: 960px) {
    .campaign-inner {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 32px;
    }

    .campaign-card {
        padding: 20px;
    }
}

/* pc非表示 */
@media (min-width: 1024px) {
    .floating-cta {
        display: none;
    }
}

/* SP時 */
@media (max-width: 767px) {

    .logo img{
        width: 140px;
    }
    
    .btn-line {
        margin-bottom: 15px;
    } 
    .floating-cta-inner .btn-line {
        margin-bottom: 0;
    }

    .campaign-title br {
        display: none;
    }

    .campaign-cta-row {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .campaign-qr {
        max-width: 100%;
    }

    .qr-box {
        width: 76px;
        height: 76px;
    }

    .campaign-qr-text {
        font-size: 0.82rem;
    }

    footer{
        margin-bottom: 80px;
    }
    footer ul {
        display: block;
    }
    footer li {
        margin-bottom: 10px;
    }
    

}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .btn-line,
    .btn-secondary {
        transition: none;
    }

    .btn-line:hover,
    .btn-secondary:hover {
        transform: none;
    }
}

/* =========================
   iPhone-like campaign Visual
========================= */
.campaign-visual {
    position: relative;
}

.iphone-mock {
    width: min(100%, 375px);
    margin: 0 auto;
}
.iphone-frame {
    position: relative;
    background: linear-gradient(180deg, #1f2937 0%, #111827 100%);
    border-radius: 42px;
    padding: 10px;
    box-shadow:
        0 24px 50px rgba(17, 24, 39, 0.18),
        inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.iphone-frame::before {
    content: "";
    position: absolute;
    top: 110px;
    left: -2px;
    width: 3px;
    height: 42px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.08);
}
.iphone-frame::after {
    content: "";
    position: absolute;
    top: 165px;
    left: -2px;
    width: 3px;
    height: 68px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.08);
}
.iphone-notch {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 36%;
    max-width: 130px;
    height: 24px;
    background: #0f172a;
    border-radius: 0 0 16px 16px;
    z-index: 2;
}
.iphone-screen {
    position: relative;
    border-radius: 34px;
    overflow: hidden;
    background: #eefbf2;
    min-height: 660px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.iphone-statusbar {
    height: 38px;
    padding: 12px 18px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
    font-weight: 700;
    color: #111827;
    background: #eefbf2;
}
.iphone-status-icons {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.iphone-status-icons span {
    display: inline-block;
    border-radius: 999px;
    background: #111827;
    opacity: 0.75;
}
.iphone-status-icons span:nth-child(1) {
    width: 14px;
    height: 6px;
}
.iphone-status-icons span:nth-child(2) {
    width: 10px;
    height: 6px;
}
.iphone-status-icons span:nth-child(3) {
    width: 18px;
    height: 8px;
    border-radius: 2px;
}
.line-app {
    display: flex;
    flex-direction: column;
    min-height: calc(660px - 38px);
    background:
        radial-gradient(circle at 100% 100%, rgba(6, 199, 85, 0.06), transparent 40%),
        #eefbf2;
}
.line-app-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #06c755;
    color: #fff;
}
.line-app-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    flex-shrink: 0;
}
.line-app-avatar img{
    border-radius: 50%;
    border:2px solid #fff;
}
.line-app-meta {
    display: grid;
    gap: 2px;
    min-width: 0;
}
.line-app-meta strong {
    font-size: 0.95rem;
    line-height: 1.2;
}
.line-app-meta span {
    font-size: 0.75rem;
    opacity: 0.9;
}
.line-chat {
    display: grid;
    gap: 12px;
    padding: 18px 14px 16px;
    min-height: 100%;
    align-content: start;
}
.line-msg {
    max-width: 86%;
    padding: 12px 14px;
    border-radius: 18px;
    font-size: 0.9rem;
    line-height: 1.55;
    box-shadow: 0 4px 10px rgba(17, 24, 39, 0.04);
}
.line-msg.left {
    justify-self: start;
    background: #ffffff;
    border-top-left-radius: 6px;
}
.line-msg.right {
    justify-self: end;
    background: #d6f8df;
    border-top-right-radius: 6px;
}
.line-msg strong {
    font-weight: 800;
}
.line-coupon {
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 12px;
    border-radius: 12px;
    background: #fff8d9;
    border: 1px dashed #e5c94b;
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--coupon-price);
}
.line-richmenu {
    margin-top: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding-top: 8px;
}
.line-richmenu-item {
    min-height: 56px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid #dfe7e2;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #374151;
}
.campaign-visual-note {
    margin: 10px 0 0;
    text-align: center;
    font-size: 0.75rem;
    color: #6b7280;
    line-height: 1.5;
}

@media (max-width: 767px) {
    .iphone-mock {
        width: min(100%, 340px);
    }
    .iphone-screen {
        min-height: 580px;
    }
    .line-app {
        min-height: calc(580px - 38px);
    }
    .line-msg {
        font-size: 0.86rem;
    }
    .line-richmenu-item {
        min-height: 52px;
        font-size: 0.74rem;
    }
}

/* =========================
   FV右 iPhoneモック内 アニメーション
========================= */
.line-chat .line-msg {
  opacity: 0;
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
  will-change: opacity, transform;
}
.line-chat .line-msg.left {
  transform: translateX(-10px) translateY(8px) scale(0.98);
}
.line-chat .line-msg.right {
  transform: translateX(10px) translateY(8px) scale(0.98);
}
.line-chat .line-msg.is-visible {
  opacity: 1;
  transform: translateX(0) translateY(0) scale(1);
}
.line-chat .line-msg:nth-child(4).is-visible {
  box-shadow: 0 8px 18px rgba(6, 199, 85, 0.10);
}
.line-chat .line-msg:nth-child(4).is-visible .line-coupon {
  animation: couponBadgePop 0.42s ease-out;
  transform-origin: center;
}

@keyframes couponBadgePop {
  0% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.06);
  }
  100% {
    transform: scale(1);
  }
}

/* =========================
   Scroll Fade Up
========================= */
.js-fadeup {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
  will-change: opacity, transform;
}
.js-fadeup.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   Events Card Stagger
========================= */
.js-stagger-item {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
  will-change: opacity, transform;
}
.js-stagger-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* アクセシビティ考慮 */
@media (prefers-reduced-motion: reduce) {
  .line-chat .line-msg,
  .js-fadeup,
  .js-stagger-item {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

