@charset "UTF-8";

/* ============================================================
   CSS Custom Properties
   ============================================================ */
:root {
    --color-primary: #000000;
    --color-secondary: #ffffff;
    --color-text: #1a1a1a;
    --color-text-light: #666666;
    --color-text-lighter: #888888;
    --color-border: #dadada;
    --color-border-light: #e8e8e8;
    --color-button-bg: #68696e;
    
    --font-primary: "Montserrat","Kozuka Gothic Pr6N","Kozuka Gothic Pro","KozGoPr6N","Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic Medium","Yu Gothic","Meiryo",sans-serif;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    --container-max: 1440px;
    --container-padding: 20px;
    --section-padding: 32px;
    --section-padding-large: 64px;
    
    --border-radius: 8px;
    --border-radius-small: 4px;
    --border-width: 1px;
    --transition: all 0.3s ease;
    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --box-shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);

    --section-bg: #fff;
    --section-bg-alt: #fff;
    /* 背景色変更 d6d6d6 */
    --hover-opacity: 0.8;
    
    /* 8px Grid System Spacing Scale */
    --space-xs: 0.25rem;   /* 4px */
    --space-sm: 0.5rem;    /* 8px */
    --space-md: 0.75rem;   /* 12px */
    --space-lg: 1rem;      /* 16px */
    --space-xl: 1.25rem;   /* 20px */
    --space-2xl: 1.5rem;   /* 24px */
    --space-3xl: 2rem;     /* 32px */
    --space-4xl: 2.5rem;   /* 40px */
    --space-5xl: 3rem;     /* 48px */
    --space-6xl: 4rem;     /* 64px */
    --space-7xl: 5rem;     /* 80px */
}

/* ============================================================
   Reset & Base Styles
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-normal);
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-secondary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

ul, ol {
    list-style: none;
}

/* ============================================================
   Utility Classes
   ============================================================ */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.sp {
    display: inline;
}

.pc {
    display: none;
}

/* ============================================================
   Header
   ============================================================ */
.header {
    position: static;
}

.header__container {
    display: flex;
    padding: var(--space-lg) var(--container-padding);
}

.header__logo {
    width: 6rem;
}

.header__nav {
    display: none;
}

/* ============================================================
   Main Visual
   ============================================================ */
.mv {
    position: relative;
    width: 100%;
}

.mv__picture {
    display: block;
    width: 100%;
}

.mv__picture img {
    display: block;
    width: 100%;
    height: auto;
}

/* ============================================================
   Lead Section
   ============================================================ */
.lead {
    position: relative;
    padding: var(--section-padding) 0;
}

.lead__container {
    display: flex;
    flex-direction: column;
    gap: var(--space-3xl);
}

.lead__title {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    font-weight: var(--font-weight-bold);
    margin-bottom: 0.5em;
    line-height: 1.3;
}

.lead__subtitle {
    font-size: 0.8rem;
    color: var(--color-text-light);
    line-height: 1.4;
}

.lead__text {
    font-size: 0.9rem;
    line-height: 1.8;
}

/* ============================================================
   Theme Section
   ============================================================ */
.theme {
    position: relative;
    padding: var(--section-padding) 0;
    margin-bottom: var(--section-padding);
    background-color: var(--section-bg-alt);
}

.theme__container {
    display: flex;
    flex-direction: column;
    gap: var(--space-3xl);
}

.theme__header {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.theme__title-area {
    text-align: center;
}

.theme__title {
    font-size: clamp(1.05rem, 3.5vw, 1.75rem);
    font-weight: var(--font-weight-bold);
    margin-bottom: 0.5em;
    line-height: 1.3;
}

.theme__description {
    text-align: left;
}

.theme__text {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--color-text);
}

.theme__material {
    position: relative;
}

