/* Takenami Shuzoten SAKElink Styles */
/* 竹浪酒造店専用スタイルシート */

:root {
    /* 竹浪酒造店カラーパレット */
    --takenami-primary: #2c3e50;
    --takenami-secondary: #34495e;
    --takenami-accent: #3498db;
    --takenami-warm: #e67e22;
    --takenami-light: #ecf0f1;
    --takenami-dark: #1a252f;
    
    /* 燗酒テーマカラー */
    --kan-warm: #d35400;
    --kan-gold: #f39c12;
    --kan-cream: #fef5e7;
    
    /* 青森・津軽テーマカラー */
    --aomori-blue: #2980b9;
    --iwaki-green: #27ae60;
    --snow-white: #ffffff;
    
    /* フォント */
    --font-main: 'Noto Sans JP', 'Yu Gothic', 'YuGothic', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', sans-serif;
    --font-accent: 'Noto Serif JP', 'Yu Mincho', 'YuMincho', serif;
    
    /* サイズ */
    --header-height: 80px;
    --container-max-width: 1200px;
    --border-radius: 8px;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.15);
    
    /* トランジション */
    --transition: all 0.3s ease;
}

/* リセット・基本設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    line-height: 1.7;
    color: var(--takenami-dark);
    background: linear-gradient(135deg, 
        var(--snow-white) 0%, 
        rgba(248, 249, 250, 0.8) 100%);
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ヘッダー */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: linear-gradient(135deg, 
        rgba(44, 62, 80, 0.95) 0%, 
        rgba(52, 73, 94, 0.9) 100%);
    backdrop-filter: blur(15px);
    z-index: 1000;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.1),
        0 2px 8px rgba(44, 62, 80, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: linear-gradient(135deg, 
        rgba(44, 62, 80, 0.98) 0%, 
        rgba(52, 73, 94, 0.95) 100%);
    box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.15),
        0 4px 12px rgba(44, 62, 80, 0.3);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 20px;
}

.logo h1 {
    color: var(--snow-white);
    font-size: 1.8rem;
    font-weight: 700;
    font-family: var(--font-accent);
    letter-spacing: 0.1em;
}

/* Mobile Controls */
.mobile-controls {
    display: none;
    align-items: center;
    gap: 12px;
}

/* Language Selector */
.language-selector {
    position: relative;
}

.language-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 8px 16px;
    color: white;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.language-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.language-icon {
    font-size: 16px;
}

.language-text {
    font-size: 13px;
    white-space: nowrap;
}

.language-arrow {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.language-selector.active .language-arrow {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    z-index: 1000;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 8px;
}

.language-selector.active .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    padding: 12px 16px;
    cursor: pointer;
    font-size: 14px;
    color: var(--takenami-dark);
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.language-option:hover {
    background: var(--takenami-light);
    color: var(--takenami-primary);
}

.language-option.active {
    background: var(--takenami-accent);
    color: white;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

/* Hide mobile menu toggle on desktop */
.mobile-menu-toggle {
    display: none;
}

/* Hide mobile menu overlay by default */
.mobile-menu-overlay {
    display: none;
}

.nav a {
    color: var(--snow-white);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    backdrop-filter: blur(5px);
}

.nav a:hover {
    color: var(--kan-gold);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.2);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(to right, 
        var(--kan-warm), 
        var(--kan-gold));
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(243, 156, 18, 0.3);
}

.nav a:hover::after {
    width: 80%;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.5);
}

/* Google Translate */
#google_translate_element {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 10000;
    background: white;
    padding: 8px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* ヒーローセクション */
.hero {
    display: flex;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, 
        var(--kan-cream) 0%, 
        rgba(254, 245, 231, 0.8) 30%,
        var(--takenami-light) 70%, 
        rgba(248, 249, 250, 0.9) 100%);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(243, 156, 18, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(211, 84, 0, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255, 107, 107, 0.04) 0%, transparent 50%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="sakura" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23f39c12" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23sakura)"/></svg>');
    opacity: 0.4;
    animation: heroBackground 20s ease-in-out infinite;
}

@keyframes heroBackground {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(10px, -10px) scale(1.02); }
}

.hero-content {
    flex: 1;
    padding: 2rem;
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    color: var(--takenami-primary);
    font-family: var(--font-accent);
    margin-bottom: 1.5rem;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.1),
        0 0 20px rgba(211, 84, 0, 0.1);
    letter-spacing: 0.2em;
    position: relative;
    z-index: 2;
    animation: titleGlow 4s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% { 
        text-shadow: 
            2px 2px 4px rgba(0, 0, 0, 0.1),
            0 0 20px rgba(211, 84, 0, 0.1);
    }
    50% { 
        text-shadow: 
            2px 2px 4px rgba(0, 0, 0, 0.1),
            0 0 30px rgba(211, 84, 0, 0.2),
            0 0 40px rgba(243, 156, 18, 0.15);
    }
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--takenami-secondary);
    margin-bottom: 2rem;
    font-weight: 400;
}

.business-type-display {
    display: inline-block;
    background: linear-gradient(135deg, 
        var(--kan-warm) 0%, 
        var(--kan-gold) 100%);
    color: var(--snow-white);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    letter-spacing: 0.1em;
    box-shadow: 
        0 8px 25px rgba(211, 84, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 
            0 8px 25px rgba(211, 84, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 
            0 12px 35px rgba(211, 84, 0, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.4);
    }
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    position: relative;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    transition: var(--transition);
}

.hero-image img:hover {
    transform: scale(1.08) rotate(2deg);
    filter: brightness(1.1) contrast(1.05);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.2),
        0 10px 30px rgba(211, 84, 0, 0.15);
}

/* セクション共通 */
section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(211, 84, 0, 0.01) 50%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 0;
}

section h2 {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--takenami-primary);
    font-family: var(--font-accent);
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    animation: sectionTitleEntry 0.8s ease-out;
}

@keyframes sectionTitleEntry {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 5px;
    background: linear-gradient(to right, 
        var(--kan-warm) 0%, 
        var(--kan-gold) 50%, 
        #ff6b6b 100%);
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(211, 84, 0, 0.3);
    animation: underlineGlow 3s ease-in-out infinite;
}

@keyframes underlineGlow {
    0%, 100% { 
        box-shadow: 0 2px 8px rgba(211, 84, 0, 0.3);
        width: 80px;
    }
    50% { 
        box-shadow: 0 4px 15px rgba(211, 84, 0, 0.5);
        width: 100px;
    }
}

/* 企業セクション */
.company {
    background: linear-gradient(135deg, 
        var(--snow-white) 0%, 
        rgba(248, 249, 250, 0.8) 50%, 
        rgba(254, 245, 231, 0.3) 100%);
    backdrop-filter: blur(5px);
    border-top: 1px solid rgba(211, 84, 0, 0.05);
    border-bottom: 1px solid rgba(211, 84, 0, 0.05);
}

.company-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.company-info h3 {
    font-size: 2rem;
    color: var(--takenami-primary);
    margin-bottom: 1rem;
    font-family: var(--font-accent);
}

.company-details {
    margin-top: 2rem;
}

.detail-item {
    display: flex;
    margin-bottom: 0.8rem;
    align-items: center;
}

.detail-item .label {
    font-weight: 600;
    color: var(--kan-warm);
    min-width: 100px;
    margin-right: 1rem;
}

.company-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.company-image img:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.15),
        0 8px 20px rgba(211, 84, 0, 0.1);
    filter: brightness(1.05) contrast(1.02);
}

