:root {
    /* オムライスカラー */
    --primary-red: #E63946;
    --primary-yellow: #FFD60A;
    --accent-orange: #FF9F1C;
    
    /* 補助カラー */
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --gray: #6C757D;
    --dark: #2B2D42;
    
    /* シャドウ */
    --shadow-sm: 0 2px 8px rgba(230, 57, 70, 0.1);
    --shadow-md: 0 4px 16px rgba(230, 57, 70, 0.15);
    --shadow-lg: 0 8px 32px rgba(230, 57, 70, 0.2);
    
    /* トランジション */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ========== ヘッダー ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 900;
    font-family: 'Poppins', sans-serif;
    color: var(--primary-red);
    text-decoration: none;
    transition: var(--transition);
}

.logo:hover {
    opacity: 0.8;
}

.logo-img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: contain;
}

.logo i {
    font-size: 32px;
    color: var(--primary-yellow);
    filter: drop-shadow(2px 2px 4px rgba(230, 57, 70, 0.3));
}

.nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    position: relative;
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 16px;
    transition: var(--transition);
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-yellow));
    transition: var(--transition);
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--primary-red);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--primary-red);
    border-radius: 3px;
    transition: var(--transition);
}

/* モバイルメニュー */
.mobile-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    transform: translateY(-120%);
    transition: var(--transition);
    z-index: 999;
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-nav-link {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 18px;
    padding: 12px 16px;
    border-radius: 12px;
    transition: var(--transition);
}

.mobile-nav-link:hover {
    background: linear-gradient(135deg, var(--primary-red), var(--accent-orange));
    color: var(--white);
}

/* ========== ヒーローセクション ========== */
.hero {
    position: relative;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #FFF3E0 0%, #FFE5E5 100%);
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

.hero-content {
    position: relative;
    z-index: 2;
    flex: 1;
    max-width: 580px;
    padding: 20px 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    color: var(--primary-red);
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease;
}

.hero-badge i {
    color: var(--primary-yellow);
}

.hero-title {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--dark);
    animation: fadeInUp 0.6s ease 0.1s both;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--primary-red), var(--accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 32px;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-red), var(--accent-orange));
    color: var(--white);
    box-shadow: var(--shadow-md);
    animation: fadeInUp 0.6s ease 0.3s both;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.hero-decoration {
    position: relative;
    flex: 0 0 auto;
    width: 340px;
    max-width: 40%;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-character {
    width: 280px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 2;
    animation: floatCharacter 4s ease-in-out infinite;
    filter: drop-shadow(0 10px 24px rgba(230, 57, 70, 0.2));
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.circle-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-yellow), transparent);
    top: 10%;
    right: 10%;
    opacity: 0.3;
}

.circle-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary-red), transparent);
    top: 50%;
    right: 30%;
    opacity: 0.2;
    animation-delay: 2s;
}

.circle-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--accent-orange), transparent);
    bottom: 20%;
    right: 15%;
    opacity: 0.25;
    animation-delay: 4s;
}

/* ========== プロダクトセクション ========== */
.products {
    padding: 100px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 42px;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.section-title i {
    color: var(--primary-red);
}

.section-description {
    font-size: 18px;
    color: var(--gray);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.product-card {
    background: var(--white);
    border-radius: 24px;
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-yellow));
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-yellow);
}

.product-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-red), var(--accent-orange));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--white);
    margin-bottom: 20px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.product-icon.has-image {
    background: var(--white);
    padding: 4px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.product-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

.product-type {
    display: inline-block;
    padding: 6px 14px;
    background: linear-gradient(135deg, #FFE5E5, #FFF3E0);
    color: var(--primary-red);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
}

.product-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.product-description {
    font-size: 15px;
    color: var(--gray);
    margin-bottom: 24px;
    line-height: 1.6;
}

.product-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.product-link {
    padding: 10px 20px;
    background: var(--light-gray);
    color: var(--dark);
    text-decoration: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.product-link:hover {
    background: linear-gradient(135deg, var(--primary-red), var(--accent-orange));
    color: var(--white);
    transform: scale(1.05);
}

.product-link.privacy {
    background: var(--primary-yellow);
    color: var(--dark);
}

.product-link.privacy:hover {
    background: var(--accent-orange);
    color: var(--white);
}

/* ========== お知らせ・更新履歴セクション ========== */
.news {
    padding: 80px 0 100px;
    background: var(--light);
}

.news-list {
    max-width: 820px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 24px;
    padding: 16px 32px;
    box-shadow: var(--shadow-sm);
}

.news-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid #F1F1F1;
}

.news-item:last-child {
    border-bottom: none;
}

.news-date {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: var(--gray);
    flex-shrink: 0;
    min-width: 72px;
}

.news-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    background: #FFF3E0;
    color: var(--accent-orange);
    flex-shrink: 0;
}

.news-tag-release {
    background: #FFE5E5;
    color: var(--primary-red);
}

.news-text {
    color: var(--dark);
    font-size: 15px;
    margin: 0;
}

/* ========== コンタクトセクション ========== */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #FFF3E0 0%, #FFE5E5 100%);
}

.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-title {
    font-size: 42px;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 16px;
}

.contact-description {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 40px;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: var(--white);
    color: var(--dark);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.contact-link:hover {
    background: linear-gradient(135deg, var(--primary-red), var(--accent-orange));
    color: var(--white);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.contact-link i {
    font-size: 20px;
}

/* ========== フッター ========== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 900;
    font-family: 'Poppins', sans-serif;
    color: var(--white);
    margin-bottom: 24px;
}

.footer-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: contain;
}

.footer-logo i {
    font-size: 32px;
    color: var(--primary-yellow);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.footer-link {
    color: var(--light-gray);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--primary-yellow);
}

.footer-copyright {
    color: var(--gray);
    font-size: 14px;
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
    }
}

@keyframes floatCharacter {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.05);
    }
}

/* ========== レスポンシブ ========== */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
        gap: 32px;
    }

    .hero-title {
        font-size: 36px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .hero-decoration {
        width: 240px;
        max-width: 70%;
    }
    
    .hero-character {
        width: 220px;
        height: auto;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .contact-title {
        font-size: 32px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }

    .news-list {
        padding: 12px 20px;
    }

    .news-item {
        flex-wrap: wrap;
        gap: 8px 12px;
    }

    .news-text {
        width: 100%;
    }
    
    .contact-links {
        flex-direction: column;
    }
    
    .contact-link {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .hero-character {
        width: 180px;
        height: 180px;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .section-title {
        font-size: 24px;
        flex-direction: column;
    }
    
    .product-card {
        padding: 24px;
    }
}