/* 基本スタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
    overflow-x: hidden; /* 横スクロールを防ぐ */
}

html {
    overflow-x: hidden; /* 横スクロールを防ぐ */
}

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

/* ヘッダー */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.site-title {
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    color: inherit;
}

.site-title a {
    color: inherit;
    text-decoration: none;
}

.site-description {
    font-size: 14px;
    margin-top: 5px;
    opacity: 0.8;
}

/* ナビゲーション */
.main-nav {
    display: flex;
    align-items: center;
}

/* ハンバーガーメニュー */
.hamburger {
    display: none; /* デフォルトでは非表示 */
    align-items: center;
    cursor: pointer;
    z-index: 1002;
    padding: 8px 12px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.hamburger:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

/* ハンバーガーラベル */
.hamburger-label {
    font-size: 14px;
    font-weight: 500;
    margin-right: 8px;
    color: inherit;
    white-space: nowrap;
}

/* ハンバーガーアイコン */
.hamburger-icon {
    display: flex;
    flex-direction: column;
}

/* スマホでハンバーガーメニューを表示 */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    /* ソートドロップダウンを非表示にしてスペース確保 */
    .sort-dropdown {
        display: none;
    }
    
    /* ヘッダーのスマホ対応 */
    .header-inner {
        padding: 10px 0;
    }
    
    /* サイトタイトルをスマホで小さく */
    .site-title {
        font-size: 16px;
        flex: 1;
        min-width: 0; /* flexアイテムの縮小を許可 */
        max-width: calc(100vw - 120px); /* ハンバーガーメニュー分を引く */
    }
    
    .site-title a {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
        max-width: 100%;
    }
    
    /* サイト説明をスマホで非表示 */
    .site-description {
        display: none;
    }
    
    /* サイトブランディング領域の調整 */
    .site-branding {
        flex: 1;
        min-width: 0;
        margin-right: 10px;
    }
    
    /* ナビゲーション領域の調整 */
    .main-nav {
        flex-shrink: 0; /* ナビゲーションは縮小しない */
    }
    
    /* ハンバーガーメニューのスマホ調整 */
    .hamburger {
        padding: 6px 10px;
        font-size: 14px;
    }
    
    .hamburger-label {
        font-size: 12px;
        margin-right: 6px;
    }
    
    .hamburger-icon span {
        width: 18px;
        height: 2px;
    }
    
    /* コンテナのスマホ調整 */
    .container {
        padding: 0 15px; /* スマホで左右のパディングを少なく */
    }
}

/* 極小デバイス（320px以下）対応 */
@media (max-width: 320px) {
    .site-title {
        font-size: 14px !important;
        line-height: 1.2;
        max-width: calc(100vw - 100px) !important;
    }
    
    .hamburger-label {
        display: none; /* 極小デバイスではラベルを非表示 */
    }
    
    .hamburger {
        padding: 4px 8px;
    }
    
    .container {
        padding: 0 10px;
    }
}

/* 長いタイトル用の2行表示オプション */
@media (max-width: 480px) {
    .site-title.long-title a {
        white-space: normal;
        line-height: 1.2;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        max-height: 2.4em;
    }
}