/* 商品セクション */
.products {
    background: linear-gradient(135deg, 
        var(--kan-cream) 0%, 
        rgba(254, 245, 231, 0.9) 30%,
        rgba(255, 255, 255, 0.8) 70%,
        rgba(248, 249, 250, 0.6) 100%);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(211, 84, 0, 0.1);
    border-bottom: 1px solid rgba(211, 84, 0, 0.1);
}

/* 商品カテゴリタブ */
.product-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.category-btn {
    background: var(--snow-white);
    border: 2px solid var(--takenami-secondary);
    color: var(--takenami-secondary);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.category-btn:hover {
    background: var(--takenami-secondary);
    color: var(--snow-white);
    transform: translateY(-2px);
}

.category-btn.active {
    background: var(--kan-warm);
    border-color: var(--kan-warm);
    color: var(--snow-white);
    box-shadow: var(--shadow);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 1rem 0;
    position: relative;
    align-items: stretch;
    justify-content: center;
}

/* 大画面での4列表示 */
@media (min-width: 1400px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2.5rem;
    }
}

/* 中画面での3列表示 */
@media (min-width: 1024px) and (max-width: 1399px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

/* 小さめのPC画面での2列表示 */
@media (min-width: 900px) and (max-width: 1023px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* 商品カードの最大幅を制限して中央寄せ */
.product-card {
    max-width: 420px;
    margin: 0 auto;
    width: 100%;
}

.products-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(243, 156, 18, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(211, 84, 0, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.product-card {
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(254, 245, 231, 0.8) 100%);
    border-radius: 20px;
    padding: 1.8rem;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 4px 16px rgba(211, 84, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(211, 84, 0, 0.1);
    z-index: 1;
    height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: 420px;
    margin: 0 auto;
    width: 100%;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to right, 
        var(--kan-warm) 0%, 
        var(--kan-gold) 50%, 
        #ff6b6b 100%);
    border-radius: 20px 20px 0 0;
}

.product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 50%,
        rgba(211, 84, 0, 0.02) 100%
    );
    border-radius: 20px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.product-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.12),
        0 8px 30px rgba(211, 84, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 1) 0%, 
        rgba(254, 245, 231, 0.95) 100%);
}

.product-card:hover::after {
    opacity: 1;
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.product-name {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--takenami-primary);
    margin-bottom: 0.8rem;
    font-family: var(--font-accent);
    line-height: 1.3;
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    height: auto;
    min-height: 2.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-name::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 30px;
    height: 3px;
    background: linear-gradient(to right, var(--kan-warm), var(--kan-gold));
    border-radius: 2px;
    transition: width 0.3s ease;
}

.product-header:hover .product-name::after {
    width: 60px;
}

.product-type {
    color: var(--snow-white);
    font-weight: 700;
    margin-bottom: 1.2rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    display: inline-block;
    background: linear-gradient(135deg, 
        var(--kan-warm) 0%, 
        var(--kan-gold) 100%);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: none;
    box-shadow: 
        0 4px 12px rgba(211, 84, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.product-type:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 6px 20px rgba(211, 84, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.product-description {
    color: var(--takenami-secondary);
    line-height: 1.5;
    margin-bottom: 0;
    font-size: 0.85rem;
    text-align: justify;
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: 3rem;
    min-height: 3rem;
    text-overflow: ellipsis;
}

.product-details {
    background: var(--kan-cream);
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-top: 1rem;
    border-left: 4px solid var(--kan-warm);
}

.product-details p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--takenami-secondary);
}

.product-details strong {
    color: var(--takenami-primary);
    font-weight: 600;
}

/* 商品カードフィルタリング */
.product-card[data-category]:not([data-category="all"]) {
    display: block;
}

.product-card.hidden {
    display: none;
}

/* 商品ヘッダー */
.product-header {
    margin-bottom: 1rem;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 200px;
}

.product-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(243, 156, 18, 0.1), transparent);
    transition: left 0.6s ease;
}

.product-header:hover::before {
    left: 100%;
}

.product-header:hover {
    background: linear-gradient(135deg, 
        rgba(254, 245, 231, 0.6) 0%, 
        rgba(255, 255, 255, 0.8) 100%);
    border-radius: 16px;
    padding: 1.2rem;
    margin: -1.2rem -1.2rem 1.5rem -1.2rem;
    box-shadow: 
        0 8px 30px rgba(211, 84, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transform: translateY(-3px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(211, 84, 0, 0.08);
}

/* 詳細表示ボタン */
.product-details-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--kan-warm) 0%, var(--kan-gold) 100%);
    border: none;
    color: var(--snow-white);
    padding: 0.7rem 1.2rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 1rem 0 0 0;
    font-size: 0.85rem;
    width: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(211, 84, 0, 0.3);
    flex-shrink: 0;
    height: 44px;
    margin-top: auto;
}

.product-details-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.product-details-toggle:hover::before {
    left: 100%;
}

.product-details-toggle:hover {
    background: linear-gradient(135deg, var(--kan-gold) 0%, var(--kan-warm) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(211, 84, 0, 0.4);
}

.product-details-toggle:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(211, 84, 0, 0.3);
}

.product-details-toggle .toggle-icon {
    margin-left: 0.5rem;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.8rem;
}

.product-details-toggle.expanded {
    background: linear-gradient(135deg, var(--takenami-primary) 0%, var(--takenami-secondary) 100%);
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.3);
}

.product-details-toggle.expanded:hover {
    background: linear-gradient(135deg, var(--takenami-secondary) 0%, var(--takenami-primary) 100%);
    box-shadow: 0 8px 25px rgba(44, 62, 80, 0.4);
}

.product-details-toggle.expanded .toggle-icon {
    transform: rotate(180deg);
}

/* 詳細コンテンツの初期状態 */
.product-details-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(-20px);
    background: linear-gradient(135deg, rgba(254, 245, 231, 0.3) 0%, rgba(255, 255, 255, 0.8) 100%);
    border-radius: var(--border-radius);
    margin-top: 1rem;
}

