:root {
    /*--primary-color: #2db37d;  目に優しいグリーン */
    --primary-dark: #1e8a5f;
    --accent-color: #ff9800; /* ポイント・強調用のオレンジ */
    --bg-color: #f7faf8;
    --text-main: #333333;
    --text-muted: #666666;
    --card-bg: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-color);
    line-height: 1.6;
}

/* Hero Section */
.hero {
    background-color: #f8f8f8;;
    /*background-image: 
        radial-gradient(at 10% 10%, rgba(168, 224, 99, 0.25) 0px, transparent 50%),
        radial-gradient(at 90% 20%, rgba(86, 171, 47, 0.2) 0px, transparent 50%),
        radial-gradient(at 80% 90%, rgba(131, 197, 255, 0.3) 0px, transparent 50%),
        radial-gradient(at 20% 80%, rgba(255, 182, 217, 0.25) 0px, transparent 50%);*/
    padding: 70px 20px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: #2c3e50;
    position: fixed;
    z-index: -10;
    top: 0;
    height: 100vh;
    width: 100%;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(rgba(0,0,0,0.03) 2px, transparent 2px);
    background-size: 30px 30px;
    z-index: 0;
    pointer-events: none;
}
.hero-content {
    position: relative;
    z-index: 1;
    margin: 0 auto;
    text-align: center;
}

.hero-content .badge {
    background: #ff5722;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
    display: inline-block;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(255, 87, 34, 0.3);
}

