* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
    background: #fff;
    color: #333;
    line-height: 1.6;
}

header {
    text-align: center;
    padding: 30px 15px 10px 15px;
}

.logo-container {
    display: inline-block;
    text-decoration: none;
    margin-bottom: 20px;
}

.logo-image {
    display: block;
    height: 60px;
    width: auto;
    margin: 0 auto;
}

.search-form {
    margin: 0 auto 20px auto;
    padding: 0 25px;
    width: 100%;
    max-width: 340px;
}

.search-container {
    display: flex;
    gap: 8px;
    align-items: center;
}

.search-input-wrapper {
    position: relative;
    flex: 1;
}

.search-input {
    width: 100%;
    padding: 7px 35px 7px 15px;
    border: 1px solid #eee;
    background: #fdfdfd;
    border-radius: 6px;
    outline: none;
    font-size: 14px;
}

.clear-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 18px;
    color: #ccc;
    cursor: pointer;
}

.search-submit-btn {
    background: #d1d1d1;
    color: #222;
    border: none;
    padding: 7px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
    white-space: nowrap;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 15px;
    max-width: 500px;
    margin: 0 auto;
}

@media screen and (min-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1000px;
        gap: 30px;
    }
}

.product-card {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.2s ease;
}

.image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #fff;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
    border-radius: 4px;
}

.product-card:hover .image-container img {
    transform: scale(1.1);
}

.product-card:hover {
    transform: translateY(-5px);
}

.new-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #fff;
    border: 1px solid #000;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    z-index: 2;
}

.product-info {
    padding: 12px 0;
}

.name {
    font-size: 14px;
    font-weight: 500;
    margin: 0;
    line-height: 1.4;
}

.price {
    font-weight: bold;
    font-size: 15px;
    margin-top: 5px;
}

.detail-container {
    width: calc(100% - 20px);
    max-width: 1000px;
    margin: 0 auto;
    padding-bottom: 50px;
}

.main-img-area {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    overflow: hidden;
}

.main-img-area img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.2s ease-in-out;
    opacity: 1;
}

.main-img-area img.fade-out {
    opacity: 0;
}

.thumb-scroll {
    display: flex;
    overflow-x: auto;
    padding: 15px 10px;
    gap: 8px;
    max-width: 500px;
    margin: 0 auto;
    -webkit-overflow-scrolling: touch;
}

.thumb-scroll img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    flex-shrink: 0;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
    border-radius: 4px;
}

.thumb-scroll img:hover {
    transform: scale(1.1);

    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

    position: relative;
    z-index: 1;
}

.detail-txt-area {
    padding: 20px;
    max-width: 500px;
    margin: 0 auto;
}

.detail-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.detail-price {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 20px;
}

.spec-table {
    width: 100%;
    margin-top: 20px;
    border-top: 1px solid #f0f0f0;
    padding-top: 10px;
}

.spec-item {
    font-size: 14px;
    color: #555;
    margin-bottom: 5px;
}

.contact-btn {
    display: block;
    width: 100%;
    background: #222;
    color: #fff;
    text-align: center;
    padding: 18px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 6px;
    margin-top: 30px;
    transition: all 0.3s ease;
    border: 1px solid #222;
}

.contact-btn:hover {
    opacity: 0.8;
}

#splash {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1s ease;
}

.splash-logo {
    width: 60%;
    height: auto;
    animation: slowZoom 2s infinite ease-in-out;
}

#container {
    opacity: 0;
    transition: opacity 1s ease;
}

#splash.hide {
    opacity: 0;
}

#container.show {
    opacity: 1;
}

@keyframes slowZoom {
    0% {
        transform: scale(0.9);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0;
    }
}