.product-details-content.expanded {
    max-height: 1000px;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1.5rem;
    border: 1px solid rgba(211, 84, 0, 0.1);
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* 商品タブ */
.product-tabs {
    display: flex;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 25px;
    padding: 0.3rem;
    margin-bottom: 1.5rem;
    overflow-x: auto;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(211, 84, 0, 0.1);
}

.product-tab-btn {
    background: none;
    border: none;
    padding: 0.7rem 1.2rem;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--takenami-secondary);
    border-radius: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.product-tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.product-tab-btn:hover::before {
    left: 100%;
}

.product-tab-btn:hover {
    color: var(--kan-warm);
    background: rgba(211, 84, 0, 0.1);
    transform: translateY(-1px);
}

.product-tab-btn.active {
    color: var(--snow-white);
    background: linear-gradient(135deg, var(--kan-warm) 0%, var(--kan-gold) 100%);
    box-shadow: 0 4px 10px rgba(211, 84, 0, 0.3);
    transform: translateY(-2px);
}

/* タブコンテンツ */
.product-tab-content {
    min-height: 120px;
}

.tab-pane {
    display: none;
    padding: 0.5rem 0;
    animation: fadeIn 0.3s ease-in-out;
}

.tab-pane.active {
    display: block;
}

.tab-pane p {
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.tab-pane strong {
    color: var(--takenami-primary);
    font-weight: 600;
}

/* フェードインアニメーション */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ストーリーセクション */
.story {
    background: linear-gradient(135deg, 
        var(--snow-white) 0%, 
        rgba(254, 245, 231, 0.4) 50%, 
        rgba(248, 249, 250, 0.8) 100%);
    backdrop-filter: blur(5px);
    border-top: 1px solid rgba(211, 84, 0, 0.05);
    border-bottom: 1px solid rgba(211, 84, 0, 0.05);
}

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

.story-content h3 {
    font-size: 1.8rem;
    color: var(--takenami-primary);
    margin: 2rem 0 1rem 0;
    font-family: var(--font-accent);
}

.story-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--takenami-secondary);
    margin-bottom: 1.5rem;
}

/* AIサクラセクション */
.ai-sakura-section {
    background: linear-gradient(135deg, 
        #fef5e7 0%, 
        #fff8f0 30%, 
        #ffffff 70%, 
        #f8f9fa 100%);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
    border-top: 1px solid rgba(211, 84, 0, 0.1);
    border-bottom: 1px solid rgba(211, 84, 0, 0.1);
}

.ai-sakura-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 30% 40%, rgba(243, 156, 18, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(211, 84, 0, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(255, 107, 107, 0.03) 0%, transparent 50%);
    animation: sakuraFloat 25s ease-in-out infinite;
}

.ai-sakura-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 48%, rgba(255, 255, 255, 0.1) 49%, rgba(255, 255, 255, 0.1) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(211, 84, 0, 0.02) 49%, rgba(211, 84, 0, 0.02) 51%, transparent 52%);
    background-size: 60px 60px;
    animation: patternMove 30s linear infinite;
    opacity: 0.5;
    pointer-events: none;
}

@keyframes patternMove {
    0% { background-position: 0 0, 0 0; }
    100% { background-position: 60px 60px, -60px 60px; }
}

@keyframes sakuraFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, -20px) rotate(90deg); }
    50% { transform: translate(-20px, 20px) rotate(180deg); }
    75% { transform: translate(-20px, -20px) rotate(270deg); }
}

.ai-sakura-intro {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.ai-sakura-avatar {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sakura-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(211, 84, 0, 0.3);
    position: relative;
    z-index: 2;
    animation: sakuraPulse 3s ease-in-out infinite;
}

.sakura-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(243, 156, 18, 0.3) 0%, transparent 70%);
    animation: sakuraGlow 2s ease-in-out infinite alternate;
}

@keyframes sakuraPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes sakuraGlow {
    0% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}

.ai-sakura-content h3 {
    font-size: 1.8rem;
    color: var(--takenami-primary);
    margin-bottom: 1rem;
    font-family: var(--font-accent);
}

.ai-sakura-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--takenami-secondary);
    margin-bottom: 2rem;
}

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

.ai-feature {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.8);
    padding: 1rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(211, 84, 0, 0.1);
    transition: var(--transition);
}

.ai-feature:hover {
    background: var(--kan-cream);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(211, 84, 0, 0.1);
}

.feature-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--kan-warm), var(--kan-gold));
    border-radius: 50%;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.start-chat-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, var(--kan-warm) 0%, var(--kan-gold) 100%);
    color: var(--snow-white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(211, 84, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.start-chat-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.start-chat-btn:hover::before {
    left: 100%;
}

.start-chat-btn:hover {
    background: linear-gradient(135deg, var(--kan-gold) 0%, var(--kan-warm) 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(211, 84, 0, 0.4);
}

.chat-icon {
    font-size: 1.2rem;
    animation: chatBounce 2s ease-in-out infinite;
}

@keyframes chatBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.chat-examples {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(211, 84, 0, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 2;
}

.chat-examples h4 {
    color: var(--takenami-primary);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-family: var(--font-accent);
    text-align: center;
}

.example-questions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.example-btn {
    background: var(--snow-white);
    border: 2px solid var(--kan-warm);
    color: var(--kan-warm);
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    font-size: 0.9rem;
}

.example-btn:hover {
    background: var(--kan-warm);
    color: var(--snow-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(211, 84, 0, 0.3);
}

/* ============================================
   MODERN AI CHATBOT STYLES
   ============================================ */

/* Floating Chat Button - Modern Design */
.modern-chat-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%,
        rgba(248, 250, 252, 0.98) 100%);
    border: 2px solid rgba(255, 182, 193, 0.3);
    border-radius: 25px;
    padding: 15px 20px;
    cursor: pointer;
    z-index: 1000;
    min-width: 200px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.1),
        0 10px 30px rgba(255, 182, 193, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
    animation: chatButtonFloat 6s ease-in-out infinite;
}

.modern-chat-button:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.15),
        0 15px 40px rgba(255, 182, 193, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 182, 193, 0.5);
}

.modern-chat-button.active {
    background: linear-gradient(135deg, 
        rgba(255, 182, 193, 0.2) 0%,
        rgba(255, 192, 203, 0.15) 100%);
    border-color: rgba(255, 182, 193, 0.6);
}

.button-content {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 2;
}

.avatar-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.button-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 15px rgba(255, 182, 193, 0.3);
    position: relative;
    z-index: 3;
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border: 2px solid rgba(255, 182, 193, 0.6);
    border-radius: 50%;
    animation: pulseRing 2s ease-out infinite;
}

.notification-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #ff4757, #ff6b7a);
    border: 2px solid white;
    border-radius: 50%;
    animation: notificationPulse 2s ease-in-out infinite;
}

.button-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.main-text {
    font-weight: 700;
    font-size: 16px;
    color: #2d3748;
    line-height: 1;
}

.sub-text {
    font-weight: 500;
    font-size: 12px;
    color: #718096;
    line-height: 1;
}

.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
    border-radius: 25px;
}

.particle {
    position: absolute;
    font-size: 16px;
    animation: particleFloat 8s ease-in-out infinite;
    opacity: 0.7;
}

.particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.particle:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

/* Chat Interface - Modern Design */
.modern-chat-interface {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 420px;
    height: 600px;
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.98) 0%, 
        rgba(248, 250, 252, 0.95) 100%);
    backdrop-filter: blur(30px);
    border-radius: 24px;
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.5),
        0 40px 120px rgba(0, 0, 0, 0.12),
        0 20px 60px rgba(255, 182, 193, 0.1);
    display: none; /* 初期状態で非表示 */
    flex-direction: column;
    transform: scale(0) translateY(50px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 1000;
    border: 1px solid rgba(255, 182, 193, 0.2);
    overflow: hidden;
}

