html{
    scrollbar-gutter: stable;
}*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}body{
    font-family: "Paperlogy", sans-serif;
    font-size: 16px;
    overflow-x: hidden;
    letter-spacing: -0.01em;
}a{
    text-decoration: none;
    color: inherit;
}.sidebar{
    position: fixed;
    top: 0;
    height: 100vh;
    width: 10vw;
    z-index: 100;
    display: flex;
    flex-direction: column;
}.vertical-text{
    writing-mode: vertical-lr;
    text-orientation: mixed;
    white-space: nowrap;
    font-weight: 100;
    letter-spacing: -1px;
}.title-text{
    font-size: clamp(3rem, 9vh, 5rem);
}.tablet-combined-text{
    display: none;
}.right-bar{
    right: 0;
    justify-content: flex-start;
    align-items: flex-end;
    padding-right: 1px;
    padding-top: 15px;
    user-select: none;
    -webkit-user-select: none;    
    pointer-events: none;    
}.right-bar .vertical-text{
    pointer-events: auto;
}.menu-toggle-btn, .menu-overlay{
    display: none;
}.sidebar-menu{
    position: fixed;
    top: 0;
    right: 10vw;
    width: 10vw;
    min-width: 140px;
    height: 100vh;
    z-index: 101;    
    background: transparent;    
    padding-top: 25px;
    transition: all 0.1s ease;
}.sidebar-menu ul{
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5em;    
    align-items: flex-end;    
    padding-left: 0;    
    padding-right: 10px;
}.sidebar-menu li a{
    display: inline-block;
    text-align: right;
    font-weight: 700;
    font-size: 1.2rem;
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
}.sidebar-menu li a:hover, .sidebar-menu li a.active{
    border-bottom: 2px solid #000;
}main{
    margin-left: 0;
    margin-right: 20vw;
    padding: 25px 40px 100px 40px;
    min-height: 100vh;
    max-width: 720px;
}.intro-section{
    margin-bottom: 3rem;
}.page-headline{
    font-family: "Paperlogy", sans-serif;
    font-size: clamp(2.3rem, 5.8vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #000;
    margin-bottom: 2rem;
}.intro-body{
    font-family: "Paperlogy", sans-serif;
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.7; 
    letter-spacing: -0.005em;    
    max-width: 720px;
    word-wrap: break-word;
    word-break: keep-all;
}.intro-lead{
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: -0.01em;
    display: block;
    margin-bottom: 1rem;
}.upcoming-list{
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}.upcoming-card{
    border: 2px solid #000;
    border-radius: 0;
    background: transparent;
    transition: all 0.25s ease;
}.upcoming-card:hover{
    background: #000;
    color: #fff;
}.upcoming-card-main{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2.5rem;
    gap: 2rem;
}.upcoming-info{
    flex: 1;
}.upcoming-name{
    font-family: "Paperlogy", sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}.upcoming-desc{
    font-family: "Paperlogy", sans-serif;
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.7;
    opacity: 1;
    color: #000;
    margin-top: 0.5rem;
}.upcoming-link-btn{
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    border: 1.5px solid currentColor;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s ease;
}.upcoming-link-btn:hover{
    background: currentColor;
}.upcoming-card:not(:hover) .upcoming-link-btn:hover{
    color: #fff;
    background: #000;
}.upcoming-card:hover .upcoming-link-btn:hover{
    color: #000;
    background: #fff;
}.upcoming-original{
    text-align: right;
    min-width: 180px;
}.original-label{
    font-family: "Noto Sans JP", "Paperlogy", sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.6;
    display: block;
    margin-bottom: 0.4rem;
}@media (max-width: 768px) {.upcoming-card-main{
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem;
        gap: 1.5rem;
    }.upcoming-original{
        text-align: right;
        min-width: auto;
        padding-top: 1rem;
        border-top: 1px solid currentColor;
        width: 100%;
    }}.info-grid{
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}.info-block{
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #E7E7E7;
}.info-block-title{
    font-size: 1.1rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 1rem;
}.info-list{
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}.info-item{
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}.info-value{
    font-family: "Paperlogy", sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #000;
}.info-value a{
    color: #000;
    text-decoration: underline;
}.info-action-links{
    display: flex;
    gap: 1rem;
}.action-link-btn{
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.1rem 1.6rem;
    background: #000;
    color: #F0EEE9;
    font-family: "Paperlogy", sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.2s ease;
    white-space: nowrap;
    text-align: center;
}.action-link-btn:hover{
    background: #333;
}@media (max-width: 600px) {.info-action-links{
        flex-direction: column;
    }}.books-group{
    margin-bottom: 2rem;
}.books-group-label{
    font-size: 1.2rem;
    font-weight: 700;
    color: #666;
    padding: 0.5rem 0;
    border-bottom: 2px solid #000;
    margin-bottom: 0;
}.books-item{
    border-bottom: 1px solid #000;
}.books-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
    cursor: pointer;
    transition: background 0.2s ease;
}.books-header:hover{
    background: rgba(0, 0, 0, 0.02);
}.books-name{
    font-family: "Paperlogy", sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #000;
}.books-slogan{
    font-family: "Paperlogy", sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    color: #666;
}.books-icon{
    font-size: 1.5rem;
    font-weight: 300;
    color: #000;
    transition: transform 0.3s ease;
}.books-body{
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 0;
}.books-item.active .books-body{
    max-height: 2000px;
    padding: 0 0 1.5rem 0;
}.books-intro{
    font-family: "Noto Serif JP", "Gowun Batang", "Batang", serif;
	font-weight: 700;
    font-size: 1rem;
    line-height: 1.9;
    color: #333;
    margin-bottom: 1.2rem;
}.books-book{
    display: flex;
    align-items: center;
    gap: 1rem;
}.books-links{
    margin-bottom: 1.2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}.books-link{
    font-size: 0.9rem;
    color: #888;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}.books-link:hover{
    text-decoration: underline;
    text-underline-offset: 3px;
}@media (max-width: 1024px) {.title-text{
        display: none;
    }.tablet-combined-text{
        display: block;        
        font-size: 8vw;        
        font-weight: 100;
        line-height: 1;
    }.right-bar{        
        flex-direction: column;        
        justify-content: flex-start;
        align-items: flex-end;        
        width: 15vw;
        padding-right: 1vw;   
        z-index: 100;               
        user-select: none;        
        pointer-events: none;
    }main{
        margin-left: 0;
        margin-right: 15vw;
        padding-top: 25px;
    }.menu-toggle-btn{
        display: flex;
        flex-direction: column;
        gap: 5px;
        position: fixed;
        top: 25px;
        right: 12vw;        
        z-index: 200;
        cursor: pointer;
        padding: 10px;
        
    }.menu-toggle-btn span{
        display: block;
        width: 25px;
        height: 2px;
        background: #000;
    }.menu-toggle-btn.active{
        opacity: 0;
        pointer-events: none;        
    }.menu-overlay{
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;        
        background-color: transparent;     
        z-index: 95;
        opacity: 0;
        visibility: hidden;
    }.menu-overlay.active{
        opacity: 1;
        visibility: visible;
    }.sidebar-menu{
        opacity: 0;
        visibility: hidden;
        transform: translateX(20px);
        top: 0;
        bottom: 0;
        height: 100vh;
        right: 15vw;        
        width: auto;
        min-width: 200px;        
        z-index: 99;
        background: #F0EEE9;
        padding: 25px 40px 40px 40px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.08);
    }.sidebar-menu.active{
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }.sidebar-menu ul{
        align-items: flex-end;
        gap: 0.5em;
    }.sidebar-menu li a{
        font-size: 1.2rem;
    }}@media (max-width: 600px) {.menu-toggle-btn{
        right: 13vw;
    }.sidebar-menu{
        right: 15vw;
        min-width: 150px;
    }.tablet-combined-text{
        font-size: 10vw;
    }}.info-block{
    scroll-margin-top: 100px;
}.site-footer{
    margin-top: 160px;
    padding-top: 20px;
    border-top: 1px solid #000;
    font-size: 0.9rem;
    color: #000;
}.footer-content{
    display: flex;
    flex-direction: column;
    gap: 20px;
}.footer-bottom{
    margin-top: 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    opacity: 0.7;
}.info-block-title{
    margin-top: 1.1rem !important;    
}.info-block{
    border-bottom: 1px solid #E7E7E7 !important;
}.upcoming-card:hover .upcoming-desc{
    color: #fff !important;
    opacity: 1;    
}.upcoming-card:hover .upcoming-link-btn{
    border-color: #fff;
    color: #fff;
}.upcoming-card:hover .upcoming-link-btn:hover{
    background: #fff;
    color: #000;
    border-color: #fff;
}.books-hero{
    width: 80%;
    margin: 0.8rem auto 1.2rem auto;
}.books-hero img{
    width: 100%;
    height: auto;
    display: block;
}.upcoming-cover-placeholder{
    width: 120px;
    aspect-ratio: 3 / 4;
    border: 2px solid #000;
    margin-left: auto;
}:root{
    --ds-bg: #1c1b19;
    --ds-text: #E7E7E7;
    --ds-muted: #D7D7D7;
    --ds-line: #E7E7E7;
    --ds-line-strong: #B3B3B3;
    --ds-hover: #474747;
}body{
    background: var(--ds-bg);
    color: var(--ds-text);
}.sidebar, .right-bar, .sidebar-menu{
    background: var(--ds-bg);
}.sidebar-menu li a:hover, .sidebar-menu li a.active{
    border-bottom: 2px solid var(--ds-text);
}@media (max-width: 1024px) {.menu-toggle-btn span{
        background: var(--ds-text);
    }}.page-headline, .intro-body, .intro-lead, .books-name{
    color: var(--ds-text);
}.books-slogan, .books-link, .books-links, .books-intro, .books-icon, .site-footer{
    color: var(--ds-muted);
}.books-link a, .info-value a{
    color: var(--ds-text);
}.books-item{
    border-bottom: 1px solid var(--ds-line-strong);
}.books-group-label{
    color: var(--ds-muted);
    border-bottom: 2px solid var(--ds-line-strong);
}.books-header:hover{
    background: var(--ds-hover);
}.upcoming-card{
    border: 2px solid var(--ds-line-strong);
}.upcoming-card:hover{
    background: var(--ds-hover);
    color: var(--ds-text);
}.upcoming-desc{
    color: var(--ds-text);
}.upcoming-link-btn{
    border: 1.5px solid var(--ds-line-strong);
}.upcoming-card:hover .upcoming-link-btn:hover{
    color: var(--ds-bg);
    background: var(--ds-text);
}.info-block{
    border-bottom: 1px solid var(--ds-line);
}.info-block-title, .info-value{
    color: var(--ds-text);
}.action-link-btn{
    background: #373737;
    color: var(--ds-text);
}.action-link-btn:hover{
    background: #C7C7C7;
}.upcoming-cover-placeholder{
    border-color: var(--ds-line-strong);
}.site-footer{
    border-top: 1px solid var(--ds-line);
}


