/* ============================================================
   HEADER: 基本構造 (SP & PC)
   ============================================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    z-index: 1000;
    background-color: #fff;
	font-family: "ABChanel Corpo Regular","Noto Sans JP", "Noto Sans CJK JP", YakuHanJP, "Yu Gothic", YuGothic, "Hiragino Sans", sans-serif;
}

header.header .floating {
    position: relative;
    width: 126px;
    z-index: 5;
}

.header-nav-left.pc-only {
    display: none;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 5;
}

.sub-menu-icon svg {
    width: 18px;
    height: auto;
}

.bar {
    width: 14px;
    height: 1px;
    background-color: #000;
    margin: 6px 0;
}

@media (min-width: 813px) {
    .header {
        padding: 0 45px;
        height: 80px;
    }

    .header-nav-left.pc-only {
        display: flex;
        flex: 1;
        gap: 25px;
    }

    .header-nav-left.pc-only a {
        text-decoration: none;
        color: #000;
        font-size: 11px;
    }

    header.header .floating {
        position: absolute;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%);
        width: 136px;
    }

    .header-right {
        flex: 1;
        justify-content: flex-end;
        gap: 25px;
    }

    .bar {
        width: 16px;
    }
}

/* ============================================================
   DRAWER: メニュー内デザイン
   ============================================================ */
.header_menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 1001;
    padding: 80px 30px 40px;
    transition: all 0.4s ease;
    opacity: 0;
    overflow-y: auto;
}

.menu-open {
    right: 0;
    opacity: 1;
}

.menu-main-list,
.menu-sub-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-main-list li {
    margin-bottom: 18px;
}

.menu-main-list li a {
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    color: #000;
    text-transform: uppercase;
}

.menu-sub-list {
    margin: 40px 0;
}

.menu-sub-list li {
    margin-bottom: 10px;
}

.menu-sub-list li a {
    text-decoration: none;
    font-size: 13px;
    color: #666;
}

.menu-bottom-image img {
    width: 100%;
    height: auto;
}

.close-button {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 30px;
    cursor: pointer;
}

@media (min-width: 813px) {
    .header_menu {
        width: 350px;
        padding: 100px 60px;
    }
}

/* ============================================================
   SEARCH: 検索ロジック (スクロール干渉対策・完全非表示版)
   ============================================================ */
#search-toggle {
    display: none;
}

.overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2000;
}

#search-toggle:checked ~ .overlay {
    display: block;
}

/* 検索フォーム本体 */
.search-form {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 40px 20px;
    background: #fff;
    z-index: 2001;
    box-sizing: border-box;
    
    /* スクロール時の強制表示を防ぐ鉄壁の指定 */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    
    /* topではなく、要素自身の高さ分だけ上にスライドさせて隠す */
    transform: translateY(-100%);
    transition: transform 0.4s ease, opacity 0.4s ease, visibility 0.4s;
}

/* チェックが入った時（表示時） */
#search-toggle:checked ~ .search-form {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0); /* 元の位置（top: 0）に降りてくる */
}

/* 閉じるボタン（×） */
.close-label {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 24px;
    cursor: pointer;
    font-weight: 300;
}

/* 入力エリアのデザイン */
.search-form input[type="text"] {
    width: 100%;
    border: none;
    border-bottom: 1px solid #000;
    padding: 10px 0;
    font-size: 16px;
    outline: none;
    border-radius: 0;
}

/* クイックリンク（ALL、ドレスなどのリスト） */
.search-quick-links {
    list-style: none;
    padding: 25px 0 0 50px;
    margin: 0;
}

.search-quick-links li {
    margin-bottom: 8px;
}

.search-quick-links li a {
    text-decoration: none;
    color: #000;
    font-size: 14px;
    letter-spacing: 0.05em;
    transition: opacity 0.3s;
}

.search-quick-links li a:hover {
    opacity: 0.6;
}

@media (min-width: 813px) {
    .search-form {
        padding: 60px 45px;
    }
    
    .search-quick-links {
        padding-left: 100px;
    }
}

/* ============================================================
   FOOTER: レイアウト & 巨大ロゴ
   ============================================================ */
#footer {
    z-index: 3;
    padding-top: 90px;
    border-top: 1px solid #eee;
}

#footer a {
    text-decoration: none;
    color: #858585;
    font-size: 12px;
}

.footer_flex {
    padding: 0 20px;
}

.border-line {
    border-bottom: 1px solid #ddd;
    margin-bottom: 5px;
}

/* フッターアコーディオン (+/-) */
.ttl-accordion {
    position: relative;
    cursor: pointer;
    padding: 15px 0;
}

.ttl-accordion::before,
.ttl-accordion::after {
    position: absolute;
    top: 50%;
    right: 0;
    content: '';
    width: 10px;
    height: 1px;
    background-color: #000;
}

.ttl-accordion::after {
    transform: rotate(90deg);
    transition: 0.3s;
}

.ttl-accordion.is-active::after {
    transform: rotate(0deg);
}

.box-accordion {
    display: none;
    padding: 10px 0 20px;
    line-height: 1.8;
}

.copyright {
    padding: 40px 20px 0;
    color: #999;
    font-size: 10px;
    line-height: 1.6;
}

/* 巨大ロゴ: スマホ版 */
.footer-giant-logo {
    width: 100%;
    padding: 40px 20px 0px;
    box-sizing: border-box;
}

.footer-giant-logo img {
    width: 100%;
    height: auto;
    display: block;
}

/* PC表示のレイアウト設定 */
@media (min-width: 813px) {
    .footer_flex {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        gap: 100px;      /* 項目間の空き */
        padding: 0 45px;
        align-items: flex-start;
    }

    .footer-column {
        flex: 0 1 auto;  /* 必要な幅だけ占有 */
    }

    /* アコーディオンの中身をPCでは強制表示 */
    .box-accordion {
        display: block !important;
    }

    /* PC用タイトルの表示 */
    .pc_only {
        margin-bottom: 15px;
    }

    /* 5. フッター最下部のブランドロゴ */
    .footer-giant-logo {
        width: 1000px;
        margin: auto;
        padding: 0px 0 60px;
    }

    .footer-giant-logo img {
        width: 100% !important; /* 横幅バナー合わせ */
        max-width: none !important;
    }
}