/* LuminaTonic風 リセット & ベース設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Hachi Maru Pop', 'M PLUS Rounded 1c', 'Zen Kaku Gothic New', 'Noto Sans JP', 'Inter', cursive, sans-serif;
    line-height: 1.7;
    color: #333;
    background-color: #ffffff;
    overflow-x: hidden;
    font-feature-settings: "palt" 1; /* 日本語の文字詰め */
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* LuminaTonic風 タイポグラフィ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Hachi Maru Pop', 'Zen Kaku Gothic New', 'M PLUS Rounded 1c', cursive, sans-serif;
    font-weight: 400; /* Hachi Maru Popは1つのウェイトのみ */
    line-height: 1.3;
    letter-spacing: -0.02em;
    text-rendering: optimizeLegibility;
}

h1 {
    font-weight: 400; /* Hachi Maru Popは1つのウェイトのみ */
    letter-spacing: -0.04em;
}

h2 {
    font-weight: 400; /* Hachi Maru Popは1つのウェイトのみ */
    letter-spacing: -0.03em;
}

p {
    margin-bottom: 1rem;
}

strong {
    font-weight: 700;
    color: #000;
}

/* コンテナ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ナビゲーション - LuminaTonic風シンプル */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #f0f0f0;
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo h2 {
    font-family: 'Hachi Maru Pop', 'Inter', 'Zen Kaku Gothic New', cursive, sans-serif;
    font-size: 1.6rem; /* LuminaTonicは長い名前なので少し小さく */
    font-weight: 400; /* Hachi Maru Popは1つのウェイトのみ */
    color: #000;
    letter-spacing: -0.05em;
    text-transform: none; /* 手書き風なので大文字変換をオフ */
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

.purchase-btn {
    background: #000;
    color: #fff !important;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.purchase-btn:hover {
    background: #333;
    transform: translateY(-1px);
}

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

.hamburger .bar {
    width: 25px;
    height: 2px;
    background: #000;
    margin: 3px 0;
    transition: 0.3s;
}

/* ヒーローセクション - Blur to Focus対応 */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    background: 
        linear-gradient(135deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 100%),
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 177, 153, 0.3) 0%, transparent 50%),
        linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
    padding: 0 2rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" patternUnits="userSpaceOnUse" width="100" height="100"><circle cx="50" cy="50" r="1" fill="white" opacity="0.05"/><circle cx="20" cy="20" r="0.5" fill="white" opacity="0.03"/><circle cx="80" cy="80" r="0.8" fill="white" opacity="0.04"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    animation: float 20s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: rotate 100s linear infinite;
    opacity: 0.3;
}

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

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: contents; /* Grid layout継承 */
}

/* Blur to Focus 画像コンテナ */
.hero-image-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 600px;
    order: 2; /* 右側に配置 */
}

.blur-focus-image {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transform-style: preserve-3d;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(8px) brightness(0.7);
    transform: scale(1.1);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 20px;
}

.blur-focus-image:hover .hero-bg-image {
    filter: blur(0px) brightness(1);
    transform: scale(1.05) rotateY(5deg) rotateX(2deg);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 193, 7, 0.8) 0%,
        rgba(255, 87, 34, 0.6) 50%,
        rgba(63, 81, 181, 0.7) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.6s ease;
}

.blur-focus-image:hover .image-overlay {
    opacity: 1;
    backdrop-filter: blur(2px);
}

.overlay-text {
    text-align: center;
    color: white;
    transform: translateY(30px) scale(0.9);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.blur-focus-image:hover .overlay-text {
    transform: translateY(0) scale(1);
}

.overlay-text h3 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
    letter-spacing: -0.02em;
}

.overlay-text p {
    font-size: 1.2rem;
    font-weight: 400;
    opacity: 0.9;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-title {
    font-family: 'Hachi Maru Pop', 'Zen Kaku Gothic New', 'M PLUS Rounded 1c', cursive, sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 400; /* Hachi Maru Popは1つのウェイトのみ */
    color: #fff;
    margin-bottom: 2rem;
    letter-spacing: -0.04em;
    line-height: 0.95;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5), 0 2px 10px rgba(0,0,0,0.3);
    position: relative;
    z-index: 10;
    text-rendering: optimizeLegibility;
}

.hero-content {
    order: 1; /* 左側に配置 */
    text-align: left;
    padding-right: 2rem;
}

.hero-description {
    margin-bottom: 3rem;
}

.hero-text {
    font-family: 'Hachi Maru Pop', 'M PLUS Rounded 1c', 'Noto Sans JP', cursive, sans-serif;
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 400;
    color: rgba(255,255,255,0.95);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 15px rgba(0,0,0,0.4);
    position: relative;
    z-index: 10;
}

.hero-subtext {
    font-family: 'Hachi Maru Pop', 'M PLUS Rounded 1c', 'Noto Sans JP', cursive, sans-serif;
    font-size: clamp(1rem, 2vw, 1.15rem);
    font-weight: 400; /* Hachi Maru Popは1つのウェイトのみ */
    color: rgba(255,255,255,0.9);
    margin-bottom: 0;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 15px rgba(0,0,0,0.4);
    position: relative;
    z-index: 10;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
}

