@charset "UTF-8";

/* --- Base --- */
:root {
    --color-text: #000000;
    --color-bg: #ffffff;
    --font-base: 'Helvetica Neue', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-base);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    letter-spacing: 0.05em;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ==================================================
   TOP BANNER (ヒーローバナー)
================================================== */
.hero {
    width: 100%;
    height: 100vh;
    margin-bottom: 10vw;
}
.hero .hero-img {
    width: 100%;
    height: 100%;
    background-color: #f0f0f0; 
}
.hero .hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    vertical-align: bottom;
}

/* ==================================================
   画像ラッパー＆プレースホルダー設定
================================================== */
.img-box {
    width: 100%;
    background-color: #f0f0f0; 
    overflow: hidden;
}
.img-box.portrait { aspect-ratio: 3 / 4; }
.img-box.landscape { aspect-ratio: 3 / 2; }

.img-box img {
    width: 100%; 
    height: 100%;
    object-fit: cover;
    vertical-align: bottom;
}

.hero-img img[src=""], .hero-img img:not([src]),
.img-box img[src=""], .img-box img:not([src]) {
    opacity: 0;
}


/* --- LOOKBOOK 全体 --- */
.lookbook {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5% 10vw;
}

.look-block {
    margin-bottom: 25vw;
}


.look-block:last-child {
    margin-bottom: 0;
}

.look-num {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: #999;
}


/* ==================================================
   ★ スマホ(SP)用 ランダム・アレンジレイアウト ★
   (余白をしっかり保った安全なジグザグ配置)
================================================== */
.visual-area {
    display: flex;
    flex-direction: column;
    gap: 1.5rem; /* 画像間の余白 */
}