.modern-chat-interface.open {
    display: flex; /* 表示時はflexに変更 */
    transform: scale(1) translateY(0);
    opacity: 1;
    animation: chatInterfaceEntry 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.modern-chat-interface.minimized {
    display: flex; /* 最小化時もflexに変更 */
    height: 80px;
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* Chat Header */
.chat-header {
    background: linear-gradient(135deg, 
        rgba(255, 182, 193, 0.9) 0%, 
        rgba(255, 192, 203, 0.8) 50%,
        rgba(255, 218, 185, 0.9) 100%);
    color: white;
    padding: 20px;
    border-radius: 24px 24px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.chat-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    animation: headerShine 4s ease-in-out infinite;
}

.chat-avatar-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.avatar-container {
    position: relative;
}

.chat-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.6);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.15),
        0 0 0 3px rgba(255, 255, 255, 0.1);
}

.status-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background: #10b981;
    border: 2px solid white;
    border-radius: 50%;
    animation: statusPulse 2s ease-in-out infinite;
}

.chat-info h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.status-text {
    font-size: 13px;
    margin: 0;
    opacity: 0.9;
    font-weight: 500;
}

.chat-actions {
    display: flex;
    gap: 8px;
}

.minimize-btn, .close-btn {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.minimize-btn:hover, .close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Chat Messages Area */
.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: linear-gradient(to bottom,
        rgba(255, 255, 255, 0.8) 0%,
        rgba(248, 250, 252, 0.6) 100%);
}

.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: rgba(255, 182, 193, 0.1);
    border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: rgba(255, 182, 193, 0.4);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 182, 193, 0.6);
}

.message-container {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    animation: messageSlideIn 0.5s ease-out;
}

.message-container.user-message {
    flex-direction: row-reverse;
}

.avatar-mini {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid rgba(255, 182, 193, 0.3);
}

.avatar-mini img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.message-bubble {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 18px;
    position: relative;
    word-wrap: break-word;
    animation: bubbleScale 0.3s ease-out;
}

.ai-bubble {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(255, 182, 193, 0.1) 100%);
    border: 1px solid rgba(255, 182, 193, 0.2);
    border-radius: 18px 18px 18px 6px;
    color: #2d3748;
    box-shadow: 0 4px 15px rgba(255, 182, 193, 0.15);
}

.user-bubble {
    background: linear-gradient(135deg, 
        rgba(255, 182, 193, 0.9) 0%, 
        rgba(255, 192, 203, 0.8) 100%);
    color: white;
    border-radius: 18px 18px 6px 18px;
    margin-left: auto;
    box-shadow: 0 4px 15px rgba(255, 182, 193, 0.3);
}

.message-time {
    font-size: 11px;
    opacity: 0.7;
    margin-top: 4px;
    text-align: right;
}

.ai-bubble .message-time {
    text-align: left;
}

/* Typing Indicator */
.typing-dots {
    display: flex;
    gap: 4px;
    padding: 8px 0;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 182, 193, 0.8);
    animation: typingDots 1.4s ease-in-out infinite;
}

.typing-dots span:nth-child(1) { animation-delay: 0s; }
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

/* Quick Actions */
.quick-actions {
    padding: 15px 20px;
    border-top: 1px solid rgba(255, 182, 193, 0.1);
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.quick-btn {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.9) 0%, 
        rgba(255, 182, 193, 0.1) 100%);
    border: 1px solid rgba(255, 182, 193, 0.3);
    color: #4a5568;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    backdrop-filter: blur(10px);
}

.quick-btn:hover {
    background: linear-gradient(135deg, 
        rgba(255, 182, 193, 0.2) 0%, 
        rgba(255, 192, 203, 0.1) 100%);
    border-color: rgba(255, 182, 193, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 182, 193, 0.2);
}

/* Chat Input Area */
.chat-input-area {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 182, 193, 0.1);
    padding: 20px;
    border-radius: 0 0 24px 24px;
}

.input-container {
    display: flex;
    gap: 10px;
    align-items: center;
    background: white;
    border: 2px solid rgba(255, 182, 193, 0.2);
    border-radius: 25px;
    padding: 5px;
    transition: all 0.3s ease;
}

.input-container:focus-within {
    border-color: rgba(255, 182, 193, 0.5);
    box-shadow: 0 0 0 3px rgba(255, 182, 193, 0.1);
}

#messageInput {
    flex: 1;
    border: none;
    outline: none;
    padding: 12px 15px;
    font-size: 14px;
    background: transparent;
    color: #2d3748;
}

#messageInput::placeholder {
    color: #a0aec0;
}

.send-btn {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, 
        rgba(255, 182, 193, 0.9) 0%, 
        rgba(255, 192, 203, 0.8) 100%);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.send-btn:hover {
    background: linear-gradient(135deg, 
        rgba(255, 182, 193, 1) 0%, 
        rgba(255, 192, 203, 0.9) 100%);
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 182, 193, 0.4);
}

.input-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    font-size: 11px;
    color: #718096;
}

.language-indicator, .ai-indicator {
    background: rgba(255, 182, 193, 0.1);
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 500;
}

/* Animations */
@keyframes chatButtonFloat {
    0%, 100% { 
        transform: translateY(0); 
    }
    50% { 
        transform: translateY(-5px); 
    }
}

@keyframes pulseRing {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.4);
        opacity: 0;
    }
}

@keyframes notificationPulse {
    0%, 100% { 
        transform: scale(1); 
        opacity: 1; 
    }
    50% { 
        transform: scale(1.2); 
        opacity: 0.7; 
    }
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.7;
    }
    33% {
        transform: translateY(-10px) rotate(120deg);
        opacity: 1;
    }
    66% {
        transform: translateY(-5px) rotate(240deg);
        opacity: 0.8;
    }
}

