/* ========================================
   JOLLYGOOD+ Common Design Tokens
   v3 — Liquid Glass + JG+ Color Guideline
======================================== */

@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@100;200;300;400;500&family=IBM+Plex+Sans+Condensed:wght@100;200;300;400;500;600;700&family=IBM+Plex+Sans:wght@200;300;400;500;600;700&family=Noto+Sans+JP:wght@100;300;400;500;700;900&family=Noto+Serif+JP:wght@300;500&family=Oswald:wght@200;300;400;500;600;700&family=Roboto:wght@100;300;400;500;700;900&display=swap');

:root {
    /* === Colors === */
    --jg-primary: #00A2FA;
    --jg-primary-hover: #026EA8;
    --jg-blue: #0172E0;
    --jg-blue-light: #00A2F4;

    --jg-accent: #E93A83;
    --jg-accent-light: #F8858D;

    --jg-text: #2D313D;
    --jg-text-sub: #666666;
    --jg-text-tertiary: #999999;
    --jg-text-light: #f5f5f7;

    --jg-bg: #FFFFFF;
    --jg-bg-gray: #F5F5F7;

    --jg-navy: #1F2536;
    --jg-dark-deep: #0d1420;

    --jg-success: #0ABFB6;
    --jg-caution: #FFD954;

    /* === Liquid Glass === */
    --glass-light: rgba(255, 255, 255, 0.88);
    --glass-light-solid: rgba(255, 255, 255, 0.95);
    --glass-dark: rgba(40, 40, 44, 0.35);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-border-dark: rgba(0, 0, 0, 0.06);

    /* === Typography === */
    --font-primary: 'Noto Sans JP', '游ゴシック体', YuGothic, '游ゴシック', 'Yu Gothic', sans-serif;
    --font-en: 'Roboto', 'IBM Plex Sans', 'Barlow', sans-serif;
    --font-heading: 'Oswald', 'IBM Plex Sans Condensed', sans-serif;
    --font-number: 'Barlow', 'Roboto', 'IBM Plex Sans', sans-serif;

    /* === Typography Scale (v6: clamp流体スケール — SP↔PC自動調整) === */
    --fs-h1:    clamp(2.8rem, 2.2rem + 1.2vw, 3.6rem);     /* 28〜36px */
    --fs-h2:    clamp(2.0rem, 1.6rem + 0.6vw, 2.4rem);     /* 20〜24px */
    --fs-h3:    clamp(1.8rem, 1.6rem + 0.3vw, 2.0rem);     /* 18〜20px */
    --fs-h4:    clamp(1.3rem, 1.2rem + 0.15vw, 1.4rem);    /* 13〜14px */
    --fs-body:  clamp(1.5rem, 1.4rem + 0.15vw, 1.6rem);    /* 15〜16px */
    --fs-btn:   clamp(1.4rem, 1.3rem + 0.15vw, 1.5rem);    /* 14〜15px */
    --fs-small: clamp(1.2rem, 1.1rem + 0.15vw, 1.3rem);    /* 12〜13px */

    /* === Spacing Scale === */
    --space-xs:  8px;
    --space-sm:  16px;
    --space-md:  24px;
    --space-lg:  40px;
    --space-xl:  64px;
    --space-2xl: 96px;
    --space-3xl: 128px;
    --section-pad:    120px;
    --section-pad-sp: 72px;

    /* === Layout === */
    --max-width: 1200px;
    --nav-height: 56px;
    --nav-height-sp: 48px;

    /* === Easing === */
    --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
    --t-fast: 0.2s;
    --t-medium: 0.5s;
    --t-slow: 0.8s;
}

/* === Reset & Base === */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%;
    /* 1rem = 10px */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 1.6rem;
    line-height: 1.8;
    color: var(--jg-text);
    background: var(--jg-bg);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul,
ol {
    list-style: none;
}

/* === SVG Icon Sizing === */
.icon-svg {
    width: 1em;
    height: 1em;
    display: inline-block;
    vertical-align: -0.125em;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    flex-shrink: 0;
}

/* Standalone decorative icon containers */
.agitation__icon .icon-svg,
.feature__visual-emoji .icon-svg,
.rx-card__icon .icon-svg,
.hero__mockup-icon .icon-svg {
    width: 48px;
    height: 48px;
}

