/* reset css */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 400;
    color: #333;
    background-color: #FCF7EC;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

.pc{
    display: none;
}

.sp{
    display: block;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
}

.main-visual {
    background: linear-gradient(135deg, #FFB800 0%, #FF8C00 100%);
    position: relative;
    overflow: hidden;
    padding: 48px 0 16px;
    text-align: center;
}

.gear-animation {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
}
  
.gear-row {
    position: absolute;
    display: flex;
    width: max-content;
    animation: marquee var(--duration, 40s) linear infinite;
    will-change: transform;
    white-space: nowrap;
}
  
.gear-row:nth-child(1) { top: 0;   animation-direction: normal;  }
.gear-row:nth-child(2) { top: 25%; animation-direction: reverse; }
.gear-row:nth-child(3) { top: 45%; animation-direction: normal;  }
.gear-row:nth-child(4) { top: 65%; animation-direction: reverse; }
.gear-row:nth-child(5) { top: 85%; animation-direction: normal;  }
  
@media (min-width: 768px) {
    .gear-row:nth-child(2) { top: 20%; }
    .gear-row:nth-child(3) { top: 40%; }
    .gear-row:nth-child(4) { top: 60%; }
    .gear-row:nth-child(5) { top: 80%; }
}
  
.gear-item {
    width: 80px;
    height: 80px;
    margin: 0 16px;
    flex-shrink: 0;
}
  
@keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
}

.mv-content {
    position: relative;
    z-index: 2;
}