.theme__material-content {
    position: relative;
    background-image: url('../img/bg_material.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: var(--space-4xl) var(--space-xl);
    overflow: hidden;
    color: var(--color-secondary);
    text-align: center;
}

.theme__material-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.theme__material-content p {
    position: relative;
    z-index: 2;
    font-size: 0.65rem;
    line-height: 1.7;
    margin-bottom: var(--space-xl);
    text-shadow: 0 var(--space-xs) var(--space-xs) rgba(0, 0, 0, 0.5);
}

.theme__material-content p:last-child {
    margin-bottom: 0;
}

/* ============================================================
   Tab Navigation
   ============================================================ */
.tab-nav {
    position: sticky;
    top: 0;
    z-index: 999;
    background: var(--color-secondary);
    border-bottom: var(--border-width) solid var(--color-border);
    margin-bottom: var(--space-3xl);
}

.tab-nav__fixed {
    position: relative;
    transition: var(--transition);
}

.tab-nav__list {
    display: flex;
    max-width: var(--container-max);
    margin: 0 auto;
}

.tab-nav__item {
    flex: 1;
}

.tab-nav__button {
    display: block;
    width: 100%;
    padding: var(--space-md) var(--space-sm);
    text-align: center;
    font-weight: var(--font-weight-semibold);
    font-size: 0.8rem;
    color: var(--color-text-light);
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.tab-nav__button:hover {
    color: var(--color-primary);
    border-bottom-color: var(--color-text-lighter);
}

.tab-nav__button.active {
    color: var(--color-secondary);
    background-color: var(--color-button-bg);
}

/* ============================================================
   Tab Content
   ============================================================ */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* ============================================================
   Anchor Navigation
   ============================================================ */
.anchor-nav {
    margin-bottom: var(--space-4xl);
}

.anchor-nav__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
}

.anchor-nav__item {
    display: block;
    text-align: center;
    transition: var(--transition);
}

.anchor-nav__item:hover {
    opacity: var(--hover-opacity);
}

.anchor-nav__image {
    width: 100%;
    margin-bottom: var(--space-sm);
}

.anchor-nav__text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.75rem;
    font-weight: var(--font-weight-medium);
    padding: 0 var(--space-sm);
    line-height: 1.3;
}

.anchor-nav__label {
    font-weight: var(--font-weight-semibold);
    font-size: 0.75rem;
}

.anchor-nav__price {
    font-weight: var(--font-weight-medium);
    font-size: 0.68rem;
    color: var(--color-text-lighter);
}

.anchor-nav__item:hover .anchor-nav__label,
.anchor-nav__item:hover .anchor-nav__price,
.anchor-nav__item:focus-visible .anchor-nav__label,
.anchor-nav__item:focus-visible .anchor-nav__price {
    text-decoration: underline;
    text-underline-offset: var(--space-xs);
    text-decoration-thickness: 0.09375rem;
}

/* ============================================================
   Product Block
   ============================================================ */
#items > .container > article.product-block::before {
    content: "";
    position: absolute;
    top: 0; 
    bottom: 0;
    left: 50%; 
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: var(--section-bg);
    z-index: -1;
}

#items > .container > article.product-block:nth-of-type(even)::before {
    background: var(--section-bg-alt);
}

.product-block {
    position: relative;
    z-index: 0;
    padding: var(--space-4xl) 0 var(--space-4xl);
}

.product-block__header {
    margin-bottom: var(--space-4xl);
}

.product-block__title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-xl);
}

.product-block__media {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: var(--space-xl);
}

.product-block__image {
    width: 100%;
}

.product-block__video-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-text);
    aspect-ratio: 4/5;
}

.product-block__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-block__video-text {
    position: absolute;
    top: 50%;
    left: var(--space-xl);
    transform: translateY(-50%);
    color: var(--color-secondary);
    font-size: clamp(1rem, 4vw, 2rem);
    font-weight: var(--font-weight-bold);
    line-height: 1.4;
}

.product-block__description {
    margin-top: var(--space-xl);
}

.product-block__description p {
    font-size: 0.9rem;
    line-height: 1.8;
}

/* ============================================================
   Product Detail
   ============================================================ */
.product-detail {
    display: flex;
    flex-direction: column;
    gap: var(--space-3xl);
    margin-bottom: var(--space-4xl);
}

.product-detail__slider {
    position: relative;
}

.product-detail__slide {
    aspect-ratio: 4/5;
    overflow: hidden;
}

.product-detail__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.product-detail__slide:hover img {
    opacity: var(--hover-opacity);
}

.product-detail__content {
    font-size: 0.9rem;
    line-height: 1.8;
}

/* ============================================================
   Product Color Section
   ============================================================ */
.product-color {
}

.product-color__title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-xl);
}

/* ============================================================
   Product Grid & Cards
   ============================================================ */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
}

.product-card-with-colors {
    position: relative;
}

