/* --- Variables & Reset --- */
:root {
    --color-bg: #0a0a0a;
    --color-text: #e0e0e0;
    --color-gray: #666666;
    --color-accent: #ffffff;
    
    --font-en: "Cormorant Garamond", serif;
    --font-base: "Jost", "Zen Old Mincho", serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    overflow-x: hidden;
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-base);
    font-weight: 300;
    letter-spacing: 0.05em;
    cursor: none; /* デフォルトカーソルを消す（カスタムカーソル用） */
}

a {
    text-decoration: none;
    color: inherit;
    cursor: none; /* リンク上もカスタムカーソル */
}

ul {
    list-style: none;
}

img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- Utilities --- */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}

.container.fluid {
    max-width: 100%;
    padding: 0 5vw;
}

.img-placeholder {
    background-color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #444;
    font-family: var(--font-en);
    border: 1px solid #333;
    transition: filter 0.5s;
}

.img-placeholder:hover {
    filter: brightness(1.2);
}

.aspect-portrait { aspect-ratio: 3 / 4; }
.aspect-landscape { aspect-ratio: 16 / 9; }

/* Custom Cursor (PC Only) */
.cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border: 1px solid rgba(255,255,255,0.8);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background-color 0.3s;
    mix-blend-mode: difference; /* 背景と色を反転させる */
}

/* リンクホバー時にカーソルを大きく */
body.hovering .cursor {
    width: 50px;
    height: 50px;
    background-color: rgba(255,255,255,0.2);
    border-color: transparent;
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    mix-blend-mode: difference; /* 背景が白でも黒でも見えるように */
}

.header__logo {
    font-family: var(--font-en);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.header__menu-btn {
    background: none;
    border: none;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: none;
}

.menu-text {
    font-family: var(--font-en);
    font-size: 1rem;
}

.menu-line {
    width: 40px;
    height: 1px;
    background-color: #fff;
    transition: width 0.3s;
}

.header__menu-btn:hover .menu-line {
    width: 60px;
}

/* --- Full Screen Nav --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #0a0a0a;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.nav.active {
    opacity: 1;
    pointer-events: auto;
}

.nav__list {
    text-align: center;
    position: relative;
    z-index: 2;
}

.nav__list li {
    margin: 20px 0;
    overflow: hidden; /* アニメーション用 */
}

.nav__list a {
    display: block;
    font-family: var(--font-en);
    font-size: 3rem;
    color: var(--color-text);
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.nav.active .nav__list a {
    transform: translateY(0);
}

.nav__bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-10deg);
    font-family: var(--font-en);
    font-size: 15vw;
    color: rgba(255,255,255,0.03);
    white-space: nowrap;
    pointer-events: none;
}

/* --- Hero Area --- */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero__img-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero__img {
    width: 100%;
    height: 100%;
    /* 実際はここにメインビジュアルを指定 */
    background-image: url(images/sample-accessory2-hero.png);
    background-size: cover;
    background-position: center;
    filter: brightness(0.6) contrast(1.2);
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff; /* 真っ白を指定 */
    text-shadow: 0 0 20px rgba(0,0,0,0.5); /* 文字が読みやすいように影を追加 */
}

.hero__title {
    font-family: var(--font-en);
    font-size: 6vw;
    line-height: 1.1;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero__sub {
    font-size: 1rem;
    letter-spacing: 0.2em;
    margin-top: 20px;
    opacity: 0.8;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-en);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    z-index: 2;
}

.scroll-indicator::after {
    content: '';
    display: block;
    width: 1px;
    height: 60px;
    background: #fff;
    margin: 10px auto 0;
    animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* --- Section Settings --- */
.section {
    padding: 150px 0;
    position: relative;
}

.section-title {
    font-family: var(--font-en);
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 20px;
    line-height: 1;
}

.subtitle {
    display: block;
    font-size: 0.8rem;
    color: var(--color-gray);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.text-body {
    font-size: 1rem;
    line-height: 2.2;
    color: #ccc;
}

/* --- Concept (Asymmetry Layout) --- */
.concept__layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10%;
}

.concept__img-box {
    width: 45%;
    position: relative;
}

/* 画像を少しずらす演出 */
.concept__img-box::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(255,255,255,0.2);
    z-index: -1;
}

.concept__text-box {
    width: 40%;
    padding-top: 100px; /* テキストの位置を下にずらす */
}

/* --- Collection (Zigzag Grid) --- */
.collection__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 80px;
}

.collection__item {
    display: block;
    position: relative;
}

/* 個別配置調整 */
.collection__item:nth-child(2) {
    transform: translateY(80px); /* 2つ目を下にずらす */
}

.collection__img {
    aspect-ratio: 3 / 4;
    margin-bottom: 20px;
}

.collection__info {
    padding: 0 10px;
}

.collection__info .num {
    display: block;
    font-family: var(--font-en);
    font-size: 2rem;
    color: var(--color-gray);
    margin-bottom: 10px;
}

.collection__info h3 {
    font-family: var(--font-en);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 5px;
}

.collection__info p {
    font-size: 0.8rem;
    color: var(--color-gray);
}

.collection__btn-area {
    text-align: center;
    margin-top: 150px;
}

/* --- Button Style --- */
.btn-mode {
    display: inline-block;
    padding: 15px 60px;
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    font-family: var(--font-en);
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    transition: all 0.3s;
    background: transparent;
}

.btn-mode:hover {
    background: #fff;
    color: #000;
}

/* --- Visual Break (Parallax) --- */
.visual-break {
    height: 60vh;
    width: 100%;
    background-image: url(images/sample-accessory2-bg-image.png);
    background-size: cover;
    background-attachment: fixed; /* パララックス効果 */
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.visual-break::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);
}

.visual-text {
    position: relative;
    z-index: 2;
    font-family: var(--font-en);
    font-size: 4vw;
    font-style: italic;
    color: #fff;
}

/* --- About --- */
.about__layout {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 80px;
    position: relative;
    overflow: hidden; /* これで重なりを防ぎます */
    padding: 20px 0; /* 画像が切れないように少し余白を確保 */
}

.about__img {
    width: 50%;
}

.about__text {
    width: 40%;
}

/* --- Shop --- */
.shop {
    text-align: center;
    padding-bottom: 200px;
}

.shop__title {
    font-family: var(--font-en);
    font-size: 4rem;
    margin-bottom: 30px;
}

.shop__desc {
    margin-bottom: 50px;
}

.shop__links {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 40px;
    font-family: var(--font-en);
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* --- Footer --- */
.footer {
    padding: 40px;
    border-top: 1px solid #222;
    text-align: center;
    font-size: 0.7rem;
    color: #555;
    font-family: var(--font-en);
}

/* --- Animation Classes --- */
.fade-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
}

.fade-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive (Mobile) --- */
@media (max-width: 768px) {
    /* カーソル無効化 */
    .cursor { display: none; }
    html, body, a, button { cursor: auto; }

    .header { padding: 20px; }
    .hero__title { font-size: 3.5rem; }
    
    .section { padding: 100px 0; }
    
    .concept__layout,
    .about__layout {
        flex-direction: column;
        gap: 50px;
    }
    
    .concept__img-box, .concept__text-box,
    .about__img, .about__text {
        width: 100%;
        padding: 0;
    }
    
    .collection__grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .collection__item:nth-child(2) {
        transform: none; /* スマホではずらしを解除 */
    }
    
    .visual-break {
        background-attachment: scroll; /* スマホは固定背景を解除 */
    }
    .visual-text { font-size: 2rem; }
}