@charset "UTF-8";

/*///////////////////// font-face ///////////////////////////*/
/*Noto Sans JP 400（店舗紹介ドロップダウン用）*/
@font-face {
    font-family: "Noto Sans JP";
    src: url(/fonts/NotoSansJP-Regular.woff2) format('woff2');
    font-weight: 400;
    font-display: swap;
}
/*Noto Sans JP 500（TOPでは Medium のみ使用してフォント転送量を抑制）*/
@font-face {
    font-family: "Noto Sans JP";
    src: url(/fonts/NotoSansJP-Medium.woff2) format('woff2');
    font-weight: 500;
    font-display: swap;
}
/*///////////////////// font-face ///////////////////////////*/

#topshop,
#search,
#trending {
    scroll-margin-top: 80px;
}

/*///////////////////// Header ///////////////////////////*/
.org-header {
    position: fixed;
    top: 0;
    z-index: 3;
    background-color: transparent;
}
.org-header.is-stuck {
    position: sticky;
    top: 0;
    left: 0;
}
    .org-header__inner {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        height: 80px;
        padding-right: 20px;
        box-sizing: border-box;
    }
        .org-header__logo {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 257px;
            height: 80px;
            margin: 0;
        }
            .org-header__logo-link {
                display: block;
                line-height: 0;
                text-decoration: none;
            }
            .org-header__logo-link:hover{
                opacity: 1;
            }
                .org-header__logo-link img {
                    display: block;
                    width: 227px;
                    height: auto;
                }
        .org-header__nav {
            display: flex;
            align-items: flex-end;
            height: 60px;
            margin-bottom: 0;
        }
            .org-header__list {
                display: flex;
                align-items: center;
                height: 60px;
                margin: 0;
                list-style: none;
                background-color: #e9e4da;
                box-shadow: 0 0 3px rgba(0, 0, 0, 0.25);
                box-sizing: border-box;
            }
                [class*="org-header__item"] {
                    display: flex;
                    align-items: center;
                    height: 100%;
                    position: relative;
                }
                [class*="org-header__item"]:not(:last-child)::after {
                    content: "";
                    position: absolute;
                    top: 50%;
                    right: -2px;
                    width: 1px;
                    height: 30px;
                    background-color: #d9d0c4;
                    transform: translateY(-50%);
                }
                    [class*="org-header__link"] {
                        display: flex;
                        align-items: center;
                        gap: 8px;
                        height: 100%;
                        padding: 0 20px 0 22px;
                        text-decoration: none;
                        box-sizing: border-box;
                        transition: background-color 0.3s ease;
                    }
                    [class*="org-header__link"]:hover {
                        opacity: 1;
                        background-color: #f2eee6;
                    }
                        .org-header__txt {
                            color: #332d29;
                            font-family: "Noto Sans JP", sans-serif;
                            font-size: 14px;
                            font-weight: 500;
                            line-height: 1;
                            letter-spacing: 0.05em;
                            white-space: nowrap;
                        }
                        .org-header__icon--dropdown {
                            display: block;
                            width: 10px;
                            height: 5px;
                            transition: transform 0.3s ease;
                        }
                .org-header__item--shop {
                    position: relative;
                }
                    .org-header__link--shop {
                        justify-content: center;
                        border: none;
                        background: transparent;
                        cursor: pointer;
                        font: inherit;
                        box-sizing: border-box;
                    }
                    .org-header__link--shop:hover {
                        background-color: #f2eee6;
                    }
                    .org-header__item--shop:hover::after,
                    .org-header__item--shop:focus-within::after {
                        opacity: 0;
                    }
                    .org-header__item--shop:hover .org-header__icon--dropdown,
                    .org-header__item--shop:focus-within .org-header__icon--dropdown {
                        transform: rotate(180deg);
                    }
                    .org-header__shop-menu {
                        visibility: hidden;
                        position: absolute;
                        top: 100%;
                        left: 50%;
                        z-index: 110;
                        width: 120px;
                        opacity: 0;
                        pointer-events: none;
                        transform: translateX(-50%);
                        transition:
                            opacity 0.3s ease,
                            visibility 0s linear 0.3s;
                    }
                    .org-header__item--shop:hover .org-header__shop-menu,
                    .org-header__item--shop:focus-within .org-header__shop-menu {
                        visibility: visible;
                        opacity: 1;
                        pointer-events: auto;
                        transition-delay: 0s;
                    }
                        .org-header__shop-list {
                            display: flex;
                            flex-direction: column;
                            width: 100%;
                            margin: 0;
                            list-style: none;
                            background-color: #f2eee6;
                            box-sizing: border-box;
                        }
                            .org-header__shop-item {
                                text-align: center;
                            }
                            .org-header__shop-item:not(:last-child) {
                                position: relative;
                            }
                            .org-header__shop-item::after {
                                content: "";
                                position: absolute;
                                right: 8px;
                                top: 0;
                                left: 8px;
                                height: 1px;
                                background-color: #e9e4da;
                            }
                                .org-header__shop-link {
                                    position: relative;
                                    display: inline-block;
                                    text-align: center;
                                    text-decoration: none;
                                    width: 100%;
                                    height: 100%;
                                    padding: 12px 8px;
                                }
                                .org-header__shop-link:hover {
                                    opacity: 1;
                                    background: #e9e4da;
                                }
                .org-header__link--fav,
                .org-header__link--history {
                    flex-direction: column;
                    justify-content: center;
                    gap: 3px;
                }
                    .org-header__icon--fav {
                        display: block;
                        width: 22px;
                        height: 20px;
                    }
                    .org-header__icon--history {
                        display: block;
                        width: 20px;
                        height: 20px;
                    }
                    .org-header__txt--fav,
                    .org-header__txt--history {
                        font-family: "Noto Sans JP", sans-serif;
                        font-size: 14px;
                        font-weight: 500;
                        line-height: 1;
                        letter-spacing: 0.05em;
                        white-space: nowrap;
                    }
                    .org-header__txt--fav {
                        color: #c81f1f;
                    }
                    .org-header__txt--history {
                        color: #653a20;
                    }