.product-card {
    display: block;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    opacity: var(--hover-opacity);
}

.product-card__image {
    width: 100%;
    aspect-ratio: 5/6;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.product-card__content {
    padding: var(--space-lg);
}

.product-card__colors {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.product-card__title {
    font-size: 0.75rem;
    font-weight: var(--font-weight-bold);
    text-align: center;
    margin-bottom: var(--space-sm);
    line-height: 1.3;
}

.product-card__price {
    font-size: 0.75rem;
    color: var(--color-text-light);
}

.product-card__category {
    font-size: 0.7rem;
    color: var(--color-text-lighter);
    margin-bottom: var(--space-xs);
}

/* ============================================================
   Gallery
   ============================================================ */
.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
    padding: var(--space-4xl) 0 var(--space-4xl);
}

.gallery__item {
    display: block;
    overflow: hidden;
    transition: var(--transition);
}

.gallery__item:hover {
    opacity: var(--hover-opacity);
}

.gallery__image {
    width: 100%;
    height: auto;
    aspect-ratio: 5 / 6;
    object-fit: cover;
    object-position: top;
}

/* Hidden modal data */
.modal-data {
    display: none !important;
}

/* ============================================================
   Modal
   ============================================================ */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--section-bg-alt);
    z-index: 10000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    overflow-y: auto;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal__content {
    background: var(--color-secondary);
    width: 100%;
    min-height: 100vh;
    position: relative;
}

/* Modal Slider Container */
.modal-slider-container {
    width: 100%;
    height: 100vh;
    position: relative;
}

.modal-swiper {
    width: 100%;
    height: 100%;
}

.modal-slide {
    width: 100%;
    height: 100%;
    overflow-y: visible;
}

.modal__close {
    position: absolute;
    top: var(--space-xl);
    right: var(--space-lg);
    width: var(--space-3xl);
    height: var(--space-3xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    z-index: 10001;
    font-size: 2rem;
}

.modal__body {
    display: flex;
    flex-direction: column;
    gap: var(--space-3xl);
    padding: var(--space-6xl) var(--space-xl) var(--space-4xl);
    background: var(--section-bg-alt);
}

.modal__image-container {
    padding: 0;
}

.modal__image {
    width: 100%;
    height: auto;
    aspect-ratio: 5 / 6;
    object-fit: cover;
    object-position: top;
    display: block;
    margin: 0 auto;
}

.modal__info {
}

/* Modal products - 横2列表示 */
.modal__products {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.modal__products .product-card__title {
    text-align: left;
    font-size: 0.7rem;
}

.modal__products .product-card__content {
    padding: var(--space-sm);
}

/* Modal Navigation Arrows */
.modal-nav-prev,
.modal-nav-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: var(--space-5xl);
    height: var(--space-5xl);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10002;
    cursor: pointer;
    transition: var(--transition);
}

.modal-nav-prev:hover,
.modal-nav-next:hover {
}

.modal-nav-prev {
    left: var(--space-lg);
}

.modal-nav-next {
    right: var(--space-lg);
}

.modal-nav-prev::after,
.modal-nav-next::after {
    font-family: swiper-icons;
    font-size: 1rem;
    color: var(--color-primary);
    font-weight: var(--font-weight-bold);
    text-transform: none !important;
    letter-spacing: 0;
    font-variant: initial;
    line-height: 1;
}

.modal-nav-prev::after {
    content: 'prev';
}

.modal-nav-next::after {
    content: 'next';
}

/* ============================================================
   Switch Button
   ============================================================ */
.switch-button {
    text-align: center;
    margin-top: var(--space-4xl);
}

/* ============================================================
   Button
   ============================================================ */
.btn {
    display: inline-block;
    padding: var(--space-sm) var(--space-xs);
    background: var(--color-button-bg);
    color: var(--color-secondary);
    font-weight: var(--font-weight-bold);
    text-align: center;
    text-decoration: none;
    transition: opacity 0.3s ease;
    border: var(--border-width) solid var(--color-button-bg);
    cursor: pointer;
    font-size: 0.9rem;
    width: 16rem;
}

.btn:hover {
    opacity: var(--hover-opacity);
}

.btn--center {
    display: block;
    margin: 0 auto;
}

/* ============================================================
   Swiper Overrides
   ============================================================ */
.swiper {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: auto;
}

.swiper-wrapper {
    position: relative;
    width: 100%;
    height: auto;
    z-index: 1;
    display: flex;
    transition-property: transform;
    box-sizing: content-box;
}

.swiper-slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    position: relative;
}

