@charset "UTF-8";

.company-history-page { --history-company-green:#79c914; --history-ferment-green:#07846d; --history-rail-width:31%; color:#20241f; }
.company-history-page *, .company-history-page *::before, .company-history-page *::after { box-sizing:border-box; }
.company-history-page .history-sr-only { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important; }
.company-history-page #contents > .history-page-description { margin:0 0 28px; padding-top:0; color:#3f453e; font-size:18px; line-height:1.85; word-break:keep-all; overflow-wrap:anywhere; }
.company-history-page .history-tabs { margin-top:28px; margin-bottom:60px; }
.company-history-page .history-tabs > ul > li { float:none; width:auto; }
.company-history-page .history-tabs > ul > li > a, .company-history-page .history-tabs > ul > li > button { display:flex; align-items:center; justify-content:center; width:100%; height:46px; padding:0 20px; border:1px solid #d2d1da; border-radius:0; background:#f0f0f0; color:#555; font:inherit; font-size:16px; line-height:1; text-align:center; box-shadow:none; cursor:pointer; }
.company-history-page .history-tabs > ul > li + li > a, .company-history-page .history-tabs > ul > li + li > button { margin-left:-1px; }
.company-history-page .history-tabs > ul > li.active > a, .company-history-page .history-tabs > ul > li.active > button { border-top:2px solid #6f6f6f; border-bottom-color:#fff; background:#fff; color:#222; }
.company-history-page .history-tabs .history-tab-btn:focus-visible { outline:3px solid #6d9e40; outline-offset:-5px; }
.company-history-page .history-hero { position:relative; isolation:isolate; display:flex; align-items:center; justify-content:center; min-height:245px; padding:48px 50px; overflow:hidden; background:#f4f4f4; text-align:center; }
.company-history-page .history-hero-image, .company-history-page .history-hero-pattern-copy { position:absolute; inset:0; z-index:-2; display:block; width:100%; height:100%; max-width:none; object-fit:cover; }
.company-history-page .history-hero-pattern-copy { display:none; }
.company-history-page .history-hero.has-image::after { content:""; position:absolute; inset:0; z-index:-1; background:rgba(13,35,24,.4); }
.company-history-page .history-hero-copy { position:relative; width:100%; max-width:900px; }
.company-history-page .history-hero h2 { margin:0; font-size:31px; line-height:1.45; font-weight:700; letter-spacing:-.045em; white-space:pre-line; overflow-wrap:anywhere; }
.company-history-page .history-hero p { margin:23px 0 0; font-size:19px; line-height:1.65; letter-spacing:-.025em; white-space:pre-line; word-break:keep-all; overflow-wrap:anywhere; }
.company-history-page .history-hero--company.has-image { background:#213c2e; color:#fff; }
.company-history-page .history-hero--ferment { min-height:245px; background:var(--history-ferment-green); color:#fff; }
.company-history-page .history-hero--ferment h2 { font-size:29px; }
.company-history-page .history-hero--ferment p { margin-top:18px; font-size:17px; color:#e8f7ee; }
.company-history-page .history-hero--ferment.is-pattern { background:#008364; }
.company-history-page .history-hero--ferment.is-pattern::after { background:linear-gradient(90deg,rgba(0,131,100,.15),rgba(0,131,100,.04) 20%,rgba(0,131,100,.04) 80%,rgba(0,131,100,.15)); }
.company-history-page .history-hero--ferment.is-pattern .history-hero-image { inset:0 auto 0 0; width:220px; object-position:left center; }
.company-history-page .history-hero--ferment.is-pattern .history-hero-pattern-copy { inset:0 0 0 auto; display:block; width:220px; object-position:left center; transform:scaleX(-1); }
.company-history-page .history-hero--ferment.is-pattern .history-hero-copy { max-width:750px; }
.company-history-page .history-period { display:grid; grid-template-columns:var(--history-rail-width) minmax(0,1fr); margin:0; }
.company-history-page .history-period-heading { min-width:0; padding:66px 42px 30px 15px; text-align:right; }
.company-history-page .history-period-heading h3 { margin:0; font-weight:400; }
.company-history-page .history-period-range { display:block; color:#252a24; font-size:clamp(32px,4vw,49px); line-height:1.3; letter-spacing:-.055em; white-space:pre-line; overflow-wrap:normal; }
.company-history-page .history-period-range-start { display:block; color:#8d928a; }
.company-history-page .history-period-range-end { display:block; margin-top:5px; }
.company-history-page .history-period-title { display:block; margin-top:30px; font-size:23px; line-height:1.75; letter-spacing:-.045em; white-space:pre-line; word-break:keep-all; overflow-wrap:anywhere; }
.company-history-page .history-period-events { position:relative; min-width:0; padding:69px 15px 34px 52px; border-left:1px solid #9ca399; }
.company-history-page .history-period-events::before { content:""; position:absolute; left:-14px; top:74px; width:27px; height:27px; border-radius:50%; background:var(--history-company-green); }
.company-history-page .history-period:last-child .history-period-events { padding-bottom:24px; }
.company-history-page .history-company-event { display:grid; grid-template-columns:92px minmax(0,1fr); gap:22px; margin:0 0 19px; }
.company-history-page .history-event-date { padding-top:1px; color:#171c16; font-size:17px; line-height:1.8; font-weight:700; font-variant-numeric:tabular-nums; }
.company-history-page .history-event-body { min-width:0; }
.company-history-page .history-event-content { margin:0; font-size:17px; line-height:1.9; letter-spacing:-.025em; white-space:pre-line; word-break:keep-all; overflow-wrap:anywhere; }
.company-history-page .history-company-event .history-event-image { display:block; width:auto; max-width:100%; height:auto; max-height:340px; margin:16px 0 7px; object-fit:contain; object-position:left center; }
.company-history-page .history-empty { margin:0; padding:5px 0 24px; color:#81887d; font-size:15px; line-height:1.8; }
.company-history-page .history-ferment-timeline { position:relative; padding-bottom:0; }
.company-history-page .history-generation { display:grid; grid-template-columns:var(--history-rail-width) minmax(0,1fr); margin:0; }
.company-history-page .history-generation-heading { padding:63px 35px 30px 12px; text-align:right; }
.company-history-page .history-generation-heading h3 { margin:0; font-weight:600; }
.company-history-page .history-generation-number { display:block; color:var(--history-ferment-green); font-size:41px; line-height:1.3; letter-spacing:-.07em; }
.company-history-page .history-generation-title { display:block; margin-top:19px; font-size:23px; line-height:1.55; letter-spacing:-.035em; white-space:pre-line; word-break:keep-all; overflow-wrap:anywhere; }
.company-history-page .history-generation-events { position:relative; min-width:0; padding:63px 36px 0 45px; border-left:1px solid var(--history-ferment-green); }
.company-history-page .history-generation-events::before { content:""; position:absolute; top:70px; left:-16px; width:31px; height:31px; border:9px solid #82c1b3; border-radius:50%; background:var(--history-ferment-green); }
.company-history-page .history-ferment-event { position:relative; margin:0 0 42px; }
.company-history-page .history-ferment-event + .history-ferment-event:not(.is-continuation)::before { content:""; position:absolute; top:12px; left:-51px; width:11px; height:11px; border-radius:50%; background:var(--history-ferment-green); }
.company-history-page .history-event-year { margin:0 0 20px; color:var(--history-ferment-green); font-size:31px; line-height:1.25; font-weight:700; letter-spacing:-.04em; }
.company-history-page .history-event-year span { margin-left:2px; font-size:17px; font-weight:400; }
.company-history-page .history-event-title { margin:0 0 13px; font-size:20px; line-height:1.6; font-weight:700; letter-spacing:-.035em; white-space:pre-line; word-break:keep-all; overflow-wrap:anywhere; }
.company-history-page .history-ferment-event .history-event-body { display:flow-root; }
.company-history-page .history-ferment-event .history-event-content { font-size:17px; line-height:1.8; }
.company-history-page .history-ferment-event .history-event-image { display:block; float:right; width:auto; max-width:32%; height:auto; max-height:230px; margin:0 0 8px 22px; object-fit:contain; }
.company-history-page .history-ferment-event.is-wide-image .history-event-body { display:flex; flex-direction:column; align-items:flex-start; }
.company-history-page .history-ferment-event.is-wide-image .history-event-content { order:1; }
.company-history-page .history-ferment-event.is-wide-image .history-event-image { order:2; float:none; max-width:min(100%,360px); max-height:220px; margin:18px 0 0; }
.company-history-page .history-generation:last-child .history-generation-events { padding-bottom:15px; }
.company-history-page .history-ferment-conclusion { position:relative; margin-left:0; padding:54px 30px 25px; text-align:center; }
.company-history-page .history-ferment-conclusion::before { content:""; position:absolute; left:calc(var(--history-rail-width) - 15px); top:-25px; width:29px; height:29px; border-right:4px solid var(--history-ferment-green); border-bottom:4px solid var(--history-ferment-green); transform:rotate(45deg); }
.company-history-page .history-ferment-conclusion p { max-width:740px; margin:0 auto; color:var(--history-ferment-green); font-size:22px; line-height:1.75; font-weight:500; letter-spacing:-.035em; white-space:pre-line; word-break:keep-all; overflow-wrap:anywhere; }

/* Event coordinates are stored in design pixels, then scaled as one canvas. */
.company-history-page .history-event-stage { position:relative; min-width:0; }
.company-history-page .history-layout-canvas { position:relative; width:100%; transform-origin:0 0; }
.company-history-page .history-event-stage.is-manual-layout { overflow:visible; }
.company-history-page .history-event-stage.is-manual-layout .history-layout-canvas { max-width:none; }
.company-history-page .history-event-stage.is-manual-layout .history-event-body { display:contents; }
.company-history-page .history-event-stage.is-manual-layout [data-layout-item] { box-sizing:border-box; overflow:visible; }
.company-history-page .history-event-stage.is-manual-layout .history-event-image { object-position:center center; }

@media (max-width:1000px) {
  .company-history-page { --history-rail-width:28%; }
  .company-history-page .history-period-heading { padding-right:27px; padding-left:0; }
  .company-history-page .history-period-title { font-size:20px; }
  .company-history-page .history-period-events { padding-left:34px; padding-right:0; }
  .company-history-page .history-company-event { grid-template-columns:82px minmax(0,1fr); gap:15px; }
  .company-history-page .history-event-date { font-size:15px; }
  .company-history-page .history-generation-heading { padding-right:27px; padding-left:0; }
  .company-history-page .history-generation-events { padding-left:34px; padding-right:0; }
  .company-history-page .history-generation-number { font-size:35px; }
  .company-history-page .history-generation-title { font-size:20px; }
  .company-history-page .history-ferment-event + .history-ferment-event:not(.is-continuation)::before { left:-40px; }
  .company-history-page .history-ferment-conclusion { padding-left:34px; padding-right:0; }
}
@media (max-width:680px) {
  .company-history-page #contents > .history-page-description { margin-bottom:23px; font-size:15px; line-height:1.8; }
  .company-history-page .history-tabs { margin-top:23px; margin-bottom:36px; }
  .company-history-page .history-tabs > ul { margin-bottom:20px; }
  .company-history-page .history-tabs > ul > li > a, .company-history-page .history-tabs > ul > li > button { height:43px; padding:0 10px; font-size:14px; }
  .company-history-page .history-hero { min-height:210px; padding:33px 22px; }
  .company-history-page .history-hero h2, .company-history-page .history-hero--ferment h2 { font-size:23px; line-height:1.5; }
  .company-history-page .history-hero p { margin-top:17px; font-size:15px; line-height:1.75; }
  .company-history-page .history-hero--ferment p { font-size:14px; }
  .company-history-page .history-hero--ferment.is-pattern .history-hero-image, .company-history-page .history-hero--ferment.is-pattern .history-hero-pattern-copy { width:115px; opacity:.6; }
  .company-history-page .history-period, .company-history-page .history-generation { position:relative; display:block; margin-left:12px; border-left:1px solid #a0a69d; }
  .company-history-page .history-period-heading { padding:38px 0 23px 28px; text-align:left; }
  .company-history-page .history-period-heading::before { content:""; position:absolute; top:47px; left:-10px; width:19px; height:19px; border-radius:50%; background:var(--history-company-green); }
  .company-history-page .history-period-range { font-size:31px; line-height:1.2; white-space:normal; }
  .company-history-page .history-period-range-start, .company-history-page .history-period-range-end { display:inline; margin:0; color:inherit; }
  .company-history-page .history-period-title { margin-top:13px; font-size:19px; line-height:1.55; }
  .company-history-page .history-period-events { padding:0 0 18px 28px; border-left:0; }
  .company-history-page .history-period-events::before { display:none; }
  .company-history-page .history-company-event { display:block; margin-bottom:25px; }
  .company-history-page .history-event-date { display:block; margin-bottom:6px; font-size:15px; }
  .company-history-page .history-event-content { font-size:17px; line-height:1.85; }
  .company-history-page .history-company-event .history-event-image { max-height:270px; margin-top:13px; }
  .company-history-page .history-generation { border-color:var(--history-ferment-green); }
  .company-history-page .history-generation-heading { padding:37px 0 22px 28px; text-align:left; }
  .company-history-page .history-generation-heading::before { content:""; position:absolute; top:45px; left:-12px; width:23px; height:23px; border:6px solid #82c1b3; border-radius:50%; background:var(--history-ferment-green); }
  .company-history-page .history-generation-heading h3 { display:flex; flex-wrap:wrap; align-items:center; column-gap:16px; row-gap:9px; }
  .company-history-page .history-generation-number { font-size:31px; }
  .company-history-page .history-generation-title { margin-top:0; font-size:18px; line-height:1.5; }
  .company-history-page .history-generation-events { padding:0 0 3px 28px; border-left:0; }
  .company-history-page .history-generation-events::before { display:none; }
  .company-history-page .history-ferment-event { margin-bottom:32px; }
  .company-history-page .history-ferment-event + .history-ferment-event:not(.is-continuation)::before { left:-33px; top:10px; width:9px; height:9px; }
  .company-history-page .history-event-year { margin-bottom:12px; font-size:26px; }
  .company-history-page .history-event-year span { font-size:14px; }
  .company-history-page .history-event-title { margin-bottom:10px; font-size:18px; line-height:1.6; }
  .company-history-page .history-ferment-event .history-event-content { font-size:17px; line-height:1.85; }
  .company-history-page .history-ferment-event .history-event-image { max-width:38%; max-height:170px; margin-left:15px; }
  .company-history-page .history-ferment-event.is-wide-image .history-event-image { max-width:min(100%,300px); max-height:190px; }
  .company-history-page .history-ferment-conclusion { margin-left:12px; padding:43px 0 15px 28px; }
  .company-history-page .history-ferment-conclusion::before { left:-11px; top:-20px; width:21px; height:21px; border-width:3px; }
  .company-history-page .history-ferment-conclusion p { font-size:18px; line-height:1.75; }
}
@media (prefers-reduced-motion:reduce) { .company-history-page .history-tabs .history-tab-btn { transition:none; } }

/* The representative area's saved canvas carries its own background and overlay. */
.company-history-page .history-hero.vl-layout-manual { height:auto; max-height:none; background:transparent; }
.company-history-page .history-hero.vl-layout-manual::after { display:none; }
.company-history-page .history-hero.vl-layout-manual > .history-hero-copy { display:none; }
.company-history-page .history-hero.vl-layout-manual .vl-layout-canvas { background:#f4f4f4; }
.company-history-page .history-hero--company.has-image.vl-layout-manual .vl-layout-canvas { background:#213c2e; }
.company-history-page .history-hero--ferment.vl-layout-manual .vl-layout-canvas { background:var(--history-ferment-green); }
.company-history-page .history-hero--ferment.is-pattern.vl-layout-manual .vl-layout-canvas { background:#008364; }
.company-history-page .history-hero.has-image.vl-layout-manual .vl-layout-canvas::after { content:""; position:absolute; inset:0; z-index:1; background:rgba(13,35,24,.4); pointer-events:none; }
.company-history-page .history-hero--ferment.is-pattern.vl-layout-manual .vl-layout-canvas::after { background:linear-gradient(90deg,rgba(0,131,100,.15),rgba(0,131,100,.04) 20%,rgba(0,131,100,.04) 80%,rgba(0,131,100,.15)); }
.company-history-page .history-hero.vl-layout-manual .vl-layout-canvas > [data-vl-item]:not([data-vl-image="true"]) { z-index:2; }