@keyframes chatInterfaceEntry {
    0% {
        transform: scale(0.8) translateY(30px);
        opacity: 0;
    }
    50% {
        transform: scale(1.02) translateY(-5px);
        opacity: 0.8;
    }
    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

@keyframes headerShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes statusPulse {
    0%, 100% { 
        transform: scale(1); 
        opacity: 1; 
    }
    50% { 
        transform: scale(1.2); 
        opacity: 0.8; 
    }
}

@keyframes messageSlideIn {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes bubbleScale {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes typingDots {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.4;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

/* Google Translate Positioning */
#google_translate_element {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 999;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    padding: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-size: 12px;
}

/* Google Translate のスタイルリセット */
.goog-te-gadget {
    font-family: inherit !important;
    font-size: 12px !important;
    color: #333 !important;
}

.goog-te-gadget .goog-te-combo {
    margin: 0 !important;
    padding: 2px 4px !important;
    font-size: 11px !important;
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    /* Google Translate Mobile Positioning */
    #google_translate_element {
        top: 5px;
        left: 5px;
        font-size: 10px;
        padding: 3px;
    }
    
    .goog-te-gadget .goog-te-combo {
        font-size: 10px !important;
        padding: 1px 2px !important;
    }
    
    /* Container */
    .container {
        padding: 0 15px;
    }
    
    /* Header */
    .header {
        height: 70px;
    }
    
    .nav {
        padding: 0 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
        gap: 10px;
    }
    
    .logo {
        flex-shrink: 0;
        min-width: 0;
    }
    
    .logo h1 {
        font-size: 1.2rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 150px;
    }
    
    /* デスクトップメニューを完全に非表示 */
    .nav-menu {
        display: none !important;
        visibility: hidden;
    }
    
    /* Mobile Menu Toggle Button */
    /* Show mobile controls */
    .mobile-controls {
        display: flex !important;
    }
    
    .language-btn {
        padding: 6px 12px;
        font-size: 12px;
        border-radius: 20px;
        min-width: 80px;
    }
    
    .language-text {
        font-size: 11px;
    }
    
    .language-dropdown {
        min-width: 160px;
        right: 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 32px;
        height: 32px;
        cursor: pointer;
        z-index: 1001;
        position: relative;
        padding: 4px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 6px;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        transition: all 0.3s ease;
    }
    
    .mobile-menu-toggle:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: scale(1.05);
    }
    
    .mobile-menu-overlay {
        display: block;
    }
    
    .hamburger-line {
        width: 20px;
        height: 2px;
        background: white;
        border-radius: 2px;
        transition: all 0.3s ease;
        transform-origin: center;
        margin: 2px 0;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    }
    
    .mobile-menu-toggle.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .mobile-menu-toggle.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    /* Mobile Menu Overlay */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: linear-gradient(135deg, 
            rgba(44, 62, 80, 0.98) 0%, 
            rgba(52, 73, 94, 0.95) 100%);
        backdrop-filter: blur(20px);
        z-index: 1000;
        transform: translateX(-100%);
        transition: transform 0.4s ease;
        overflow-y: auto;
    }
    
    .mobile-menu-overlay.active {
        transform: translateX(0);
    }
    
    .mobile-menu-content {
        padding: 80px 30px 30px;
        height: 100%;
        display: flex;
        flex-direction: column;
    }
    
    .mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 40px;
        padding-bottom: 20px;
        border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    }
    
    .mobile-menu-header h2 {
        color: white;
        font-size: 1.6rem;
        font-family: var(--font-accent);
        margin: 0;
    }
    
    .mobile-menu-close {
        background: none;
        border: none;
        color: white;
        font-size: 2rem;
        cursor: pointer;
        padding: 0;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: background 0.3s ease;
    }
    
    .mobile-menu-close:hover {
        background: rgba(255, 255, 255, 0.1);
    }
    
    .mobile-menu-list {
        list-style: none;
        padding: 0;
        margin: 0;
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .mobile-menu-link {
        display: flex;
        align-items: center;
        gap: 15px;
        padding: 18px 20px;
        color: white;
        text-decoration: none;
        font-size: 1.1rem;
        font-weight: 500;
        border-radius: 12px;
        transition: all 0.3s ease;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .mobile-menu-link:hover {
        background: rgba(255, 255, 255, 0.15);
        transform: translateX(5px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }
    
    /* Hero Section */
    .hero {
        min-height: 50vh;
        padding: 80px 0 40px;
        text-align: center;
    }
    
    .hero-content {
        max-width: 95%;
        margin: 0 auto;
        padding: 0 20px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 15px;
        letter-spacing: 0.01em;
        font-weight: 700;
    }
    
    .hero p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 20px;
        color: var(--takenami-dark);
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 20px;
    }
    
    /* Products Grid */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem 0;
    }
    
    .product-card {
        height: auto;
        min-height: 280px;
        max-width: none;
        width: 100%;
        padding: 1.2rem;
        border-radius: 12px;
        box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
        background: white;
        border: 1px solid rgba(0, 0, 0, 0.05);
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .product-card h3 {
        font-size: 1.1rem;
        line-height: 1.4;
        margin-bottom: 10px;
        font-weight: 700;
        letter-spacing: 0.01em;
        color: var(--takenami-primary);
    }
    
    .product-card p {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 12px;
        color: var(--takenami-secondary);
        /* 文字省略を削除して全文表示 */
        display: block;
        overflow: visible;
        text-overflow: initial;
        -webkit-line-clamp: none;
        -webkit-box-orient: initial;
        flex-grow: 1;
    }
    
    .product-details-toggle {
        padding: 8px 16px;
        font-size: 0.8rem;
        font-weight: 600;
        border-radius: 6px;
        margin-top: 10px;
        width: 100%;
        text-align: center;
        background: var(--kan-warm);
        color: white;
        border: none;
        cursor: pointer;
        transition: background 0.3s ease;
    }
    
    .product-details-toggle:hover {
        background: var(--kan-gold);
    }
    
    /* Company Section */
    .company-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .company-image {
        order: -1;
        margin-bottom: 15px;
    }
    
    .company-image img {
        border-radius: 12px;
        max-width: 100%;
        height: auto;
    }
    
    .company-content h2 {
        font-size: 1.4rem;
        line-height: 1.4;
        margin-bottom: 12px;
        font-weight: 700;
        letter-spacing: 0.01em;
    }
    
    .company-content p {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 15px;
        color: var(--takenami-secondary);
        max-width: 350px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 15px;
    }
    
    /* Company Details - 重要な修正 */
    .company-details {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .detail-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 10px;
        padding: 8px 12px;
        background: rgba(255, 255, 255, 0.5);
        border-radius: 8px;
        border: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .detail-item .label {
        font-size: 0.8rem;
        font-weight: 600;
        color: var(--kan-warm);
        margin-bottom: 4px;
        white-space: nowrap;
    }
    
    .detail-item span:not(.label) {
        font-size: 0.85rem;
        color: var(--takenami-secondary);
        text-align: center;
        line-height: 1.4;
        word-break: break-word;
        white-space: normal;
    }
    
    /* 電話番号の特別スタイル */
    #phone {
        font-weight: 600;
        color: var(--kan-warm) !important;
        font-size: 0.9rem !important;
        letter-spacing: 0.5px;
    }
    
    /* 住所の折り返し改善 */
    #location {
        font-size: 0.75rem !important;
        line-height: 1.3;
        max-width: 280px;
    }
    
    /* Section Titles */
    .section h2 {
        font-size: 1.6rem;
        line-height: 1.4;
        margin-bottom: 1.5rem;
        font-weight: 700;
        text-align: center;
        letter-spacing: 0.01em;
    }
    
    .section-title {
        font-size: 1.6rem;
        line-height: 1.4;
        margin-bottom: 1.2rem;
        font-weight: 700;
        text-align: center;
        letter-spacing: 0.01em;
    }
    
    /* Spacing */
    .section {
        padding: 50px 0;
    }
    
    /* General Text Improvements */
    body {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .container {
        padding: 0 20px;
    }
    
    /* Feature Lists */
    .features-list {
        padding: 0 20px;
    }
    
    .features-list li {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 10px;
        padding: 8px 0;
    }
    
    /* Footer Mobile Optimization */
    .footer {
        padding: 30px 0 100px; /* チャットボタン用のスペースを確保 */
    }
    
    .footer-content {
        display: flex;
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-logo h3 {
        font-size: 1.2rem;
        margin-bottom: 8px;
        line-height: 1.4;
        white-space: nowrap;
    }
    
    .footer-logo p {
        font-size: 0.9rem;
        line-height: 1.4;
        white-space: nowrap;
    }
    
    .footer-info h4 {
        font-size: 1rem;
        margin-bottom: 10px;
        line-height: 1.4;
        white-space: nowrap;
    }
    
    .footer-info p {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 5px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    /* 連絡先情報の改善 */
    #contactPhone {
        font-weight: 600;
        color: var(--kan-warm);
        font-size: 1rem !important;
        letter-spacing: 0.5px;
    }
    
    #contactAddress {
        font-size: 0.8rem !important;
        color: var(--takenami-secondary);
        max-width: 100%;
        word-break: break-all;
        white-space: normal !important;
        line-height: 1.3;
    }
    
    /* Chat Interface Mobile */
    .modern-chat-interface {
        width: calc(100vw - 20px);
        height: calc(100vh - 80px);
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        border-radius: 16px;
        z-index: 1050;
    }
    
    .modern-chat-button {
        right: 20px;
        bottom: 80px; /* フッターから少し離す */
        min-width: 130px;
        padding: 8px 12px;
        border-radius: 25px;
        z-index: 1000;
        box-shadow: 
            0 8px 25px rgba(0, 0, 0, 0.15),
            0 4px 15px rgba(255, 182, 193, 0.3);
        transition: all 0.3s ease;
    }
    
    /* Hide chat when scrolled to bottom */
    .modern-chat-button.hide-on-bottom {
        transform: translateY(20px);
        opacity: 0.7;
    }
    
    /* Chat button hover animation */
    .modern-chat-button:hover {
        transform: translateY(-3px);
        box-shadow: 
            0 12px 35px rgba(0, 0, 0, 0.2),
            0 6px 20px rgba(255, 182, 193, 0.4);
    }
    
    .button-avatar {
        width: 35px;
        height: 35px;
    }
    
    .pulse-ring {
        width: 45px;
        height: 45px;
    }
    
    .main-text {
        font-size: 13px;
        font-weight: 600;
    }
    
    .sub-text {
        font-size: 10px;
    }
    
    .chat-header {
        padding: 15px 20px;
    }
    
    .header-avatar {
        width: 35px;
        height: 35px;
    }
    
    .header-info h3 {
        font-size: 1rem;
    }
    
    .header-info p {
        font-size: 0.8rem;
    }
    
    .chat-messages {
        padding: 15px;
        max-height: calc(100vh - 250px);
    }
    
    .message-bubble {
        padding: 10px 14px;
        font-size: 0.9rem;
        max-width: calc(100% - 60px);
    }
    
    .chat-input-area {
        padding: 15px 20px;
    }
    
    .chat-input-container input {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
    
    .send-button {
        width: 40px;
        height: 40px;
    }
    
    .quick-actions {
        gap: 8px;
        margin-bottom: 15px;
    }
    
    .quick-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
        border-radius: 15px;
    }
    
    /* Minimized Chat for Mobile */
    .modern-chat-interface.minimized {
        width: 60px;
        height: 60px;
        bottom: 20px;
        right: 20px;
        left: auto;
        border-radius: 50%;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }
    
    .hero p {
        font-size: 0.8rem;
        max-width: 280px;
    }
    
    .product-card {
        min-height: 240px;
        padding: 1rem;
    }
    
    .product-card h3 {
        font-size: 1rem;
        margin-bottom: 8px;
    }
    
    .product-card p {
        font-size: 0.8rem;
        line-height: 1.4;
        margin-bottom: 10px;
    }
    
    .company-content h2 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .company-content p {
        font-size: 0.8rem;
        max-width: 300px;
        margin-bottom: 12px;
    }
    
    .section h2 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .section {
        padding: 35px 0;
    }
    
    .container {
        padding: 0 12px;
    }
    
    /* Company Details for Small Screens */
    .detail-item {
        padding: 6px 10px;
        margin-bottom: 8px;
    }
    
    .detail-item .label {
        font-size: 0.75rem;
        margin-bottom: 3px;
    }
    
    .detail-item span:not(.label) {
        font-size: 0.8rem;
    }
    
    #location {
        font-size: 0.7rem !important;
        max-width: 250px;
    }
    
    /* Navigation adjustments */
    .logo h1 {
        font-size: 1.1rem;
        max-width: 120px;
    }
    
    .mobile-menu-toggle {
        width: 28px;
        height: 28px;
    }
    
    .hamburger-line {
        width: 18px;
    }
    
    .modern-chat-interface {
        width: calc(100vw - 10px);
        height: calc(100vh - 60px);
        bottom: 5px;
        right: 5px;
        left: 5px;
        border-radius: 12px;
    }
    
    .modern-chat-button {
        min-width: 120px;
        padding: 8px 12px;
    }
    
    .main-text {
        font-size: 12px;
    }
    
    .sub-text {
        font-size: 9px;
    }
}