/* ===== Desktop (>=1024px): 메뉴를 왼쪽으로, 메뉴 텍스트는 오른쪽 정렬 ===== */
@media (min-width: 1024px) {
  :root{
    --center-max: 900px;
    --menu-w: clamp(140px, 16vw, 180px);
    --menu-gap: 28px;

    --sidebar-w: clamp(70px, 10vw, 80px);
    --avail: calc(100vw - var(--sidebar-w));
    --center: min(var(--center-max), calc(var(--avail) - 32px));
    --gutter: max(16px, calc((var(--avail) - var(--center)) / 2));
  }

  /* 오른쪽 사이드바는 그대로 우측 고정 */
  .sidebar.right-bar{
    right: 0;
    width: var(--sidebar-w);
  }

  /* ✅ 메뉴를 왼쪽으로 이동 */
  .sidebar-menu{
    width: var(--menu-w);

    right: auto !important;              /* 기존 right값 무력화 */
    left: var(--gutter);                 /* '사이드바 제외 영역' 기준 중앙 덩어리의 왼쪽 끝 */

    /* ✅ 메뉴 내부 텍스트 오른쪽 정렬 */
    text-align: right;
  }

  /* 메뉴 항목이 a/li 등으로 되어 있어도 오른쪽 정렬이 확실히 먹게 */
  .sidebar-menu a,
  .sidebar-menu li,
  .sidebar-menu button{
    text-align: right;
  }

  /* ✅ 본문은 메뉴가 왼쪽에 있으니, 왼쪽 여백에 메뉴 폭+간격을 포함 */
  main{
    width: calc(var(--center) - var(--menu-w) - var(--menu-gap));
    max-width: calc(var(--center) - var(--menu-w) - var(--menu-gap));

    margin-left: calc(var(--gutter) + var(--menu-w) + var(--menu-gap));
    margin-right: calc(var(--sidebar-w) + var(--gutter));
  }
}