/* --- LOOK 01 (王道: 1枚大 ＋ 2枚横並び) --- */
.layout-1-2 .img-bottom {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

/* --- LOOK 02 (ジグザグA) --- */
/* 左大を全幅に、右小2枚を左右にジグザグ配置 */
.layout-left-main .visual-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.layout-left-main .visual-right .img-box:first-child {
    width: 75%; 
    margin-right: auto; /* 左寄せ */
}
.layout-left-main .visual-right .img-box:last-child {
    width: 75%; 
    margin-left: auto; /* 右寄せ */
}

/* --- LOOK 03 (上1枚大 ＋ 下2枚横並び) --- */
.layout-grid-4 .visual-area {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.layout-grid-4 .visual-area .img-box:first-child {
    grid-column: span 2; 
}

/* --- LOOK 04 (ジグザグB) --- */
.layout-triple .img-box:nth-child(1) { width: 75%; margin-left: auto; } /* 右寄せ */
.layout-triple .img-box:nth-child(2) { width: 75%; margin-right: auto; } /* 左寄せ */
.layout-triple .img-box:nth-child(3) { width: 100%; } /* 最後はドカンと全幅 */

/* --- LOOK 05 (LOOK 02の反転ジグザグ) --- */
.layout-left-main.reverse .visual-left {
    order: 2; /* スマホでは最後に持ってくる */
}
.layout-left-main.reverse .visual-right {
    order: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.layout-left-main.reverse .visual-right .img-box:first-child { width: 75%; margin-left: auto; } /* 右寄せ */
.layout-left-main.reverse .visual-right .img-box:last-child { width: 75%; margin-right: auto; } /* 左寄せ */

/* --- LOOK 06 (階段状) --- */
.layout-step-3 .step-1 { width: 65%; margin-right: auto; } /* 左 */
.layout-step-3 .step-2 { width: 65%; margin: 0 auto; } /* 中央 */
.layout-step-3 .step-3 { width: 65%; margin-left: auto; } /* 右 */

/* --- LOOK 07 (修正版: フルワイド画像の下にマージンを追加) --- */
.layout-full-plus-3 .visual-full {
    margin-bottom: 1.5rem; /* ★ご指示の赤線部分の余白です */
}
.layout-full-plus-3 .visual-area {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
.layout-full-plus-3 .visual-area .img-box:nth-child(3) {
    grid-column: span 2;
    width: 65%; 
    margin: 0 auto;
}


/* --- クレジット部分の配置 --- */
.info-area {
    margin-top: 3rem;
    text-align: center;
}


/* ==================================================
   PC向けの多彩なレイアウト (768px以上)
================================================== */
@media (min-width: 768px) {
    
    /* --- LOOK 01 --- */
    .layout-1-2 .img-top { margin-bottom: 3%; }
    .layout-1-2 .img-bottom {
        display: flex;
        gap: 3%;
    }
    .layout-1-2 .img-bottom .img-box { width: 48.5%; }

    /* --- LOOK 02 & 05 --- */
    .layout-left-main .visual-area {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
    .layout-left-main .visual-left { width: 60%; order: unset; }
    .layout-left-main .visual-right {
        width: 35%;
        order: unset;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 0;
    }
    .layout-left-main .visual-right .img-box {
        width: 100%;
        height: calc(50% - 1.5%);
        margin: 0; 
    }
    .layout-left-main.reverse .visual-area { flex-direction: row-reverse; }

    /* --- LOOK 03 --- */
    .layout-grid-4 .visual-area {
        gap: 4vw 3vw; 
    }
    /* ↓PC版でも、1枚目を全幅に広げます */
    .layout-grid-4 .visual-area .img-box:first-child {
        grid-column: span 2; 
    }

    /* --- LOOK 04 --- */
    .layout-triple .visual-area {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 3%;
    }
    .layout-triple .img-box:nth-child(1),
    .layout-triple .img-box:nth-child(2),
    .layout-triple .img-box:nth-child(3) {
        width: 100%; 
        margin: 0;
    }

    /* --- LOOK 06 --- */
    .layout-step-3 .visual-area { display: block; }
    .layout-step-3 .img-box { width: 45%; margin-bottom: 5vw; }
    .layout-step-3 .step-1 { margin-left: 0; margin-right: 0; }
    .layout-step-3 .step-2 { margin-left: 27.5%; margin-right: 0;} 
    .layout-step-3 .step-3 { margin-left: 55%; margin-right: 0; margin-bottom: 0; } 

    /* --- LOOK 07 --- */
    .layout-full-plus-3 .visual-full {
        width: 100vw;
        margin-left: calc(50% - 50vw); 
        margin-bottom: 5vw; /* PC用の上書き */
    }
    .layout-full-plus-3 .visual-area {
        grid-template-columns: repeat(3, 1fr);
        gap: 3%;
    }
    .layout-full-plus-3 .visual-area .img-box:nth-child(3) {
        grid-column: span 1; 
        width: 100%;
        margin: 0;
    }
}


/* ==================================================
   ITEM CREDIT (文字・ボーダーなし、特大の＋ボタン)
================================================== */
.credit-accordion { margin-top: 1rem; }

.toggle-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 2rem;
    background: transparent;
    border: none;
    color: var(--color-text);
    cursor: pointer;
    outline: none;
}

.toggle-icon {
    font-size: 3rem;  
    font-weight: 100;
    line-height: 1;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.toggle-btn:hover .toggle-icon { opacity: 0.5; }

.credit-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.credit-content-inner { overflow: hidden; }

.item-list {
    list-style: none;
    padding-top: 2rem;
    padding-bottom: 2rem;
    text-align: left; 
    max-width: 400px; 
    margin: 0 auto;
}
.item-list li {
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
    border-bottom: 1px solid #f0f0f0;
}
.item-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    transition: opacity 0.3s;
}
.item-list a:hover { opacity: 0.5; }

.credit-accordion.is-open .credit-content { grid-template-rows: 1fr; }
.credit-accordion.is-open .toggle-icon { transform: rotate(45deg); }

/* ==================================================
   ★ フェードイン・アニメーション設定 ★
================================================== */
/* 共通のベース設定（透明にしておく） */
.fade-in-base {
    opacity: 0;
    transition: opacity 1.3s cubic-bezier(0.25, 1, 0.5, 1), 
                transform 1.3s cubic-bezier(0.25, 1, 0.5, 1);
}

/* パターン1：デフォルト（下からふわっと） */
.fade-in-up {
    transform: translateY(40px);
}

/* パターン2：左からスライドイン */
.fade-in-left {
    transform: translateX(-40px);
}

/* パターン3：右からスライドイン */
.fade-in-right {
    transform: translateX(40px);
}

/* 画面に入った時にJSで付与されるクラス（元の位置に戻り、不透明になる） */
.fade-in-base.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* ==================================================
   FOOTER (フッター)
================================================== */
.site-footer {
    padding: 5vw 5%;
    text-align: center;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

/* ロゴのサイズ調整 */
.footer-logo {
    display: inline-block;
    margin-bottom: 2.5rem; /* ロゴとコピーライトの隙間 */
    width: 300px;
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 0.6; /* ホバーで少し薄くなるアクション */
}

.footer-logo img {
    width: 100%;
    height: auto;
    display: block;
}

/* ※ロゴ画像が空(src="")の時の仮スタイル（グレーの箱にLOGOという文字を出します） */
.footer-logo img[src=""], 
.footer-logo img:not([src]) {
    opacity: 1; /* フェードインハックを打ち消し */
    background-color: #f0f0f0;
    min-height: 40px;
}

/* コピーライトの文字デザイン */
.copyright {
    font-size: 0.7rem; /* あえてかなり小さく */
    letter-spacing: 0.15em; /* 文字間を広げてハイエンドに */
    color: #999999; /* 主張しない薄いグレー */
    text-transform: uppercase; /* 大文字に強制変換 */
}