.sakura-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.sakura-avatar-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sakura-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    box-shadow: 
        0 0 30px rgba(255, 182, 193, 0.6),
        0 0 60px rgba(255, 192, 203, 0.4),
        0 10px 30px rgba(0, 0, 0, 0.1);
    border: 4px solid rgba(255, 255, 255, 0.8);
    animation: sakuraFloat 4s ease-in-out infinite;
    background: linear-gradient(135deg, #ffb6c1, #ffc0cb);
    padding: 4px;
}

.sakura-petals {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    pointer-events: none;
}

.petal {
    position: absolute;
    font-size: 1.2rem;
    animation: petalFloat 6s ease-in-out infinite;
    opacity: 0.8;
}

.petal-1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.petal-2 {
    top: 20%;
    right: 10%;
    animation-delay: 1.2s;
}

.petal-3 {
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    animation-delay: 2.4s;
}

.petal-4 {
    bottom: 20%;
    right: 10%;
    animation-delay: 3.6s;
}

.petal-5 {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 4.8s;
}

@keyframes sakuraFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
        box-shadow: 
            0 0 30px rgba(255, 182, 193, 0.6),
            0 0 60px rgba(255, 192, 203, 0.4),
            0 10px 30px rgba(0, 0, 0, 0.1);
    }
    50% { 
        transform: translateY(-10px) rotate(2deg);
        box-shadow: 
            0 0 40px rgba(255, 182, 193, 0.8),
            0 0 80px rgba(255, 192, 203, 0.6),
            0 15px 40px rgba(0, 0, 0, 0.15);
    }
}

@keyframes petalFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg) scale(1);
        opacity: 0.8;
    }
    25% {
        transform: translateY(-8px) rotate(90deg) scale(1.1);
        opacity: 1;
    }
    50% {
        transform: translateY(-5px) rotate(180deg) scale(0.9);
        opacity: 0.7;
    }
    75% {
        transform: translateY(-12px) rotate(270deg) scale(1.2);
        opacity: 0.9;
    }
}