.detail-slider {
    width: 100%;
    aspect-ratio: 4/5;
}

.detail-slider .swiper-slide {
    width: 100%;
    height: 100%;
}

.detail-slider .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.detail-slider .swiper-slide .movie-frame {
    position: relative;
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.detail-slider .swiper-slide .movie-frame__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.swiper-button-next,
.swiper-button-prev {
    position: absolute;
    top: 50%;
    width: var(--space-xl);
    height: var(--space-xl);
    margin-top: -1.5rem;
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-family: swiper-icons;
    font-size: 1rem;
    color: var(--color-primary);
    font-weight: var(--font-weight-bold);
    text-transform: none !important;
    letter-spacing: 0;
    font-variant: initial;
    line-height: 1;
}

.swiper-button-next {
    right: var(--space-sm);
}

.swiper-button-prev {
    left: var(--space-sm);
}

.swiper-button-disabled {
    opacity: 0.35;
    cursor: auto;
    pointer-events: none;
}

.swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
    bottom: var(--space-sm);
    left: 0;
    width: 100%;
}

/* 動画上テキスト */
.movie-copy {
    position: absolute;
    left: 50%;
    bottom: 8%;
    transform: translateX(-50%);
    text-align: center;
    color: #fff;
    text-shadow: 0 var(--space-xs) var(--space-sm) rgba(0,0,0,.45);
    pointer-events: none;
}

.movie-copy__title {
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.01em;
    font-size: clamp(1.375rem, 5vw, 2.5rem);
    line-height: 1.1;
    margin: 0 0 0.25em;
}

.movie-copy__subtitle {
    font-weight: var(--font-weight-medium);
    font-size: clamp(0.6875rem, 2.6vw, 0.875rem);
    line-height: 1.3;
    opacity: 0.95;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
    padding: var(--space-6xl) var(--container-padding);
    text-align: center;
    color: var(--color-text-light);
    background: var(--color-secondary);
}

.footer__inner {
    max-width: var(--container-max);
    margin: 0 auto;
}

.footer__buttons {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-bottom: var(--space-4xl);
}

.footer .onward-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
}

.footer .onward-logo img {
    width: clamp(7.5rem, 18vw, 11.25rem);
    height: auto;
    display: block;
}

.footer .copyright {
    font-size: 0.7rem;
    letter-spacing: 0.02em;
}

/* ============================================================
   Page Top Button
   ============================================================ */
.page-top {
    position: fixed;
    bottom: var(--space-sm);
    right: var(--space-sm);
    width: var(--space-5xl);
    height: var(--space-5xl);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(var(--space-lg));
    transition: all 0.3s ease;
}

.page-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.page-top:hover {
    transform: translateY(-2px);
}

.page-top__icon {
    width: var(--space-xl);
    height: var(--space-xl);
    transition: var(--transition);
}

.page-top:hover .page-top__icon {
    transform: translateY(-1px);
    filter: brightness(0.6);
}

/* ============================================================
   Scroll bar
   ============================================================ */
::-webkit-scrollbar {
    width: 3px !important;
    height: 3px !important;
    background: transparent !important;
}

::-webkit-scrollbar-track {
    background: transparent !important;
    border-radius: 0 !important;
    -webkit-border-radius: 0 !important;
    margin: 0 !important;
    border: none !important;
}

::-webkit-scrollbar-thumb {
    background-color: var(--color-button-bg) !important;
    border-radius: 0 !important;
    -webkit-border-radius: 0 !important;
    border: none !important;
    margin: 0 !important;
    opacity: 0.7 !important;
    transition: opacity 0.2s ease !important; 
}

::-webkit-scrollbar-thumb:hover {
    opacity: 1 !important;
    background-color: var(--color-button-bg) !important;
}

::-webkit-scrollbar-button {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
}

::-webkit-scrollbar-corner {
    background: transparent !important;
    border-radius: 0 !important;
    -webkit-border-radius: 0 !important;
}

/* Scroll bar for Modal */
.modal ::-webkit-scrollbar {
    width: 3px !important;
    height: 3px !important;
    background: transparent !important;
}

