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

body {
    font-family: 'Noto Sans JP', 'Roboto', sans-serif;
    background-color: #000;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ナビゲーション */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #ff4444;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    width: 100%;
    justify-content: center;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    margin: 0 0.8rem;
    transition: color 0.3s ease;
    position: relative;
    font-size: 0.9rem;
}

.nav-link:hover {
    color: #ff4444;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff4444;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

/* ヒーロセクション */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
    opacity: 0.7;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
    z-index: 1;
}
.hero-content {
    text-align: center;
    max-width: 800px;
    z-index: 2;
    animation: fadeInUp 1s ease;
    position: relative;
}
.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #fff, #ff4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #ccc;
}
.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(45deg, #ff4444, #ff6666);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 68, 68, 0.3);
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    text-align: center;
}
.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 68, 68, 0.5);
    background: linear-gradient(45deg, #ff3333, #ff5555);
}
.cta-button:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 20px rgba(255, 68, 68, 0.4);
}
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="4" fill="%23ff4444"><animate attributeName="opacity" values="0;1;0" dur="1.5s" repeatCount="indefinite"/></circle></svg>') repeat;
    animation: float 15s infinite linear;
    z-index: 2;
    pointer-events: none;
}

/* セクション共通スタイル */
section {
    padding: 80px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #ff4444;
}

/* 製品セクション */
.products {
    padding: 80px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.product-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 68, 68, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.product-description {
    color: #ccc;
    margin-bottom: 20px;
    line-height: 1.6;
}

.product-price {
    font-size: 1.3rem;
    color: var(--light-text);
    margin-bottom: 25px;
    font-weight: 600;
}

.product-card .cta-button {
    width: 100%;
    padding: 12px 30px;
    font-size: 1rem;
    margin-top: auto;
}

@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .products {
        padding: 60px 0;
    }

    .product-image {
        height: 250px;
    }

    .product-info {
        padding: 20px;
    }

    .product-info h3 {
        font-size: 1.3rem;
    }

    .product-price {
        font-size: 1.2rem;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .product-card .cta-button {
        padding: 10px 25px;
        font-size: 0.95rem;
    }
}

/* 仕様表セクション */
.specs {
    background: #111;
}

.specs-table-container {
    overflow-x: auto;
    margin-top: 2rem;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
}

.specs-table th,
.specs-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 68, 68, 0.1);
}