/* ============================
スクロール連動フェード（参考: a-position.co.jp / WOW + animate.css）
header 経由で全ページ共通読み込み
============================ */
.animate-fade-in,
.animate-zoom-in,
.animate-fly-in-bottom,
.animate-fly-in-left,
.animate-fly-in-right {
    opacity: 0;
    transition:
        transform 1s cubic-bezier(0.215, 0.61, 0.355, 1),
        opacity 1s cubic-bezier(0.215, 0.61, 0.355, 1);
    /* will-change はレイヤー確保で一時的な横スクロールの原因になるため使わない */
}

.animate-fade-in.is-active,
.animate-zoom-in.is-active,
.animate-fly-in-bottom.is-active,
.animate-fly-in-left.is-active,
.animate-fly-in-right.is-active {
    opacity: 1;
    transform: none;
}

.animate-zoom-in {
    transform: scale(0.9);
}

.animate-fly-in-bottom {
    transform: translate3d(0, 80px, 0);
}

.animate-fly-in-left {
    transform: translate3d(-80px, 0, 0);
}

.animate-fly-in-right {
    transform: translate3d(80px, 0, 0);
}

/*
 * カード用：上から降る（a-position マンションブログ li.wow.fadeInDown 相当）
 * animate.css fadeInDown = translate3d(0, -100%, 0) → 1s
 */
.animate-fly-in-top {
    opacity: 0;
    transform: translate3d(0, -100%, 0);
}

.animate-fly-in-top.is-active {
    animation: animate-fade-in-down 1s cubic-bezier(0.215, 0.61, 0.355, 1) both;
}

.animate-fly-in-top.animate-delay-1.is-active { animation-delay: 0.12s; }
.animate-fly-in-top.animate-delay-2.is-active { animation-delay: 0.24s; }
.animate-fly-in-top.animate-delay-3.is-active { animation-delay: 0.36s; }

@keyframes animate-fade-in-down {
    from {
        opacity: 0;
        transform: translate3d(0, -100%, 0);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }

/* セクションタイトル：左→右に流れるマスク表示 */
.text-loader {
    --text-loader-mask: #f2eee6;
    position: relative;
    display: inline-block;
    transform: scaleX(0);
    transform-origin: center left;
    animation: cubic-bezier(0.19, 1, 0.22, 1) 0.3s;
    animation-fill-mode: forwards;
    font-family: "Plus Jakarta Sans", sans-serif;
}

.text-loader::after {
    position: absolute;
    top: -2px;
    right: -2px;
    bottom: -2px;
    left: -2px;
    display: block;
    background: var(--text-loader-mask);
    content: "";
    transform: scaleX(1);
    transform-origin: center right;
    animation: cubic-bezier(0.19, 1, 0.22, 1) 0.3s 0.3s;
    animation-fill-mode: forwards;
}

.section__wrapper--about .text-loader,
.section__wrapper--contact .text-loader {
    --text-loader-mask: #fff;
}

.text-loader img {
    display: block;
    max-width: 100%;
    height: auto;
}

.text-loader.is-active {
    animation-name: text-loader-wrap;
}

.text-loader.is-active::after {
    animation-name: text-loader-mask;
}

@keyframes text-loader-wrap {
    0% { transform: scaleX(0); }
    100% { transform: scaleX(1); }
}

@keyframes text-loader-mask {
    0% { transform: scaleX(1); }
    100% { transform: scaleX(0); }
}

@media (prefers-reduced-motion: reduce) {
    .animate-fade-in,
    .animate-zoom-in,
    .animate-fly-in-bottom,
    .animate-fly-in-top,
    .animate-fly-in-left,
    .animate-fly-in-right {
        opacity: 1;
        transform: none;
        transition: none;
        animation: none;
    }

    .animate-delay-1,
    .animate-delay-2,
    .animate-delay-3 {
        transition-delay: 0s;
        animation-delay: 0s;
    }

    .text-loader {
        transform: none;
        animation: none;
    }

    .text-loader::after {
        display: none;
    }
}