.site-header {
    margin-top: 50px;
    margin-bottom: 50px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.site-header::before {
    content: '';
    display: block;
    width: 50%;
    height: 1px;
    background-color: #f0f0f0;
    margin-bottom: 12px;
}

.header-inner {
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
}

.nav-grid {
    display: grid;
    grid-template-columns: auto auto;
    gap: 4px 60px;
    list-style: none;
    padding: 0;
    margin: 0;
    line-height: 1.2;
}

.nav-grid li {
    text-align: left;
}

.nav-grid a {
    text-decoration: none;
    color: #333;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.08em;
    transition: opacity 0.3s ease;
    white-space: nowrap;
    display: inline-block;
    padding: 2px 0;
}

.nav-grid a.active {
    font-weight: 700;
}

.nav-grid a:hover {
    opacity: 0.4;
}

@media (max-width: 480px) {
    .site-header::before {
        width: calc(100% - 40px);
    }

    .nav-grid {
        gap: 4px 30px;
    }
}



.site-footer {
    text-align: center;
    padding: 10px 0;
    font-size: 10px;
    color: #ccc;
    letter-spacing: 0.1em;
}


.detail-sold-text {
    color: #ff4d4d;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    padding: 20px;
    border: 1px solid #ff4d4d;
    margin-top: 30px;
    letter-spacing: 0.2em;
    border-radius: 6px;
}

.contact-area {
    width: 100%;
    margin-top: 30px;
}

.about-container {
    max-width: 500px;
    margin: 40px auto 80px auto;
    padding: 0 20px;
}

.about-title {
    font-size: 16px;
    letter-spacing: 0.2em;
    text-align: center;
    margin: 30px 0;
    text-transform: uppercase;
    font-weight: 400;
}

.info-list {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 20px 10px;
    font-size: 13px;
    line-height: 1.8;
    border-top: 1px solid #f0f0f0;
    padding-top: 30px;
}

.info-list dt {
    color: #999;
    font-size: 11px;
}

.info-list dd {
    margin: 0;
    color: #333;
}

.about-text {
    margin-top: 50px;
    font-size: 13px;
    line-height: 2;
    color: #555;
    text-align: justify;
}

@media (max-width: 480px) {
    .info-list {
        grid-template-columns: 1fr;
        gap: 5px 0;
    }

    .info-list dt {
        margin-top: 15px;
    }
}


.main-fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 1000;
    border-bottom: 1px solid #f0f0f0;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.header-inner-fixed {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.fixed-logo img {
    height: 35px;
    width: auto;
    display: block;
    transition: height 0.3s ease;
}

@media screen and (min-width: 769px) {
    .fixed-logo img {
        height: 60px;
        margin-bottom: 20px;
    }
}

.fixed-nav ul {
    display: flex;
    gap: 40px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.fixed-nav a {
    text-decoration: none;
    color: #333;
    font-size: 13px;
    letter-spacing: 0.1em;
    transition: opacity 0.3s;
}

.fixed-nav a.active {
    font-weight: bold;
    border-bottom: 1px solid #000;
}

.fixed-nav a:hover {
    opacity: 0.5;
}

.mobile-menu-btn {
    display: none;
    position: absolute;
    right: 20px;
    top: 5px;
    background: none;
    border: none;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 1px;
    background: #333;
    margin-bottom: 8px;
    transition: transform 0.4s, opacity 0.4s;
}

@media screen and (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .fixed-nav {
        width: 100%;
        background: #fff;
        border-top: 1px solid #f9f9f9;
        margin-top: 10px;
        overflow: hidden;
        max-height: 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.4s ease-in-out;
    }

    .fixed-nav.open {
        max-height: 350px;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        padding: 20px 0 10px 0;
    }

    .fixed-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(10px);
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

.navmb {
    margin-top: 250px;
}

@media screen and (max-width: 768px) {
    .navmb {
        margin-top: 120px;
    }
}

.ab {
    margin-top: 166px;
}

@media screen and (max-width: 768px) {
    .ab {
        margin-top: 108px;
    }
}


.category-tabs-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 60px;
    z-index: 10;
    margin-bottom: 20px;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 15px 0 0 0;
}

.tab-item {
    text-decoration: none;
    color: #999;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.1em;
    padding-bottom: 5px;
    position: relative;
    transition: color 0.3s;
}

.tab-item:hover {
    color: #333;
}

.tab-item.active {
    color: #000;
}

.tab-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #000;
}


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-up {
    animation: fadeInUp 0.8s ease-in-out;
}


@keyframes SuperfadeInDown {
    from {
        opacity: 0;
        transform: translateY(-100px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.super_animate-down2 {
    animation: SuperfadeInDown 0.8s ease-in-out;
}