.hamburger-icon span {
    width: 22px;
    height: 2px;
    background: currentColor;
    margin: 2px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active .hamburger-icon span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

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

.hamburger.active .hamburger-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* モバイルメニュー */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: #fff;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    overflow-y: auto;
    z-index: 1001;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-inner {
    padding: 80px 20px 20px;
}

.mobile-menu-category {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.mobile-menu-category:last-child {
    border-bottom: none;
}

.menu-category-title {
    font-size: 18px;
    margin-bottom: 0;
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    user-select: none;
}

/* メニューアイコンのスタイリング */
.menu-icon {
    font-size: 18px;
    margin-right: 8px;
    display: inline-block;
    min-width: 24px;
    text-align: center;
}

.menu-category-title:hover {
    color: #e60073;
}

.toggle-icon {
    font-size: 14px;
    transition: transform 0.3s;
}

.menu-category-title.active .toggle-icon {
    transform: rotate(180deg);
}

.menu-category-content {
    display: none;
    padding-top: 10px;
}

.menu-category-content.active {
    display: block;
}

.mobile-menu-list {
    list-style: none;
}

.mobile-menu-list li {
    margin-bottom: 10px;
}

.mobile-menu-list a {
    text-decoration: none;
    color: #666;
    display: block;
    padding: 8px 15px;
    transition: all 0.3s;
    border-radius: 4px;
}

.mobile-menu-list a:hover {
    color: #e60073;
    background: #f8f8f8;
}

.submenu-item {
    position: relative;
}

.submenu-toggle {
    cursor: pointer;
}

.submenu-list {
    margin-top: 10px;
    margin-left: 20px;
    display: none;
}

.submenu-list li {
    display: inline-block;
    margin: 5px;
}

.submenu-list a {
    padding: 5px 10px;
    font-size: 14px;
    background: #f0f0f0;
    border-radius: 15px;
}

/* ソートドロップダウン */
.sort-dropdown {
    margin-right: 20px;
}

.sort-select {
    padding: 8px 15px;
    border: 2px solid #fff;
    border-radius: 25px;
    background: transparent;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    outline: none;
    transition: all 0.3s;
}

.sort-select:hover {
    background: rgba(255, 255, 255, 0.1);
}

.sort-select option {
    background: #1a1a2e;
    color: #fff;
}

.sort-select option:checked,
.sort-select option[selected] {
    background: #3498db;
    color: #fff;
}

/* メインコンテンツ */
.main-content {
    margin-top: 150px;
    min-height: calc(100vh - 250px);
    padding-top: 30px;
}

/* タブメニュー */
.tab-menu {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    border-bottom: 2px solid #ddd;
}

.tab-menu button {
    background: none;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    cursor: pointer;
    position: relative;
    transition: color 0.3s;
}

.tab-menu button:hover {
    color: #e60073;
}

.tab-menu button.active {
    color: #e60073;
}

.tab-menu button.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e60073;
}

/* 商品グリッド */
.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 20px;
    margin-bottom: 40px;
}

.item-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.item-thumbnail {
    position: relative;
    padding-bottom: 84.7%; /* アスペクト比 1.18:1（横長） */
    overflow: hidden;
}

.item-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 動画バッジ */
.video-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(230, 0, 115, 0.9);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.video-badge .play-icon {
    font-size: 10px;
    font-style: normal;
}

/* 画像のみバッジ */
.photo-only-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(100, 100, 100, 0.8);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* ホバーエフェクト */
.item-card.has-video:hover .video-badge {
    background: rgba(230, 0, 115, 1);
    transform: scale(1.1);
}

.item-card.no-video .item-thumbnail::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.4));
    opacity: 0;
    transition: opacity 0.3s;
}

.item-card.no-video:hover .item-thumbnail::after {
    opacity: 1;
}

.item-info {
    padding: 15px;
}

.item-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.item-date {
    font-size: 12px;
    color: #666;
}

/* ページネーション */
.pagination {
    margin: 40px 0;
}

.pagination-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    list-style: none;
}

.pagination-list a,
.pagination-list span {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
}

.pagination-list a:hover {
    background: #e60073;
    color: #fff;
    border-color: #e60073;
}

.pagination-list .current {
    background: #e60073;
    color: #fff;
    border-color: #e60073;
}

/* 期間選択 */
.period-selector {
    text-align: right;
    margin-bottom: 20px;
    padding: 10px 0;
}

.period-selector label {
    font-weight: bold;
    margin-right: 10px;
}

.period-selector select {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
}

.period-selector select:focus {
    outline: none;
    border-color: #e60073;
}

@media (max-width: 768px) {
    .period-selector {
        text-align: center;
    }
}

/* エントリーページ */
.entry-header {
    text-align: center;
    margin-bottom: 40px;
}

.entry-title {
    font-size: 28px;
    margin-bottom: 20px;
}

.entry-video {
    max-width: 800px;
    margin: 0 auto 40px;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.entry-video video {
    width: 100%;
    height: auto;
}

.sample-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    margin-bottom: 40px;
}

.sample-image {
    cursor: pointer;
    transition: transform 0.3s;
}

.sample-image:hover {
    transform: scale(1.05);
}

.sample-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.entry-info {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 40px;
}

.info-row {
    display: flex;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    width: 120px;
    font-weight: bold;
    color: #666;
}

.info-value {
    flex: 1;
}

.info-value a {
    color: #e60073;
    text-decoration: none;
}

.info-value a:hover {
    text-decoration: underline;
}

.cta-button {
    display: inline-block;
    background: #e60073;
    color: #fff;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(230, 0, 115, 0.3);
}

/* フッター */
.footer {
    background: #333;
    color: #fff;
    padding: 40px 0;
    margin-top: 80px;
}

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

.footer-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-tags a {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.3s;
}

.footer-tags a:hover {
    background: rgba(255,255,255,0.2);
}

