:root {
    --primary: #2c1810;
    --secondary: #8b6f47;
    --accent: #c9a961;
    --light: #f5f1ed;
    --white: #ffffff;
    --text: #333333;
    --text-light: #666666;
    --border: #e0d5c7;
    --shadow: rgba(44, 24, 16, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Serif JP', serif;
    font-weight: 600;
    line-height: 1.3;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px var(--shadow);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Noto Serif JP', serif;
}

.logo i {
    font-size: 1.5rem;
    color: var(--accent);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-menu a {
    color: var(--text);
    font-weight: 500;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.cart-link {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    transition: var(--transition);
}

.hero {
    margin-top: 80px;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    background: linear-gradient(165deg, #faf8f5 0%, #f5f1ed 50%, #ebe5dc 100%);
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.deco-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.15;
}

.deco-line-1 {
    width: 300px;
    height: 2px;
    top: 20%;
    left: 10%;
    animation: lineSlide 8s ease-in-out infinite;
}

.deco-line-2 {
    width: 200px;
    height: 2px;
    top: 60%;
    right: 15%;
    animation: lineSlide 10s ease-in-out infinite reverse;
}

.deco-line-3 {
    width: 150px;
    height: 2px;
    bottom: 25%;
    left: 20%;
    animation: lineSlide 12s ease-in-out infinite;
}

@keyframes lineSlide {
    0%, 100% { transform: translateX(0); opacity: 0.15; }
    50% { transform: translateX(50px); opacity: 0.3; }
}

.deco-circle {
    position: absolute;
    border: 2px solid var(--accent);
    border-radius: 50%;
    opacity: 0.1;
}

.deco-circle-1 {
    width: 120px;
    height: 120px;
    top: 15%;
    right: 20%;
    animation: rotate 20s linear infinite;
}

.deco-circle-2 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 15%;
    animation: rotate 15s linear infinite reverse;
}

.deco-square {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 2px solid var(--secondary);
    top: 40%;
    right: 10%;
    opacity: 0.1;
    animation: rotate 25s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(201, 169, 97, 0.1);
    border: 1px solid var(--accent);
    border-radius: 30px;
    color: var(--secondary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 30px;
    animation: fadeIn 1s ease-out 0.3s backwards;
}

.badge-icon {
    color: var(--accent);
    font-size: 1rem;
}

.hero-title {
    margin-bottom: 25px;
}

.title-main {
    display: block;
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.1;
    margin-bottom: 10px;
    animation: fadeIn 1s ease-out 0.5s backwards;
}

.title-sub {
    display: block;
    font-size: 5.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    animation: fadeIn 1s ease-out 0.7s backwards;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 40px;
    animation: fadeIn 1s ease-out 0.9s backwards;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    animation: fadeIn 1s ease-out 1.1s backwards;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

.hero-actions {
    display: flex;
    gap: 20px;
    animation: fadeIn 1s ease-out 1.3s backwards;
}

.btn-hero {
    padding: 16px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
}

.btn-hero-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(44, 24, 16, 0.2);
}

.btn-hero-primary:hover {
    background: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(44, 24, 16, 0.3);
}

.btn-hero-primary i {
    transition: var(--transition);
}

.btn-hero-primary:hover i {
    transform: translateX(5px);
}

.btn-hero-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-hero-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

.hero-visual {
    position: relative;
    height: 600px;
    animation: fadeIn 1.2s ease-out 0.5s backwards;
}

.visual-frame {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
}

.frame-corner {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 3px solid var(--accent);
}

.frame-corner-tl {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
    animation: cornerPulse 3s ease-in-out infinite;
}

.frame-corner-tr {
    top: 0;
    right: 0;
    border-left: none;
    border-bottom: none;
    animation: cornerPulse 3s ease-in-out 0.75s infinite;
}

.frame-corner-bl {
    bottom: 0;
    left: 0;
    border-right: none;
    border-top: none;
    animation: cornerPulse 3s ease-in-out 1.5s infinite;
}

.frame-corner-br {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
    animation: cornerPulse 3s ease-in-out 2.25s infinite;
}

@keyframes cornerPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.visual-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.hero-pen {
    max-width: 450px;
    filter: drop-shadow(0 30px 60px rgba(44, 24, 16, 0.2));
    animation: floatPen 6s ease-in-out infinite;
}

@keyframes floatPen {
    0%, 100% {
        transform: translateY(0) rotate(-5deg);
    }
    50% {
        transform: translateY(-20px) rotate(-3deg);
    }
}

.visual-accent {
    position: absolute;
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    border-radius: 50%;
    opacity: 0.15;
    z-index: 1;
}

.visual-accent-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    right: 5%;
    animation: pulse 4s ease-in-out infinite;
}

.visual-accent-2 {
    width: 150px;
    height: 150px;
    bottom: 15%;
    left: 10%;
    animation: pulse 4s ease-in-out 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.15;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.25;
    }
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 500;
    animation: fadeIn 1.5s ease-out 1.5s backwards;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollMove 2s ease-in-out infinite;
}

@keyframes scrollMove {
    0%, 100% {
        transform: translateY(0);
        opacity: 0;
    }
    50% {
        transform: translateY(10px);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.btn {
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--shadow);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-small {
    padding: 10px 25px;
    font-size: 0.9rem;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: var(--primary);
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--secondary));
}

.brands {
    padding: 100px 0;
    background: var(--white);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.brand-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--light);
    border-radius: 20px;
    transition: var(--transition);
}

.brand-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow);
}