.mv-image {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.mv-description {
    position: absolute;
    bottom: 48px;
    padding: 0 44px;
    margin: 0 auto;
    max-width: 600px;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.8;
}

.awards-section {
    padding: 48px 0;
    text-align: center;
}

.awards-title-container {
    margin-bottom: 12px;
}

.awards-title {
    margin-bottom: 8px;
    position: relative;
    display: inline-block;
}

.awards-subtitle {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    margin-bottom: 32px;
}

.awards-nav {
    display: grid;
    gap: 12px;
    margin: 0 auto;
    padding: 0 16px;
}

.award-nav-item {
    background-color: #fff;
    border-radius: 4px 4px 0 0;
    padding: 4px 16px 4px 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
}

.award-nav-item:hover {
    transform: translateY(-4px);
    opacity: 1;
}

.award-nav-item.tent {
    border-bottom: 4px solid #59CA88;
    color: #59CA88;
}

.award-nav-item.fire {
    border-bottom: 4px solid #FF6161;
    color: #FF6161;
}

.award-nav-item.chair {
    border-bottom: 4px solid #F8C048;
    color: #F8C048;
}

.award-nav-item.cooler {
    border-bottom: 4px solid #4B76E3;
    color: #4B76E3;
}

.award-nav-item.table {
    border-bottom: 4px solid #ED6E45;
    color: #ED6E45;
}

.award-nav-item.sleeping {
    border-bottom: 4px solid #D16191;
    color: #D16191;
}

.award-nav-item.popular {
    border-bottom: 4px solid;
    border-image: linear-gradient(135deg, #FBA964 0%, #CF80C0 50%, #56BAC9 100%) 1;
    color: #CF80C0;
}

.award-nav-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.award-nav-text {
    flex: 1;
    text-align: center;
}

.award-nav-category {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 2px;
}

.award-nav-english {
    font-size: 12px;
    font-weight: 500;
}

.award-nav-arrow {
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    margin-top: 24px;
}

.award-nav-item.tent .award-nav-arrow {
    background-color: #59CA88;
    color: #fff;
}

.award-nav-item.fire .award-nav-arrow {
    background-color: #FF6161;
    color: #fff;
}

.award-nav-item.chair .award-nav-arrow {
    background-color: #F8C048;
    color: #fff;
}

.award-nav-item.cooler .award-nav-arrow {
    background-color: #4B76E3;
    color: #fff;
}

.award-nav-item.table .award-nav-arrow {
    background-color: #ED6E45;
    color: #fff;
}

.award-nav-item.sleeping .award-nav-arrow {
    background-color: #D16191;
    color: #fff;
}

.award-nav-item.popular .award-nav-arrow {
    background: linear-gradient(135deg, #FBA964 0%, #CF80C0 50%, #56BAC9 100%);
    color: #fff;
}

.ranking-section {
    padding-bottom: 48px;
    position: relative;
}

.ranking-title {
    text-align: center;
    margin-bottom: 32px;
    position: relative;
}

.ranking-title-container {
    display: inline-block;
    position: relative;
}

.ranking-title h2 {
    margin-bottom: 10px;
}

.ranking-carousel {
    position: relative;
    margin-bottom: 30px;
}

.section-tent .ranking-item {
    border: 3px solid #59CA88;
}

.section-tent .recommend-count {
    background: #59CA88;
}

.section-tent .user-review{
    background: rgba(89, 202, 136, 0.15);
}

.section-tent .btn-amazon {
    background-color: #59CA88;
}

.section-tent .btn-rakuten {
    background-color: #59CA88;
}

.section-tent .btn-yahoo {
    background-color: #59CA88;
}

.section-tent .btn-more {
    color: #075628;
    border: 3px solid #59CA88;
}

.section-fire .ranking-item {
    border: 3px solid #FF6161;
}

.section-fire .recommend-count {
    background: #FF6161;
}

.section-fire .user-review{
    background: rgba(255, 97, 97, 0.15);
}

.section-fire .btn-amazon {
    background-color: #FF6161;
}

.section-fire .btn-rakuten {
    background-color: #FF6161;
}

.section-fire .btn-yahoo {
    background-color: #FF6161;
}

.section-fire .btn-more {
    color: #FF2C2C;
    border: 3px solid #FF6161;
}

.section-chair .ranking-item {
    border: 3px solid #F8C048;
}

.section-chair .recommend-count {
    background: #F8C048;
}

.section-chair .user-review{
    background: rgba(248, 192, 72, 0.20);
}

.section-chair .btn-amazon {
    background-color: #F8C048;
}

.section-chair .btn-rakuten {
    background-color: #F8C048;
}

.section-chair .btn-yahoo {
    background-color: #F8C048;
}

.section-chair .btn-more {
    color: #FFAE00;
    border: 3px solid #F8C048;
}

.section-cooler .ranking-item {
    border: 3px solid #4B76E3;
}

.section-cooler .recommend-count {
    background: #4B76E3;
}

.section-cooler .user-review{
    background: rgba(75, 118, 227, 0.10);
}

.section-cooler .btn-amazon {
    background-color: #4B76E3;
}

.section-cooler .btn-rakuten {
    background-color: #4B76E3;
}

.section-cooler .btn-yahoo {
    background-color: #4B76E3;
}

.section-cooler .btn-more {
    color: #0034B7;
    border: 3px solid #4B76E3;
}

.section-table .ranking-item {
    border: 3px solid #ED6E45;
}

.section-table .recommend-count {
    background: #ED6E45;
}

.section-table .user-review{
    background: rgba(237, 110, 69, 0.15);
}

.section-table .btn-amazon {
    background-color: #ED6E45;
}

.section-table .btn-rakuten {
    background-color: #ED6E45;
}

.section-table .btn-yahoo {
    background-color: #ED6E45;
}

.section-table .btn-more {
    color: #ED6E45;
    border: 3px solid #ED6E45;
}

.section-sleeping .ranking-item {
    border: 3px solid #D16191;
}

.section-sleeping .recommend-count {
    background: #D16191;
}

.section-sleeping .user-review{
    background: rgba(209, 97, 145, 0.15);
}

.section-sleeping .btn-amazon {
    background-color: #D16191;
}

.section-sleeping .btn-rakuten {
    background-color: #D16191;
}

.section-sleeping .btn-yahoo {
    background-color: #D16191;
}

.section-sleeping .btn-more {
    color: #D16191;
    border: 3px solid #D16191;
}

.ranking-swiper .swiper-slide {
    height: auto;
    display: flex;
}

.ranking-item {
    background-color: #fff;
    color: #333;
    border-radius: 8px;
    padding: 16px;
    text-align: left;
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.ranking-item .item-brand {
    align-self: flex-start;
    width: auto;
    display: inline-block;
}

.ranking-item .shop-buttons {
    margin-top: auto;
}

.ranking-badge {
    position: absolute;
    top: -12px;
    left: -12px;
    width: 48px;
    height: 48px;
}

.item-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-bottom: 2px dotted #ddd;
    margin: 8px 0 12px 0;
    padding-bottom: 8px;
}

.recommend-count {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    padding: 0px 2px 4px 8px;
    position: absolute;
    top: 0;
    right: 0;
    border-radius: 0 0 0 6px;
}

.recommend-count span {
    font-size: 18px;
    font-weight: 800;
}

.item-brand {
    font-size: 12px;
    font-weight: 700;
    display: inline;
    background: #F5F5F5;
    border: 1px solid #DFDFDF;
    padding: 3px;
    margin-right: 4px;
    border-radius: 4px;
}

.item-name {
    font-size: 14px;
    font-weight: 700;
    display: inline;
}

.item-description {
    font-size: 13px;
    margin: 8px 0 8px;
    line-height: 1.5;
}

.user-review {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: left;
}

.user-info {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.user-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 8px;
}

.user-details {
    font-size: 13px;
}

.user-comment {
    font-size: 13px;
    font-weight: 500;
    padding: 0 4px 0 4px;
    line-height: 1.5;
}

.shop-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 2px dotted #ddd;
    padding: 16px 0 0;
}

.shop-button {
    padding: 8px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    display: block;
}

.btn-amazon {
    color: #fff;
}

.btn-rakuten {
    color: #fff;
}

.btn-yahoo {
    color: #fff;
}

.shop-button:hover {
    transform: translateY(-2px);
    opacity: 1;
}

.more-button {
    text-align: center;
    margin-top: 32px;
}

.btn-more {
    background-color: #fff;
    padding: 12px 56px;
    border-radius: 32px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-more:hover {
    transform: translateY(-2px);
    opacity: 1;
}

.swiper-button-next,
.swiper-button-prev {
    width: 44px !important;
    height: 44px !important;
    background-color: rgba(255,255,255,0.9) !important;
    border-radius: 50% !important;
    color: #333 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 16px !important;
    font-weight: bold !important;
}

.swiper-slide {
    padding-top: 9px !important;
}

.popular-items-section {
    padding-bottom: 32px;
}

.popular-items-subtitle img{
    height: 32px;
    margin-bottom: 32px;
}

.items-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 8px;
    padding: 0 8px;
}

.item-card {
    border-radius: 4px;
    padding: 3px;
    background: 
        linear-gradient(135deg, #FBA964 0%, #CF80C0 50%, #56BAC9 100%) no-repeat,
        #fff;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    position: relative;
}

.item-card:hover {
    transform: translateY(-4px);
}

.item-card img {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 2px;
}

.item-overlay {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, #FBA964 0%, #CF80C0 50%, #56BAC9 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.show-more-btn {
    text-align: center;
}

.show-more-btn span {
    display: block;
}

.show-more-btn img {
    vertical-align: middle;
}

.btn-show-more {
    text-align: center;
    font-family: 'Zen Maru Gothic';
    padding: 8px 0 0 0;
    background: #FCF7EC;
    margin: 0 auto;
    color: #C17DD0;
    font-size: 15px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-show-more:hover {
    transform: translateY(-2px);
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000;
    padding: 40px;
    overflow-y: auto;
}

.modal-content {
    background-color: #fff;
    border-radius: 8px;
    padding: 16px;
    max-width: 768px;
    margin: 0 auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: -28px;
    right: -28px;
    background: none;
    border: none;
    cursor: pointer;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background-color: #f0f0f0;
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0);
    border: none;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-prev {
    left: -32px;
}

.modal-next {
    right: -32px;
}

.modal-nav:hover {
    opacity: 0.8;
}

.modal-item-image {
    width: 100%;
    height: 100%;
    border-bottom: 2px dotted #ddd;
    margin: 8px 0 12px 0;
    padding-bottom: 8px;
}

.modal-item-title {
    font-size: 14px;
    font-weight: 700;
    display: inline;
}

.modal-item-description {
    font-size: 13px;
    margin: 8px 0 8px;
    line-height: 1.5;
}

.modal-user-review {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: left;
    background: rgba(209, 97, 145, 0.15);
}

.modal-user-info {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.modal-user-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 8px;
    background: #FCF7EC;
}

.modal-user-details {
    font-size: 13px;
}

.modal-user-comment {
    font-size: 13px;
    font-weight: 500;
    padding: 0 4px 0 4px;
    line-height: 1.5;
}

.modal-shop-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 2px dotted #ddd;
    padding: 16px 0 0;
}

.modal-shop-buttons .shop-button {
    padding: 8px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    display: block;
    background: linear-gradient(135deg, #FBA964 0%, #CF80C0 50%, #56BAC9 100%);
    color: #fff;
    flex-grow: 1;
}

.additional-items {
    display: none;
}

.additional-items.show {
    display: grid;
}

.footer {
    text-align: center;
    padding-bottom: 16px;
}

.footer .copyright{
    font-size: 14px;
}

.nap-logo img{
    height: 32px;
}
.sns-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}
  
.sns-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #fff;
    transition: transform 0.3s;
}
  
.sns-link:hover {
    transform: translateY(-3px);
}
  
/* PC */
@media (min-width: 768px) {
    .pc{
        display: block;
    }

    .sp{
        display: none;
    }

    .container {
        padding: 0 32px;
    }

    .main-visual {
        padding: 40px 0;
    }

    .mv-description {
        font-size: 16px;
        max-width: 500px;
        bottom: 48px;
        left: 48px;
        top: 326px;
        padding: 0;
    }

    .awards-section {
        padding: 80px 0;
    }

    .awards-title img {
        height: 48px;
    }

    .award-badge img {
        height: 40px;
    }

    .awards-subtitle {
        font-size: 18px;
    }

    .awards-nav {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .award-nav-item {
        padding: 8px 8px;
    }

    .award-nav-icon {
        width: 72px;
        height: 72px;
    }

    .award-nav-category {
        font-size: 16px;
    }

    .award-nav-english {
        font-size: 14px;
    }

    .ranking-section {
        padding-bottom: 124px;
    }

    .ranking-carousel {
        overflow: hidden;
        padding: 0 16px;
    }

    .ranking-title h2 img {
        height: 48px;
    }

    .ranking-badge-section img {
        height: 40px;
    }

    .ranking-badge {
        top: -12px;
        left: -12px;
        width: 56px;
        height: 56px;
    }

    .ranking-item {
        padding: 20px;
    }

    .ranking-swiper {
        overflow: visible !important;
      }

    .swiper-slide {
        padding-top: 13px !important;
    }

    .swiper-button-next {
        right: -16px !important;
        z-index: 20 !important;
    }
    .swiper-button-prev {
        left: -16px !important;
        z-index: 20 !important;
    }

    .swiper-button-next,
    .swiper-button-prev {
    width: 40px !important;
    height: 40px !important;
}

    .item-name {
        font-size: 15px;
    }

    .item-description {
        font-size: 13px;
        margin: 12px 0 12px;
        line-height: 1.6;
    }

    .shop-buttons {
        gap: 8px;
    }

    .items-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 8px;
        padding: 0;
    }

    .popular-items-title {
        font-size: 36px;
    }

    .popular-items-section {
        padding-bottom: 124px;
    }

    .popular-items-section h2 img {
        height: 34px;
    }

    .popular-items-subtitle img {
        height: 40px;
    }

    .more-button {
        margin-top: 40px;
    }

    .modal-content {
        position: absolute;
        top: 50%; left: 50%;
        transform: translate(-50%, -50%);
        margin: 0;
        width: min(748px, calc(100vw - 80px));
        overflow: visible;
        z-index: 2;
        max-width: 748px;
        padding: 24px;
        display: grid;
        grid-template-columns: 300px 1fr;
        grid-template-rows: auto auto auto 1fr auto;
        gap: 8px 24px;
        grid-template-areas: 
            "image brand"
            "image title"
            "image description"
            "image user-review"
            "buttons buttons";
    }

    .modal-item-image {
        grid-area: image;
        width: 300px;
        height: 300px;
        object-fit: cover;
        border-bottom: none;
        margin: 0;
        padding: 0;
    }

    .item-brand {
        grid-area: brand;
        font-size: 12px;
        margin: 0;
        align-self: end;
        width: fit-content;
    }

    .modal-item-title {
        grid-area: title;
        font-size: 18px;
        font-weight: 700;
        line-height: 1.4;
        margin: 0;
        align-self: start;
    }

    .modal-item-description {
        grid-area: description;
        font-size: 13px;
        line-height: 1.6;
        margin: 0;
        align-self: start;
    }

    .modal-user-review {
        grid-area: user-review;
        padding: 16px;
        border-radius: 8px;
        margin: 0;
        background: rgba(209, 97, 145, 0.10);
        align-self: start;
    }

    .modal-user-info {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 10px;
    }

    .modal-user-icon {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        margin-right: 0;
    }

    .modal-user-details {
        font-size: 14px;
    }

    .modal-user-comment {
        font-size: 14px;
        line-height: 1.4;
        margin: 0;
        padding: 0;
    }

    .modal-shop-buttons {
        grid-area: buttons;
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 8px;
        padding: 24px 0 0;
        border-top: 2px dotted #ddd;
        margin: 8px 0 0 0;
    }

    .modal-shop-buttons .shop-button {
        flex: 1;
        min-width: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .modal-close {
        position: absolute;
        top: -32px;
        right: -32px;
        z-index: 10;
    }

    .modal-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
    }

    .modal-prev {
        left: -40px;
    }

    .modal-next {
        right: -40px;
    }

    .gear-item {
        width: 104px;
        height: 104px;
        margin: 0 16px;
    }

    .sns-links {
        gap: 24px;
        margin: 48px 0 64px;
    }
}