/* レスポンシブ */
@media (max-width: 768px) {
    .main-content {
        margin-top: 100px;
        padding-top: 20px;
    }
    
    .items-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
        margin-top: 15px;
    }
    
    .entry-title {
        font-size: 20px;
    }
    
    .info-row {
        flex-direction: column;
    }
    
    .info-label {
        width: 100%;
        margin-bottom: 5px;
    }
    
    .site-title {
        font-size: 20px;
    }
    
    .site-description {
        font-size: 12px;
    }
}

/* オーバーレイ */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: none;
    z-index: 999;
}

.overlay.active {
    display: block;
}

/* ローディング */
.loading {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #e60073;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* フリースペース */
.free-space {
    margin: 30px 0;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
}

/* フリースペース内の画像を自動調整 */
.free-space img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* フリースペース内のiframe（広告など）を自動調整 */
.free-space iframe {
    max-width: 100%;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .free-space {
        margin: 20px 0;
        padding: 15px;
    }
}

/* モバイルメニュー閉じるボタン */
.mobile-menu-close {
    text-align: right;
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
}

.close-button {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #ddd;
    font-size: 16px;
    color: #666;
    cursor: pointer;
    padding: 8px 15px;
    border-radius: 20px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.close-button:hover {
    color: #e60073;
    background: rgba(255, 255, 255, 1);
    transform: scale(1.05);
}

.close-icon {
    font-size: 18px;
}

.close-text {
    font-size: 14px;
    font-weight: 500;
}

/* DMM.com バナー */
.dmm-banner {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.dmm-banner img {
    opacity: 0.8;
    transition: opacity 0.3s;
}

.dmm-banner a:hover img {
    opacity: 1;
}

/* NoImageのオシャレなアニメーション付きサムネイル */
.no-image-animated {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #FF006E, #8338EC, #3A86FF, #06FFA5);
    background-size: 400% 400%;
    animation: gradientMove 15s ease infinite;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.no-image-animated::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 70%
    );
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.no-image-animated .icon-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    z-index: 2;
    animation: rotate3d 6s linear infinite;
}

@keyframes rotate3d {
    0% {
        transform: rotateY(0deg) rotateX(0deg);
    }
    25% {
        transform: rotateY(180deg) rotateX(10deg);
    }
    50% {
        transform: rotateY(360deg) rotateX(-10deg);
    }
    75% {
        transform: rotateY(540deg) rotateX(10deg);
    }
    100% {
        transform: rotateY(720deg) rotateX(0deg);
    }
}

.no-image-animated .video-icon {
    width: 100%;
    height: 100%;
    color: rgba(255, 255, 255, 0.95);
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.8));
}

/* パーティクルエフェクト */
.no-image-animated .particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.no-image-animated .particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: float-up 4s linear infinite;
}

@keyframes float-up {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(100px);
        opacity: 0;
    }
}

.no-image-animated .particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 3s; }
.no-image-animated .particle:nth-child(2) { left: 20%; animation-delay: 0.5s; animation-duration: 3.5s; }
.no-image-animated .particle:nth-child(3) { left: 30%; animation-delay: 1s; animation-duration: 4s; }
.no-image-animated .particle:nth-child(4) { left: 40%; animation-delay: 1.5s; animation-duration: 3s; }
.no-image-animated .particle:nth-child(5) { left: 50%; animation-delay: 2s; animation-duration: 3.5s; }
.no-image-animated .particle:nth-child(6) { left: 60%; animation-delay: 2.5s; animation-duration: 4s; }
.no-image-animated .particle:nth-child(7) { left: 70%; animation-delay: 3s; animation-duration: 3s; }
.no-image-animated .particle:nth-child(8) { left: 80%; animation-delay: 3.5s; animation-duration: 3.5s; }
.no-image-animated .particle:nth-child(9) { left: 90%; animation-delay: 4s; animation-duration: 4s; }

.no-image-animated .loading-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.no-image-animated .dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: bounce 1.4s ease-in-out infinite both;
}

.no-image-animated .dot:nth-child(1) {
    animation-delay: -0.32s;
}

.no-image-animated .dot:nth-child(2) {
    animation-delay: -0.16s;
}

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