/* Feature card / section icons */
.sol-feature__icon .icon-svg,
.fun-basic__icon .icon-svg {
    width: 40px;
    height: 40px;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* === Utility === */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* === Fade-in Animation === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}

.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Glass Nav — Floating Dark Mode + Mega Menu
============================================ */
.glass-nav {
    position: fixed;
    top: 12px;
    left: 24px;
    right: 24px;
    z-index: 1000;
    max-width: 1200px;
    margin: 0 auto;
    height: var(--nav-height);
    border-radius: 20px;
    background: var(--glass-dark);
    backdrop-filter: saturate(180%) blur(40px) brightness(1.1);
    -webkit-backdrop-filter: saturate(180%) blur(40px) brightness(1.1);
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: background var(--t-fast) var(--ease-out),
        box-shadow var(--t-fast) var(--ease-out),
        border-radius var(--t-fast) var(--ease-out);
}

.glass-nav.scrolled {
    background: var(--glass-light-solid);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    border-color: var(--glass-border-dark);
}

.glass-nav__inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.glass-nav__logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.glass-nav__logo img {
    height: 20px;
    width: auto;
}

/* --- Nav Items --- */
.glass-nav__links {
    display: flex;
    gap: 0;
    align-items: center;
    height: 100%;
    margin: 0 12px;
}

.glass-nav__item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.glass-nav__link {
    font-size: 1.4rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.88);
    line-height: var(--nav-height);
    letter-spacing: 0.02em;
    padding: 0 12px;
    white-space: nowrap;
    transition: color var(--t-fast) var(--ease-out);
}

.glass-nav__link:hover {
    color: #fff;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}

.glass-nav.scrolled .glass-nav__link {
    color: var(--jg-text-sub);
}

.glass-nav.scrolled .glass-nav__link:hover {
    color: var(--jg-primary);
    text-shadow: none;
}

/* Has sub indicator arrow */
.glass-nav__item--has-sub .glass-nav__link::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 5px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    vertical-align: middle;
    transition: transform var(--t-fast);
}

.glass-nav__item--has-sub.is-open .glass-nav__link::after {
    transform: rotate(180deg);
}