.sakura-greeting {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(255, 240, 245, 0.9) 100%);
    padding: 0.8rem 1.2rem;
    border-radius: 20px;
    box-shadow: 
        0 8px 25px rgba(255, 182, 193, 0.3),
        0 4px 15px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(255, 182, 193, 0.2);
    backdrop-filter: blur(10px);
    text-align: center;
    animation: greetingPulse 3s ease-in-out infinite;
}

.sakura-greeting p {
    margin: 0;
    font-size: 0.85rem;
    color: #d63384;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
    line-height: 1.4;
}

@keyframes greetingPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 
            0 8px 25px rgba(255, 182, 193, 0.3),
            0 4px 15px rgba(0, 0, 0, 0.05),
            inset 0 1px 0 rgba(255, 255, 255, 0.8);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 
            0 12px 35px rgba(255, 182, 193, 0.4),
            0 6px 20px rgba(0, 0, 0, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.9);
    }
}

/* モバイル対応 */
@media (max-width: 768px) {
    .ai-sakura-intro {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .ai-features {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        margin-bottom: 1.5rem;
    }
    
    .ai-feature {
        padding: 0.8rem;
        font-size: 0.85rem;
    }
    
    .ai-feature .feature-icon {
        font-size: 1.2rem;
    }
    
    .example-questions {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .example-btn {
        padding: 0.8rem 1rem;
        font-size: 0.85rem;
    }
    
    .start-chat-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
        margin-top: 1.5rem;
    }
    
    .sakura-icon {
        width: 80px;
        height: 80px;
    }
    
    .sakura-glow {
        width: 100px;
        height: 100px;
    }
    
    .sakura-floating-decoration {
        bottom: 20px;
        right: 20px;
    }
    
    .chat-interface {
        width: 350px;
        height: 500px;
        bottom: 110px;
        right: 20px;
    }
    
    .sakura-avatar {
        width: 60px;
        height: 60px;
    }
    
    .sakura-petals {
        width: 90px;
        height: 90px;
    }
    
    .petal {
        font-size: 1rem;
    }
    
    .sakura-greeting p {
        font-size: 0.75rem;
    }
}

/* チャットヘッダー内のアバター */
.chat-avatar-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.chat-avatar-header .chat-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.4);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.2),
        0 0 0 3px rgba(255, 255, 255, 0.1),
        inset 0 2px 0 rgba(255, 255, 255, 0.3);
}

.chat-info h3 {
    font-size: 1.2rem;
    margin: 0;
    font-weight: 700;
}

.chat-info p {
    font-size: 0.85rem;
    margin: 0;
    opacity: 0.9;
    font-weight: 500;
}

/* AIチャット */
.floating-chat-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, 
        var(--kan-warm) 0%, 
        var(--kan-gold) 50%, 
        #ff6b6b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 
        0 0 0 0 rgba(211, 84, 0, 0.7),
        0 12px 40px rgba(211, 84, 0, 0.4),
        inset 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--snow-white);
    font-size: 2rem;
    border: 4px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
    animation: floatButton 6s ease-in-out infinite;

.floating-chat-button::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, 
        rgba(255, 255, 255, 0.8) 0%, 
        transparent 25%, 
        rgba(255, 255, 255, 0.6) 50%, 
        transparent 75%, 
        rgba(255, 255, 255, 0.8) 100%);
    border-radius: 50%;
    animation: chatButtonGlow 4s ease-in-out infinite;
    z-index: -1;
}

.floating-chat-button::after {
    content: '💬';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.2rem;
    opacity: 0.9;
    animation: chatIconBounce 3s ease-in-out infinite;
}

@keyframes chatButtonGlow {
    0%, 100% { 
        transform: rotate(0deg) scale(1); 
        opacity: 0.6; 
    }
    50% { 
        transform: rotate(180deg) scale(1.1); 
        opacity: 1; 
    }
}

@keyframes floatButton {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
        box-shadow: 
            0 0 0 0 rgba(211, 84, 0, 0.7),
            0 12px 40px rgba(211, 84, 0, 0.4),
            inset 0 -2px 10px rgba(0, 0, 0, 0.1);
    }
    50% { 
        transform: translateY(-8px) rotate(2deg);
        box-shadow: 
            0 0 0 20px rgba(211, 84, 0, 0),
            0 20px 60px rgba(211, 84, 0, 0.6),
            inset 0 -2px 10px rgba(0, 0, 0, 0.1);
    }
}

@keyframes chatIconBounce {
    0%, 100% { transform: translate(-50%, -50%) scale(1) rotate(0deg); }
    25% { transform: translate(-50%, -50%) scale(0.9) rotate(-5deg); }
    50% { transform: translate(-50%, -50%) scale(1.1) rotate(5deg); }
    75% { transform: translate(-50%, -50%) scale(0.95) rotate(-2deg); }
}

.floating-chat-button:hover {
    transform: scale(1.2) rotate(10deg);
    box-shadow: 
        0 0 0 0 rgba(211, 84, 0, 0.7),
        0 20px 60px rgba(211, 84, 0, 0.6),
        0 0 40px rgba(255, 107, 107, 0.4),
        inset 0 -2px 15px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, 
        #ff6b6b 0%, 
        var(--kan-gold) 30%, 
        var(--kan-warm) 70%, 
        #e74c3c 100%);
    animation: none;
}

.floating-chat-button.active {
    background: linear-gradient(135deg, var(--takenami-primary) 0%, var(--takenami-secondary) 100%);
    transform: scale(0.95);
}

.ai-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    z-index: 2;
    position: relative;
    animation: sakuraFloat 4s ease-in-out infinite;
}

@keyframes sakuraFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-3px); }
}

.chat-interface {
    position: fixed;
    bottom: 130px;
    right: 30px;
    width: 420px;
    height: 600px;
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.98) 0%, 
        rgba(254, 245, 231, 0.95) 100%);
    backdrop-filter: blur(25px);
    border-radius: 24px;
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.5),
        0 30px 80px rgba(0, 0, 0, 0.15),
        0 10px 40px rgba(211, 84, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    transform: scale(0) translateY(50px) rotateX(15deg);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 1000;
    border: 2px solid rgba(211, 84, 0, 0.1);
    overflow: hidden;
    position: relative;
}

.chat-interface.open {
    transform: scale(1) translateY(0) rotateX(0deg);
    opacity: 1;
    animation: chatInterfaceEntry 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.chat-interface::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 50%,
        rgba(211, 84, 0, 0.05) 100%
    );
    border-radius: 24px;
    pointer-events: none;
    z-index: 1;
}

@keyframes chatInterfaceEntry {
    0% {
        transform: scale(0.8) translateY(30px);
        opacity: 0;
    }
    50% {
        transform: scale(1.05) translateY(-5px);
        opacity: 0.8;
    }
    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.chat-header {
    background: linear-gradient(135deg, 
        var(--kan-warm) 0%, 
        var(--kan-gold) 50%, 
        #ff6b6b 100%);
    color: var(--snow-white);
    padding: 1.5rem 1.8rem;
    border-radius: 24px 24px 0 0;
    display: flex;
    align-items: center;
    position: relative;
    box-shadow: 
        0 4px 20px rgba(211, 84, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    z-index: 2;
    overflow: hidden;
}

.chat-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    animation: headerShine 3s ease-in-out infinite;
}

@keyframes headerShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.chat-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    margin-right: 1.2rem;
    border: 3px solid rgba(255, 255, 255, 0.4);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.2),
        0 0 0 3px rgba(255, 255, 255, 0.1),
        inset 0 2px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 3;
    animation: avatarGlow 4s ease-in-out infinite;
}