.no-image-animated .text {
    position: relative;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-top: 15px;
    z-index: 2;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

/* メインテキストアニメーション */
.no-image-animated .text span {
    display: inline-block;
    animation: bounce-letter 2s ease-in-out infinite;
}

.no-image-animated .text span:nth-child(1) { animation-delay: 0s; }
.no-image-animated .text span:nth-child(2) { animation-delay: 0.1s; }
.no-image-animated .text span:nth-child(3) { animation-delay: 0.2s; }
.no-image-animated .text span:nth-child(4) { animation-delay: 0.3s; }
.no-image-animated .text span:nth-child(5) { animation-delay: 0.4s; }
.no-image-animated .text span:nth-child(6) { animation-delay: 0.5s; }
.no-image-animated .text span:nth-child(7) { animation-delay: 0.6s; }
.no-image-animated .text span:nth-child(8) { animation-delay: 0.7s; }
.no-image-animated .text span:nth-child(9) { animation-delay: 0.8s; }
.no-image-animated .text span:nth-child(10) { animation-delay: 0.9s; }
.no-image-animated .text span:nth-child(11) { animation-delay: 1.0s; }

@keyframes bounce-letter {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.2);
    }
}

/* フッターカテゴリスタイル */
.footer-categories {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid #e9ecef;
}

.footer-categories h3 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 18px;
    text-align: center;
}

.footer-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    max-width: 720px;
    margin: 0 auto;
}

.footer-category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px 10px;
    background: white;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
    border: 1px solid #e9ecef;
}

.footer-category-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    color: #e60073;
    border-color: #e60073;
}

.footer-nav-icon {
    font-size: 24px;
    line-height: 1;
}

