/*rest*/

/* =============================
   Footer 固定レイアウト（ページ全体に影響しない版）
   ============================= */

/* 以前の “html, body, main を flex化” は削除！ */

footer.yuwane-minimal-group {
    margin-top: auto;
}



/* フッター全体：低めの高さ＆透明 */
.yuwane-minimal-group {
    padding: 2.8rem 0 2.4rem;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}

/* 左寄せ back row */
.back-row {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 1.2rem;
    padding: 0 2rem;
    text-align: left;
}

.back-link {
    font-family: "Inter", sans-serif;
    font-size: 0.85rem;
    text-decoration: none;
    color: #111;
    opacity: 0.6;
    letter-spacing: 0.02em;
    transition: opacity .25s ease, transform .25s ease;
}

.back-link:hover {
    opacity: 1;
    transform: translateX(-2px);
}

.group-title-small {
    font-family: "Shippori Mincho", serif;
    font-size: 0.85rem;
    opacity: 0.5;
    margin-bottom: 1.1rem;
    letter-spacing: 0.05em;
}

.group-row {
    display: flex;
    justify-content: center;
    gap: 2.8rem;
    margin-bottom: 1.4rem;
}

.group-link {
    font-family: "Inter", sans-serif;
    font-size: 0.9rem;
    color: #111;
    text-decoration: none;
    opacity: 0.7;
    position: relative;
    transition: opacity .25s ease;
}

.group-link:hover {
    opacity: 1;
}

.group-link:hover::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(0, 0, 0, 0.4);
}

.group-copy {
    font-family: "Inter", sans-serif;
    font-size: 0.75rem;
    opacity: 0.5;
}

@media (max-width: 800px) {
    .group-row {
        flex-direction: column;
        gap: 1rem;
    }

    .back-row {
        text-align: center;
        padding-left: 0;
        padding-right: 0;
    }
}

a {
    text-decoration: none;
}

/* TOPへ戻る */
/* ============================
   ▼ 短冊のTOPボタン（安全版）
   ============================ */
.tanzaku-top {
    position: fixed;
    bottom: 2.4rem;
    right: 1.8rem;

    width: 36px;
    /* ほっそり */
    height: 120px;
    /* 縦長の短冊 */

    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 4px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-family: "Shippori Mincho", serif;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    color: #111;

    cursor: pointer;
    opacity: 0;
    pointer-events: none;

    z-index: 120;
    /* コンテンツに勝つがナビより下 */
    transform: translateY(12px);

    transition: opacity .45s ease, transform .45s ease;
}

/* 和紙っぽい繊維 */
.tanzaku-top::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.4) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.3) 1px, transparent 1px);
    background-size: 3px 3px;
    opacity: 0.25;
    pointer-events: none;
}

/* 出現 */
.tanzaku-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* ホバー：矢印だけ静かに上へ */
.tanzaku-top:hover {
    background: rgba(255, 255, 255, 0.9);
}

.tanzaku-top:hover {
    color: #000;
}