:root{
    --bg:        #ffffff;
    --bg-soft:   #f3f3f1;
    --bg-soft-2: #ebebe8;
    --ink:       #111111;
    --ink-soft:  #2a2a2a;
    --ink-mute:  #8a8a86;
    --line:      #e3e3e0;
    --line-2:    #d2d2cf;
    --accent:    #c8e500;   /* signature lime */
    --accent-2:  #b8d300;
    --sans:      "Barlow", "Helvetica Neue", Arial, sans-serif;
    --jp:        "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  }

  /* スコープ化(.bookreview-page 内のみ有効化 — 既存サイトのCSSに干渉させない / kakimori 2026-05-28) */
  .bookreview-page *{ box-sizing: border-box; }
  .bookreview-page{
    background: var(--bg);
    font-family: var(--jp);
    color: var(--ink);
    font-weight: 400;
    line-height: 1.9;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }
  .bookreview-page img, .bookreview-page svg{ display: block; }
  .bookreview-page a{ color: inherit; }
  .bookreview-page ::selection{ background: var(--accent); color: var(--ink); }

  /* ================ Top bar ================ */
  .topbar{
    position: sticky; top: 0; z-index: 80;
    background: rgba(255,255,255,0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
  }
  .topbar-inner{
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 40px;
    max-width: 1400px; margin: 0 auto;
  }
  .logo{
    display: flex; align-items: center; gap: 14px;
    text-decoration: none; color: var(--ink);
  }
  .logo .badge{
    width: 38px; height: 38px;
    border: 1.5px solid var(--ink);
    border-radius: 50%;
    display: grid; place-items: center;
  }
  .logo .badge svg{ width: 18px; height: 18px; }
  .logo .name{
    font-family: var(--jp);
    font-weight: 700;
    letter-spacing: 0.22em;
    font-size: 14px;
  }
  .nav-pill{
    display: flex; align-items: center; gap: 8px;
  }
  .pill-btn{
    border: 1px solid var(--ink);
    border-radius: 999px;
    padding: 10px 22px;
    font-family: var(--jp);
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: 0.16em;
    color: var(--ink);
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
  }
  .pill-btn:hover{ background: var(--ink); color: #fff; }
  .menu-btn{
    width: 44px; height: 44px;
    border: 1px solid var(--ink);
    border-radius: 50%;
    display: grid; place-items: center;
    cursor: pointer;
    background: var(--bg);
    transition: background .2s;
  }
  .menu-btn:hover{ background: var(--bg-soft); }
  .menu-btn span, .menu-btn::before, .menu-btn::after{
    content: ""; display: block; width: 16px; height: 1.5px; background: var(--ink);
    margin: 2px auto;
  }

  /* ================ Hero ================ */
  .hero{
    position: relative;
    padding: 0 40px;
    max-width: 1400px; margin: 0 auto;
  }
  .hero-frame{
    position: relative;
    height: 78vh;
    min-height: 560px;
    max-height: 760px;
    margin-top: 28px;
    overflow: hidden;
    background: var(--bg-soft);
  }
  .hero-photo{
    position: absolute; inset: 0;
    background:
      linear-gradient(115deg, rgba(0,0,0,0.06) 0%, rgba(0,0,0,0) 50%),
      repeating-linear-gradient(45deg, #dddcd6 0 14px, #d4d3cd 14px 28px);
  }
  .hero-photo::after{
    content: "PHOTO  /  street still life with books";
    position: absolute; left: 24px; bottom: 18px;
    font-family: var(--sans);
    font-size: 11px; letter-spacing: 0.3em;
    color: rgba(0,0,0,0.4);
    text-transform: uppercase;
  }
  .hero-title{
    position: absolute;
    left: 56px;
    bottom: 56px;
    z-index: 2;
    color: #fff;
    mix-blend-mode: difference;
  }
  .hero-title h1{
    font-family: var(--sans);
    font-weight: 800;
    font-size: clamp(64px, 9vw, 148px);
    line-height: 0.92;
    letter-spacing: -0.01em;
    margin: 0;
    color: #fff;
  }
  .hero-title .ja{
    font-family: var(--jp);
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.4em;
    margin-top: 14px;
    color: #fff;
  }
  .hero-meta{
    position: absolute;
    right: 56px;
    bottom: 56px;
    z-index: 2;
    text-align: right;
    color: #fff;
    mix-blend-mode: difference;
    font-family: var(--sans);
    font-size: 11px;
    letter-spacing: 0.32em;
  }
  .hero-meta .crumb{ margin-bottom: 8px; }
  .hero-meta .crumb b{ font-weight: 600; }

  /* ================ Section frame ================ */
  .section{
    padding: 140px 40px 0;
    max-width: 1400px;
    margin: 0 auto;
  }
  .section.tight{ padding-top: 96px; }
  .section .head{
    display: flex; align-items: baseline;
    gap: 24px;
    margin-bottom: 56px;
  }
  .section .head h2{
    font-family: var(--sans);
    font-weight: 800;
    font-size: clamp(40px, 5vw, 64px);
    letter-spacing: -0.01em;
    line-height: 1;
    margin: 0;
    color: var(--ink);
  }
  .section .head .sub{
    font-family: var(--jp);
    font-size: 13px;
    color: var(--ink-soft);
    letter-spacing: 0.28em;
    font-weight: 500;
  }
  .section .head .rule{
    flex: 1; height: 1px; background: var(--line-2);
    align-self: center;
    margin-left: 12px;
  }
  .section .head .idx{
    font-family: var(--sans);
    font-size: 12px;
    color: var(--ink-mute);
    letter-spacing: 0.3em;
    font-weight: 500;
  }

  /* ================ Message (lead) ================ */
  .message-row{
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 60px;
    padding-top: 24px;
  }
  .vlabel{
    border-left: 1px solid var(--ink);
    border-right: 1px solid var(--ink);
    padding: 12px 0;
    width: 44px;
    margin-top: 4px;
    text-align: center;
    font-family: var(--sans);
    font-weight: 700;
    letter-spacing: 0.36em;
    font-size: 13px;
    color: var(--ink);
  }
  .message-row .lead{
    font-family: var(--jp);
    font-weight: 500;
    color: var(--ink);
    font-size: 17px;
    line-height: 2.4;
    letter-spacing: 0.08em;
    max-width: 720px;
  }
  .message-row .lead .em{
    background: linear-gradient(transparent 65%, var(--accent) 65%);
    padding: 0 2px;
    font-weight: 700;
  }
  .message-row .lead .small{
    display: block;
    margin-top: 28px;
    color: var(--ink-mute);
    font-size: 13px;
    letter-spacing: 0.18em;
  }

  /* ================ Display type block ================ */
  .display-block{
    margin: 120px auto 0;
    text-align: center;
  }
  .display-block .word{
    display: inline-block;
    font-family: var(--sans);
    font-weight: 800;
    font-size: clamp(48px, 7vw, 96px);
    line-height: 1.05;
    letter-spacing: 0.04em;
    color: var(--ink);
  }
  .display-block .word .dot{ color: var(--accent-2); }
  .display-block .sep{
    width: 1px; height: 72px; background: var(--ink);
    margin: 40px auto 0;
  }

  /* ================ Benefits ================ */
  .benefits{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--ink);
  }
  .benefit{
    padding: 48px 32px 48px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--ink);
    position: relative;
    background: var(--bg);
    transition: background .25s ease;
  }
  .benefit:last-child{ border-right: 0; }
  .benefit:hover{ background: var(--bg-soft); }
  .benefit .idx-row{
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 32px;
    font-family: var(--sans);
  }
  .benefit .num{
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.2em;
  }
  .benefit .tag{
    font-size: 11px;
    letter-spacing: 0.3em;
    color: var(--ink-mute);
  }
  .benefit .visual{
    height: 120px;
    background: var(--bg-soft);
    display: grid; place-items: center;
    margin-bottom: 36px;
    position: relative;
    overflow: hidden;
  }
  .benefit .visual svg{ width: 60px; height: 60px; color: var(--ink); position: relative; z-index: 1; }
  .benefit .visual::before{
    content: "";
    position: absolute; inset: 0;
    background:
      repeating-linear-gradient(0deg, transparent 0 23px, rgba(0,0,0,0.04) 23px 24px);
  }
  .benefit h3{
    font-family: var(--jp);
    font-weight: 700;
    font-size: 22px;
    letter-spacing: 0.1em;
    line-height: 1.5;
    margin: 0 0 6px;
  }
  .benefit .en-sub{
    font-family: var(--sans);
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--ink-mute);
    margin-bottom: 22px;
  }
  .benefit p{
    font-family: var(--jp);
    font-size: 14.5px;
    line-height: 2.0;
    color: var(--ink-soft);
    letter-spacing: 0.04em;
    margin: 0;
  }
  .benefit .note{
    display: inline-flex; align-items: center; gap: 8px;
    margin-top: 28px;
    font-family: var(--sans);
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.3em;
    color: var(--ink);
    text-transform: uppercase;
    border-bottom: 1px solid var(--accent);
    padding-bottom: 6px;
  }

  /* ================ Flow ================ */
  .flow-wrap{
    background: var(--bg-soft);
    margin-top: 80px;
    padding: 80px 0 90px;
  }
  .flow-inner{
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
  }
  .flow{
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    position: relative;
  }
  .flow::before{
    content: ""; position: absolute;
    left: 10%; right: 10%;
    top: 36px;
    height: 1px;
    background: var(--line-2);
    z-index: 0;
  }
  .step{
    position: relative; z-index: 1;
    text-align: left;
  }
  .step .dot{
    width: 72px; height: 72px;
    background: var(--bg);
    border: 1.5px solid var(--ink);
    border-radius: 50%;
    display: grid; place-items: center;
    margin-bottom: 28px;
    font-family: var(--sans);
    font-weight: 800;
    font-size: 22px;
    color: var(--ink);
    transition: all .25s ease;
  }
  .step:hover .dot{
    background: var(--accent);
    border-color: var(--accent);
  }
  .step .label{
    font-family: var(--sans);
    font-size: 11px;
    letter-spacing: 0.32em;
    font-weight: 600;
    color: var(--ink-mute);
    margin-bottom: 10px;
  }
  .step h4{
    font-family: var(--jp);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.08em;
    line-height: 1.6;
    margin: 0 0 6px;
  }
  .step .desc{
    font-family: var(--jp);
    font-size: 13px;
    line-height: 1.8;
    color: var(--ink-mute);
    letter-spacing: 0.04em;
  }

  /* ================ Rank ================ */
  .ranks{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .rank{
    border: 1px solid var(--line);
    padding: 40px 32px 36px;
    background: var(--bg);
    transition: all .25s ease;
    position: relative;
  }
  .rank:hover{
    border-color: var(--ink);
    transform: translateY(-3px);
  }
  .rank.gold{
    background: var(--ink);
    color: var(--bg);
    border-color: var(--ink);
  }
  .rank.gold:hover{
    transform: translateY(-3px);
  }
  .rank .head-row{
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 28px;
    font-family: var(--sans);
  }
  .rank .head-row .en{
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.3em;
  }
  .rank .head-row .lv{
    font-size: 11px;
    letter-spacing: 0.3em;
    color: var(--ink-mute);
  }
  .rank.gold .head-row .lv{ color: rgba(255,255,255,0.5); }
  .rank h3{
    font-family: var(--jp);
    font-weight: 700;
    font-size: 28px;
    letter-spacing: 0.12em;
    line-height: 1.2;
    margin: 0 0 4px;
  }
  .rank .h-en{
    font-family: var(--sans);
    font-size: 12px;
    letter-spacing: 0.28em;
    font-weight: 500;
    color: var(--ink-mute);
    margin-bottom: 30px;
  }
  .rank.gold .h-en{ color: rgba(255,255,255,0.55); }
  .rank ul{
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 12px;
  }
  .rank li{
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 16px;
    padding: 12px 0;
    border-top: 1px solid var(--line);
    font-family: var(--jp);
    font-size: 14px;
    line-height: 1.6;
  }
  .rank.gold li{ border-top-color: rgba(255,255,255,0.15); }
  .rank li:last-child{
    border-bottom: 1px solid var(--line);
  }
  .rank.gold li:last-child{ border-bottom-color: rgba(255,255,255,0.15); }
  .rank li .k{
    font-family: var(--sans);
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.28em;
    color: var(--ink-mute);
    padding-top: 4px;
    text-transform: uppercase;
  }
  .rank.gold li .k{ color: rgba(255,255,255,0.55); }
  .rank li .v{
    letter-spacing: 0.04em;
  }
  .rank li .v b{
    font-family: var(--sans);
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 0.02em;
  }
  .rank.gold li .v b{ color: var(--accent); }
  .rank-foot{
    margin-top: 56px;
    text-align: center;
    font-family: var(--jp);
    font-size: 14.5px;
    letter-spacing: 0.12em;
    color: var(--ink-soft);
  }
  .rank-foot strong{
    background: linear-gradient(transparent 65%, var(--accent) 65%);
    font-weight: 700;
    padding: 0 4px;
  }

  /* ================ Notes ================ */
  .notes{
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    padding-top: 8px;
  }
  .notes .nside{
    border-top: 2px solid var(--ink);
    padding-top: 18px;
  }
  .notes .nside h3{
    font-family: var(--sans);
    font-weight: 800;
    font-size: 36px;
    letter-spacing: 0.01em;
    margin: 0 0 4px;
    line-height: 1.1;
  }
  .notes .nside .ja{
    font-family: var(--jp);
    font-size: 12px;
    letter-spacing: 0.32em;
    color: var(--ink-mute);
    font-weight: 500;
    margin-top: 8px;
  }
  .notes ul{
    list-style: none; padding: 0; margin: 0;
  }
  .notes li{
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 16px;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--jp);
    font-size: 15px;
    line-height: 1.95;
    color: var(--ink-soft);
    letter-spacing: 0.04em;
  }
  .notes li:first-child{ border-top: 1px solid var(--line); }
  .notes li .n{
    font-family: var(--sans);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.18em;
    color: var(--ink-mute);
    padding-top: 4px;
  }

  /* ================ News ================ */
  .news-wrap{
    background: var(--bg-soft);
    margin-top: 140px;
    padding: 96px 0 100px;
  }
  .news-inner{
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
  }
  .news-list{
    border-top: 1px solid var(--line-2);
    margin-top: 8px;
  }
  .bookreview-page .news-item{
    display: grid;
    grid-template-columns: 140px 100px 1fr 24px;
    align-items: center;
    gap: 24px;
    padding: 26px 8px;
    border-bottom: 1px solid var(--line-2);
    font-family: var(--jp);
    font-size: 15px;
    color: var(--ink-soft);
    transition: background .2s ease;
    cursor: pointer;
    text-decoration: none;
  }
  .bookreview-page .news-item:hover{ background: rgba(255,255,255,0.6); }
  .bookreview-page .news-item .date{
    font-family: var(--sans);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.22em;
    color: var(--ink-mute);
  }
  .bookreview-page .news-item .cat{
    font-family: var(--sans);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.28em;
    color: var(--ink);
    border: 1px solid var(--ink);
    padding: 6px 10px;
    text-align: center;
    text-transform: uppercase;
  }
  .bookreview-page .news-item .arrow{
    width: 24px; height: 24px;
    border-radius: 50%;
    background: var(--ink);
    display: grid; place-items: center;
    color: #fff;
    font-size: 10px;
  }
  .bookreview-page .news-item .arrow svg{ width: 10px; height: 10px; stroke: #fff; }

  /* ================ Closing ================ */
  .closing{
    padding: 140px 40px 160px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
  }
  .closing-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: end;
  }
  .closing h2{
    font-family: var(--jp);
    font-weight: 700;
    font-size: clamp(28px, 3.6vw, 46px);
    line-height: 1.7;
    letter-spacing: 0.08em;
    margin: 32px 0 24px;
    max-width: 14ch;
  }
  .closing h2 .hi{
    background: linear-gradient(transparent 64%, var(--accent) 64%);
    padding: 0 6px;
  }
  .closing .en-display{
    font-family: var(--sans);
    font-weight: 800;
    font-size: clamp(64px, 11vw, 168px);
    line-height: 0.9;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: var(--ink);
  }
  .closing .en-display .dot{ color: var(--accent-2); }
  .closing .sub{
    font-family: var(--jp);
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 2.0;
    letter-spacing: 0.08em;
  }
  .closing-cta{
    display: flex; flex-direction: column; gap: 16px;
    margin-top: 56px;
  }
  .big-btn{
    display: flex; align-items: center; justify-content: space-between;
    padding: 28px 36px;
    border: 1px solid var(--ink);
    background: var(--bg);
    text-decoration: none;
    color: var(--ink);
    transition: all .25s ease;
    font-family: var(--jp);
  }
  .big-btn:hover{ background: var(--ink); color: #fff; }
  .big-btn.primary{
    background: var(--ink);
    color: #fff;
  }
  .big-btn.primary:hover{ background: var(--accent); color: var(--ink); border-color: var(--accent); }
  .big-btn .lt{
    display: flex; flex-direction: column; gap: 4px;
  }
  .big-btn .lt .en{
    font-family: var(--sans);
    font-weight: 800;
    font-size: 22px;
    letter-spacing: 0.08em;
  }
  .big-btn .lt .ja{
    font-size: 12px;
    letter-spacing: 0.28em;
    opacity: 0.7;
  }
  .big-btn .rt{
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--accent);
    display: grid; place-items: center;
    color: var(--ink);
    transition: transform .25s ease;
  }
  .big-btn.primary .rt{ background: var(--accent); }
  .big-btn:hover .rt{ transform: translateX(6px); }
  .big-btn .rt svg{ width: 16px; height: 16px; }

  /* ================ Footer ================
     bookreview ページ自身は <footer> を含まない(親レイアウト側の既存フッターを使う)。
     ハンドオフ original の prototype 用 footer 装飾は既存サイトの <footer> を汚染するため削除済み。
     kakimori 2026-05-28 */
  .foot-top{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
  }
  .foot-top .info{
    font-family: var(--jp);
    font-size: 13px;
    color: var(--ink-soft);
    line-height: 1.9;
    letter-spacing: 0.06em;
  }
  .foot-top .info .name{
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.22em;
    margin-bottom: 12px;
    color: var(--ink);
  }
  .foot-top .links{
    display: flex; gap: 26px;
    justify-self: end;
    align-self: end;
    flex-wrap: wrap;
  }
  .foot-top .links a{
    font-family: var(--sans);
    font-size: 12px;
    letter-spacing: 0.28em;
    color: var(--ink-soft);
    text-decoration: none;
    text-transform: lowercase;
    border-bottom: 1px solid transparent;
    padding-bottom: 4px;
    transition: border-color .2s;
  }
  .foot-top .links a:hover{ border-color: var(--ink); }
  .foot-bot{
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    font-family: var(--sans);
    font-size: 11px;
    letter-spacing: 0.28em;
    color: var(--ink-mute);
  }
  .foot-bot a{ color: inherit; text-decoration: none; }

  /* ================ Labels — no wrap ================ */
  /* Prevent letter-spaced labels from wrapping */
  .pill-btn,
  .benefit .num, .benefit .tag, .benefit .en-sub, .benefit .note,
  .step .label, .step-no,
  .rank .head-row .en, .rank .head-row .lv, .rank .h-en, .rank li .k,
  .bookreview-page .news-item .date, .bookreview-page .news-item .cat,
  .section .head .idx, .section .head .sub,
  .hero-meta, .hero-meta .crumb,
  .vlabel, .notes .nside .ja,
  .foot-top .links a, .foot-bot,
  .big-btn .lt .en, .big-btn .lt .ja{
    white-space: nowrap;
  }

  /* ================ Responsive ================ */
  @media (max-width: 1024px){
    .topbar-inner{ padding: 16px 24px; }
    .hero{ padding: 0 24px; }
    .section{ padding: 96px 24px 0; }
    .closing{ padding: 100px 24px 120px; }
    .flow-inner, .news-inner{ padding: 0 24px; }
    .benefits{ grid-template-columns: 1fr; }
    .benefit{ border-right: 0; }
    .flow{ grid-template-columns: 1fr 1fr; gap: 36px; }
    .flow::before{ display: none; }
    .ranks{ grid-template-columns: 1fr; }
    .notes{ grid-template-columns: 1fr; gap: 28px; }
    .closing-grid{ grid-template-columns: 1fr; gap: 24px; }
    .bookreview-page .news-item{ grid-template-columns: 110px 90px 1fr 24px; gap: 16px; font-size: 13.5px; }
    .hero-meta{ display: none; }
    .hero-title{ left: 24px; bottom: 32px; }
    footer{ padding: 40px 24px 32px; }
    .foot-top{ grid-template-columns: 1fr; }
    .foot-top .links{ justify-self: start; }
  }
  @media (max-width: 640px){
    .pill-btn{ display: none; }
    .message-row{ grid-template-columns: 1fr; gap: 24px; }
    .vlabel{ writing-mode: horizontal-tb; padding: 6px 12px; width: max-content; }
    .bookreview-page .news-item{ grid-template-columns: 90px 1fr; }
    .bookreview-page .news-item .cat, .bookreview-page .news-item .arrow{ display: none; }
    .foot-bot{ flex-direction: column; align-items: flex-start; gap: 12px; }
  }