.hero-content h1 {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero-content .subtitle {
    font-size: 16px;
    opacity: 0.95;
    background: #fff;
    max-width: 800px;
    margin: 20px auto;
    padding: 20px 10px;
    border-radius: 15px;
    width: 95%;
}

.offer-box {
    background: rgb(255 109 146);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 10px;
    display: inline-block;
    text-align: left;
    width: 100%;
    font-size: 20px;
    margin: 0 auto;
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.offer-period {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: -1.2px;
}

.offer-present {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Icons */
.icon {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icon-large {
    width: 28px;
    height: 28px;
    vertical-align: middle;
    margin-right: 8px;
    margin-top: -4px;
}

/* Main Container */
.campaign-container {
    margin: 0 auto;
    margin-top: 120px;
}

/* Points Header */
.points-header {
    text-align: center;
    margin-bottom: 40px;
}

.points-header h2 {
    font-size: 32px;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.points-header p {
    color: var(--text-muted);
}

/* Shopping Mission */
.benefits-container{
    display: flex;
    flex-direction: row;
    margin-top: 40px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0px 10px 40px;
    max-width: 1000px;

}
.benefit-box {
    background: #fff;
    border: 3px solid #ff6d92;
    border-radius: 12px;
    padding: 25px 20px 15px;
    position: relative;
    z-index: 150;
    max-width: 400px;
    margin: 0 auto;
}

.shopping-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    margin-bottom: 0;
    border-radius: 8px;
    gap: 10px;
    text-align: left;
}

.shopping-info .badge {
    background: var(--accent-color);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 10px;
}

.shopping-info h3 {
    font-size: 22px;
}
.mission-games-intro{
        flex: 1;
    min-width: 220px;
    border: 1px solid #e1f0fa;
    border-radius: 8px;
    background: #f4f9fd;
    height: fit-content;
     padding: 20px; 
}
.point-reward {
    color: var(--accent-color);
    font-weight: 900;
}

.point-num {
    font-size: 48px;
    line-height: 1;
}

.point-unit {
    font-size: 24px;
    margin-left: 4px;
}

/* Game Missions */
.game-sec{
    background: #fff;
    margin-top: 50px;
    padding: 30px 10px;
}
.section-title {
    font-size: 24px;
    margin-bottom: 25px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1160px;
    margin: auto;
}

.game-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.game-header {
    padding: 25px 20px;
    color: white;
    text-align: center;
}

.game-header.bg-blue { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.game-header.bg-purple { background: linear-gradient(135deg, #c471f5 0%, #fa71cd 100%); }
.game-header.bg-orange { background: linear-gradient(135deg, #ff9a44 0%, #fc6076 100%); }

.badge-outline {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: 600;
    display: inline-block;
}

.game-header h4 {
    font-size: 22px;
    font-weight: bold;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.game-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.game-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

.game-reward {
    background: #fff8e1;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
    color: #555;
}

.game-reward strong {
    color: var(--accent-color);
    font-size: 18px;
}

.divider {
    color: #ccc;
    margin: 0 8px;
}

.play-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 15px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.2s;
}

.play-btn:hover {
    background-color: var(--primary-dark);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #fff;
    margin: 2% auto; 
    padding: 0;
    width: 100%; 
    max-width: 414px; /* スマホサイズを模倣 */
    height: 90%;
    border-radius: 16px;
    position: absolute;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    overflow: hidden;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    color: #333;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    background: rgba(255,255,255,0.9);
    padding: 8px 16px;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 10;
    transition: background 0.2s;
}

.close-btn:hover {
    background: #fff;
}

.loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
    color: #888;
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 16px;
    background: transparent;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;
    display: block;
}

.title-rest{
font-size: 4.5rem;
    font-weight: 100;
    color: #ff6d92;
    line-height: 0.8;
    letter-spacing: 2px;
    -webkit-text-stroke: 10px #ffffff;
    paint-order: stroke fill;
    text-shadow: 0px 0px 0px rgb(218 104 147 / 80%), 0px 3px 3px rgb(158 158 158 / 39%);
}

.eyedrop-box{
    display: flex;
    max-width: 1000px;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
.eyedrop-box img{
        width: 100%;
    display: block;
    max-width: 350px;
}
.cat-nav-btn{
    color: white;
    padding: 5px 20px;
    border-radius: 30px;
    text-decoration: none;
    margin: 5px;
    display: inline-block;
    font-weight: bold;
}
.svg-festive-container{
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding: 40px 10px;
    overflow: visible;
}

.category-nav-links{
    position: sticky;
    top: 0px;
    z-index: 999;
    text-align: center;
    margin: 40px auto 20px auto;
    padding: 20px 10px 10px;
    background: rgb(255 255 255 / 47%);
    backdrop-filter: blur(11px);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgb(0 0 0 / 5%);
}
/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 28px; }
    .shopping-card {
        flex-direction: column;
        text-align: center;
    }
    .modal-content {
        width: 100%;
        height: 100%;
        margin: 0 auto;
        border-radius: 0;
        overflow: auto;
    }
    iframe { border-radius: 0; }
    .btn-secondary{
        order: 2;
    }
    .btn-primary{
        order: 1;
    }
}
html { scroll-behavior: smooth; }

.custom-title-container {
    position: relative;
    display: block;
    margin: 10px auto 0;
    padding: 30px 20px;
    font-family: 'Mochiy Pop One', sans-serif;
    text-align: center;
    width: fit-content;
}
.product-header{
    top: 0px;
}
.title-rest{
    line-height: 1.1;
}
.title-part1 {
    color: #111111;
    font-size: 2.5rem;
    font-weight: 900;
    transform: rotate(-5deg);
    position: absolute;
    top: 27px;
    left: 26%;
    letter-spacing: 3px;
    z-index: 1;
    white-space: nowrap;
    -webkit-text-stroke: 10px #ffffff;
    paint-order: stroke fill;
}

.title-main {
    align-items: flex-end;
    justify-content: center;
    position: relative;
    margin-top: 40px;
}

.title-me {
    font-size: 7rem;
    font-weight: 100;
    color: #fcd81d;
    line-height: 0.8;
    -webkit-text-stroke: 10px #ffffff;
    paint-order: stroke fill;
    text-shadow: 0px 0px 0px #e0d723, -1px 3px 3px rgb(184 158 122 / 80%);
    position: relative;
    z-index: 2;
}



.title-eye-char {
    position: absolute;
    top: -73px;
    left: -29px;
    z-index: 3;
    transform: rotate(-9deg);
    filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.25));
}
.svg-festive-container{
    margin-bottom: 0;
}


@media (max-width: 600px) {
    .custom-title-container {
    position: relative;
    display: block;
    margin: 10px auto 0;
    padding: 30px 20px;
    font-family: 'Mochiy Pop One', sans-serif;
    text-align: center;
    width: fit-content;
}


}

/* Marquee Background */
.marquee-row {
    display: inline-block;
    white-space: nowrap;
}

.marquee-row img {
    display: inline-block !important;
    height: 130px !important;
    object-fit: contain !important;
    margin-right: 0px !important;
    vertical-align: middle !important;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.2)) !important;
    margin-left: 30px;
}

.Glasses img {
    display: inline-block !important;
    height: 100px !important;
    object-fit: contain !important;
    margin-right: 0px !important;
    vertical-align: middle !important;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.2)) !important;
    margin-left: 30px;
}

.marquee-left {
    -webkit-animation: scrollLeft 60s linear infinite;
    animation: scrollLeft 60s linear infinite;
    will-change: transform;
}

.marquee-right {
    -webkit-animation: scrollRight 180s linear infinite;
    animation: scrollRight 180s linear infinite;
    will-change: transform;
}

.marquee-left-fast {
    -webkit-animation: scrollLeft 45s linear infinite;
    animation: scrollLeft 45s linear infinite;
    will-change: transform;
}

@-webkit-keyframes scrollLeft {
    0% { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
    100% { -webkit-transform: translate3d(-50%, 0, 0); transform: translate3d(-50%, 0, 0); }
}

@keyframes scrollLeft {
    0% { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
    100% { -webkit-transform: translate3d(-50%, 0, 0); transform: translate3d(-50%, 0, 0); }
}

@-webkit-keyframes scrollRight {
    0% { -webkit-transform: translate3d(-50%, 0, 0); transform: translate3d(-50%, 0, 0); }
    100% { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
}

@keyframes scrollRight {
    0% { -webkit-transform: translate3d(-50%, 0, 0); transform: translate3d(-50%, 0, 0); }
    100% { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgb(255, 255, 255);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
}

.header-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 60px;
}

.header-logo {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color, #2db37d);
}

.header-nav {
    display: flex;
    gap: 20px;
}

.header-nav a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 1rem;
    transition: color 0.3s;
}

.header-nav a:hover {
    color: var(--accent-color, #ff9800);
}

/* 光るアニメーション効果 */
@keyframes glowBoxGreen {
    0% { box-shadow: 0 0 5px rgba(45, 179, 125, 0.2), inset 0 0 0px rgba(45, 179, 125, 0.1); }
    100% { box-shadow: 0 0 25px rgba(45, 179, 125, 0.7), inset 0 0 10px rgba(45, 179, 125, 0.2); }
}

@keyframes glowBoxOrange {
    0% { box-shadow: 0 0 5px rgba(255, 152, 0, 0.2), inset 0 0 0px rgba(255, 152, 0, 0.1); }
    100% { box-shadow: 0 0 25px rgba(255, 152, 0, 0.7), inset 0 0 10px rgba(255, 152, 0, 0.2); }
}

.glow-effect-green {
    animation: glowBoxGreen 1.5s infinite alternate ease-in-out;
}

.glow-effect-orange {
    animation: glowBoxOrange 1.5s infinite alternate ease-in-out;
}


.modal-product-badge.custom-red-badge {
    position: absolute;
    top: -10px;
    left: -10px;
    background: linear-gradient(135deg, #ff4e50, #f9d423);
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(255, 78, 80, 0.3);
    z-index: 10;
    line-height: 1.2;
    text-align: center;
    transform: rotate(-5deg);
    border: 2px solid white;
}

.custom-product-name-display {
    flex: 1;
    min-width: 300px;
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    padding: 10px 15px;
    background: #fdfdfd;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .custom-product-name-display {
        grid-column: 2;
        grid-row: 1;
        width: 100%;
        min-width: 0;
        align-self: center;
        padding: 8px;
        font-size: 0.95rem;
    }
    .title-part1{
        left: 36%;
    }
}


/* スマホ表示時の特典の縦並び調整 */
@media screen and (max-width: 768px) {
    .benefits-container {
        flex-direction: column !important;
        gap: 50px !important;
        padding: 40px 10px !important;
        margin-top: 0;
    }
    .benefit-box {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        margin: 0 !important;
    }
}



.btn-vision {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90%;
    max-width: 500px;
    margin: 0px auto 20px;
    padding: 20px 20px;
    background: linear-gradient(135deg, #a29bfe, #6c5ce7); /* A nice purple gradient */
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 6px 15px rgba(108, 92, 231, 0.4);
    transition: all 0.3s ease;
}

.btn-vision:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(108, 92, 231, 0.6);
    background: linear-gradient(135deg, #b3a9ff, #7f6dff);
    color: #ffffff;
}

.btn-vision::after {
    content: '\f054'; /* FontAwesome right arrow */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 15px;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.btn-vision:hover::after {
    transform: translateX(6px);
}

/* Hamburger Menu Styles */
.hamburger-menu {
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10000;
    display: none;
}

.hamburger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #333;
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
}

/* Hamburger animation */
.hamburger-menu.active span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}
.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}
.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

@media (max-width: 768px) {
    .hamburger-menu {
        display: flex;
    }

    .header-nav {
        display: flex !important;
        position: absolute;
        top: 100%; /* Sits exactly below the header */
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.98);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        align-items: center;
        gap: 0;
        
        /* Slide down animation setup */
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.3s ease-out;
        z-index: -1;
    }

    .header-nav.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        z-index: 9999;
    }

    .header-nav a {
        font-size: 1.1rem;
        padding: 15px 20px;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #f0f0f0;
        color: #333 !important;
    }
    
    .header-nav a:last-child {
        border-bottom: none;
    }
}
