/*
Theme Name: CHESTNUT TIGER
Theme URI: 
Author: CHESTNUT TIGER
Description: 真夜中の魔法をテーマにしたハンドメイドブランド用オリジナルテーマ
Version: 3.0
*/

/* ==========================================================================
   Base Styles
   ========================================================================== */
:root {
    --bg-color: #1C1C1E;
    --text-color: #E2E8F0;
    --accent-color: #FF8966; /* Coral */
    --accent-hover: #ffad91;
    --font-jp: 'Zen Maru Gothic', sans-serif;
    --font-en: 'Quicksand', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-jp);
    /* ドット背景 */
    background-image: radial-gradient(#ffffff 1px, transparent 1px);
    background-size: 40px 40px;
    background-attachment: fixed;
    line-height: 1.6;
}

/* WordPress管理バーの調整 */
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
    body.admin-bar .site-header { top: 46px; }
}

a { text-decoration: none; color: inherit; transition: color 0.3s; }
ul { list-style: none; padding: 0; margin: 0; }
img { max-width: 100%; height: auto; display: block; }
* { box-sizing: border-box; }

/* 共通クラス */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}
.eng-font { font-family: var(--font-en); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(28, 28, 30, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.site-branding {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.site-logo {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 0.1em;
    line-height: 1;
}

.site-logo span {
    background: linear-gradient(135deg, #E2E8F0 0%, #94A3B8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #E2E8F0; 
}

.site-description {
    font-size: 0.6rem;
    color: var(--accent-color);
    letter-spacing: 0.2em;
    display: block;
    margin-top: 4px;
    font-weight: bold;
    font-family: var(--font-en);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    padding: 160px 0 100px;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
}

.hero-text {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.hero-visual {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.new-arrival-badge {
    display: inline-block;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 20px;
    font-family: var(--font-en);
    background: rgba(28, 28, 30, 0.8);
}

h2.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin: 0 0 25px 0;
    font-family: var(--font-en);
    font-weight: 700;
}

.hero-title .highlight {
    color: var(--accent-color);
    text-shadow: 0 0 20px rgba(255, 137, 102, 0.3);
}

.hero-text p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.btn-main {
    display: inline-block;
    background-color: var(--accent-color);
    color: #1C1C1E;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(255, 137, 102, 0.2);
}
.btn-main:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 25px rgba(255, 137, 102, 0.4);
}

/* 画像フレーム */
.hero-img-frame {
    width: 100%;
    max-width: 450px;
    aspect-ratio: 3/4;
    border-radius: 60px 60px 60px 60px;
    overflow: hidden;
    border: 4px solid rgba(226, 232, 240, 0.1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    position: relative;
}

.hero-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   Product Grid
   ========================================================================== */
.pickup-section {
    padding: 80px 0 120px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin: 0 0 5px 0;
    font-family: var(--font-en);
    color: var(--text-color);
}
.section-subtitle {
    text-align: center;
    font-size: 0.8rem;
    color: #888;
    margin: 0 0 60px 0;
    letter-spacing: 0.1em;
    font-weight: bold;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 30px;
}

.product-card {
    background: #252527;
    border-radius: 20px;
    padding: 15px;
    transition: transform 0.3s;
    border: 1px solid rgba(255,255,255,0.05);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.product-img {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 15px;
    background: #111;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: sepia(0.2) contrast(1.1);
    transition: filter 0.3s, transform 0.5s;
}
.product-card:hover img {
    filter: sepia(0) contrast(1);
    transform: scale(1.05);
}

.product-title {
    font-size: 0.95rem;
    margin: 0 0 5px 0;
    font-family: var(--font-en);
    font-weight: 600;
}
.product-price {
    color: var(--accent-color);
    font-weight: bold;
    font-size: 0.9rem;
    margin-top: auto;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 60px 0 40px;
    text-align: center;
    background: #111;
}
.footer-copy {
    font-size: 0.7rem;
    color: #666;
    letter-spacing: 0.1em;
    margin-top: 20px;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .hero-section { 
        padding-top: 120px; 
        display: block;
    }
    .hero-content {
        flex-direction: column-reverse;
        gap: 30px;
    }
    .hero-text {
        text-align: center;
    }
    .hero-visual {
        width: 100%;
    }
    .hero-img-frame {
        max-width: 300px;
        margin: 0 auto;
    }
    h2.hero-title { font-size: 2.5rem; }
    .site-logo { font-size: 1.2rem; }
}