/* © Pineapple Enterprise Inc. — HEADER～CONCEPT 最新統合仕様。
 * neutral hover surfaceとブランドアクセントは別トークン。下位セクションのレイアウトは変更しない。 */
:root {
 --color-accent:#aeefbf;
 --pine-color-accent:var(--color-accent);
 --pine-color-accent-text:var(--color-accent);
 --hover-surface-light:rgba(238,238,238,.467);
 --hover-surface-dark:rgba(238,238,238,.16);
 --pine-hover-surface:var(--hover-surface-dark);
 --pine-connector-ink:var(--pine-color-border);
}
html[data-pine-theme="light"] { --pine-hover-surface:var(--hover-surface-light);--pine-color-accent-text:var(--color-accent) }
/* Utility: mail/globe/search share exact normal/hover/focus rules, even before mail URL is supplied. */
.pine-tools>.pine-utility-icon { display:flex;align-items:center;justify-content:center;padding:0;min-width:18px;min-height:24px }
.pine-tools>.pine-utility-icon img { opacity:.6;filter:invert(1);transition:opacity 150ms var(--pine-ease-out) }
.pine-tools>.pine-utility-icon:is(:hover,:focus-visible,[aria-expanded="true"]) img { opacity:1 }
.pine-tools>.pine-utility-icon:focus-visible { outline:2px solid var(--color-accent);outline-offset:5px;border-radius:2px }
html[data-pine-theme="light"] .pine-tools>.pine-utility-icon img { filter:none;opacity:.6 }
html[data-pine-theme="light"] .pine-tools>.pine-utility-icon:is(:hover,:focus-visible,[aria-expanded="true"]) img { opacity:1 }
/* General link areas share a surface token; lower sections keep their existing layout and motion. */
.pine-news-reveal,.pine-pickup-reveal,.pine-hover-surface {
 background:var(--pine-hover-surface);color:var(--pine-color-text);
}
.pine-pickup-reveal .pine-pickup-link { color:var(--pine-color-accent-text) }
.pine-accent-icon { width:13px;height:13px;flex:none;background:var(--color-accent);mask:url('assets/square-plus.svg') center/contain no-repeat }
#pine-news .pine-news-row::after { border:0 }
/* Button 01 alone: entering arrow remains white inside a black circle. */
.pine-button--01:is(:hover,:focus-visible):not(:disabled) .pine-button-icon { background:#000 }
.pine-button--01:is(:hover,:focus-visible):not(:disabled) .pine-button-icon::before { background:#fff }
/* Shared connector: one path crosses all three section boundaries. */
main { position:relative;isolation:isolate }
.pine-section-connector { position:absolute;left:0;top:0;width:100%;pointer-events:none;overflow:visible;z-index:-1 }
.pine-section-connector path { fill:none;stroke:var(--pine-connector-ink);stroke-width:1;stroke-dasharray:1;stroke-dashoffset:calc(1 - var(--pine-line-progress,0));vector-effect:non-scaling-stroke }
.pine-news>.pine-connector,.pine-concept>.pine-concept-top-line,.pine-concept>.pine-mobile-top-connector { visibility:hidden }
.pine-scroll::after { display:none }
.pine-scroll::before { background:var(--pine-connector-ink);width:1px;left:calc(50% - .5px) }
@media(max-width:767px) { .pine-scroll { left:60.5px }.pine-scroll::before { left:calc(50% - .5px) } }
/* Concept: cover the entire original white border, and retain the branch -> frame -> text sequence. */
.pine-concept-card h3 { isolation:isolate }
.pine-concept-card h3::before { content:"";position:absolute;inset:-1px;z-index:1;background:var(--color-accent);clip-path:inset(0 calc((1 - var(--pine-heading-progress)) * 100%) 0 0) }
.pine-concept-card h3>span { position:relative;z-index:2 }
.pine-concept-card h3>.pine-concept-reveal { position:absolute;inset:-1px;background:transparent;color:#1b1b1b }
.pine-concept-frame { z-index:3 }
.pine-concept-appeal { display:grid;grid-template-columns:max-content;line-height:1.6;overflow:hidden }
.pine-concept-appeal>span { grid-area:1/1;text-align:center }
.pine-concept-appeal-default { clip-path:inset(0 0 0 calc(var(--pine-heading-progress) * 100%));color:var(--pine-color-text) }
.pine-concept-appeal-reveal { clip-path:inset(0 calc((1 - var(--pine-heading-progress)) * 100%) 0 0);color:var(--pine-color-accent-text) }
/* Main visual: wireframe placement retained; Hakuhodo's round navigation interaction. */
.pine-main-view { overflow:hidden }
.pine-main-view>.pine-slide-controls { gap:0 }
.pine-main-view .pine-round-button { width:50px;height:50px;transition:background-color 300ms var(--pine-ease-out),transform 180ms var(--pine-ease-out) }
.pine-main-view .pine-round-button img { width:11px;height:11px;transition:transform 300ms var(--pine-ease-out) }
.pine-main-view .pine-round-button:active { transform:scale(.94) }
.pine-slide-number { position:absolute;top:22px;right:var(--pine-gutter);font-size:14px;line-height:1;display:flex;gap:8px;color:var(--pine-color-text-muted) }
.pine-slide-number [aria-current] { color:var(--pine-color-text) }

@media(max-width:767px) { .pine-main-view .pine-round-button { width:48px;height:48px }.pine-slide-number { top:18px } }
@media(prefers-reduced-motion:reduce) { .pine-section-connector path { stroke-dashoffset:0 }.pine-concept-card h3::before { transition:none }.pine-main-view .pine-round-button:active { transform:none } }
.pine-concept-card h3>span:first-child { clip-path:inset(0 0 0 calc(var(--pine-heading-progress) * 100%)) }
/* Light uses neutral ink for copy; accent surfaces/lines remain the exact brand yellow. */
html[data-pine-theme="light"] .pine-concept-appeal-reveal,
html[data-pine-theme="light"] .pine-concept-description { color:var(--pine-color-text) }

.pine-pickup-link img { filter:url('#pine-accent-tint') }

@media(max-width:767px) { .pine-concept-card::before,.pine-concept-card::after { left:calc(50% - .5px) }.pine-concept-card:not(:first-child)::before,.pine-concept-card:not(:first-child)::after { top:-96px;height:96px } }
.pine-button-reveal .pine-button-icon img { filter:url('#pine-accent-tint') }
/* Appeal copy has its own continuous interpolation, instead of compressing its wipe into a short frame stage. */
@property --pine-left-copy-progress { syntax:'<number>';inherits:true;initial-value:0 }
@property --pine-right-copy-progress { syntax:'<number>';inherits:true;initial-value:0 }
.pine-concept {
 --pine-left-copy-progress:0;--pine-right-copy-progress:0;
 transition:--pine-left-progress var(--pine-concept-duration) var(--pine-ease-out),--pine-right-progress var(--pine-concept-duration) var(--pine-ease-out),--pine-left-copy-progress 500ms cubic-bezier(.22,.65,.25,1),--pine-right-copy-progress 500ms cubic-bezier(.22,.65,.25,1);
}
.pine-concept[data-ready="true"][data-active="left"] { --pine-left-copy-progress:1;transition-delay:0ms,0ms,100ms,0ms }
.pine-concept[data-ready="true"][data-active="right"] { --pine-right-copy-progress:1;transition-delay:0ms,0ms,0ms,100ms }
.pine-concept-card:first-child { --pine-copy-progress:var(--pine-left-copy-progress) }
.pine-concept-card:nth-child(2) { --pine-copy-progress:var(--pine-right-copy-progress) }
.pine-concept-appeal-default { clip-path:inset(0 0 0 calc(var(--pine-copy-progress) * 100%)) }
.pine-concept-appeal-reveal { clip-path:inset(0 calc((1 - var(--pine-copy-progress)) * 100%) 0 0) }

/* Scroll-scrubbed title perimeter: top center splits, wraps, merges, then releases the stem. */
.pine-concept h2 { border-color:transparent }
.pine-concept-outline { position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;z-index:1 }
.pine-concept-outline path { fill:none;stroke:var(--pine-color-border);stroke-width:1;stroke-linejoin:round;stroke-dasharray:1;stroke-dashoffset:calc(1 - var(--pine-wrap-progress,0));vector-effect:non-scaling-stroke }
.pine-concept-outline [data-part="stem"] { display:none;stroke-dashoffset:calc(1 - var(--pine-stem-progress,0)) }
@media(max-width:767px) {
 .pine-concept-outline [data-part="stem"] { display:block }
 .pine-concept-card:first-child::before { visibility:hidden }
}
@media(prefers-reduced-motion:reduce) { .pine-concept-outline path { stroke-dashoffset:0 } }
/* Donpisha recruitment slide: preserve full mark on narrow screens. */#pine-top [data-slide-id="slide-15926070-312c-432d-b94e-ec4598459519"] .pine-workspace-media{background:#f7f7f7}@media(max-width:767px){#pine-top [data-slide-id="slide-15926070-312c-432d-b94e-ec4598459519"] .pine-workspace-media img{object-fit:contain!important}}
