@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@300;400&display=swap");

.rb-journey {
  --rbc-pages-css-loaded: 1;
}

.rb-journey{--paper:#f4f1e9;--ink:#171816;--muted:#6d6b63;--green:#263d34;--gold:#9b8150;--line:rgba(23,24,22,.18);width:100vw;margin-left:calc(50% - 50vw);background:var(--paper);color:var(--ink);font-family:"Yu Mincho","Hiragino Mincho ProN",serif;overflow:hidden}
.rb-journey *{box-sizing:border-box}.rb-journey img{display:block;width:100%;height:100%;object-fit:cover}.rb-journey a{text-decoration:none}.rbj-inner{margin:auto}.rbj-hero{position:relative;display:grid;align-items:end;background:#111;color:#fff}.rbj-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.68),rgba(0,0,0,.06) 72%)}.rbj-hero img{position:absolute;inset:0}.rbj-hero-copy{position:relative;z-index:1;padding:120px 0 74px;max-width:740px}.rbj-hero p{font-size:clamp(16px,2vw,20px);line-height:2;letter-spacing:.05em}.rbj-nav{position:sticky;top:0;z-index:5;background:rgba(244,241,233,.95);border-bottom:1px solid var(--line);backdrop-filter:blur(8px)}.rbj-nav .rbj-inner{display:flex;gap:26px;overflow:auto;padding:17px 0}.rbj-nav a{font:600 11px/1 Arial,sans-serif;letter-spacing:.14em;color:var(--ink);white-space:nowrap}.rbj-pairs{display:grid;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.rbj-pair:first-child{background:var(--green);color:#fff}.rbj-chapter-head{margin-bottom:55px}.rbj-duo{margin-top:28px}.rbj-timeline{display:grid;grid-template-columns:repeat(3,1fr);margin-top:55px;border-top:1px solid var(--line)}.rbj-era{padding:35px 28px;border-right:1px solid var(--line)}.rbj-era:last-child{border-right:0}.rbj-era strong{color:var(--gold)}.rbj-closing{position:relative;display:grid;place-items:center;text-align:center;color:#fff;background:#111}.rbj-closing:after{content:"";position:absolute;inset:0}.rbj-closing img{position:absolute;inset:0}.rbj-closing-inner{position:relative;z-index:1}.rbj-actions{display:flex;justify-content:center;gap:14px;flex-wrap:wrap;margin-top:36px}.rbj-btn{background:#fff;color:#171816!important;font:600 13px Arial,sans-serif}.rbj-btn.alt{background:transparent;color:#fff!important;border:1px solid #fff}.rbj-next-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line)}.rbj-next a{background:var(--paper);color:var(--ink)!important;padding:34px}.rbj-next strong{display:block;font-size:20px;font-weight:400;margin-top:12px}
@media(max-width:760px){.rbj-hero-copy{padding:100px 0 50px}.rbj-duo,.rbj-timeline,.rbj-next-grid{grid-template-columns:1fr}.rbj-era{border-right:0;border-bottom:1px solid var(--line)}}


:where(body.ribaco-nc-journey) main>h1.wow,
:where(body.ribaco-nc-journey) main>.bread_wrap{display:none!important}
:where(body.ribaco-nc-journey) main>section{padding:0!important;margin:0!important}
:where(body.ribaco-nc-journey) main>section>.container.gutters,
:where(body.ribaco-nc-journey) main .container.gutters{width:100%!important;max-width:none!important;padding:0!important;margin:0!important}
:where(body.ribaco-nc-journey) main .container.gutters>.row,
:where(body.ribaco-nc-journey) main section>.container>.row{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
:where(body.ribaco-nc-journey) main .col.span_9.column_main{width:100%!important;max-width:none!important;float:none!important;margin:0!important;padding:0!important}
:where(body.ribaco-nc-journey) main .sidebar{display:none!important}
:where(body.ribaco-nc-journey) main{width:100%!important;max-width:none!important;padding:0!important;margin:0!important;overflow:hidden}

.rbj-title,.rbj-title2,.rbj-title3{background:none!important;border:0!important;box-shadow:none!important;text-shadow:none!important;padding:0!important}

.rbj-hero .rbj-title{margin:18px 0 25px}
.rbj-opening .rbj-title2,.rbj-closing .rbj-title2{margin:20px 0 28px}
.rbj-era .rbj-title3{margin:18px 0}

.rbj-after-weave{margin-top:28px}

.rb-journey{font-family:"Noto Serif JP","Yu Mincho","Hiragino Mincho ProN",serif!important;font-weight:300;color:#171816}
.rbj-inner{width:min(1200px,calc(100% - 80px));margin-left:auto;margin-right:auto}
.rbj-title,.rbj-title2,.rbj-title3,.rbj-quote p{font-family:inherit;font-weight:300!important;text-wrap:balance}
.rbj-hero{min-height:480px;margin:0}.rbj-hero .rbj-title{font-size:46px;line-height:1.6;letter-spacing:.2em}
.rbj-opening{padding:68px 0 64px;text-align:left}
.rbj-pairs{width:min(1200px,calc(100% - 80px));margin:0 auto;display:grid;grid-template-columns:1fr 1fr}
.rbj-pair{min-height:320px;padding:56px 46px;display:flex;flex-direction:column;justify-content:center}
.rbj-pair .rbj-title3{font-size:30px;line-height:1.6;letter-spacing:.2em;margin:0 0 28px}
.rbj-chapter-head{display:block}
.rbj-duo .rbj-photo{height:320px}
.rbj-feature{min-height:320px;margin:0 0 20px}
.rbj-feature .rbj-photo{height:320px;min-height:320px}
.rbj-copy .rbj-title3{font-size:24px;line-height:1.6;letter-spacing:.22em;margin:0 0 22px}
.rbj-finish-grid .rbj-card .rbj-photo{height:230px}.rbj-finish-grid .rbj-copy{padding:38px 28px!important}.rbj-finish-grid .rbj-title3{font-size:20px;letter-spacing:.2em}
.rbj-history{padding:72px 0!important}.rbj-history>.rbj-inner>.rbj-title2{margin-bottom:58px}.rbj-history-grid{gap:24px!important}.rbj-era{padding:36px 30px}
.rbj-era>strong{font-family:"Noto Serif JP","Yu Mincho","Hiragino Mincho ProN",serif;font-size:32px;font-weight:300;letter-spacing:.12em;line-height:1.5}
.rbj-era .rbj-title3{font-size:20px;line-height:1.6;letter-spacing:.18em}
.rbj-closing{height:480px;min-height:480px}.rbj-closing-inner{width:min(780px,calc(100% - 80px))}
.rbj-closing-inner p{font-size:17.5px;line-height:2;letter-spacing:.08em}.rbj-closing-inner{opacity:1!important;transform:none!important;animation:none!important}
.rbj-closing .rbj-title2,.rbj-closing-inner p{color:#fff!important;text-shadow:0 2px 14px rgba(0,0,0,.65)}
.rbj-closing:after{background:rgba(0,0,0,.56)}
.rbj-closing .rbj-btn-primary{background:#c9ad72!important;border-color:#c9ad72!important;color:#171816;font-weight:700!important}
.rbj-closing .rbj-btn-secondary{background:rgba(0,0,0,.24)!important;border-color:#fff!important;color:#fff}
.rbj-next{padding:42px 0 0}.rbj-bridge{max-width:900px;margin:0 auto 38px;text-align:center;font-size:16px;line-height:2;letter-spacing:.06em;color:#5f5d56}
@keyframes rbj-fade-up{from{opacity:.04;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}@keyframes rbj-image-rise{from{opacity:.04;transform:translateY(36px) scale(1.035)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes rbj-reduced-fade{from{opacity:.08}to{opacity:1}}
@supports (animation-timeline:view()){.rbj-chapter-head,.rbj-pair,.rbj-card,.rbj-quote p,.rbj-era{animation:rbj-fade-up linear both;animation-timeline:view();animation-range:entry 0% cover 34%}.rbj-photo,.rbj-closing>img{animation:rbj-image-rise linear both;animation-timeline:view();animation-range:entry 0% cover 38%}}
@media(prefers-reduced-motion:reduce){@supports (animation-timeline:view()){.rbj-chapter-head,.rbj-pair,.rbj-card,.rbj-quote p,.rbj-era,.rbj-photo,.rbj-closing>img{animation:rbj-reduced-fade linear both!important;animation-timeline:view()!important;animation-range:entry 0% cover 24%!important;transform:none!important}}}
@media(max-width:900px){
.rbj-inner{width:calc(100% - 60px)}.rbj-hero{min-height:420px}.rbj-hero .rbj-title{font-size:28px;line-height:1.6;letter-spacing:.09em}
.rbj-opening{padding:68px 0 64px}
.rbj-pairs{width:calc(100% - 30px);grid-template-columns:1fr}.rbj-pair{min-height:0;padding:52px 30px}.rbj-pair .rbj-title3{font-size:24px;letter-spacing:.09em}
.rbj-duo .rbj-photo,.rbj-feature .rbj-photo,.rbj-finish-grid .rbj-card .rbj-photo{height:215px;min-height:215px}
.rbj-feature{min-height:0;margin-bottom:24px}
.rbj-copy .rbj-title3,.rbj-finish-grid .rbj-title3{font-size:20px;line-height:1.6;letter-spacing:.18em}
.rbj-history{padding:68px 0!important}.rbj-history-grid{grid-template-columns:1fr!important}.rbj-era{padding:32px 26px}
.rbj-era>strong{font-size:26px;letter-spacing:.09em}
.rbj-closing{height:430px;min-height:430px}.rbj-closing-inner{width:calc(100% - 60px)}.rbj-closing-inner p{font-size:16px;line-height:1.8;letter-spacing:0}.rbj-next{padding:50px 0}
}

@media(min-width:901px){.rbj-nav .rbj-inner{width:900px!important;max-width:calc(100% - 60px);justify-content:space-between;gap:0!important}.rbj-nav a{font-size:13px!important}}

/* Legacy WPCode override during the contact bundle dual-run period. */
.page_contact.access-page-contact > div{
  display:flex!important;
}

.page_contact.access-page-contact::after{
  display:none;
}

@media(max-width:700px){
  .page_contact.access-page-contact > div{
    display:block!important;
  }
}

/* Legacy WPCode override: preserve product hero sizing during header migration. */
@media (min-width:900px){.nc-hero,.tr-hero,.rb-hero,.mn-hero,.sora-hero,.rf-hero,.pr-hero,.hn-hero{min-height:454px!important;background-position:center center!important;background-size:cover!important;box-sizing:border-box!important}}

/* Legacy product breadcrumb rules migrated from WPCode F12. */
.ribaco-product-breadcrumb ul{padding:9px 0!important}
.ribaco-product-breadcrumb li,.ribaco-product-breadcrumb li a{color:#777!important;font-size:11px!important;line-height:1.6!important;text-decoration:none}
.ribaco-product-breadcrumb li:last-child{color:#999!important}
.ribaco-product-breadcrumb li a:hover{color:#9a7827!important;text-decoration:underline}
.ribaco-mobile-chair-back{display:none}
@media(max-width:700px){
.ribaco-product-breadcrumb{padding:0 2%!important}
.ribaco-product-breadcrumb ul{display:none!important}
.ribaco-mobile-chair-back{display:inline-flex;align-items:center;padding:10px 0;color:#6e6253!important;font-size:13px;font-weight:600;text-decoration:none}
.ribaco-mobile-chair-back:before{content:'←';margin-right:7px;color:#a68735}
}

/* Legacy home breadcrumb rule migrated from WPCode F14. */
body:has(.home-renewal) .row.bread{display:none!important}

/* Legacy WPCode override: align the works archive mobile gutter with the existing 18px page spacing. */
@media(max-width:580px){
html body:has(article.category-works_php) main .container.gutters{width:calc(100% - 36px)!important}
}

/* Legacy WPCode override: prevent the later F32 rule from shrinking works archive cards at 1500px. */
@media(min-width:1500px){
html body:has(article.category-works_php) .column_main{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}

/* The JS-generated works series host is a direct child of the legacy WPCode archive grid. */
body.ribaco-works-archive.ribaco-series-ready .column_main > #ribaco-works-series{
  grid-column:1 / -1;
  width:100%;
  min-width:0;
}

/* Legacy WPCode F09 exact-value migration for the chair weave anchor. */
.chair-visual-section#weave-expression{scroll-margin-top:24px}
.nc-selection-actions .nc-weave-link{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border:1px solid #7a6c57;border-radius:22px;background:#fff;color:#4a4035!important;font-size:13px;font-weight:600;line-height:1.2;text-decoration:none;white-space:nowrap;transition:.2s}
.nc-selection-actions .nc-weave-link:hover{background:#f5f1e8;color:#2f2923!important}
@media(max-width:700px){.nc-selection-main{gap:8px}.nc-selection-actions{gap:6px;flex-wrap:wrap}.nc-selection-actions .nc-weave-link{order:3;padding:8px 11px;font-size:12px}}


/* Legacy WPCode F19 exact-value migration. */
body:has(.rca-case) .article_date,
body:has([class*=\"work-case-\"]) .article_date,
body:has(article.category-works_php) .article_date{display:none!important}
.work-sample-cart{top:auto!important;height:auto!important;min-height:0!important;bottom:24px!important;line-height:1.4!important;white-space:nowrap!important}
@media(max-width:700px){.work-sample-cart{top:auto!important;bottom:78px!important;height:auto!important}}

/* Legacy WPCode F20 exact-value migration. */
body:has(article.category-works_php) .column_sub{display:none!important}
body:has(article.category-works_php) .column_main{width:100%!important;float:none!important}
body:has(article.category-works_php) article.category-works_php{padding:0 8px!important;margin:0 0 22px!important;box-sizing:border-box!important}
body:has(article.category-works_php) article.category-works_php>div{overflow:hidden;background:#fff;border:1px solid #ddd4c0;box-shadow:0 8px 22px rgba(40,34,25,.08)}
body:has(article.category-works_php) article.category-works_php figure{margin:0!important;overflow:hidden;aspect-ratio:1.48/1;background:#eee}
body:has(article.category-works_php) article.category-works_php figure a{display:block;width:100%;height:100%}
body:has(article.category-works_php) article.category-works_php figure img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;transition:transform .35s ease}
body:has(article.category-works_php) article.category-works_php:hover figure img{transform:scale(1.025)}
body:has(article.category-works_php) article.category-works_php p{margin:0!important;background:#302d28;padding:14px 16px 15px!important;min-height:70px;box-sizing:border-box}
body:has(article.category-works_php) article.category-works_php p a{display:block;color:#fff!important;text-decoration:none!important;line-height:1.45}
body:has(article.category-works_php) .rwa-code{display:block;font-size:20px;font-weight:700;letter-spacing:.03em}
body:has(article.category-works_php) .rwa-partner{display:block;margin-top:4px;font-size:13px;color:#d8d1c4}
body:has(article.category-works_php) .article_date{display:none!important}
@media(max-width:900px){body:has(article.category-works_php) article.category-works_php{width:50%!important}}
@media(max-width:580px){body:has(article.category-works_php) article.category-works_php{width:100%!important;padding:0!important}body:has(article.category-works_php) article.category-works_php figure{aspect-ratio:1.55/1}}

/* Legacy WPCode F24 exact-value migration. */
.article_date{display:none!important}.column_sub{display:none!important}.column_main{width:100%!important;float:none!important}.work-case-398{max-width:960px;margin:34px auto 10px}.work-case-398__data{margin:0 0 28px;border-top:1px solid #cdbb88}.work-case-398__row{display:grid;grid-template-columns:190px 1fr;border-bottom:1px solid #ddd6c4}.work-case-398__row dt,.work-case-398__row dd{margin:0;padding:16px 20px;line-height:1.7}.work-case-398__row dt{font-weight:700;background:#f6f2e8}.work-case-398__text{margin:26px 0;font-size:16px;line-height:2}.work-case-398__actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:28px}.work-case-398__actions a,.work-case-398__actions button{display:flex;align-items:center;justify-content:center;min-height:62px;padding:12px 14px;border:1px solid #b4923e;background:#fff;color:#725615!important;text-decoration:none!important;font-size:15px;font-weight:700;line-height:1.45;text-align:center;cursor:pointer}.work-case-398__actions a:first-child{background:#b4923e;color:#fff!important}.work-case-398__actions button[aria-pressed="true"]{background:#334b3f;color:#fff!important;border-color:#334b3f}@media(max-width:850px){.work-case-398__actions{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.work-case-398{margin-top:22px}.work-case-398__row{grid-template-columns:1fr}.work-case-398__row dt{padding:11px 15px;border-bottom:0}.work-case-398__row dd{padding:12px 15px 17px}.work-case-398__actions{gap:8px}.work-case-398__actions a,.work-case-398__actions button{min-height:58px;font-size:14px}}

/* Legacy WPCode F27 exact-value migration. */
body:has(article.category-works_php) .rwa-archive-intro{grid-column:1/-1;margin:0 0 18px;padding:20px 24px;background:#f7f4ec;border-left:4px solid #b79747;color:#333;line-height:1.9}
body:has(article.category-works_php) .rwa-archive-intro p{margin:0!important;padding:0!important;min-height:0!important;background:transparent!important;color:#333!important}
.rwa-photo-index{display:inline-block;margin-top:5px;padding:2px 8px;border:1px solid rgba(255,255,255,.32);border-radius:999px;color:#d8d1c4;font-size:11px}
body:has(article.category-works_php) article.category-works_php a:focus-visible{outline:3px solid #b79747!important;outline-offset:3px}
body:has(article.category-works_php) article.category-works_php figure img{object-position:var(--rwa-focus,50% 50%)!important}
.rwa-detail-note{margin:18px 0 26px;padding:15px 18px;background:#f7f4ec;border-left:3px solid #b79747;line-height:1.85}
.rwa-related-nav{margin:38px auto 18px;max-width:960px;padding-top:24px;border-top:1px solid #d8ceb4}
.rwa-related-nav h2{margin:0 0 16px!important;font-size:22px!important;text-align:left!important}
.rwa-related-nav h2::before,.rwa-related-nav h2::after{content:none!important;display:none!important}
.rwa-related-nav__links{display:flex;flex-wrap:wrap;gap:10px}
.rwa-related-nav__links a{display:inline-flex;align-items:center;min-height:48px;padding:10px 18px;border:1px solid #b4923e;color:#725615!important;text-decoration:none!important;font-weight:700}
@media(max-width:580px){body:has(article.category-works_php) .rwa-archive-intro{padding:16px 17px;margin-bottom:10px}}

/* Legacy WPCode F33 exact-value migration. */
body:has(article.category-works_php) .rwa-archive-intro,body:has(article.category-works_php) .rwa-photo-index{display:none!important}