.brand-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.brand-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.brand-card p {
    color: var(--text-light);
}

.about-preview {
    padding: 100px 0;
    background: var(--light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    border-radius: 20px;
    box-shadow: 0 20px 60px var(--shadow);
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--primary);
}

.lead {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--secondary);
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.8;
}

.about-content .btn {
    margin-top: 20px;
}

.featured {
    padding: 100px 0;
    background: var(--white);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.featured-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
    transition: var(--transition);
}

.featured-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px var(--shadow);
}

.featured-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.featured-card:hover .featured-image img {
    transform: scale(1.1);
}

.badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.featured-content {
    padding: 30px;
}

.featured-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.featured-content p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.featured-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 20px;
}

.categories {
    padding: 100px 0;
    background: var(--light);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.category-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 20px var(--shadow);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow);
}

.category-image {
    height: 250px;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.category-card:hover .category-image img {
    transform: scale(1.1);
}

.category-card h3 {
    padding: 20px 20px 10px;
    font-size: 1.3rem;
    color: var(--primary);
}

.category-card p {
    padding: 0 20px 20px;
    color: var(--text-light);
}

.testimonials {
    padding: 100px 0;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.testimonial-card {
    background: var(--light);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow);
}

.testimonial-stars {
    color: var(--accent);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text);
    margin-bottom: 20px;
    line-height: 1.8;
}

.testimonial-author {
    font-weight: 600;
    color: var(--secondary);
}

.newsletter {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.newsletter-content {
    text-align: center;
    color: var(--white);
}

.newsletter-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.newsletter-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 25px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-family: 'Noto Sans JP', sans-serif;
}

.newsletter-form button {
    background: var(--accent);
    border: none;
}

.newsletter-form button:hover {
    background: var(--white);
    color: var(--primary);
}

.footer {
    background: var(--primary);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--accent);
}

.footer-col p {
    opacity: 0.8;
    line-height: 1.8;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    opacity: 0.8;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    opacity: 1;
    color: var(--accent);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    opacity: 0.8;
}

.footer-contact i {
    color: var(--accent);
    margin-top: 3px;
}

.footer-company {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    margin-bottom: 40px;
}

.footer-company h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--accent);
}

.company-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    opacity: 0.8;
    line-height: 1.8;
}

.company-info strong {
    color: var(--accent);
    display: block;
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.6;
}

@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px 20px;
        transition: var(--transition);
        box-shadow: 0 10px 30px var(--shadow);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 20px;
    }

    .hero-content {
        text-align: center;
    }

    .title-main {
        font-size: 2.5rem;
    }

    .title-sub {
        font-size: 3.5rem;
    }

    .hero-badge {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-visual {
        height: 400px;
        order: -1;
    }

    .visual-frame {
        width: 350px;
        height: 350px;
    }

    .hero-pen {
        max-width: 300px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .title-main {
        font-size: 2rem;
    }

    .title-sub {
        font-size: 2.8rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-hero {
        width: 100%;
        justify-content: center;
    }

    .hero-visual {
        height: 300px;
    }

    .visual-frame {
        width: 280px;
        height: 280px;
    }

    .hero-pen {
        max-width: 240px;
    }

    .frame-corner {
        width: 40px;
        height: 40px;
    }

    .section-title {
        font-size: 2rem;
    }

    .brands-grid,
    .featured-grid,
    .categories-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}