.modal ::-webkit-scrollbar-thumb {
    background-color: var(--color-button-bg) !important;
    opacity: 0.5 !important;
}

.modal ::-webkit-scrollbar-thumb:hover {
    opacity: 0.8 !important;
}

.modal ::-webkit-scrollbar-button {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.modal ::-webkit-scrollbar-corner {
    background: transparent !important;
    border-radius: 0 !important;
    -webkit-border-radius: 0 !important;
}

*::-webkit-scrollbar {
    width: 3px !important;
    height: 3px !important;
    background: transparent !important;
}

*::-webkit-scrollbar-thumb {
    background-color: var(--color-button-bg) !important;
    border-radius: 0 !important;
    -webkit-border-radius: 0 !important;
    opacity: 0.7 !important;
}

*::-webkit-scrollbar-button {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

*::-webkit-scrollbar-corner {
    background: transparent !important;
    border-radius: 0 !important;
    -webkit-border-radius: 0 !important;
}

/* ============================================================
   Media Queries - Desktop (min-width: 992px)
   ============================================================ */
@media (min-width: 992px) {
    :root {
        --section-padding: 64px;
        --section-padding-large: 80px;
    }

    .pc {
        display: inline;
    }
    
    .sp {
        display: none;
    }

    /* Header */
    .header__container {
        padding: var(--space-xl) var(--space-4xl);
    }

    .header__logo {
        width: 8rem;
    }

    .header__nav {
        display: flex;
        gap: var(--space-3xl);
    }

    .header__nav a {
        font-weight: var(--font-weight-medium);
        font-size: 0.95rem;
        transition: var(--transition);
    }

    .header__nav a:hover {
        color: var(--color-text-light);
    }

    /* Lead */
    .lead {
        padding: var(--section-padding-large) 0;
    }

    .lead__container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--space-5xl);
        align-items: start;
    }

    .lead__title {
        font-size: clamp(2rem, 4vw, 2.8rem);
    }

    .lead__subtitle {
        font-size: 0.95rem;
    }

    .lead__text {
        font-size: 1rem;
        line-height: 2;
    }

    /* Theme */
    .theme {
        padding: var(--section-padding-large) 0;
    }

    .theme__container {
        gap: var(--space-5xl);
    }

    .theme__header {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--space-5xl);
        align-items: center;
    }

    .theme__title-area {
        text-align: left;
    }

    .theme__title {
        font-size: clamp(1.4rem, 2.8vw, 1.96rem);
    }

    .theme__description {
        text-align: left;
    }

    .theme__text {
        font-size: 1rem;
        line-height: 2;
    }

    .theme__material-content {
        padding: var(--space-6xl) var(--space-4xl);
        max-width: 45%;
        margin: 0 auto;
    }

    .theme__material-content p {
        font-size: 0.9rem;
        line-height: 1.8;
        margin-bottom: var(--space-2xl);
    }

    /* Tab Navigation */
    .tab-nav__button {
        font-size: 1rem;
        padding: var(--space-lg) var(--space-xl);
    }

    /* Anchor Navigation */
    .anchor-nav {
        margin-bottom: var(--space-7xl);
    }

    .anchor-nav__grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-sm);
    }

    .anchor-nav__text {
        margin-top: var(--space-sm);
        line-height: 1.25;
    }

    /* Product Block */
    .product-block {
        padding: var(--space-4xl) 0 var(--space-6xl);
    }

    .product-block__header {
        margin-bottom: var(--space-4xl);
    }

    .product-block__media {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
    }

    .product-block__video-container {
        aspect-ratio: auto;
    }

    .product-block__video-text {
        left: var(--space-4xl);
        font-size: clamp(1.5rem, 2.5vw, 2rem);
    }

    .product-block__description {
        max-width: 50%;
        margin: var(--space-3xl) 0 0 auto;
    }

    .product-block__description p {
        font-size: 1rem;
        line-height: 2;
    }

    /* Product Detail */
    .product-detail {
        display: grid;
        grid-template-columns: 2fr 3fr;
        gap: var(--space-6xl);
        align-items: center;
        min-width: 0;
        min-height: 0;
        overflow: hidden;
    }

    .product-detail__slider {
        min-width: 0;
        min-height: 0;
        overflow: hidden;
    }

    .product-detail__slider .swiper {
        width: 100%; 
        height: auto;
    }
    
    .product-detail__slider .swiper-wrapper { 
        height: 100%;
    }
    
    .product-detail__slider .swiper-slide {
        height: 100%;
    }

    .product-detail__content {
        font-size: 1rem;
        line-height: 2;
    }

    /* Product Grid */
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-xl);
    }
    
    .product-card__title {
        font-size: 0.9rem;
    }

    .product-card__price {
        font-size: 0.9rem;
    }

    .product-card__category {
        font-size: 0.8rem;
    }

    /* Gallery */
    .gallery {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-sm);
        padding: var(--space-4xl) 0 var(--space-6xl);
    }

    /* Modal */
    .modal {
        background: rgba(255, 255, 255, 0.95);
        align-items: center;
        padding: var(--space-xl);
        overflow: hidden;
    }

    .modal__content {
        background: var(--color-secondary);
        max-width: 95vw;
        max-height: 95vh;
        min-height: auto;
        overflow-y: auto;
    }

    .modal-swiper {
        width: 100%;
        max-height: 95vh;
    }

    .modal-slider-container {
        width: auto;
        max-width: 1170px;
        height: auto;
        max-height: 95vh;
        overflow-y: auto;
        background: var(--section-bg-alt);
    }

    .modal__close {
        top: var(--space-xs);
        right: var(--space-xs);
        width: var(--space-4xl);
        height: var(--space-4xl);
        font-size: 4rem;
        font-weight: 100;
    }

    .modal__body {
        display: grid;
        grid-template-columns: 6fr 5fr;
        gap: 0;
        min-height: 0;
        padding: var(--space-3xl) var(--space-2xl) var(--space-2xl);
        align-items: start;
    }

    .modal__image-container {
        padding: 0;
        min-height: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .modal__image-link {
        display: block;
        max-width: 100%;
        max-height: 70vh;
    }

    .modal__image {
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: 70vh;
        object-fit: cover;
        aspect-ratio: 5/6;
    }

    .modal__info {
        padding: 0;
        width: 100%;
        margin: 0 auto;
        overflow-y: auto;
    }

    .modal__products {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-xs) var(--space-md);
    }

    .modal__products .product-card__image {
        width: 90%;
    }

    .modal__products .product-card__category {
        font-size: 0.7rem;
        margin-bottom: 0;
    }

    .modal__products .product-card__title {
        font-size: 0.7rem;
    }

    .modal__products .product-card__price {
        font-size: 0.7rem;
    }

    .modal__products .product-card__content {
        padding: var(--space-sm);
    }

    .modal-nav-prev,
    .modal-nav-next {
        width: var(--space-6xl);
        height: var(--space-6xl);
    }

    .modal-nav-prev::after,
    .modal-nav-next::after {
        font-size: var(--space-2xl);
    }

    /* Footer */
    .footer__buttons {
        flex-direction: column;
        align-items: center;
        gap: var(--space-xl);
        margin-bottom: var(--space-5xl);
    }

    .footer .onward-logo img {
        width: clamp(9.375rem, 12vw, 12.5rem);
    }

    /* Swiper */
    .swiper-button-next,
    .swiper-button-prev {
        width: var(--space-xl);
        height: var(--space-xl);
        margin-top: -2rem;
    }

    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: var(--space-xl);
    }

    .swiper-button-next {
        right: var(--space-sm);
    }

    .swiper-button-prev {
        left: var(--space-sm);
    }

    .page-top {
        bottom: var(--space-xl);
        right: var(--space-xl);
    }
}