/* ボタンスタイル - ZitA風 */
.btn {
    font-family: 'Hachi Maru Pop', 'M PLUS Rounded 1c', 'Noto Sans JP', cursive, sans-serif;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 400; /* Hachi Maru Popは1つのウェイトのみ */
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    min-width: 200px;
    text-rendering: optimizeLegibility;
}

.btn-primary {
    background: #000;
    color: #fff;
}

.btn-primary:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background: transparent;
    color: #000;
    border: 2px solid #000;
}

.btn-secondary:hover {
    background: #000;
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #000;
    border: 2px solid #000;
    min-width: 150px;
}

.btn-outline:hover {
    background: #000;
    color: #fff;
}

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

.section-title {
    font-family: 'Hachi Maru Pop', 'Zen Kaku Gothic New', 'M PLUS Rounded 1c', cursive, sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400; /* Hachi Maru Popは1つのウェイトのみ */
    color: #000;
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
    line-height: 1.2;
    text-rendering: optimizeLegibility;
    position: relative;
}

.section-description {
    font-family: 'Hachi Maru Pop', 'M PLUS Rounded 1c', 'Noto Sans JP', cursive, sans-serif;
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #555;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.section-header {
    margin-bottom: 4rem;
}

/* 体験セクション */
.experience-section {
    background: #fff;
    padding: 6rem 0;
}

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

.experience-text {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: #555;
    line-height: 1.8;
}

/* 特徴セクション */
.features-section {
    background: 
        linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%),
        #f8f9fa;
    padding: 6rem 0;
    position: relative;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60"><defs><pattern id="hexagon" patternUnits="userSpaceOnUse" width="60" height="60"><polygon points="30,2 52,17 52,43 30,58 8,43 8,17" fill="none" stroke="rgba(99,102,241,0.1)" stroke-width="1"/></pattern></defs><rect width="60" height="60" fill="url(%23hexagon)"/></svg>');
    opacity: 0.3;
}

.features-action {
    text-align: center;
}

/* デザインセクション */
.design-section {
    background: #fff;
    padding: 6rem 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.product-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255,255,255,0.8);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99,102,241,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    z-index: 1;
}

.product-item > * {
    position: relative;
    z-index: 2;
}

.product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.product-image {
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
}

.product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="white" opacity="0.1"/><circle cx="80" cy="40" r="1.5" fill="white" opacity="0.1"/><circle cx="60" cy="80" r="1" fill="white" opacity="0.1"/></svg>');
    animation: float 15s ease-in-out infinite;
}

.product-title {
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 1rem;
}

.product-colors {
    font-size: 1.1rem;
    color: #666;
}

.design-action {
    text-align: center;
}

/* レビューセクション */
.reviews-section {
    background: 
        linear-gradient(135deg, rgba(236, 72, 153, 0.1) 0%, rgba(239, 68, 68, 0.1) 100%),
        #f8f9fa;
    padding: 6rem 0;
    position: relative;
}

.reviews-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stars" patternUnits="userSpaceOnUse" width="100" height="100"><polygon points="50,5 61,35 95,35 68,57 79,91 50,70 21,91 32,57 5,35 39,35" fill="none" stroke="rgba(236,72,153,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23stars)"/></svg>');
    opacity: 0.2;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.review-card {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 100%);
    pointer-events: none;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.review-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 1rem;
}

.review-content {
    font-size: 1rem;
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.review-source {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 0;
}

.reviews-action {
    text-align: center;
}

/* フッター */
.footer {
    background: #000;
    color: #fff;
    padding: 4rem 0 2rem;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.footer-subtitle {
    color: #ccc;
    font-size: 0.9rem;
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    text-align: center;
    color: #ccc;
    font-size: 0.9rem;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        backdrop-filter: blur(10px);
        gap: 0;
        padding: 2rem 0;
    }

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

    .nav-item {
        margin: 1rem 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* モバイルでのHero レイアウト */
    .hero {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1rem;
        text-align: center;
    }

    .hero-content {
        order: 2;
        text-align: center;
        padding-right: 0;
    }

    .hero-image-container {
        order: 1;
        height: 400px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        min-width: 250px;
    }

    section {
        padding: 3rem 0;
    }

    .container {
        padding: 0 1rem;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
    }

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

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

/* 追加のアニメーション効果 */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* セクション間のトランジション効果 */
section {
    animation: fadeInUp 0.8s ease-out;
}

/* ボタンの魅力的なホバー効果 */
.btn:hover {
    animation: bounce 0.6s ease;
}

/* 製品画像の呼吸効果 */
.product-image {
    animation: pulse 3s ease-in-out infinite;
}

/* レビューカードの登場効果 */
.review-card {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.review-card:nth-child(1) { animation-delay: 0.1s; }
.review-card:nth-child(2) { animation-delay: 0.2s; }
.review-card:nth-child(3) { animation-delay: 0.3s; }
.review-card:nth-child(4) { animation-delay: 0.4s; }
.review-card:nth-child(5) { animation-delay: 0.5s; }
.review-card:nth-child(6) { animation-delay: 0.6s; }

/* スムーズなトランジション */
* {
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

/* セレクション */
::selection {
    background: rgba(0, 0, 0, 0.1);
    color: inherit;
}