/* --- Mega Dropdown --- */
.mega-dropdown {
    position: absolute;
    top: calc(var(--nav-height) + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 800px;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: saturate(180%) blur(40px);
    -webkit-backdrop-filter: saturate(180%) blur(40px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.mega-dropdown--narrow {
    min-width: 340px;
}

.glass-nav__item--has-sub.is-open .mega-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.mega-dropdown__inner {
    display: flex;
    gap: 32px;
}

.mega-dropdown--narrow .mega-dropdown__inner {
    flex-direction: column;
    gap: 4px;
}

.mega-dropdown__group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 240px;
    flex: 1;
}

.mega-dropdown__heading {
    font-size: 1.21rem;
    font-weight: 700;
    color: var(--jg-text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mega-dropdown__link {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    transition: background var(--t-fast);
    text-decoration: none;
}

.mega-dropdown__link:hover {
    background: var(--jg-bg-gray);
}

.mega-dropdown__link strong {
    display: block;
    font-size: 1.54rem;
    font-weight: 600;
    color: var(--jg-text);
    line-height: 1.4;
}

.mega-dropdown__link small {
    display: block;
    font-size: 1.27rem;
    color: var(--jg-text-sub);
    line-height: 1.4;
    margin-top: 2px;
}

/* --- Liquid Glass Tooltip (ライブラリ) --- */
.glass-nav__item--tooltip {
    position: relative;
}

.glass-tooltip {
    position: absolute;
    top: calc(var(--nav-height) + 8px);
    right: -20px;
    width: 380px;
    padding: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: saturate(180%) blur(40px);
    -webkit-backdrop-filter: saturate(180%) blur(40px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 14px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 100;
    overflow: hidden;
}

.glass-nav__item--tooltip:hover .glass-tooltip {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.glass-tooltip__img {
    width: 100%;
    max-height: 160px;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.glass-tooltip__text {
    padding: 16px 20px 20px;
}

.glass-tooltip__heading {
    display: block;
    font-size: 1.49rem;
    font-weight: 700;
    color: var(--jg-text);
    line-height: 1.5;
    margin-bottom: 4px;
}

.glass-tooltip__body {
    font-size: 1.32rem;
    color: var(--jg-text-sub);
    line-height: 1.6;
}

/* --- Right Actions --- */
.glass-nav__actions {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-shrink: 0;
}

.glass-nav__cta {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 10px;
    font-size: 1.21rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
    transition: all var(--t-fast) var(--ease-out);
    white-space: nowrap;
}

.glass-nav__cta:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
}

.glass-nav__cta--app-dl {
    background: rgba(10, 191, 182, 0.45);
    border-color: rgba(10, 191, 182, 0.6);
    font-weight: 600;
}

.glass-nav__cta--app-dl:hover {
    background: rgba(10, 191, 182, 0.65);
}

.glass-nav.scrolled .glass-nav__cta {
    color: var(--jg-text);
    border-color: var(--glass-border-dark);
    background: transparent;
}

.glass-nav.scrolled .glass-nav__cta--app-dl {
    color: #fff;
    background: var(--jg-success);
    border-color: var(--jg-success);
}

/* --- Hamburger Button --- */
.glass-nav__menu-btn {
    display: none;
    width: 32px;
    height: 32px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    cursor: pointer;
}

.hamburger-line {
    display: block;
    width: 20px;
    height: 2px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 1px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.glass-nav.scrolled .hamburger-line {
    background: var(--jg-text);
}

.glass-nav__menu-btn.is-active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.glass-nav__menu-btn.is-active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.glass-nav__menu-btn.is-active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* --- Mobile Menu --- */
.glass-nav__mobile {
    display: none;
    position: absolute;
    top: calc(var(--nav-height) + 8px);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: saturate(180%) blur(40px);
    -webkit-backdrop-filter: saturate(180%) blur(40px);
    border-radius: 0 0 16px 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    max-height: calc(100vh - var(--nav-height) - 40px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.glass-nav.menu-open .glass-nav__mobile {
    display: block;
}

.glass-nav.menu-open {
    border-radius: 20px 20px 0 0;
}

.glass-nav__mobile-inner {
    padding: 16px 20px 24px;
}

.mobile-nav__group {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-nav__group:last-child {
    border-bottom: none;
}

.mobile-nav__heading {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--jg-text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.mobile-nav__link {
    display: block;
    padding: 10px 8px;
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--jg-text);
    border-radius: 8px;
    transition: background var(--t-fast);
}

.mobile-nav__link:hover {
    background: var(--jg-bg-gray);
}

.mobile-nav__link--main {
    font-weight: 600;
    font-size: 1.5rem;
}

.mobile-nav__group--actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 16px;
}

/* ============================================
   Glass Footer — Redesigned (4-Column Grid)
============================================ */
.glass-footer {
    background: linear-gradient(180deg, var(--jg-navy) 0%, var(--jg-dark-deep) 100%);
    color: var(--jg-text-light);
    position: relative;
}

.glass-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.15) 50%, transparent 100%);
}

.glass-footer__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 48px 24px 24px;
}

/* Top: Logo + Tagline */
.glass-footer__top {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.glass-footer__logo {
    display: inline-block;
    flex-shrink: 0;
}

.glass-footer__logo img {
    height: 24px;
    width: auto;
}

.glass-footer__tagline {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.35);
    line-height: 1.4;
}

/* Nav Grid — 4 equal columns */
.glass-footer__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0 32px;
    margin-bottom: 32px;
}

.glass-footer__col {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.glass-footer__heading {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.glass-footer__col a {
    display: block;
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
    padding: 5px 0;
    transition: color var(--t-fast);
    text-decoration: none;
}

.glass-footer__col a:hover {
    color: rgba(255, 255, 255, 0.9);
}

/* Bottom */
.glass-footer__bottom {
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.glass-footer__copy {
    font-family: var(--font-en);
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.2);
}

/* ============================================
   Bottom Bar CTA
============================================ */
.bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(26, 32, 53, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 16px;
    padding-bottom: max(10px, env(safe-area-inset-bottom));
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.bottom-bar.is-visible {
    transform: translateY(0);
}

.bottom-bar__inner {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
    align-items: center;
}

.bottom-bar__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 1.35rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    border: none;
    transition: transform 0.15s, box-shadow 0.15s;
    white-space: nowrap;
}

.bottom-bar__btn:active {
    transform: scale(0.97);
}

.bottom-bar__btn--primary {
    flex: 1;
    background: var(--jg-primary);
    color: #fff;
    box-shadow: 0 2px 12px rgba(0, 162, 250, 0.3);
}

.bottom-bar__btn--primary:hover {
    box-shadow: 0 4px 16px rgba(0, 162, 250, 0.45);
}

.bottom-bar__btn--ghost {
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.bottom-bar__btn--ghost:hover {
    background: rgba(255, 255, 255, 0.08);
}

.bottom-bar__btn-icon {
    font-size: 1.5rem;
}

/* SP: hide QR button, full-width DL */
@media (max-width: 768px) {
    .bottom-bar__btn--ghost {
        display: none;
    }

    .bottom-bar__btn--primary {
        flex: 1;
        width: 100%;
    }
}

/* ============================================
   QR Modal
============================================ */
.qr-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, visibility 0.25s;
}

.qr-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.qr-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.qr-modal__panel {
    position: relative;
    background: #fff;
    border-radius: 20px;
    padding: 40px 36px 32px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    max-width: 320px;
    width: 90%;
    transform: scale(0.9);
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.qr-modal.is-open .qr-modal__panel {
    transform: scale(1);
}

.qr-modal__close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 2.4rem;
    color: var(--jg-text-sub);
    cursor: pointer;
    line-height: 1;
}

.qr-modal__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--jg-text);
    line-height: 1.5;
    margin: 0 0 20px;
}

.qr-modal__img {
    display: block;
    margin: 0 auto 16px;
    width: 160px;
    height: 160px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.qr-modal__note {
    font-size: 1.2rem;
    color: var(--jg-text-sub);
    margin: 0;
}


/* ============================================
   Buttons
============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 14px;
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform var(--t-fast), box-shadow var(--t-fast);
}

.btn--primary {
    background: linear-gradient(135deg, var(--jg-primary), var(--jg-blue-light));
    color: #fff;
    box-shadow: 0 4px 16px rgba(0, 162, 250, 0.25);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 162, 250, 0.35);
}

.btn--accent {
    background: linear-gradient(135deg, var(--jg-accent), var(--jg-accent-light));
    color: #fff;
    box-shadow: 0 4px 16px rgba(233, 58, 131, 0.25);
}

.btn--accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(233, 58, 131, 0.35);
}

.btn--ghost {
    background: transparent;
    border: 1.5px solid var(--glass-border-dark);
    color: var(--jg-text);
    box-shadow: none;
}

.btn--ghost:hover {
    background: rgba(0, 0, 0, 0.03);
    border-color: var(--jg-primary);
    color: var(--jg-primary);
}

.btn--white {
    background: rgba(255, 255, 255, 0.12);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    backdrop-filter: blur(4px);
}

.btn--white:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn--lg {
    padding: 16px 36px;
    font-size: 1.6rem;
    border-radius: 16px;
}

.btn--sm {
    padding: 10px 20px;
    font-size: 1.3rem;
    border-radius: 12px;
}

/* ============================================
   Responsive: Tablet
============================================ */
@media (max-width: 1024px) {
    .glass-nav__links {
        gap: 0;
    }

    .glass-nav__link {
        padding: 0 8px;
        font-size: 1.1rem;
    }
}

/* ============================================
   Responsive: SP
============================================ */
@media (max-width: 768px) {
    /* ② コンテナ左右余白を詰める */
    .container {
        padding: 0 16px;
    }

    .glass-nav {
        top: 8px;
        left: 12px;
        right: 12px;
        border-radius: 16px;
        height: var(--nav-height-sp);
    }

    .glass-nav__links,
    .glass-nav__actions {
        display: none;
    }

    .glass-nav__menu-btn {
        display: flex;
    }

    .glass-nav.menu-open {
        border-radius: 16px 16px 0 0;
    }

    .glass-nav__mobile {
        top: calc(var(--nav-height-sp) + 4px);
    }

    .sticky-cta {
        display: flex;
    }

    .glass-footer__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 20px;
    }

    .glass-footer__top {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .glass-footer {
        padding-bottom: 80px;
    }
}

@media (max-width: 480px) {
    .glass-footer__grid {
        grid-template-columns: 1fr;
        gap: 20px 0;
    }
}