@keyframes avatarGlow {
    0%, 100% { 
        box-shadow: 
            0 6px 20px rgba(0, 0, 0, 0.2),
            0 0 0 3px rgba(255, 255, 255, 0.1),
            inset 0 2px 0 rgba(255, 255, 255, 0.3);
    }
    50% { 
        box-shadow: 
            0 8px 30px rgba(0, 0, 0, 0.3),
            0 0 0 5px rgba(255, 255, 255, 0.2),
            0 0 20px rgba(243, 156, 18, 0.4),
            inset 0 2px 0 rgba(255, 255, 255, 0.3);
    }
}

.chat-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    font-weight: 700;
}

.chat-info p {
    font-size: 0.85rem;
    opacity: 0.9;
    font-weight: 500;
}

.chat-close {
    position: absolute;
    top: 50%;
    right: 1.2rem;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--snow-white);
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.chat-messages {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    position: relative;
    z-index: 2;
    background: linear-gradient(
        to bottom,
        rgba(254, 245, 231, 0.3) 0%,
        rgba(255, 255, 255, 0.5) 100%
    );
    backdrop-filter: blur(10px);
    scrollbar-width: thin;
    scrollbar-color: rgba(211, 84, 0, 0.3) transparent;
}

.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: linear-gradient(
        to bottom,
        var(--kan-warm),
        var(--kan-gold)
    );
    border-radius: 3px;
    transition: all 0.3s ease;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(
        to bottom,
        var(--kan-gold),
        var(--kan-warm)
    );
}

.ai-message, .user-message {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.user-message {
    flex-direction: row-reverse;
}

.message-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--kan-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.message-content {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.9) 0%, 
        rgba(236, 240, 241, 0.8) 100%);
    padding: 1rem 1.2rem;
    border-radius: 18px 18px 18px 6px;
    max-width: 75%;
    font-size: 0.95rem;
    line-height: 1.5;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.08),
        0 2px 6px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(211, 84, 0, 0.1);
    position: relative;
    animation: messageSlideIn 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes messageSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-20px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.user-message .message-content {
    background: linear-gradient(135deg, 
        var(--kan-warm) 0%, 
        var(--kan-gold) 100%);
    color: var(--snow-white);
    border-radius: 18px 18px 6px 18px;
    box-shadow: 
        0 4px 15px rgba(211, 84, 0, 0.3),
        0 2px 8px rgba(211, 84, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: messageSlideInRight 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes messageSlideInRight {
    0% {
        opacity: 0;
        transform: translateX(20px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.message-content .highlight {
    color: var(--kan-warm);
    font-weight: 600;
}

.quick-replies {
    padding: 0.5rem 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.quick-reply-btn {
    background: none;
    border: 1px solid var(--kan-warm);
    color: var(--kan-warm);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
}

.quick-reply-btn:hover {
    background: var(--kan-warm);
    color: var(--snow-white);
}

.chat-input {
    display: flex;
    padding: 1.5rem;
    border-top: 1px solid rgba(211, 84, 0, 0.1);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(254, 245, 231, 0.9) 100%);
    backdrop-filter: blur(15px);
    position: relative;
    z-index: 2;
    gap: 1rem;
}

.chat-input input {
    flex: 1;
    border: 2px solid rgba(211, 84, 0, 0.2);
    border-radius: 25px;
    padding: 0.8rem 1.2rem;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.9) 0%, 
        rgba(255, 255, 255, 0.7) 100%);
    backdrop-filter: blur(10px);
    box-shadow: 
        inset 0 2px 8px rgba(0, 0, 0, 0.06),
        0 2px 8px rgba(211, 84, 0, 0.1);
    position: relative;
}

.chat-input input:focus {
    border-color: var(--kan-warm);
    box-shadow: 
        inset 0 2px 8px rgba(0, 0, 0, 0.06),
        0 2px 8px rgba(211, 84, 0, 0.1),
        0 0 0 4px rgba(211, 84, 0, 0.1),
        0 4px 20px rgba(211, 84, 0, 0.2);
    transform: translateY(-1px);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 1) 0%, 
        rgba(254, 245, 231, 0.9) 100%);
}

.chat-input button {
    background: linear-gradient(135deg, 
        var(--kan-warm) 0%, 
        var(--kan-gold) 100%);
    color: var(--snow-white);
    border: none;
    border-radius: 25px;
    padding: 0.8rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 15px rgba(211, 84, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

.chat-input button:hover {
    background: linear-gradient(135deg, 
        var(--kan-gold) 0%, 
        #ff6b6b 100%);
    transform: translateY(-2px);
    box-shadow: 
        0 6px 25px rgba(211, 84, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.chat-input button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.6s ease;
}

.chat-input button:hover::before {
    left: 100%;
}

/* タイピングインジケーター */
.typing-indicator .typing-dots {
    display: flex;
    gap: 4px;
}

.typing-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--takenami-secondary);
    animation: typing 1.4s infinite ease-in-out;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* フッター */
.footer {
    background: var(--takenami-primary);
    color: var(--snow-white);
    padding: 3rem 0 2rem;
    text-align: center;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-accent);
}

.footer-info h4 {
    margin-bottom: 1rem;
    color: var(--kan-gold);
}

.footer-info p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.footer-info a {
    color: var(--kan-gold);
    text-decoration: none;
    transition: var(--transition);
}

.footer-info a:hover {
    opacity: 0.8;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .nav {
        padding: 0 15px;
    }
    
    .nav ul {
        gap: 1rem;
    }
    
    .nav a {
        font-size: 0.9rem;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: var(--header-height) 0 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .company-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .product-card {
        height: 280px;
        padding: 1.5rem;
    }
    
    .product-header {
        height: 180px;
    }
    
    .product-name {
        font-size: 1.3rem;
        min-height: 2.6rem;
    }
    
    .product-description {
        font-size: 0.8rem;
        max-height: 2.8rem;
        min-height: 2.8rem;
        -webkit-line-clamp: 2;
    }
    
    .product-categories {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .category-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }
    
    .product-details {
        padding: 0.8rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .chat-interface {
        width: calc(100vw - 40px);
        height: 400px;
        bottom: 90px;
        right: 20px;
        left: 20px;
    }
    
    section {
        padding: 3rem 0;
    }
    
    section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .product-card {
        padding: 1.2rem;
        height: 260px;
    }
    
    .product-header {
        height: 160px;
    }
    
    .product-name {
        font-size: 1.2rem;
        min-height: 2.4rem;
    }
    
    .product-description {
        font-size: 0.75rem;
        max-height: 2.5rem;
        min-height: 2.5rem;
        -webkit-line-clamp: 2;
    }
    
    .product-details-toggle {
        height: 40px;
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    #google_translate_element {
        top: 5px;
        right: 5px;
        padding: 5px;
    }
}