/* ===== Mobile/Tablet (<=1024px): LEFT hamburger + LEFT slide menu + content shifts right ===== */
@media (max-width: 1024px) {
  :root{
    --m-edge: 4vw; /* 메뉴 패널 기준선(본문/메뉴가 붙는 선) */
    --m-btn: 2vw;  /* 햄버거 버튼 위치 */
  }

  /* 햄버거 버튼: 왼쪽으로 */
  .menu-toggle-btn{
    left: var(--m-btn);
    right: auto !important;
  }

  /* 본문: 왼쪽에도 공간 예약(햄버거/메뉴 영역) */
  main{
    margin-left: var(--m-edge);
    margin-right: var(--m-edge);
  }

  /* 메뉴 오버레이 패널: 왼쪽에서 등장 */
  .sidebar-menu{
    left: var(--m-edge);
    right: auto !important;

    transform: translateX(-60px); /* 오른쪽(+20px) -> 왼쪽(-20px) */
    box-shadow: 5px 0 5px rgba(0, 0, 0, 0.08); /* 그림자 방향 반대로 */
  }

  .sidebar-menu.active{
    transform: translateX(0);
  }
}

/* ===== Phone (<=600px): 기존 right 오버라이드도 왼쪽으로 같이 뒤집기 ===== */
@media (max-width: 600px) {
  .menu-toggle-btn{
    left: 2vw;     /* 기존 right:13vw의 좌우 대칭 */
    right: auto !important;
  }

  .sidebar-menu{
    left: 4vw;     /* 기존 right:15vw의 좌우 대칭 */
    right: auto !important;
  }
}