/* ============================================================
   Media Queries - Mobile only (max-width: 991px)
   ============================================================ */
@media (max-width: 991px) {
    .product-block__media {
        margin-left: calc(-1 * var(--container-padding));
        margin-right: calc(-1 * var(--container-padding));
    }
}

/* ============================================================
   Animation Classes
   ============================================================ */
.fade-in {
    opacity: 0;
    transform: translateY(var(--space-3xl));
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-up {
    opacity: 0;
    transform: translateY(var(--space-xl));
    transition: all 0.6s ease;
}

.slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* fadein */
.fadeIN.wow.animated {
    animation-name: fadeIN;
    animation-duration: 1s;
    animation-timing-function: ease-in-out;
    animation-delay: 0.4s;
    animation-iteration-count: 1;
    animation-direction: normal;
    animation-fill-mode: forwards;
    will-change: transform;
}

.fadeIN {
    opacity: 0;
}

@keyframes fadeIN {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* zoomout */
.fadeZoomOutTFix.wow.animated {
    animation-name: fadeZoomOutTFix;
    animation-duration: 6s;
    animation-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
    animation-delay: 0.2s;
    animation-iteration-count: 1;
    animation-direction: normal;
    animation-fill-mode: forwards;
    will-change: transform;
}

.fadeZoomOutTFix {
    opacity: 0;
    transform-origin: top;
    transform: scale(1.1);
}

@keyframes fadeZoomOutTFix {
    0% {
        opacity: 0;
        transform: scale(1.1);
    }
    20% {
        opacity: 1;
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* fadeRightLeft */
.fadeRightLeft.wow.animated {
    animation-name: fadeRightLeft;
    animation-duration: 1.8s;
    animation-timing-function: ease;
    animation-delay: 0.4s;
    animation-iteration-count: 1;
    animation-direction: normal;
    animation-fill-mode: forwards;
    opacity: 0;
    will-change: opacity;
}

.fadeRightLeft {
    opacity: 0;
}

@keyframes fadeRightLeft {
    0% {
        opacity: 0;
        filter: blur(2px);
        transform: translateX(10%);
    }
    100% {
        opacity: 1;
        filter: blur(0);
        transform: translateX(0);
    }
}

/* fadeLeftRight */
.fadeLeftRight.wow.animated {
    animation-name: fadeLeftRight;
    animation-duration: 1.8s;
    animation-timing-function: ease;
    animation-delay: 0.4s;
    animation-iteration-count: 1;
    animation-direction: normal;
    animation-fill-mode: forwards;
    opacity: 0;
    will-change: opacity;
}

.fadeLeftRight {
    opacity: 0;
}

@keyframes fadeLeftRight {
    0% {
        opacity: 0;
        transform: translateX(-10%);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* clippath */
.clippathLeftRightNBlur.wow.animated {
    animation-name: clippathLeftRightNBlur;
    animation-duration: 1.6s;
    animation-timing-function: linear;
    animation-delay: 0.4s;
    animation-iteration-count: 1;
    animation-direction: normal;
    animation-fill-mode: forwards;
    will-change: transform;
}

.clippathLeftRightNBlur {
    opacity: 0;
}

@keyframes clippathLeftRightNBlur {
    0% {
        opacity: 0;
        -webkit-clip-path: inset(0 100% 0 0);
        clip-path: inset(0 100% 0 0);
    }
    30% {
    }
    100% {
        opacity: 1;
        -webkit-clip-path: inset(0);
        clip-path: inset(0);
    }
}

/* fadeBottomTop */
.fadeBottomTop.wow.animated {
    animation-name: fadeBottomTop;
    animation-duration: 1.8s;
    animation-timing-function: ease;
    animation-delay: 0.4s;
    animation-iteration-count: 1;
    animation-direction: normal;
    animation-fill-mode: forwards;
    opacity: 0;
    will-change: opacity;
}

.fadeBottomTop {
    opacity: 0;
}

@keyframes fadeBottomTop {
    0% {
        opacity: 0;
        filter: blur(2px);
        transform: translateY(10%);
    }
    100% {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0);
    }
}

/* fadeTopBottom */
.fadeTopBottom.wow.animated {
    animation-name: fadeTopBottom;
    animation-duration: 1s;
    animation-timing-function: ease;
    animation-delay: 0.4s;
    animation-iteration-count: 1;
    animation-direction: normal;
    animation-fill-mode: forwards;
    opacity: 0;
    will-change: opacity;
}

.fadeTopBottom {
    opacity: 0;
}

@keyframes fadeTopBottom {
    0% {
        opacity: 0;
        filter: blur(2px);
        transform: translateY(-10%);
    }
    100% {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0);
    }
}

/* ============================================================
   Accessibility
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles */
button:focus-visible,
a:focus-visible {
    outline: var(--space-xs) solid var(--color-primary);
    outline-offset: var(--space-xs);
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --color-border: #000000;
        --color-border-light: #333333;
        --box-shadow: 0 var(--space-xs) var(--space-xl) rgba(0, 0, 0, 0.3);
    }
}