.footer-category-item span {
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .footer-category-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .footer-category-item {
        padding: 12px 8px;
    }
    
    .footer-nav-icon {
        font-size: 20px;
    }
    
    .footer-category-item span {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .footer-category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-categories {
        padding: 20px 15px;
    }
}

/* サブテキスト */
.no-image-animated .subtext {
    position: relative;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    margin-top: 10px;
    z-index: 2;
    animation: typing 4s steps(20, end) infinite;
    white-space: nowrap;
    overflow: hidden;
    border-right: 2px solid rgba(255, 255, 255, 0.8);
    padding-right: 5px;
}

@keyframes typing {
    0%, 10% {
        width: 0;
    }
    50%, 90% {
        width: 100%;
    }
    100% {
        width: 0;
    }
}

/* ホバー効果 */
.item-card:hover .no-image-animated {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

.item-card:hover .no-image-animated::before {
    animation-duration: 1s;
}

.item-card:hover .no-image-animated .icon-wrapper {
    animation-duration: 2s;
}

.item-card:hover .no-image-animated .text span {
    animation-duration: 0.5s;
    color: #FFE66D;
}

/* クリックを促すメッセージ */
.no-image-animated .click-me {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    color: #fff;
    font-weight: bold;
    animation: pulse-bg 2s ease-in-out infinite;
    z-index: 3;
}

@keyframes pulse-bg {
    0%, 100% {
        background: rgba(255, 255, 255, 0.2);
        transform: scale(1);
    }
    50% {
        background: rgba(255, 255, 255, 0.4);
        transform: scale(1.05);
    }
}

/* 検索フォーム */
.search-section {
    padding: 40px 20px;
    margin-bottom: 40px;
    text-align: center;
}

.search-title {
    color: #333;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
}

.search-description {
    color: #666;
    font-size: 16px;
    margin-bottom: 40px;
}

.search-form {
    margin-bottom: 30px;
}

.search-input-group {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    overflow: hidden;
    padding: 0;
}

.search-input {
    flex: 1;
    padding: 18px 25px;
    font-size: 16px;
    outline: none !important;
    color: #333;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none !important;
    box-shadow: none !important;
}

.search-input-group:focus-within {
    border-color: #e60073;
    box-shadow: 0 6px 20px rgba(230, 0, 115, 0.15);
}

.search-button {
    padding: 18px 35px;
    background: linear-gradient(135deg, #e60073 0%, #ff6b9d 100%);
    color: #fff;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    outline: none;
}

.search-button:hover {
    background: linear-gradient(135deg, #d10066 0%, #ff5a8b 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(230, 0, 115, 0.3);
}

.search-options {
    margin-top: 20px;
}

.search-sort {
    padding: 12px 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 14px;
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-sort:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.search-suggestions {
    margin-top: 30px;
}

.suggestions-title {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-bottom: 15px;
}

.keyword-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.keyword-tag {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.keyword-tag:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* モバイル対応 */
@media (max-width: 768px) {
    .no-image-animated .icon-wrapper {
        width: 60px;
        height: 60px;
    }
    
    .no-image-animated .text {
        font-size: 12px;
    }
    
    .search-input-group {
        flex-direction: column;
        border-radius: 15px;
    }
    
    .search-input {
        border-radius: 15px 15px 0 0;
    }
    
    .search-button {
        border-radius: 0 0 15px 15px;
        justify-content: center;
    }
    
    .search-title {
        font-size: 24px;
    }
    
    .keyword-tags {
        gap: 8px;
    }
    
    .keyword-tag {
        font-size: 12px;
        padding: 6px 12px;
    }
}

/* ===== ヒーローセクション アニメーション効果 ===== */

/* ヒーローセクション基本スタイル */
.hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    margin-top: 80px; /* ヘッダー分のスペース確保 */
    height: 31.25vw; /* 1920:600の比率 (600/1920)*100 = 31.25% */
    max-height: 600px; /* 最大高さ制限 */
    min-height: 300px; /* 最小高さ保証 */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 40px 20px;
    max-width: 800px;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-button {
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-button.primary {
    background: #007bff;
    color: white;
    border: 2px solid #007bff;
}

.hero-button.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.hero-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* 1. フェードイン */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-animation-fadeIn .hero-content {
    animation: fadeIn 1.5s ease-out;
}

/* 2. スライドアップ */
@keyframes slideUp {
    from { transform: translateY(100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.hero-animation-slideUp .hero-content {
    animation: slideUp 1.2s ease-out;
}

/* 3. ズームイン */
@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.hero-animation-zoomIn .hero-content {
    animation: zoomIn 1s ease-out;
}

/* 4. 左からスライド */
@keyframes slideLeft {
    from { transform: translateX(-100px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.hero-animation-slideLeft .hero-content {
    animation: slideLeft 1.2s ease-out;
}

/* 5. 右からスライド */
@keyframes slideRight {
    from { transform: translateX(100px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.hero-animation-slideRight .hero-content {
    animation: slideRight 1.2s ease-out;
}

/* 6. バウンス */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-30px); }
    60% { transform: translateY(-15px); }
}

.hero-animation-bounce .hero-content {
    animation: bounce 2s ease-in-out;
}

/* 7. 回転フェード */
@keyframes rotateFade {
    from { transform: rotate(-15deg) scale(0.8); opacity: 0; }
    to { transform: rotate(0deg) scale(1); opacity: 1; }
}

.hero-animation-rotateFade .hero-content {
    animation: rotateFade 1.5s ease-out;
}

/* 8. フリップ */
@keyframes flip {
    from { transform: rotateY(-90deg); opacity: 0; }
    to { transform: rotateY(0deg); opacity: 1; }
}

.hero-animation-flip .hero-content {
    animation: flip 1.2s ease-out;
}

/* 9. パルス */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.hero-animation-pulse .hero-content {
    animation: pulse 2s infinite ease-in-out;
}

/* 10. タイピング効果 */
@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    50% { border-color: transparent; }
}

.hero-animation-typing .hero-title {
    overflow: hidden;
    border-right: 3px solid;
    white-space: nowrap;
    margin: 0 auto;
    animation: typing 3s steps(40, end), blink 0.5s step-end infinite;
}

/* 横スクロールスライダー（全ページ共通） */
.hero-slider-section {
    margin: 20px 0;
}

.hero-slider {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0 20px 0;
    -webkit-overflow-scrolling: touch;
}

.hero-slider::-webkit-scrollbar {
    height: 8px;
}

.hero-slider::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.hero-slider::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.hero-slider::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.slider-item {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.2s ease;
    flex: 0 0 180px; /* 固定幅180px、縮まない */
    width: 180px;
    height: 260px; /* 固定高さ */
}

.slider-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.slide-link {
    display: block;
    width: 100%;
    text-decoration: none;
    color: inherit;
}

.slide-image {
    position: relative;
    width: 100%;
    height: 140px; /* 小さめの固定高さ */
    overflow: hidden;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.slide-info {
    padding: 15px;
}

.slide-title {
    font-size: 14px;
    font-weight: bold;
    margin: 0 0 8px 0;
    line-height: 1.3;
    height: 32px; /* 2行分の高さ固定 */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: #333;
}

.slide-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.slide-price {
    color: #e60012;
    font-weight: bold;
}

.slide-comment-count {
    color: #999;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .hero-section {
        margin-top: 60px; /* モバイル用ヘッダー高さに調整 */
        min-height: 400px; /* モバイルでは高さ調整 */
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-content {
        padding: 30px 15px;
    }
    
    .slider-item {
        flex: 0 0 150px; /* モバイルは少し小さく */
        width: 150px;
        height: 220px;
    }
    
    .slide-image {
        height: 120px;
    }
    
    .slide-info {
        padding: 8px;
    }
    
    .slide-title {
        font-size: 12px;
        height: 28px;
    }
}