.specs-table th {
    background: linear-gradient(45deg, #ff4444, #ff6666);
    color: #fff;
    font-weight: bold;
}

.specs-table td {
    color: #fff;
}

.specs-table tr:hover {
    background: rgba(255, 68, 68, 0.1);
}

/* 安全性セクション */
.safety {
    background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
}

.safety-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.safety-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 68, 68, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.safety-icon {
    width: 100%;
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    position: relative;
}

.safety-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.safety-item:hover {
    transform: translateY(-5px);
    border-color: #ff4444;
    box-shadow: 0 15px 40px rgba(255, 68, 68, 0.15);
    background: rgba(255, 255, 255, 0.08);
}

.safety-item:hover .safety-icon img {
    transform: scale(1.05);
}

.safety-item h3 {
    color: #ff4444;
    margin: 1rem 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.safety-item p {
    color: #ccc;
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
}

@media (max-width: 992px) {
    .safety-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .safety-icon {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .safety-item {
        padding: 1.5rem;
    }

    .safety-icon {
        height: 160px;
    }

    .safety-item h3 {
        font-size: 1.2rem;
    }
}

/* お問い合わせセクション */
.contact {
    background: #111;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #ff4444;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 68, 68, 0.3);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff4444;
    box-shadow: 0 0 10px rgba(255, 68, 68, 0.2);
}

/* 電話番号のハイフン不要説明のスタイル */
.form-group .optional {
    font-size: 0.85rem;
    color: #ccc; /* 見やすい色に設定 */
    margin-left: 10px;
    vertical-align: middle;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(45deg, #ff4444, #ff6666);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 68, 68, 0.3);
}

/* フッター */
footer {
    background: #000;
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid #333;
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    from {
        transform: translateX(-100px) translateY(-50px);
    }
    to {
        transform: translateX(calc(100vw + 100px)) translateY(50px);
    }
}

/* レスポンシブデザイン */
@media (max-width: 992px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        backdrop-filter: blur(10px);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .safety-grid {
        grid-template-columns: 1fr;
    }

    .safety-item {
        padding: 1.5rem;
    }

    .safety-icon {
        width: 160px;
        height: 120px;
    }

    .safety-item h3 {
        font-size: 1.2rem;
    }

    .specs-table {
        font-size: 0.9rem;
    }

    .specs-table th,
    .specs-table td {
        padding: 10px 8px;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 0.9rem;
    }

    .product-card {
        padding: 1.5rem 0;
    }

    .product-info {
        padding: 1.5rem;
    }
}

/* スクロール効果 */
.scroll-fade {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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

.g-recaptcha {
    margin: 20px 0;
    display: flex;
    justify-content: center;
}

@media (max-width: 768px) {
    .g-recaptcha {
        transform: scale(0.9);
        transform-origin: left center;
    }
}

.faq {
    padding: 80px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}

.faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(0, 123, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 0, 150, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: linear-gradient(145deg, #1e1e1e, #2a2a2a);
    border-radius: 16px;
    margin-bottom: 24px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0, 123, 255, 0.6) 50%, 
        transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.faq-item:hover::before {
    opacity: 1;
}

.faq-item:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 16px 48px rgba(0, 0, 0, 0.6),
        0 0 20px rgba(0, 123, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border-color: rgba(0, 123, 255, 0.3);
}

.faq-question {
    padding: 30px 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}

.faq-question::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0, 123, 255, 0.4) 50%, 
        transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.03);
}

.faq-question:hover::after {
    opacity: 1;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.faq-toggle {
    font-size: 1.8rem;
    font-weight: 200;
    color: #00d4ff;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 24px;
    height: 24px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.1);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: #ff3366;
    background: rgba(255, 51, 102, 0.1);
    box-shadow: 0 0 15px rgba(255, 51, 102, 0.3);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(0, 0, 0, 0.2);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 35px 30px 35px;
}

.faq-answer p {
    margin: 0;
    line-height: 1.7;
    color: #b8b8b8;
    font-size: 0.98rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .faq {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .faq-question {
        padding: 24px 20px;
    }

    .faq-question h3 {
        font-size: 1rem;
        margin-right: 15px;
    }

    .faq-item.active .faq-answer {
        padding: 0 20px 24px 20px;
    }
    
    .faq-toggle {
        font-size: 1.6rem;
        min-width: 20px;
        height: 20px;
    }
}

/* チラシセクションのスタイル修正 */
.flyer-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
}
.flyer-item {
    max-width: 600px;
    width: 100%;
}
.flyer-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}
.flyer-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
    transition: transform 0.3s;
}
.flyer-image:hover img {
    transform: scale(1.03);
}
/* ポップアップモーダル */
.popup-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0; top: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
}
.popup-modal.active {
    display: flex;
}
.popup-modal img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    background: #fff;
}
.popup-modal:after {
    content: '✕';
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 10000;
}
@media (max-width: 768px) {
    .flyer-image { height: 250px; }
    .flyer-item { max-width: 100%; }
}

/* パーティクルエフェクトのスタイル */
.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, #ff4444 0%, rgba(255, 68, 68, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: particleFloat 4s infinite ease-in-out;
    box-shadow: 0 0 10px #ff4444;
}

@keyframes particleFloat {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(50px);
        opacity: 0;
    }
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #ccc;
    font-size: 1rem;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 10px; /* チェックボックスとテキストの間にスペース */
    accent-color: #ff4444; /* チェックボックスの色をブランドカラーに */
    flex-shrink: 0; /* チェックボックスが縮小しないように */
}

.checkbox-label span {
    line-height: 1.5; /* テキストの行間を調整 */
}

/* クイズモーダルスタイル */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    overflow: auto;
}

.modal-content {
    background: #181818;
    color: #fff;
    border-radius: 20px;
    max-width: 500px;
    margin: 40px auto;
    padding: 32px 24px;
    position: relative;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

.close {
    position: absolute;
    right: 24px;
    top: 18px;
    font-size: 2rem;
    cursor: pointer;
    color: #ccc;
    transition: color 0.3s;
}

.close:hover {
    color: #ff4444;
}

/* クイズオプションスタイル */
.options {
    margin-top: 20px;
}

.option {
    background: #333;
    color: #fff;
    padding: 15px 20px;
    margin: 10px 0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.option:hover {
    background: #444;
    border-color: #ff4444;
}

.option.correct {
    background: #4CAF50;
    border-color: #4CAF50;
}

.option.incorrect {
    background: #f44336;
    border-color: #f44336;
}

/* プログレスバースタイル */
.progress-bar {
    width: 100%;
    height: 10px;
    background: #333;
    border-radius: 5px;
    margin-bottom: 24px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(45deg, #ff4444, #ff6666);
    border-radius: 5px;
    transition: width 0.3s ease;
}

@media (max-width: 768px) {
    .flyer-image { height: 250px; }
    .flyer-item { max-width: 100%; }
    .modal-content {
        margin: 20px;
        padding: 20px;
    }
}

/* 全体背景パーティクル */
#globalParticles {
    position: fixed;
    left: 0; top: 0; width: 100vw; height: 100vh;
    z-index: 1;
    pointer-events: none;
    opacity: 0.25;
}
body, html {
    background: #000;
}
